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
Jeroen van Rijn
447d880586
Add tests/core/text/scanner to CI
2026-08-02 13:19:15 +02:00
kalsprite
4876cf03bf
asn1 DER reader/writer and X.509 reader
2026-06-13 23:40:08 -07:00
Jeroen van Rijn
e7dbabf668
core:os -> core:os/old && core:os/os2 -> core:os
2026-02-09 15:50:21 +01:00
Jeroen van Rijn
2c39af1581
Fix
2026-02-08 13:06:19 +01:00
Jeroen van Rijn
f63c209478
Convert core:encoding/hxa
2026-02-08 12:42:26 +01:00
Jeroen van Rijn
1cbd60f40e
Reenable core:encoding/ini tests
2026-02-08 12:42:25 +01:00
Laytan Laats
24ee35af28
nbio: add package
2026-01-11 20:21:25 +01:00
Laytan Laats
872fe3ff73
kqueue: fix bsds, add user filter, add struct tests
2026-01-11 20:21:25 +01:00
Jeroen van Rijn
347eae3a66
core:math/bits: Add docs + tests for rotate_left* and log2
2025-10-14 23:30:38 +02:00
Jeroen van Rijn
aec7d6480b
Package lines for base32, move its tests to tests"
2025-10-09 15:27:53 +02:00
gingerBill
414b1059a8
Fix typo
2025-08-08 12:36:56 +01:00
gingerBill
d381d0ece4
Fix more procedure to be contextless
2025-08-08 12:33:34 +01:00
Laytan Laats
76806080ef
fix os2.process_exec on non-windows and add a smoke test
2024-10-03 13:51:27 +02:00
Feoramund
7f7cfebc91
Add tests for core:sync and core:sync/chan
2024-09-11 08:39:38 -04:00
Feoramund
5b9e9fb822
Add test suite for core:io
2024-08-28 19:53:20 +02:00
gingerBill
58e811eea5
Merge pull request #3962 from Feoramund/regex
...
Add `core:text/regex`
2024-08-21 13:55:11 +01:00
Laytan Laats
efe68c2e24
posix: add package
2024-08-14 01:44:35 +02:00
Feoramund
c69fa87d53
Merge core:simd/util into core:bytes
2024-08-10 07:17:03 -04:00
Feoramund
28c98c2e7a
Add tests for vectorized index_* procs
2024-08-06 15:19:05 -04:00
Laytan Laats
99d9e8f8b1
fix os.read_dir with symlinks
2024-08-03 00:26:46 +02:00
Thomas la Cour
fe587ee79a
try to add sys/windows to the normal core tests
2024-07-26 11:04:13 +02:00
Feoramund
3e49ceb82a
Add tests for core:text/regex
2024-07-22 15:07:13 -04:00
Feoramund
4dacddd85e
Add core:encoding/uuid
2024-06-22 18:21:27 -04:00
Jeroen van Rijn
7064166da2
Merge pull request #3767 from Feoramund/use-rng-context-in-test-runner
...
Setup `context.random_generator` in test runner
2024-06-19 09:51:13 +02:00
Feoramund
6b25d17ef9
Add missing imports to core test suite
2024-06-18 10:38:43 -04:00
Feoramund
aab5338134
Add tests for core:math/rand
2024-06-15 15:49:05 -04:00
Jeroen van Rijn
fc2ba81be0
Merge branch 'master' into png_cleanup
2024-06-09 17:13:43 +02:00
Jeroen van Rijn
3c7e2659ac
Merge branch 'master' into tlsf-allocator
2024-06-09 16:42:23 +02:00
Jeroen van Rijn
d2a2c1e74e
Image: Add improved blending method and test it.
2024-06-09 16:10:06 +02:00
Laytan Laats
0a528777e8
utilize odin test -all-packages instead of (make/bat) scripts for running tests
2024-06-07 15:50:00 +02:00