Commit Graph

  • e9e05a3783 Fix typo gingerBill 2022-11-11 15:55:55 +00:00
  • 2b83f27f06 Merge branch 'master' into map-dev gingerBill 2022-11-11 15:54:33 +00:00
  • 3d0e194298 Check for non-zero sized elements for intrinsics.ptr_sub gingerBill 2022-11-11 15:54:13 +00:00
  • fcd8860990 Make intrinsics.ptr_sub use explicit integer arithmetic internally gingerBill 2022-11-11 15:52:49 +00:00
  • 22840ddf97 Add noinline LLVM attribute to static map procedures gingerBill 2022-11-11 15:35:05 +00:00
  • f9576c2f5b Add internal linkage to static map calls gingerBill 2022-11-11 15:28:20 +00:00
  • 16fc961010 Begin work on map static set gingerBill 2022-11-11 14:45:22 +00:00
  • d2701d8b13 Make __dynamic_map_set take the hash rather than compute it internally gingerBill 2022-11-11 13:04:38 +00:00
  • a0bd31646b Make map get internal calls take the hash value rather than compute it internally gingerBill 2022-11-11 13:02:23 +00:00
  • 0d37da54b4 Add minor optimization for lb_map_cell_index_static gingerBill 2022-11-11 11:41:28 +00:00
  • 5d47e2a166 Change map_reserve_dynamic no do anything when current capacity is greater than specified for the reserve gingerBill 2022-11-11 11:24:34 +00:00
  • 035c75d6a9 Add contextless where appropriate gingerBill 2022-11-11 11:23:59 +00:00
  • b475481788 Get deleted key and value for delete_key gingerBill 2022-11-11 11:19:34 +00:00
  • 033525fe13 Force inline of hasher proc where possible gingerBill 2022-11-11 11:10:26 +00:00
  • 8852d090b6 Correct static map get; make get take a pointer to simplify compiler internals gingerBill 2022-11-10 12:46:53 +00:00
  • ac259ac790 Unify reserve and grow code gingerBill 2022-11-10 12:34:01 +00:00
  • 7b4a87d37c Correct iterate_map gingerBill 2022-11-10 12:33:49 +00:00
  • f6fc3ebe37 Add reflect/iterator.odin gingerBill 2022-11-10 12:27:12 +00:00
  • 5c106abe3f Make map_alloc_dynamic handle the nil_allocator() gingerBill 2022-11-10 12:01:40 +00:00
  • db748b7a05 Correct logic for __dynamic_map_set gingerBill 2022-11-09 23:10:18 +00:00
  • f2f2d532f5 Add extra calls to Tracking_Allocator gingerBill 2022-11-09 22:31:49 +00:00
  • 1bcec3f769 Change map internal calls to use a pointer gingerBill 2022-11-09 22:21:36 +00:00
  • b035ee2bcd Swap hashes gingerBill 2022-11-09 22:05:28 +00:00
  • 0424fb486b Rewrite map_insert_hash_dynamic gingerBill 2022-11-09 21:00:17 +00:00
  • 3858422f1d Use mem_resize where possible gingerBill 2022-11-09 20:59:49 +00:00
  • d4f343751e Inline __dynamic_map_set code where possible gingerBill 2022-11-08 21:57:18 +00:00
  • 79baddc157 Merge pull request #2176 from jaspergeer/fix-untyped-segfault gingerBill 2022-11-08 21:23:12 +00:00
  • bcf437dc11 Check for existence before setting gingerBill 2022-11-08 21:21:19 +00:00
  • 503eb470a7 Do an extra check before insertion for pre-existing keys gingerBill 2022-11-08 21:10:38 +00:00
  • 667af1be58 Correct map_insert_hash_dynamic and map_insert_dynamic gingerBill 2022-11-08 20:44:52 +00:00
  • 366779f8c7 Fix bug with allocator not getting set on a map gingerBill 2022-11-08 16:06:10 +00:00
  • dae299b781 Make map_free_dynamic take the total size of the allocation gingerBill 2022-11-08 15:40:30 +00:00
  • 2f29894b45 Minor change to map_cell_index_static gingerBill 2022-11-08 15:15:00 +00:00
  • 0819d05a0b Fix for in for map gingerBill 2022-11-08 15:07:57 +00:00
  • 6a4e44607c Fix json marshal for maps gingerBill 2022-11-08 14:59:09 +00:00
  • a71daee545 Allow for -use-static-map-calls which generates a get procedure per map; add runtime.map_get gingerBill 2022-11-08 14:58:05 +00:00
  • 046dd55032 Change __dynamic_map_get signature gingerBill 2022-11-08 13:02:32 +00:00
  • 2fc3da3fde Change Raw_Map.len to int from uintptr gingerBill 2022-11-08 12:29:20 +00:00
  • a74093784c Add intrinsics.map_cell_info and intrinsics.map_info gingerBill 2022-11-08 12:24:00 +00:00
  • ed58374964 Make Map_Info store pointers to cell info rather than inline gingerBill 2022-11-08 12:18:36 +00:00
  • 6dd4d1a924 Correct reflection usage of maps gingerBill 2022-11-08 11:50:55 +00:00
  • d77269dee2 Disallow zero sized map keys gingerBill 2022-11-08 11:42:42 +00:00
  • ea263b8cc5 Add runtime.map_exists_dynamic gingerBill 2022-11-08 11:29:09 +00:00
  • 45f0c812af Correct reflect.map_entry_info_slice gingerBill 2022-11-08 11:21:45 +00:00
  • 810a1eee41 Remove the need for type->Map.internal_type and replace with the definition of runtime.Raw_Map gingerBill 2022-11-08 11:13:46 +00:00
  • e3e225d21b Support for in loops for map gingerBill 2022-11-08 11:04:37 +00:00
  • 50e10ceb3b Correct hashing for map types gingerBill 2022-11-08 01:20:08 +00:00
  • da774e3fd2 General modifications gingerBill 2022-11-08 00:38:31 +00:00
  • 2c3febd620 Correct fmt printing to be robust gingerBill 2022-11-07 23:35:44 +00:00
  • bce62b98d4 Basic fmt printing for map gingerBill 2022-11-07 23:32:59 +00:00
  • e914a8710d Basic get and set support for new map gingerBill 2022-11-07 23:17:37 +00:00
  • c96e0afbf1 Begin work on implementing the new map internals gingerBill 2022-11-07 23:02:21 +00:00
  • f1c24f434b -default-to-nil-allocator also enables -no-dynamic-literals gingerBill 2022-11-07 10:24:14 +00:00
  • e8517e1d02 check for nullptr when evaluating untypedness Jasper Geer 2022-11-04 16:29:04 -04:00
  • 92e406cef0 Implement asin in native Odin gingerBill 2022-11-04 14:30:18 +00:00
  • 269913ede0 Implement acos in native Odin gingerBill 2022-11-04 14:26:31 +00:00
  • 2ed16240a7 Add core:text/edit gingerBill 2022-11-04 14:08:19 +00:00
  • ff36b754cb Fix atrig functions gingerBill 2022-11-04 13:53:28 +00:00
  • 503b897677 Fix formatting gingerBill 2022-11-04 12:31:53 +00:00
  • d69c74665a Add @(require_results) gingerBill 2022-11-04 12:31:39 +00:00
  • fcf081283c Move LICENSE gingerBill 2022-11-04 12:23:48 +00:00
  • 7a6e8543a6 Use #by_ptr and @(require_results) were useful gingerBill 2022-11-04 12:21:01 +00:00
  • f30755a871 Update README.md gingerBill 2022-11-04 11:59:37 +00:00
  • 503220e4c1 Add README.md gingerBill 2022-11-04 11:59:26 +00:00
  • 051814a69c Wrap parse procedures to allow for multiple return values gingerBill 2022-11-04 11:59:20 +00:00
  • 21843da9e3 Add //+build windows gingerBill 2022-11-04 11:47:42 +00:00
  • 30f49f81c1 Use slices and Odin string where possible due to struct field ordering gingerBill 2022-11-04 11:44:49 +00:00
  • 439f4776e4 Add cgltf to build_vendor.bat gingerBill 2022-11-04 11:40:07 +00:00
  • b743f56fb9 Fix +build ignore gingerBill 2022-11-04 11:39:54 +00:00
  • 1fc3f6cb2e Add vendor:cgltf gingerBill 2022-11-04 11:39:38 +00:00
  • df19c48da8 Add doc.odin gingerBill 2022-11-03 13:36:00 +00:00
  • f7211408fc Merge pull request #1544 from FancyKillerPanda/build_ignore gingerBill 2022-11-03 12:58:26 +00:00
  • 30db316e16 Merge pull request #2141 from ChuuniMage/patch-2 gingerBill 2022-11-03 12:57:46 +00:00
  • 8c01e952f3 Merge pull request #2072 from odin-lang/allocator-mode-alloc-non-zeroed gingerBill 2022-11-03 12:57:23 +00:00
  • 3e66b88031 Merge pull request #2147 from jaspergeer/tighten-slice-string-cast-error gingerBill 2022-11-03 12:47:44 +00:00
  • f76316f889 Merge branch 'master' into allocator-mode-alloc-non-zeroed gingerBill 2022-11-03 12:47:11 +00:00
  • 32477a88ef Merge pull request #2165 from JopStro/master gingerBill 2022-11-03 12:43:55 +00:00
  • e8bc576b23 Rename fnv32 and fnv64 to fnv32_no_a and fnv64_no_a gingerBill 2022-11-03 11:44:19 +00:00
  • 2eea6f2490 Merge pull request #2173 from Hyp-X/master gingerBill 2022-11-03 10:37:32 +00:00
  • 1d9d79542c d3d12: Fixed RESOURCE_STATE_GENERIC_READ flags Hyp-X 2022-11-03 10:49:45 +01:00
  • 1a6d4c955a Add more bit_sets to direct packages gingerBill 2022-11-02 23:12:43 +00:00
  • 717522efe4 Correct more flags for d3d12 gingerBill 2022-11-02 22:45:05 +00:00
  • 8d06d9c23d Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2022-11-02 16:43:36 +00:00
  • 765c1546c5 Make many d3d12 flags enums into bit_set gingerBill 2022-11-02 16:43:29 +00:00
  • 7ec6fd30f0 Merge pull request #2171 from Kelimion/os_read_windows Jeroen van Rijn 2022-11-02 17:03:20 +01:00
  • 0ca773114a Fix os.read implementation on Windows. Jeroen van Rijn 2022-11-02 16:48:39 +01:00
  • 9e1576418f Update README.md gingerBill 2022-11-02 15:07:09 +00:00
  • b7ea169c81 Fixed #2170 gingerBill 2022-11-02 11:36:49 +00:00
  • 3b583cbac7 Add debug symbols for global constants of integers, bools, enums, runes, & pointers. gingerBill 2022-11-02 00:05:51 +00:00
  • 382bd87667 Merge pull request #2169 from odin-lang/location-byval dev-2022-11 gingerBill 2022-11-01 15:52:40 +00:00
  • 6cc07dc24e Merge branch 'master' of github.com:odin-lang/Odin Jeroen van Rijn 2022-11-01 15:49:10 +01:00
  • 01cdd22a01 Temporarily disable certain tests. Jeroen van Rijn 2022-11-01 15:48:27 +01:00
  • 35331e6973 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2022-11-01 14:45:57 +00:00
  • c18e98e8c5 Add extra check in add_entity_and_decl_info #2161 gingerBill 2022-11-01 14:45:51 +00:00
  • 3cd553565f Merge pull request #2168 from Kelimion/target_version Jeroen van Rijn 2022-11-01 15:18:06 +01:00
  • 9eec9f5788 Add -minimum-os-version flag Jeroen van Rijn 2022-11-01 15:04:44 +01:00
  • 2b7ca2bdd6 Fix #2160 (deep subtyping through using of _) gingerBill 2022-11-01 13:14:20 +00:00
  • 411c0add3b Add safety check for #2161 gingerBill 2022-11-01 13:03:35 +00:00
  • 18d7ecc1a5 wasi: Add FD_FILESTAT_GET to default file open rights JopStro 2022-11-01 12:56:36 +00:00
  • 4812601e78 Fix #2167 context.assertion_failure_proc = nil (context field assignments) gingerBill 2022-11-01 12:56:17 +00:00