1 |
786 |
skrzyp |
2009-01-26 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
* tests/ctype.c: Allow to run if CYGPKG_LIBC_STARTUP isn't there.
|
4 |
|
|
* tests/i18nmb.c: Ditto.
|
5 |
|
|
* tests/setlocale.c: Ditto.
|
6 |
|
|
|
7 |
|
|
2007-07-02 Gary Thomas
|
8 |
|
|
|
9 |
|
|
* src/locale.cxx: Add (char *) casts to make GCC/4.2.x happy.
|
10 |
|
|
|
11 |
|
|
2006-08-28 Sergei Gavrikov
|
12 |
|
|
|
13 |
|
|
* src/wcstombs.cxx (wcstombs): unused variable removed.
|
14 |
|
|
|
15 |
|
|
2006-08-11 Jonathan Larmour
|
16 |
|
|
|
17 |
|
|
* src/wcstombs.cxx (wcstombs): Previous change should have
|
18 |
|
|
disregarded 'n'. Now fixed. Thanks to Klaas Gadeyne.
|
19 |
|
|
|
20 |
|
|
2006-08-10 Jonathan Larmour
|
21 |
|
|
|
22 |
|
|
* src/wcstombs.cxx (wcstombs): Follow Single Unix Spec
|
23 |
|
|
and if string is NULL, return chars that would have been
|
24 |
|
|
returned.
|
25 |
|
|
|
26 |
|
|
2005-07-30 Andrew Lunn
|
27 |
|
|
|
28 |
|
|
* tests/i18nmb.c (main): Really silence the warnings.
|
29 |
|
|
|
30 |
|
|
2004-02-17 Jonathan Larmour
|
31 |
|
|
|
32 |
|
|
* cdl/i18n.cdl: Add newlib style ctype implementation.
|
33 |
|
|
CYGSEM_LIBC_I18N_PER_THREAD_MB can be inactive when no kernel.
|
34 |
|
|
* include/newlibctype.h: New file.
|
35 |
|
|
* src/newlibctype.cxx: New file.
|
36 |
|
|
* src/ctype.cxx: Don't define functions if newlib style ctype
|
37 |
|
|
chosen instead.
|
38 |
|
|
|
39 |
|
|
* src/wctomb.cxx (wctomb): Use correct thread data type.
|
40 |
|
|
* src/mbtowc.cxx (mbtowc): Ditto.
|
41 |
|
|
* src/mblen.cxx (mblen): Ditto.
|
42 |
|
|
|
43 |
|
|
2003-02-24 Jonathan Larmour
|
44 |
|
|
|
45 |
|
|
* cdl/i18n.cdl: Fix doc link.
|
46 |
|
|
|
47 |
|
|
2001-06-28 Jesper Skov
|
48 |
|
|
|
49 |
|
|
* tests/i18nmb.c: fix warning.
|
50 |
|
|
|
51 |
|
|
2001-06-08 Jonathan Larmour
|
52 |
|
|
|
53 |
|
|
* src/mbtowc_jp.cxx (__mbtowc_jp): Fix nasty bug for mblen(NULL, x);
|
54 |
|
|
|
55 |
|
|
Some other cleanups across the board to the below changes before
|
56 |
|
|
checking in.
|
57 |
|
|
|
58 |
|
|
2001-06-08 Jeff Johnston
|
59 |
|
|
|
60 |
|
|
* cdl/i18n.cdl: Added implements CYGINT_ISO_STDLIB_MULTIBYTE.
|
61 |
|
|
(CYGPKG_LIBC_I18N_LOCALES): New component
|
62 |
|
|
encompassing supported locales.
|
63 |
|
|
(CYGFUN_LIBC_I18N_LOCALE_C_JIS): New configuration
|
64 |
|
|
item to support the new "C-JIS" C/Japanese locale. Option defines
|
65 |
|
|
CYGINT_LIBC_I18N_MB_REQUIRED.
|
66 |
|
|
(CYGFUN_LIBC_I18N_LOCALE_C_SJIS): Similar except it is "C-SJIS" locale.
|
67 |
|
|
(CYGFUN_LIBC_I18N_LOCALE_C_EUCJP): Ditto except it is "C-EUCJP" locale.
|
68 |
|
|
(CYGSEM_LIBC_I18N_PER_THREAD_MB): New option that determines
|
69 |
|
|
if multibyte functions will keep state data per thread or not.
|
70 |
|
|
(CYGNUM_LIBC_I18N_MAX_LOCALE_NAME_SIZE): Changed legal_values and
|
71 |
|
|
default_value to be dependent on whether the Japanese locales
|
72 |
|
|
were supported or not.
|
73 |
|
|
(CYGPKG_LIBC_I18N_TESTS): Add multibyte test.
|
74 |
|
|
* src/locale.cxx: Moved Cyg_libc_locale_t to internal.h.
|
75 |
|
|
Changed current ctype locale to be externally accessible variable.
|
76 |
|
|
Added MB_CUR_MAX value into locale as well as pointers to mbtowc
|
77 |
|
|
and wctomb functions.
|
78 |
|
|
[CYGINT_LIBC_I18N_MB_REQUIRED]: Added __mb_cur_max external variable.
|
79 |
|
|
(all_locales)[CYGFUN_LIBC_I18N_LOCALE_C_JIS]: New "C-JIS" locale
|
80 |
|
|
added to list.
|
81 |
|
|
(all_locales)[CYGFUN_LIBC_I18N_LOCALE_C_SJIS]: New "C-SJIS"
|
82 |
|
|
locale.
|
83 |
|
|
(all_locales)[CYGFUN_LIBC_I18N_LOCALE_C_EUCJP]: New "C-EUCJP"
|
84 |
|
|
locale.
|
85 |
|
|
(setlocale)[CYGINT_LIBC_I18N_MB_REQUIRED]: Added setting of __mb_cur_max
|
86 |
|
|
when locale changes ctype category.
|
87 |
|
|
(__get_current_locale_mbtowc_fn): New function.
|
88 |
|
|
* src/mblen.cxx: New file.
|
89 |
|
|
* src/mbtowc.cxx: Ditto.
|
90 |
|
|
* src/mbstowcs.cxx: Ditto.
|
91 |
|
|
* src/wctomb.cxx: Ditto.
|
92 |
|
|
* src/wcstombs.cxx: Ditto.
|
93 |
|
|
* src/mbtowc_jp.cxx: Ditto.
|
94 |
|
|
* src/mbtowc_c.cxx: Ditto.
|
95 |
|
|
* src/internal.h: New internal header file.
|
96 |
|
|
* tests/i18nmb.c: New test case for multibyte functionality.
|
97 |
|
|
|
98 |
|
|
2000-05-02 Jonathan Larmour
|
99 |
|
|
|
100 |
|
|
* New package
|
101 |
|
|
Separated original libc out into separate packages on functional
|
102 |
|
|
boundaries.
|
103 |
|
|
Header files are now managed by isoinfra package
|
104 |
|
|
Plenty of cleanups done, but no major functionality changes
|
105 |
|
|
|
106 |
|
|
//===========================================================================
|
107 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
108 |
|
|
// -------------------------------------------
|
109 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
110 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
111 |
|
|
//
|
112 |
|
|
// This program is free software; you can redistribute it and/or modify
|
113 |
|
|
// it under the terms of the GNU General Public License as published by
|
114 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
115 |
|
|
// later version.
|
116 |
|
|
//
|
117 |
|
|
// This program is distributed in the hope that it will be useful, but
|
118 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
119 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
120 |
|
|
// General Public License for more details.
|
121 |
|
|
//
|
122 |
|
|
// You should have received a copy of the GNU General Public License
|
123 |
|
|
// along with this program; if not, write to the
|
124 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
125 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
126 |
|
|
// -------------------------------------------
|
127 |
|
|
// ####GPLCOPYRIGHTEND####
|
128 |
|
|
//===========================================================================
|