Commit Graph

  • 090e30f07b Make -verbose-errors the default; -terse-errors to disable it gingerBill 2023-02-22 11:48:10 +00:00
  • f5d507a9b9 Improve errors about conversions of constant integers gingerBill 2023-02-22 11:30:08 +00:00
  • 8e5e43f335 add sleep-fallback and invariant check Colin Davidson 2023-02-21 17:48:49 -08:00
  • b9f7b2fdfa Improve error message for typed constants that cannot be represented by a type gingerBill 2023-02-21 23:16:25 +00:00
  • 59a601f2cf Improve error messages when trying to access a non-existent field on a type gingerBill 2023-02-21 23:08:02 +00:00
  • b6a5c5f5d2 Improve some error messages when casting a constant value which needs to be truncated/rounded gingerBill 2023-02-21 17:24:22 +00:00
  • a2f02b8b32 Fix bug with for in statements and pointer intervals gingerBill 2023-02-21 16:31:22 +00:00
  • ee4ed126e1 Improve error message for accidentally using a type as an expression statement gingerBill 2023-02-21 16:25:28 +00:00
  • c36dc91849 Minor changes in runtime gingerBill 2023-02-21 16:24:28 +00:00
  • 91dccf8d62 more function name changes Colin Davidson 2023-02-21 06:46:36 -08:00
  • 1fc3a25f47 block all x86 tsc functions in when block Colin Davidson 2023-02-21 06:28:55 -08:00
  • 7322b63991 adjust func names Colin Davidson 2023-02-21 06:22:19 -08:00
  • f860b09065 use the libc call on darwin so sysctlbyname works Colin Davidson 2023-02-21 05:38:07 -08:00
  • 45b742be23 sort out units to make things happier Colin Davidson 2023-02-19 20:50:30 -08:00
  • d325ee4b91 more typo. yay. Colin Davidson 2023-02-19 20:45:56 -08:00
  • 87d6910bb8 intrinsics typo Colin Davidson 2023-02-19 20:44:49 -08:00
  • 9c9300ed58 derp. raw-syscalls Colin Davidson 2023-02-19 20:44:00 -08:00
  • e559cf32fe oops, add intrinsics import Colin Davidson 2023-02-19 20:39:36 -08:00
  • f2202db517 make darwin syscalls contextless Colin Davidson 2023-02-19 20:38:46 -08:00
  • fb735883be add a tsc frequency get for windows Colin Davidson 2023-02-19 20:33:48 -08:00
  • 6a2ef1f4f3 add osx support Colin Davidson 2023-02-19 20:23:35 -08:00
  • 051c9cb564 begin adding tsc frequency getters Colin Davidson 2023-02-19 20:08:11 -08:00
  • eb60ec3899 Fix unreachable error gingerBill 2023-02-19 12:53:22 +00:00
  • 233f47cc99 Fix #2329 gingerBill 2023-02-19 12:47:14 +00:00
  • c386c72d10 Check for procedure literals in $ parameters gingerBill 2023-02-19 12:11:57 +00:00
  • 20eacc4a84 Fix issue that conflicts with constant parapoly procedures and deferred_* procedures gingerBill 2023-02-19 12:10:28 +00:00
  • a28699b42d Merge pull request #2335 from colrdavidson/add_panel Jeroen van Rijn 2023-02-19 08:32:01 +01:00
  • 4d74d5bc99 Add user-defaults config to enable force-smooth-scrolling for SDL Colin Davidson 2023-02-18 19:54:40 -08:00
  • ed371f2b0d Add open file dialog panel to foundation Colin Davidson 2023-02-18 14:56:51 -08:00
  • 66f2881a78 Allow comparisons between empty struct{} and union{} gingerBill 2023-02-17 17:02:37 +00:00
  • 7d4e9497eb Reduce stack usage of some type switch cases gingerBill 2023-02-17 16:51:57 +00:00
  • c08809e29d Improve handling of passing constants to implicit immutable const ref parameters gingerBill 2023-02-17 14:48:50 +00:00
  • 99460c9e32 Minimize stack wastage with compound literals defining variables gingerBill 2023-02-17 14:26:22 +00:00
  • d86df8321c Fix #2330 gingerBill 2023-02-17 13:08:20 +00:00
  • 806f56ca38 Remove debug string gingerBill 2023-02-17 13:04:09 +00:00
  • c40b6c7c2f Add constant data to the identifier directly gingerBill 2023-02-17 13:02:41 +00:00
  • 896b7145b3 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2023-02-17 13:01:12 +00:00
  • 8a2a70a3c2 Fix overriding procedure information for literals gingerBill 2023-02-17 13:00:37 +00:00
  • 97352538ad Merge pull request #2332 from thePHTest/master gingerBill 2023-02-16 10:22:25 +00:00
  • c6c4ad6188 fix #by_ptr argument overrides for Linux Phil Homan 2023-02-15 16:48:27 -08:00
  • 210f47b8ab Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2023-02-15 11:32:02 +00:00
  • 94c1331c07 Implement @(fini) (opposite of @(init)) gingerBill 2023-02-15 11:31:51 +00:00
  • d6407e9636 Merge pull request #2331 from colrdavidson/platform_file_cleanup gingerBill 2023-02-15 11:07:42 +00:00
  • df58a00564 fix errno/signatures Colin Davidson 2023-02-14 18:43:48 -08:00
  • d546677ae7 fix typo Colin Davidson 2023-02-14 18:39:09 -08:00
  • 04b1023988 make file access a little more normal across platforms Colin Davidson 2023-02-14 18:34:03 -08:00
  • 9a81071687 Merge branch 'master' into new-temp-allocator gingerBill 2023-02-14 23:59:49 +00:00
  • 48685e8bf1 Remove set volatile for store gingerBill 2023-02-14 23:52:36 +00:00
  • 0f697a0f26 Move in_multi_assignment check tighter gingerBill 2023-02-14 23:52:23 +00:00
  • 8ddb493b96 Add #optional_allocator_error to make_map gingerBill 2023-02-14 10:28:04 +00:00
  • 039d9938b9 Fix return value gingerBill 2023-02-10 17:20:14 +00:00
  • f50ea649f6 Minor fix gingerBill 2023-02-10 17:15:40 +00:00
  • 6e647a88eb Keep -vet happy gingerBill 2023-02-10 16:36:50 +00:00
  • 986cba584e Add runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD where appropriate gingerBill 2023-02-10 16:23:33 +00:00
  • b427a4c8c9 Minor change to arena_temp_end gingerBill 2023-02-10 14:44:46 +00:00
  • 133ee70a5b Add default_temp_allocator_temp_begin and default_temp_allocator_temp_end gingerBill 2023-02-10 14:36:57 +00:00
  • 494612827a Add Arena_Temp gingerBill 2023-02-10 14:30:41 +00:00
  • 1113f23475 Remove unused variable gingerBill 2023-02-10 14:10:06 +00:00
  • 8626f58773 Replace current default context.temp_allocator to use a growing arena rather than a ring buffer gingerBill 2023-02-10 13:18:33 +00:00
  • 7032867421 Pass #caller_location down correctly gingerBill 2023-02-10 13:18:03 +00:00
  • e6239ca3c2 Warn on 'expand_to_tuple' has been replaced with 'expand_values' gingerBill 2023-02-10 13:17:04 +00:00
  • 162628000f Calculate the size needed before allocating gingerBill 2023-02-10 11:55:08 +00:00
  • 55b79c078c Remove := context.allocator usage in package os2 gingerBill 2023-02-10 11:46:29 +00:00
  • 570b127869 Fix crash when a variable declaration must be an identifier gingerBill 2023-02-08 11:46:33 +00:00
  • 6179d4feb1 Rename to Type_Info_Parameters gingerBill 2023-02-08 11:23:21 +00:00
  • 2ff5d016d5 Merge pull request #2326 from ftphikari/master gingerBill 2023-02-08 11:09:23 +00:00
  • 854a95327a Updated documentation to reflect changes from commit 8a16fd7 hikari 2023-02-08 12:24:10 +02:00
  • 8a16fd7699 Rename built-in procedure to expand_values gingerBill 2023-02-07 15:39:39 +00:00
  • 7bbcf22deb Remove dead code (sort/map.odin) gingerBill 2023-02-05 18:33:53 +00:00
  • 0324281634 Enforce dynamic map calls for the time being gingerBill 2023-02-03 15:17:30 +00:00
  • de0a3e0ab9 Minor change to byval for readonly parameters gingerBill 2023-02-03 15:07:44 +00:00
  • d26110da7f Change attributes for the static map get gingerBill 2023-02-03 14:25:30 +00:00
  • 60e73d91f6 Remove internal readonly attribute gingerBill 2023-02-03 13:42:23 +00:00
  • 5eeb436626 Temporarily make all map get calls dynamic gingerBill 2023-02-03 12:43:21 +00:00
  • 802333e454 Fix arena.free_all gingerBill 2023-02-03 12:40:52 +00:00
  • eb457d688d Make static map calls the default; add -dynamic-map-calls gingerBill 2023-02-03 12:16:58 +00:00
  • 23a20f8074 Merge branch 'master' into windows-llvm-13.0.0 gingerBill 2023-02-02 00:35:02 +00:00
  • 0d14e3f5a8 Merge branch 'master' into windows-llvm-11.1.0 gingerBill 2023-02-02 00:34:55 +00:00
  • fcc920ed39 Fix typo dev-2023-02 gingerBill 2023-02-02 00:24:36 +00:00
  • 4e70256109 Fix when within foreign block (again) gingerBill 2023-02-02 00:22:54 +00:00
  • 2e4d6d2577 Fix when within foreign blocks at the file scope gingerBill 2023-02-01 23:41:13 +00:00
  • 51ae21a029 Separate check_stmt code into separate procedures gingerBill 2023-02-01 23:40:42 +00:00
  • 040dbca42d Merge branch 'master' into windows-llvm-13.0.0 gingerBill 2023-02-01 23:16:42 +00:00
  • ebc0c1b970 Merge branch 'master' into windows-llvm-11.1.0 gingerBill 2023-02-01 23:16:28 +00:00
  • f59846377d Improve ternary logic for untyped nil stuff gingerBill 2023-01-30 15:29:59 +00:00
  • 8e8eb9e5cd Improve ternary if expression type inference rues gingerBill 2023-01-30 12:54:11 +00:00
  • 88b578ca11 Add for C++ for loop uses gingerBill 2023-01-30 12:53:36 +00:00
  • 4cb16db4e9 Remove @(require_results) from one procedure gingerBill 2023-01-30 12:51:56 +00:00
  • 338d483682 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2023-01-30 11:58:39 +00:00
  • 0ce59a9e2b Use C++ for rather than for_array macro gingerBill 2023-01-29 11:28:36 +00:00
  • 8d43cc840a Add @(require_results) to package reflect gingerBill 2023-01-29 11:28:05 +00:00
  • 9ae1bfb69d Merge pull request #2317 from ftphikari/master gingerBill 2023-01-28 23:45:23 +00:00
  • 6ec7284467 vendor/d3d11: fixed function definition hikari 2023-01-29 01:38:28 +02:00
  • 0ccc570ef2 Merge pull request #2316 from Hyp-X/master gingerBill 2023-01-28 23:31:57 +00:00
  • a3bb7d3028 Fix decimal_to_float_bits for floats >= 1 Hyp-X 2023-01-28 14:40:44 +01:00
  • c45ca1bfcc Correct arena_temp_end usage when no allocation ever happens for that arena gingerBill 2023-01-28 12:06:46 +00:00
  • 94edf89b20 Use a separate arena for heap_allocator gingerBill 2023-01-28 11:53:05 +00:00
  • 8d6ce0b693 Add mutex to virtual.Arena; add virtual.arena_temp_ignore gingerBill 2023-01-28 11:51:58 +00:00
  • ccf4b48865 Add extra checks for multiple assignments when emitting stores gingerBill 2023-01-27 11:47:00 +00:00
  • 96eae94103 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2023-01-27 11:12:17 +00:00