| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 3 days | Use width 2 when skin tone modifier detected | 1 | -0/+5 | ||
| Fix: #82 | |||||
| 3 days | Fix #74: Check for characters before popping in wrapv0.15.3 | 1 | -2/+16 | ||
| 2025-09-14 | Update codebase to Zig 0.15.1. | 1 | -6/+2 | ||
| Removes compression support | |||||
| 2025-05-04 | Make DisplayWidth.setup publicv0.14.0-rc2 | 1 | -1/+7 | ||
| Also adds setupWithGraphemes variant. | |||||
| 2025-04-30 | Allocation Failure Tests | 1 | -26/+46 | ||
| 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-30 | Update README.md to new API | 1 | -10/+10 | ||
| 2025-04-30 | Factor out 'Data' for grapheme and DisplayWidth | 1 | -76/+164 | ||
| In the process of refactoring the whole library, so that it doesn't expose anything called "Data" separately from user functionality. | |||||
| 2025-04-29 | Add general tests step | 1 | -5/+5 | ||
| 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-03-20 | Add c0 and c1 control width options | 1 | -5/+9 | ||
| 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-04-11 | DisplayWidth: explicitly set width to 2 when VS16 is found | 1 | -0/+4 | ||
| Explicitly set the width of an emoji to two when the next codepoint is a VS16 selector. Add unit test for this case. This is essentially the same PR as https://codeberg.org/dude_the_builder/ziglyph/pulls/11 | |||||
| 2024-03-27 | ScriptsData and made all Datas const | 1 | -5/+5 | ||
| 2024-03-27 | Rename DisplayWidthData | 1 | -7/+7 | ||
| 2024-02-26 | Using separate data struct model. | 1 | -107/+98 | ||
| 2024-02-18 | center, padLeft, padRight, and wrap | 1 | -45/+248 | ||
| 2024-02-18 | Testing Ghostty's Utf8Decoder. A bit slower | 1 | -4/+3 | ||
| 2024-02-18 | Code point code is now a method not a field. | 1 | -3/+4 | ||
| 2024-02-18 | Code point and grapheme are now namespaces. | 1 | -2/+2 | ||
| 2024-02-17 | Fixed isAsciiOnly and CodePointIterator ASCII bugs | 1 | -4/+5 | ||
| 2024-02-17 | display_width tweaks | 1 | -12/+18 | ||
| 2024-02-17 | isAsciiOnly SIMD tweaks | 1 | -2/+6 | ||
| 2024-02-16 | SIMD strWidth ASCII optimization | 1 | -1/+36 | ||
| 2024-02-16 | display_width with table | 1 | -0/+111 | ||