1 2011-08-07 Bruno Haible <bruno@clisp.org>
3 * Version 1.14 released.
5 2011-08-07 Bruno Haible <bruno@clisp.org>
7 * configure.ac: Bump version number to 1.14.
9 * include/iconv.h.in (_LIBICONV_VERSION): Likewise.
10 * windows/iconv.rc: Update.
11 * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 7:1:5.
12 * src/iconv.c (print_version): Update copyright year.
14 2011-08-07 Bruno Haible <bruno@clisp.org>
16 Avoid a test failure on Solaris 2.6 and HP-UX 11.00.
17 * tests/test-to-wchar.c (main): Skip the test if conversion to wchar_t
20 2011-08-07 Bruno Haible <bruno@clisp.org>
22 * tests/check-subst: Add comments about OSF/1.
24 2011-08-07 Bruno Haible <bruno@clisp.org>
26 * lib/relocatable.c: Update from gnulib.
28 2011-08-06 Bruno Haible <bruno@clisp.org>
30 Upgrade the GB18030 converter to the version from 2005.
31 * lib/gb18030ext.h (gb18030ext_2uni_pagefe): Change element type to
32 'unsigned int'. Change values for 0xFE51..0xFE53, 0xFE59, 0xFE61,
33 0xFE66, 0xFE67, 0xFE6C, 0xFE6D, 0xFE76, 0xFE7E, 0xFE90, 0xFE91, 0xFEA0.
34 (gb18030ext_mbtowc): Change type of wc to 'unsigned int'. Change values
35 for 0xA6D9..0xA6DF, 0xA6EC..0xA6ED, 0xA6F3, 0xA8BC.
36 (gb18030ext_page9f, gb18030ext_pagefe): New constant arrays.
37 (gb18030ext_wctomb): Change values for U+1E3F, U+9FB4..U+9FBB,
38 U+FE10..U+FE19, U+20087, U+20089, U+200CC, U+215D7, U+2298F, U+241FE.
39 * tests/GB18030-BMP.TXT: Change values for 0xA6D9..0xA6DF,
40 0xA6EC..0xA6ED, 0xA6F3, 0xA8BC, 0xFE51..0xFE53, 0xFE59, 0xFE61, 0xFE66,
41 0xFE67, 0xFE6C, 0xFE6D, 0xFE76, 0xFE7E, 0xFE90, 0xFE91, 0xFEA0, to map
42 to now-assigned Unicode codepoints.
43 * tests/GB18030.IRREVERSIBLE.TXT: New file.
45 2011-08-06 Bruno Haible <bruno@clisp.org>
47 Fix conversion bug in CP1258 converter.
48 * lib/vietcomb.h (viet_comp_table_data): Remove entry for
49 U+00A5 U+0301. Fix entry for U+00A8 U+0301.
50 (viet_decomp_table): Fix entry for U+0385.
51 * tests/CP1258.IRREVERSIBLE.TXT: Update.
52 Reported by Gertjan Halkes <gertjan@ghalkes.nl>.
54 2011-07-03 Bruno Haible <bruno@clisp.org>
56 Improve interactive behaviour of iconv program.
57 * src/iconv.c (convert): Flush the output before starting a possibly
58 blocking safe_read call.
60 2011-07-03 Bruno Haible <bruno@clisp.org>
62 Fix interactive behaviour of iconv program.
63 * Makefile.devel (GNULIB_MODULES): Add safe-read.
64 * src/iconv.c: Include safe-read.h.
65 (convert): Take the infile as a file descriptor, not as a FILE stream.
66 Use safe_read() instead of fread().
68 Reported by Xavier Pucel <xpucel@hotmail.com>.
70 2011-05-02 Bruno Haible <bruno@clisp.org>
72 Update after gnulib changed.
73 * autogen.sh (GNULIB_MODULES): Remove exit, add stdlib.
75 2011-06-02 Bruno Haible <bruno@clisp.org>
77 Update after gnulib changed.
78 * gnulib-local/m4/alloca.m4 (gl_FUNC_ALLOCA): Update.
80 2011-06-04 Bruno Haible <bruno@clisp.org>
82 Work around <wchar.h> bug on OSF/1 5.1.
83 * lib/loop_wchar.h: Before including <wchar.h>, include <stdio.h> and
86 2011-03-27 KO Myung-Hun <komh@chollian.net>
88 Fix installation on OS/2.
89 * src/Makefile.in (all, iconv_no_i18n): Add $(EXEEXT) suffix to
90 iconv_no_i18n. This is the recommended way to use libtool, see
91 <http://lists.gnu.org/archive/html/bug-libtool/2009-04/msg00013.html>.
93 2011-03-31 Bruno Haible <bruno@clisp.org>
95 gentranslit: Fix buffer overrun.
96 * lib/gentranslit.c (main): Allocate more room for the suffix strings
97 of the translit pages.
98 Reported by Ben Noordhuis <info@bnoordhuis.nl>.
100 2011-02-28 Bruno Haible <bruno@clisp.org>
102 * lib/relocatable.h: Update from gnulib.
103 * lib/relocatable.c: Likewise.
105 2011-01-29 Corinna Vinschen <corinna-cygwin@cygwin.com>
106 Bruno Haible <bruno@clisp.org>
108 Simplify "wchar_t" handling on Cygwin 1.7.x.
109 * lib/iconv.c (iconv_canonicalize): On Cygwin >= 1.7, map
110 ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
111 * lib/iconv_open1.h: Likewise.
112 Rationale: <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
114 2011-01-29 Bruno Haible <bruno@clisp.org>
116 Adjust the meaning of "wchar_t" on native Windows systems.
117 * lib/iconv.c (iconv_canonicalize): On native Windows, map
118 ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
119 * lib/iconv_open1.h: Likewise.
120 Reported by Corinna Vinschen <corinna-cygwin@cygwin.com>
121 in <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
123 2010-11-23 Bruno Haible <bruno@clisp.org>
125 Implement newer release of BIG5-HKSCS.
126 * tools/Makefile (ALL): Add hkscs2008.h.
127 (hkscs2008.h): New rule.
128 * tools/cjk_tab_to_h.c (main): Recognize hkscs2008.
129 * lib/encodings.def: Add BIG5-HKSCS:2008. Change BIG5-HKSCS alias to be
130 equivalent to BIG5-HKSCS:2008.
131 * lib/hkscs2008.h: New file, autogenerated.
132 * lib/big5hkscs2008.h: New file, based on lib/big5hkscs2004.h.
133 * lib/converters.h: Include the new file.
134 * README, man/iconv_open.3: Add BIG5-HKSCS:2004.
135 * tests/BIG5-HKSCS-2008.TXT: New file, based on
136 tests/BIG5-HKSCS-2004.TXT.
137 * tests/BIG5-HKSCS-2008.IRREVERSIBLE.TXT: New file, copied from
138 tests/BIG5-HKSCS-2004.IRREVERSIBLE.TXT
139 * tests/BIG5-HKSCS-2008-snippet: New file, based on
140 tests/BIG5-HKSCS-2004-snippet.
141 * tests/BIG5-HKSCS-2008-snippet.UTF-8: New file, based on
142 tests/BIG5-HKSCS-2004-snippet.UTF-8.
143 * tests/Makefile.in (check): Check also BIG5-HKSCS:2008.
144 Reported by oCameLo <camel322@gmail.com>.
146 2010-11-23 Bruno Haible <bruno@clisp.org>
148 Make cjk_tab_to_h 64-bit clean.
149 * tools/cjk_tab_to_h.c (do_jisx0213): Add a cast from size_t to int.
150 (output_title): Update copyright year.
152 2010-09-23 Bruno Haible <bruno@clisp.org>
154 Switch to autoconf 2.68.
155 * autogen.sh: Update comment.
156 * configure.ac: Fix AC_COMPILE_IFELSE invocation.
157 * Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.68.
158 * preload/Makefile.devel (AUTOCONF): Likewise.
160 2010-09-23 Bruno Haible <bruno@clisp.org>
162 * m4/libtool.m4: Update from libtool-2.4, with modifications:
163 2008-04-06 Bruno Haible <bruno@clisp.org>
164 * m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
165 CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
167 * m4/ltversion.m4: Update from libtool-2.4.
168 * build-aux/ltmain.sh: Likewise.
170 2010-09-23 Bruno Haible <bruno@clisp.org>
172 Simplify use of gnulib-tool now that gnulib-tool --import works better.
173 * autogen.sh: Don't remove gnulib-cache.m4 before running gnulib-tool.
174 * Makefile.devel (srclib/Makefile.gnulib): Depend on 'force'.
176 2010-07-31 Bruno Haible <bruno@clisp.org>
178 * Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.67.
179 * preload/Makefile.devel (AUTOCONF): Likewise.
181 2010-07-03 Bruno Haible <bruno@clisp.org>
183 * Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.66.
184 * preload/Makefile.devel (AUTOCONF): Likewise.
186 2010-06-04 Bruno Haible <bruno@clisp.org>
188 Addendum to 2009-10-18 commit.
189 * m4/fcntl-o.m4: New file, from gnulib.
190 * configure.ac: Invoke gl_FCNTL_O_FLAGS.
191 * lib/config.h.in (HAVE_WORKING_O_NOFOLLOW): New macro.
193 2010-06-04 Bruno Haible <bruno@clisp.org>
195 * m4/libtool.m4: Update from libtool-2.2.8, with modifications:
196 2008-04-06 Bruno Haible <bruno@clisp.org>
197 * m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
198 CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
200 * m4/ltoptions.m4: Update from libtool-2.2.8.
201 * m4/ltversion.m4: Likewise.
202 * m4/lt~obsolete.m4: Likewise.
203 * build-aux/ltmain.sh: Likewise.
205 2010-04-06 Bruno Haible <bruno@clisp.org>
207 Avoid a compilation error of gnulib's test-iconv-h-c++.cc on mingw.
208 * include/iconv.h.in: Restrict the extern "C" { ... } scope so that it
209 doesn't contains #include directives.
211 2010-03-30 Bruno Haible <bruno@clisp.org>
213 * README.woe32: Update for Cygwin 1.7.x.
215 2009-12-26 Bruno Haible <bruno@clisp.org>
217 * windows/libiconv.rc: Update.
218 * windows/iconv.rc: Update.
220 2009-12-11 Bruno Haible <bruno@clisp.org>
222 * include/iconv.h.in: Untabify.
223 * gnulib-local/lib/xalloc.h: Untabify.
224 * woe32dll/export.h: Untabify.
225 * tests/uniq-u.c: Untabify.
227 2009-12-11 Bruno Haible <bruno@clisp.org>
229 * srclib/Makefile.am (MOSTLYCLEANDIRS): New macro.
231 2009-12-11 Bruno Haible <bruno@clisp.org>
233 * Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.65.
234 * preload/Makefile.devel (AUTOCONF): Likewise.
236 2009-11-22 Bruno Haible <bruno@clisp.org>
238 * tests/check-subst: Add reference to the Solaris printf bug.
239 Reported by Dagobert Michelsen <dagobert@familie-michelsen.de>.
241 2009-09-01 Bruno Haible <bruno@clisp.org>
243 * README.woe32: Put the -mno-cygwin option into CC and CXX.
244 Recommended by Paolo Bonzini and Eric Blake.
246 2009-08-15 Bruno Haible <bruno@clisp.org>
248 * Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.64.
249 * preload/Makefile.devel (AUTOCONF): Likewise.
251 2009-08-15 Bruno Haible <bruno@clisp.org>
253 Use .git/info/exclude, not .gitignore, for imported or generated files.
254 * Makefile.devel (srclib/Makefile.gnulib): Pass option --no-vc-files to
257 2009-07-07 Bruno Haible <bruno@clisp.org>
260 * lib/loop_wchar.h (wchar_to_loop_convert): Handle the case of
261 incomplete input correctly.
262 * tests/test-to-wchar.c: New file.
263 * tests/Makefile.in (tests-to-wchar, tests-to-wchar.o): New rules.
264 (check): Depend on and run tests-to-wchar.
265 (clean): Add tests-to-wchar.
266 Reported by Tristan Gingold <gingold@adacore.com>.
268 2009-06-30 Bruno Haible <bruno@clisp.org>
270 * Version 1.13.1 released.
272 2009-06-30 Bruno Haible <bruno@clisp.org>
274 * configure.ac: Bump version number to 1.13.1.
277 2009-06-04 Bruno Haible <bruno@clisp.org>
279 * preload/Makefile.devel (AUTOCONF): Switch to version 2.63.
280 (ACLOCAL): Switch to version 1.11.
282 2009-05-19 Bruno Haible <bruno@clisp.org>
284 * Makefile.devel (AUTOMAKE, ACLOCAL): Switch to version 1.11.
285 * autogen.sh: Update comments.
287 2009-04-24 Bruno Haible <bruno@clisp.org>
289 Fix a compilation error on HP-UX 11.00, introduced on 2008-09-16.
290 * src/iconv_open2.h: Don't initialize nonexistent field if
291 !(HAVE_WCRTOMB || HAVE_MBRTOWC).
292 Patch by Joel Brobecker <brobecker@adacore.com>.
294 2009-04-15 Bruno Haible <bruno@clisp.org>
296 * src/Makefile.in (install, uninstall): Append the $(EXEEXT) suffix
297 explicitly. Needed on Cygwin.
299 2009-04-11 Bruno Haible <bruno@clisp.org>
301 * configure.ac: Move the statements for WOE32 and WINDRES.
303 2009-03-26 Bruno Haible <bruno@clisp.org>
305 * Version 1.13 released.
307 2009-03-26 Bruno Haible <bruno@clisp.org>
309 * src/iconv.c: Update copyright header to GPLv3+.
310 (print_version): Update license info.
312 2009-03-26 Bruno Haible <bruno@clisp.org>
314 * src/iconv.c (print_version): Bump year.
316 2009-03-25 Bruno Haible <bruno@clisp.org>
318 * build-aux/config.guess: Update to GNU version 2009-02-03.
319 * build-aux/config.sub: Likewise.
321 2009-03-25 Bruno Haible <bruno@clisp.org>
323 * configure.ac: Bump version number to 1.13.
325 * include/iconv.h.in (_LIBICONV_VERSION): Likewise.
326 * windows/iconv.rc: Update.
327 * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 7:0:5.
329 2009-03-25 Bruno Haible <bruno@clisp.org>
331 Fix the handling of Windows resources in shared libraries.
332 * configure.ac: Invoke LT_LANG for 'Windows Resource'.
333 * lib/Makefile.in (RC): New variable.
334 (WINDRES): Remove variable.
335 (OBJECTS_RES_yes): Add .lo suffix.
336 (libiconv.res.lo): Renamed from libiconv.res. Use libtool --tag=RC.
338 Based on a patch by Roumen Petrov <bugtrack@roumenpetrov.info>.
340 2009-03-14 Bruno Haible <bruno@clisp.org>
342 * autogen.sh: Checkout gnulib using 'git' instead of 'cvs'.
344 2009-01-24 Bruno Haible <bruno@clisp.org>
346 * tools/Makefile (ALL): Add cp1131.h.
347 (cp1131.h): New rule.
348 * lib/encodings.def: Add CP1131.
349 * lib/cp1131.h: New file.
350 * lib/converters.h: Include it.
351 * README, man/iconv_open.3: Add CP1131.
352 * NOTES: Mention CP1131.
353 * tests/CP1131.TXT: New file.
354 * tests/Makefile.in (check): Also test CP1131.
356 2009-01-17 Bruno Haible <bruno@clisp.org>
358 Add support for "make install-strip".
359 * configure.ac: Search for 'strip'. Invoke AM_PROG_INSTALL_STRIP.
360 * Makefile.in (install-strip): New rule.
361 * src/Makefile.in (STRIP, INSTALL_STRIP_PROGRAM, install_sh): New
363 (install-strip): New rule.
364 * lib/Makefile.in (install-strip): New target.
365 * preload/Makefile.in (install-strip): Likewise.
366 * man/Makefile.in (install-strip): Likewise.
367 Reported by Alon Bar-Lev <alon.barlev@gmail.com>.
369 2009-01-17 Bruno Haible <bruno@clisp.org>
371 Update after gnulib changed.
372 * src/Makefile.in (RELOCATABLE_STRIP): New variable.
374 2009-01-17 Bruno Haible <bruno@clisp.org>
376 Make --enable-relocatable work on glibc systems.
377 * src/Makefile.in (host): New variable.
379 2009-01-17 Bruno Haible <bruno@clisp.org>
381 * lib/genflags.c: Include <string.h>.
383 2009-01-14 Bruno Haible <bruno@clisp.org>
385 * configure.ac: More consistent m4 quoting.
386 * preload/configure.ac: Likewise.
388 2008-09-28 Bruno Haible <bruno@clisp.org>
390 * build-aux/ltmain.sh (func_emit_cwrapperexe_src): On mingw,
391 preprocess the argument vector through prepare_spawn.
393 2008-09-27 Bruno Haible <bruno@clisp.org>
395 * build-aux/config.guess: Update to GNU version 2008-09-08.
396 * build-aux/config.sub: Likewise.
398 2008-09-26 Bruno Haible <bruno@clisp.org>
400 * tests/test-shiftseq.c (main1, main2): Use ICONV_CONST.
402 2008-09-26 Bruno Haible <bruno@clisp.org>
404 * Makefile.devel (GNULIB_MODULES): Add sigpipe, stdio.
405 * tests/Makefile.in (check, table-from, table-to, test-shiftseq): Link
406 all programs against libicrt.a. Needed for the stdio function
407 replacements on mingw.
409 2008-09-21 Tadamasa Teranishi <yw3t-trns@asahi-net.or.jp>
411 * lib/encodings_extra.def: Add aliases for EUC-JISX0213, SHIFT_JISX0213,
412 ISO-2022-JP-3, found on <http://x0213.org/codetable/index.en.html>.
414 2008-09-20 Bruno Haible <bruno@clisp.org>
416 * man/iconv_open_into.3: New file.
418 2008-09-16 Bruno Haible <bruno@clisp.org>
420 New function iconv_open_into.
421 * include/iconv.h.in: Include <wchar.h> and its prerequisites.
422 (iconv_allocation_t): New type.
423 (iconv_open_into): New declaration.
424 * lib/iconv_open1.h: New file, extracted from lib/iconv.c.
425 * lib/iconv_open2.h: New file, extracted from lib/iconv.c.
426 * lib/iconv.c (iconv_open): Include iconv_open1.h and iconv_open2.h.
427 Verify size of iconv_allocation_t.
428 (iconv_open_into): New function.
429 * lib/loop_wchar.h (struct wchar_conv_struct): Don't define a state
430 field if !(HAVE_WCRTOMB || HAVE_MBRTOWC).
431 * configure.ac: Set and substitute USE_MBSTATE_T, BROKEN_WCHAR_H.
432 Reported by Roman Rybalko <romanr@romanr.info>.
434 2008-09-16 Bruno Haible <bruno@clisp.org>
436 * Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.63.
438 2008-09-16 Bruno Haible <bruno@clisp.org>
440 * include/iconv.h.in: Use Unicode single-quotes in comments.
442 2008-09-14 Bruno Haible <bruno@clisp.org>
444 * Makefile.devel (GNULIB_MODULES): Add strerror.
446 2008-09-07 Bruno Haible <bruno@clisp.org>
448 Make behaviour when encountering invalid input after a shift sequence
450 * lib/converters.h (RET_SHIFT_ILSEQ): New macro.
451 (RET_ILSEQ): Define in terms of RET_SHIFT_ILSEQ.
452 (RET_TOOFEW): Change to avoid collisions with RET_SHIFT_ILSEQ.
453 (DECODE_SHIFT_ILSEQ, DECODE_TOOFEW): New macros.
454 * lib/loop_unicode.h (unicode_loop_convert): Take into account the
455 shift count contained in the negative return values.
456 * lib/hz.h (hz_mbtowc): When encountering invalid input, store the
457 modified state and return RET_SHIFT_ILSEQ.
458 * lib/iso2022_cn.h (iso2022_cn_mbtowc): Likewise.
459 * lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Likewise.
460 * lib/iso2022_jp.h (iso2022_jp_mbtowc): Likewise.
461 * lib/iso2022_jp1.h (iso2022_jp1_mbtowc): Likewise.
462 * lib/iso2022_jp2.h (iso2022_jp2_mbtowc): Likewise.
463 * lib/iso2022_jp3.h (iso2022_jp3_mbtowc): Likewise.
464 * lib/iso2022_kr.h (iso2022_kr_mbtowc): Likewise.
465 * lib/ucs2.h (ucs2_mbtowc): Likewise.
466 * lib/ucs4.h (ucs4_mbtowc): Likewise.
467 * lib/utf16.h (utf16_mbtowc): Likewise.
468 * lib/utf32.h (utf32_mbtowc): Likewise.
469 * lib/utf7.h (utf7_mbtowc): Likewise.
470 * lib/utf16be.h (utf16be_mbtowcutf16be_mbtowc): When encountering
471 invalid input, return RET_SHIFT_ILSEQ.
472 * lib/utf16le.h (utf16le_mbtowc): Likewise.
473 * tests/test-shiftseq.c: New file.
474 * tests/Makefile.in (check): Run test-shiftseq.
475 (test-shiftseq, test-shiftseq.@OBJEXT@): New rules.
476 (clean): Remove test-shiftseq executable.
477 Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
478 at <http://savannah.gnu.org/bugs/?24216>.
480 2008-09-07 Bruno Haible <bruno@clisp.org>
482 * man/iconv.3: Clarify the processing of shift-sequences.
484 2008-09-07 Bruno Haible <bruno@clisp.org>
486 * m4/libtool.m4: Update from libtool-2.2.6, with modifications:
487 2008-04-06 Bruno Haible <bruno@clisp.org>
488 * m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
489 CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
491 * m4/ltoptions.m4: Update from libtool-2.2.6.
492 * m4/ltsugar.m4: Likewise.
493 * m4/ltversion.m4: Likewise.
494 * build-aux/ltmain.sh: Likewise.
496 2008-09-06 Bruno Haible <bruno@clisp.org>
498 * lib/gbk.h (gbk_wctomb): Fix an out-of-bounds write.
499 Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
500 at <http://savannah.gnu.org/bugs/?24214>.
502 2008-06-30 Bruno Haible <bruno@clisp.org>
504 Fix sed expressions to work with the old sed-3.02 on MSYS.
505 * windows/windres-options (sed_extract_major, sed_extract_minor,
506 sed_extract_subminor): Put a semicolon before the closing brace. Use
507 an i\ command instead of an a\ command.
508 Reported by Sunil Negi <sunil.negi@morningstar.com>
509 in <http://article.gmane.org/gmane.comp.gnu.mingw.msys/4410>
510 via Keith Marshall <keithmarshall@users.sourceforge.net>.
512 2008-05-22 Bruno Haible <bruno@clisp.org>
514 * README.woe32: Update with info from GNU gettext's README.woe32.
516 2008-05-18 Bruno Haible <bruno@clisp.org>
518 * m4/libtool.m4: Update from libtool-2.2.4, with modifications:
519 2008-04-06 Bruno Haible <bruno@clisp.org>
520 * m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
521 CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
523 * m4/ltoptions.m4: Update from libtool-2.2.4.
524 * m4/ltversion.m4: Likewise.
525 * m4/lt~obsolete.m4: Likewise.
526 * build-aux/ltmain.sh: Likewise.
528 2008-04-14 Bruno Haible <bruno@clisp.org>
530 * tests/Makefile.in (check): Remove *.dSYM directories left over by gcc
533 2008-04-14 Bruno Haible <bruno@clisp.org>
535 * preload/configure.ac: Invoke AC_USE_SYSTEM_EXTENSIONS instead of
537 * Makefile.devel (AUTOCONF, AUTOHEADER): Require autoconf-2.62.
538 * preload/Makefile.devel (AUTOCONF): Likewise.
539 * autogen.sh: Likewise.
541 2008-04-06 Bruno Haible <bruno@clisp.org>
543 * m4/libtool.m4: Update from libtool-2.2.2, with modifications:
544 2008-04-06 Bruno Haible <bruno@clisp.org>
545 * m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
546 CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
548 * m4/ltoptions.m4: New file, from libtool-2.2.2.
549 * m4/ltsugar.m4: New file, from libtool-2.2.2.
550 * m4/ltversion.m4: New file, from libtool-2.2.2.
551 * m4/lt~obsolete.m4: New file, from libtool-2.2.2.
552 * build-aux/ltmain.sh: New file, from libtool-2.2.2.
553 * configure.ac: Use LT_INIT instead of AC_PROG_LIBTOOL.
554 * preload/configure.ac: Likewise.
556 2008-04-06 Bruno Haible <bruno@clisp.org>
558 More portable way of building the preloadable library.
559 * preload/Makefile.devel: New file.
560 * preload/Makefile.in: New file, based on lib/Makefile.in.
561 * preload/configure.ac: New file, based on configure.ac.
562 * Makefile.devel (all): Recurse into preload directory.
563 * Makefile.in (all, install, installdirs, uninstall, check,
564 mostlyclean, clean, distclean, maintainer-clean): Recurse into preload
566 * configure.ac: Likewise.
567 (OS, GCC, PLUGLIB): Remove definitions.
568 * lib/Makefile.in (all): Don't depend on PLUGLIB.
569 (preloadable_libiconv.so, preloadable_libiconv_linux.so,
570 preloadable_libiconv_solaris.so, preloadable_libiconv_osf.so): Remove
572 (install, uninstall, clean): Don't handle the preloadable library here.
574 2008-04-06 Bruno Haible <bruno@clisp.org>
577 * lib/loop_unicode.h (unicode_loop_convert): Add a cast.
579 2008-04-06 Bruno Haible <bruno@clisp.org>
581 * src/iconv.c (print_version): Bump year.
583 2008-04-06 Bruno Haible <bruno@clisp.org>
585 Support all possible nl_langinfo(CODESET) results on the respective
586 platforms, according to libcharset/lib/config.charset.
587 * lib/encodings.def: Add DEFALIAS statements, conditional on
588 USE_AIX_ALIASES, USE_HPUX_ALIASES, USE_OSF1_ALIASES,
590 * lib/encodings_aix.def: Add DEFALIAS statements, conditional on
592 * lib/encodings_osf1.def: Add DEFALIAS statements, conditional on
594 * lib/genaliases.c (emit_alias): New function, extracted from
596 (emit_encoding): Use it.
597 (main): Define DEFALIAS.
598 * lib/genaliases2.c (counter): New variable, extracted from
600 (emit_alias): New function, extracted from emit_encoding.
601 (emit_encoding): Use it.
602 (main): Define DEFALIAS.
603 * lib/genflags.c (main): Define DEFALIAS.
604 * lib/iconv.c (all_encodings): Define DEFALIAS.
605 Include the system dependent variant of aliases.h on the appropriate
607 (all_canonical): Include the system dependent variant of canonical.h,
608 canonical_aix.h, canonical_osf1.h, canonical_local.h on the appropriate
610 * lib/aliases2.h: Include the system dependent variant of
611 aliases_aix.h or aliases_osf1.h on the appropriate systems.
612 * lib/Makefile.in (iconv.lo): Depend on aliases_sysaix.h,
613 aliases_syshpux.h, aliases_sysosf1.h, aliases_syssolaris.h,
614 aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h, and also
615 aliases_extra.h, translit.h.
616 * Makefile.devel (all): Depend on lib/aliases_sysaix.h,
617 lib/aliases_syshpux.h, lib/aliases_sysosf1.h, lib/aliases_syssolaris.h,
618 lib/aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h.
619 (lib/aliases_sysaix.h, lib/aliases_syshpux.h, lib/aliases_sysosf1.h,
620 lib/aliases_syssolaris.h): New rules.
621 (lib/aliases_aix_sysaix.h): New rule.
622 (lib/aliases_osf1_sysosf1.h): New rule.
623 * autogen.sh: Also remove lib/aliases_sysaix.h, lib/aliases_syshpux.h,
624 lib/aliases_sysosf1.h, lib/aliases_syssolaris.h,
625 lib/aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h.
627 2008-04-06 Bruno Haible <bruno@clisp.org>
629 * build-aux/config.libpath: Remove file, brought in by gnulib-tool.
630 * build-aux/config.rpath: Remove file, brought in by gnulib-tool.
632 2007-11-11 Bruno Haible <bruno@clisp.org>
634 * Version 1.12 released.
636 2007-11-11 Bruno Haible <bruno@clisp.org>
638 * Makefile.devel (AUTOCONF, AUTOHEADER): Require version 2.61.
639 (AUTOMAKE, ACLOCAL): Require version 1.10.
640 (srclib/Makefile.in): Avoid error from automake.
642 2007-10-26 Bruno Haible <bruno@clisp.org>
644 * m4/libtool.m4: Update, based on libtool-1.5.24.
645 * build-aux/ltmain.sh: Update, based on libtool-1.5.24.
647 2007-10-23 Bruno Haible <bruno@clisp.org>
649 * build-aux/config.guess: Update to GNU version 2007-07-22.
650 * build-aux/config.sub: Likewise.
652 2007-10-23 Bruno Haible <bruno@clisp.org>
654 * configure.ac: Bump version number to 1.12.
657 2007-10-23 Bruno Haible <bruno@clisp.org>
659 Move relocatability infrastructure to gnulib.
660 * gnulib-local/lib/relocatable.h: Remove file.
661 * gnulib-local/lib/relocatable.c: Remove file.
663 2007-10-23 Bruno Haible <bruno@clisp.org>
665 Update from GNU gettext.
666 2006-11-26 Bruno Haible <bruno@clisp.org>
667 * gnulib-local/lib/xalloc.h (xmemdup): Add a typesafe C++
669 Based on a patch from Paul Eggert in gnulib.
670 2006-11-06 Bruno Haible <bruno@clisp.org>
671 * gnulib-local/lib/xalloc.h (xcharalloc): New macro.
672 (xmemdup): New declaration.
673 * gnulib-local/lib/xstrdup.c (xmemdup): New function.
674 2006-11-03 Bruno Haible <bruno@clisp.org>
675 * gnulib-local/lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC,
676 XCALLOC): New macros.
677 (xnboundedmalloc): New inline function.
678 * gnulib-local/lib/xstrdup.c (xstrdup): Use XNMALLOC instead of
680 2006-11-02 Bruno Haible <bruno@clisp.org>
681 * lib/xalloc.h (xnmalloc): New declaration. From gnulib
683 * lib/xmalloc.c (fixup_null_alloc): Write NULL, not 0.
684 (xnmalloc): New function.
686 2007-10-23 Bruno Haible <bruno@clisp.org>
688 Moved module xreadlink to gnulib.
689 * gnulib-local/modules/xreadlink: Remove file.
690 * gnulib-local/lib/xreadlink.h: Remove file.
691 * gnulib-local/lib/xreadlink.c: Remove file.
692 * gnulib-local/m4/xreadlink.m4: Remove file.
694 2007-10-07 Bruno Haible <bruno@clisp.org>
696 Update program license to GPLv3.
697 * COPYING: Replace with GPL 3.
698 * windows/iconv.rc (Comments): Update.
700 2007-10-07 Bruno Haible <bruno@clisp.org>
702 * gnulib-local/lib/alloca.in.h: Renamed from gnulib-local/lib/alloca_.h.
704 2007-03-30 Bruno Haible <bruno@clisp.org>
706 * gnulib-local/lib/alloca_.h: Change prefix of double-inclusion guard
709 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
711 * gnulib-local/lib/alloca_.h (alloca) [defined alloca]: Don't define or
714 2007-09-29 Bruno Haible <bruno@clisp.org>
716 * autogen.sh (GNULIB_CVS_ROOT): Change to read-only git mirror
717 valid since 2007-09-19.
719 2007-07-07 Bruno Haible <bruno@clisp.org>
721 * autogen.sh: Add an option --skip-gnulib.
723 2007-07-07 Bruno Haible <bruno@clisp.org>
725 * gnulib-local/lib/uniwidth.h: Remove file, moved to gnulib.
726 * gnulib-local/lib/width.c: Remove file, moved to gnulib.
727 * gnulib-local/lib/cjk.h: Remove file, moved to gnulib.
728 * gnulib-local/modules/uniwidth: Remove file.
729 * Makefile.devel (GNULIB_MODULES): Remove uniwidth, add uniwidth/width.
730 * src/iconv.c: Include uniwidth/cjk.h instead of cjk.h.
732 2007-06-30 Bruno Haible <bruno@clisp.org>
734 * src/iconv.c (print_version): Use the standard --version output, see
735 <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00302.html>.
737 2007-06-30 Bruno Haible <bruno@clisp.org>
739 * autogen.sh: New file.
740 * DEPENDENCIES: New file.
743 2007-06-30 Bruno Haible <bruno@clisp.org>
745 * src/iconv.c: Provide translator comments for many messages.
746 (conversion_error_EILSEQ, conversion_error_EINVAL,
747 conversion_error_other): New functions, extracted from convert.
749 Reported by Tim Van Holder <tim.van.holder@telenet.be>.
751 2007-06-09 Bruno Haible <bruno@clisp.org>
753 * gnulib-local/lib/relocwrapper.c: Remove file.
755 2007-05-27 Bruno Haible <bruno@clisp.org>
757 * windows/libiconv.rc: New file.
758 * windows/iconv.rc: New file.
759 * windows/windres-options: New file.
760 * configure.ac (WOE32): New variable.
761 (WINDRES) [WOE32]: New variable.
762 * lib/Makefile.in (WINDRES): New variable.
763 (PACKAGE_VERSION): New variable.
764 (OBJECTS_EXP_yes): Renamed from OBJECTS_yes.
765 (OBJECTS_EXP_no): Renamed from OBJECTS_no.
766 (OBJECTS_RES_yes, OBJECTS_RES_no): New variables.
767 (OBJECTS): Add one of them.
768 (libiconv.res): New rule.
769 (clean): Remove also libiconv.res.
770 * src/Makefile.in (WINDRES): New variable.
771 (PACKAGE_VERSION): New variable.
772 (OBJECTS_RES_yes, OBJECTS_RES_no): New variables.
773 (all, iconv_no_i18n, install): Use them.
774 (iconv.res): New rule.
775 (clean): Remove also iconv.res.
776 Suggested and inspired by work by Perry Rapp.
778 2007-05-27 Bruno Haible <bruno@clisp.org>
780 Follow broken iconv() prototype in POSIX.
781 * configure.ac (ICONV_CONST): Set to empty if the system has no iconv.
782 * lib/config.h.in (ICONV_CONST): Change default value to an empty
784 * src/iconv.c (ICONV_CONST): Change default value to empty.
785 Reported by Andreas Krennmair <ak@synflood.at>.
787 2007-05-25 Bruno Haible <bruno@clisp.org>
789 * tools/Makefile (ALL): Add rk1048.h.
790 (rk1048.h): New rule.
791 * lib/encodings.def: Add RK1048.
792 * lib/rk1048.h: New file.
793 * lib/converters.h: Include it.
794 * README, man/iconv_open.3: Add RK1048.
795 * NOTES: Mention RK1048.
796 * tests/RK1048.TXT: New file.
797 * tests/Makefile.in (check): Also test RK1048.
798 Suggested by Timur Birsh <team9@host.kz>.
800 2007-04-24 Bruno Haible <bruno@clisp.org>
802 * man/iconv_open.3: Tweak explanation of TRANSLIT.
803 Reported by Perry Rapp.
805 2007-04-23 Bruno Haible <bruno@clisp.org>
807 * tests/check-subst: Use the output of 'printf' only if it didn't
808 crash. Needed to work around a buffer overflow in Solaris /bin/printf.
809 Reported by Arto C. Nirkko <anirkko@insel.ch>.
811 2007-04-23 Bruno Haible <bruno@clisp.org>
813 * lib/iconv.c (iconv_open, iconv_canonicalize): Treat native Woe32
814 systems like those which define __STDC_ISO_10646__.
815 Reported by Keith Marshall <keithmarshall@users.sourceforge.net>.
817 2007-03-31 Bruno Haible <bruno@clisp.org>
819 * man/iconv.1: Use HYPHEN-MINUS signs instead of HYPHENs where
821 * man/iconv_open.3: Likewise.
822 * man/iconv.3: Likewise.
823 * man/iconv_close.3: Likewise.
824 * man/iconvctl.3: Likewise.
826 2007-03-31 Bruno Haible <bruno@clisp.org>
828 * man/iconv.1: Mark as POSIX compliant.
829 * man/iconv_open.3: Likewise.
830 * man/iconv.3: Likewise.
831 * man/iconv_close.3: Likewise.
833 * man/*.[13]: Syntactic simplifications.
835 2007-03-19 Bruno Haible <bruno@clisp.org>
837 Assume that mkinstalldirs also creates the necessary parent directories.
838 * Makefile.in (install, installdirs): Don't explicitly create the
840 * lib/Makefile.in (install, installdirs): Likewise.
841 * src/Makefile.in (install, installdirs): Likewise.
842 * man/Makefile.in (install, installdirs): Likewise.
843 Reported by Thomas Klausner <tk@giga.or.at>.
845 2007-03-04 Bruno Haible <bruno@clisp.org>
847 * Makefile.devel (GNULIB_MODULES): Add relocatable-prog. Remove
848 relocatable, relocwrapper.
849 * configure.ac: Invoke gl_RELOCATABLE instead of AC_RELOCATABLE.
850 * gnulib-local/modules/progreloc: Remove file.
851 * gnulib-local/modules/relocatable: Remove file.
852 * gnulib-local/modules/relocwrapper: Remove file.
853 * gnulib-local/m4/relocatable.m4: Remove file.
854 * gnulib-local/lib/strerror.c.diff: Remove file.
855 * src/Makefile.in: Remove SET_RELOCATABLE invocation. Instead get
856 RELOCATABLE_LDFLAGS and INSTALL_PROGRAM_ENV.
858 2007-02-19 Bruno Haible <bruno@clisp.org>
860 * gnulib-local/lib/xmalloc.c: Don't include exit.h.
861 * src/iconv.c: Likewise.
863 2007-02-16 Juan Manuel Guerrero <juan.guerrero@gmx.de>
867 2007-02-03 Bruno Haible <bruno@clisp.org>
869 * tools/Makefile (ksc5601.h): Add one extra character.
870 * lib/ksc5601.h: Regenerated.
871 * lib/cp949.h (cp949_mbtowc, cp949_wctomb): Exclude the new character.
872 * tests/EUC-KR.TXT: Add CIRCLED HANGUL IEUNG U.
873 * tests/JOHAB.TXT: Likewise.
874 Reported by Jungshik Shin (신정식, 申政湜) <jungshik@google.com>.
876 * lib/euc_kr.h: Update comments.
877 * lib/johab.h: Likewise.
879 2007-02-03 Bruno Haible <bruno@clisp.org>
881 * tools/cjk_tab_to_h.c (output_title): Bump copyright year.
883 2007-01-26 Bruno Haible <bruno@clisp.org>
885 Moved streq.h to gnulib.
886 * gnulib-local/lib/streq.h: Remove file.
887 * gnulib-local/modules/uniwidth (Files): Remove lib/streq.h.
888 (Depends-on): Add streq.
889 (lib_SOURCES): Remove streq.h.
891 2007-01-26 Bruno Haible <bruno@clisp.org>
893 Moved unitypes.h to gnulib.
894 * gnulib-local/lib/unitypes.h: Remove file.
895 * gnulib-local/modules/uniwidth (Files): Remove lib/unitypes.h.
896 (Depends-on): Add unitypes.
897 (lib_SOURCES): Remove unitypes.h.
899 2007-01-26 Bruno Haible <bruno@clisp.org>
901 Moved canonicalize to gnulib.
902 * gnulib-local/modules/canonicalize: Remove file.
903 * gnulib-local/lib/canonicalize.h: Remove file.
904 * gnulib-local/lib/canonicalize.c: Remove file.
905 * gnulib-local/m4/canonicalize.m4: Remove file.
906 * gnulib-local/modules/progreloc (Depends-on): Replace 'canonicalize'
907 with 'canonicalize-lgpl'.
909 2006-12-20 Bruno Haible <bruno@clisp.org>
911 * lib/Makefile.in (install): On AIX, add the contents of
912 /lib/libiconv.a to libiconv.a.
914 2006-12-20 Bruno Haible <bruno@clisp.org>
916 * Makefile.devel (all): Depend on srclib/Makefile.gnulib, not
918 (aclocal.m4): Likewise. Touch the resulting file, since aclocal not
920 (srclib/Makefile.gnulib): Renamed from srclib/Makefile.am. Pass
921 option --makefile-name.
922 (srclib/Makefile.in): Depend on srclib/Makefile.gnulib too.
923 * srclib/Makefile.am: New file that includes srclib/Makefile.gnulib.
925 2006-10-31 Bruno Haible <bruno@clisp.org>
927 Update from GNU gettext.
928 2006-10-29 Bruno Haible <bruno@clisp.org>
929 Make it compile in C++ mode.
930 * gnulib-local/lib/xalloc.h (xrealloc): Define as template
931 with appropriate return type.
932 * gnulib-local/lib/xstrdup.c (xstrdup): Cast xmalloc result.
933 2006-10-26 Bruno Haible <bruno@clisp.org>
934 * gnulib-local/modules/canonicalize (Makefile.am): Remove
935 EXTRA_DIST. Now done by gnulib-tool.
936 * gnulib-local/modules/relocatable (Makefile.am): Likewise.
937 * gnulib-local/modules/relocwrapper (Makefile.am): Likewise.
938 2006-10-25 Bruno Haible <bruno@clisp.org>
939 * gnulib-local/m4/relocatable.m4 (AC_RELOCATABLE_BODY):
940 Renamed from AC_RELOCATABLE, without the AC_LIBOBJ invocation.
941 (AC_RELOCATABLE): New macro. Invoke AC_LIBOBJ here.
942 * gnulib-local/modules/relocwrapper (configure.ac): Invoke
943 AC_RELOCATABLE instead of requiring it.
944 2006-10-12 Bruno Haible <bruno@clisp.org>
945 * gnulib-local/modules/canonicalize (Makefile.am): Distribute
946 all files in lib/ through EXTRA_DIST.
947 * gnulib-local/modules/relocatable (Makefile.am): Likewise.
948 2006-09-14 Bruno Haible <bruno@clisp.org>
949 * gnulib-local/lib/canonicalize.c: Include <config.h>
951 * gnulib-local/lib/relocatable.c: Likewise.
952 * lib/relocatable.c: Likewise.
953 * gnulib-local/lib/relocwrapper.c: Likewise.
954 * gnulib-local/lib/xmalloc.c: Likewise.
955 * gnulib-local/lib/xreadlink.c: Likewise.
956 * gnulib-local/lib/xstrdup.c: Likewise.
957 2006-08-02 Bruno Haible <bruno@clisp.org>
958 * gnulib-local/modules/canonicalize: Put under LGPL.
959 * gnulib-local/modules/relocatable: Likewise.
960 2006-07-18 Bruno Haible <bruno@clisp.org>
961 * gnulib-local/xalloc.h (xzalloc): New declaration.
962 * gnulib-local/xmalloc.c (xzalloc): New function.
964 2006-10-24 Bruno Haible <bruno@clisp.org>
966 * man/Makefile.in (PACKAGE): New variable. Needed for docdir.
967 Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
969 2006-10-14 Bruno Haible <bruno@clisp.org>
972 * README: Clarify copyright of the iconv program.
973 Reported by Charles Wilson <cwilson@fastmail.fm>.
975 2006-08-08 Bruno Haible <bruno@clisp.org>
977 * INSTALL.generic: Add a recommendation for Tru64.
978 Reported by Gary V. Vaughan <gary@gnu.org>.
980 2006-07-29 Bruno Haible <bruno@clisp.org>
982 * tests/check-subst: Set CHARSETALIASDIR.
983 Needed so that "make check" works before "make install" on systems
986 2006-07-29 Bruno Haible <bruno@clisp.org>
988 * Makefile.devel (aclocal.m4): Depend on srclib/Makefile.am.
989 (AUTOCONF_FILES): Add the existing *.m4 files.
991 2006-07-29 Bruno Haible <bruno@clisp.org>
993 * gnulib-local/lib/xreadlink.c: Assume <stdlib.h> exists.
994 * src/iconv.c: Assume <locale.h> exists.
995 * configure.ac: Remove tests for <locale.h>, <stddef.h>, <stdlib.h>,
998 2006-07-29 Bruno Haible <bruno@clisp.org>
1000 * configure.ac: Remove obsolete calls AC_PROG_GCC_TRADITIONAL,
1001 AC_ISC_POSIX, AC_HEADER_STDC.
1003 2006-07-29 Bruno Haible <bruno@clisp.org>
1005 * configure.ac: Remove macro invocations that are redundant through
1006 gl_EARLY and gl_INIT.
1008 2006-07-29 Bruno Haible <bruno@clisp.org>
1010 * gnulib-local/m4/alloca.m4 (gl_PREREQ_ALLOCA): Add a dummy statement.
1011 Avoids a sh syntax error.
1013 2006-07-29 Bruno Haible <bruno@clisp.org>
1015 * gnulib-local/m4/relocatable.m4: Add comments.
1017 2006-07-29 Bruno Haible <bruno@clisp.org>
1019 * gnulib-local/modules/libiconv-misc: New file.
1020 * Makefile.devel (GNULIB_MODULES): Add libiconv-misc.
1022 * Makefile.devel (srclib/Makefile.am): Pass --no-libtool.
1024 2006-07-29 Bruno Haible <bruno@clisp.org>
1026 Note: gnulib macros no longer invoke AC_TYPE_SIZE_T nor
1027 AC_CHECK_TYPE([ptrdiff_t], , [AC_DEFINE([ptrdiff_t], [long], ...)])
1028 because we now assume that the system defines size_t and ptrdiff_t.
1030 2006-07-29 Bruno Haible <bruno@clisp.org>
1032 Switch to using gnulib.
1033 * configure.ac (AC_PREREQ): Require autoconf-2.60.
1034 Invoke gl_EARLY and gl_INIT.
1035 * Makefile.devel (all): Depend on srclib/Makefile.am.
1036 (aclocal.m4): Pass -I srcm4 to aclocal. Simplify dependencies, assuming
1038 (GNULIB_MODULES): New variable.
1039 (srclib/Makefile.am): New rule.
1040 * gnulib-local: New directory.
1041 * gnulib-local/m4/alloca.m4: Moved here from m4/alloca.m4.
1042 * gnulib-local/m4/canonicalize.m4: Moved here from m4/canonicalize.m4.
1043 * gnulib-local/m4/relocatable.m4: Moved here from m4/relocatable.m4.
1044 * gnulib-local/m4/xreadlink.m4: Moved here from m4/xreadlink.m4.
1045 * gnulib-local/lib/alloca_.h: Moved here from srclib/alloca_.h.
1046 * gnulib-local/lib/canonicalize.h: Moved here from srclib/canonicalize.h.
1047 * gnulib-local/lib/canonicalize.c: Moved here from srclib/canonicalize.c.
1048 * gnulib-local/lib/cjk.h: Moved here from srclib/cjk.h.
1049 * gnulib-local/lib/error.h.diff: New file.
1050 * gnulib-local/lib/progname.h.diff: New file.
1051 * gnulib-local/lib/relocatable.h: Moved here from srclib/relocatable.h.
1052 * gnulib-local/lib/relocatable.c: Moved here from srclib/relocatable.c.
1053 * gnulib-local/lib/relocwrapper.c: Moved here from srclib/relocwrapper.c.
1054 * gnulib-local/lib/streq.h: Moved here from srclib/streq.h.
1055 * gnulib-local/lib/strerror.c.diff: New file.
1056 * gnulib-local/lib/unitypes.h: Moved here from srclib/unitypes.h.
1057 * gnulib-local/lib/uniwidth.h: Moved here from srclib/uniwidth.h.
1058 * gnulib-local/lib/width.c: Moved here from srclib/width.c.
1059 * gnulib-local/lib/xalloc.h: Moved here from srclib/xalloc.h.
1060 * gnulib-local/lib/xmalloc.c: Moved here from srclib/xmalloc.c.
1061 * gnulib-local/lib/xstrdup.c: Moved here from srclib/xstrdup.c.
1062 * gnulib-local/lib/xreadlink.h: Moved here from srclib/xreadlink.h.
1063 * gnulib-local/lib/xreadlink.c: Moved here from srclib/xreadlink.c.
1064 * gnulib-local/modules/canonicalize: New file.
1065 * gnulib-local/modules/progreloc: New file.
1066 * gnulib-local/modules/relocatable: New file.
1067 * gnulib-local/modules/relocwrapper: New file.
1068 * gnulib-local/modules/uniwidth: New file.
1069 * gnulib-local/modules/xalloc: New file.
1070 * gnulib-local/modules/xreadlink: New file.
1072 * m4/allocsa.m4: Remove file. Now taken from gnulib.
1073 * m4/codeset.m4: Likewise.
1074 * m4/eealloc.m4: Likewise.
1075 * m4/error.m4: Likewise.
1076 * m4/extensions.m4: Likewise.
1077 * m4/full-header-path.m4: Likewise.
1078 * m4/gettext.m4: Likewise.
1079 * m4/glibc21.m4: Likewise.
1080 * m4/iconv.m4: Likewise.
1081 * m4/intmax.m4: Likewise.
1082 * m4/inttypes-h.m4: Likewise.
1083 * m4/inttypes_h.m4: Likewise.
1084 * m4/isc-posix.m4: Likewise.
1085 * m4/lcmessage.m4: Likewise.
1086 * m4/lib-ld.m4: Likewise.
1087 * m4/lib-link.m4: Likewise.
1088 * m4/lib-prefix.m4: Likewise.
1089 * m4/longdouble.m4: Likewise.
1090 * m4/longlong.m4: Likewise.
1091 * m4/mbstate_t.m4: Likewise.
1092 * m4/nls.m4: Likewise.
1093 * m4/onceonly.m4: Likewise.
1094 * m4/pathmax.m4: Likewise.
1095 * m4/po.m4: Likewise.
1096 * m4/printf-posix.m4: Likewise.
1097 * m4/progtest.m4: Likewise.
1098 * m4/readlink.m4: Likewise.
1099 * m4/setenv.m4: Likewise.
1100 * m4/signed.m4: Likewise.
1101 * m4/size_max.m4: Likewise.
1102 * m4/ssize_t.m4: Likewise.
1103 * m4/stdbool.m4: Likewise.
1104 * m4/stdint.m4: Likewise.
1105 * m4/stdint_h.m4: Likewise.
1106 * m4/strerror.m4: Likewise.
1107 * m4/strerror_r.m4: Likewise.
1108 * m4/unistd_h.m4: Likewise.
1109 * m4/unlocked-io.m4: Likewise.
1110 * m4/visibility.m4: Likewise.
1111 * m4/wchar_t.m4: Likewise.
1112 * m4/wint_t.m4: Likewise.
1114 * srclib/allocsa.h: Remove file. Now taken from gnulib.
1115 * srclib/allocsa.c: Likewise.
1116 * srclib/binary-io.h: Likewise.
1117 * srclib/error.h: Likewise.
1118 * srclib/error.c: Likewise.
1119 * srclib/exit.h: Likewise.
1120 * srclib/gettext.h: Likewise.
1121 * srclib/memmove.c: Likewise.
1122 * srclib/pathmax.h: Likewise.
1123 * srclib/progname.h: Likewise.
1124 * srclib/progname.c: Likewise.
1125 * srclib/progreloc.c: Likewise.
1126 * srclib/readlink.c: Likewise.
1127 * srclib/setenv.h: Likewise.
1128 * srclib/setenv.c: Likewise.
1129 * srclib/stdbool_.h: Likewise.
1130 * srclib/stdint_.h: Likewise.
1131 * srclib/strerror.c: Likewise.
1132 * srclib/unlocked-io.h: Likewise.
1133 * srclib/unsetenv.c: Likewise.
1134 * srclib/Makefile.am: Remove file.
1136 2006-07-27 Bruno Haible <bruno@clisp.org>
1138 Remove OS/2 build support that doesn't assume GNU make and GNU bash.
1139 * README.os2: Remove file.
1140 * Makefile.os2: Remove file.
1141 * lib/Makefile.os2: Remove file.
1142 * src/Makefile.os2: Remove file.
1143 * man/Makefile.os2: Remove file.
1144 * tests/Makefile.os2: Remove file.
1145 * tests/check-stateful.cmd: Remove file.
1146 * tests/check-stateless.cmd: Remove file.
1147 * tests/check-translit.cmd: Remove file.
1149 2006-07-25 Bruno Haible <bruno@clisp.org>
1151 Remove MSVC/nmake build support.
1152 * windows: Remove directory.
1153 * Makefile.msvc: Remove file.
1154 * lib/Makefile.msvc: Remove file.
1155 * srclib/Makefile.msvc: Remove file.
1156 * src/Makefile.msvc: Remove file.
1157 * tests/Makefile.msvc: Remove file.
1158 * man/Makefile.msvc: Remove file.
1159 * po/Rules-msvc: Remove file.
1160 * po/Makefile.msvc.sh: Remove file.
1161 * Makefile.devel (config.h.msvc, lib/config.h.msvc): Remove rules.
1162 (include/iconv.h.msvc-static, include/iconv.h.msvc-shared): Remove
1164 (po/Makefile.msvc): Remove rule.
1167 2006-07-25 Bruno Haible <bruno@clisp.org>
1170 * vms: Remove directory.
1171 * Makefile.vms: Remove file.
1172 * lib/Makefile.vms: Remove file.
1173 * srclib/Makefile.vms: Remove file.
1174 * src/Makefile.vms: Remove file.
1175 * tests/Makefile.vms: Remove file.
1176 * man/Makefile.vms: Remove file.
1177 * Makefile.devel (config.h_vms, lib/config.h_vms): Remove rules.
1178 (include/iconv.h_vms): Remove rule.
1181 2006-07-23 Bruno Haible <bruno@clisp.org>
1183 * lib/Makefile.in (libiconv.la): Use the CFLAGS during linking.
1184 * src/Makefile.in (iconv_no_i18n): Likewise.
1185 (install): Likewise.
1186 * tests/Makefile.in (table-from, table-to): Likewise.
1187 Needed because the CFLAGS can e.g. trigger profiling.
1188 Reported by Russell Aspinwall <russell.aspinwall@flomerics.co.uk>.
1190 2006-07-19 Bruno Haible <bruno@clisp.org>
1192 * Version 1.11 released.
1194 2006-07-19 Bruno Haible <bruno@clisp.org>
1196 * srclib/Makefile.am (libicrt_a_SOURCES): Remove error.h, error.c.
1197 (LIBADD_SOURCE): Add them here.
1199 2006-07-19 Bruno Haible <bruno@clisp.org>
1201 * build-aux/config.guess: Update to GNU version 2006-07-02.
1202 * build-aux/config.sub: Likewise.
1204 2006-07-14 Bruno Haible <bruno@clisp.org>
1206 * lib/Makefile.in (clean): Remove also *.stackdump.
1207 * src/Makefile.in (clean): Likewise.
1208 * tests/Makefile.in (clean): Likewise.
1210 2006-07-14 Bruno Haible <bruno@clisp.org>
1212 * src/Makefile.in (clean): Remove also iconv_no_i18n. Needed for
1214 * tests/Makefile.in (clean): Remove also the programs, without
1215 EXEEXT. Needed for cygwin or mingw.
1216 * Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
1217 Remove also bin directory. Needed for cygwin and mingw.
1219 2006-07-03 Bruno Haible <bruno@clisp.org>
1221 * src/iconv.c (check_subst_formatstring): Use ngettext.
1222 (subst_wc_to_mb_fallback, subst_mb_to_mb_fallback): Fix error messages
1223 after 2006-01-22 change.
1224 * configure.ac: Require a gettext version with ngettext.
1226 2006-06-28 Bruno Haible <bruno@clisp.org>
1228 * m4/gettext.m4: Update from GNU gettext.
1229 * m4/po.m4: Update from GNU gettext.
1231 2006-06-27 Bruno Haible <bruno@clisp.org>
1233 * Makefile.devel (AUTOCONF, AUTOHEADER): Use autoconf-2.60.
1234 * Makefile.in (datarootdir): New variable.
1235 (install, installdirs, uninstall): Also pass datarootdir.
1236 * configure.ac (mandir): Remove customization.
1237 * man/Makefile.in (datarootdir): New variable.
1238 (docdir, htmldir): Use autoconf-substituted value.
1239 * src/Makefile.in (datarootdir): New variable.
1240 (localedir): Use autoconf-substituted value.
1242 2006-06-27 Bruno Haible <bruno@clisp.org>
1244 * m4/stdint.m4: Update from gnulib.
1245 * srclib/stdint_.h: Update from gnulib.
1246 * srclib/Makefile.am: Update.
1248 2006-06-17 Bruno Haible <bruno@clisp.org>
1250 * srclib/unsetenv.c: Update from GNU gettext.
1251 * srclib/xreadlink.c: Likewise.
1253 2006-06-16 Bruno Haible <bruno@clisp.org>
1255 * m4/full-header-path.m4: New file, from gnulib.
1256 * m4/size_max.m4: New file, from gnulib.
1257 * m4/stdint.m4: Update from gnulib.
1258 * srclib/stdint_.h: Update from gnulib.
1259 * srclib/Makefile.am (stdint.h): Likewise.
1260 * Makefile.devel (aclocal.m4): Update dependencies.
1262 2006-06-16 Bruno Haible <bruno@clisp.org>
1264 * m4/ssize_t.m4: Update from GNU gettext.
1266 2006-06-12 Bruno Haible <bruno@clisp.org>
1268 * m4/gettext.m4: Update from GNU gettext.
1269 * m4/inttypes-h.m4: New file, from GNU gettext.
1270 * m4/inttypes.m4: Remove file.
1271 * m4/stdint.m4 (gl_STDINT_H): Update.
1272 * Makefile.devel (aclocal.m4): Update dependencies.
1274 2006-06-10 Bruno Haible <bruno@clisp.org>
1276 * src/iconv.c (error) [NO_I18N]: Define here instead of including
1277 error.h. Fixes link failure introduced on 2006-01-22.
1279 2006-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1281 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: Avoid warning when
1282 "parsing" /etc/ld.so.conf and empty /etc/ld.so.conf.d.
1284 2006-05-20 Bruno Haible <bruno@clisp.org>
1286 * tests/BIG5-HKSCS-1999-snippet: New file.
1287 * tests/BIG5-HKSCS-1999-snippet.UTF-8: New file.
1288 * tests/BIG5-HKSCS-2001-snippet: New file.
1289 * tests/BIG5-HKSCS-2001-snippet.UTF-8: New file.
1290 * tests/BIG5-HKSCS-2004-snippet: New file.
1291 * tests/BIG5-HKSCS-2004-snippet.UTF-8: New file.
1292 * tests/Makefile.in (check): Test also the stateful parts of
1293 BIG5-HKSCS:1999, BIG5-HKSCS:2001, BIG5-HKSCS:2004.
1295 2006-05-17 Bruno Haible <bruno@clisp.org>
1297 Implement newer releases of BIG5-HKSCS.
1298 * tools/Makefile (ALL): Remove hkscs.h, add hkscs1999.h, hkscs2001.h,
1300 (hkscs.h): Remove rule.
1301 (hkscs1999.h, hkscs2001.h, hkscs2004.h): New rules.
1302 * tools/cjk_tab_to_h.c (output_title): Update year.
1303 (main): Recognize hkscs1999, hkscs2001, hkscs2004.
1304 * lib/encodings.def: Rename BIG5-HKSCS to BIG5-HKSCS:1999. Add
1305 BIG5-HKSCS:2001, BIG5-HKSCS:2004. Make all three stateful.
1306 * lib/hkscs.h: Remove file.
1307 * lib/hkscs1999.h: New file.
1308 * lib/hkscs2001.h: New file.
1309 * lib/hkscs2004.h: New file.
1310 * lib/big5hkscs.h: Remove file.
1311 * lib/big5hkscs1999.h: New file.
1312 * lib/big5hkscs2001.h: New file.
1313 * lib/big5hkscs2004.h: New file.
1314 * lib/converters.h: Include the new files.
1315 * README, man/iconv_open.3: Add BIG5-HKSCS:1999, BIG5-HKSCS:2001.
1316 * tests/BIG5-HKSCS.TXT: Remove file.
1317 * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Remove file.
1318 * tests/BIG5-HKSCS-1999.TXT: New file.
1319 * tests/BIG5-HKSCS-1999.IRREVERSIBLE.TXT: New file.
1320 * tests/BIG5-HKSCS-2001.TXT: New file.
1321 * tests/BIG5-HKSCS-2001.IRREVERSIBLE.TXT: New file.
1322 * tests/BIG5-HKSCS-2004.TXT: New file.
1323 * tests/BIG5-HKSCS-2004.IRREVERSIBLE.TXT: New file.
1324 * tests/check-stateless: Convert colon in the charset name to a dash in
1326 * tests/Makefile.in (check): Check BIG5-HKSCS:1999, BIG5-HKSCS:2001,
1327 BIG5-HKSCS:2004 instead of just BIG5-HKSCS.
1328 * tests/Makefile.msvc (check): Don't check BIG5-HKSCS.
1329 * tests/Makefile.os2 (check): Likewise.
1331 2006-05-17 Bruno Haible <bruno@clisp.org>
1333 * srclib/progreloc.c: Update from GNU gettext.
1335 2006-05-16 Bruno Haible <bruno@clisp.org>
1337 * src/Makefile.in (clean): Use EXEEXT.
1338 * tests/Makefile.in (check, clean): Likewise.
1340 2006-05-15 Bruno Haible <bruno@clisp.org>
1342 * configure.ac: Move some checks before AC_RELOCATABLE.
1344 2006-05-15 Bruno Haible <bruno@clisp.org>
1346 Support for building shared libraries on mingw and Cygwin.
1347 * configure.ac (WOE32DLL, DLL_VARIABLE): New variables.
1348 * include/iconv.h.in (_libiconv_version): Mark as DLL_VARIABLE.
1349 * woe32dll/export.h: New file, from GNU gettext.
1350 * woe32dll/iconv-exports.h: New file.
1351 * Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
1352 include/iconv.h.msvc-shared): Remove the DLL_VARIABLE annotation.
1353 * lib/Makefile.in (INCLUDES): Add -I for parent directory.
1354 (LDFLAGS): Add WOE32DLL dependent flags.
1355 (LDFLAGS_yes, LDFLAGS_no): New variables.
1356 (OBJECTS): Add WOE32DLL dependent objects.
1357 (OBJECTS_yes, OBJECTS_no): New variables.
1358 (iconv-exports.lo): New rule.
1360 2006-05-15 Bruno Haible <bruno@clisp.org>
1362 * srclib/gettext.h: Update from GNU gettext.
1363 * srclib/pathmax.h: Update from GNU gettext.
1364 * srclib/progreloc.c: Update from GNU gettext.
1365 * srclib/unsetenv.c: Update from GNU gettext.
1366 * srclib/Makefile.am: Add snippet for creation of unistd.h.
1367 * m4/extensions.m4: Update from GNU gettext.
1368 * m4/gettext.m4: Update from GNU gettext.
1369 * m4/lib-ld.m4: Update from GNU gettext.
1370 * m4/lib-link.m4: Update from GNU gettext.
1371 * m4/lib-prefix.m4: Update from GNU gettext.
1372 * m4/longdouble.m4: Update from GNU gettext.
1373 * m4/nls.m4: Update from GNU gettext.
1374 * m4/onceonly.m4: Update from GNU gettext.
1375 * m4/po.m4: Update from GNU gettext.
1376 * m4/relocatable.m4: Update from GNU gettext.
1377 * m4/unistd_h.m4: New file, from GNU gettext.
1378 * Makefile.devel (aclocal.m4): Depend on it.
1379 * configure.ac: Invoke gl_HEADER_UNISTD.
1381 2006-05-14 Bruno Haible <bruno@clisp.org>,
1382 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1384 * m4/libtool.m4 [ linux ] (AC_LIBTOOL_LANG_CXX_CONFIG)
1385 (AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_COMPILER_PIC)
1386 (AC_LIBTOOL_PROG_LD_SHLIBS): Add support for Sun C 5.9,
1387 Sun C++ 5.9, and Sun Fortran 8.3 on Linux.
1389 2006-05-06 Charles Wilson <cygwin@cwilson.fastmail.fm>
1391 * m4/libtool.m4: On Cygwin, like on mingw, define DLL_EXPORT when
1392 compiling a shared library object.
1394 2006-05-15 Bruno Haible <bruno@clisp.org>
1396 * build-aux/config.rpath: Add support for Sun C 5.9 on Linux.
1398 2006-03-31 Juan Manuel Guerrero <juan.guerrero@gmx.de>
1402 2006-01-23 Bruno Haible <bruno@clisp.org>
1404 * configure.ac: Invoke gl_ALLOCSA.
1406 * Makefile.devel (aclocal.m4): Depend on $(CONFIGURES_IN).
1408 2006-01-22 Bruno Haible <bruno@clisp.org>
1410 * src/iconv.c (xmalloc, xalloc_die) [NO_I18N]: Define to avoid using
1413 2006-01-22 Bruno Haible <bruno@clisp.org>
1415 * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 6:0:4.
1417 2006-01-22 Bruno Haible <bruno@clisp.org>
1419 * src/iconv.c: Include error.h, exit.h.
1420 (print_version): Use EXIT_SUCCESS.
1421 (check_subst_formatstring, subst_mb_to_uc_fallback,
1422 subst_uc_to_mb_fallback, subst_mb_to_wc_fallback,
1423 subst_wc_to_mb_fallback, subst_mb_to_mb_fallback, convert, main): Use
1424 error() instead of fprintf to stderr.
1426 2006-01-22 Bruno Haible <bruno@clisp.org>
1428 New feature: character-dependent substitutions.
1429 * include/iconv.h.in (iconv_unicode_mb_to_uc_fallback,
1430 iconv_unicode_uc_to_mb_fallback, iconv_wchar_mb_to_wc_fallback,
1431 iconv_wchar_wc_to_mb_fallback): New types.
1432 (struct iconv_fallbacks): New structure type.
1433 (ICONV_SET_FALLBACKS): New macro.
1434 * configure.ac: Invoke gt_TYPE_WCHAR_T and substitute HAVE_WCHAR_T.
1435 * Makefile.os2 (all): Also substitute @HAVE_WCHAR_T@ in build/iconv.h.
1436 * Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
1437 include/iconv.h.msvc-shared): Also substitute @HAVE_WCHAR_T@.
1438 * lib/converters.h (struct conv_struct): Add field 'fallbacks'.
1439 * lib/loop_unicode.h (struct uc_to_mb_fallback_locals): New type.
1440 (uc_to_mb_write_replacement): New function.
1441 (struct mb_to_uc_fallback_locals): New type.
1442 (mb_to_uc_write_replacement): New function.
1443 (unicode_loop_convert): Call mb_to_uc_fallback and uc_to_mb_fallback.
1444 (unicode_loop_reset): Call uc_to_mb_fallback.
1445 * lib/loop_wchar.h (struct wc_to_mb_fallback_locals): New type.
1446 (wc_to_mb_write_replacement): New function.
1447 (wchar_from_loop_convert): Call wc_to_mb_fallback.
1448 (struct mb_to_wc_fallback_locals): New type.
1449 (mb_to_wc_write_replacement): New function.
1450 (wchar_to_loop_convert): Call mb_to_wc_fallback.
1451 * lib/iconv.c (iconv_open): Initialize the 'fallbacks' field.
1452 (iconvctl): Handle ICONV_SET_FALLBACKS.
1453 * lib/genflags.c (struct iconv_fallbacks): New dummy definition.
1454 * src/iconv.c: Include limits.h.
1455 (isdigit, c_isprint): New macros.
1456 (usage): Document long options and new options.
1457 (check_subst_formatstring): New function.
1458 (ilseq_byte_subst, ilseq_wchar_subst, ilseq_unicode_subst): New
1460 (ilseq_byte_subst_size, ilseq_wchar_subst_size,
1461 ilseq_unicode_subst_size): New variables.
1462 (ilseq_byte_subst_buffer, ilseq_wchar_subst_buffer,
1463 ilseq_unicode_subst_buffer): New variables.
1464 (subst_mb_to_uc_cd, subst_mb_to_uc_temp_buffer): New variables.
1465 (subst_mb_to_uc_fallback): New function.
1466 (subst_uc_to_mb_cd, subst_uc_to_mb_temp_buffer): New variables.
1467 (subst_uc_to_mb_fallback): New function.
1468 (subst_mb_to_wc_cd, subst_mb_to_wc_temp_buffer): New variables.
1469 (subst_mb_to_wc_fallback): New function.
1470 (subst_wc_to_mb_cd, subst_wc_to_mb_temp_buffer): New variables.
1471 (subst_wc_to_mb_fallback): New function.
1472 (subst_mb_to_mb_cd, subst_mb_to_mb_temp_buffer): New variables.
1473 (subst_mb_to_mb_fallback): New function.
1474 (convert): Enlarge the outbuf when the conversion failed with E2BIG.
1475 (main): Handle new options --byte-subst, --widechar-subst,
1477 * man/iconv.1: Document --unicode-subst, --byte-subst, --widechar-subst
1479 * tests/check-subst: New file.
1480 * tests/Makefile.in (check): Also invoke check-subst.
1481 Suggested by James Taylor <james@oakseed.demon.co.uk>.
1483 2006-01-21 Bruno Haible <bruno@clisp.org>
1485 * src/iconv.c (print_version): Bump copyright year.
1486 (main): Accept long options --from-code, --to-code, --list, --silent.
1487 Accept abbreviated long options, like getopt() does.
1488 * man/iconv.1: Document long options.
1490 2005-12-29 Bruno Haible <bruno@clisp.org>
1492 * src/iconv.c (print_version): Update copyright year.
1494 2005-12-29 Bruno Haible <bruno@clisp.org>
1496 * configure.ac: Renamed from configure.in.
1497 * Makefile.devel (CONFIGURES_IN, configure, config.h.in): Update.
1499 2005-12-29 Bruno Haible <bruno@clisp.org>
1501 * configure.in: Bump version number.
1502 * include/iconv.h.in (_LIBICONV_VERSION): Likewise.
1503 * windows/iconv.rc: Likewise.
1504 * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 5:1:3.
1506 2005-12-29 Bruno Haible <bruno@clisp.org>
1508 * build-aux/config.guess: Update to GNU version 2005-12-23.
1509 * build-aux/config.sub: Likewise.
1510 * build-aux/config.libpath: Update from GNU gettext.
1511 * build-aux/install-sh: Upgrade to automake-1.9.5.
1512 * build-aux/missing: Upgrade to automake-1.9.5.
1513 * build-aux/mkinstalldirs: Upgrade to automake-1.9.5.
1515 2005-12-29 Bruno Haible <bruno@clisp.org>
1517 * m4/alloca.m4: Update from GNU gettext.
1518 * m4/allocsa.m4: Update from GNU gettext.
1519 * m4/canonicalize.m4: Update from GNU gettext.
1520 * m4/codeset.m4: Update from GNU gettext.
1521 * m4/eealloc.m4: Update from GNU gettext.
1522 * m4/error.m4: Update from GNU gettext.
1523 * m4/extensions.m4: Update from GNU gettext.
1524 * m4/gettext.m4: Update from GNU gettext.
1525 * m4/glibc21.m4: Update from GNU gettext.
1526 * m4/iconv.m4: Update from GNU gettext.
1527 * m4/intmax.m4: Update from GNU gettext.
1528 * m4/inttypes_h.m4: New file, from GNU gettext.
1529 * m4/isc-posix.m4: Update from GNU gettext.
1530 * m4/lcmessage.m4: Update from GNU gettext.
1531 * m4/longdouble.m4: Update from GNU gettext.
1532 * m4/longlong.m4: Update from GNU gettext.
1533 * m4/mbstate_t.m4: Update from GNU gettext.
1534 * m4/nls.m4: Update from GNU gettext.
1535 * m4/onceonly.m4: Update from GNU gettext.
1536 * m4/pathmax.m4: Update from GNU gettext.
1537 * m4/po.m4: Update from GNU gettext.
1538 * m4/printf-posix.m4: Update from GNU gettext.
1539 * m4/progtest.m4: Update from GNU gettext.
1540 * m4/readlink.m4: Update from GNU gettext.
1541 * m4/relocatable.m4: Update from GNU gettext.
1542 * m4/setenv.m4: Update from GNU gettext.
1543 * m4/signed.m4: Update from GNU gettext.
1544 * m4/ssize_t.m4: Update from GNU gettext.
1545 * m4/stdbool.m4: Update from GNU gettext.
1546 * m4/stdint_h.m4: New file, from GNU gettext.
1547 * m4/strerror.m4: Update from GNU gettext.
1548 * m4/strerror_r.m4: Update from GNU gettext.
1549 * m4/unlocked-io.m4: Update from GNU gettext.
1550 * m4/wchar_t.m4: Update from GNU gettext.
1551 * m4/wint_t.m4: Update from GNU gettext.
1552 * m4/xreadlink.m4: Update from GNU gettext.
1553 * Makefile.devel (aclocal.m4): Depend on m4/inttypes_h.m4 and
1554 m4/stdint_h.m4 as well.
1555 * configure.in: Invoke AC_TYPE_MBSTATE_T instead of AC_MBSTATE_T.
1556 Invoke gl_FUNC_GLIBC_UNLOCKED_IO instead of jm_FUNC_GLIBC_UNLOCKED_IO.
1557 Invoke gl_ERROR instead of gt_FUNC_ERROR_AT_LINE.
1558 Don't invoke AC_AIX and AC_MINIX, done by gl_USE_SYSTEM_EXTENSIONS.
1559 Temporarily redefine AC_LIBOBJ and AC_REPLACE_FUNCS, so as to fill
1560 SRCLIBOBJS instead of LIBOBJS.
1561 * srclib/alloca_.h: Update from GNU gettext.
1562 * srclib/allocsa.h: Update from GNU gettext.
1563 * srclib/canonicalize.c: Update from GNU gettext.
1564 * srclib/error.h: Update from GNU gettext.
1565 * srclib/error.c: Update from GNU gettext.
1566 * srclib/gettext.h: Update from GNU gettext.
1567 * srclib/memmove.c: Update from GNU gettext.
1568 * srclib/progname.h: Update from GNU gettext.
1569 * srclib/progname.c: Update from GNU gettext.
1570 * srclib/progreloc.c: Update from GNU gettext.
1571 * srclib/readlink.c: Update from GNU gettext.
1572 * srclib/relocatable.c: Update from GNU gettext.
1573 * srclib/relocwrapper.c: Update from GNU gettext.
1574 * srclib/setenv.h: Update from GNU gettext.
1575 * srclib/setenv.c: Update from GNU gettext.
1576 * srclib/stdbool_.h: Update from GNU gettext.
1577 * srclib/stdint_.h: Update from gnulib.
1578 * srclib/strerror.c: Update from GNU gettext.
1579 * srclib/unlocked-io.h: Update from GNU gettext.
1580 * srclib/unsetenv.c: Update from GNU gettext.
1581 * srclib/xalloc.h: Update from GNU gettext.
1582 * srclib/xmalloc.c: Update from GNU gettext.
1583 * srclib/xreadlink.c: Update from GNU gettext.
1584 * srclib/xstrdup.c: Update from GNU gettext.
1585 * srclib/Makefile.am (DEFS): Also define EXEEXT.
1586 (libicrt_a_LIBADD): Use SRCLIBOBJS instead of LIBOBJS.
1587 (libicrt_a_DEPENDENCIES): New variable.
1588 * src/Makefile.in (EXEEXT): New variable.
1589 * build-aux/install-reloc: Update from GNU gettext.
1590 * build-aux/reloc-ldflags: Update from GNU gettext.
1591 * build-aux/config.rpath: Update from GNU gettext.
1593 2005-12-29 Bruno Haible <bruno@clisp.org>
1595 * m4/libtool.m4: Update, based on libtool-1.5.22.
1596 * build-aux/ltmain.sh: Update, based on libtool-1.5.22.
1598 2005-12-24 Bruno Haible <bruno@clisp.org>
1600 Check the whole range of GB18030.
1601 * tests/GB18030-BMP.TXT: Renamed from tests/GB18030.TXT.
1602 * tests/gengb18030z.c: New file.
1603 * tests/table-from.c (main): For GB18030, don't stop at U+10000.
1604 * tests/table-to.c (main): Likewise.
1605 * tests/Makefile.in (check): Generate GB18030.TXT on the fly from
1607 (clean): Remove also gengb18030z and GB18030.TXT.
1608 * tests/Makefile.msvc (check): Generate GB18030.TXT on the fly from
1610 (clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
1611 * tests/Makefile.os2 (check): Depend on gengb18030z.exe. Generate
1612 GB18030.TXT on the fly from GB18030-BMP.TXT.
1613 (clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
1615 2005-12-20 Bruno Haible <bruno@clisp.org>
1617 * tests/table-to.c (main): Test the mappings up to U+10FFFF, not only
1618 up to U+2FFFF. Tolerate that Unicode language tags are silently mapped
1621 2005-12-22 Bruno Haible <bruno@clisp.org>
1623 Extend GB18030 converter to cover the entire Unicode PUA.
1624 * lib/gb18030.h: Update comments, based on second printing.
1625 (gb18030_mbtowc): Add mapping for range U+E000..U+E765.
1626 (gb18030_pua2charset): New array.
1627 (gb18030_wctomb): Add mapping for range U+E000..U+E765 and the two-byte
1628 part of range U+E766..U+E864.
1629 * lib/gb18030ext.h (gb18030ext_2uni_pagefe): Add mappings to private
1631 (gb18030ext_mbtowc): Add mapping for the two-byte part of range
1633 * lib/gb18030uni.h (gb18030uni_charset2uni_ranges,
1634 gb18030uni_uni2charset_ranges, gb18030uni_ranges): Add 12 more
1636 (gb18030uni_mbtowc, gb18030uni_wctomb): Update.
1637 * tests/GB18030.TXT: Complete mappings to private area.
1639 2005-12-22 Bruno Haible <bruno@clisp.org>
1641 * lib/gbk.h: Update comments.
1643 2005-12-20 Bruno Haible <bruno@clisp.org>
1645 Add private area mappings to CP949.
1646 * lib/cp949.h (cp949_mbtowc, cp949_wctomb): Map U+E000..U+E0BB like
1648 * tests/CP949.TXT: Add mappings for U+E000..U+E0BB.
1650 2005-12-15 Bruno Haible <bruno@clisp.org>
1652 Add private area mappings to CP950.
1653 * lib/cp950.h (cp950_mbtowc, cp950_wctomb): Map U+E000..U+F6B0 like
1655 * tests/CP950.TXT: Add mappings for U+E000..U+F6B0.
1657 2005-12-15 Bruno Haible <bruno@clisp.org>
1659 Make CP936 follow what Microsoft does.
1660 In http://www.microsoft.com/globaldev/reference/dbcs/936.mspx they
1661 added a 0x80 - U+20AC mapping to the code chart, but not to the
1662 tooltips and not to the list of mappings.
1663 * lib/cp936.h: New file.
1664 * lib/gbk.h: Update comments.
1665 * lib/ces_gbk.h: Update comments.
1666 * lib/converters.h: Include cp936.h.
1667 * lib/encodings.def (CP936): New encoding.
1668 (GBK): Remove CP936 aliases.
1669 * README, man/iconv_open.3: Add CP936.
1670 * tests/Makefile.in (check): Check CP936.
1671 * tests/Makefile.msvc (check): Likewise.
1672 * tests/Makefile.os2 (check): Likewise.
1673 * tests/CP936.TXT: New file.
1675 2005-12-14 Bruno Haible <bruno@clisp.org>
1677 * lib/cp932.h (cp932_wctomb): Map U+FF5E, U+2225, U+FF0D, U+FFE0,
1678 U+FFE1 like Microsoft does it.
1679 * lib/CP932.IRREVERSIBLE.TXT: Add these mappings.
1680 Reported by Lei Wang <lwang@qilinsoft.com>.
1682 2005-12-14 Bruno Haible <bruno@clisp.org>
1684 Follow Euro sign addition done in 1999 in
1685 http://www.microsoft.com/globaldev/reference/dbcs/950/950_A3.mspx
1686 * lib/cp950.h (cp950_mbtowc, cp950_wctomb): Add mapping for 0xA3E1.
1687 * tests/CP950.TXT: Add mapping for 0xA3E1.
1689 2005-11-11 Bruno Haible <bruno@clisp.org>
1691 * lib/euc_jp.h (euc_jp_wctomb): When writing a 3-bytes byte sequence
1692 and only two bytes are available in the output buffer, return
1693 RET_TOOSMALL instead of overrunning the output buffer.
1694 * lib/isoir165.h (isoir165_wctomb): When only one byte is available
1695 in the output buffer, don't overrun the output buffer.
1696 Reported by William Bardwell <bardwell@curl.com>.
1698 2005-09-18 Bruno Haible <bruno@clisp.org>
1700 * m4/libtool.m4: Update, based on libtool-1.5.20.
1701 * build-aux/ltmain.sh: Update, based on libtool-1.5.20.
1703 2005-08-12 Bruno Haible <bruno@clisp.org>
1705 * lib/big5_2003.h: Map 0xF9FA..0xF9FD differently.
1706 * tests/BIG5-2003.TXT: Likewise.
1707 * tests/BIG5-2003.IRREVERSIBLE.TXT: New file.
1708 Reported by Ping Yeh <ping@pingyeh.net>.
1710 2005-07-24 Bruno Haible <bruno@clisp.org>
1712 Tidy up exported symbols.
1713 * m4/visibility.m4: New file.
1714 * include/export.h: New file.
1715 * configure.in: Invoke gl_VISIBILITY. Use AC_CONFIG_FILES. Arrange to
1716 create also include/iconv.h.inst.
1717 * Makefile.devel (all): Depend on include/iconv.h.build.in.
1718 (aclocal.m4): Depend on m4/visibility.m4.
1719 (include/iconv.h.build.in): New rule.
1720 * Makefile.in (install-lib, install): Install include/iconv.h.inst,
1721 not the include/iconv.h that was used for building.
1722 (distclean, maintainer-clean): Remove also include/iconv.h.inst.
1723 * lib/Makefile.in (CFLAGS): Add @CFLAG_VISIBILITY@.
1724 (DEFS): Also define BUILDING_LIBICONV and BUILDING_DLL.
1725 * lib/config.h.in (HAVE_VISIBILITY): New macro.
1726 * lib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
1727 Define to the gcc visibility attribute.
1728 * srclib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
1731 2005-07-25 Bruno Haible <bruno@clisp.org>
1733 2003-08-24 Bruno Haible <bruno@clisp.org>
1734 * lib/relocatable.h: Make this file includable in C++ mode: add extern
1737 2005-07-08 Bruno Haible <bruno@clisp.org>
1739 * Version 1.10 released.
1741 2005-07-08 Bruno Haible <bruno@clisp.org>
1743 * m4/libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
1744 executable after installing it.
1746 2005-07-08 Bruno Haible <bruno@clisp.org>
1748 * configure.in: Bump version number.
1749 * include/iconv.h.in (_LIBICONV_VERSION): Likewise.
1750 * windows/iconv.rc: Likewise.
1751 * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 5:0:3.
1753 2005-07-05 Bruno Haible <bruno@clisp.org>
1755 * Makefile.devel (ACLOCAL): New variable.
1756 (aclocal.m4): Use it.
1758 2005-07-05 Bruno Haible <bruno@clisp.org>
1760 * m4/relocatable.m4 (AC_RELOCATABLE): On mingw, simply set
1761 SET_RELOCATABLE to a trivial value.
1763 2004-08-08 Bruno Haible <bruno@clisp.org>
1765 * srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
1768 2004-04-28 Bruno Haible <bruno@clisp.org>
1770 * srclib/progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
1771 Treat Cygwin like Windows, since it now accepts Windows pathnames.
1773 2005-06-09 Bruno Haible <bruno@clisp.org>
1775 * Makefile.in (mkinstalldirs): Use build-aux/ instead of autoconf/.
1776 * lib/Makefile.in (mkinstalldirs): Likewise.
1777 * src/Makefile.in (mkinstalldirs): Likewise.
1778 * man/Makefile.in (mkinstalldirs): Likewise.
1780 2005-06-08 Bruno Haible <bruno@clisp.org>
1782 * srclib/canonicalize.c (__realpath): Avoid gcc warnings on platforms
1783 that don't support symbolic links.
1785 2005-06-08 Bruno Haible <bruno@clisp.org>
1787 * srclib/binary-io.h (fileno): Undefine before defining it. Avoids a
1788 gcc warning on mingw.
1790 2005-05-22 Bruno Haible <bruno@clisp.org>
1792 Implement and document BIG5-2003.
1793 * lib/big5_2003.h: New file.
1794 * lib/converters.h: Include it.
1795 * lib/encodings_extra.def (BIG5-2003): New encoding.
1796 * README, man/iconv_open.3: Add BIG5-2003.
1797 * tests/Makefile.in (check-extra-yes): Check BIG5-2003.
1798 * tests/BIG5-2003.TXT: New file.
1800 2005-05-21 Bruno Haible <bruno@clisp.org>
1802 Add EURO SIGN to EUC-TW converter.
1803 * lib/cns11643_1.h (cns11643_1_2uni_page42): Add entry for 0x14242.
1804 (cns11643_1_mbtowc): Update.
1805 * lib/cns11643_inv.h (cns11643_inv_2charset): Add entry for 0x20AC.
1806 (cns11643_inv_uni2indx_page*): Update.
1807 * lib/dec_hanyu.h (dec_hanyu_mbtowc, dec_hanyu_wctomb): Consider only
1809 * tests/EUC-TW.TXT: Add entry for 0x20AC.
1810 * tests/EUC-TW.IRREVERSIBLE.TXT: Likewise.
1812 2005-05-03 Bruno Haible <bruno@clisp.org>
1814 * tools/Makefile (ALL): Add pt154.h.
1815 (pt154.h): New rule.
1816 * lib/encodings.def: Add PT154.
1817 * lib/pt154.h: New file.
1818 * lib/converters.h: Include it.
1819 * README, man/iconv_open.3: Add PT154.
1820 * NOTES: Mention PT154.
1821 * tests/PT154.TXT: New file.
1822 * tests/Makefile.in (check): Also test PT154.
1823 * tests/Makefile.msvc (check): Likewise.
1824 * tests/Makefile.os2 (check): Likewise.
1826 2005-03-29 Bruno Haible <bruno@clisp.org>
1828 Rename libiconv_plug.so to preloadable_libiconv.so.
1829 * configure.in (PLUGLIB): Set to preloadable_libiconv.so instead of
1831 * lib/Makefile.in (preloadable_libiconv.so): Renamed from
1833 (preloadable_libiconv_linux.so): Renamed from libiconv_plug_linux.so.
1834 (preloadable_libiconv_solaris.so): Renamed from
1835 libiconv_plug_solaris.so.
1836 (preloadable_libiconv_osf.so): Renamed from libiconv_plug_osf.so.
1840 2005-03-29 Bruno Haible <bruno@clisp.org>
1842 Implement and document ATARIST.
1843 * tools/Makefile (ALL): Add atarist.h.
1844 (atarist.h): New rule.
1845 * lib/atarist.h: New file.
1846 * lib/converters.h: Include it.
1847 * lib/encodings_extra.def (ATARIST): New encoding.
1848 * README, man/iconv_open.3: Add ATARIST.
1849 * tests/Makefile.in (check-extra-yes): Check ATARIST.
1850 * tests/ATARIST.TXT: New file.
1852 2005-03-22 Bruno Haible <bruno@clisp.org>
1854 * build-aux: New directory, renamed from autoconf.
1855 * configure.in (AC_CONFIG_AUX_DIR): Use build-aux.
1857 2005-03-16 Bruno Haible <bruno@clisp.org>
1859 * m4/stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1860 HAVE_LONGLONG_64BIT.
1861 * srclib/stdint_.h: Use HAVE_LONG_LONG_64BIT instead of
1862 HAVE_LONGLONG_64BIT.
1863 * srclib/Makefile.am (stdint.h): Likewise.
1865 2005-03-14 Bruno Haible <bruno@clisp.org>
1867 * Makefile.devel (aclocal.m4): Depend also on allocsa.m4, eealloc.m4,
1868 extensions.m4, intmax.m4, inttypes.m4, longdouble.m4, longlong.m4,
1869 printf-posix.m4, readlink.m4, signed.m4, ssize_t.m4, stdint.m4,
1870 wchar_t.m4, wint_t.m4.
1872 2005-03-13 Bruno Haible <bruno@clisp.org>
1874 Make stdout error checking reliable, also when writing to a NFS file.
1875 * src/iconv.c (main): Check the return value of fclose(stdout).
1876 * lib/genaliases.c (main): Likewise.
1877 * lib/genaliases2.c (main): Likewise.
1878 * lib/genflags.c (main): Likewise.
1879 * lib/gentranslit.c (main): Likewise.
1880 * tests/genutf8.c (main): Likewise.
1881 * tests/table-from.c (main): Likewise.
1882 * tests/table-to.c (main): Likewise.
1884 2005-03-13 Bruno Haible <bruno@clisp.org>
1886 * src/iconv.c (convert): Before outputting an error message, flush
1887 stdout and output a newline if suitable.
1889 2005-03-13 Bruno Haible <bruno@clisp.org>
1891 Improved error messages.
1892 * srclib/width.c: New file, from GNU clisp.
1893 * srclib/uniwidth.h: New file, from GNU clisp with modifications.
1894 * srclib/unitypes.h: New file, from GNU clisp with modifications.
1895 * srclib/cjk.h: New file, from GNU clisp.
1896 * srclib/streq.h: New file, from GNU clisp.
1897 * srclib/stdint_.h: New file, from gnulib.
1898 * m4/stdint.m4: New file, from gnulib.
1899 * m4/inttypes.m4: New file, from gnulib.
1900 * srclib/Makefile.am: Add gnulib module 'stdint' snippet.
1901 (BUILT_SOURCES): New variable.
1902 (libicrt_a_SOURCES): Add width.c, uniwidth.h, unitypes.h, cjk.h,
1904 * configure.in: Invoke gl_STDINT_H.
1905 * src/iconv.c: Include cjk.h, uniwidth.h.
1906 (line, column, cjkcode): New variables.
1907 (update_line_column): New function.
1908 (convert): Initialize line and column. In all error message, show also
1909 the line and column number.
1910 (main): Initialize cjkcode. Set up hooks to call update_line_column.
1912 2005-03-13 Bruno Haible <bruno@clisp.org>
1914 * include/iconv.h.in (iconv_canonicalize): New declaration.
1915 * lib/genaliases.c (emit_encoding): Take two output streams as
1916 arguments. To the second stream, emit a shell command for extracting
1917 offsets into the gperf generated string pool.
1918 (main): Write the shell commands into file descriptors 3 and 4.
1919 * lib/genaliases2.c (emit_encoding): Take two output streams as
1920 arguments. To the second stream, emit an expression for the offset
1921 into the string pool.
1922 (main): Write the offsets into file descriptor 3.
1923 * Makefile.devel (lib/aliases.gperf): Remove target.
1924 (lib/aliases.h): Generate lib/aliases.gperf temporarily. Generate also
1925 lib/canonical.h and lib/canonical_local.h.
1926 (lib/aliases_aix.h): Generate also lib/canonical_aix.h.
1927 (lib/aliases_osf1.h): Generate also lib/canonical_osf1.h.
1928 (lib/aliases_dos.h): Generate also lib/canonical_dos.h.
1929 (lib/aliases_extra.h): Generate also lib/canonical_extra.h.
1930 * lib/iconv.c (stringpool2): Provide default definition when it doesn't
1932 (all_canonical): New array.
1933 (iconv_canonicalize): New function.
1935 2005-03-13 Bruno Haible <bruno@clisp.org>
1937 * include/iconv.h.in (iconv_unicode_char_hook, iconv_wide_char_hook,
1938 iconv_hooks): New types.
1939 (ICONV_SET_HOOKS): New macro.
1940 * lib/converters.h (struct conv_struct): Add field 'hooks'.
1941 * lib/iconv.c (iconv_open): Initialize hooks to NULL.
1942 (iconvctl): Handle ICONV_SET_HOOKS.
1943 * lib/loop_unicode.h (unicode_loop_convert, unicode_loop_reset): After
1944 conversion of a character, call the uc_hook.
1945 * lib/loop_wchar.h (wchar_id_loop_convert): After every character, call
1947 * lib/genflags.c (iconv_hooks): Provide a dummy definition.
1949 2005-02-05 Bruno Haible <bruno@clisp.org>
1951 * src/iconv.c (main): In case of unsupported encodings, show a hint
1954 2005-01-06 Bruno Haible <bruno@clisp.org>
1956 * lib/Makefile.msvc (CFLAGS): Define also INSTALLPREFIX.
1957 * lib/Makefile.vms (DEFS): Likewise.
1958 Reported by Troels Walsted Hansen <Troels.W.Hansen@fast.no>.
1960 2005-01-05 Bruno Haible <bruno@clisp.org>
1962 * autoconf/config.rpath: Update from GNU gettext.
1964 2005-01-05 Bruno Haible <bruno@clisp.org>
1966 Assume automake-1.9.
1967 * Makefile.devel (AUTOMAKE): Assume automake-1.9.
1969 2005-01-05 Bruno Haible <bruno@clisp.org>
1971 * m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.10.
1972 * autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.10.
1974 2004-11-11 Bruno Haible <bruno@clisp.org>
1976 * lib/iconv.c (iconv_open): Accept the suffixes //TRANSLIT and //IGNORE
1978 Reported by Lukas Gebauer <gebauerl@mlp.cz>.
1980 2004-09-21 Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>
1982 * djgpp/config.bat: Update.
1983 * djgpp/config.sed: Update.
1984 * djgpp/config.site: Update.
1985 * djgpp/edtest.bat: Update.
1986 * djgpp/fnchange.in: Update.
1987 * djgpp/Makefile.maint: Update.
1988 * djgpp/makefile.sed: Update.
1989 * djgpp/README.in: Update.
1990 * djgpp/sources.sed: Update.
1991 * djgpp/translit-check.sed: Update.
1993 2004-08-25 Bruno Haible <bruno@clisp.org>
1995 * m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.6.
1996 * autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.6.
1998 2004-07-31 Bruno Haible <bruno@clisp.org>
2000 Update to JISX 0213 plane 1 to 2004 version (ISO-IR-233).
2001 * tools/Makefile (jisx0213.h): Bump version number.
2002 * tools/JISX0213.TXT: Change mappings U+2015 -> U+2014,
2003 U+2299 -> U+29BF, and add 10 new characters.
2004 * tools/cjk_tab_to_h.c (output_title): Bump year.
2005 (do_jisx0213): Update comments. Emit a conditional 'inline'.
2006 * lib/jisx0213.h: Regenerated.
2007 * lib/iso2022_jp3.h (iso2022_jp3_mbtowc): Accept escape sequence
2008 ESC $ ( Q as a synonym of ESC $ ( O.
2009 (iso2022_jp3_wctomb): Emit ESC $ ( Q instead of ESC $ ( O.
2010 * tests/EUC-JISX0213.TXT: Change mappings U+2015 -> U+2014,
2011 U+2299 -> U+29BF, and add 10 new characters.
2012 * tests/SHIFT_JISX0213.TXT: Likewise.
2013 * tests/ISO-2022-JP-3-snippet: Update.
2014 * tests/ISO-2022-JP-3-snippet.UTF-8: Update.
2016 2004-07-22 Bruno Haible <bruno@clisp.org>
2018 * lib/encodings.def (ISO-8859-7): Add alias ISO_8859-7:2003.
2019 * tools/Makefile (iso8859_7.h): Use conversion table from 2003.
2020 * lib/iso8859_7.h: Add mappings for 0xa4, 0xa5, 0xaa.
2021 * tests/ISO-8859-7.TXT: Update to ISO_8859-7:2003.
2023 2004-07-22 Bruno Haible <bruno@clisp.org>
2025 * tools/Makefile (ALL): Add iso8859_11.h.
2026 (iso8859_11.h): New rule.
2027 * lib/encodings.def: Add ISO-8859-11.
2028 * lib/iso8859_11.h: New file.
2029 * lib/converters.h: Include it.
2030 * tests/ISO-8859-11.TXT: New file.
2031 * tests/Makefile.in (check): Also test ISO-8859-11.
2032 * tests/Makefile.msvc (check): Likewise.
2033 * tests/Makefile.os2 (check): Likewise.
2035 2004-07-17 Bruno Haible <bruno@clisp.org>
2037 * src/iconv.c (main): Terminate option parsing when option -- is seen.
2038 Reported by Len Lattanzi <zardoz@users.sourceforge.net>.
2040 2004-03-05 Bruno Haible <bruno@clisp.org>
2042 * src/Makefile.in (install): Make DESTDIR work on HP-UX.
2043 Reported by Bob Proulx <box@proulx.com>.
2045 2004-02-19 Bruno Haible <bruno@clisp.org>
2047 * lib/vietcomb.h (viet_comp_table_data): Un-uncomment 0x00D5, 0x00F5,
2048 0x0168, 0x0169. Needed for TCVN-5712 but not for CP1258.
2049 (viet_comp_table0301_len): Increment by 4.
2051 * lib/cp1255.h (cp1255_mbtowc): Don't delay the handling of characters
2052 which are not entries in cp1255_comp_table_data.
2053 * lib/cp1258.h (cp1258_comp_bases): New array.
2054 (cp1258_mbtowc): Don't delay the handling of characters which are not
2055 relevant entries in viet_comp_table_data.
2056 * lib/tcvn.h (tcvn_comp_bases): New array.
2057 (tcvn_mbtowc): Don't delay the handling of characters which are not
2058 relevant entries in viet_comp_table_data.
2059 Reported by Alain Bench <veronatif@free.fr>.
2061 2004-02-02 Perry Rapp <lifelines_3_0_18@hotmail.com>
2062 Bruno Haible <bruno@clisp.org>
2064 * man/iconvctl.3: New file.
2065 * man/iconv.3: Refer to it in "See also".
2066 * man/iconv_open.3: Likewise.
2068 2004-01-24 Bruno Haible <bruno@clisp.org>
2070 * srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
2073 2004-01-20 Bruno Haible <bruno@clisp.org>
2075 Upgrade from gettext-0.14.
2077 * configure.in: Call gl_USE_SYSTEM_EXTENSIONS. Call AM_STDBOOL_H
2078 instead of gt_STDBOOL_H. Provide a definition for DLL_VARIABLE.
2079 * srclib/Makefile.am (libicrt_a_SOURCES): Add allocsa.h, allocsa.c,
2080 xalloc.h. Remove xmalloc.h.
2081 (libicrt_a_LIBADD): Remove @ALLOCA@.
2082 * srclib/Makefile.msvc (OBJECTS): Add allocsa.obj.
2083 (allocsa.obj): New rule.
2084 * srclib/Makefile.vms (OBJECTS): Add allocsa.obj.
2085 (allocsa.obj): New rule.
2086 * Makefile.devel (config.h_vms): Set MALLOC_0_IS_NONNULL to 0.
2087 (config.h.msvc): Set MALLOC_0_IS_NONNULL to 1.
2091 2003-10-09 Bruno Haible <bruno@clisp.org>
2092 * lib/relocatable.c: Include xalloc.h instead of xmalloc.h.
2094 2003-08-01 Bruno Haible <bruno@clisp.org>
2095 * lib/relocatable.c (find_shared_library_fullname): Disable the code on
2096 Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2098 2003-06-22 Bruno Haible <bruno@clisp.org>
2099 * lib/relocatable.c (compute_curr_prefix): Comment out this function in
2100 the case when it is not used.
2101 Reported by Pavel Roskin <proski@gnu.org>.
2105 * m4/gettext.m4: Upgrade from GNU gettext. Many changes.
2106 * m4/po.m4: Likewise.
2108 * m4/readlink.m4: New file, from GNU gettext.
2110 2003-11-30 Bruno Haible <bruno@clisp.org>
2111 * m4/allocsa.m4: New file.
2112 * m4/eealloc.m4: New file.
2113 * m4/setenv.m4 (gl_PREREQ_SETENV): Require gl_ALLOCSA instead of
2116 2003-10-21 Bruno Haible <bruno@clisp.org>
2117 * m4/canonicalize.m4 (gl_PREREQ_CANONICALIZE): Also test for
2120 2003-08-24 Bruno Haible <bruno@clisp.org>
2121 * m4/relocatable.m4 (AC_RELOCATABLE): Use $(host) instead of @host@,
2122 since the substitution of @host@ may occur before the substitution of
2125 2003-08-23 Bruno Haible <bruno@clisp.org>
2126 * stdbool.m4: Replace with the version from gnulib, without
2129 2003-08-08 Paul Eggert <eggert@twinsun.com>
2130 * m4/extensions.m4: New file.
2131 * m4/unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2132 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2134 2003-07-01 Bruno Haible <bruno@clisp.org>
2135 * m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>.
2136 <sys/types.h> should be sufficient.
2137 Reported by Paul Eggert.
2139 2003-07-01 Bruno Haible <bruno@clisp.org>
2140 * m4/lib-prefix.m4 (AC_LIB_ARG_WITH): Avoid "duplicated macro" error
2141 from aclocal-1.4-p4.
2142 Reported by Luke Schierer <lschiere@rackspace.com> and
2143 Michael C. Toren <mct@toren.net>.
2145 2003-07-01 Paul Eggert <eggert@twinsun.com>
2146 * m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2147 xreadlink.c now includes it unconditionally.
2149 2003-06-17 Paul Eggert <eggert@twinsun.com>
2150 * m4/lib-ld.m4 (AC_LIB_PROG_LD_GNU, AC_LIB_PROG_LD): Don't use egrep,
2151 for portability to POSIX 1003.1-2001. Backported from libtool-1.5.
2153 2003-05-28 Paul Eggert <eggert@twinsun.com>
2154 * m4/pathmax.m4 (gl_PATHMAX): Don't check for limits.h.
2155 * m4/xreadlink.m4 (gl_XREADLINK): Likewise.
2157 2002-12-24 Bruno Haible <bruno@clisp.org>
2158 * m4/setenv.m4 (gt_FUNC_SETENV): New macro.
2159 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
2161 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
2166 2003-11-30 Bruno Haible <bruno@clisp.org>
2167 * srclib/alloca.c: Remove file.
2169 2003-11-30 Bruno Haible <bruno@clisp.org>
2170 Safer stack allocation.
2171 * srclib/allocsa.h: New file.
2172 * srclib/allocsa.c: New file.
2173 * canonicalize.c: Include allocsa.h.
2174 (__realpath): Use allocsa instead of alloca. Don't clobber errno right
2175 before returning NULL.
2176 * srclib/relocwrapper.c: Indirectly depends on allocsa.
2177 * srclib/setenv.c: Include allocsa.h.
2178 (alloca): Remove fallback definition.
2179 (freea): Remove macro.
2180 (__add_to_environ) [!_LIBC]: Use allocsa instead of alloca. Use freesa
2183 2003-11-17 Bruno Haible <bruno@clisp.org>
2184 * srclib/canonicalize.c: #undef realpath after <config.h> but before
2185 the system includes, so as to avoid a prototype clash on Solaris 2.5.1.
2186 Reported by Warren L. Dodge <warrend@mdhost.cse.tek.com>.
2188 2003-10-21 Bruno Haible <bruno@clisp.org>
2189 * srclib/canonicalize.c (lstat): Define as an alias to 'stat' on
2190 systems without symbolic links.
2192 2003-10-17 Bruno Haible <bruno@clisp.org>
2193 * srclib/binary-io.h: Avoid warnings on Cygwin.
2195 2003-10-09 Bruno Haible <bruno@clisp.org>
2196 * srclib/xalloc.h: Renamed from xmalloc.h.
2197 * srclib/progreloc.c: Include xalloc.h instead of xmalloc.h.
2198 * srclib/relocatable.c: Likewise.
2199 * srclib/xmalloc.c: Likewise.
2200 * srclib/xreadlink.c: Likewise.
2201 * srclib/xstrdup.c: Likewise.
2203 2003-09-12 Paul Eggert <eggert@twinsun.com>
2204 * srclib/progreloc.c (get_full_program_name): Define via prototype.
2206 2003-09-12 Paul Eggert <eggert@twinsun.com>
2207 * srclib/setenv.c (clearenv): Define via prototype.
2209 2003-09-10 Bruno Haible <bruno@clisp.org>
2210 * srclib/setenv.c: Include <stdlib.h> and <string.h> unconditionally.
2211 * srclib/unsetenv.c: Likewise.
2213 2003-08-28 Bruno Haible <bruno@clisp.org>
2214 * srclib/binary-io.h: Undefine O_BINARY before defining it. This avoids
2215 a warning on QNX, which defines O_BINARY to 000000.
2217 2003-08-24 Bruno Haible <bruno@clisp.org>
2218 * srclib/binary-io.h: Include <stdio.h>, to avoid a compilation error
2219 when MSVC7 <stdio.h> is included later.
2221 2003-08-24 Bruno Haible <bruno@clisp.org>
2222 * srclib/error.h: Use ANSI C "..." declarations when compiling with
2223 MSVC, even though it doesn't define __STDC__ by default.
2224 * srclib/error.c: Use <stdarg.h> when compiling with MSVC, even though
2225 it doesn't define __STDC__ by default.
2227 2003-08-24 Bruno Haible <bruno@clisp.org>
2228 Support for building DLLs on Windows.
2229 * srclib/error.h (error_print_progname, error_message_count,
2230 error_one_per_line): Add DLL_VARIABLE attribute.
2231 * srclib/progname.h (program_name): Likewise.
2233 2003-08-24 Bruno Haible <bruno@clisp.org>
2234 * srclib/progname.h: Make this file includable in C++ mode: add extern
2236 * srclib/relocatable.h: Likewise.
2237 * srclib/xmalloc.h: Likewise.
2239 2003-08-22 Bruno Haible <bruno@clisp.org>
2240 * srclib/progname.h (error_with_progname, maybe_print_progname): Remove
2242 * srclib/progname.c (error_with_progname): Remove variable.
2243 (maybe_print_progname): Remove function.
2245 2003-08-01 Bruno Haible <bruno@clisp.org>
2246 * srclib/relocatable.c (find_shared_library_fullname): Disable the code
2247 on Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2249 2003-07-01 Paul Eggert <eggert@twinsun.com>
2250 * srclib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
2251 having it depend on HAVE_SYS_TYPES_H.
2253 2003-06-23 Bruno Haible <bruno@clisp.org>
2254 Avoid compilation units that are empty after preprocessing.
2255 * srclib/canonicalize.c: Add dummy declaration.
2256 * srclib/strerror.c: Likewise.
2257 * srclib/error.c: Include <stdio.h> even if there's nothing to be
2260 2003-06-22 Bruno Haible <bruno@clisp.org>
2261 * srclib/relocatable.c (compute_curr_prefix): Comment out this function
2262 in the case when it is not used.
2263 Reported by Pavel Roskin <proski@gnu.org>.
2265 2003-05-28 Paul Eggert <eggert@twinsun.com>
2266 * srclib/pathmax.h: Include <limits.h> without checking for
2268 * srclib/xreadlink.c: Likewise.
2270 2004-01-20 Bruno Haible <bruno@clisp.org>
2272 Assume automake-1.8.
2273 * Makefile.devel (AUTOCONF, AUTOHEADER): Assume autoconf-2.59.
2274 (AUTOMAKE): Assume automake-1.8.
2275 * Makefile.in (am--refresh): New target.
2277 2004-01-23 Bruno Haible <bruno@clisp.org>
2279 * Version 1.9.2 released.
2281 2004-01-23 Bruno Haible <bruno@clisp.org>
2283 * tests/table-from.c: Include binary-io.h.
2284 (main): Switch stdout to binary mode.
2285 * tests/table-to.c: Include binary-io.h.
2286 (main): Switch stdout to binary mode.
2287 * tests/genutf8.c: Include binary-io.h.
2288 (main): Switch stdout to binary mode.
2289 * tests/Makefile.in (INCLUDES): Also look in srclib.
2290 (check): Pass INCLUDES when compiling genutf8.c.
2291 * tests/Makefile.os2 (INCLUDES): Also look in srclib.
2292 (genutf8.exe): Pass INCLUDES when compiling genutf8.c.
2293 * tests/Makefile.msvc (INCLUDES): Also look in srclib.
2294 (check): Pass INCLUDES when compiling genutf8.c.
2296 2004-01-21 Bruno Haible <bruno@clisp.org>
2298 * src/iconv.c (force_binary): Remove variable.
2299 (usage): Don't document --binary any more.
2300 (convert, main): Always switch to binary mode.
2301 * tests/check-stateful.bat: Remove --binary option.
2302 * tests/check-translit.bat: Likewise.
2303 * tests/check-stateful.cmd: Likewise.
2304 * tests/check-translit.cmd: Likewise.
2305 * djgpp/stateful-check.sed: Remove MODE variable.
2306 * djgpp/translit-check.sed: Likewise.
2308 2004-01-21 Bruno Haible <bruno@clisp.org>
2310 * man/iconv.3: Fix description of return value in case of error.
2311 Reported by Jonathan Wakely <redi@users.sf.net>.
2313 2003-09-12 Paul Eggert <eggert@twinsun.com>
2315 * srclib/progreloc.c (get_full_program_name): Define via prototype.
2317 2003-08-15 Bruno Haible <bruno@clisp.org>
2319 * Makefile.devel (lib/translit.h): Add ulimit command so that the
2320 gentranslit program gets the stack it needs. Many Linux distributions
2321 allow only 8 MB of stack by default.
2323 2003-08-01 Bruno Haible <bruno@clisp.org>
2325 * lib/relocatable.c (find_shared_library_fullname): Disable the code on
2327 * srclib/relocatable.c (find_shared_library_fullname): Likewise.
2328 Reported by Alain Guibert <derogaton+bgli@oreka.com>.
2330 2003-07-02 Bruno Haible <bruno@clisp.org>
2332 * m4/lib-ld.m4: Update from GNU gettext.
2333 * m4/lib-prefix.m4: Update from GNU gettext.
2334 * m4/gettext.m4: Update from GNU gettext.
2335 * m4/intmax.m4: New file, from GNU gettext.
2336 * m4/longdouble.m4: New file, from GNU gettext.
2337 * m4/longlong.m4: New file, from GNU gettext.
2338 * m4/printf-posix.m4: New file, from GNU gettext.
2339 * m4/signed.m4: New file, from GNU gettext.
2340 * m4/wchar_t.m4: New file, from GNU gettext.
2341 * m4/wint_t.m4: New file, from GNU gettext.
2342 * m4/pathmax.m4: Update from GNU gettext and gnulib.
2343 * m4/ssize_t.m4: Update from GNU gettext and gnulib.
2344 * m4/xreadlink.m4: Update from GNU gettext and gnulib.
2345 * m4/readlink.m4: New file, from gnulib.
2346 * autoconf/install-reloc: Update from GNU gettext.
2347 * srclib/stdbool_.h: Renamed from srclib/stdbool.h.in.
2348 * srclib/readlink.c: New file, from GNU gettext and gnulib.
2349 * srclib/Makefile.am (LIBADD_SOURCE): Add readlink.c.
2350 (EXTRA_DIST, stdbool.h): Use stdbool_.h instead of stdbool.h.in.
2351 * configure.in: Invoke gl_FUNC_READLINK.
2353 2003-06-22 Bruno Haible <bruno@clisp.org>
2355 * src/Makefile.in (install): Link with the already installed library.
2356 This fixes a link error on Solaris.
2357 Reported by Paul Eggert.
2359 2003-06-08 Bruno Haible <bruno@clisp.org>
2361 * srclib/canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd.
2363 2003-05-02 Bruno Haible <bruno@clisp.org>
2365 Support for libtool-1.5.
2366 * srclib/progname.c (set_program_name): Remove a leading
2367 "<dirname>/.libs/lt-" or "<dirname>/.libs/", not only "lt-".
2369 2003-06-23 Bruno Haible <bruno@clisp.org>
2371 Avoid compilation units that are empty after preprocessing.
2372 * srclib/canonicalize.c: Add dummy declaration.
2373 * srclib/strerror.c: Likewise.
2374 * srclib/error.c: Include <stdio.h> even if there's nothing to be
2377 2003-06-22 Bruno Haible <bruno@clisp.org>
2379 Portability to mingw32.
2380 * m4/ssize_t.m4: New file, from GNU gettext.
2381 * m4/xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2382 Reported by Jeff Bonggren <jbon@cfl.rr.com>.
2384 2003-06-22 Bruno Haible <bruno@clisp.org>
2386 Portability to mingw32.
2387 * lib/relocatable.c [WIN32]: Include <windows.h>.
2388 * srclib/relocatable.c: Likewise.
2389 Reported by Jeff Bonggren <jbon@cfl.rr.com>.
2391 2003-06-22 Bruno Haible <bruno@clisp.org>
2393 * lib/relocatable.c (compute_curr_prefix): Comment out this function in
2394 the case when it is not used.
2395 * srclib/relocatable.c (compute_curr_prefix): Likewise.
2396 Reported by Pavel Roskin <proski@gnu.org>.
2398 2003-06-18 Bruno Haible <bruno@clisp.org>
2400 * config/install-sh: Update from automake-1.7.5.
2402 2003-06-16 Bruno Haible <bruno@clisp.org>
2404 * lib/encodings.def (ISO-8859-15): Add alias LATIN-9.
2405 (ISO-8859-16): Add aliases ISO_8859-16:2001, LATIN10, L10. Remove alias
2407 (GBK): Add aliases MS936, WINDOWS-936.
2408 Reported by Guido Flohr <guido@imperia.net>.
2410 2003-05-09 Bruno Haible <bruno@clisp.org>
2412 * srclib/canonicalize.c: Add #ifdef around versioned_symbol. Avoids an
2413 "extraneous semicolon" warning from Tru64 cc.
2415 2003-06-07 Bruno Haible <bruno@clisp.org>
2417 * Makefile.devel (config.h_vms): Don't define HAVE_ENVIRON_DECL.
2418 * Makefile.vms (config.h): New rule.
2419 (all, install): Depend on it.
2420 (all, install, installdirs, uninstall, check): Fix typo.
2421 (mostlyclean, clean, distclean, maintainer-clean): Likewise. Remove
2423 * lib/Makefile.vms (DEFS): Fix value of INSTALLDIR.
2424 (OBJECTS): Use libiconv.obj instead of iconv.obj.
2425 (libiconv.obj): Renamed from iconv.obj.
2426 * srclib/Makefile.vms (INCLUDES): Add parent directory.
2427 (OBJECTS): Remove strtoul.obj, setenv.obj, unsetenv.obj.
2428 (strtoul.obj, setenv.obj, unsetenv.obj): Remove rules.
2429 (alloca.h): New rule.
2430 (canonicalize.obj): Depend on it.
2431 (clean): Remove alloca.h.
2432 * src/Makefile.vms (datadir, localedir): New variables.
2433 (DEFS): Also define LOCALEDIR.
2434 (iconv.obj): Add flags for relocatability,
2435 (iconv.exe): Link with libicrt. Use link_options.
2436 * vms/link_options.opt: New file.
2437 Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
2439 2003-06-07 Bruno Haible <bruno@clisp.org>
2441 Support for relocatable data files even on Woe32.
2442 * lib/Makefile.msvc (PICFLAGS): Also define PIC.
2444 2003-05-22 Bruno Haible <bruno@clisp.org>
2446 * Version 1.9.1 released.
2448 2003-05-22 Bruno Haible <bruno@clisp.org>
2450 * lib/genaliases.c (main): Emit %pic instead of %null-strings.
2451 Change type of 'name' field to 'int'.
2452 * lib/genaliases2.c (emit_encoding): Add a 'tag' argument. Emit an
2453 invocation of macro S(), including the tag and a counter.
2454 (main): Use the command-line argument as tag.
2455 * Makefile.devel (lib/aliases_aix.h, lib/aliases_osf1.h,
2456 lib/aliases_dos.h, lib/aliases_extra.h): Pass a tag to the program.
2457 * lib/iconv.c (stringpool2_t): New type.
2458 (stringpool2_contents): New data table.
2459 (stringpool2): New macro.
2460 (sysdep_aliases): Make position-independent. Move #includes out to
2462 (aliases2_lookup): Update.
2464 (compare_by_index): Use 'struct nalias' instead of 'struct alias'.
2465 (iconvlist): Convert 'struct alias' to 'struct nalias' while copying.
2466 * lib/aliases2.h: New file, extracted from lib/iconv.c.
2468 2003-05-20 Bruno Haible <bruno@clisp.org>
2470 * lib/iconv.c (iconvlist): Test p->name against NULL, not against "".
2471 Reported by Muraoka Taro <koron@tka.att.ne.jp>.
2473 2003-05-19 Bruno Haible <bruno@clisp.org>
2475 * windows/iconv.rc: Include <winver.h>.
2476 Reported by Perry Rapp.
2478 2003-05-18 Bruno Haible <bruno@clisp.org>
2480 * Version 1.9 released.
2482 2003-05-18 Bruno Haible <bruno@clisp.org>
2484 * lib/Makefile.in (libiconv_plug_osf.so): Avoid using LIBTOOL_LINK.
2486 2003-05-18 Bruno Haible <bruno@clisp.org>
2488 * lib/Makefile.msvc (DEBUGFLAGS): New variable.
2489 (iconv.lib): Use it.
2490 * src/Makefile.msvc (DEBUGFLAGS): New variable.
2491 * tests/Makefile.msvc (DEBUGFLAGS): New variable.
2493 2003-05-17 Bruno Haible <bruno@clisp.org>
2495 * src/Makefile.msvc (libdir, datadir, localedir): New variables.
2496 (IIlibdir, IIdatadir, IIlocaledir): New variables.
2497 (CFLAGS): Define LOCALEDIR.
2498 (iconv_no_i18n.exe): New rule.
2499 (all): Depend on it.
2500 * tests/check-stateful.bat: Invoke iconv_no_i18n instead of iconv.
2501 * tests/check-translit.bat: Likewise.
2503 2003-05-16 Bruno Haible <bruno@clisp.org>
2505 * lib/genaliases.c (main): Emit declarations for gperf-3.0.
2506 * Makefile.devel (lib/aliases.h): Remove gperf command line options;
2507 add new option "-m 10" for gperf-3.0.
2509 2003-05-12 Bruno Haible <bruno@clisp.org>
2511 * m4/error.m4: Update from gettext.
2513 2003-05-12 Bruno Haible <bruno@clisp.org>
2515 * configure.in: Invoke AC_GNU_SOURCE and jm_FUNC_GLIBC_UNLOCKED_IO.
2517 2003-05-12 Bruno Haible <bruno@clisp.org>
2519 * lib/Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
2522 2003-05-09 Bruno Haible <bruno@clisp.org>
2524 * srclib/error.c: Update from gnulib with modifications.
2525 * srclib/unlocked-io.h: New file, from gnulib.
2526 * m4/strerror_r.m4: New file, from gnulib.
2527 * m4/unlocked-io.m4: New file, from gnulib.
2528 * Makefile.devel (aclocal.m4): Depend on them.
2530 2003-05-08 Bruno Haible <bruno@clisp.org>
2532 * Makefile.msvc (IIPREFIX): New variable.
2533 * srclib/Makefile.msvc (INCLUDES): Add -I..\windows.
2534 * src/Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir,
2535 IIincludedir): New variables.
2536 (INCLUDES): Add -I..\windows.
2537 (iconv.exe): Define INSTALLPREFIX and INSTALLDIR. Link with
2539 Patches by Perry Rapp.
2541 2003-05-07 Bruno Haible <bruno@clisp.org>
2543 * README.woe32: Fix instructions for step 1.
2544 * srclib/Makefile.msvc (OBJECTS): Remove strtoul.obj.
2545 (strtoul.obj): Remove rule.
2546 Reported by Perry Rapp.
2548 2003-05-07 Bruno Haible <bruno@clisp.org>
2550 * Makefile.vms: New file.
2551 * lib/Makefile.vms: New file.
2552 * srclib/Makefile.vms: New file.
2553 * src/Makefile.vms: New file.
2554 * man/Makefile.vms: New file.
2555 * tests/Makefile.vms: New file.
2556 * Makefile.devel (config.h_vms, lib/config.h_vms, include/iconv.h_vms):
2558 (all): Depend on them.
2560 2003-05-07 Bruno Haible <bruno@clisp.org>
2562 * srclib/Makefile.msvc (OBJECTS): Remove findprog.obj.
2563 (findprog.obj): Remove rule.
2564 * src/Makefile.msvc (includedir): New variable.
2566 2003-05-06 Bruno Haible <bruno@clisp.org>
2568 * lib/translit.def: Upgrade to Unicode 4.0.
2570 2003-05-06 Bruno Haible <bruno@clisp.org>
2572 * srclib/Makefile.am (DEFS): Fix spelling of DEPENDS_ON_LIBICONV.
2573 * srclib/Makefile.msvc (CFLAGS): Likewise.
2575 * srclib/Makefile.msvc (INCLUDES): Add -I.. .
2576 Reported by Perry Rapp.
2578 * Makefile.msvc (config.h): New rule.
2579 (all): Depend on it.
2580 (mostlyclean, clean, distclean, maintainer-clean): Erase config.h.
2581 Reported by Perry Rapp.
2583 2003-05-06 Bruno Haible <bruno@clisp.org>
2585 * autoconf/config.guess: Update to GNU version 2003-02-22.
2586 * autoconf/config.sub: Likewise.
2588 2003-05-06 Bruno Haible <bruno@clisp.org>
2590 * m4/lib-link.m4: Update from GNU gettext.
2591 * autoconf/config.rpath: Update from GNU gettext.
2593 * m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.
2594 * autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.
2596 * m4/gettext.m4: Update from GNU gettext.
2597 * m4/nls.m4: Update from GNU gettext.
2598 * m4/po.m4: Update from GNU gettext.
2599 * Makefile.devel (aclocal.m4): Depend on m4/nls.m4 and m4/po.m4.
2601 2003-04-12 Bruno Haible <bruno@clisp.org>
2603 Support for OpenVMS 7.3.
2604 * lib/iconv.c (USE_OSF1): Define also on VMS.
2606 2003-04-12 Bruno Haible <bruno@clisp.org>
2608 Better support for FreeBSD.
2609 * lib/encodings.def (ISO8859-{1,2,3,4,5,6,7,8,9,10,13,14,15,16): New
2610 aliases, for compatibility with earlier FreeBSD iconv implementation
2611 by Konstantin Chuguev.
2612 * lib/iconv.c (iconv_open, iconv, iconv_close) [FreeBSD]: Define as
2614 * src/Makefile.in (install) [FreeBSD]: Avoid installation problem.
2616 2003-04-12 Bruno Haible <bruno@clisp.org>
2618 * configure.in (mandir): Change default value.
2619 * Makefile.in (datadir): New variable.
2620 (install, installdirs, uninstall): Pass datadir to po and man
2622 * Makefile.os2 (datadir): New variable.
2623 (mandir): Use it instead of prefix.
2624 (install, uninstall): Pass datadir to man directory.
2625 * Makefile.msvc (mandir, docdir): Use datadir instead of prefix.
2626 * man/Makefile.in (datadir): New variable.
2627 (docdir): Use it instead of prefix.
2628 (install, installdirs): Update.
2629 * man/Makefile.os2 (datadir): New variable.
2630 (mandir): Use it instead of prefix.
2631 * man/Makefile.msvc (datadir): New variable.
2632 (mandir, docdir): Use it instead of prefix.
2633 (install, installdirs): Update.
2635 2003-04-06 Bruno Haible <bruno@clisp.org>
2637 Make it possible to build with or without libintl support on Woe32.
2638 * Makefile.devel (config.h.msvc): Remove ENABLE_NLS.
2639 * Makefile.msvc (NO_NLS): New variable.
2640 * srclib/Makefile.msvc (NO_NLS): New variable.
2641 (CFLAGS, INCLUDES): Use them.
2642 * src/Makefile.msvc (NO_NLS): New variable.
2643 (NLSFLAGS, INCINTL, LIBINTL): New variables.
2644 (CFLAGS, INCLUDES, iconv.exe): Use them.
2646 2003-04-12 Bruno Haible <bruno@clisp.org>
2648 * lib/loop_unicode.h (unicode_transliterate): When the Hangul or
2649 variants transliteration failed with RET_ILUNI, don't return
2651 Reported by the FreeBSD porters.
2653 2003-04-06 Bruno Haible <bruno@clisp.org>
2655 * srclib/binary-io.h: New file, from GNU gettext.
2656 * src/iconv.c: Include it.
2657 (O_BINARY, O_TEXT, SET_BINARY): Remove definitions.
2659 2003-04-05 Bruno Haible <bruno@clisp.org>
2661 Support for relocatable installation.
2662 * m4/alloca.m4: New file, from GNU gettext.
2663 * m4/canonicalize.m4: New file, from GNU gettext.
2664 * m4/error.m4: New file, from GNU gettext.
2665 * m4/onceonly.m4: New file, from GNU gettext.
2666 * m4/pathmax.m4: New file, from GNU gettext.
2667 * m4/relocatable.m4: New file, from GNU gettext.
2668 * m4/setenv.m4: New file, from GNU gettext.
2669 * m4/stdbool.m4: New file, from GNU gettext.
2670 * m4/strerror.m4: New file, from GNU gettext.
2671 * m4/xreadlink.m4: New file, from GNU gettext.
2672 * autoconf/config.libpath: New file, from GNU gettext.
2673 * autoconf/install-reloc: New file, from GNU gettext.
2674 * autoconf/reloc-ldflags: New file, from GNU gettext.
2675 * autoconf/missing: New file, from GNU automake 1.7.3.
2676 * lib/relocatable.h: New file, from GNU gettext.
2677 * lib/relocatable.c: New file, from GNU gettext.
2678 * srclib/alloca.c: New file, from GNU gettext.
2679 * srclib/alloca_.h: New file, from GNU gettext.
2680 * srclib/canonicalize.c: New file, from GNU gettext.
2681 * srclib/canonicalize.h: New file, from GNU gettext.
2682 * srclib/error.c: New file, from GNU gettext.
2683 * srclib/error.h: New file, from GNU gettext.
2684 * srclib/exit.h: New file, from GNU gettext.
2685 * srclib/gettext.h: New file, from GNU gettext.
2686 * srclib/memmove.c: New file, from GNU gettext.
2687 * srclib/pathmax.h: New file, from GNU gettext.
2688 * srclib/progname.c: New file, from GNU gettext.
2689 * srclib/progname.h: New file, from GNU gettext.
2690 * srclib/progreloc.c: New file, from GNU gettext.
2691 * srclib/relocatable.c: New file, from GNU gettext.
2692 * srclib/relocatable.h: New file, from GNU gettext.
2693 * srclib/relocwrapper.c: New file, from GNU gettext.
2694 * srclib/setenv.c: New file, from GNU gettext.
2695 * srclib/setenv.h: New file, from GNU gettext.
2696 * srclib/stdbool.h.in: New file, from GNU gettext.
2697 * srclib/strerror.c: New file, from GNU gettext.
2698 * srclib/unsetenv.c: New file, from GNU gettext.
2699 * srclib/xmalloc.c: New file, from GNU gettext.
2700 * srclib/xmalloc.h: New file, from GNU gettext.
2701 * srclib/xreadlink.c: New file, from GNU gettext.
2702 * srclib/xreadlink.h: New file, from GNU gettext.
2703 * srclib/xstrdup.c: New file, from GNU gettext.
2704 * srclib/Makefile.am: New file.
2705 * srclib/Makefile.msvc: New file.
2706 * windows/alloca.h: New file, from GNU gettext.
2707 * windows/stdbool.h: New file, from GNU gettext.
2708 * configure.in (AC_CONFIG_HEADERS): Replace src/config.h with config.h.
2709 Add AC_RELOCATABLE, AC_HEADER_STDC, AC_CHECK_HEADERS(stddef.h stdlib.h
2710 string.h), AC_CHECK_FUNCS(getc_unlocked), AC_REPLACE_FUNCS(memmove),
2711 AM_LANGINFO_CODESET, gl_FUNC_ALLOCA, gl_CANONICALIZE,
2712 gt_FUNC_ERROR_AT_LINE, gl_PATHMAX, gt_FUNC_SETENV, gt_STDBOOL_H,
2713 gl_FUNC_STRERROR, gl_XREADLINK, AC_OUTPUT(srclib/Makefile).
2714 * lib/config.h.in: Add HAVE_GETC_UNLOCKED, HAVE_LANGINFO_CODESET,
2715 HAVE_SETLOCALE, HAVE_STDDEF_H, HAVE_STDLIB_H, HAVE_STRING_H, for
2716 localcharset.c. Add ENABLE_RELOCATABLE, INSTALLPREFIX, for
2718 * lib/Makefile.in (DEFS): New variable.
2719 (SOURCES): Add localcharset.c and relocatable.c.
2720 (OBJECTS): Add localcharset.lo and relocatable.lo.
2721 (LIBCHARSET_OBJECTS): Remove variable.
2722 (libiconv_plug_linux.so, libiconv_plug_solaris.so,
2723 libiconv_plug_osf.so): Use $(DEFS). Don't use $(LIBCHARSET_OBJECTS).
2724 (iconv.lo): Use $(DEFS).
2725 (localcharset.lo, relocatable.lo): New rules.
2726 * lib/Makefile.msvc (CFLAGS): Define HAVE_CONFIG_H, BUILDING_DLL,
2727 ENABLE_RELOCATABLE, IN_LIBRARY, INSTALLDIR, NO_XMALLOC,
2728 set_relocation_prefix, relocate. Remove $(PICFLAGS).
2729 (INCLUDES): Simplify.
2730 (SOURCES): Remove variable.
2731 (OBJECTS): Add localcharset.obj and relocatable.obj.
2732 (LIBCHARSET_OBJECTS): Remove variable.
2733 (iconv.obj): Add $(PICFLAGS).
2734 (localcharset.obj, relocatable.obj): New rules.
2735 (iconv.lib): Drop $(LIBCHARSET_OBJECTS).
2736 * include/iconv.h.in (libiconv_set_relocation_prefix): New declaration.
2737 * src/gettext.h: Remove file.
2738 * src/iconv.c: Include progname.h and relocatable.h.
2739 (ICONV_CONST): Define to const if the system has no iconv.
2740 (main): Invoke set_program_name. Relocate LOCALEDIR.
2741 * src/Makefile.in (top_srcdir): New variable.
2742 (INCLUDES): Add .. and ../srclib.
2743 (iconv_no_i18n, iconv): Link with ../srclib/libicrt.a.
2744 (iconv_no_i18n.@OBJEXT@, iconv.@OBJEXT@): Define INSTALLDIR.
2745 (RELOCATABLE_LIBRARY_PATH, RELOCATABLE_SRC_DIR, RELOCATABLE_BUILD_DIR,
2746 RELOCATABLE_CONFIG_H_DIR, @SET_RELOCATABLE@, iconv_LDFLAGS): New
2748 (iconv): Use $(iconv_LDFLAGS).
2749 (install): Use $(INSTALL_PROGRAM_ENV).
2750 (distclean): Drop removing config.h.
2751 * src/Makefile.msvc (INCLUDES): Add .., simplify.
2752 * tests/Makefile.msvc (INCLUDES): Simplify.
2753 * Makefile.devel (AUTOHEADER, AUTOMAKE): New variables.
2754 (config.h.in, srclib/Makefile.in, config.h.msvc): New rules.
2755 (all): Depend on them.
2756 (aclocal.m4) Depend also on m4/alloca.m4, m4/canonicalize.m4,
2757 m4/error.m4, m4/onceonly.m4, m4/pathmax.m4, m4/relocatable.m4,
2758 m4/setenv.m4, m4/stdbool.m4, m4/strerror.m4, m4/xreadlink.m4.
2759 (lib/config.h.msvc): Additional processing.
2760 * Makefile.in (all, install, installdirs, uninstall, check): Recurse
2762 (mostlyclean, clean, distclean, maintainerclean): Likewise. Remove
2764 (distclean, maintainerclean): Remove also config.h and some stamps.
2765 * Makefile.msvc (all, install, installdirs, uninstall, check,
2766 mostlyclean, clean, distclean, maintainerclean): Recurse into srclib.
2767 * INSTALL.generic: Document --enable-relocatable and
2768 --with-libintl-prefix. Remove the recommendation to set CPPFLAGS and
2769 LDFLAGS. The lib-link.m4 macros make this unnecessary.
2771 2003-04-05 Bruno Haible <bruno@clisp.org>
2773 * configure.in: Bump version number to 1.9.
2774 * include/iconv.h.in (_LIBICONV_VERSION): Bump.
2775 * windows/iconv.rc: Bump version number.
2776 * lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 4:0:2.
2778 2003-04-05 Bruno Haible <bruno@clisp.org>
2780 * Makefile.msvc (PREFIX): New variable.
2782 (distclean, maintainer-clean): Drop Unix specific removals.
2783 * lib/Makefile.msvc (PREFIX, IIPREFIX): New variables.
2785 (IIprefix, IIexec_prefix, IIbindir, IIlibdir): New variables.
2786 (clean): Drop Unix specific removal.
2787 * src/Makefile.msvc (PREFIX): New variable.
2789 (clean): Drop Unix specific removal.
2790 (distclean): Likewise.
2791 * tests/Makefile.msvc (clean): Drop Unix specific removal.
2792 (distclean): Likewise.
2794 2003-04-05 Bruno Haible <bruno@clisp.org>
2796 * m4/endian.m4 (CL_WORDS_LITTLEENDIAN): Use 3-argument AC_DEFINE.
2798 2003-04-05 Bruno Haible <bruno@clisp.org>
2800 * m4/general.m4 (CL_CONFIG_SUBDIRS, CL_CANONICAL_HOST,
2801 CL_CANONICAL_HOST_CPU, CL_CANONICAL_HOST_CPU_FOR_FFCALL): Remove
2803 * m4/gettext.m4: Update from GNU gettext.
2804 * m4/iconv.m4: Update from GNU gettext.
2805 * m4/lcmessage.m4: Update from GNU gettext.
2806 * m4/progtest.m4: Update from GNU gettext.
2807 * m4/libtool.m4: Update from GNU gettext.
2808 2003-02-16 Bruno Haible <bruno@clisp.org>
2809 Workaround autoconf >= 2.52 breakage.
2810 * libtool.m4 (AC_LIBTOOL_ARG_WITH): New macro.
2811 (_LT_AC_LTCONFIG_HACK, AC_PROG_LD): Use it.
2812 * autoconf/ltmain.sh: Update from GNU gettext.
2813 2003-02-18 Bruno Haible <bruno@clisp.org>
2814 Fix the 2002-09-16 fix.
2815 * ltmain.sh (install): If "ln -s -f" fails (this is the case
2816 with /usr/bin/ln on Solaris 2.7), fall back to "rm && ln -s".
2818 2003-04-05 Bruno Haible <bruno@clisp.org>
2820 Start using automake.
2821 * configure.in: Add AM_INIT_AUTOMAKE invocation.
2822 (PACKAGE, VERSION): Remove.
2823 Use AC_CANONICAL_HOST instead of CL_CANONICAL_HOST.
2824 Use AC_PROG_LN_S instead of CL_PROG_LN_S.
2825 Use AC_PROG_RANLIB instead of CL_PROG_RANLIB.
2826 Reorder so that AC_CANONICAL_HOST comes early but still after
2828 * m4/ranlib.m4: Remove file.
2829 * m4/libtool.m4: Undo AC_ -> CL_ substitutions.
2830 * Makefile.devel (CLISP_DIR): Comment out.
2831 (AUTOCONF_FILES): Change to aclocal.m4.
2832 (aclocal.m4): Renamed from autoconf/aclocal.m4. Update dependencies.
2833 (configure.in): Drop --include option.
2835 2003-03-17 Bruno Haible <bruno@clisp.org>
2837 Improved MSVC support.
2838 * Makefile.msvc (prefix): Use less Unixy value.
2839 (local_prefix): Remove variable.
2840 (libdir, includedir, mandir): Use backslashes.
2841 (bindir, datadir, localedir, docdir): New variables.
2842 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
2843 (all): Recurse into po/ and man/.
2844 (install, installdirs, uninstall): Rewritten.
2845 (check, mostlyclean, clean, distclean, maintainer-clean): Recurse
2847 * lib/Makefile.msvc (prefix): Use less Unixy value.
2848 (local_prefix): Remove variable.
2849 (libdir): Use backslashes.
2850 (bindir): New variable.
2851 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values.
2852 (RESOURCES): Enable iconv.res.
2853 (install, installdirs, uninstall): New rules.
2854 (clean): Remove config.h.
2855 (distclean): Don't remove config.h here.
2856 * src/Makefile.msvc (prefix, exec_prefix, bindir): New variables.
2857 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
2858 (install, installdirs, uninstall): New rules.
2859 * man/Makefile.msvc: New file.
2860 * tests/Makefile.msvc (install, installdirs, uninstall): New rules.
2861 * Makefile.devel (all): Depend on po/Makefile.msvc.
2862 (po/Makefile.msvc): New rule.
2863 * windows/iconv.rc: Update.
2864 * README.woe32: Mention automatic installation command.
2866 Rename libcharset.h to localcharset.h.
2867 * lib/iconv.c: Include localcharset.h, not libcharset.h.
2868 * Makefile.in (lib/localcharset.h): Renamed from lib/libcharset.h.
2869 (all, install): Update dependencies.
2870 (all): Create lib/localcharset.h, not lib/libcharset.h.
2871 (mostlyclean, clean, distclean, maintainer-clean): Remove
2872 lib/localcharset.h, not lib/libcharset.h.
2873 * djgpp/README.in, djgpp/README: Update.
2874 * djgpp/config.bat: Update.
2875 * djgpp/config.sed: Update.
2876 * djgpp/fnchange.in, djgpp/fnchange.lst: Update.
2878 2003-01-31 Bruno Haible <bruno@clisp.org>
2880 * src/Makefile.in (all): Don't do the chmod if it has already been
2883 2003-01-31 Bruno Haible <bruno@clisp.org>
2885 * lib/loop_unicode.h (unicode_transliterate): Enable recursive
2886 transliteration. Idea from Perry Rapp.
2887 * lib/gentranslit.c (main): Change bound from 0x10000 to 0x110000.
2888 Change element type of translit_data to 'unsigned int'.
2889 * lib/translit.def: Many new transliterations, mostly taken from glibc.
2890 * lib/translit.h: Regenerated.
2891 * tests/Translit1.ISO-8859-1, tests/Translit1.ASCII: New files.
2892 * tests/Makefile.in (check): Add Translit1 check.
2893 * tests/Makefile.msvc (check): Likewise.
2894 * tests/Makefile.os2 (check): Likewise.
2895 * tests/TranslitFail1.ISO-8859-1: Choose a sentence which the new
2896 improved transliteration cannot do.
2898 2003-02-14 Bruno Haible <bruno@clisp.org>
2900 * Makefile.devel (AUTOCONF): Switch to autoconf-2.57.
2901 (configure): Update rule.
2903 2003-01-03 Albert Chin <libtool@thewrittenword.com>
2905 * autoconf/ltmain.sh: Don't pass -R flags found in a .la's
2906 dependency_libs variable directly down to the linker.
2907 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
2909 2003-01-01 Bruno Haible <bruno@clisp.org>
2911 * src/Makefile.in (install): Use libiconv.la in ../lib, not in
2912 $(libdir), so that installing with DESTDIR works.
2913 Reported by Michael Adams <michael@michaeladams.org>.
2915 2003-01-01 Bruno Haible <bruno@clisp.org>
2917 * Makefile.in (mkinstalldirs): New variable.
2918 (install-lib, install, installdirs): Use it instead of mkdir.
2919 * lib/Makefile.in (mkinstalldirs): New variable.
2920 (install-lib, install, installdirs): Use it instead of mkdir.
2921 * man/Makefile.in (mkinstalldirs): New variable.
2922 (install, installdirs): Use it instead of mkdir.
2923 * src/Makefile.in (mkinstalldirs): New variable.
2924 (install, installdirs): Use it instead of mkdir.
2926 2002-09-27 Bruno Haible <bruno@clisp.org>
2928 * autoconf/mkinstalldirs: Upgrade to automake-1.7.2 version.
2930 2002-11-07 Bruno Haible <bruno@clisp.org>
2932 * m4/libtool.m4: Upgrade to libtool-1.4.3.
2933 * autoconf/ltmain.sh: Upgrade to libtool-1.4.3.
2935 2002-07-14 Bruno Haible <bruno@clisp.org>
2937 * m4/libtool.m4 (_LT_AC_LTCONFIG_HACK): Add support for GNU/FreeBSD.
2939 2002-06-12 Bruno Haible <bruno@clisp.org>
2941 * configure.in: Use new AC_* names of libtool macros. Invoke
2942 AC_LIBTOOL_WIN32_DLL.
2944 2002-12-19 Bruno Haible <bruno@clisp.org>
2946 * lib/Makefile.in (libiconv_plug_solaris.so): Change rule if using gcc.
2947 Reported by Henry Nelson <henry@irm.nara.kindai.ac.jp>.
2949 2002-11-07 Bruno Haible <bruno@clisp.org>
2951 Make "make install" without prior "make" work.
2952 * Makefile.in (lib/libcharset.h): New rule.
2953 (all, install): Depend on it.
2954 Reported by Martin Mokrejš <mmokrejs@natur.cuni.cz>.
2956 2002-10-28 Bruno Haible <bruno@clisp.org>
2958 * man/Makefile.in (install): Change directory back to the working
2959 directory, so that install-sh (which may be a relative pathname) is
2960 found in the right place.
2962 2002-09-16 Bruno Haible <bruno@clisp.org>
2964 * autoconf/ltmain.sh (install): Use "ln -s -f" instead of
2965 "rm -f && ln -s" to make a symlink for a shared library.
2966 Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
2968 2002-09-02 Bruno Haible <bruno@clisp.org>
2970 * src/iconv.c (main): Don't call bindtextdomain if !ENABLE_NLS.
2972 2002-08-16 Bruno Haible <bruno@clisp.org>
2974 * src/iconv.c (main): Perform fflush before testing ferror(stdout).
2976 2002-05-29 Bruno Haible <bruno@clisp.org>
2978 * Version 1.8 released.
2980 2002-05-26 Bruno Haible <bruno@clisp.org>
2982 * lib/c99.h: New file.
2983 * lib/converters.h: Include it.
2984 * lib/encodings.def (C99): New encoding.
2985 * README, man/iconv_open.3: Document C99 encoding.
2987 2002-05-26 Bruno Haible <bruno@clisp.org>
2989 * lib/java.h (java_mbtowc): Accept 12-byte sequences for non-BMP
2991 (java_wctomb): Produce 12-byte sequences for non-BMP characters.
2993 2002-05-29 Bruno Haible <bruno@clisp.org>
2995 Fix installation of iconv program when linked with a libintl that was
2996 built against an earlier libiconv.
2997 * src/iconv.c: Conditionally disable NLS.
2998 * src/iconv_no_i18n.c: New file.
2999 * src/Makefile.in (libdir): New variable.
3000 (all): Depend on iconv_no_i18n, iconv.@OBJEXT@ but not iconv. Make
3001 directory writable, so iconv executable can be created during "make
3003 (iconv): Remove rule.
3004 (iconv_no_i18n, iconv_no_i18n.@OBJEXT@): New rules.
3005 (install): Link iconv now, after the new libiconv.so is installed.
3006 (clean): Also remove iconv_no_i18n.
3007 * tests/Makefile.in: (check, check-extra-yes): Depend on iconv_no_i18n,
3009 * tests/check-stateful: Use iconv_no_i18n, not iconv.
3010 * tests/check-translit: LIkewise.
3011 * tests/check-translitfailure: Likewise.
3013 2002-05-29 Bruno Haible <bruno@clisp.org>
3015 * configure.in: Call AC_PROG_INSTALL instead of CL_PROG_INSTALL.
3016 * m4/install.m4: Remove file.
3017 * Makefile.devel (autoconf/aclocal.m4): Don't depend on m4/install.m4.
3019 2002-05-24 Bruno Haible <bruno@clisp.org>
3021 * lib/jisx0213.h: Use 'inline' only conditionally.
3023 2002-05-18 Bruno Haible <bruno@clisp.org>
3025 * configure.in (AC_INIT), include/iconv.h.in (_LIBICONV_VERSION),
3026 README, windows/iconv.rc, djgpp/README, djgpp/fnchange.lst:
3027 Bump version number.
3028 * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 3:0:1.
3030 2002-02-06 Bruno Haible <bruno@clisp.org>
3032 * autoconf/ltmain.sh: Upgrade from libtool-1.4 to libtool-1.4.2.
3034 2002-02-02 Bruno Haible <bruno@clisp.org>
3036 * autoconf/ltmain.sh: Add DESTDIR support on ELF systems.
3038 2001-11-03 Bruno Haible <haible@clisp.cons.org>
3040 * autoconf/ltmain.sh: chmod 777 the .libs directory, so that
3041 "make install" succeeds.
3043 2002-05-18 Bruno Haible <bruno@clisp.org>
3045 * src/Makefile.in (iconv): Remove the -liconv dependency of -lintl
3046 from the command line. Needed to ensure that the new libiconv version
3049 2002-05-14 Bruno Haible <bruno@clisp.org>
3051 Implement and document CP853, TDS565, RISCOS-LATIN1.
3052 * tools/Makefile (ALL): Add cp853.h, tds565.h, riscos1.h.
3053 (cp853.h, tds565.h, riscos1.h): New rules.
3054 * lib/cp853.h: New file.
3055 * lib/tds565.h: New file.
3056 * lib/riscos1.h: New file.
3057 * lib/converters.h: Include them.
3058 * lib/encodings_dos.def (CP853): New encoding.
3059 * lib/encodings_extra.def (TDS565, RISCOS-LATIN1): New encodings.
3060 * README, man/iconv_open.3: Add CP853, TDS565, RISCOS-LATIN1.
3061 * tests/Makefile.in (check-extra-yes): Check CP853, TDS565,
3063 * tests/Makefile.msvc (check): Check CP853.
3064 * tests/CP853.TXT: New file.
3065 * tests/TDS565.TXT: New file.
3066 * tests/RISCOS-LATIN1.TXT: New file.
3068 * lib/cp860.h (cp860_wctomb): Optimize.
3070 2002-05-12 Bruno Haible <bruno@clisp.org>
3072 * tools/Makefile (ksc5601.h): Add two extra characters.
3073 * lib/ksc5601.h: Regenerated.
3074 * tests/EUC-KR.TXT: Add EURO SIGN and REGISTERED SIGN.
3075 * tests/CP949.TXT: Likewise.
3076 * tests/JOHAB.TXT: Likewise.
3078 2002-05-12 Bruno Haible <bruno@clisp.org>
3080 * README: Mention extra encodings.
3081 * man/iconv_open.3: Likewise. Improve formatting in text and html
3084 2002-05-12 Bruno Haible <bruno@clisp.org>
3086 * tests/SHIFT_JIS.TXT: Renamed from tests/SHIFT-JIS.TXT.
3088 2002-05-12 Bruno Haible <bruno@clisp.org>
3090 * Makefile.devel (AUTOCONF): New variable.
3091 (AUTOCONF_FILES): Remove autoconf/autoconf.m4f.
3092 (configure): Use the AUTOCONF variable.
3093 * autoconf/autoconf: Remove file.
3094 * autoconf/autoconf.m4: Remove file.
3095 * autoconf/autoconf.m4f: Remove file.
3097 2002-05-12 Bruno Haible <bruno@clisp.org>
3099 * tools/JISX0213.TXT: New file.
3100 * tools/cjk_tab_to_h.c (do_jisx0213): New function.
3101 (main): Accept "jisx0213".
3102 * tools/Makefile (all): Add jisx0213.h.
3103 (jisx0213.h): New rule.
3104 * lib/jisx0213.h: New file, generated by cjk_tab_to_h.
3105 * lib/euc_jisx0213.h: New file.
3106 * lib/shift_jisx0213.h: New file.
3107 * lib/iso2022_jp3.h: New file.
3108 * lib/converters.h: Include them.
3109 * lib/encodings_extra.def (EUC-JISX0213, SHIFT_JISX0213,
3110 ISO-2022-JP-3): New encodings.
3111 * tests/EUC-JISX0213.TXT: New file.
3112 * tests/SHIFT_JISX0213.TXT: New file.
3113 * tests/ISO-2022-JP-3-snippet: New file.
3114 * tests/ISO-2022-JP-3-snippet.UTF-8: New file.
3115 * tests/Makefile.in (check-extra): Also check EUC-JISX0213,
3116 SHIFT_JISX0213, ISO-2022-JP-3.
3117 * tests/check-stateless: Add support for encodings which contain
3118 precomposed Unicode characters, by eliminating precomposed characters
3119 before the comparison.
3120 * tests/table-from.c (main): Fix usage message.
3121 * tests/table-to.c (main): Make it work for encodings for which the
3122 "to" direction is stateful.
3124 2002-05-09 Bruno Haible <bruno@clisp.org>
3126 New configure option --enable-extra-encodings.
3127 * lib/encodings_extra.def: New file.
3128 * lib/converters.h: Handle USE_EXTRA.
3129 * lib/genaliases2.c (main): Handle USE_EXTRA.
3130 * lib/genflags.c: Define USE_EXTRA.
3131 (main): Include encodings_extra.def.
3132 * lib/iconv.c: Handle ENABLE_EXTRA, conditionally set USE_EXTRA.
3134 * lib/config.h.in (ENABLE_EXTRA): New macro.
3135 * configure.in: Accept option --enable-extra-encodings.
3136 * Makefile.devel (all): Depend on lib/aliases_extra.h.
3137 (lib/aliases_extra.h): New rule.
3138 (lib/flags.h): Depend on lib/encodings_extra.def.
3139 * tests/Makefile.in (check-extra, check-extra-no, check-extra-yes):
3141 (check): Invoke check-extra.
3142 * tests/Makefile.msvc (check): Also check the DOS encodings.
3144 Support for testing the AIX encodings.
3145 * tests/CP856.TXT: New file.
3146 * tests/CP922.TXT: New file.
3147 * tests/CP1046.TXT: New file.
3148 * tests/CP1124.TXT: New file.
3149 * tests/CP1129.TXT: New file.
3150 * tests/CP1161.TXT, tests/CP1161.IRREVERSIBLE.TXT: New files.
3151 * tests/CP1162.TXT: New file.
3152 * tests/CP1163.TXT, tests/CP1163.IRREVERSIBLE.TXT: New files.
3154 Support for testing the OSF/1 encodings.
3155 * tests/DEC-KANJI.TXT: New file.
3156 * tests/DEC-HANYU.TXT, tests/DEC-HANYU.IRREVERSIBLE.TXT: New files.
3158 Support for testing the DOS encodings.
3159 * tests/CP437.TXT: New file.
3160 * tests/CP737.TXT: New file.
3161 * tests/CP775.TXT: New file.
3162 * tests/CP852.TXT: New file.
3163 * tests/CP855.TXT: New file.
3164 * tests/CP857.TXT: New file.
3165 * tests/CP858.TXT: New file.
3166 * tests/CP860.TXT: New file.
3167 * tests/CP861.TXT: New file.
3168 * tests/CP863.TXT: New file.
3169 * tests/CP864.TXT: New file.
3170 * tests/CP865.TXT: New file.
3171 * tests/CP869.TXT: New file.
3172 * tests/CP1125.TXT: New file.
3174 2002-05-09 Bruno Haible <bruno@clisp.org>
3176 Implement more ASCII compatible DOS encodings.
3177 * tools/Makefile (ALL): Add cp737.h, cp858.h, cp860.h, cp863.h.
3178 (cp737.h, cp858.h, cp860.h, cp863.h): New rules.
3179 * lib/cp737.h: New file.
3180 * lib/cp858.h: New file.
3181 * lib/cp860.h: New file.
3182 * lib/cp863.h: New file.
3183 * lib/converters.h: Include them.
3184 * lib/encodings_dos.def (CP737, CP858, CP860, CP863): New encodings.
3186 2002-05-09 Bruno Haible <bruno@clisp.org>
3188 Implement new ASCII compatible encodings from IBM.
3189 * tools/Makefile (ALL): Add cp1161.h, cp1162.h, cp1163.h.
3190 (cp1161.h, cp1162.h, cp1163.h): New rules.
3191 * lib/cp1161.h: New file.
3192 * lib/cp1162.h: New file.
3193 * lib/cp1163.h: New file.
3194 * lib/converters.h: Include them.
3195 * lib/encodings_aix.def (CP1161, CP1162, CP1163): New encodings.
3197 2002-05-09 Bruno Haible <bruno@clisp.org>
3199 Implement and document KOI8-T.
3200 * tools/Makefile (ALL): Add koi8_t.h.
3201 (koi8_t.h): New rule.
3202 * lib/koi8_t.h: New file.
3203 * lib/converters.h: Include it.
3204 * lib/encodings.def (KOI8-T): New encoding.
3205 * README, man/iconv_open.3: Add KOI8-T.
3206 * tests/Makefile.in (tests): Check KOI8-T.
3207 * tests/Makefile.os2 (tests): Likewise.
3208 * tests/Makefile.msvc (tests): Likewise.
3209 * tests/KOI8-T.TXT: New file.
3211 2002-05-09 Bruno Haible <bruno@clisp.org>
3213 * tools/8bit_tab_to_h.c (main): Update copyright year.
3214 * tools/cjk_variants.c (main): Likewise.
3216 2002-05-08 Bruno Haible <bruno@clisp.org>
3218 * README.woe32: Renamed from README.win32.
3220 2002-05-08 Bruno Haible <bruno@clisp.org>
3222 * lib/iconv.c: Enable DOS encodings also when compiling for Woe32,
3223 because the Woe32 consoles use them.
3225 2002-05-04 Bruno Haible <bruno@clisp.org>
3227 * lib/loop_unicode.h (unicode_loop_convert): When quitting the loop
3228 without writing an output character, restore cd->istate to its value
3229 before the xxx_mbtowc call. Otherwise we lose some characters during
3230 CP1255/CP1258/TCVN to Unicode conversion.
3231 (unicode_loop_reset): Likewise for the xxx_flushwc call.
3232 * tests/CP1255-snippet, tests/CP1255-snippet.UTF-8: Make the test
3233 files large enough to test against the bug.
3234 * tests/CP1258-snippet, tests/CP1258-snippet.UTF-8: Likewise.
3235 * tests/TCVN-snippet, tests/TCVN-snippet.UTF-8: Likewise.
3237 2002-04-28 Bruno Haible <bruno@clisp.org>
3239 * tools/Makefile (armscii_8.h): Use table from glibc-2.2.90.
3240 * tests/ARMSCII-8.TXT: Update to glibc-2.2.90 version.
3241 * tests/ARMSCII-8.IRREVERSIBLE.TXT: Remove 0x0027.
3242 * lib/armscii_8.h: Regenerated.
3244 2002-04-28 Bruno Haible <bruno@clisp.org>
3246 * src/iconv.c: Include gettext.h.
3248 (usage, print_version, convert, main): Internationalize.
3249 (main): Call setlocale, bindtextdomain, textdomain.
3250 * src/gettext.h: New file, from GNU gettext 0.11.2.
3251 * src/config.h.in: New file, needed for ENABLE_NLS.
3252 * src/Makefile.in (datadir, localedir): New variables.
3253 (iconv): Link with @LTLIBINTL@.
3254 (iconv.@OBJEXT@): Define LOCALEDIR.
3255 (distclean): Remove config.h.
3256 * po: New directory.
3257 * Makefile.in (all, install, installdirs, uninstall, check,
3258 mostlyclean, clean, distclean, maintainer-clean): Recurse into the po
3260 * autoconf/mkinstalldirs: New file, from automake-1.5.
3261 * ABOUT-NLS: New file, from GNU gettext 0.11.2.
3262 * m4/codeset.m4: New file, from GNU gettext 0.11.2.
3263 * m4/gettext.m4: New file, from GNU gettext 0.11.2.
3264 * m4/glibc21.m4: New file, from GNU gettext 0.11.2.
3265 * m4/isc-posix.m4: New file, from GNU gettext 0.11.2.
3266 * m4/lcmessage.m4: New file, from GNU gettext 0.11.2.
3267 * m4/progtest.m4: New file, from GNU gettext 0.11.2.
3268 * configure.in: Require autoconf-2.52, needed for multiple config.h.in
3269 files. Use new form of AC_INIT. Invoke AM_GNU_GETTEXT.
3270 (PACKAGE, VERSION): Define, needed for po/Makefile.in.in.
3271 * lib/config.h.in (HAVE_LOCALE_H, HAVE_SETLOCALE): Remove.
3273 2002-04-28 gettextize <bug-gnu-gettext@gnu.org>
3275 * configure.in (AC_OUTPUT): Add po/Makefile.in.
3277 2002-04-28 Bruno Haible <bruno@clisp.org>
3279 * m4/eilseq.m4: Renamed from autoconf/eilseq.m4.
3280 * m4/mbstate_t.m4: Renamed from autoconf/mbstate_t.m4.
3281 * m4/general.m4: New file, from GNU clisp.
3282 * m4/proto.m4: New file, from GNU clisp.
3283 * m4/ranlib.m4: New file, from GNU clisp.
3284 * m4/install.m4: New file, from GNU clisp.
3285 * m4/cp.m4: New file, from GNU clisp.
3286 * m4/ln.m4: New file, from GNU clisp.
3287 * m4/endian.m4: New file, from GNU clisp.
3288 * m4/iconv.m4: New file, from GNU gettext 0.11.2.
3289 * m4/lib-ld.m4: New file, from GNU gettext 0.11.2.
3290 * m4/lib-link.m4: New file, from GNU gettext 0.11.2.
3291 * m4/lib-prefix.m4: New file, from GNU gettext 0.11.2.
3292 * autoconf/config.rpath: New file, from GNU gettext 0.11.2.
3293 * m4/libtool.m4: New file, based on libtool-1.4.2.
3294 * Makefile.devel (ACLOCAL): Remove variable.
3295 (ACSELECT): Remove variable.
3296 (OTHERMACROS): Remove variable.
3297 (m4/*.m4): New rules.
3298 (autoconf/aclocal.m4): Construct using aclocal instead of acselect.
3299 * configure.in: Invoke AM_ICONV instead of CL_ICONV.
3301 2002-04-06 Bruno Haible <bruno@clisp.org>
3303 Upgrade to Unicode 3.2.
3304 * tools/cjk_tab_to_h.c (output_title): Bump copyright year.
3305 (compact_large_charset2uni): Add an argument. Determine optimal shift.
3306 Copy modified enc->charset2uni table.
3307 (output_charset2uni): Deal with shift other than 8. Copy encoding, so
3308 as to not disturb subsequent output_uni2charset[_sparse] call.
3309 * lib/hkscs.h: Regenerated.
3310 * tests/BIG5-HKSCS.TXT: Update.
3311 * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Update.
3313 2002-04-06 Bruno Haible <bruno@clisp.org>
3315 Upgrade to Unicode 3.2.
3316 * tools/Makefile (cns11643_1.h, cns11643_2.h, cns11643_3.h,
3317 cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
3318 cns11643_7.h, cns11643_15.h, cns11643_inv.h): Use
3319 CNS11643-Unicode32.TXT instead of CNS11643-Unicode31.TXT.
3320 * lib/cns11643_3.h: Regenerated.
3321 * lib/cns11643_4a.h: Regenerated.
3322 * lib/cns11643_4b.h: Regenerated.
3323 * lib/cns11643_5.h: Regenerated.
3324 * lib/cns11643_6.h: Regenerated.
3325 * lib/cns11643_7.h: Regenerated.
3326 * lib/cns11643_15.h: Regenerated.
3327 * lib/cns11643_inv.h: Regenerated.
3328 * tests/EUC-TW.TXT: Update.
3330 2002-01-17 Bruno Haible <bruno@clisp.org>
3332 * lib/tcvn.h (tcvn_2uni_1): Make it smaller.
3333 (tcvn_mbtowc): Small optimization.
3335 2002-01-13 Bruno Haible <bruno@clisp.org>
3337 New options -l, -c, -s.
3338 * src/iconv.c (discard_unconvertible, silent): New variables.
3339 (usage): Document options -l, -c, -s.
3340 (print_one): New function.
3341 (convert): If silent is true, don't print error messages about the
3342 conversion to stderr. If discard_unconvertible is true, set the
3343 iconv descriptor to DISCARD_ILSEQ the first time, but make sure to
3344 return the same return code as when discard_unconvertible is false.
3345 (main): Accept options -l, -c, -s. Implement option -l.
3346 * man/iconv.1: Document options -l, -c, -s.
3348 2002-01-13 Bruno Haible <bruno@clisp.org>
3350 Support for "iconv -c".
3351 * include/iconv.h.in (ICONV_GET_DISCARD_ILSEQ): New macro.
3352 (ICONV_SET_DISCARD_ILSEQ): Likewise.
3353 * lib/converters.h (struct conv_struct): New field discard_ilseq.
3354 * lib/iconv.c (iconv_open): Set discard_ilseq to true if tocode
3355 has an "//IGNORE" suffix, and to false otherwise.
3356 (iconvctl): Implement ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ.
3357 * lib/loop_unicode.h (unicode_loop_convert): If discard_ilseq is
3358 true, skip one input character instead of returning EILSEQ.
3359 (unicode_loop_reset): Likewise.
3360 * lib/loop_wchar.h (wchar_from_loop_convert): Likewise.
3361 (wchar_to_loop_convert): Likewise.
3363 2002-01-13 Bruno Haible <bruno@clisp.org>
3365 Support for "iconv -l".
3366 * include/iconv.h.in (iconvlist): New declaration.
3367 * Makefile.devel (lib/aliases.h): Change gperf options.
3368 * lib/iconv.c (compare_by_index, compare_by_name, iconvlist): New
3371 2002-01-06 Bruno Haible <bruno@clisp.org>
3373 * lib/loop_unicode.h (unicode_transliterate): If the transliteration
3374 fails due to limited output encoding, return RET_ILUNI, not
3375 RET_TOOSMALL. Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
3376 * tests/check-translitfailure: New file.
3377 * tests/TranslitFail1.ISO-8859-1: New file.
3378 * tests/Makefile.in (check): Call check-translitfailure.
3380 2001-12-15 Bruno Haible <bruno@clisp.org>
3382 * lib/euc_jp.h (euc_jp_wctomb): Add irreversible mappings for
3383 Shift_JIS characters 0x5C and 0x7E.
3384 * tests/EUC-JP.IRREVERSIBLE.TXT: New file.
3386 2001-12-05 Bruno Haible <bruno@clisp.org>
3388 * lib/iconv.c (iconv_open): Recognize the empty encoding name. Avoid
3389 endless loop if locale_charset() returns the empty string.
3390 * README, man/iconv_open.3: Add the empty encoding name.
3392 2001-11-10 Bruno Haible <haible@clisp.cons.org>
3394 * lib/Makefile.in (libiconv_plug_linux.so): Allow building it with a
3397 2001-10-23 Bruno Haible <haible@clisp.cons.org>
3399 * tools/Makefile (cp1125.h): New target.
3401 * lib/cp1125.h: New file.
3402 * lib/converters.h: Include it.
3403 * lib/encodings_dos.def (CP1125): New encoding.
3405 2001-09-08 Bruno Haible <haible@clisp.cons.org>
3407 * autoconf/eilseq.m4: New file.
3408 * Makefile.devel (OTHERMACROS): Add it.
3409 * configure.in: Call AC_EILSEQ.
3410 * include/iconv.h.in (EILSEQ): Define to the autoconf determined value.
3412 2001-08-25 Bruno Haible <haible@clisp.cons.org>
3414 Upgrade to autoconf-2.52.
3415 * autoconf/autoconf: Upgrade to autoconf-2.52.
3416 * autoconf/acgeneral.m4: Remove file.
3417 * autoconf/acspecific.m4: Remove file.
3418 * autoconf/autoconf.m4f: New file, from autoconf-2.52.
3419 * autoconf/aclocal.m4: Require autoconf-2.52.
3420 (CL_CANONICAL_HOST): Call AC_CANONICAL_HOST. Don't cache the result,
3421 AC_CANONICAL_HOST does it itself. Add $SHELL in front of
3422 $ac_config_guess and $ac_config_sub.
3423 * Makefile.devel (AUTOCONF_FILES): Remove acgeneral.m4, acspecific.m4.
3425 (configure): Use autoconf options -A, -l instead of -m.
3426 * configure.in: Use AC_CONFIG_SUBDIRS, not AC_OUTPUT_SUBDIRS.
3428 2001-08-05 Bruno Haible <haible@clisp.cons.org>
3430 * autoconf/acgeneral.m4 (AC_MSG_RESULTPROTO): Remove macro.
3431 (AC_LANG_EXTERN): Move to aclocal.m4.
3432 * autoconf/aclocal.m4 (AC_LANG_EXTERN): Moved here from acgeneral.m4.
3433 (CL_PROTO): Use AC_MSG_RESULT directly, instead of AC_MSG_RESULTPROTO.
3434 (CL_SILENT): No need to pushdef AC_MSG_RESULTPROTO.
3436 2001-08-05 Bruno Haible <haible@clisp.cons.org>
3438 Make it possible to build libiconv with CC=gcc CFLAGS="-x c++".
3439 * lib/loop_wchar.h (wchar_to_loop_convert): Rename local variable
3441 * lib/Makefile.in (libiconv_plug_linux.so): Add "-x none" option
3442 between sources and libs.
3443 (libiconv_plug_solaris.so) [GCC]: Likewise.
3444 (libiconv_plug_osf.so) [GCC]: Likewise.
3445 * src/Makefile.in (iconv.@OBJEXT@): New rule.
3446 (iconv): Depend on it.
3447 (clean): Erase *.@OBJEXT@, not *.o.
3448 * tests/Makefile.in (table-from.@OBJEXT@): New rule.
3449 (table-from): Depend on it.
3450 (table-to.@OBJEXT@): New rule.
3451 (table-to): Depend on it.
3452 (clean): Erase *.@OBJEXT@, not *.o.
3454 2001-07-28 Bruno Haible <haible@clisp.cons.org>
3456 * tools/Makefile (iso8859_16.h): Generate from the unicode.org table.
3457 * lib/iso8859_16.h: Regenerated.
3458 * tests/ISO-8859-16.TXT: Swap the values of 0xA5 and 0xAB.
3460 2001-07-17 Bruno Haible <haible@clisp.cons.org>
3462 * configure.in (VERSION): Define. Needed by djgpp/Makefile.maint.
3464 2001-07-03 Bruno Haible <haible@clisp.cons.org>
3466 * configure.in: Also check for mbsinit.
3467 * lib/loop_wchar.h (mbsinit): Define to 1 if not defined.
3468 Needed for SCO 3.2v5.0.2.
3470 2001-06-27 Bruno Haible <haible@clisp.cons.org>
3472 * Version 1.7 released.
3474 2001-06-27 Bruno Haible <haible@clisp.cons.org>
3476 * INSTALL.generic (Particular Systems): Generalize section about
3477 /usr/local to "most systems".
3479 * lib/Makefile.in (all): Build @PLUGLIB@ before libiconv.la, because
3480 Solaris cc destroys iconv.o and iconv.lo while building
3481 libiconv_plug_solaris.so.
3482 (clean): Remove so_locations, left there by the OSF/1 linker.
3484 * lib/cp1255.h (cp1255_decomp): Use 'signed int' instead of 'int'.
3486 * lib/vietcomb.h (viet_decomp): Use 'unsigned int' instead of
3489 * tests/table-from.c: Include string.h.
3490 * tests/table-to.c: Likewise.
3492 2001-06-26 Bruno Haible <haible@clisp.cons.org>
3494 * tools/Makefile (jisx0208.h): Replace U+005C with U+FF3C.
3495 (jisx0212.h): Replace U+007E with U+FF5E.
3496 * lib/jisx0208.h: Regenerated.
3497 * lib/jisx0212.h: Regenerated.
3498 * tests/EUC-JP.TXT: Map 0xA1C0 to U+FF3C. Map 0x8FA2B7 to U+FF5E.
3499 * tests/EUC-JP.IRREVERSIBLE.TXT: Remove file.
3500 * tests/SHIFT-JIS.TXT: Map 0x815F to U+FF3C.
3501 * tests/CP932.TXT: Likewise.
3502 * tests/CP932.IRREVERSIBLE.TXT: 0x815F mapping is now reversible.
3504 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3506 * src/Makefile.in (iconv): Mention $(INCLUDES) before $(CFLAGS) and
3508 * src/Makefile.msvc (iconv.exe): Likewise.
3509 * src/Makefile.os2 (iconv.exe): Likewise.
3510 * lib/Makefile.in (libiconv_plug_linux.so): Likewise.
3511 (libiconv_plug_solaris.so): Likewise.
3512 (libiconv_plug_osf.so): Likewise.
3513 (iconv.lo): Likewise.
3514 * lib/Makefile.msvc (iconv.obj): Likewise.
3515 * lib/Makefile.os2 (iconv.obj): Likewise.
3516 * tests/Makefile.in (table-from, table-to): Likewise.
3517 * tests/Makefile.msvc (table-from.exe, table-to.exe): Likewise.
3518 * tests/Makefile.os2 (table-from.exe, table-to.exe): Likewise.
3519 (genutf8.exe): Don't use $(INCLUDES).
3521 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3523 * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
3524 Bump version number.
3525 * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:4:0.
3527 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3529 * Makefile.devel (OTHERMACROS): Use libtool.m4 in libcharset subdir.
3531 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3533 * lib/encodings.def: Make SHIFT_JIS the primary name of SJIS.
3535 2001-06-08 Bruno Haible <haible@clisp.cons.org>
3537 * autoconf/ltmain.sh: Upgrade to libtool-1.4.
3538 * autoconf/ltconfig: Remove file.
3540 2001-06-08 Bruno Haible <haible@clisp.cons.org>
3542 * autoconf/config.guess: Update to GNU version 2001-05-11.
3543 * autoconf/config.sub: Likewise.
3545 2001-06-03 Bruno Haible <haible@clisp.cons.org>
3547 * lib/loop_unicode.h (unicode_loop_convert): Ignore Unicode 3.1 tag
3548 characters if they cannot be converted.
3549 (unicode_loop_reset): Likewise.
3550 * lib/iso2022_jp2.h (STATE_TAG_NONE, STATE_TAG_LANGUAGE,
3551 STATE_TAG_LANGUAGE_j, STATE_TAG_LANGUAGE_ja, STATE_TAG_LANGUAGE_k,
3552 STATE_TAG_LANGUAGE_ko, STATE_TAG_LANGUAGE_z, STATE_TAG_LANGUAGE_zh):
3554 (SPLIT_STATE, COMBINE_STATE): Different differently for wctomb
3556 (iso2022_jp2_wctomb): Keep track of Unicode 3.1 language tag.
3557 If "ja", prefer conversion to Japanese character sets. If "zh",
3558 prefer conversion to GB2312. If "ko", prefer conversion to KSC5601.
3560 * lib/converters.h (RET_ILUNI): Change value from 0 to -1.
3561 (RET_TOOSMALL): Change value from -1 to -2.
3562 * lib/loop_unicode.h (unicode_transliterate): Allow xxx_wctomb to
3563 return 0 written bytes.
3565 2001-06-06 Bruno Haible <haible@clisp.cons.org>
3567 * lib/encodings.def: Align with IANA character-set registry.
3568 (US-ASCII): Add alias "ANSI_X3.4-1986".
3569 (ISO-8859-14): Add alias "ISO-CELTIC".
3570 (JIS_X0208): Add alias "JIS_C6226-1983".
3571 (BIG5HKSCS): Add alias "BIG5-HKSCS".
3572 * README, man/iconv_open.3: Rename BIG5HKSCS to BIG5-HKSCS.
3573 * tests/Makefile.in (check): Likewise.
3574 * tests/Makefile.os2 (check): Likewise.
3575 * tests/Makefile.msvc (check): Likewise.
3576 * tests/BIG5-HKSCS.TXT: Renamed from BIG5HKSCS.TXT.
3577 * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Renamed from
3578 BIG5HKSCS.IRREVERSIBLE.TXT.
3580 2001-06-02 Bruno Haible <haible@clisp.cons.org>
3582 * tools/cjk_tab_to_h.c (Encoding): Add fffd field.
3583 (is_charset2uni_large, compact_large_charset2uni): New functions.
3584 (find_charset2uni_pages): Use enc->fffd instead of 0xfffd.
3585 (output_charset2uni): If mapping to more than the Unicode BMP,
3586 use an extra indirection to keep each value in 16 bits.
3587 (invert): Bump limit from U+10000 to U+30000.
3588 (output_uni2charset_dense): Likewise.
3589 (output_uni2charset_sparse): Likewise. If mapping to more than one
3590 CJK plane, use three bytes per value instead of two bytes.
3591 (byte_row_cns11643): Allow more than 3 CJK planes.
3592 (do_cns11643_only_uni2charset): Increase number of rows, to include
3593 plane 15. Remove plane bits hack.
3594 (main): Accept names cns11643_4a,4b,5,6,7,15 as well.
3595 * tools/Makefile (ALL): Add cns11643_4a.h, cns11643_4b.h, cns11643_5.h,
3596 cns11643_6.h, cns11643_7.h, cns11643_15.h.
3597 (cns11643_1.h, cns11643_2.h, cns11643_3.h): Use new Unicode 3.1
3599 (cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
3600 cns11643_7.h, cns11643_15.h): New rules.
3601 (cns11643_inv.h): Change title.
3602 * lib/cns11643_1.h: Regenerated from Unicode 3.1 derived table.
3603 * lib/cns11643_3.h: Likewise.
3604 * lib/cns11643_4a.h: New file.
3605 * lib/cns11643_4b.h: New file.
3606 * lib/cns11643_4.h: New file.
3607 * lib/cns11643_5.h: New file.
3608 * lib/cns11643_6.h: New file.
3609 * lib/cns11643_7.h: New file.
3610 * lib/cns11643_15.h: New file.
3611 * lib/cns11643_inv.h: Regenerated from Unicode 3.1 derived table.
3612 (cns11643_inv_wctomb): Return 3 bytes now.
3613 * lib/cns11643.h: Include cns11643_4.h, cns11643_5.h, cns11643_6.h,
3614 cns11643_7.h, cns11643_15.h.
3615 (cns11643_wctomb): Now a simple alias to cns11643_inv_wctomb. Return
3616 plane number starting at 1, not 0.
3617 * lib/dec_hanyu.h (dec_hanyu_wctomb): Update for cns11643_wctomb
3619 * lib/euc_tw.h (euc_tw_mbtowc): Accept CNS11643 planes 4,5,6,7,15 as
3621 (euc_tw_wctomb): Update for cns11643_wctomb change.
3622 * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
3623 * lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Accept CNS11643 planes
3625 (iso2022_cn_ext_wctomb): Update for cns11643_wctomb change.
3626 Try CNS11643 planes 4,5,6,7 as well.
3627 * tests/EUC-TW.TXT: Many additions, mostly in planes 3,4,5,6,7,15.
3628 * tests/EUC-TW.IRREVERSIBLE.TXT: Reflect additions to CNS11643 plane 1.
3631 2001-06-01 Bruno Haible <haible@clisp.cons.org>
3633 * tests/table-from.c (bmp_only): New variable.
3634 (ucs4_decode): If bmp_only, don't return characters outside Unicode
3636 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
3637 a conversion line if ucs4_decode returns NULL.
3638 * tests/table-to.c (main): When testing encodings other than UTF-8 and
3639 GB18030, loop upto U+30000 instead of U+10000.
3641 2001-05-24 Bruno Haible <haible@clisp.cons.org>
3643 * lib/converters.h (mbtowc_funcs): Add flushwc member function.
3644 * lib/flushwc.h: New file.
3645 * lib/cp1255.h: Include flushwc.h.
3646 (cp1255_comp_table_data, cp1255_comp_table): New arrays.
3647 (cp1255_mbtowc): Compose base and combining characters.
3648 (cp1255_flushwc): New macro.
3649 * lib/vietcomb.h (viet_comp_table_data, viet_comp_table): New arrays.
3650 * lib/cp1258.h: Include flushwc.h.
3651 (cp1258_mbtowc): Compose base and combining characters.
3652 (cp1258_flushwc): New macro.
3653 * lib/tcvn.h: Include flushwc.h.
3654 (tcvn_mbtowc): Compose base and combining characters.
3655 (tcvn_flushwc): New macro.
3656 * lib/loop_unicode.h: (unicode_transliterate): New function, extracted
3657 from unicode_loop_convert.
3658 (unicode_loop_convert): Use unicode_transliterate.
3659 (unicode_loop_reset): Call xxx_flushwc and output the resulting
3661 * lib/encodings.def: Add xxx_flushwc member.
3662 * lib/encodings_aix.def: Likewise.
3663 * lib/encodings_dos.def: Likewise.
3664 * lib/encodings_local.def: Likewise.
3665 * lib/encodings_osf1.def: Likewise.
3666 * lib/genaliases.c: Add an argument to the DEFENCODING macro.
3667 * lib/genaliases2.c: Likewise.
3668 * lib/genflags.c: Likewise.
3669 * lib/iconv.c: Likewise.
3670 * tests/table-from.c (try): Reset the iconv descriptor before the main
3671 call, and flush it afterwards.
3672 (ucs4_decode): New function.
3673 (main): Allow up to 3 Unicode characters output. Call ucs4_decode.
3674 * tests/CP1255-snippet: New file.
3675 * tests/CP1255-snippet.UTF-8: New file.
3676 * tests/CP1258-snippet: New file.
3677 * tests/CP1258-snippet.UTF-8: New file.
3678 * tests/TCVN-snippet: New file.
3679 * tests/TCVN-snippet.UTF-8: New file.
3680 * tests/Makefile.in (check): Check combining behaviour of CP1255,
3682 * tests/Makefile.msvc (check): Likewise.
3683 * tests/Makefile.os2 (check): Likewise.
3685 2001-05-22 Bruno Haible <haible@clisp.cons.org>
3687 * lib/converters.h (RET_ILUNI): New macro.
3688 (RET_ILSEQ): Change value to -1.
3689 (RET_TOOFEW): Change value.
3690 * lib/loop_unicode.h (unicode_loop_convert): Write RET_ILUNI instead
3691 of 0. Update handling of xxx_mbtowc return value.
3692 * lib/genflags.c (emit_encoding): Likewise.
3693 * lib/ascii.h (ascii_wctomb): Use RET_ILUNI instead of RET_ILSEQ.
3694 * lib/armscii_8.h (armscii_8_wctomb): Likewise.
3695 * lib/big5.h (big5_wctomb): Likewise.
3696 * lib/big5hkscs.h (big5hkscs_wctomb): Likewise.
3697 * lib/ces_big5.h (ces_big5_wctomb): Likewise.
3698 * lib/ces_gbk.h (ces_gbk_wctomb): Likewise.
3699 * lib/cns11643.h (cns11643_wctomb): Likewise.
3700 * lib/cns11643_inv.h (cns11643_inv_wctomb): Likewise.
3701 * lib/cp437.h (cp437_wctomb): Likewise.
3702 * lib/cp775.h (cp775_wctomb): Likewise.
3703 * lib/cp850.h (cp850_wctomb): Likewise.
3704 * lib/cp852.h (cp852_wctomb): Likewise.
3705 * lib/cp855.h (cp855_wctomb): Likewise.
3706 * lib/cp856.h (cp856_wctomb): Likewise.
3707 * lib/cp857.h (cp857_wctomb): Likewise.
3708 * lib/cp861.h (cp861_wctomb): Likewise.
3709 * lib/cp862.h (cp862_wctomb): Likewise.
3710 * lib/cp864.h (cp864_wctomb): Likewise.
3711 * lib/cp865.h (cp865_wctomb): Likewise.
3712 * lib/cp866.h (cp866_wctomb): Likewise.
3713 * lib/cp869.h (cp869_wctomb): Likewise.
3714 * lib/cp874.h (cp874_wctomb): Likewise.
3715 * lib/cp922.h (cp922_wctomb): Likewise.
3716 * lib/cp932ext.h (cp932ext_wctomb): Likewise.
3717 * lib/cp932.h (cp932_wctomb): Likewise.
3718 * lib/cp936ext.h (cp936ext_wctomb): Likewise.
3719 * lib/cp949.h (cp949_wctomb): Likewise.
3720 * lib/cp950ext.h (cp950ext_wctomb): Likewise.
3721 * lib/cp950.h (cp950_wctomb): Likewise.
3722 * lib/cp1046.h (cp1046_wctomb): Likewise.
3723 * lib/cp1124.h (cp1124_wctomb): Likewise.
3724 * lib/cp1129.h (cp1129_wctomb): Likewise.
3725 * lib/cp1133.h (cp1133_wctomb): Likewise.
3726 * lib/cp1250.h (cp1250_wctomb): Likewise.
3727 * lib/cp1251.h (cp1251_wctomb): Likewise.
3728 * lib/cp1252.h (cp1252_wctomb): Likewise.
3729 * lib/cp1253.h (cp1253_wctomb): Likewise.
3730 * lib/cp1254.h (cp1254_wctomb): Likewise.
3731 * lib/cp1255.h (cp1255_wctomb): Likewise.
3732 * lib/cp1256.h (cp1256_wctomb): Likewise.
3733 * lib/cp1257.h (cp1257_wctomb): Likewise.
3734 * lib/cp1258.h (cp1258_wctomb): Likewise.
3735 * lib/dec_hanyu.h (dec_hanyu_wctomb): Likewise.
3736 * lib/dec_kanji.h (dec_kanji_wctomb): Likewise.
3737 * lib/euc_cn.h (euc_cn_wctomb): Likewise.
3738 * lib/euc_jp.h (euc_jp_wctomb): Likewise.
3739 * lib/euc_kr.h (euc_kr_wctomb): Likewise.
3740 * lib/euc_tw.h (euc_tw_wctomb): Likewise.
3741 * lib/gb12345ext.h (gb12345ext_wctomb): Likewise.
3742 * lib/gb12345.h (gb12345_wctomb): Likewise.
3743 * lib/gb18030ext.h (gb18030ext_wctomb): Likewise.
3744 * lib/gb18030.h (gb18030_wctomb): Likewise.
3745 * lib/gb18030uni.h (gb18030uni_wctomb): Likewise.
3746 * lib/gb2312.h (gb2312_wctomb): Likewise.
3747 * lib/gbkext_inv.h (gbkext_inv_wctomb): Likewise.
3748 * lib/gbk.h (gbk_wctomb): Likewise.
3749 * lib/georgian_academy.h (georgian_academy_wctomb): Likewise.
3750 * lib/georgian_ps.h (georgian_ps_wctomb): Likewise.
3751 * lib/hkscs.h (hkscs_wctomb): Likewise.
3752 * lib/hp_roman8.h (hp_roman8_wctomb): Likewise.
3753 * lib/hz.h (hz_wctomb): Likewise.
3754 * lib/iso2022_cnext.h (iso2022_cn_ext_wctomb): Likewise.
3755 * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
3756 * lib/iso2022_jp1.h (iso2022_jp1_wctomb): Likewise.
3757 * lib/iso2022_jp2.h (iso2022_jp2_wctomb): Likewise.
3758 * lib/iso2022_jp.h (iso2022_jp_wctomb): Likewise.
3759 * lib/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
3760 * lib/iso646_cn.h (iso646_cn_wctomb): Likewise.
3761 * lib/iso646_jp.h (iso646_jp_wctomb): Likewise.
3762 * lib/iso8859_1.h (iso8859_1_wctomb): Likewise.
3763 * lib/iso8859_2.h (iso8859_2_wctomb): Likewise.
3764 * lib/iso8859_3.h (iso8859_3_wctomb): Likewise.
3765 * lib/iso8859_4.h (iso8859_4_wctomb): Likewise.
3766 * lib/iso8859_5.h (iso8859_5_wctomb): Likewise.
3767 * lib/iso8859_6.h (iso8859_6_wctomb): Likewise.
3768 * lib/iso8859_7.h (iso8859_7_wctomb): Likewise.
3769 * lib/iso8859_8.h (iso8859_8_wctomb): Likewise.
3770 * lib/iso8859_9.h (iso8859_9_wctomb): Likewise.
3771 * lib/iso8859_10.h (iso8859_10_wctomb): Likewise.
3772 * lib/iso8859_13.h (iso8859_13_wctomb): Likewise.
3773 * lib/iso8859_14.h (iso8859_14_wctomb): Likewise.
3774 * lib/iso8859_15.h (iso8859_15_wctomb): Likewise.
3775 * lib/iso8859_16.h (iso8859_16_wctomb): Likewise.
3776 * lib/isoir165ext.h (isoir165ext_wctomb): Likewise.
3777 * lib/isoir165.h (isoir165_wctomb): Likewise.
3778 * lib/jisx0201.h (jisx0201_wctomb): Likewise.
3779 * lib/jisx0208.h (jisx0208_wctomb): Likewise.
3780 * lib/jisx0212.h (jisx0212_wctomb): Likewise.
3781 * lib/johab.h (johab_wctomb): Likewise.
3782 * lib/johab_hangul.h (johab_hangul_wctomb, johab_hangul_decompose):
3784 * lib/koi8_r.h (koi8_r_wctomb): Likewise.
3785 * lib/koi8_ru.h (koi8_ru_wctomb): Likewise.
3786 * lib/koi8_u.h (koi8_u_wctomb): Likewise.
3787 * lib/ksc5601.h (ksc5601_wctomb): Likewise.
3788 * lib/mac_arabic.h (mac_arabic_wctomb): Likewise.
3789 * lib/mac_centraleurope.h (mac_centraleurope_wctomb): Likewise.
3790 * lib/mac_croatian.h (mac_croatian_wctomb): Likewise.
3791 * lib/mac_cyrillic.h (mac_cyrillic_wctomb): Likewise.
3792 * lib/mac_greek.h (mac_greek_wctomb): Likewise.
3793 * lib/mac_hebrew.h (mac_hebrew_wctomb): Likewise.
3794 * lib/mac_iceland.h (mac_iceland_wctomb): Likewise.
3795 * lib/mac_roman.h (mac_roman_wctomb): Likewise.
3796 * lib/mac_romania.h (mac_romania_wctomb): Likewise.
3797 * lib/mac_thai.h (mac_thai_wctomb): Likewise.
3798 * lib/mac_turkish.h (mac_turkish_wctomb): Likewise.
3799 * lib/mac_ukraine.h (mac_ukraine_wctomb): Likewise.
3800 * lib/mulelao.h (mulelao_wctomb): Likewise.
3801 * lib/nextstep.h (nextstep_wctomb): Likewise.
3802 * lib/sjis.h (sjis_wctomb): Likewise.
3803 * lib/tcvn.h (tcvn_wctomb): Likewise.
3804 * lib/tis620.h (tis620_wctomb): Likewise.
3805 * lib/ucs2be.h (ucs2be_wctomb): Likewise.
3806 * lib/ucs2.h (ucs2_wctomb): Likewise.
3807 * lib/ucs2internal.h (ucs2internal_wctomb): Likewise.
3808 * lib/ucs2le.h (ucs2le_wctomb): Likewise.
3809 * lib/ucs2swapped.h (ucs2swapped_wctomb): Likewise.
3810 * lib/ucs4.h (ucs4_wctomb): Likewise.
3811 * lib/uhc_1.h (uhc_1_wctomb): Likewise.
3812 * lib/uhc_2.h (uhc_2_wctomb): Likewise.
3813 * lib/utf16be.h (utf16be_wctomb): Likewise.
3814 * lib/utf16.h (utf16_wctomb): Likewise.
3815 * lib/utf16le.h (utf16le_wctomb): Likewise.
3816 * lib/utf32be.h (utf32be_wctomb): Likewise.
3817 * lib/utf32.h (utf32_wctomb): Likewise.
3818 * lib/utf32le.h (utf32le_wctomb): Likewise.
3819 * lib/utf7.h (utf7_wctomb): Likewise.
3820 * lib/utf8.h (utf8_wctomb): Likewise.
3821 * lib/viscii.h (viscii_wctomb): Likewise.
3822 * tools/8bit_tab_to_h.c (main): Likewise.
3823 * tools/cjk_tab_to_h.c (output_uni2charset_dense,
3824 output_uni2charset_sparse, do_gb18030uni): Likewise.
3826 2001-05-19 Bruno Haible <haible@clisp.cons.org>
3828 * Makefile.devel (all): Add man/{iconv.1,iconv*.3}.html.
3829 (man/%.html): New rule.
3830 * man/Makefile.in (docdir, htmldir): New variables.
3831 (install, installdirs): Install the HTML formatted man pages in
3833 (uninstall): Uninstall them.
3835 2001-05-20 Bruno Haible <haible@clisp.cons.org>
3837 * lib/cp1255.h (cp1255_decomp_table): New array.
3838 (cp1255_comb_table): New array.
3839 (cp1255_wctomb): Decompose Unicode characters.
3840 * tests/CP1255.IRREVERSIBLE.TXT: New file.
3842 2001-05-13 Bruno Haible <haible@clisp.cons.org>
3844 * lib/vietcomb.h: New file.
3845 * lib/cp1258.h: Include it.
3846 (cp1258_comb_table): New array.
3847 (cp1258_wctomb): Decompose Unicode characters.
3848 * lib/tcvn.h: Include it.
3849 (tcvn_comb_table): New array.
3850 (tcvn_wctomb): Decompose Unicode characters.
3851 * tests/CP1258.IRREVERSIBLE.TXT: New file.
3852 * tests/TCVN.IRREVERSIBLE.TXT: New file.
3854 2001-05-06 Bruno Haible <haible@clisp.cons.org>
3856 * lib/Makefile.msvc (config.h): Allow the 'del' command to fail.
3857 (iconv.lib): Likewise.
3859 2001-05-06 Bruno Haible <haible@clisp.cons.org>
3861 * lib/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
3862 (CPP): Remove variable.
3863 (libiconv.la, libiconv_plug_linux.so, libiconv_plug_solaris.so,
3864 libiconv_plug_osf.so): Use LDFLAGS.
3865 (libiconv_plug_linux.so, libiconv_plug_solaris.so,
3866 libiconv_plug_osf.so, iconv.lo): Use CPPFLAGS.
3867 * lib/Makefile.msvc (CPP): Remove variable.
3868 * src/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
3869 (CPP): Remove variable.
3870 (iconv): Use CPPFLAGS and LDFLAGS.
3871 * src/Makefile.msvc (CPP): Remove variable.
3872 * tests/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
3873 (check, table-from, table-to): Use CPPFLAGS and LDFLAGS.
3874 * tests/Makefile.msvc (CPP): Remove variable.
3876 2001-05-06 Bruno Haible <haible@clisp.cons.org>
3878 * lib/Makefile.in (libiconv_plug_solaris.so): Change rule if not using
3879 gcc. Reported by Paananen Mikko <mikkopa@cs.tut.fi>.
3881 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3883 Implement and document UTF-32, UTF-32BE, UTF-32LE.
3884 * src/utf32.h, src/utf32be.h, src/utf32le.h: New files.
3885 * src/converters.h: Include them.
3886 * src/encodings.def (UTF-32, UTF-32BE, UTF32LE): New encodings.
3887 * README, man/iconv_open.3: Add UTF-32, UTF-32BE, UTF32LE.
3888 * tests/Makefile.in (check): Check UTF-32, UTF-32BE, UTF32LE.
3889 * tests/Makefile.os2 (check): Likewise.
3890 * tests/Makefile.msvc (check): Likewise.
3891 * tests/UTF-32*snippet*: New files.
3893 * lib/ucs4.h (ucs4_mbtowc): Fix value of other-endian byte order.
3894 (ucs4_wctomb): Allow any 31-bit codepoint.
3896 2001-04-11 Bruno Haible <haible@clisp.cons.org>
3898 * tests/GB18030.TXT: Add mappings for all of U+0000..U+FFFF, including
3899 unassigned code points.
3900 * tests/table-from.c (main); When dumping GB18030, don't print code
3901 points larger than U+FFFF.
3903 2001-03-30 Bruno Haible <haible@clisp.cons.org>
3905 * tools/Makefile (GB18030uni.TXT): Use a table source which includes
3906 the unassigned Unicode code points.
3907 * lib/gb18030uni.h: Update.
3908 (gb18030uni_ranges): Remove bitmap_offset field.
3909 (gb18030uni_bitmap): Remove array.
3910 (gb18030uni_mbtowc): Omit gb18030uni_bitmap access.
3911 (gb18030uni_wctomb): Likewise.
3912 * lib/gb18030.h (gb18030_mbtowc): Handle Unicode characters >= 0x10000.
3913 (gb18030_wctomb): Likewise.
3915 2001-03-21 Bruno Haible <haible@clisp.cons.org>
3917 * INSTALL.generic (Particular Systems): Add recommendations for AIX 3.
3919 2001-03-21 Bruno Haible <haible@clisp.cons.org>
3921 * src/iconv.c (print_version): Now called GNU libiconv.
3923 2001-03-20 Bruno Haible <haible@clisp.cons.org>
3925 * README: This package is now called GNU libiconv.
3927 * tools/8bit_tab_to_h.c (main): Emit copyright notice to the output
3929 * tools/cjk_tab_to_h.c (output_title): Likewise.
3930 * tools/cjk_variants.c (main): Likewise.
3931 * lib/gentranslit.c (main): Likewise.
3933 2001-03-19 Bruno Haible <haible@clisp.cons.org>
3935 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Always define
3936 ac_config_guess and ac_config_sub. Then ignore requests for
3937 AC_CONFIG_AUX_DIR_DEFAULT or AC_CANONICAL_HOST.
3939 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3941 * INSTALL.generic: New section "Particular Systems".
3943 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3945 * lib/Makefile.in (libiconv.la): Pass flag -no-undefined. Needed on
3946 platforms like BeOS.
3948 * lib/loop_wchar.h (mbstate_t): Don't typedef if already #defined in
3951 2001-03-06 Bruno Haible <haible@clisp.cons.org>
3953 * Version 1.6 released.
3954 * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
3955 Bump version number.
3956 * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:3:0.
3958 2001-03-05 Bruno Haible <haible@clisp.cons.org>
3960 Provide all encodings used by OSF/1 5.1 locales.
3961 * lib/dec_kanji.h: New file.
3962 * lib/dec_hanyu.h: New file.
3963 * lib/converters.h: Include them if USE_OSF1 is defined.
3964 * lib/encodings_osf1.def: New file.
3965 * lib/genflags.c (main): Include it. Define USE_OSF1.
3966 * lib/genaliases2.c (main): Include it conditionally.
3967 * lib/iconv.c: Define USE_OSF1 on OSF/1.
3968 Include encodings_osf1.def and aliases_osf1.h.
3969 * lib/Makefile.in (iconv.lo): Depend on encodings_osf1.def and
3971 * Makefile.devel (lib/aliases_osf1.h): New target.
3972 (all): Depend on lib/aliases_osf1.h.
3973 (lib/flags.h): Depend on lib/encodings_osf1.def.
3975 2001-03-01 Bruno Haible <haible@clisp.cons.org>
3977 * tools/Makefile (cp775.h): New target.
3979 * lib/cp775.h: New file.
3980 * lib/converters.h: Include it.
3981 * lib/encodings_dos.def (CP775): New encoding.
3983 2001-02-25 Bruno Haible <haible@clisp.cons.org>
3985 * lib/iconv.c (iconv_open): locale_charset() doesn't return NULL any
3988 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3990 * src/iconv.c (convert): Use ICONV_CONST.
3991 * tests/table-from.c: Include config.h.
3992 (try): Use ICONV_CONST.
3993 * tests/table-to.c: Include config.h.
3994 (main): Use ICONV_CONST.
3995 * tests/Makefile.in (INCLUDES): Add -I../lib.
3996 * tests/Makefile.os2 (INCLUDES): Likewise.
3997 * tests/Makefile.msvc (INCLUDES): Add -I..\lib.
3999 2001-02-24 Bruno Haible <haible@clisp.cons.org>
4001 Provide all encodings used by DOS locales.
4002 * tools/Makefile (cp437.h, cp852.h, cp855.h, cp857.h, cp861.h,
4003 cp864.h, cp865.h, cp869.h): New targets.
4005 * lib/cp437.h: New file.
4006 * lib/cp852.h: New file.
4007 * lib/cp855.h: New file.
4008 * lib/cp857.h: New file.
4009 * lib/cp861.h: New file.
4010 * lib/cp864.h: New file.
4011 * lib/cp865.h: New file.
4012 * lib/cp869.h: New file.
4013 * lib/converters.h: Include them if USE_DOS is defined.
4014 * lib/encodings_dos.def: New file.
4015 * lib/genflags.c (main): Include it. Define USE_DOS.
4016 * lib/genaliases2.c (main): Include it conditionally.
4017 * lib/iconv.c: Define USE_DOS on DJGPP.
4018 Include encodings_dos.def and aliases_dos.h.
4019 * lib/Makefile.in (iconv.lo): Depend on encodings_dos.def and
4021 * Makefile.devel (lib/aliases_dos.h): New target.
4022 (all): Depend on lib/aliases_dos.h.
4023 (lib/flags.h): Depend on lib/encodings_dos.def.
4025 2001-02-23 Bruno Haible <haible@clisp.cons.org>
4027 * src/iconv.c [DJGPP]: Include <io.h> and <unistd.h>.
4028 (SET_BINARY) [O_BINARY]: New macro.
4029 (usage): Mention --binary if available.
4030 (convert): Use SET_BINARY instead of setmode.
4032 Reported by Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>.
4034 2001-02-25 Bruno Haible <haible@clisp.cons.org>
4036 * autoconf/ltconfig:
4037 sed -e 's/reload object files/produce relocatable object files/'.
4039 2001-02-20 Bruno Haible <haible@clisp.cons.org>
4041 * src/iconv.c (usage, main): Make -f and -t options optional.
4042 * man/iconv.1: Mark them as optional.
4044 2001-02-20 Bruno Haible <haible@clisp.cons.org>
4046 * tools/Makefile (GB18030ext.TXT, GB18030uni.TXT): Generate from
4048 * lib/gb18030uni.h, lib/gb18030ext.h: Add mapping 0xA989 -> U+303E,
4049 0xFE5E -> U+2E97. Shift the entire four-byte range.
4050 * tests/GB18030.TXT: Regenerated.
4052 2001-02-20 Bruno Haible <haible@clisp.cons.org>
4054 Better support for DOS/Windows platforms.
4055 * autoconf/ltconfig: Upgrade to libtool-1.3.5.
4056 * autoconf/ltmain.sh: Likewise.
4057 * autoconf/aclocal.m4: Likewise.
4058 * autoconf/install-sh: New file.
4059 * configure.in: Call AC_OBJEXT and AC_EXEEXT. Call AC_CONFIG_AUX_DIR.
4061 2001-02-20 Bruno Haible <haible@clisp.cons.org>
4063 * Makefile.in (libdir, includedir, mandir): Use the autoconf
4064 determined value, in order to respect the configure arguments.
4065 * lib/Makefile.in (libdir): Likewise.
4066 * src/Makefile.in (bindir): Likewise.
4067 * man/Makefile.in (mandir): Likewise.
4069 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4071 * lib/translit.def: Add all the neutral transliterations from glibc.
4072 * lib/gentranslit.c (main): Allow UTF-8 replacements which are in
4073 UCS-2 but not in ISO-8859-1. Generate a table of 'unsigned short'.
4074 Avoid accessing data[-1].
4075 * lib/loop_unicode.h (unicode_loop_convert): Change type of pointer
4078 2001-01-05 Bruno Haible <haible@clisp.cons.org>
4080 Implement and document CP862.
4081 * tools/Makefile (ALL): Add cp862.h.
4082 (cp862.h): New target.
4083 * lib/cp862.h: New file.
4084 * lib/converters.h: Include it.
4085 * lib/encodings.def (CP862): New encoding.
4086 * README, man/iconv_open.3: Add CP862.
4087 * tests/Makefile.in (check): Check CP862.
4088 * tests/Makefile.msvc (check): Likewise.
4089 * tests/Makefile.os2 (check): Likewise.
4090 * tests/CP862.TXT: New file.
4092 2000-12-18 Bruno Haible <haible@clisp.cons.org>
4094 * autoconf/mbstate_t.m4: New file, from textutils-2.0.10.
4095 * Makefile.devel (OTHERMACROS): Add it.
4096 * configure.in: Call AC_MBSTATE_T.
4097 * lib/config.h.in (mbstate_t): New definition.
4098 * lib/loop_wchar.h (mbrtowc): For BeOS, declare and define fallback.
4100 2000-12-12 Bruno Haible <haible@clisp.cons.org>
4102 * Makefile.in: Use $(MAKE) instead of $(MAKE) -r. Needed with Solaris
4103 "make", which doesn't set MAKE as expected by @SET_MAKE@ if -r is
4104 given. Reported by Toshimitsu Fujiwara.
4106 2000-12-08 Bruno Haible <haible@clisp.cons.org>
4108 * Makefile.in (exec_prefix): Use configure's --exec-prefix argument.
4109 * lib/Makefile.in (exec_prefix): Likewise.
4110 * src/Makefile.in (exec_prefix): Likewise.
4111 * man/Makefile.in (exec_prefix): Likewise.
4113 2000-12-02 Bruno Haible <haible@clisp.cons.org>
4115 * Version 1.5 released.
4116 * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
4117 Bump version number.
4118 * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:2:0.
4120 2000-12-02 Bruno Haible <haible@clisp.cons.org>
4122 * Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
4123 Remove files installed in lib by libcharset.
4124 * Makefile.msvc (mostlyclean): Likewise.
4126 * Makefile.in (check): Depend on target 'all'.
4127 * Makefile.os2 (check): Likewise.
4128 * Makefile.msvc (check): Depend on target 'force' as well.
4130 * src/iconv.c (usage): Take an exitcode argument.
4131 (print_version): New function.
4132 (main): Recognize --help and --version command line options.
4134 2000-12-02 Bruno Haible <haible@clisp.cons.org>
4136 * Makefile.msvc: Replace STATIC with its opposite flag, DLL.
4137 * lib/Makefile.msvc: Likewise.
4138 * src/Makefile.msvc: Likewise.
4139 * tests/Makefile.msvc: Likewise.
4141 2000-12-01 Bruno Haible <haible@clisp.cons.org>
4143 * src/iconv.c: Include <fcntl.h>. Define fallbacks for setmode, fileno.
4144 (force_binary): New variable.
4145 (convert): If requested, set the input O_BINARY.
4146 (main): Accept --binary option. If requested, set the output O_BINARY.
4147 * tests/check-stateful.bat: Pass --binary to iconv.
4148 * tests/check-stateful.cmd: Likewise.
4149 * tests/check-translit.bat: Likewise.
4150 * tests/check-translit.cmd: Likewise.
4152 2000-12-01 Bruno Haible <haible@clisp.cons.org>
4154 * include/iconv.h.in (_libiconv_version): New declaration.
4155 * lib/iconv.c (_libiconv_version): New variable.
4157 2000-11-30 Bruno Haible <haible@clisp.cons.org>
4159 * Makefile.msvc (all): File now named lib/libcharset.h.
4160 (clean, distclean, maintainer-clean): Likewise.
4162 2000-11-23 Bruno Haible <haible@clisp.cons.org>
4164 * lib/*: Move here all files from src/*.
4165 * src/*: Move all files to lib.
4166 * lib/Makefile.in (distclean): No need to remove config.status,
4167 config.log, config.cache.
4168 * configure.in: Require lib/iconv.c, not src/iconv.c. Create
4169 lib/config.h, not src/config.h. Also create lib/Makefile.
4170 * Makefile.in (all): Install libcharset into lib, not src. Recurse
4172 (install-lib): Recurse into lib, not src.
4173 (install): Recurse into libcharset, lib and src.
4174 (installdirs, uninstall): Likewise.
4175 (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
4176 * Makefile.msvc (all): Recurse into lib and src.
4177 (install): Recurse into libcharset, lib and src.
4178 (installdirs, uninstall): Likewise.
4179 (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
4180 * Makefile.os2 (all): Recurse into lib and src.
4181 (install-lib): Recurse into lib, not src.
4182 (install, uninstall): Recurse into lib and src.
4183 (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
4184 * Makefile.devel (lib/config.h.msvc): Renamed from src/config.h.msvc.
4185 (lib/aliases.h): Renamed from src/aliases.h.
4186 (lib/aliases.gperf): Renamed from src/aliases.gperf.
4187 (lib/aliases_aix.h): Renamed from src/aliases_aix.h.
4188 (lib/flags.h): Renamed from src/flags.h.
4189 (lib/translit.h): Renamed from src/translit.h.
4190 * src/iconv.c: Moved here from tests/iconv.c.
4191 * src/Makefile.in: New file.
4192 * src/Makefile.msvc: New file.
4193 * src/Makefile.os2: New file.
4194 * tests/Makefile.in (iconv): Remove target.
4195 (../lib/libiconv.la): Renamed from ../src/libiconv.la.
4196 (clean): No need to remove iconv.
4197 * tests/Makefile.msvc (iconv.exe): Remove target.
4198 * tests/Makefile.os2 (iconv.exe): Likewise.
4199 * tests/check-stateful: iconv is in ../src.
4200 * tests/check-stateful.bat: Likewise.
4201 * tests/check-stateful.cmd: Likewise.
4202 * tests/check-translit: iconv is in ../src.
4203 * tests/check-translit.bat: Likewise.
4204 * tests/check-translit.cmd: Likewise.
4205 * man/iconv.1: New file.
4206 * man/Makefile.in (install, installdirs, uninstall): Also install *.1
4208 * man/Makefile.os2 (MAN3): Renamed from MAN.
4209 (MAN1): New variable.
4210 (install, uninstall): Also install *.1 man pages.
4212 2000-11-21 Bruno Haible <haible@clisp.cons.org>
4214 * Makefile.msvc (all, check, mostlyclean, clean, distclean,
4215 maintainer-clean): Recurse into libcharset.
4216 (clean, distclean, maintainer-clean): Remove src\libcharset.h.
4217 * src/Makefile.msvc (LIBCHARSET_OBJECTS): New variable.
4218 (iconv.lib): Link with $(LIBCHARSET_OBJECTS).
4220 2000-11-18 Bruno Haible <haible@clisp.cons.org>
4222 * src/cp950.h (cp950_mbtowc, cp950_wctomb): Change implementation
4223 so that it agrees with Microsoft's definition of CP950.
4224 * tests/CP950.TXT: Likewise.
4225 * tests/CP950.IRREVERSIBLE.TXT: Add 0xA244, 0xA2CC, 0xA2CE.
4227 2000-11-18 Bruno Haible <haible@clisp.cons.org>
4229 Add support for locale dependent "char" and "wchar_t" encodings.
4230 * libcharset: New subdirectory.
4231 * src/loop_unicode.h: New file, extracted from src/iconv.c.
4232 * src/loop_wchar.h: New file.
4233 * src/loops.h: New file. Include loop_unicode.h and loop_wchar.h.
4234 * src/encodings_local.def: New file.
4235 * src/genaliases.c: Also create aliases for encodings_local.def.
4236 * src/converters.h (conv_struct): Add lfuncs field.
4237 * src/genflags.c: Add dummy definitions of struct loop_funcs.
4238 * src/iconv.c: Include libcharset.h.
4239 (loop_funcs): New structure.
4240 Treat encodings_local.def like encodings.def.
4242 (iconv_open): Move the bulk of the code to loop_unicode.h.
4244 (iconvctl): Extend determination of TRIVIALP to wchar_t conversion
4246 * src/Makefile.in (PLUG_SOURCES): Remove variable.
4247 (LIBCHARSET_OBJECTS): New variable.
4248 (libiconv.la): Link in the LIBCHARSET_OBJECTS.
4249 (libiconv_plug_linux.so, libiconv_plug_solaris.so,
4250 libiconv_plug_osf.so): Link in the LIBCHARSET_OBJECTS, using
4252 (iconv.lo): Depend on encodings_local.def.
4253 * src/Makefile.msvc (iconv.obj): Depend on encodings_local.def.
4254 * src/Makefile.os2 (iconv.obj): Likewise.
4255 * configure.in: Add tests for locale.h, mbrtowc, wcrtomb, setlocale.
4256 Recurse into libcharset.
4257 * src/config.h.in (HAVE_LOCALE_H, HAVE_MBRTOWC, HAVE_WCRTOMB,
4258 HAVE_SETLOCALE): New macros.
4259 * tests/iconv.c: Include config.h and locale.h.
4260 (main): Call setlocale.
4261 * tests/Makefile.in (iconv): Search for config.h in ../src.
4262 * tests/Makefile.os2 (iconv.exe): Likewise.
4263 * tests/Makefile.msvc (iconv.exe): Likewise.
4264 * README, man/iconv_open.3: Document "char" and "wchar_t" encodings.
4265 * Makefile.in: After "cd", use "&&" not ";".
4266 (all, check, mostlyclean, clean, distclean, maintainer-clean):
4267 Recurse into libcharset.
4268 * Makefile.devel (all): Recurse into libcharset.
4269 (src/aliases.gperf): Depend on src/encodings_local.def.
4271 2000-11-18 Bruno Haible <haible@clisp.cons.org>
4273 * src/converters.h (ucs4_t): New type.
4274 (wchar_t): Remove locally defined override.
4275 (mbtowc_funcs, wctomb_funcs): Use ucs4_t instead of wchar_t.
4276 * src/iconv.c (iconv): Likewise.
4277 * src/genflags.c (emit_encoding): Use ucs4_t instead of wchar_t.
4278 * tools/8bit_tab_to_h.c: Use "ucs4_t" instead of "wchar_t".
4279 * tools/cjk_tab_to_h.c: Likewise.
4280 * src/armscii_8.h: Use ucs4_t instead of wchar_t.
4281 * src/ascii.h: Likewise.
4282 * src/big5.h: Likewise.
4283 * src/big5hkscs.h: Likewise.
4284 * src/ces_big5.h: Likewise.
4285 * src/ces_gbk.h: Likewise.
4286 * src/cns11643.h: Likewise.
4287 * src/cns11643_1.h: Likewise.
4288 * src/cns11643_2.h: Likewise.
4289 * src/cns11643_3.h: Likewise.
4290 * src/cns11643_inv.h: Likewise.
4291 * src/cp1046.h: Likewise.
4292 * src/cp1124.h: Likewise.
4293 * src/cp1129.h: Likewise.
4294 * src/cp1133.h: Likewise.
4295 * src/cp1250.h: Likewise.
4296 * src/cp1251.h: Likewise.
4297 * src/cp1252.h: Likewise.
4298 * src/cp1253.h: Likewise.
4299 * src/cp1254.h: Likewise.
4300 * src/cp1255.h: Likewise.
4301 * src/cp1256.h: Likewise.
4302 * src/cp1257.h: Likewise.
4303 * src/cp1258.h: Likewise.
4304 * src/cp850.h: Likewise.
4305 * src/cp856.h: Likewise.
4306 * src/cp866.h: Likewise.
4307 * src/cp874.h: Likewise.
4308 * src/cp922.h: Likewise.
4309 * src/cp932.h: Likewise.
4310 * src/cp932ext.h: Likewise.
4311 * src/cp936ext.h: Likewise.
4312 * src/cp949.h: Likewise.
4313 * src/cp950.h: Likewise.
4314 * src/cp950ext.h: Likewise.
4315 * src/euc_cn.h: Likewise.
4316 * src/euc_jp.h: Likewise.
4317 * src/euc_kr.h: Likewise.
4318 * src/euc_tw.h: Likewise.
4319 * src/gb12345.h: Likewise.
4320 * src/gb12345ext.h: Likewise.
4321 * src/gb18030.h: Likewise.
4322 * src/gb18030ext.h: Likewise.
4323 * src/gb18030uni.h: Likewise.
4324 * src/gb2312.h: Likewise.
4325 * src/gbk.h: Likewise.
4326 * src/gbkext1.h: Likewise.
4327 * src/gbkext2.h: Likewise.
4328 * src/gbkext_inv.h: Likewise.
4329 * src/georgian_academy.h: Likewise.
4330 * src/georgian_ps.h: Likewise.
4331 * src/hkscs.h: Likewise.
4332 * src/hp_roman8.h: Likewise.
4333 * src/hz.h: Likewise.
4334 * src/iso2022_cn.h: Likewise.
4335 * src/iso2022_cnext.h: Likewise.
4336 * src/iso2022_jp.h: Likewise.
4337 * src/iso2022_jp1.h: Likewise.
4338 * src/iso2022_jp2.h: Likewise.
4339 * src/iso2022_kr.h: Likewise.
4340 * src/iso646_cn.h: Likewise.
4341 * src/iso646_jp.h: Likewise.
4342 * src/iso8859_1.h: Likewise.
4343 * src/iso8859_10.h: Likewise.
4344 * src/iso8859_13.h: Likewise.
4345 * src/iso8859_14.h: Likewise.
4346 * src/iso8859_15.h: Likewise.
4347 * src/iso8859_16.h: Likewise.
4348 * src/iso8859_2.h: Likewise.
4349 * src/iso8859_3.h: Likewise.
4350 * src/iso8859_4.h: Likewise.
4351 * src/iso8859_5.h: Likewise.
4352 * src/iso8859_6.h: Likewise.
4353 * src/iso8859_7.h: Likewise.
4354 * src/iso8859_8.h: Likewise.
4355 * src/iso8859_9.h: Likewise.
4356 * src/isoir165.h: Likewise.
4357 * src/isoir165ext.h: Likewise.
4358 * src/java.h: Likewise.
4359 * src/jisx0201.h: Likewise.
4360 * src/jisx0208.h: Likewise.
4361 * src/jisx0212.h: Likewise.
4362 * src/johab.h: Likewise.
4363 * src/johab_hangul.h: Likewise.
4364 * src/koi8_r.h: Likewise.
4365 * src/koi8_ru.h: Likewise.
4366 * src/koi8_u.h: Likewise.
4367 * src/ksc5601.h: Likewise.
4368 * src/mac_arabic.h: Likewise.
4369 * src/mac_centraleurope.h: Likewise.
4370 * src/mac_croatian.h: Likewise.
4371 * src/mac_cyrillic.h: Likewise.
4372 * src/mac_greek.h: Likewise.
4373 * src/mac_hebrew.h: Likewise.
4374 * src/mac_iceland.h: Likewise.
4375 * src/mac_roman.h: Likewise.
4376 * src/mac_romania.h: Likewise.
4377 * src/mac_thai.h: Likewise.
4378 * src/mac_turkish.h: Likewise.
4379 * src/mac_ukraine.h: Likewise.
4380 * src/mulelao.h: Likewise.
4381 * src/nextstep.h: Likewise.
4382 * src/sjis.h: Likewise.
4383 * src/tcvn.h: Likewise.
4384 * src/tis620.h: Likewise.
4385 * src/ucs2.h: Likewise.
4386 * src/ucs2be.h: Likewise.
4387 * src/ucs2internal.h: Likewise.
4388 * src/ucs2le.h: Likewise.
4389 * src/ucs2swapped.h: Likewise.
4390 * src/ucs4.h: Likewise.
4391 * src/ucs4be.h: Likewise.
4392 * src/ucs4internal.h: Likewise.
4393 * src/ucs4le.h: Likewise.
4394 * src/ucs4swapped.h: Likewise.
4395 * src/uhc_1.h: Likewise.
4396 * src/uhc_2.h: Likewise.
4397 * src/utf16.h: Likewise.
4398 * src/utf16be.h: Likewise.
4399 * src/utf16le.h: Likewise.
4400 * src/utf7.h: Likewise.
4401 * src/utf8.h: Likewise.
4402 * src/viscii.h: Likewise.
4404 2000-11-18 Bruno Haible <haible@clisp.cons.org>
4406 Make transliteration optional.
4407 * src/iconv.c (iconv_open): Strip off //TRANSLIT suffix from names.
4408 Set transliteration on if and only if tocode ends in //TRANSLIT.
4409 * README, man/iconv_open.3: Document how to enable transliteration.
4410 * tests/check-translit: Add //TRANSLIT to iconv's 't' argument.
4411 * tests/check-translit.bat: Likewise.
4412 * tests/check-translit.cmd: Likewise.
4414 2000-11-18 Bruno Haible <haible@clisp.cons.org>
4416 * man/iconv.3: Fix typo.
4418 2000-10-31 Bruno Haible <haible@clisp.cons.org>
4420 * README, man/iconv_open.3: Document JOHAB again.
4422 2000-11-15 Bruno Haible <haible@clisp.cons.org>
4424 * Makefile.msvc: Add support for MFLAGS and DEBUG parameters.
4425 (STATIC): Change default from 0 to 1.
4426 * src/Makefile.msvc: Likewise.
4427 * tests/Makefile.msvc: Likewise.
4428 * tests/check-stateless.bat: Call 'sort' with no arguments.
4430 2000-11-12 Bruno Haible <haible@clisp.cons.org>
4432 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
4433 version from GNU CVS.
4435 2000-10-24 Bruno Haible <haible@clisp.cons.org>
4437 * Version 1.4 released.
4438 * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
4439 Bump version number.
4440 * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:1:0.
4442 2000-10-23 Bruno Haible <haible@clisp.cons.org>
4444 Implement and document GB18030 and BIG5HKSCS.
4445 * tools/cjk_tab_to_h.c (row_byte_hkscs, byte_row_hkscs, do_hkscs): New
4447 (do_gb18030uni): New function.
4448 (main): Accept gb18030ext, gb18030uni, hkscs.
4449 * tools/Makefile (ALL): Add gb18030ext.h, gb18030uni.h, hkscs.h.
4450 (gb18030ext.h, GB18030ext.TXT, gb18030uni.h, GB18030uni.TXT,
4451 hkscs.h): New targets.
4452 * src/gb18030ext.h, src/gb18030uni.h, src/gb18030.h: New files.
4453 * src/hkscs.h, src/big5hkscs.h: New files.
4454 * src/converters.h: Include gb18030.h and big5hkscs.h.
4455 * src/encodings.def (GB18030, BIG5HKSCS): New encodings.
4456 * README, man/iconv_open.3: Add GB18030, BIG5HKSCS.
4457 * tests/Makefile.in (check): Check GB18030, BIG5HKSCS.
4458 * tests/Makefile.msvc (check): Likewise.
4459 * tests/Makefile.os2 (check): Likewise.
4460 * tests/GB18030.TXT: New file.
4461 * tests/BIG5HKSCS.TXT, tests/BIG5HKSCS.IRREVERSIBLE.TXT: New files.
4463 2000-10-23 Bruno Haible <haible@clisp.cons.org>
4465 * tests/table-from.c (try, main): Use UCS-4-INTERNAL instead of
4466 UCS-2-INTERNAL, to avoid problems with UCS-2 surrogate handling.
4467 * tests/table-to.c (main): Likewise.
4469 2000-10-22 Bruno Haible <haible@clisp.cons.org>
4471 * src/gentranslit.c (main): Read the input in UTF-8 encoding.
4473 2000-10-09 Bruno Haible <haible@clisp.cons.org>
4475 CPU recognition on OpenBSD.
4476 * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __m68k__,
4477 __mc68020__, __MIPSEB__, __MIPSEL__, __m88k__ as CPU indicators.
4479 2000-10-03 Bruno Haible <haible@clisp.cons.org>
4481 * src/gentranslit.c (main): Don't output non-ASCII ISO-8859-1
4482 character literals, use the numeric value instead.
4483 Reported by Shin-Hsien Yeh <shyeh@alcatel.com.tw>.
4485 2000-09-29 Bruno Haible <haible@clisp.cons.org>
4487 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Fix bug in 2000-05-23
4490 2000-09-25 Bruno Haible <haible@clisp.cons.org>
4492 * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __i386__
4493 as equivalent to __i386. For OpenBSD.
4495 2000-09-21 Bruno Haible <haible@clisp.cons.org>
4497 * src/utf16.h (utf16_wctomb): Reject single surrogates.
4498 * src/utf16be.h (utf16be_wctomb): Likewise.
4499 * src/utf16le.h (utf16le_wctomb): Likewise.
4500 * src/ucs2.h (ucs2_mbtowc, ucs2_wctomb): Likewise.
4501 * src/ucs2be.h (ucs2be_mbtowc, ucs2be_wctomb): Likewise.
4502 * src/ucs2le.h (ucs2le_mbtowc, ucs2le_wctomb): Likewise.
4503 * src/ucs2internal.h (ucs2internal_mbtowc, ucs2internal_wctomb):
4505 * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb):
4508 2000-09-15 Bruno Haible <haible@clisp.cons.org>
4510 * Makefile.in (install, installdirs, uninstall): Support DESTDIR.
4511 * src/Makefile.in (install, installdirs, uninstall): Likewise.
4512 * man/Makefile.in (install, installdirs, uninstall): Likewise.
4514 2000-09-11 Bruno Haible <haible@clisp.cons.org>
4516 * src/utf7.h (utf7_mbtowc): Fix combining of UTF-16 surrogates.
4518 2000-08-26 Bruno Haible <haible@clisp.cons.org>
4520 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
4523 2000-07-04 Akira Hatakeyama <akira@sra.co.jp>
4524 Bruno Haible <haible@clisp.cons.org>
4526 * os2/iconv.def, README.os2, Makefile.os2, src/Makefile.os2,
4527 tests/Makefile.os2, man/Makefile.os2, tests/check-stateful.cmd,
4528 tests/check-stateless.cmd, tests/check-translit.cmd: New files.
4530 2000-06-28 Bruno Haible <haible@clisp.cons.org>
4532 * src/ucs2internal.h (ucs2internal_mbtowc): Avoid gcc warning about
4534 * src/ucs4internal.h (ucs4internal_mbtowc): Likewise.
4535 * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb): Verify
4536 sizeof(unsigned short).
4537 * src/ucs4swapped.h (ucs4swapped_mbtowc, ucs4swapped_mbtowc): Verify
4538 sizeof(unsigned int).
4539 Reported by François Pinard <pinard@iro.umontreal.ca>.
4541 2000-05-29 Bruno Haible <haible@clisp.cons.org>
4543 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
4544 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
4546 2000-05-23 Bruno Haible <haible@clisp.cons.org>
4548 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
4549 host_vendor, host_os correctly if $host has more than two hyphens.
4551 2000-04-15 Bruno Haible <haible@clisp.cons.org>
4553 * Version 1.3 released.
4554 * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
4555 Bump version number.
4556 * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:0:0.
4558 2000-04-15 Bruno Haible <haible@clisp.cons.org>
4561 * INSTALL.generic: New file.
4563 Implement and document UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
4564 * src/ucs2be.h, src/ucs2le.h, src/ucs4be.h, src/ucs4le.h: New files.
4565 * src/converters.h: Include them.
4566 * src/ucs2swapped.h: Remove #defines for UCS-2-BE, UCS-2-LE.
4567 * src/ucs4swapped.h: Remove #defines for UCS-4-BE, UCS-4-LE.
4568 * src/encodings.def (UCS-2BE): Renamed from UCS-2-BE.
4569 (UCS-2LE): Renamed from UCS-2-LE.
4570 (UCS-4BE): Renamed from UCS-4-BE.
4571 (UCS-4LE): Renamed from UCS-4-LE.
4572 * Makefile.devel (src/aliases.h): Pass option "-i 1" to gperf.
4573 * README, man/iconv_open.3: Add UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
4574 * tests/Makefile.in (check): Check UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
4575 * tests/Makefile.msvc (check): Likewise.
4576 * tests/UCS-*snippet*: New files.
4578 Allow building as a shared library on Windows.
4579 Allow running the tests on Windows.
4580 * Makefile.devel (include/iconv.h.msvc): Remove rule.
4581 (include/iconv.h.msvc-static, include/iconv.h.msvc-shared): New
4584 * windows/dllexport.h: New file.
4585 * include/iconv.h.msvc: Remove file.
4586 * include/iconv.h.msvc-static, include/iconv.h.msvc-shared: New
4587 autogenerated files.
4588 * Makefile.msvc (STATIC, DEBUG): Default to 0.
4589 (all): Choose either include\iconv.h.msvc-static or
4590 include\iconv.h.msvc-shared.
4591 (check): Depend on all.
4592 (all, check, mostlyclean, clean, distclean, maintainer-clean):
4593 Recurse into tests directory.
4594 * src/Makefile.msvc (STATIC, DEBUG): Default to 0.
4595 (WARN_CFLAGS, PICFLAGS, OPTIMFLAGS): New variables.
4596 (CFLAGS): Use them. Add -MD and -DBUILDING_LIBICONV.
4597 (RESOURCES): New variable.
4598 (iconv.lib): Change rule when building DLL.
4599 (clean, distclean): One filename per line.
4600 * tests/Makefile.msvc: New file.
4601 * tests/check-stateful.bat, tests/check-stateless.bat,
4602 tests/check-translit.bat: New files.
4603 * tests/uniq-u.c: New file, taken from GNU textutils.
4604 * README.win32: Update.
4605 Based on patches by Taro Muraoka <koron@tka.att.ne.jp>.
4607 2000-04-14 Bruno Haible <haible@clisp.cons.org>
4609 Fix an OSF/1 problem.
4610 * configure.in: Define GCC variable for substitution.
4611 * src/Makefile.in (libiconv_plug_osf.so): Change rule if not using
4614 2000-04-13 Bruno Haible <haible@clisp.cons.org>
4616 Fix a SunOS 4 problem.
4617 * include/iconv.h.in: If EILSEQ is not defined by the system, define
4618 it to ENOENT, not EINVAL.
4620 2000-04-02 Bruno Haible <haible@clisp.cons.org>
4622 Allow building on filesystems lacking symlinks and hard links.
4623 * Makefile.devel (autoconf/aclocal.m4): Replace AC_PROG_LN_S with
4625 * configure.in: Add CL_PROG_LN, CL_PROG_LN_S.
4626 * src/Makefile.in (LN): Use autoconfigured value @LN@.
4627 (LN_S): Use autoconfigured value @LN_S@.
4629 2000-03-15 Bruno Haible <haible@clisp.cons.org>
4631 * Version 1.2 released.
4632 * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
4633 * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:1:1.
4635 2000-03-14 Bruno Haible <haible@clisp.cons.org>
4637 Implement and document UTF-16BE and UTF16LE.
4638 * src/utf16be.h, src/utf16le.h: New files.
4639 * src/converters.h: Include them.
4640 * src/encodings.def (UTF-16BE, UTF16LE): New encodings.
4641 * README, man/iconv_open.3: Add UTF-16BE, UTF16LE.
4642 * tests/Makefile.in (check): Check UTF-16, UTF-16BE, UTF16LE.
4643 * tests/UTF-16*snippet*: New files.
4645 * src/utf16.h (utf16_wctomb): Output a byte order mark.
4647 2000-03-13 Bruno Haible <haible@clisp.cons.org>
4649 Provide all encodings used by AIX locales.
4650 * tools/Makefile (all): Add cp856.h, cp922.h, cp1046.h, cp1124.h,
4652 (cp856.h, cp922.h, cp1046.h, cp1124.h, cp1129.h): New targets.
4653 * src/cp856.h, src/cp922.h, src/cp943.h, src/cp1046.h, src/cp1124.h,
4654 src/cp1129.h: New files.
4655 * src/converters.h: Include them if USE_AIX is defined.
4656 * src/encodings_aix.def: New file, with CP856, CP922, CP943, CP1046,
4658 * src/genflags.c: Define USE_AIX. Include encodings_aix.def.
4659 * src/genaliases2.c: New file.
4660 * src/iconv.c: Define USE_AIX on AIX.
4661 Include encodings_aix.def and aliases_aix.h.
4662 (aliases2_lookup): New function.
4663 (iconv_open): Call aliases2_lookup.
4664 * src/Makefile.in (iconv.lo): Depend on encodings_aix.def and
4666 * Makefile.devel (all): Add src/aliases_aix.h.
4667 (src/aliases_aix.h): New rule.
4668 (src/flags.h): Depend on src/encodings_aix.def.
4670 2000-02-24 Bruno Haible <haible@clisp.cons.org>
4672 * src/iconv.c (iconv): Don't write beyond the end of the output buffer.
4673 Reported by Edmund Grimley Evans <edmundo@rano.org>.
4675 2000-02-22 Bruno Haible <haible@clisp.cons.org>
4677 * src/utf7.h (direct_tab, xdirect_tab): Treat tab like space.
4679 2000-02-15 Bruno Haible <haible@clisp.cons.org>
4681 * src/iconv.c (iconv): Add cast in xxx_reset call.
4683 2000-02-05 Bruno Haible <haible@clisp.cons.org>
4685 * src/tis620.h: Simplify.
4687 2000-01-27 Bruno Haible <haible@clisp.cons.org>
4689 * Makefile.devel (CLISP_DIR): Change to "..".
4691 2000-01-24 Bruno Haible <haible@clisp.cons.org>
4693 * Version 1.1 released.
4694 * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
4695 * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:0:1.
4697 2000-01-23 Bruno Haible <haible@clisp.cons.org>
4699 * src/utf7.h (utf7_wctomb): If base64 encoding is not active, encode
4702 2000-01-22 Bruno Haible <haible@clisp.cons.org>
4704 * include/iconv.h.in (iconvctl): New declaration.
4705 (ICONV_TRIVIALP, ICONV_GET_TRANSLITERATE, ICONV_SET_TRANSLITERATE):
4707 * src/iconv.c (iconvctl): New function.
4709 * tests/Makefile.in: Add a rule for ../src/libiconv.la. Define $(MAKE).
4711 Solve a build problem.
4712 * include/iconv.h.in: Renamed from include/libiconv.h.in.
4713 * Makefile.devel: libiconv.h -> iconv.h.
4714 * Makefile.in: Likewise.
4715 * configure.in: Likewise. Remove check for <iconv.h>.
4716 * src/iconv.c: Include iconv.h instead of libiconv.h.
4717 * tests/iconv.c, tests/table-from.c, tests/table-to.c: Likewise.
4719 * README, man/iconv_open.3: Don't document JOHAB any more.
4721 * man/iconv.3: Clarify return value again.
4723 2000-01-16 Bruno Haible <haible@clisp.cons.org>
4726 * src/encodings.def (ISO-8859-14): Add alias ISO-IR-199.
4727 (ISO-8859-15): Add alias ISO-IR-203.
4728 (EUC-CN): Add alias CN-GB, from RFC 1922.
4729 (BIG5): Add alias CN-BIG5, from RFC 1922.
4730 * Makefile.devel (src/aliases.h): Add 8th character to key set.
4733 * src/encodings.def (JIS_X0201): Drop JISX0201.1976-0 alias.
4734 (JIS_X0208): Drop JIS_X0208.1983-0, JIS_X0208.1983-1 aliases.
4735 (KSC_5601): Drop KSC5601.1987-0 alias.
4737 Improve GB/T 12345 (not used yet).
4738 * tools/Makefile (gb12345ext.h): Use GB12345-more.TXT.
4739 * src/gb12345ext.h: Regenerated.
4741 Improve and document CP949.
4742 * tools/Makefile (all): Add uhc_1.h and uhc_2.h.
4743 (uhc_1.h, uhc_2.h): New rules.
4744 * tools/cjk_tab_to_h.c (output_charset2uni_noholes_monotonic): New
4746 (output_uni2charset_sparse): Take an additional boolean argument.
4747 All callers changed.
4748 (*_uhc_1, *_uhc_2): New functions.
4749 (main): Treat uhc_1 and uhc_2.
4750 * src/uhc_1.h, src/uhc_2.h: New files.
4751 * src/cp949.h: New file, include them.
4752 * src/converters.h: Include it.
4753 * src/encodings.def (KSC_5601): Remove alias CP949.
4754 (CP949): New encoding.
4755 * README, man/iconv_open.3: Add CP949.
4756 * tests/Makefile.in (check): Check CP949.
4757 * tests/CP949.TXT: New file.
4760 * README, man/iconv_open.3: Add CP932.
4761 * tests/Makefile.in (check): Check CP932.
4762 * tests/CP932.TXT, tests/CP932.IRREVERSIBLE.TXT: New files.
4764 * Makefile.devel (src/flags.h): Depend on src/converters.h.
4766 * tests/Makefile.in (check): Check JIS_X0201.
4767 * tests/JIS_X0201.TXT: New file.
4769 * src/euc_kr.h (euc_kr_wctomb): Shrink size of buf.
4770 * src/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
4772 * src/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Use isoir165_mbtowc.
4773 (iso2022_cn_ext_wctomb): Use isoir165_wctomb.
4775 Add ISO-IR-165 (undocumented).
4776 * tools/Makefile (all): Add isoir165ext.h.
4777 (isoir165ext.h): New rule.
4778 * tools/cjk_tab_to_h.c (main): Treat isoir165ext like gb2312.
4779 * src/isoir165.h, src/isoir165ext.h: New files.
4780 * src/converters.h: Include it.
4781 * src/encodings.def: Add ISO-IR-165.
4782 * tests/Makefile.in (check): Check ISO-IR-165.
4783 * tests/ISO-IR-165.TXT, tests/ISO-IR-165.IRREVERSIBLE.TXT: New files.
4785 Add ISO646-CN (undocumented).
4786 * src/iso646_cn.h: New file.
4787 * src/converters.h: Include it.
4788 * src/encodings.def: Add ISO646-CN.
4789 * tests/Makefile.in (check): Check ISO646-CN.
4790 * tests/ISO646-CN.TXT: New file.
4792 Add ISO646-JP (undocumented).
4793 * src/iso646_jp.h: New file.
4794 * src/converters.h: Include it.
4795 * src/encodings.def: Add ISO646-JP.
4796 * tests/Makefile.in (check): Check ISO646-JP.
4797 * tests/ISO646-JP.TXT: New file.
4799 2000-01-05 Bruno Haible <haible@clisp.cons.org>
4802 * tools/Makefile (all): Add iso8859_16.h.
4803 (iso8859_16.h): New rule.
4804 * src/iso8859_16.h: New file.
4805 * src/converters.h: Include it.
4806 * src/encodings.def: Add ISO-8859-16.
4807 * README, man/iconv_open.3: Add ISO-8859-16.
4808 * tests/Makefile.in (check): Check ISO-8859-16.
4809 * tests/ISO-8859-16.TXT: New file.
4811 * man/iconv.3: Clarify what happens *inbuf in case 3.
4813 * src/iso8859_8.h: Update using newest table from ftp.unicode.org.
4814 * tests/ISO-8859-8.TXT: Likewise.
4816 2000-01-04 Bruno Haible <haible@clisp.cons.org>
4818 * Version 1.0 released.
4819 * include/libiconv.h.in (_LIBICONV_VERSION): Bump version number.
4820 * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 0:1:0.
4821 (libiconv.la): Use LIBICONV_VERSION_INFO.
4823 2000-01-03 Bruno Haible <haible@clisp.cons.org>
4825 * tests/Makefile.in: New file.
4826 tests/check-stateless, tests/table-from.c, tests/table-to.c,
4827 tests/*.TXT, tests/genutf8.c: New files, checks for stateless
4829 tests/check-stateful, tests/iconv.c, tests/*-snippet*: New files,
4830 checks for stateful encodings.
4831 * Makefile.in (all, check, mostlyclean, clean, distclean,
4832 maintainer-clean): Descend into tests directory.
4833 * configure.in: Add tests/Makefile to AC_OUTPUT duties.
4835 * src/gentranslit.c: New file.
4836 * Makefile.devel (src/translit.h): New rule.
4837 * src/translit.def, src/translit.h: New files.
4838 * src/iconv.c: Include it.
4839 (iconv): Transliterate using translit.h table.
4841 * src/genflags.c: New file.
4842 * Makefile.devel (src/flags.h): New rule.
4843 * src/flags.h: New file.
4844 * src/iconv.c: Include it.
4845 (encoding): Add field 'oflags'.
4846 (all_encodings): Initialize the field 'oflags'.
4847 (iconv_open): Copy field 'oflags'.
4848 (iconv): Transliterate quotation marks U+2018, U+2019, U+201A.
4849 * src/Makefile.in (iconv.lo): Update dependencies.
4851 * src/converters.h: New file, extracted from src/iconv.c.
4852 * src/iconv.c: Include it.
4853 * src/Makefile.in (iconv.lo): Update dependencies.
4855 * tools/cjk_variants.c: New file.
4856 * tools/Makefile (ALL): Add cjk_variants.h.
4857 (cjk_variants.h, cjk_variants): New rules.
4858 * src/cjk_variants.h: New file.
4859 * src/iconv.c: Include it.
4860 (iconv): Use cjk_variants for transliteration.
4862 * man/iconv.3: Fix description of return value.
4863 * euc_kr.h (euc_kr_wctomb): Remove Hangul transliteration.
4864 * iso2022_kr.h (iso2022kr_wctomb): Likewise.
4865 * src/iconv.c (iconv): Do Hangul transliteration here and increment
4866 result once for every transliterated character.
4867 * src/johab_hangul.h (johab_hangul_decompose): Change result array
4868 from 'unsigned char*' to 'wchar_t*'.
4870 * src/cp1258.h (cp1258_mbtowc): Return RET_ILSEQ instead of storing
4873 * src/georgian_ps.h (georgian_ps_wctomb): Accept 0x00e6.
4875 * src/euc_jp.h (euc_jp_wctomb): Don't treat U+005C and U+007E like
4878 * src/euc_tw.h (euc_tw_mbtowc): Fix typo.
4880 * src/cp950.h (cp950_mbtowc, cp950_wctomb): Exclude the range
4883 * tools/cjk_tab_to_h.c (read_table_ksc5601): Some Hangul range was
4884 not being excluded. Fix that.
4885 * src/ksc5601.h: Regenerated.
4886 * src/johab.h (johab_mbtowc): Don't accept 0xDA{A1..D3} - this is
4887 valid in KSC5601/KSX1001 but not in JOHAB.
4889 * src/iconv.c (conv_struct): Add fields iindex, oindex.
4890 (iconv_open): Fill in iindex, oindex.
4892 * src/encodings.def (UCS-2-BE): Add aliases "UNICODE-1-1" and
4893 "csUnicode11", from IANA charset list.
4894 (MacRoman): Add aliases "MAC" and "csMacintosh" for "MACINTOSH",
4895 from IANA charset list.
4896 (JIS_X0208): Add aliases "X0208", "ISO-IR-87", "csISO87JISX0208",
4897 from IANA charset list.
4898 (GB_2312-80): New encoding, from IANA charset list.
4900 * README, man/iconv_open.3: Add MacIceland and MacUkraine.
4902 * Makefile.devel: Add rules for src/aliases.h and src/aliases.gperf.
4903 (all): Depend on src/aliases.h.
4904 * src/Makefile.in: Remove rules for $(srcdir)/aliases.h and
4905 $(srcdir)/aliases.gperf.
4908 * src/Makefile.in (libiconv_plug_linux.so): Remove unneeded "-ldl".
4910 1999-12-31 Bruno Haible <haible@clisp.cons.org>
4912 * Version 0.3 released.