summaryrefslogtreecommitdiff
path: root/src/CaseFolding.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-09-14Update codebase to Zig 0.15.1.Gravatar Michael Chaten1-4/+2
Removes compression support
2025-05-15Refactor in unicode_testsGravatar Sam Atman1-4/+4
The comments in WordBreak and SentenceBreak tests get really long, the provided buffer would be inadequate. So this just provides a sub- iterator which will strip comments and comment lines, while keeping an eye on line numbers for any debugging.
2025-04-30Allocation Failure TestsGravatar Sam Atman1-8/+7
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-30Setup variants for all allocating modulesGravatar Sam Atman1-4/+14
This harmonizes the allocating modules in a couple of ways. All can now be constructed by pointer, and all treat various miscellaneous read failures as `unreachable`, which indeed they should be. The README has been updated to inform users of this option.
2025-04-30Rest of the RenamingsGravatar Sam Atman1-0/+0
These get different names, but don't otherwise change.
2025-04-30Remove FoldData, make CaseFoldingGravatar Sam Atman1-61/+195
CaseFolding now has the FoldData, and can be initialized with a copy of Normalize if wanted.
2025-04-30Merge NormData with NormalizeGravatar Sam Atman1-8/+4
2025-04-29Add general tests stepGravatar Sam Atman1-6/+8
After a considerable slog, all tests are reachable from the test step, and pass. Almost every failure was related to the change away from the inclusion of an allocator on this or that.
2024-06-26Implemented sqeek502s case foldGravatar Jose Colon Rodriguez1-1/+2
2024-03-31Updated READMEGravatar Jose Colon Rodriguez1-1/+7
2024-03-27ScriptsData and made all Datas constGravatar Jose Colon Rodriguez1-4/+4
2024-03-23Rename CaseFold and NormalizeGravatar Jose Colon Rodriguez1-7/+7
2024-03-23Renamed Caser to FolderGravatar Jose Colon Rodriguez1-0/+0
2024-03-01Added canonical caseless match to CaserGravatar Jose Colon Rodriguez1-6/+79
2024-03-01Moved case fold stuff to src/Caser.zigGravatar Jose Colon Rodriguez1-0/+109