Commit Graph

  • 167ced8ad1 [mem]: Don't use named params for dynamic pool in tests flysand7 2024-09-08 18:50:44 +11:00
  • 05df34f99c [mem]: Start documenting allocators.odin flysand7 2024-09-08 18:44:33 +11:00
  • 299accb717 [mem]: Put panic allocator after nil allocator, adjust @require_results flysand7 2024-09-08 14:17:32 +11:00
  • 3b30bc305c [mem]: Document raw.odin flysand7 2024-09-08 14:13:03 +11:00
  • 73e4954346 Better #+build tag error messages: Error when using more than one !notted operating system per build line. Error when using more than one operating system within a 'kind', such as writing #+build windows linux. Karl Zylinski 2024-09-08 02:52:43 +02:00
  • f1f5dc614e [mem]: Remove old comments flysand7 2024-09-08 11:17:27 +11:00
  • 6eb80831b5 [mem]: Panic when allocator is not initialized flysand7 2024-09-08 11:12:28 +11:00
  • b78d546010 [mem]: Add non_zeroed versions of resize flysand7 2024-09-08 11:02:17 +11:00
  • c719a86312 [mem]: Document alloc.odin flysand7 2024-09-08 10:58:40 +11:00
  • dc767da12b Make tags use #+ syntax instead of //+ syntax so it no longer looks like a comment. Old style still works but is deprecated with a warning. Using unknown tags is now an error instead of a warning. There is a new token for #+ which consumes the whole line (or until it hits a comment). The tags are parsed like before. There are errors to tell you if you use something invalid in the pre-package-line block. Karl Zylinski 2024-09-05 21:17:40 +02:00
  • 300b01d77d Return "" for rune < 0 in strconv. Jeroen van Rijn 2024-09-08 00:32:46 +02:00
  • 1ab0745ca8 Merge pull request #4212 from karl-zylinski/fix-build-tags Laytan 2024-09-07 22:18:29 +02:00
  • 8c636ac37b Fix build tags that use ! multiple times on one line. Those don't actually do anything since build tags use OR within the line. So something like //+build !windows, !linux would actually build on both linux and windows. What was intended in all these cases was probably AND, which you get by splitting them into separate lines. Karl Zylinski 2024-09-07 22:02:17 +02:00
  • 466a90010f Fix #4211 Jeroen van Rijn 2024-09-07 21:07:29 +02:00
  • 5a4746c3a0 Improve debug information for procedure types gingerBill 2024-09-07 17:41:16 +01:00
  • 1842cd6297 Fix typo flysand7 2024-09-08 00:09:18 +11:00
  • c4c2282595 Update 4210 test to use unaligned_load. Jeroen van Rijn 2024-09-07 14:05:56 +02:00
  • d2202416d2 Add test for #4210 Jeroen van Rijn 2024-09-07 13:43:19 +02:00
  • 0a08a65202 Simplify #row_major matrix and matrix_flatten behaviour gingerBill 2024-09-07 12:21:29 +01:00
  • f8cd13767e [mem]: Fix the issue with unbranched version of ptr align flysand7 2024-09-07 18:08:11 +11:00
  • 3a351ec407 [mem]: Document mem.odin flysand7 2024-09-07 18:01:41 +11:00
  • 7c9d2f61f5 [mem]: Update package documentation flysand7 2024-09-07 15:16:20 +11:00
  • 6017a20e1c [mem]: Make resize_bytes take a slice for the old memory flysand7 2024-09-07 15:11:04 +11:00
  • 2d988bbc5f [mem]: Rename alloc to alloc_bytes and add alloc flysand7 2024-09-07 14:45:15 +11:00
  • 64814f4199 [mem]: Document the package flysand7 2024-09-07 14:19:50 +11:00
  • c0112d1c70 [mem]: Add free_all for buddy allocator flysand7 2024-09-07 13:27:17 +11:00
  • c0e17808d4 [mem]: Split alloc and alloc_non_zeroed for buddy allocator flysand7 2024-09-07 13:26:09 +11:00
  • 6d3cffa13c [mem]: Add @require_results to all functions returning values flysand7 2024-09-07 13:14:58 +11:00
  • b350a35b77 [mem]: Add resize_non_zeroed variant to dynamic arena, and rename pool to arena flysand7 2024-09-07 13:10:29 +11:00
  • 03f6b9bbf6 [mem]: Add alloc_non_zeroed variant to dynamic pool flysand7 2024-09-07 12:59:19 +11:00
  • f8641ddd1b [mem]: Rename dynamic pool to dynamic arena flysand7 2024-09-07 12:33:12 +11:00
  • aea3e9a585 [mem]: Fix vet errors flysand7 2024-09-07 12:26:47 +11:00
  • 4843db0960 [mem]: API for using small stack allocator directly flysand7 2024-09-07 12:23:55 +11:00
  • de220a9aa5 [mem]: Remove the extra word 'allocator' in procedures flysand7 2024-09-07 11:06:59 +11:00
  • 9750b64096 [mem]: API for using stack allocator directly flysand7 2024-09-07 10:55:54 +11:00
  • 834f082dba [mem]: Initialize scratch allocator during calls to free and resize flysand7 2024-09-07 10:24:00 +11:00
  • e5106e48a8 [mem]: API for using scratch allocator directly flysand7 2024-09-07 10:09:05 +11:00
  • da6213196d [mem]: API for using arena directly flysand7 2024-09-07 09:42:04 +11:00
  • 2b9096517c [mem]: Code formatting flysand7 2024-09-07 09:20:56 +11:00
  • 90358f97d5 Merge pull request #4205 from Valakor/wgpu gingerBill 2024-09-06 14:08:07 +01:00
  • c19da21d81 Fix wgpu on Windows - missing links to ole32.lib and oleaut32.lib Matthew Pohlmann 2024-09-05 21:40:15 -07:00
  • 78506b97a3 Merge pull request #4202 from laytan/add-fixed-point-dependency gingerBill 2024-09-05 19:08:38 +01:00
  • 490f8c1568 add fixed point sign extend to 128 int deps Laytan Laats 2024-09-05 15:55:55 +02:00
  • a99e57c62c bytes: fix last_index_byte off-by-one laytan 2024-09-05 13:30:46 +02:00
  • ddf5ca7adf remove deprecation, technically deprecated but widely used Laytan Laats 2024-09-05 01:08:09 +02:00
  • 6778598bc6 support the rpath changes on macos Laytan Laats 2024-09-04 23:45:30 +02:00
  • 0aa971207b add -no-rpath Laytan 2024-09-04 22:38:19 +02:00
  • a4fd0c133e Merge pull request #4191 from laytan/improve-package-doc-comments gingerBill 2024-09-04 21:37:48 +01:00
  • ce018b4e6f Merge pull request #4197 from dekdevy/master Laytan 2024-09-04 22:22:25 +02:00
  • 1a7c1d107a set -rpath to \$ORIGIN and expect libraries next to executable just like Windows Laytan 2024-09-04 22:18:55 +02:00
  • d2d5ac33f4 fix wgpu vendor lib error message dek 2024-09-04 22:04:06 +02:00
  • 578de09775 types with explicit custom alignment are identical to types with the same natural alignment Laytan 2024-09-04 18:48:11 +02:00
  • dcf339517e make c vararg with any vs concrete type similar enough Laytan 2024-09-04 18:47:08 +02:00
  • b2c5998e78 Merge pull request #4196 from jakubtomsu/unmarshal-json-bit-sets gingerBill 2024-09-04 13:27:25 +01:00
  • 7487d507be unmarshal bitset ints like cbor does jakubtomsu 2024-09-04 11:08:45 +02:00
  • c6b551d2c3 Merge pull request #4194 from Feoramund/update-bit-array Jeroen van Rijn 2024-09-03 23:42:27 +02:00
  • 2f1228baa0 Add tests for Bit_Array Feoramund 2024-09-03 06:18:26 -04:00
  • 73eea33b56 Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows dependabot[bot] 2024-09-03 21:01:48 +00:00
  • c3bd94a27e Change Bit_Array.max_index to length Feoramund 2024-09-03 16:43:10 -04:00
  • 645207b8b0 Merge pull request #4192 from laytan/strings-substring-rune-wise Jeroen van Rijn 2024-09-03 22:47:56 +02:00
  • d86e56089a Fix iteration of biased Bit_Array Feoramund 2024-09-03 15:34:14 -04:00
  • 597ba796b7 strings: add substring, substring_to and substring_from Laytan Laats 2024-09-03 21:10:15 +02:00
  • 288312a812 core: improve package doc comments for the documentation generator Laytan Laats 2024-09-03 19:59:04 +02:00
  • 6bbc165121 Merge pull request #4181 from laytan/more-riscv-sysinfo Laytan 2024-09-03 19:54:15 +02:00
  • b8f8cb9582 Add bit_array.shrink Feoramund 2024-09-03 06:02:18 -04:00
  • 001b2b9d8f Let bit_array.create make zero-length arrays Feoramund 2024-09-03 05:40:10 -04:00
  • 33735ba5cc Merge pull request #4180 from dvrd/alt Laytan 2024-09-03 19:31:04 +02:00
  • 3da77bcd67 Merge pull request #4190 from Kelimion/strings.cut Jeroen van Rijn 2024-09-03 19:09:27 +02:00
  • 996175753c strings.cut without allocation. Jeroen van Rijn 2024-09-03 19:02:40 +02:00
  • 0e6109e171 Merge pull request #4189 from pkova/master gingerBill 2024-09-03 15:57:45 +01:00
  • 5b9b21e756 Fix thread sanitizer errors surfaced by tests/core/io pkova 2024-09-03 16:30:51 +03:00
  • d93aca647b Merge pull request #4171 from yay/objc-runtime-bindings gingerBill 2024-09-03 14:28:02 +01:00
  • 6ed4bfeba1 Merge pull request #4186 from Feoramund/fix-4177 gingerBill 2024-09-03 14:25:15 +01:00
  • 99a3e9a510 Merge pull request #4187 from Feoramund/fix-slice-equal gingerBill 2024-09-03 14:24:45 +01:00
  • c0154bffad Merge pull request #4188 from FrancisTheCat/master gingerBill 2024-09-03 14:24:36 +01:00
  • 9276476760 Merge pull request #4185 from Feoramund/add-time-to-datetime Jeroen van Rijn 2024-09-03 15:05:42 +02:00
  • c86bbc61bc More Objective-C Runtime bindings. Vitalii Kravchenko 2024-08-31 18:22:12 +01:00
  • 02da1ac9af Added #any_int directive to some more builtin slice/dynamic array procedures Franz Hoeltermann 2024-09-03 12:36:32 +02:00
  • b618b665c6 Added #any_int to some #soa procs to mirror the behaviour of their non-soa counterparts Franz Hoeltermann 2024-09-03 11:46:09 +02:00
  • 806c87d71d Check for zero-length slices in slice.equal Feoramund 2024-09-03 02:48:26 -04:00
  • 309953e0f2 Return false if Small_Array can't append multiple elements Feoramund 2024-09-03 01:14:17 -04:00
  • 9e4b45f0f0 Add linux to OS check. Isaac Andrade 2024-09-02 22:58:54 -06:00
  • f6f2c67f37 Add time.time_to_datetime Feoramund 2024-09-03 00:40:51 -04:00
  • d93f55c5d4 Reuse POSIX netinet_in constants for linux. Isaac Andrade 2024-09-02 22:32:52 -06:00
  • f072136c04 Implement POSIX linux support for poll and netinet_tcp. Incomplete support for netinet/in. Isaac Andrade 2024-09-02 21:59:03 -06:00
  • 71b2527df0 Merge pull request #4184 from Dimension4/help-text-build-mode Jeroen van Rijn 2024-09-03 00:17:17 +02:00
  • b24157738f Add missing help text for -build-mode:test Dimension4 2024-09-02 23:40:13 +02:00
  • 35f961d80f Add POSIX Linux support for net_if and netdb. Isaac Andrade 2024-09-02 14:25:32 -06:00
  • a248d49f34 Add Linux support for POSIX limits. Isaac Andrade 2024-09-02 14:04:05 -06:00
  • 60321d98d4 also fix the doc comment in the code generator Laytan Laats 2024-09-02 20:22:02 +02:00
  • 195259e88b fix some doc comments Laytan Laats 2024-09-02 20:10:11 +02:00
  • 35731e66cf sys/info: more CPU feature detection for RISC-V laytan 2024-09-02 13:44:22 +00:00
  • 54b46247bd fix(os2): mkdir_all on path_posix Dan Castrillo 2024-09-02 08:43:03 -04:00
  • 16c5c69a40 Merge pull request #4175 from laytan/riscv-compiler dev-2024-09 gingerBill 2024-09-02 00:20:04 +01:00
  • 39b49cb6fb Merge pull request #4176 from Feoramund/fix-context-error-msg gingerBill 2024-09-02 00:18:15 +01:00
  • 9871ad5fc8 Remove extra format item at end of context error message Feoramund 2024-09-01 17:50:50 -04:00
  • 28c643d23f riscv compiler support Laytan 2024-09-01 15:51:39 +02:00
  • dd1f151696 Add math.remap_clamped. Jeroen van Rijn 2024-09-01 17:22:58 +02:00
  • c1605b5b4f Merge pull request #4173 from karl-zylinski/clamp-remap Jeroen van Rijn 2024-09-01 16:54:17 +02:00
  • 6e150d1d58 Make math.remap clamp the result in range [new_min, new_max]. Karl Zylinski 2024-09-01 16:30:48 +02:00