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