summaryrefslogtreecommitdiff
path: root/src/unicode_tests.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-04-30Update Unicode version in README.mdGravatar Sam Atman1-0/+1
Lets me slip these in: Closes #12 Closes #14
2025-04-30Allocation Failure TestsGravatar Sam Atman1-1/+1
These turned up an excessive amount of allocations in CanonData and CompatData, which have been reduced to two through the somewhat squirrely use of 'magic numbers'. There are now allocation tests for every allocated structure in the library, and they run to completion in a reasonable amount of time. So, that's nice.
2025-04-30Merge NormData with NormalizeGravatar Sam Atman1-3/+2
2025-04-30grapheme now Graphemes, Data files goneGravatar Sam Atman1-4/+4
2025-04-30Factor out 'Data' for grapheme and DisplayWidthGravatar Sam Atman1-5/+5
In the process of refactoring the whole library, so that it doesn't expose anything called "Data" separately from user functionality.
2025-04-29All the std.mem.Allocators that were stored just for init and deinitGravatar lch3611-6/+6
methods were removed, mem.Allocators were added to deinit as arguments.
2024-11-02Add peek() to Grapheme.IteratorGravatar Sam Atman1-0/+26
This does the expected thing: returns the next ?Grapheme without mutation of the iteration state.
2024-11-02Replace deprecated uses of std.mem.splitGravatar Sam Atman1-8/+8
2024-04-02NormData init now takes pointer to uninitialized Self to avoid stack copy ↵Gravatar Jose Colon Rodriguez1-2/+3
issues.
2024-03-28Split out Unicode tests to separate fileGravatar Jose Colon Rodriguez1-0/+194