sbase/libutf
FRIGN 9565eef895 Refactor uppercase-inclusion in libutf
Previously, the to*rune function would have to jiggle with two
arrays, and it somehow evaded me that it is actually way simpler
to just add another entry to the arrays if needed.
Binary size goes slightly down, e.g. tr statically linked against
musl: 68072 -> 67688

Behind the scenes though the conversion should be a bit faster and,
more importantly, the scary case-conversion function is simplified
and easier to understand.

It also drops nearly half the LOC in upperrune.c and lowerrune.c.
2015-02-12 12:28:45 +01:00
..
fgetrune.c Rename variable Rune * p -> r in fgetrune() 2015-02-11 21:14:28 +01:00
fputrune.c Scrap writerune(), introducing fputrune() 2015-02-11 20:58:00 +01:00
isalnumrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
isalpharune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
isblankrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
iscntrlrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
isdigitrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
isgraphrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
isprintrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
ispunctrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
isspacerune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
istitlerune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
isxdigitrune.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
lowerrune.c Refactor uppercase-inclusion in libutf 2015-02-12 12:28:45 +01:00
rune.c Import libutf from http://git.suckless.org/libutf 2014-11-17 15:46:01 +00:00
runetype.c Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
runetype.h Split up is*rune() and to*rune() functions into individual source files 2015-02-11 15:48:18 +01:00
upperrune.c Refactor uppercase-inclusion in libutf 2015-02-12 12:28:45 +01:00
utf.c Import libutf from http://git.suckless.org/libutf 2014-11-17 15:46:01 +00:00
utftorunestr.c Scrap chartorunearr(), introducing utftorunestr() 2015-02-11 21:32:09 +01:00