Commit Graph

  • ba49a9100d sys/windows: add ShellExecuteExW hikari 2022-11-14 21:58:12 +02:00
  • 6fe77155b5 Merge pull request #2191 from Kelimion/build_float Jeroen van Rijn 2022-11-14 16:46:10 +01:00
  • 677e7ff642 Don't write leading + unless +Inf or we ask for it. Jeroen van Rijn 2022-11-14 16:32:50 +01:00
  • 682b5fa0d3 Merge pull request #2190 from colrdavidson/write_float gingerBill 2022-11-14 12:42:49 +00:00
  • ab00db2ebd Add write_(f16|f32|f64) calls gingerBill 2022-11-14 12:37:55 +00:00
  • 0a0e8f36eb add floats to string builder Colin Davidson 2022-11-14 04:30:14 -08:00
  • bbe44b49bc Correct map_insert gingerBill 2022-11-14 11:46:41 +00:00
  • 25bec19b1f Revert "Minor improvement to multi return value reducing stack usage" gingerBill 2022-11-13 23:56:05 +00:00
  • 81f83d5780 Fix prototype gingerBill 2022-11-13 23:51:59 +00:00
  • d2019e3e4d Enforce pointer cast gingerBill 2022-11-13 23:50:45 +00:00
  • 489e8dc592 Add @(require_results) to map procedures where possible gingerBill 2022-11-13 23:47:00 +00:00
  • 3edb3d8d8c Simplify the handling of the hashing calls for maps gingerBill 2022-11-13 23:24:08 +00:00
  • a705a2e38b Minor improvement to multi return value reducing stack usage gingerBill 2022-11-13 22:55:32 +00:00
  • 7dfbda58d9 Fix CI typo. Jeroen van Rijn 2022-11-13 16:38:22 +01:00
  • 9b88a38e54 map tests for Linux and Mac Jeroen van Rijn 2022-11-13 16:32:24 +01:00
  • 16a494347c map: Add tests for update + delete. Jeroen van Rijn 2022-11-13 16:24:20 +01:00
  • ad0f11668b Correct map_reserve_dynamic caused by an bizarre code generation bug gingerBill 2022-11-13 14:53:58 +00:00
  • 699cabeb1c Update tests/internal/build.bat Jeroen van Rijn 2022-11-12 17:36:20 +01:00
  • 7207f4b0c5 Add tests/internal/build.bat Jeroen van Rijn 2022-11-12 17:31:26 +01:00
  • 9c1b464c94 Add tests for new map implementation. Jeroen van Rijn 2022-11-12 17:25:42 +01:00
  • 04a1e7d638 Correct json/unmarshal.odin gingerBill 2022-11-11 16:15:21 +00:00
  • 7cfbd87f57 Merge branch 'master' into map-dev gingerBill 2022-11-11 15:56:14 +00:00
  • 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