Commit Graph

777 Commits

Author SHA1 Message Date
Jeroen van Rijn
33d4c68abe Merge pull request #7401 from kalsprite/nbio_windows_wakeup
nbio(windows): fix use-after-free, spurious poll readiness, and double completion
2026-08-24 19:02:24 -07:00
Jeroen van Rijn
24d86de624 One more. 2026-08-23 21:49:39 +02:00
Jeroen van Rijn
2439aaf181 Remove imports of deprecated core:os/old. 2026-08-23 21:46:30 +02:00
Manuel
d79ef965a0 Fix formatting 2026-08-22 21:50:07 +02:00
Manuel
ee04c3b272 Add murmur3 implementation 2026-08-22 15:48:38 +02:00
kalsprite
fe52f23b50 tests/core/nbio/remove.odin 2026-08-21 15:25:18 -07:00
kalsprite
d29b2cadbd nbio(tests): fill the socket until sending blocks 2026-08-21 21:58:40 -07:00
kalsprite
7bb55ba45b nbio(windows): poll sockets through AFD 2026-08-21 21:31:49 -07:00
kalsprite
1b4e14fbc5 restore fail timeout 2026-08-21 20:43:33 -07:00
kalsprite
d2da33235d nbio(windows): handle queued work in the tick that was woken for it; nbio(tests): let wake_up tolerate a tick that returns without progress 2026-08-21 09:18:57 -07:00
Karl Zylinski
a0a75bf4a7 Split the non-specific parts of the Handle Map out to a general.odin file. This means that the Handles and the generic procedure groups are no longer in static_handle_map.odin. Also enabled and fixed the static handle map test. Added another test that uses the generic procedure groups. 2026-08-19 17:03:59 +02:00
Samuel Elgozi
4a08f5c48a mem: Preserve alignment when reusing Dynamic_Arena blocks 2026-08-17 00:21:50 +03:00
Jeroen van Rijn
cc7d6764d3 Merge pull request #7349 from TheRadischen/merge_sort
improved stable sort | from insertion_sort to merge_rotate
2026-08-16 16:03:57 +02:00
TheRadischen
f6b8eafdfd imporved_style 2026-08-16 15:10:01 +02:00
TheRadischen
9757fed9f9 changed_to_tabs 2026-08-16 14:28:38 +02:00
TheRadischen
3f851d2b02 smarter_test 2026-08-16 12:27:30 +02:00
TheRadischen
df54692a9b addedtest 2026-08-16 12:22:25 +02:00
mo
4e0a71c24c Add non-allocating hex.decode_into_buffer
Also minor fixes to documentation of hex.decode().

Adds tests of the new procedure with buffers the correct size, larger,
and too small.
2026-08-16 19:48:19 +12:00
Jeroen van Rijn
44b2f201f5 Remove log 2026-08-12 14:09:07 +02:00
Jeroen van Rijn
e5bf7ba6e3 Skip some tests on riscv 2026-08-12 13:59:51 +02:00
Mihail Moskov
9e73c20197 adds the pop procedure family for soa arrays 2026-08-11 15:21:23 +03:00
corley
87912a8b88 fixes range loop over array elements in soa containers 2026-08-11 03:20:13 +03:00
Karl Zylinski
1f9b4c4555 Add text field to utf8.Grapheme, fix caret translation by grapheme
`decode_grapheme_iterate` already computed the text of each grapheme
cluster, but `decode_grapheme_clusters` discarded it, forcing callers to
reconstruct each cluster's range by looking ahead to the next grapheme's
`byte_index`. Store it on `Grapheme` instead; it is a slice of the input
string, so no allocation is involved.

`core:text/edit` was using `Grapheme.width` -- the number of monospace
cells -- as a byte count when moving the caret by grapheme, so it landed
in the middle of a cluster for anything wider than one byte per cell. Use
`len(Grapheme.text)`, and add a test package for the translations.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 12:27:31 +02:00
corley
e374541599 fixes chained indexing for soa containers with array element type 2026-08-09 22:23:32 +03:00
corley
7b45adf8e9 fixes swizzling for array elements in soa arrays/slices 2026-08-09 03:17:04 +03:00
jack gleeson
2162e7605e core/unicode/utf8: Fix truncated text for grapheme clusters 2026-08-07 10:36:14 -06:00
Jeroen van Rijn
1daec0865c Merge pull request #7234 from michtesar/fix/net-percent-encode
Fix percent encoding for bytes < 0x10
2026-08-06 13:54:36 +02:00
Michael Tesař
a1cb87c1c4 Add decode roundtrip test 2026-08-06 07:14:50 +02:00
Michael Tesař
56d8293ae0 Restore formatting and remove unused import 2026-08-05 23:58:33 +02:00
Michael Tesař
f7f95ad763 Add percent_encode_test to test percent 2026-08-05 23:40:57 +02:00
Jeroen van Rijn
ddf60b459d #+build !netbsd 2026-08-05 12:28:39 +02:00
Jeroen van Rijn
fd3d182ee5 Assuage NetBSD CI 2026-08-05 12:12:08 +02:00
gingerBill
6c2bb94ceb Merge pull request #7206 from ssenthilnathan3/fix/os-glob-clone
Fix os.glob not cloning pattern when no meta characters present
2026-08-04 10:52:43 +02:00
Senthilnathan
b838b1bf25 fixes os.glob not cloning pattern when no meta characters present 2026-08-04 12:19:03 +05:30
corley
439edc5fa8 make soa builtins go vroom 2026-08-03 02:32:09 +03:00
Jeroen van Rijn
280f02f4ef Remove unused import 2026-08-02 15:08:08 +02:00
Jeroen van Rijn
447d880586 Add tests/core/text/scanner to CI 2026-08-02 13:19:15 +02:00
George Potoshin
bfd93d3e89 tests for scanner 2026-08-02 10:57:23 +02:00
George Potoshin
6a14e5e068 #7153 2026-07-30 19:24:36 +02:00
WP. Yingamphol
8a8230b64e Merge branch 'odin-lang:master' into master 2026-07-17 23:06:28 +07:00
zhibog
2efcd11ab4 [core:crypto] Add TurboSHAKE 2026-07-14 16:28:29 +02:00
kalsprite
2d8502a1fa pr comment fixes 2026-07-13 22:56:01 -07:00
kalsprite
4aa30314c9 add limbo 2026-07-12 15:05:36 -07:00
kalsprite
df044411d9 attach nc 2026-07-12 12:58:45 -07:00
kalsprite
e4fc7a3a9e rsa, x509 write path 2026-07-12 12:14:32 -07:00
kalsprite
2fd11467c8 Merge branch 'master' into x.508 2026-07-12 10:51:44 -07:00
Yawning Angel
e1d32cb19f core/cryto/rsa: Initial import 2026-07-12 06:17:08 +09:00
Yawning Angel
483221ef97 core/crypto/_bigint: Initial import 2026-07-12 06:17:08 +09:00
Jeroen van Rijn
c90f7b1c48 ensure key reuse for upsert test 2026-07-10 21:48:52 +02:00
Jeroen van Rijn
5377cd9c49 Add rbtree.upsert 2026-07-10 21:37:47 +02:00