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