#
1.11 |
|
27-Jul-2022 |
guenther |
Revert _RuneLocale struct changes until mklocale reacharound can be untangled.
Problem noted by tb@
|
#
1.10 |
|
27-Jul-2022 |
guenther |
Since we only do US-ASCII and UTF-8, several parts of the locale data are unused and unnecessary, so delete them: rl_tabs, rl_magic, rl_encoding, and rl_invalid_rune.
ok schwarze@
|
#
1.9 |
|
25-Jul-2022 |
guenther |
Simplify wctype() and wctype_l(): we have one set of classification types used by all (== both) locales; put their implementation in one file and make the mapping static there. The rl_wctype member of _RuneLocale and its initialization go away at the same time.
ok schwarze@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.8 |
|
05-Sep-2016 |
schwarze |
Delete some abstraction that we don't and won't need. Declare functions rather than generating declarations with macros. Just call functions rather than mainting function pointer tables. Purge unused arguments. Simplify mbstate_t casting. Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage in the past due to a missing cast when passing mbstate_t. Apart from that, no functional change.
No libc bump needed; only private functions are removed and change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.7 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.6 |
|
13-Mar-2011 |
stsp |
Sync ctype definitions for the UTF-8 locale to FreeBSD, fixing width of various zero-width characters (e.g. diacritical marks). Also fix runetype mask definitions so that mklocale interprets zero width properly. Diff from Alexander Polakov. Character definition changes checked against Unicode 5.2 by me. ok matthew nicm
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.5 |
|
08-Oct-2007 |
gilles |
attribute packed -> __packed
OK millert
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.4 |
|
08-Aug-2005 |
espie |
activate LC_CTYPE for 8 bits locale. Make sure tolower/toupper use the whole 8 bits.
okay deraadt@ thanks to everyone who tested
|
#
1.3 |
|
01-Jul-2005 |
espie |
Add a few missing functions so that wctype.h/wchar.h are more or less uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans
crank minor.
okay millert@, jmc@.
|
#
1.2 |
|
11-May-2005 |
espie |
major abi changes:
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of.
* Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports).
* use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile.
bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed.
Discussed and matthieu, otto, millert, kettenis, deraadt.
Major libc bump
|
#
1.1 |
|
14-Apr-2005 |
espie |
introduce some wchar functions (from citrus and an itojun@ diff) okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
|
#
1.9 |
|
25-Jul-2022 |
guenther |
Simplify wctype() and wctype_l(): we have one set of classification types used by all (== both) locales; put their implementation in one file and make the mapping static there. The rl_wctype member of _RuneLocale and its initialization go away at the same time.
ok schwarze@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.8 |
|
05-Sep-2016 |
schwarze |
Delete some abstraction that we don't and won't need. Declare functions rather than generating declarations with macros. Just call functions rather than mainting function pointer tables. Purge unused arguments. Simplify mbstate_t casting. Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage in the past due to a missing cast when passing mbstate_t. Apart from that, no functional change.
No libc bump needed; only private functions are removed and change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.7 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.6 |
|
13-Mar-2011 |
stsp |
Sync ctype definitions for the UTF-8 locale to FreeBSD, fixing width of various zero-width characters (e.g. diacritical marks). Also fix runetype mask definitions so that mklocale interprets zero width properly. Diff from Alexander Polakov. Character definition changes checked against Unicode 5.2 by me. ok matthew nicm
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.5 |
|
08-Oct-2007 |
gilles |
attribute packed -> __packed
OK millert
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.4 |
|
08-Aug-2005 |
espie |
activate LC_CTYPE for 8 bits locale. Make sure tolower/toupper use the whole 8 bits.
okay deraadt@ thanks to everyone who tested
|
#
1.3 |
|
01-Jul-2005 |
espie |
Add a few missing functions so that wctype.h/wchar.h are more or less uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans
crank minor.
okay millert@, jmc@.
|
#
1.2 |
|
11-May-2005 |
espie |
major abi changes:
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of.
* Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports).
* use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile.
bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed.
Discussed and matthieu, otto, millert, kettenis, deraadt.
Major libc bump
|
#
1.1 |
|
14-Apr-2005 |
espie |
introduce some wchar functions (from citrus and an itojun@ diff) okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.8 |
|
05-Sep-2016 |
schwarze |
Delete some abstraction that we don't and won't need. Declare functions rather than generating declarations with macros. Just call functions rather than mainting function pointer tables. Purge unused arguments. Simplify mbstate_t casting. Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage in the past due to a missing cast when passing mbstate_t. Apart from that, no functional change.
No libc bump needed; only private functions are removed and change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.7 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.6 |
|
13-Mar-2011 |
stsp |
Sync ctype definitions for the UTF-8 locale to FreeBSD, fixing width of various zero-width characters (e.g. diacritical marks). Also fix runetype mask definitions so that mklocale interprets zero width properly. Diff from Alexander Polakov. Character definition changes checked against Unicode 5.2 by me. ok matthew nicm
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.5 |
|
08-Oct-2007 |
gilles |
attribute packed -> __packed
OK millert
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.4 |
|
08-Aug-2005 |
espie |
activate LC_CTYPE for 8 bits locale. Make sure tolower/toupper use the whole 8 bits.
okay deraadt@ thanks to everyone who tested
|
#
1.3 |
|
01-Jul-2005 |
espie |
Add a few missing functions so that wctype.h/wchar.h are more or less uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans
crank minor.
okay millert@, jmc@.
|
#
1.2 |
|
11-May-2005 |
espie |
major abi changes:
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of.
* Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports).
* use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile.
bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed.
Discussed and matthieu, otto, millert, kettenis, deraadt.
Major libc bump
|
#
1.1 |
|
14-Apr-2005 |
espie |
introduce some wchar functions (from citrus and an itojun@ diff) okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
|