libgrapheme

unicode string library
git clone git://git.suckless.org/libgrapheme
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2022-01-09 16:30Refactor benchmark codeLaslo Hunhold4+97-84
2022-01-09 11:48Explicitly log which class wants to override whichLaslo Hunhold1+3-1
2022-01-09 11:42Homogenize and rename some types/functions in gen/ and test/Laslo Hunhold8+63-66
2022-01-09 11:22Add a general break-test-check-function in test/utilLaslo Hunhold3+56-35
2022-01-08 16:15Remove unused includes in gen/character.cLaslo Hunhold1+0-8
2022-01-08 16:10Rename gen/character-properties.c to gen/character.cLaslo Hunhold3+6-7
2022-01-08 16:08Clean up gen/types.h from the old range-list-typesLaslo Hunhold1+0-10
2022-01-08 16:04Add comment-parameter to benchmark for optional further contextLaslo Hunhold4+15-11
2022-01-08 15:56Rename gen/properties.c to gen/character-properties.cLaslo Hunhold3+6-6
2022-01-08 15:53Update LICENSELaslo Hunhold1+1-1
2022-01-08 15:50benchmark/util.c: Explicitly convert to doubleLaslo Hunhold1+2-1
2022-01-08 15:49Consistently use least-typesLaslo Hunhold4+8-7
2022-01-08 15:45Explicitly cast to uint_least8_t when storing property in stateLaslo Hunhold1+1-1
2022-01-08 14:45gen/util: Add properties-handling and clean up old range-list-functionsLaslo Hunhold4+323-404
2022-01-08 14:44Increase iteration count in character-benchmarkLaslo Hunhold1+1-1
2022-01-07 17:34Silence a few warnings and make it clear that speclen is at most 255Laslo Hunhold1+3-3
2022-01-07 17:30Refactor derived-properties-table-generationLaslo Hunhold1+14-11
2022-01-07 17:16Insert numbers instead of enum-names into mono-tableLaslo Hunhold1+7-9
2022-01-07 17:01Determine maximum value manually in print_lookup_table()Laslo Hunhold1+13-8
2022-01-07 16:41Refactor data-table-generation, use enum-minor-tableLaslo Hunhold2+167-123
2022-01-05 15:52Revert "Use proper iteration-count for benchmark-time-calculation"Laslo Hunhold1+2-2
2022-01-05 15:40Use proper iteration-count for benchmark-time-calculationLaslo Hunhold1+2-2
2022-01-05 15:02Calculate benchmark-times as average time taken for each callLaslo Hunhold4+14-13
2022-01-04 17:56Mark likely branchesLaslo Hunhold2+23-8
2022-01-04 17:47Use "#ifdef" instead of "#if defined"Laslo Hunhold2+2-2
2022-01-04 17:11Add UTF-8 decoder benchmarkLaslo Hunhold2+124-1
2022-01-04 17:29Generate separate utf8proc_int32_t buffer to preserve strict aliasingLaslo Hunhold1+18-2
2022-01-04 17:10Generalize benchmark-function with payload-structLaslo Hunhold3+32-26
2022-01-02 11:48Introduce mostly branchless character break detectionLaslo Hunhold6+163-341
2022-01-02 11:24Create separate comparative benchmark/ folderLaslo Hunhold3+153-0
2021-12-31 14:41Add generator for compressed O(1)-lookup-tableLaslo Hunhold4+370-3
2021-12-25 21:35Quote constructed string in make distLaslo Hunhold1+11-11
2021-12-25 21:33Automatically gzip tarballLaslo Hunhold1+1-1
2021-12-25 19:36Separate benchmark from testLaslo Hunhold8+52-95
2021-12-22 14:39Bump to version 1Laslo Hunhold1+1-1
2021-12-22 14:59Also include README in distribution tarballLaslo Hunhold1+1-1
2021-12-22 14:37Add "clean-data" to PHONY-targetsLaslo Hunhold1+1-1
2021-12-22 14:20Add a remark on standard conformance in READMELaslo Hunhold6+36-5
2021-12-22 12:46Add README and change title and introduction in Makefile and manualsLaslo Hunhold3+52-5
2021-12-22 11:56Call ldconfig after install and uninstallLaslo Hunhold1+2-0
2021-12-19 15:37Alphabetic ordering of variables in config.mkLaslo Hunhold1+1-1
2021-12-19 15:31Fix a few manpage-errors found by the linterLaslo Hunhold2+37-29
2021-12-19 00:36Break some long linesLaslo Hunhold3+51-25
2021-12-19 00:22Match function parameters in code and documentationLaslo Hunhold4+69-69
2021-12-18 23:52Rewrite grapheme_next_character_break() and add size-parameterLaslo Hunhold3+53-42
2021-12-18 19:21Use SIZE_MAX instead of (size_t)-1Laslo Hunhold2+6-6
2021-12-18 18:49Rename API functions to improve readabilityLaslo Hunhold17+407-407
2021-12-18 12:43Rename GRAPHEME_INVALID_CODE_POINT to GRAPHEME_CODEPOINT_INVALIDLaslo Hunhold5+33-33
2021-12-18 12:24Consistently refer to "codepoints" as "codepoints", not "code points"Laslo Hunhold9+42-42
2021-12-18 12:13Rename GRAPHEME_SEGMENTATION_STATE to GRAPHEME_STATELaslo Hunhold5+8-10
2021-12-18 11:48Reintroduce the "grapheme_" prefixLaslo Hunhold18+423-421
2021-12-18 11:02Rename functions/defines/files from "grapheme" to "character"Laslo Hunhold12+466-466
2021-12-18 00:44Add lg_utf8_*() manuals to Makefile MAN3-variableLaslo Hunhold1+2-0
2021-12-18 00:26Add manual pages for lg_utf8_*() and refactor lg_grapheme_nextbreak()Laslo Hunhold3+202-3
2021-12-18 00:25Refactor manual pages for lg_grapheme_*()Laslo Hunhold2+13-10
2021-12-18 00:04Improve a small edge-case in lg_utf8_decode()Laslo Hunhold2+62-3
2021-12-17 00:28Rename LG_CODEPOINT_INVALID to LG_INVALID_CODE_POINTLaslo Hunhold4+28-28
2021-12-16 23:52Ensure const-correctness in cast in lg_utf8_decode()Laslo Hunhold1+4-4
2021-12-16 23:34Encourage strict aliasing for library users (uint8_t * -> char *)Laslo Hunhold6+54-45
2021-12-15 12:34Make lists in Makefile more idiomatic and avoid breaksLaslo Hunhold1+13-10
2021-12-15 11:53Refactor Makefile, add dist-target and add test-utilLaslo Hunhold7+72-33
2021-12-15 09:59Refactor manual pages, document lg_grapheme_isbreak()Laslo Hunhold5+160-108
2021-12-14 15:25Reduce number of iterations for grapheme-performance-testLaslo Hunhold1+1-1
2021-12-14 15:23Refactor error-messages and test-outputLaslo Hunhold5+33-25
2021-12-14 14:59Fix memory leaks during header-generationLaslo Hunhold4+27-2
2021-12-14 14:58Update UTF-8-decoder test for modified NULL-caseLaslo Hunhold1+1-1
2021-12-14 13:06Make lg_utf8_*() NULL-agnosticLaslo Hunhold1+8-4
2021-12-14 12:53Reorder CFLAGSLaslo Hunhold1+1-1
2021-12-14 12:45Avoid undefined signed integer overflow in heisenstate_set()Laslo Hunhold1+3-3
2021-12-14 12:41Optimize bsearch-comparison-function for cp-rangesLaslo Hunhold1+8-2
2021-12-14 12:39Change return-type of time_diff to doubleLaslo Hunhold1+6-5
2021-12-14 11:51Coding style and explicit double-castLaslo Hunhold1+4-3
2021-12-13 19:16Cast pedanticallyLaslo Hunhold3+5-5
2021-12-12 15:03Change lg_grapheme_isbreak() return type from int to boolLaslo Hunhold2+9-6
2021-12-12 14:51Improve parsing of hexadecimal stringsLaslo Hunhold1+33-25
2021-12-12 12:10Properly set internal functions as staticLaslo Hunhold1+5-4
2021-12-12 11:48Assume nothing, assert what we want in the APILaslo Hunhold5+46-156
2021-12-11 13:17Refine types (uint8_t -> char, uint32_t -> uint_least32_t)Laslo Hunhold9+183-73
2021-12-10 19:30Severely speed up grapheme cluster break detectionLaslo Hunhold9+156-113
2021-12-09 16:38Change parameter order in lg_utf8_decode()Laslo Hunhold4+6-6
2021-12-09 16:22Add grapheme break performance testLaslo Hunhold2+67-1
2021-12-08 17:16Refactor API ("lg_" prefix, better naming scheme)Laslo Hunhold8+215-215
2021-12-08 16:47Refactor data-generation and library structureLaslo Hunhold20+788-789
2021-09-23 08:38Update to Unicode 14.0.0Laslo Hunhold4+94-47
2020-12-04 12:35Refactor data-tables and lookup-code to be more universalLaslo Hunhold11+368-372
2020-10-20 21:52Rename datafiles and testsLaslo Hunhold10+62-62
2020-10-18 20:36Don't compile tests by defaultLaslo Hunhold1+1-1
2020-10-18 20:35Compile the test binaries explicitly with libgrapheme.aLaslo Hunhold1+4-4
2020-10-18 20:20Split test/test.c into three separate testsLaslo Hunhold5+415-377
2020-10-18 17:07Replace awk-scripts with C programs for data-parsingLaslo Hunhold9+531-278
2020-10-17 18:57Refactor directory structure and MakefileLaslo Hunhold5+689-686
2020-10-17 16:26Add sentence explaining the need for grapheme cluster handlingLaslo Hunhold1+7-6
2020-10-17 16:21Fix two small mistakes in libgrapheme.7Laslo Hunhold1+2-2
2020-10-17 16:17Refactor grapheme_boundary()Laslo Hunhold1+129-81
2020-10-12 11:56Make example in grapheme_bytelen.3 more portable and mention UTF-8Laslo Hunhold1+31-3
2020-10-12 10:43Update modification dates in libgrapheme.7 and grapheme_bytelen.3Laslo Hunhold2+2-2
2020-10-12 10:32Rename grapheme_len() to grapheme_bytelen() and refactor manualLaslo Hunhold6+64-48
2020-10-12 09:41Clear up libgrapheme.7 even moreLaslo Hunhold1+76-43
2020-10-10 17:04Explicitly specify version 13.0.0 in data-URLsLaslo Hunhold1+3-3
2020-10-10 16:56Refactor libgrapheme.7Laslo Hunhold1+79-27
More commits remaining [...]