summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/table.c
Commit message (Collapse)AuthorAgeFilesLines
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* . Static'ize functions exported via function reference variables only.phantom2005-02-271-10/+0
| | | | | | | | | | | | . Replace inclusion of sys/param.h to sys/cdefs.h and sys/types.h where appropriate. . move _*_init() prototypes to mblocal.h, and remove these prototypes from .c files . use _none_init() in __setrunelocale() instead of duplicating code . move __mb* variables from table.c to none.c allowing us to not to export _none_*() externs, and appropriately remove them from mblocal.h Ok'ed by: tjr
* Remove the obsolete <rune.h> interface.tjr2004-10-171-2/+2
|
* Prefer <runetype.h> to <rune.h>, since the latter is going away soon.tjr2004-07-291-1/+1
|
* Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These aretjr2004-07-211-4/+4
| | | | | | | convenient when the source string isn't null-terminated. Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(), wcsrtombs()) in terms of these new functions.
* Allow encoding modules to override the default implementations oftjr2004-05-131-0/+4
| | | | | mbsrtowcs() and wcsrtombs(). Provide a fast implementation for the trivial "NONE" encoding.
* Move prototypes of various encoding-related functions into a new headertjr2004-05-121-7/+1
| | | | file to avoid extern'ing them all over the place.
* Allow partial multibyte characters to accumulate in conversion statetjr2004-04-071-0/+2
| | | | | objects passed to mbrtowc(), mbsrtowcs(), and mbrlen(), as required by C99.
* Remove support for emulating mbrtowc() and wcrtomb() in terms of thetjr2004-04-041-5/+0
| | | | old rune interface now that it is no longer needed.
* Allow mbrtowc() and wcrtomb() to be implemented directly, instead oftjr2003-11-011-5/+17
| | | | | | | | | | | | | | | | | as wrappers around the deprecated 4.4BSD rune functions. This paves the way for state-dependent encodings, which the rune API does not support. - Add __emulated_sgetrune() and __emulated_sputrune(), which are implementations of sgetrune() and sputrune() in terms of mbrtowc() and wcrtomb(). - Rename the old rune-wrapper mbrtowc() and wcrtomb() functions to __emulated_mbrtowc() and __emulated_wcrtomb(). - Add __mbrtowc and __wcrtomb function pointers, which point to the current locale's conversion functions, or the __emulated versions. - Implement mbrtowc() and wcrtomb() as calls to these function pointers. - Make the "NONE" encoding implement mbrtowc() and wcrtomb() directly. All of this emulation mess will be removed, together with rune support, in FreeBSD 6.
* Remove an unused and incorrect prototype for _none_init().tjr2003-09-051-1/+0
|
* Move _PathLocale declaration to more logical place (setlocale.c)phantom2003-06-251-1/+0
|
* Fix the style of the SCM ID's.obrien2002-03-221-2/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* Remove __P() usage.obrien2002-03-211-3/+3
|
* Megre XPG4 code into libcache2000-06-031-1/+1
|
* There is a problem in that one cannot use ctype.h at the same time as partsobrien2000-02-081-32/+128
| | | | | | | | | | | | | | of the C++ stdlib. Our ctype.h uses symbols of the form _<X> to denote the various character classes. Our ctype.h also extends the usual ctype.h offering by adding the "_T" (special) class. Problem is parts of the STL also use the symbol "_T" as its parameterized type. These two uses are incompatible. Thus change the form of the symbols used in ctype to something that fixes the current problem and is less likely to cause conflicts in the future. Requested by: Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp> Ok'ed by: JKH
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Completely remove #ifdefed out 8859-1 extension, I found it breakache1997-05-141-39/+1
| | | | POSIX, C locale definition, see LC_CTYPE pre-defined table there
* #ifdef out C locale extension to 8859-1 encoding, it now stays to ASCIIache1997-05-131-1/+4
| | | | | | | | | | | | | | | back as designed in *BSD Also it not violates current standards but 1) No other Unixes have this feature 2) It broke Kerberos5 (isprint) and God knows what else (not all vendors will agree to treat FreeBSD as special case for support since (1)) 2) Give false localization sense (programs mimic to be 8859-1 localized) which prevents true localization.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Move _PathLocale to data-only file, so setrunelocale() not pick upache1997-02-091-0/+2
| | | | | | whole setlocale.c module now. Should go into 2.2
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add Idache1996-08-201-3/+5
| | | | Move comment up to place
* Add isblank attr to non-break spaceache1996-08-201-1/+4
| | | | Add comment describing how upper half of table made
* Remove isgraph attr from non-break spaceache1996-08-201-1/+1
|
* Don't include <sys/types.h> when it isn't used.bde1996-04-191-2/+0
| | | | | This commit covers most of the ANSI library functions. Many others only need <sys/types.h> because they use u_xxx.
* Propogate default table to restricted 8859-1 templateache1995-10-191-0/+32
| | | | | (only control/graph/punct/print tags used) Based on: kaleb@x.org and Bruce suggestions
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+160
OpenPOWER on IntegriCloud