You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rich Felker
1507ebf837
byte-based C locale, phase 1: multibyte character handling functions
this patch makes the functions which work directly on multibyte
characters treat the high bytes as individual abstract code units
rather than as multibyte sequences when MB_CUR_MAX is 1. since
MB_CUR_MAX is presently defined as a constant 4, all of the new code
added is dead code, and optimizing compilers' code generation should
not be affected at all. a future commit will activate the new code.
as abstract code units, bytes 0x80 to 0xff are represented by wchar_t
values 0xdf80 to 0xdfff, at the end of the surrogates range. this
ensures that they will never be misinterpreted as Unicode characters,
and that all wctype functions return false for these "characters"
without needing locale-specific logic. a high range outside of Unicode
such as 0x7fffff80 to 0x7fffffff was also considered, but since C11's
char16_t also needs to be able to represent conversions of these
bytes, the surrogate range was the natural choice.
11 years ago
..
__ctype_b_loc.c
include cleanups: remove unused headers and add feature test macros
13 years ago
__ctype_get_mb_cur_max.c
byte-based C locale, phase 1: multibyte character handling functions
11 years ago
__ctype_tolower_loc.c
include cleanups: remove unused headers and add feature test macros
13 years ago
__ctype_toupper_loc.c
include cleanups: remove unused headers and add feature test macros
13 years ago
alpha.h
destubify iswalpha and update iswpunct to unicode 6.1
14 years ago
isalnum.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isalpha.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isascii.c
add macro version of ctype.h isascii function
11 years ago
isblank.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iscntrl.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isgraph.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
islower.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isprint.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
ispunct.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isspace.c
add inline isspace in ctype.h as an optimization
12 years ago
isupper.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswalnum.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswalpha.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswblank.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswcntrl.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswctype.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswgraph.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswlower.c
fix case mapping for U+00DF (ß)
12 years ago
iswprint.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswpunct.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswspace.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswupper.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswxdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isxdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
nonspacing.h
new wcwidth implementation (fast table-based)
14 years ago
punct.h
fix spurious punct class for some surrogate codepoints (invalid)
14 years ago
toascii.c
initial check-in, version 0.5.0
15 years ago
tolower.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
toupper.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
towctrans.c
fix case mapping for U+00DF (ß)
12 years ago
wcswidth.c
initial check-in, version 0.5.0
15 years ago
wctrans.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
wcwidth.c
make some arrays const
13 years ago
wide.h
fix broken wcwidth tables
14 years ago