272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
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
|
250989 |
25-May-2013 |
ed |
Add missing #includes, to keep Clang silent.
|
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
|
137960 |
21-Nov-2004 |
tjr |
Remove regression tests for the obsolete rune interface.
|
137587 |
11-Nov-2004 |
nik |
Switch over to a different, more flexible test output protocol that's understood by Perl's Test::Harness module and prove(1) commands.
Update README to describe the new protocol. The work's broken down into two main sets of changes.
First, update the existing test programs (shell scripts and C programs) to produce output in the ok/not ok format, and to, where possible, also produce a header describing the number of tests that are expected to be run.
Second, provide the .t files that actually run the tests. In some cases these are copies of, or very similar too, scripts that already existed. I've kept the old scripts around so that it's possible to verify that behaviour under this new system (in terms of whether or not a test fails) is identical to the behaviour under the old system.
Add a TODO file.
|
132499 |
21-Jul-2004 |
tjr |
Add test programs for mbsnrtowcs() and wcsnrtombs().
|
132391 |
19-Jul-2004 |
tjr |
Oops, test error behaviour of wctrans(), not wctype().
|
129115 |
11-May-2004 |
tjr |
Test accumulation of partial multibyte characters in conversion state objects.
|
128005 |
07-Apr-2004 |
tjr |
Reset internal conversion state after triggering conversion errors; the state is undefined according to the standards, and our undefined behaviour has changed.
|
121732 |
30-Oct-2003 |
tjr |
Add regression tests for sgetrune() and sputrune().
|
115894 |
06-Jun-2003 |
tjr |
Regression tests for wctype(), iswctype(), wctrans(), towctrans().
|
108069 |
19-Dec-2002 |
tjr |
Test that if the buffer argument (`s') to wcrtomb() is NULL then the value of the supplied wide character is ignored and L'\0' is used instead. Remove incorrect comments about "internal buffer" since wcrtomb() does not have one (wctomb() does).
|
106727 |
10-Nov-2002 |
tjr |
Add test cases for btowc() and wctob() in multibyte locales.
|
106726 |
10-Nov-2002 |
tjr |
Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.
|
106686 |
09-Nov-2002 |
tjr |
Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and wcstombs(). These tests have already found two libc bugs.
|
106495 |
06-Nov-2002 |
tjr |
Add missing #includes of <stdio.h>. Correct a few typos in comments.
|
106080 |
28-Oct-2002 |
tjr |
Simplify by using inference rules properly.
|
105980 |
26-Oct-2002 |
tjr |
Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs().
|
105973 |
26-Oct-2002 |
tjr |
Add regression tests for mbrtowc(3) and wcrtomb(3).
|