summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into pr6Gravatar Jose Colon Rodriguez2024-06-104-8/+5
|\
| * Updated README for v0.13.0v0.13.0Gravatar Jose Colon Rodriguez2024-06-081-2/+2
| |
| * Updated benchmarkGravatar Jose Colon Rodriguez2024-06-072-3/+3
| |
| * Merge pull request 'build: use b.path everywhere' (#5) from ↵Gravatar Jose Colon2024-06-071-1/+1
| |\ | | | | | | | | | | | | | | | rockorager/zg:master into master Reviewed-on: https://codeberg.org/dude_the_builder/zg/pulls/5
| * | Updated build.zig b.pathGravatar Jose Colon Rodriguez2024-05-192-39/+36
| | |
* | | codepoint: prevent panic when last cp too shortGravatar Tim Culverhouse2024-06-101-0/+11
| |/ |/| | | | | | | | | | | | | | | | | | | If the last codepoint in a byte slice is incomplete (IE has a length of 3 but there are only 2 bytes remaining), the iterator will panic. Instead of panicking, prefer to return a replacement character. This strategy is similar to that in the block just above which returns a replacement character if the first byte is not valid. In this latter block, we also consume only one byte and allow the iterator to continue. This allows for sections of text which may have a single byte incorrect near the end of the slice.
* | build: use b.path everywhereGravatar Tim Culverhouse2024-06-072-37/+37
|/ | | | | | Use b.path everywhere in build.zig to make library compatible with zig 0.13.0. Also in 0.13.0, zig-cache was moved to .zig-cache. Update .gitignore accordingly.
* Removed emoji modifier display width = 0 case.Gravatar Jose Colon Rodriguez2024-05-032-3/+3
|
* Merge pull request 'DisplayWidth: explicitly set width to 2 when VS16 is ↵Gravatar Jose Colon2024-04-111-0/+4
|\ | | | | | | | | | | found' (#3) from rockorager/zg:vs-16 into master Reviewed-on: https://codeberg.org/dude_the_builder/zg/pulls/3
| * DisplayWidth: explicitly set width to 2 when VS16 is foundGravatar Tim Culverhouse2024-04-111-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
* | Merge pull request 'grapheme: export grapheme.State struct' (#2) from ↵Gravatar Jose Colon2024-04-111-1/+1
|\ \ | |/ |/| | | | | | | rockorager/zg:gb-state into master Reviewed-on: https://codeberg.org/dude_the_builder/zg/pulls/2
| * 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.
* Updated benchmarksv0.1.0Gravatar Jose Colon Rodriguez2024-04-023-6/+5
|
* NormData init now takes pointer to uninitialized Self to avoid stack copy ↵Gravatar Jose Colon Rodriguez2024-04-024-16/+24
| | | | issues.
* Updated README with zig fetchGravatar Jose Colon Rodriguez2024-03-311-6/+4
|
* Added benchmarks; Unicode version; Removed Ziglyph depGravatar Jose Colon Rodriguez2024-03-3122-9/+78735
|
* Added Ghostty ref in READMEGravatar Jose Colon Rodriguez2024-03-311-4/+5
|
* Added LICENSEGravatar Jose Colon Rodriguez2024-03-311-0/+21
|
* Updated READMEGravatar Jose Colon Rodriguez2024-03-3132-136/+606
|
* Split out Unicode tests to separate fileGravatar Jose Colon Rodriguez2024-03-284-216/+209
|
* Merged NumericData into PropsDataGravatar Jose Colon Rodriguez2024-03-283-77/+46
|
* PropsData and errdefers for init fnsGravatar Jose Colon Rodriguez2024-03-2816-24/+485
|
* ScriptsData and made all Datas constGravatar Jose Colon Rodriguez2024-03-2719-62/+615
|
* Friendly general category methodsGravatar Jose Colon Rodriguez2024-03-272-60/+146
|
* Export CaseDataGravatar Jose Colon Rodriguez2024-03-271-1/+1
|
* Rename DisplayWidthDataGravatar Jose Colon Rodriguez2024-03-271-7/+7
|
* rm src/main.zigGravatar Jose Colon Rodriguez2024-03-261-93/+0
|
* Removed mainGravatar Jose Colon Rodriguez2024-03-261-26/+0
|
* GraphemeData and Normalize non-pub fnsGravatar Jose Colon Rodriguez2024-03-262-13/+13
|
* Using diff for lowercase mappingGravatar Jose Colon Rodriguez2024-03-262-9/+10
|
* Using diff for uppercase mappingGravatar Jose Colon Rodriguez2024-03-262-9/+10
|
* Removed title case processingGravatar Jose Colon Rodriguez2024-03-263-105/+15
|
* CaseDataGravatar Jose Colon Rodriguez2024-03-257-29/+613
|
* NumericDataGravatar Jose Colon Rodriguez2024-03-244-19/+263
|
* Rename CaseFold and NormalizeGravatar Jose Colon Rodriguez2024-03-234-26/+26
|
* Renamed Caser to FolderGravatar Jose Colon Rodriguez2024-03-232-7/+8
|
* Small format change in mainGravatar Jose Colon Rodriguez2024-03-161-1/+5
|
* zon paths update; .gitattributesGravatar Jose Colon Rodriguez2024-03-022-2/+5
|
* Normalizer back to 300k in SafeGravatar Jose Colon Rodriguez2024-03-012-17/+17
|
* Added canonical caseless match to CaserGravatar Jose Colon Rodriguez2024-03-013-7/+105
|
* Moved case fold stuff to src/Caser.zigGravatar Jose Colon Rodriguez2024-03-0111-123/+153
|
* Changes when case folded check; 20ms fasterGravatar Jose Colon Rodriguez2024-03-013-9/+89
|
* Normalizer.eqlIgnoreCase compatibility caseless matchingGravatar Jose Colon Rodriguez2024-03-016-10/+258
|
* Removed dupe tombstone check in NormalizerGravatar Jose Colon Rodriguez2024-02-291-14/+0
|
* Major Normalizer optimizationsGravatar Jose Colon Rodriguez2024-02-291-60/+75
|
* Added nfc latin1 check backGravatar Jose Colon Rodriguez2024-02-282-71/+122
|
* Using slices for decompositions in NormalizerGravatar Jose Colon Rodriguez2024-02-285-128/+125
|
* General Category with GenCatDataGravatar Jose Colon Rodriguez2024-02-275-18/+300
|
* Normalizer 2x faster than Ziglyph; Uses 2x memoryGravatar Jose Colon Rodriguez2024-02-271-1/+1
|
* Using NormPropsData in NormData; No Ziglyph deps in NOrmalizerGravatar Jose Colon Rodriguez2024-02-276-10/+220
|