#
39d2c772 |
| 13-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
catch up to __part_load_locale() interface change
|
#
b161fb00 |
| 12-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Make comparsions more clear (per style(9))
|
#
9040b756 |
| 11-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Don't try to convert grouping strings in case if C or POSIX locale was explicitly specified.
Submitted by: ache
|
#
1bd7723d |
| 10-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
. Fix semantics of grouping (LC_MONETARY::mon_grouping, LC_NUMERIC::grouping) values. . Always set __XXX_changed flags then loading numeric & monetary locale categories to allow localeconv() to u
. Fix semantics of grouping (LC_MONETARY::mon_grouping, LC_NUMERIC::grouping) values. . Always set __XXX_changed flags then loading numeric & monetary locale categories to allow localeconv() to use C locale also.
show more ...
|
#
96be743f |
| 10-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
According to Garrett, POSIX widely use -1 to indicate CHAR_MAX, so back out all my "-1" -> "something" fixes and replace -1 with CHAR_MAX directly in strtol() in cnv()
|
#
d2712eaf |
| 10-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Use __XSTRING(CHAR_MAX) instead of "127" and strtol() base 0 to parse it (0x7f)
|
#
1506a668 |
| 10-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Correct myself a bit: situation is broken not for _all_ numeric LC_MONETARY, LC_NUMERIC fields, but only for *grouping fields - other fields are converted to a chars in localeconv(), so final change
Correct myself a bit: situation is broken not for _all_ numeric LC_MONETARY, LC_NUMERIC fields, but only for *grouping fields - other fields are converted to a chars in localeconv(), so final change is:
"-1" -> "127"
127 here is because CHAR_MAX supposed, which is _positive_ (SUSv2 requirement), not negative as 255. It is still a bit of hack. To find real CHAR_MAX will be better to sprintf() it once somewhere in static buffer. *grouping parsing still broken and missing and needs to be implemented.
show more ...
|
#
051f867f |
| 10-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
NOTE: according to SUSV2 and other implementations, numeric elements in LC_MONETARY, LC_NUMERIC are byte-arrays, not ASCII strings!
Fix "C" locale, change "-1" to {CHAR_MAX, '\0'} according to stand
NOTE: according to SUSV2 and other implementations, numeric elements in LC_MONETARY, LC_NUMERIC are byte-arrays, not ASCII strings!
Fix "C" locale, change "-1" to {CHAR_MAX, '\0'} according to standards.
This is only partial fix - locale loading procedure remains broken as before and load too big values for all locales. All numeric strings there should be converted with something like atoi() and placed into bytes. Maybe I do it later, if someone will not fix it faster.
show more ...
|
#
90423ece |
| 08-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Make FreeBSD locale support complete: add support for rest locale categories LC_MONETARY, LC_NUMERIC and LC_MESSAGES. Remove stub functions since they don't need anymore.
Reviewed by: silence on -i1
Make FreeBSD locale support complete: add support for rest locale categories LC_MONETARY, LC_NUMERIC and LC_MESSAGES. Remove stub functions since they don't need anymore.
Reviewed by: silence on -i18n
show more ...
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
683fe113 |
| 26-Jun-2003 |
Alexey Zelkin <phantom@FreeBSD.org> |
. style(9) . fix/add comments (to cover changes done thru last 20 months) . extend monetary testcase to cover int_* values
|
#
3dfdc427 |
| 13-Jun-2003 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Fixes to locale code to properly use indirect pointers in order to prevent memory leaks (fixes bugs earlier purported to be fixed). Submitted by: Ed Moy <emoy@apple.com> Obtained from: Apple Computer
Fixes to locale code to properly use indirect pointers in order to prevent memory leaks (fixes bugs earlier purported to be fixed). Submitted by: Ed Moy <emoy@apple.com> Obtained from: Apple Computer, Inc. MFC after: 2 weeks
show more ...
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
#
8a093dad |
| 12-Oct-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Cosmetic: use LCMONETARY_SIZE_{FULL,MIN} defines like in other places
|
#
f4da1a75 |
| 09-Oct-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Add support for the 6 new C99 struct lconv members dealing with formatting international monetary values: int_p_cs_precedes, int_n_cs_precedes, int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn
Add support for the 6 new C99 struct lconv members dealing with formatting international monetary values: int_p_cs_precedes, int_n_cs_precedes, int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn, int_n_sign_posn. This should not break existing binaries or LC_MONETARY data files.
Reviewed by: ache MFC after: 1 month
show more ...
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
76692b80 |
| 08-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Rewrite locale loading procedures, so any load failure will not affect currently cached data. It allows a number of nice things, like: removing fallback code from single locale loading, remove memor
Rewrite locale loading procedures, so any load failure will not affect currently cached data. It allows a number of nice things, like: removing fallback code from single locale loading, remove memory leak when LC_CTYPE data loaded again and again, efficient cache use, not only for setlocale(locale1); setlocale(locale1), but for setlocale(locale1); setlocale("C"); setlocale(locale1) too (i.e. data file loaded only once).
show more ...
|
#
ecc4c620 |
| 07-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Style fixes in preparation of code rewritting
|
Revision tags: release/4.6.1, release/4.6.0_cvs |
|
#
333fc21e |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Fix the style of the SCM ID's. I believe have made all of libc .c's as consistent as possible.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
831e8f61 |
| 28-Jan-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Do not try to convert to char already converted C monetary locale members. Do this conversion on locale load stage instead.
|
#
74f2b975 |
| 11-Dec-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
* Add my e-mail to copyrights * style(9)'ify
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
54e3bc25 |
| 03-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Change mon_decimal_point from "." to "" (N/A>) as it is specified by POSIX for POSIX locale.
|
#
39d2c772 |
| 13-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
catch up to __part_load_locale() interface change
|
#
b161fb00 |
| 12-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Make comparsions more clear (per style(9))
|
#
9040b756 |
| 11-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Don't try to convert grouping strings in case if C or POSIX locale was explicitly specified.
Submitted by: ache
|
#
1bd7723d |
| 10-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
. Fix semantics of grouping (LC_MONETARY::mon_grouping, LC_NUMERIC::grouping) values. . Always set __XXX_changed flags then loading numeric & monetary locale categories to allow localeconv() to u
. Fix semantics of grouping (LC_MONETARY::mon_grouping, LC_NUMERIC::grouping) values. . Always set __XXX_changed flags then loading numeric & monetary locale categories to allow localeconv() to use C locale also.
show more ...
|
#
96be743f |
| 10-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
According to Garrett, POSIX widely use -1 to indicate CHAR_MAX, so back out all my "-1" -> "something" fixes and replace -1 with CHAR_MAX directly in strtol() in cnv()
|
#
d2712eaf |
| 10-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Use __XSTRING(CHAR_MAX) instead of "127" and strtol() base 0 to parse it (0x7f)
|