summaryrefslogtreecommitdiff
path: root/src/unicode_tests.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update Unicode version in README.mdGravatar Sam Atman2025-04-301-0/+1
| | | | | | | Lets me slip these in: Closes #12 Closes #14
* Allocation Failure TestsGravatar Sam Atman2025-04-301-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.
* Merge NormData with NormalizeGravatar Sam Atman2025-04-301-3/+2
|
* grapheme now Graphemes, Data files goneGravatar Sam Atman2025-04-301-4/+4
|
* Factor out 'Data' for grapheme and DisplayWidthGravatar Sam Atman2025-04-301-5/+5
| | | | | In the process of refactoring the whole library, so that it doesn't expose anything called "Data" separately from user functionality.
* All the std.mem.Allocators that were stored just for init and deinitGravatar lch3612025-04-291-6/+6
| | | | methods were removed, mem.Allocators were added to deinit as arguments.
* Add peek() to Grapheme.IteratorGravatar Sam Atman2024-11-021-0/+26
| | | | | This does the expected thing: returns the next ?Grapheme without mutation of the iteration state.
* Replace deprecated uses of std.mem.splitGravatar Sam Atman2024-11-021-8/+8
|
* NormData init now takes pointer to uninitialized Self to avoid stack copy ↵Gravatar Jose Colon Rodriguez2024-04-021-2/+3
| | | | issues.
* Split out Unicode tests to separate fileGravatar Jose Colon Rodriguez2024-03-281-0/+194