#
331722 |
|
29-Mar-2018 |
eadler |
Revert r330897:
This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes.
Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes.
Requested by: gjb (re)
|
#
330897 |
|
14-Mar-2018 |
eadler |
Partial merge of the SPDX changes
These changes are incomplete but are making it difficult to determine what other changes can/should be merged.
No objections from: pfg
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
298830 |
|
29-Apr-2016 |
pfg |
libc: spelling fixes.
Mostly on comments.
|
#
290637 |
|
10-Nov-2015 |
bapt |
return "US-ASCII" instead of "POSIX" for "C" and "POSIX" locales as it used to be in previous version of the locales. Returning "POSIX" has too many fallouts.
|
#
290622 |
|
09-Nov-2015 |
bapt |
nl_langinfo: Simplify case ladder
The NONE:US-ASCII case isn't necessary. The "NONE:" case will handle US-ASCII, so let's remove the redundant handling.
Submitted by: marino Obtained from: DragonflyBSD
|
#
290618 |
|
09-Nov-2015 |
bapt |
locales: Enforce US-ASCII encoding (limited to 7-bit)
The US-ASCII format was getting treated identically to POSIX. It is supposed to throw an ILSEQ errno if a value of 0x80 or greater is encountered, so let's bring back the "ASCII" handling.
While here, change nl_codeset to return US-ASCII only when the encoding really is "US-ASCII". Before "C" and "POSIX" encoding returned this string, so now they return "POSIX".
Discussed with: ache Submitted by: marino Obtained from: DragonflyBSD
|
#
290494 |
|
07-Nov-2015 |
bapt |
Improve collation string and locales support
Merge collation support from Illumos and DragonflyBSD.
Locales are now generated with the new localedef(1) tool from CLDR POSIX files. The generated files are now identified as "BSD 1.0" format.
The libc now only read "BSD 1.0" locales definitions, all other version will be set to "C" The localedef(1) tool has been imported from Illumos and modified to use tree(3) instead of the CDDL avl(3) A set of tool created by edwin@ and extended by marino@ for dragonfly has been added to be able to generate locales and the Makefiles from the vanilla CLDR unicode databases + a universal UTF-8 charmap (by marino@) Update the locales to unicode v27 Given our regex(3) does not support multibyte (yet) it has been forced to always use locale C Remove now unused colldef(1) and mklocale(1) Finish implementing the numeric BSD extension for ctypes The number of supported locales has grown from 175 to 250 locales. Among the new locales: 6 Arabic locales (AE EG JO MA QA SA), Different variations of spanish locales. Added new 3 components locales for mn_Cyrl_MN, sr_Cyrl_RS sr_Latn_RS, zh_Hans_CN, zh_Hant_HK and zh_Hant_TW. Some aliases has been for 2 components version when possible.
Thanks: Garrett D'Amore (Illumos) who made sure all his work was done under BSD license!, Edwin Groothuis (edwin@) for the work he made on tools to be able to generate locales definition usable in freebsd sources out of vanilla CLDR definitions, John Marino (DragonflyBSD) who first merge the Illumos work into Dragonfly and spent hours tracking down bugs.
|
#
227753 |
|
20-Nov-2011 |
theraven |
Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation.
Please test any code you have that uses the C standard locale functions!
Reviewed by: das (gdtoa changes) Approved by: dim (mentor)
|
#
197765 |
|
05-Oct-2009 |
edwin |
Modified locale(1) to be able to show the altmon_X fields and the [cxX]_fmt's. Also modify the "-k list" option to display only fields with a certain prefix.
MFC after: 1 week
|
#
116875 |
|
26-Jun-2003 |
phantom |
. style(9) . fix/add comments (to cover changes done thru last 20 months) . extend monetary testcase to cover int_* values
|
#
116134 |
|
09-Jun-2003 |
ache |
Remove transition period hack
|
#
92986 |
|
22-Mar-2002 |
obrien |
Fix the style of the SCM ID's. I believe have made all of libc .c's as consistent as possible.
|
#
87658 |
|
11-Dec-2001 |
phantom |
* Add my e-mail to copyrights * style(9)'ify
|
#
78776 |
|
25-Jun-2001 |
ache |
Return "" if reallocf() fails
|
#
78758 |
|
25-Jun-2001 |
ache |
Add transition period hack allowing old locale names return proper codeset too
|
#
78024 |
|
10-Jun-2001 |
ache |
Handle "ASCII" and "US-ASCII" aliases
|
#
74459 |
|
19-Mar-2001 |
ache |
Implement D_MD_ORDER (local extension) to get month/day order from locale
|
#
73360 |
|
02-Mar-2001 |
ache |
Actually implement T_FMT_AMPM
|
#
72706 |
|
19-Feb-2001 |
phantom |
cleanup commentaries
|
#
72568 |
|
17-Feb-2001 |
ache |
CRNCYSTR: determine '.' too
|
#
72561 |
|
17-Feb-2001 |
ache |
Implement CRNCYSTR
|
#
72469 |
|
13-Feb-2001 |
ache |
Return {YES,NO}STR from locale
Approved by: phantom
|
#
72263 |
|
09-Feb-2001 |
ache |
Implement CODESET
|
#
72245 |
|
09-Feb-2001 |
ache |
Back out attempt to implement CRNCYSTR - require additional prefixes according to SUSV2. Add comment explaining it instead.
|
#
72243 |
|
09-Feb-2001 |
ache |
Explicitly mark deprecated entries. Return currency_symbol for CRNCYSTR Return "%r" for T_FMT_AMPM Remove obsoleted comment about c_fmt Return "" for {YES,NO}STR
|
#
72169 |
|
08-Feb-2001 |
phantom |
Add SUSv2 compatible nl_langinfo() function. It still need some work, but this is already usable one.
|