summaryrefslogtreecommitdiff
path: root/src/grapheme.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* grapheme now Graphemes, Data files goneGravatar Sam Atman2025-04-301-421/+0
|
* Factor out 'Data' for grapheme and DisplayWidthGravatar Sam Atman2025-04-301-10/+99
| | | | | In the process of refactoring the whole library, so that it doesn't expose anything called "Data" separately from user functionality.
* Add general tests stepGravatar Sam Atman2025-04-291-1/+1
| | | | | | 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.
* Bump copyright year, isolate iterator testsGravatar Sam Atman2025-04-291-13/+18
|
* Add peek() to Grapheme.IteratorGravatar Sam Atman2024-11-021-0/+69
| | | | | This does the expected thing: returns the next ?Grapheme without mutation of the iteration state.
* grapheme: export grapheme.State structGravatar Tim Culverhouse2024-04-111-1/+1
| | | | | | The public function `graphemeBreak` requires a reference to a State struct, however this type is not exported. Export the type to allow users of zg to use this type and call graphemeBreak.
* Split out Unicode tests to separate fileGravatar Jose Colon Rodriguez2024-03-281-65/+0
|
* ScriptsData and made all Datas constGravatar Jose Colon Rodriguez2024-03-271-2/+2
|
* GraphemeData and Normalize non-pub fnsGravatar Jose Colon Rodriguez2024-03-261-7/+7
|
* Using separate data struct model.Gravatar Jose Colon Rodriguez2024-02-261-41/+32
|
* Cleaned up directory structureGravatar Jose Colon Rodriguez2024-02-191-1/+1
|
* Grapheme -> graphemeGravatar Jose Colon Rodriguez2024-02-181-0/+332