summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
Commit message (Collapse)AuthorAgeFilesLines
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-0949-196/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Add missing comma.ru2006-10-131-1/+1
|
* Fix a bug where, for 6-byte sequences, the top 6 bits get compared totrhodes2006-03-301-1/+1
| | | | | 111111 rather than the top 7 bits being compared against 1111110 causing illegal bytes fe and ff being treated the same as legal bytes fc and fd.
* Add __collate_load_error and __collate_range_cmp to the list ofdeischen2006-03-301-0/+2
| | | | | | | | | | | | | FBSDprivate locale symbols. These functions are needed by libcompat. Add _cleanup to the list of stdio FBSDprivate symbols. Some third party applications use this. This will be removed and replaced by fcloseall() once libc version is bumped. Add _res to the list of resolv symbols. Found by: portbuilder runs (thanks Kris!)
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Add symbol maps and initial symbol version definitions to libc.deischen2006-03-131-0/+100
| | | | Reviewed by: davidxu
* -mdoc sweep.ru2005-11-1714-14/+14
|
* Include a couple of headers to ensure consistency between the prototype andstefanf2005-09-123-0/+3
| | | | the function definition.
* Add HISTORY section.tjr2005-07-211-1/+6
|
* Add cross-reference to nextwctype(3).tjr2005-07-211-1/+2
|
* Add COMPATIBILITY and HISTORY sections. Fix typo.tjr2005-07-211-2/+13
|
* Remove confusing "single C char locales" phrase; arguments to thesetjr2005-07-1712-106/+44
| | | | | functions and must now be either an unsigned char or EOF, regardless of locale.
* Remove confusing "single C char locales" phrase; arguments to tolower()tjr2005-07-172-18/+6
| | | | | and toupper() must now be either an unsigned char or EOF, regardless of locale.
* Make <runefile.h> internal to libc.ru2005-05-162-1/+63
| | | | Suggested by: phantom
* Make the format of LC_COLLATE files architecture independent.ru2005-02-272-3/+14
|
* . Static'ize functions exported via function reference variables only.phantom2005-02-2711-117/+112
| | | | | | | | | | | | . 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
* ANSI'fy prototypesphantom2005-02-273-11/+5
|
* Make the format of LC_CTYPE files architecture independent byru2005-02-261-66/+156
| | | | | | | | | | | | | introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.)
* Fix comparisons that test if an unsigned value is < 0.stefanf2005-02-122-4/+4
| | | | Reviewed by: tjr
* Sort sections.ru2005-01-203-18/+18
|
* Markup style.ru2005-01-152-6/+2
|
* Scheduled mdoc(7) sweep.ru2005-01-111-1/+1
|
* Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64,tjr2005-01-093-2/+121
| | | | | | GNU) for determining whether a string is an affirmative or negative response to a question according to the current locale. This is done by matching the response against nl_langinfo(3) items YESEXPR and NOEXPR.
* Remove setrunelocale()ache2004-10-181-23/+0
|
* Remove the obsolete <rune.h> interface.tjr2004-10-1711-846/+11
|
* Remove support for the obsolete UTF2 encoding.tjr2004-10-179-317/+3
|
* Prefer C99's __func__ over GCC's __FUNCTION__.stefanf2004-09-221-3/+3
|
* Re-word warning about the UTF2 encoding, taking care to use the wordtjr2004-08-211-3/+3
| | | | "obsolete" instead of "deprecated".
* Bump document date for previous.tjr2004-08-212-2/+2
|
* Re-word warning about the rune interface, taking care to use the wordtjr2004-08-212-12/+10
| | | | "obsolete" instead of "deprecated".
* Change "deprecated" in link-time warnings about various rune functionstjr2004-08-214-8/+8
| | | | to "obsolete".
* Re-word compatibility section, taking care to use the word "obsolete" totjr2004-08-2114-54/+64
| | | | | describe the 4.4BSD extension of accepting characters (runes) outside of the range of unsigned char.
* /me kicks cvs updatetrhodes2004-08-171-7/+1
| | | | | | | Revert previous commit, tjr already fixed it and I was too stupid to notice this fact. Approved by: re (to avoid failing cvs ci)
* Fix incorrect code in an example. The previous example would producetrhodes2004-08-171-2/+8
| | | | | | | | | | 19 column positions wide in the first line and 20 in the rest of the lines. This fixes the example to provide the correct output. PR: 53454 Noticed by: Kuang-che Wu <kcwu@kcwu.homeip.net> Submitted by: Marc Silver <marcs@draenor.org> Approved by: re (scottl)
* Fix example.tjr2004-08-121-4/+5
|
* Implement wcwidth() as an inline function.tjr2004-08-121-11/+2
|
* Re-word the COMPATIBILITY section, taking care to use the word "deprecated"tjr2004-07-2912-98/+74
| | | | | | to describe the 4.4BSD extension of accepting arguments outside the range of unsigned char. This gives us freedom to remove this extension when we remove the <rune.h> interface in FreeBSD 6.
* Remove unnecessary #include directives.tjr2004-07-293-8/+0
|
* Prefer <runetype.h> to <rune.h>, since the latter is going away soon.tjr2004-07-295-5/+5
|
* Remove useless checks for characters longer than INT_MAX bytes.tjr2004-07-293-12/+0
|
* Add UTF-8-specific implementations of mbsnrtowcs() and wcsnrtombs().tjr2004-07-271-0/+163
| | | | | | These convert plain ASCII characters in-line, making them only slightly slower than the single-byte ("NONE" encoding) version when processing ASCII strings.
* Return the correct value when dst == NULL and conversion has stopped aftertjr2004-07-221-2/+2
| | | | nwc dropping to zero.
* Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These aretjr2004-07-2113-164/+315
| | | | | | | convenient when the source string isn't null-terminated. Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(), wcsrtombs()) in terms of these new functions.
* Add fast paths for conversion of plain ASCII characters.tjr2004-07-091-0/+13
|
* Add a function to iterate over all characters in a particular charactertjr2004-07-083-2/+150
| | | | | | class. This is necessary in order to implement tr(1) efficiently in multibyte locales, since the brute force method of finding all characters in a class is infeasible with a 32-bit (or wider) wchar_t.
* Markup nits.ru2004-07-0513-70/+91
|
* Sort SEE ALSO references (in dictionary order, ignoring case).ru2004-07-042-2/+2
|
* Mechanically kill hard sentence breaks.ru2004-07-023-4/+8
|
* Removed trailing whitespace.ru2004-07-022-2/+2
|
* Markup, grammar, and spelling fixes.ru2004-06-302-23/+23
|
OpenPOWER on IntegriCloud