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
Senthilnathan
a880c1abfa
Fix parser failing on comments inside if/when ternary
2026-07-07 14:30:59 +05:30
Senthilnathan
d7fc7c653c
Fix parser failing on comments inside ternary expressions
2026-07-07 14:18:42 +05:30
Jeroen van Rijn
f32c8ed44b
Warning
2026-07-01 11:49:11 +02:00
Jeroen van Rijn
4b9f396cb3
Fix whitespace normalize
2026-06-30 13:23:44 +02:00
Yawning Angel
83940eadfe
test/core/crypto/wycheproof: Update the tests to match recent changes
...
This needs to be merged before I can bump the wycheproof assets.
2026-06-25 14:01:10 +09:00
gingerBill
87297950c1
Merge pull request #6435 from mtarik34b/improve-flags-bitset-support
...
Improve `bit_set` support in the `flags` package
2026-06-23 12:50:21 +01:00
gingerBill
28df949279
Fix typo
2026-06-23 12:25:36 +01:00
gingerBill
7d36866fe9
pool -> arena
2026-06-23 12:21:29 +01:00
gingerBill
1b75c44508
Change mem.Dynamic_Arena's alignment to be minimum_alignment
2026-06-23 12:18:15 +01:00
Brad Lewis
76fb0aa975
Correct divergence with expr levels causing failures with the odin parser
2026-06-20 15:42:43 +10:00
kalsprite
4876cf03bf
asn1 DER reader/writer and X.509 reader
2026-06-13 23:40:08 -07:00
Yawning Angel
e7698e4adf
core/encoding/pem: Initial import
2026-06-02 17:48:46 +09:00
gingerBill
baa4169744
Fix windows tests
2026-05-28 08:35:21 +01:00
Yawning Angel
82a18797b4
core/encoding/base64: Misc fixes and improvements
...
- Add error checking to `decode`
- Add `encode_into_buf`/`decode_into_buf`
2026-05-26 00:38:50 +09:00
Yawning Angel
ccc17780b4
core/crypto/mldsa: Initial import
2026-05-19 19:32:50 +09:00
Yawning Angel
675389aeab
core/crypto/ecdsa: Minor additions and cleanups
2026-05-19 19:32:50 +09:00
gingerBill
d21fea404b
Merge pull request #6631 from heavyrain266/deprecate-haiku
...
removed Haiku from supported targets
2026-05-06 15:52:36 +01:00
Yawning Angel
d2c29c025e
core/crypto/mlkem: Initial import
2026-05-06 09:53:02 +09:00
Yawning Angel
8f1067f290
tests/core/crypto/wycheproof: Break up into separate files
2026-05-06 09:53:02 +09:00
Pung
6a01e3fbf9
removed unused fmt
2026-05-01 13:41:13 +07:00
Pung
ecd8b89daf
better error message
2026-05-01 13:12:48 +07:00