freebsd-dev/lib/libc/locale
Thomas Munro cc7edd258c Add collation version support to querylocale(3).
Provide a way to ask for an opaque version string for a locale_t, so
that potential changes in sort order can be detected.  Similar to
ICU's ucol_getVersion() and Windows' GetNLSVersionEx(), this API is
intended to allow databases to detect when text order-based indexes
might need to be rebuilt.

The CLDR version is extracted from CLDR source data by the Makefile
under tools/tools/locale, written into the machine-generated Makefile
under shared/colldef, passed to localedef -V, and then written into
LC_COLLATE file headers.  The initial version is 34.0.
tools/tools/locale was recently updated to pull down 35.0, but the
output hasn't been committed under share/colldef yet, so that will
provide the first observable change when it happens.  Other versioning
schemes are possible in future, because the format is unspecified.

Reviewed by:	bapt, 0mp, kib, yuripv (albeit a long time ago)
Differential Revision:	https://reviews.freebsd.org/D17166
2020-11-08 02:50:34 +00:00
..
ascii.c
big5.5 Use proper mdoc(7) macros for literal text and do not use Tn 2020-04-01 09:01:35 +00:00
big5.c
btowc.3
btowc.c
c16rtomb_iconv.c
c16rtomb.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
c32rtomb_iconv.c
c32rtomb.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
collate.c Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00
collate.h Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00
collcmp.c
ctype_l.3
ctype.3
ctype.c
cXXrtomb_iconv.h Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
DESIGN.xlocale
digittoint.3
duplocale.3
euc.5 In FreeBSD 11 localedef(1) has replaced the mklocale(1) and colldef(1) 2019-09-10 07:47:52 +00:00
euc.c
fix_grouping.c localeconv: correct grouping and mon_grouping per C/POSIX 2019-12-19 17:01:25 +00:00
freelocale.3
gb2312.5
gb2312.c
gb18030.5
gb18030.c
gbk.5
gbk.c
isalnum.3
isalpha.3
isascii.3
isblank.3
iscntrl.3
isctype.c
isdigit.3
isgraph.3
isideogram.3
islower.3
isphonogram.3
isprint.3
ispunct.3
isrune.3
isspace.3
isspecial.3
isupper.3
iswalnum_l.3
iswalnum.3
iswctype.c
isxdigit.3
ldpart.c
ldpart.h
lmessages.c
lmessages.h
lmonetary.c
lmonetary.h
lnumeric.c
lnumeric.h
localeconv.3
localeconv.c
Makefile.inc
mblen.3
mblen.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mblocal.h Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbrlen.3
mbrlen.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbrtoc16_iconv.c
mbrtoc16.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
mbrtoc32_iconv.c
mbrtoc32.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
mbrtocXX_iconv.h Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbrtowc.3
mbrtowc.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbsinit.3
mbsinit.c
mbsnrtowcs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbsrtowcs.3 mbsrtowcs(3): Clarify the RETURN VALUES section 2020-08-07 16:56:43 +00:00
mbsrtowcs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbstowcs.3
mbstowcs.c
mbtowc.3
mbtowc.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mskanji.5
mskanji.c
multibyte.3 In FreeBSD 11 localedef(1) has replaced the mklocale(1) and colldef(1) 2019-09-10 07:47:52 +00:00
newlocale.3 newlocale(3): Fix a memory leak. 2020-10-02 18:35:55 +00:00
nextwctype.3
nextwctype.c
nl_langinfo.3
nl_langinfo.c
nomacros.c
none.c
querylocale.3 Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00
rpmatch.3
rpmatch.c
rune.c libc: Fix a few bugs in the xlocale collation code. 2020-01-09 20:49:26 +00:00
runefile.h
runetype.c
setlocale.3 setlocale(3): Add an EXAMPLES section and add LANG category 2020-08-07 17:25:56 +00:00
setlocale.c
setlocale.h
setrunelocale.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
Symbol.map
table.c
toascii.3
tolower.3
tolower.c
toupper.3
toupper.c
towlower.3
towupper.3
uselocale.3
utf8.5
utf8.c
wcrtomb.3
wcrtomb.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
wcsftime.3
wcsftime.c
wcsnrtombs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
wcsrtombs.3
wcsrtombs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
wcstod.3
wcstod.c
wcstof.c
wcstoimax.c
wcstol.3
wcstol.c
wcstold.c
wcstoll.c
wcstombs.3
wcstombs.c
wcstoul.c
wcstoull.c
wcstoumax.c
wctob.c
wctomb.3
wctomb.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
wctrans.3
wctrans.c
wctype.3
wctype.c
wcwidth.3
wcwidth.c
xlocale_private.h Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00
xlocale.3
xlocale.c Add collation version support to querylocale(3). 2020-11-08 02:50:34 +00:00