1 |
27 |
unneback |
2003-02-24 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
* cdl/i18n.cdl: Fix doc link.
|
4 |
|
|
|
5 |
|
|
2001-06-28 Jesper Skov
|
6 |
|
|
|
7 |
|
|
* tests/i18nmb.c: fix warning.
|
8 |
|
|
|
9 |
|
|
2001-06-08 Jonathan Larmour
|
10 |
|
|
|
11 |
|
|
* src/mbtowc_jp.cxx (__mbtowc_jp): Fix nasty bug for mblen(NULL, x);
|
12 |
|
|
|
13 |
|
|
Some other cleanups across the board to the below changes before
|
14 |
|
|
checking in.
|
15 |
|
|
|
16 |
|
|
2001-06-08 Jeff Johnston
|
17 |
|
|
|
18 |
|
|
* cdl/i18n.cdl: Added implements CYGINT_ISO_STDLIB_MULTIBYTE.
|
19 |
|
|
(CYGPKG_LIBC_I18N_LOCALES): New component
|
20 |
|
|
encompassing supported locales.
|
21 |
|
|
(CYGFUN_LIBC_I18N_LOCALE_C_JIS): New configuration
|
22 |
|
|
item to support the new "C-JIS" C/Japanese locale. Option defines
|
23 |
|
|
CYGINT_LIBC_I18N_MB_REQUIRED.
|
24 |
|
|
(CYGFUN_LIBC_I18N_LOCALE_C_SJIS): Similar except it is "C-SJIS" locale.
|
25 |
|
|
(CYGFUN_LIBC_I18N_LOCALE_C_EUCJP): Ditto except it is "C-EUCJP" locale.
|
26 |
|
|
(CYGSEM_LIBC_I18N_PER_THREAD_MB): New option that determines
|
27 |
|
|
if multibyte functions will keep state data per thread or not.
|
28 |
|
|
(CYGNUM_LIBC_I18N_MAX_LOCALE_NAME_SIZE): Changed legal_values and
|
29 |
|
|
default_value to be dependent on whether the Japanese locales
|
30 |
|
|
were supported or not.
|
31 |
|
|
(CYGPKG_LIBC_I18N_TESTS): Add multibyte test.
|
32 |
|
|
* src/locale.cxx: Moved Cyg_libc_locale_t to internal.h.
|
33 |
|
|
Changed current ctype locale to be externally accessible variable.
|
34 |
|
|
Added MB_CUR_MAX value into locale as well as pointers to mbtowc
|
35 |
|
|
and wctomb functions.
|
36 |
|
|
[CYGINT_LIBC_I18N_MB_REQUIRED]: Added __mb_cur_max external variable.
|
37 |
|
|
(all_locales)[CYGFUN_LIBC_I18N_LOCALE_C_JIS]: New "C-JIS" locale
|
38 |
|
|
added to list.
|
39 |
|
|
(all_locales)[CYGFUN_LIBC_I18N_LOCALE_C_SJIS]: New "C-SJIS"
|
40 |
|
|
locale.
|
41 |
|
|
(all_locales)[CYGFUN_LIBC_I18N_LOCALE_C_EUCJP]: New "C-EUCJP"
|
42 |
|
|
locale.
|
43 |
|
|
(setlocale)[CYGINT_LIBC_I18N_MB_REQUIRED]: Added setting of __mb_cur_max
|
44 |
|
|
when locale changes ctype category.
|
45 |
|
|
(__get_current_locale_mbtowc_fn): New function.
|
46 |
|
|
* src/mblen.cxx: New file.
|
47 |
|
|
* src/mbtowc.cxx: Ditto.
|
48 |
|
|
* src/mbstowcs.cxx: Ditto.
|
49 |
|
|
* src/wctomb.cxx: Ditto.
|
50 |
|
|
* src/wcstombs.cxx: Ditto.
|
51 |
|
|
* src/mbtowc_jp.cxx: Ditto.
|
52 |
|
|
* src/mbtowc_c.cxx: Ditto.
|
53 |
|
|
* src/internal.h: New internal header file.
|
54 |
|
|
* tests/i18nmb.c: New test case for multibyte functionality.
|
55 |
|
|
|
56 |
|
|
2000-05-02 Jonathan Larmour
|
57 |
|
|
|
58 |
|
|
* New package
|
59 |
|
|
Separated original libc out into separate packages on functional
|
60 |
|
|
boundaries.
|
61 |
|
|
Header files are now managed by isoinfra package
|
62 |
|
|
Plenty of cleanups done, but no major functionality changes
|
63 |
|
|
|
64 |
|
|
//===========================================================================
|
65 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
66 |
|
|
// -------------------------------------------
|
67 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
68 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
69 |
|
|
//
|
70 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
71 |
|
|
// the terms of the GNU General Public License as published by the Free
|
72 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
73 |
|
|
//
|
74 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
75 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
76 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
77 |
|
|
// for more details.
|
78 |
|
|
//
|
79 |
|
|
// You should have received a copy of the GNU General Public License along
|
80 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
81 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
82 |
|
|
//
|
83 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
84 |
|
|
// or inline functions from this file, or you compile this file and link it
|
85 |
|
|
// with other works to produce a work based on this file, this file does not
|
86 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
87 |
|
|
// License. However the source code for this file must still be made available
|
88 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
89 |
|
|
//
|
90 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
91 |
|
|
// this file might be covered by the GNU General Public License.
|
92 |
|
|
//
|
93 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
94 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
95 |
|
|
// -------------------------------------------
|
96 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
97 |
|
|
//===========================================================================
|