#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
251314 |
|
03-Jun-2013 |
ed |
Add libiconv based versions of *c16*() and *c32*().
I initially thought wchar_t was locale independent, but this seems to be only the case on Linux. This means that we cannot depend on the *wc*() routines to implement *c16*() and *c32*(). Instead, use the Citrus libiconv that is part of libc.
I'll see if there is anything I can do to make the existing functions somewhat useful in case the system is built without libiconv in the nearby future. If not, I'll simply remove the broken implementations.
Reviewed by: jilles, gabor
|
#
250883 |
|
21-May-2013 |
ed |
Add <uchar.h>.
The <uchar.h> header, part of C11, adds a small number of utility functions for 16/32-bit "universal" characters, which may or may not be UTF-16/32. As our wchar_t is already ISO 10646, simply add light-weight wrappers around wcrtomb() and mbrtowc().
While there, also add (non-yet-standard) _l functions, similar to the ones we already have for the other locale-dependent functions.
Reviewed by: theraven
|
#
238919 |
|
30-Jul-2012 |
issyl0 |
Add more locale-specific functions to the relevant man pages and Makefile: - lib/libc/locale/islower.3 - lib/libc/locale/ispunct.3 - lib/libc/locale/nl_langinfo.3 - lib/libc/locale/isgraph.3 - lib/libc/locale/isspace.3
Reviewed by: bz Approved by: theraven MFC after: 5 days
|
#
238781 |
|
25-Jul-2012 |
issyl0 |
Add a new man page containing details of new locale-specific functions for wctype.h, iswalnum_l(3). Add it and its functions to the Makefile.
Reviewed by: gavin, jilles Approved by: theraven MFC after: 5 days
|
#
232935 |
|
13-Mar-2012 |
theraven |
First set of xlocale man pages. More to follow...
Approved by: dim (mentor)
|
#
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)
|
#
211774 |
|
24-Aug-2010 |
imp |
Powerpc is special here. powerpc and powerpc64 use different ABIs, so their implementations aren't in the same files. Introduce LIBC_ARCH and use that in preference to MACHINE_CPUARCH. Tested by amd64 and powerpc64 builds (thanks nathanw@)
|
#
211725 |
|
23-Aug-2010 |
imp |
MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
|
#
175553 |
|
21-Jan-2008 |
ache |
Introduce new encoding: "ASCII" It differs from default C/POSIX "NONE" mainly by stricter 8bit check for mb*towc*/wc*tomb* family, returning EILSEQ
|
#
156613 |
|
12-Mar-2006 |
deischen |
Add each directory's symbol map file to SYM_MAPS.
|
#
139922 |
|
09-Jan-2005 |
tjr |
Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64, 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.
|
#
136609 |
|
17-Oct-2004 |
tjr |
Remove the obsolete <rune.h> interface.
|
#
136604 |
|
17-Oct-2004 |
tjr |
Remove support for the obsolete UTF2 encoding.
|
#
132497 |
|
21-Jul-2004 |
tjr |
Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These are convenient when the source string isn't null-terminated.
Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(), wcsrtombs()) in terms of these new functions.
|
#
131787 |
|
08-Jul-2004 |
tjr |
Add a function to iterate over all characters in a particular character 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.
|
#
127608 |
|
30-Mar-2004 |
tjr |
Add basic manual pages for isideogram(), isphonogram(), isrune() and isspecial().
|
#
127590 |
|
29-Mar-2004 |
tjr |
Remove duplicate MLINK.
|
#
123222 |
|
07-Dec-2003 |
tjr |
Split multibyte(3) into separate manual pages for each function. Instead of just deleting it, turn the original page into a general overview of the multibyte character conversion functions, somewhat similar to stdio(3).
|
#
123221 |
|
07-Dec-2003 |
tjr |
Split the documentation for localeconv() off into a separate manual page.
|
#
122727 |
|
15-Nov-2003 |
tjr |
Install the section 5 versions of EUC and UTF2 manual pages instead of the section 4 versions.
|
#
122285 |
|
08-Nov-2003 |
tjr |
Add a fairly simple manual page for the new GB2312 encoding.
|
#
122145 |
|
05-Nov-2003 |
davidxu |
Add gb2312 encoding.
|
#
121845 |
|
01-Nov-2003 |
tjr |
Allow mbrtowc() and wcrtomb() to be implemented directly, instead of 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.
|
#
118722 |
|
10-Aug-2003 |
tjr |
Add a fairly minimal manual page for the GBK encoding.
|
#
118718 |
|
10-Aug-2003 |
tjr |
Add manual pages for the BIG5, GB18030 and MSKanji encodings. These may need to be fleshed out a little, especially big5(5).
|
#
118146 |
|
29-Jul-2003 |
ache |
Add support for gb18030 encoding
PR: 51729 Submitted by: Kang Liu <liukang@bjpu.edu.cn>
|
#
115626 |
|
01-Jun-2003 |
ache |
Add GBK encoding
PR: 51504 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
|
#
112177 |
|
13-Mar-2003 |
tjr |
MFp4: Implementations of the wcstof() and wcstold() functions.
|
#
107052 |
|
18-Nov-2002 |
ru |
libc_r wasn't so tied to libc for 22 months.
|
#
104828 |
|
10-Oct-2002 |
tjr |
Add a UTF-8 encoding method, which will eventually replace the antique "UTF2" method. Although UTF-8 and the old UTF2 encoding are compatible for 16-bit characters, the new UTF-8 implementation is much more strict about rejecting malformed input and also handles the full 31 bit range of characters.
|
#
104406 |
|
03-Oct-2002 |
tjr |
Document towlower() and towupper() in separate manual pages instead of trying to confusingly document both on the same page. The new manual pages are based on tolower(3) and toupper(3) instead of the old towlower(3).
|
#
103793 |
|
22-Sep-2002 |
tjr |
Add the remaining C99 wide character string to integer conversion functions. Restrict qualifiers were added to the existing prototypes in <inttypes.h> and the typedef for wchar_t was removed.
|
#
103339 |
|
15-Sep-2002 |
tjr |
Add wcstod() as a wrapper around strtod(). It does not handle any characters that strtod() does not (alternate digit characters, etc. are not handled).
|
#
103218 |
|
11-Sep-2002 |
tjr |
Add an implementation of wcsftime() (wide character version of strftime()).
|
#
103097 |
|
08-Sep-2002 |
tjr |
Add wcstol() and wcstoul(), based on strtol() and strtoul().
|
#
102697 |
|
31-Aug-2002 |
tjr |
Split ansi.c into a separate source file for each function.
|
#
102167 |
|
20-Aug-2002 |
tjr |
Add a manual page for wcwidth().
|
#
102158 |
|
19-Aug-2002 |
ache |
Remove wcswidth.c from here (and move it to "string")
|
#
102157 |
|
19-Aug-2002 |
ache |
Remove space at the end of continuation line in prev. commit
|
#
102139 |
|
19-Aug-2002 |
ache |
Implement wcswidth()
|
#
102050 |
|
18-Aug-2002 |
tjr |
Implement the ISO C90 Amd.1 restartable wide and multibyte character manipulation functions mbrlen(), mbrtowc(), mbsinit(), mbsrtowcs(), wcrtomb(), wcsrtombs().
|
#
102033 |
|
17-Aug-2002 |
ache |
Move wcwidth() to separate file, it doesn't belong to iswctype.c at all
|
#
101408 |
|
05-Aug-2002 |
tjr |
Build iswctype.c and manual pages for the functions it defines.
|
#
101313 |
|
04-Aug-2002 |
tjr |
Add the ISO C90 Amd. 1 wctrans(3) and towctrans(3) functions.
|
#
101305 |
|
04-Aug-2002 |
bde |
Fixed some style bugs (unsorting of MLINKS, and more than 1 assignment to MAN per section).
|
#
101267 |
|
03-Aug-2002 |
tjr |
Add ISO C90 Amd. 1 btowc(3) and wctob(3) functions.
|
#
101253 |
|
03-Aug-2002 |
tjr |
Add ISO C90 Amd. 1 wctype(3) and iswctype(3) functions.
|
#
94616 |
|
13-Apr-2002 |
des |
Install digittoint.3 (forgotten in rev 1.21)
PR: docs/26451 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
|
#
89255 |
|
11-Jan-2002 |
bde |
Fixed unsorting of MLINKS in previous commit. Fixed unsorting of SRCS in rev.1.18.
|
#
89136 |
|
09-Jan-2002 |
nik |
From the PR:
1. ctype.h defines digittoint(), isnumber() and ishexnmber(), yet they are not documented in any of the manpages.
2. The ctype manpage references a non-existent manpage for digittoint().
3. The isascii() manpage claims it is standards compliant, when it isn't.
4. isblank() claims it is _not_ standards compliant, when it is.
Fix by including the appropriate .Nm entries, and with a new digittoint.3 page.
PR: docs/26451 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
|
#
76248 |
|
03-May-2001 |
phantom |
add nl_langinfo(3)
|
#
74870 |
|
27-Mar-2001 |
ru |
MAN[1-9] -> MAN.
|
#
72321 |
|
10-Feb-2001 |
phantom |
. 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.
|
#
72170 |
|
08-Feb-2001 |
phantom |
add lmonetary.?, lnumeric.?, ldpart.?, lmessages.?, nl_langinfo.c remove lconv.c
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
44259 |
|
25-Feb-1999 |
bde |
Fixed tab lossage in previous commit.
|
#
44236 |
|
23-Feb-1999 |
ache |
remove ctype.c - unused and confusing
|
#
38333 |
|
15-Aug-1998 |
phk |
I have added the support for BIG5 encoding into libc/libxpg4/mklocale. the diff is attached below. This is done on the 3.0 source-tree. I have test this on 2.2-stable before, but I don't have a 3.0 machine right now.
This patch is mainly to make libc support BIG5 encoding, thus add zh_TW.BIG5 locale to 3.0.
Submitted by: Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
|
#
33668 |
|
20-Feb-1998 |
jb |
Change MACHINE references to MACHINE_ARCH.
|
#
30624 |
|
21-Oct-1997 |
bde |
Sorted lists.
|
#
30447 |
|
15-Oct-1997 |
bde |
Removed the subdirectory paths from the definitions of MAN[1-9]. They were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
|
#
29818 |
|
24-Sep-1997 |
julian |
Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp> Basic support for the Shift JIS encoding of japanese. (and one tiny typo fixed in a comment)
|
#
25401 |
|
03-May-1997 |
jb |
Changed all paths to be relative to src/lib instead of src/lib/libc so that all these makefiles can be used to build libc_r too.
Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too.
Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
|
#
17530 |
|
12-Aug-1996 |
ache |
Add internal function __collcmp once instead of adding it statically to many places in the libc
|
#
11700 |
|
23-Oct-1995 |
ache |
Reduce static binaries bloat by splitting out normally unused setinvalidrune()
|
#
11695 |
|
22-Oct-1995 |
ache |
Migrate from XPG4 to XPG3 (libxpg4 will be added soon) Remove big part of my startup_setlocale hack. Add missing manpage links.
|
#
6485 |
|
16-Feb-1995 |
ache |
Add 8-bit collate stuff Submitted by: alex@elvisti.kiev.ua
|
#
3050 |
|
24-Sep-1994 |
ache |
Make not-so-space-eaten locale version: split modules to bring only neccessary functions, eliminate sprintf, make reduced startup_locale version.
|
#
1849 |
|
04-Aug-1994 |
wollman |
First crack at making libc work with the new make macros. It compiles on my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
|
#
1574 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1573, which included commits to RCS files with non-trunk default branches.
|
#
1573 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Lib Sources
|