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