summaryrefslogtreecommitdiff
path: root/src/WidthData.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* grapheme now Graphemes, Data files goneGravatar Sam Atman2025-04-301-102/+0
|
* Factor out 'Data' for grapheme and DisplayWidthGravatar Sam Atman2025-04-301-7/+25
| | | | | 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-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.
* All the std.mem.Allocators that were stored just for init and deinitGravatar lch3612025-04-291-7/+5
| | | | methods were removed, mem.Allocators were added to deinit as arguments.
* Add c0 and c1 control width optionsGravatar Sam Atman2025-03-201-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}.
* WidthData: define error set as mem.Allocator.ErrorGravatar Tim Culverhouse2024-10-141-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.
* Removed all inlinesGravatar Jose Colon Rodriguez2024-06-261-1/+1
|
* Updated READMEGravatar Jose Colon Rodriguez2024-03-311-3/+2
|
* PropsData and errdefers for init fnsGravatar Jose Colon Rodriguez2024-03-281-0/+3
|
* ScriptsData and made all Datas constGravatar Jose Colon Rodriguez2024-03-271-1/+1
|
* Using NormData nfkdGravatar Jose Colon Rodriguez2024-02-261-0/+82