summaryrefslogtreecommitdiff
path: root/src/grapheme.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-04-30grapheme now Graphemes, Data files goneGravatar Sam Atman1-421/+0
2025-04-30Factor out 'Data' for grapheme and DisplayWidthGravatar Sam Atman1-10/+99
In the process of refactoring the whole library, so that it doesn't expose anything called "Data" separately from user functionality.
2025-04-29Add general tests stepGravatar Sam Atman1-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.
2025-04-29Bump copyright year, isolate iterator testsGravatar Sam Atman1-13/+18
2024-11-02Add peek() to Grapheme.IteratorGravatar Sam Atman1-0/+69
This does the expected thing: returns the next ?Grapheme without mutation of the iteration state.
2024-04-11grapheme: export grapheme.State structGravatar Tim Culverhouse1-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.
2024-03-28Split out Unicode tests to separate fileGravatar Jose Colon Rodriguez1-65/+0
2024-03-27ScriptsData and made all Datas constGravatar Jose Colon Rodriguez1-2/+2
2024-03-26GraphemeData and Normalize non-pub fnsGravatar Jose Colon Rodriguez1-7/+7
2024-02-26Using separate data struct model.Gravatar Jose Colon Rodriguez1-41/+32
2024-02-19Cleaned up directory structureGravatar Jose Colon Rodriguez1-1/+1
2024-02-18Grapheme -> graphemeGravatar Jose Colon Rodriguez1-0/+0
2024-02-18Testing Ghostty's Utf8Decoder. A bit slowerGravatar Jose Colon Rodriguez1-14/+2
2024-02-18Code point code is now a method not a field.Gravatar Jose Colon Rodriguez1-2/+14
2024-02-18Code point and grapheme are now namespaces.Gravatar Jose Colon Rodriguez1-35/+32
2024-02-17display_width tweaksGravatar Jose Colon Rodriguez1-65/+71
2024-02-17GraphemeIterator ASCII optimization 3x fasterGravatar Jose Colon Rodriguez1-37/+42
2024-02-15build.zig module reorgGravatar Jose Colon Rodriguez1-2/+1
2024-02-15Removed inline from fnsGravatar Jose Colon Rodriguez1-11/+11
2024-02-15New single byte props tableGravatar Jose Colon Rodriguez1-27/+31
2024-02-14Combinedd Indic ifsGravatar Jose Colon Rodriguez1-17/+2
2024-02-14emoji direct array accessGravatar Jose Colon Rodriguez1-2/+4
2024-02-14gbp and indic direct array accessGravatar Jose Colon Rodriguez1-42/+47
2024-02-14Passing Unicode 15.1.0 Grapheme Break TestsGravatar Jose Colon Rodriguez1-21/+51
2024-02-14Removed readCodePoint and StreamingGraphemeIteratorGravatar Jose Colon Rodriguez1-182/+0
2024-02-14Removed unreachables from GraphemeGravatar Jose Colon Rodriguez1-10/+10
2024-02-14Code reorg; Added UCDGravatar Jose Colon Rodriguez1-11/+29
2024-02-13Removed unreachables from CodePointIteratorGravatar Jose Colon Rodriguez1-1/+1
2024-02-13Using emoji tableGravatar Jose Colon Rodriguez1-1/+2
2024-02-13Passing ziglyph testsGravatar Jose Colon Rodriguez1-3/+245
2024-02-12Flat arrayGravatar Jose Colon Rodriguez1-5/+2
2024-02-12Using Trie super slowGravatar Jose Colon Rodriguez1-2/+5