Commit Graph

16847 Commits

Author SHA1 Message Date
Jeroen van Rijn
a7b2471a26 Update handle_map doc string 2026-02-25 17:33:33 +01:00
Jeroen van Rijn
2a9c5fd5e1 Merge pull request #6332 from Faker-09/bufio_remove_mem_depend
Remove core:mem import from core:bufio
2026-02-25 16:06:52 +01:00
Shane Shrybman
2a56a943d2 core:bufio remove core:mem dependency 2026-02-25 09:17:48 -05:00
Jeroen van Rijn
68cd96bdbf Merge pull request #6331 from GPotoshin/regex-fix-word-boundary-logic-sibling-bug
[core:text/regex] Follow up to fix #6323 and a test case
2026-02-25 15:04:25 +01:00
George Potoshin
5335bdbe34 [core:text/regex] Follow up to fix #6323 and add test case. As was said in the issue discussion I had suspicion that there may be a sibling bug in .Assert_Non_Word_Boundary implementation and I was able to confirm that with re.findall(rB", ") python code. Odin implementation outputed an empty string wherase python gave "'". That is the same bug related to incorrect logic on string ends. This commit makes implementation of those 2 instructions cleaner and adds a test case. 2026-02-25 14:33:09 +01:00
Jeroen van Rijn
3bcddb43c7 missing , 2026-02-25 10:55:30 +01:00
Jeroen van Rijn
e696073d7b [core:text/regex] Fix #6323 and add test case
Thanks to @GPotoshin for the fix.
2026-02-25 10:49:27 +01:00
Jeroen van Rijn
545d17fd8d Fix core:sys/regex debug output 2026-02-24 22:40:32 +01:00
gingerBill
c0468446f6 Ignore const nil "optimization" and fix c: Maybe(string); c == "" bug. 2026-02-24 18:52:42 +00:00
Jeroen van Rijn
1e1e00c68e [core:sys/info] One more thing 2026-02-24 14:48:09 +01:00
Jeroen van Rijn
2cc7fe6d16 [core:sys/info] Fix small doc render issue 2026-02-24 14:46:30 +01:00
Jeroen van Rijn
1ba3b39c5e Merge pull request #6328 from Kelimion/priority_queue
[core:container/priority_queue] Add example and tests
2026-02-24 13:27:36 +01:00
Jeroen van Rijn
853afea0c7 [core:container/priority_queue] Make example visible on package overview 2026-02-24 13:18:56 +01:00
Jeroen van Rijn
4321efacc3 [core:container/priority_queue] Add example and tests 2026-02-24 13:05:26 +01:00
gingerBill
30d87a2fd7 Merge pull request #6324 from Faker-09/dynamic_array_move_assert
Small optimization for dynamic arrays
2026-02-24 08:11:34 +00:00
Jeroen van Rijn
b26b9bd40c Merge pull request #6327 from Kelimion/core_sys_info
[core:sys/info] Remove `, ok`
2026-02-24 00:05:39 +01:00
Jeroen van Rijn
af43e6851b [core:sys/info] Remove , ok 2026-02-23 23:55:36 +01:00
Jeroen van Rijn
2b39905240 Merge pull request #6326 from Kelimion/core_sys_info
[core:sys/info] Remove @(init) where practical
2026-02-23 23:36:01 +01:00
Jeroen van Rijn
ea80eab75a [core:sys/info] Remove @(init) where practical 2026-02-23 23:09:37 +01:00
Shane Shrybman
3fd9c915ed Move assert(a.allocator.procedure != nil) out of the common path into the if check 2026-02-23 12:20:57 -05:00
Shane Shrybman
25fde8a03a For #soa dynamic arrays. Move assert(a.allocator.procedure != nil) out of the common path into the if check 2026-02-23 11:35:16 -05:00
Shane Shrybman
a0c375dd02 A small optimization for dynamic arrays.
Move assert(a.allocator.procedure != nil) out of the common path into the if check
2026-02-23 11:21:07 -05:00
gingerBill
4581f57953 Merge pull request #6320 from Faker-09/handle_map_duplicate_assignment
In handle_map.dynamic_add(), remove redundant assignment
2026-02-23 13:49:02 +00:00
Jeroen van Rijn
d3b8ab7475 Merge pull request #6319 from fnky/vendor/curl/fix-urlapi
`vendor:curl`: Fix `what` argument for url_set
2026-02-22 22:07:04 +01:00
fnky
ae45458193 Remove pointer from part arg 2026-02-22 19:31:09 +01:00
Jeroen van Rijn
93d4e56e0b Merge pull request #6317 from Faker-09/bytes_loc
core:bytes add loc := #caller_location
2026-02-22 16:52:10 +01:00
Shane Shrybman
0ffd740583 core:bytes add loc := #caller_location 2026-02-22 10:18:04 -05:00
Jeroen van Rijn
5d94c01e47 Disable LLVMTailCallKindMustTail under LLVM 18 2026-02-21 23:29:32 +01:00
Jeroen van Rijn
1f18672110 Merge pull request #6312 from xandaron/add-win32-functions
added 2 user32 functions
2026-02-21 14:51:27 +01:00
Jeroen van Rijn
13e0f7cc35 Merge pull request #6314 from Kelimion/update_unicode_xml
Update unicode xml
2026-02-21 14:14:59 +01:00
Jeroen van Rijn
82b3917300 Update unicode.xml to 17 2026-02-21 14:02:41 +01:00
Alex Davis
9359cfa39e added 2 user32 functions 2026-02-21 10:15:31 +00:00
Jeroen van Rijn
ac11491979 Update generated table 2026-02-21 01:55:07 +01:00
Jeroen van Rijn
98b65f2c2e Update unicode generator + test 2026-02-21 01:54:17 +01:00
Jeroen van Rijn
11d2d37277 Better. 2026-02-20 19:31:50 +01:00
Jeroen van Rijn
3299981433 core:sys/info: Fix GPU enumeration loop 2026-02-20 19:25:17 +01:00
Jeroen van Rijn
b6f064100a Merge pull request #6309 from Faker-09/xar_iter_reset
core:container/xar reset iterators for easy reuse
2026-02-20 19:12:33 +01:00
Shane Shrybman
94fa423cac Reset the xar freelist iterators' index to 0 for easy reuse 2026-02-20 12:06:38 -05:00
Shane Shrybman
baaea5c1e6 Reset the xar iterator index to 0 for easy reuse 2026-02-20 11:28:50 -05:00
Jeroen van Rijn
8d641afdce Merge pull request #6306 from Kelimion/download_assets
Tweak asset downloader output
2026-02-20 14:33:59 +01:00
Jeroen van Rijn
be8c3a82b0 Tweak asset downloader output 2026-02-20 14:16:05 +01:00
Jeroen van Rijn
91d5b5539c Make download_assets.py less spammy. 2026-02-19 22:03:01 +01:00
Laytan
b132ea5047 Merge pull request #6304 from laytan/build-script-llvm-detection-improvement
improve llvm version picking
2026-02-19 22:00:03 +01:00
Laytan Laats
a0692cd40b improve llvm version picking
In arch, the `llvm` package points to the latest version of LLVM, this
installs `llvm-config` but not a `llvm-config-21` link. This meant that
we would check all our lower supported versions before falling back to
the default `llvm-config`.

This change makes sure that if `llvm-config` exists we check against the
major version (by using `llvm-config --version`) and make sure we have
the highest llvm version we support.
2026-02-19 21:47:44 +01:00
Jeroen van Rijn
d05523c23c Merge pull request #6239 from Yawning/feature/ecdsa
core:crypto/ecdsa: Add ECDSA support
2026-02-19 21:15:17 +01:00
Yawning Angel
4ef6300eb3 core/crypto/ed25519: Add private_key_generate 2026-02-20 04:10:54 +09:00
Yawning Angel
7e7515d7d9 core/crypto/ecdsa: Add ECDSA support 2026-02-20 04:10:54 +09:00
Yawning Angel
49ab240c45 core/crypto/_weierstrass: Add Shamir-Strauss 2026-02-20 03:59:34 +09:00
Yawning Angel
ffa6fc2a67 core/crypto/_weierstrass: Add scalar field inversion 2026-02-20 03:59:34 +09:00
gingerBill
aea6274a10 Fix _mkdir_all for wasi 2026-02-19 14:54:34 +00:00