77 Commits (2df9ae916120212442201bbf30271a1170e508cf)

Author SHA1 Message Date
Rich Felker a946e8117e fix return value of nl_langinfo for invalid item arguments 11 years ago
Rich Felker 2d51c4ad57 make nl_langinfo(CODESET) always return "ASCII" in byte-based C locale 11 years ago
Rich Felker b4d94ba40d fix localeconv field value for unavailable values 11 years ago
Rich Felker 58f6259dff fix breakage in nl_langinfo from previous commit 11 years ago
Rich Felker 844212d94f make nl_langinfo(CODESET) always return "UTF-8" 11 years ago
Rich Felker 16f18d036d byte-based C locale, phase 2: stdio and iconv (multibyte callers) 11 years ago
Rich Felker 1507ebf837 byte-based C locale, phase 1: multibyte character handling functions 11 years ago
Rich Felker 16bf466532 make static C and C.UTF-8 locales available outside of newlocale 11 years ago
Timo Teräs 63f4b9f18f fix uselocale((locale_t)0) not to modify locale 11 years ago
Rich Felker aeeac9ca54 implement fail-safe static locales for newlocale 11 years ago
Rich Felker 11858d31aa rename internal locale file handling locale maps 11 years ago
Rich Felker 61a3364d24 overhaul locale internals to treat categories roughly uniformly 11 years ago
Rich Felker 63c188ec42 replace atomics with locks in locale-setting code 11 years ago
Rich Felker 3b0e83264d remove outdated and misleading comment in iconv.c 11 years ago
Rich Felker 39b8ce66f2 in iconv_open, accept "CHAR" and "" as aliases for "UTF-8" 11 years ago
Rich Felker 43e9f652bf fix null pointer dereference in dcngettext under specific conditions 11 years ago
Rich Felker 68630b55c0 eliminate costly tricks to avoid TLS access for current locale state 11 years ago
Rich Felker 873e0ec7fc fix duplocale clobbering of new locale struct with memcpy of old 11 years ago
Rich Felker 56fbaa3bbe make all objects used with atomic operations volatile 11 years ago
Rich Felker 86876dbec5 fix non-static dummy function that slipped in with locale implementation 12 years ago
Szabolcs Nagy b04971d91a add inline isspace in ctype.h as an optimization 12 years ago
Rich Felker 5059deb1a5 harden locale name handling and prevent slashes in LC_MESSAGES 12 years ago
Szabolcs Nagy 6527b03dcc plural rule evaluator rewrite for dcngettext 12 years ago
Szabolcs Nagy a126188f86 tweaks to plural rules evaluator 12 years ago
Rich Felker e4dd0ab83c harden dcngettext plural processing 12 years ago
Rich Felker 6e89210669 harden mo file processing for locale/translations 12 years ago
Rich Felker 73d2a3bfda implement non-default plural rules for ngettext translations 12 years ago
Rich Felker 2068b4e891 implement gettext message translation functions 12 years ago
Rich Felker c5b8f19305 add support for LC_TIME and LC_MESSAGES translations 12 years ago
Rich Felker 0206f596d5 add missing yes/no strings to nl_langinfo 12 years ago
Rich Felker a19cd2b64a fix nl_langinfo table for LC_TIME era-related items 12 years ago
Rich Felker 41421d6beb implement mo file string lookup for translations 12 years ago
Rich Felker 6cb4f91db7 implement locale file loading and state for remaining locale categories 12 years ago
Rich Felker 674e28af2d fix locale environment variable logic for empty strings 12 years ago
Rich Felker 4c48501ee2 properly pass current locale to *_l functions when used internally 12 years ago
Rich Felker 7424ac58b1 consolidate str[n]casecmp_l into str[n]casecmp source files 12 years ago
Rich Felker d89fdec51b consolidate *_l ctype/wctype functions into their non-_l source files 12 years ago
Rich Felker 0bc03091bb add locale framework 12 years ago
Rich Felker df15168cf8 replace all remaining internal uses of pthread_self with __pthread_self 12 years ago
Rich Felker 8a2d871987 add cp437 and cp850 to available iconv conversions 12 years ago
Szabolcs Nagy f1471d3216 fix an overflow in wcsxfrm when n==0 12 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Szabolcs Nagy 2b1f2f146d remove duplicate includes from dynlink.c, strfmon.c and getaddrinfo.c 13 years ago
Rich Felker 37c25065be remove spurious tmp file present since initial git check-in 13 years ago
Rich Felker 109bd65acf add hkscs/big5-2003/eten extensions to iconv big5 13 years ago
Rich Felker 19b4a0a20e add Big5 charset support to iconv 13 years ago
Rich Felker 734062b298 iconv support for legacy Korean encodings 13 years ago
Rich Felker 1ae4bc4280 fix semantically incorrect use of LC_GLOBAL_LOCALE 13 years ago
Rich Felker 87be54a135 rework langinfo code for ABI compat and for use by time code 13 years ago
Rich Felker ad4a536769 update strxfrm/wcsxfrm for future LC_COLLATE support and ABI compat 13 years ago