summaryrefslogtreecommitdiff
path: root/src/WidthData.zig (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-04-30grapheme now Graphemes, Data files goneGravatar Sam Atman1-102/+0
2025-04-30Factor out 'Data' for grapheme and DisplayWidthGravatar Sam Atman1-7/+25
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-24/+26
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-29All the std.mem.Allocators that were stored just for init and deinitGravatar lch3611-7/+5
methods were removed, mem.Allocators were added to deinit as arguments.
2025-03-20Add c0 and c1 control width optionsGravatar Sam Atman1-27/+27
This allows a build of DisplayWidth to give characters in those classes a width, for cases where they'll be printed with a substitute in the final display. It also raises the size of possible characters from an i3 to an i4, to accommodate printing C1s as e.g. <80> or \u{80}.
2024-10-14WidthData: define error set as mem.Allocator.ErrorGravatar Tim Culverhouse1-5/+5
The reader is a static embedded file. All of the reads are readInt. This function should not ever fail at runtime with a read error. Make all read errors unreachable, leaving only allocation errors as the error set.
2024-06-26Removed all inlinesGravatar Jose Colon Rodriguez1-1/+1
2024-03-31Updated READMEGravatar Jose Colon Rodriguez1-3/+2
2024-03-28PropsData and errdefers for init fnsGravatar Jose Colon Rodriguez1-0/+3
2024-03-27ScriptsData and made all Datas constGravatar Jose Colon Rodriguez1-1/+1
2024-02-26Using NormData nfkdGravatar Jose Colon Rodriguez1-0/+0
2024-02-26Using separate data struct model.Gravatar Jose Colon Rodriguez1-0/+82