12006-07-19  Bruno Haible  <bruno@clisp.org>
2
3	* Version 1.11 released.
4
52005-07-19  Bruno Haible  <bruno@clisp.org>
6
7	* srclib/Makefile.am (libicrt_a_SOURCES): Remove error.h, error.c.
8	(LIBADD_SOURCE): Add them here.
9
102005-07-19  Bruno Haible  <bruno@clisp.org>
11
12	* build-aux/config.guess: Update to GNU version 2006-07-02.
13	* build-aux/config.sub: Likewise.
14
152006-07-14  Bruno Haible  <bruno@clisp.org>
16
17	* lib/Makefile.in (clean): Remove also *.stackdump.
18	* src/Makefile.in (clean): Likewise.
19	* tests/Makefile.in (clean): Likewise.
20
212006-07-14  Bruno Haible  <bruno@clisp.org>
22
23	* src/Makefile.in (clean): Remove also iconv_no_i18n. Needed for
24	cygwin or mingw.
25	* tests/Makefile.in (clean): Remove also the programs, without
26	EXEEXT. Needed for cygwin or mingw.
27	* Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
28	Remove also bin directory. Needed for cygwin and mingw.
29
302006-07-03  Bruno Haible  <bruno@clisp.org>
31
32	* src/iconv.c (check_subst_formatstring): Use ngettext.
33	(subst_wc_to_mb_fallback, subst_mb_to_mb_fallback): Fix error messages
34	after 2006-01-22 change.
35	* configure.ac: Require a gettext version with ngettext.
36
372006-06-28  Bruno Haible  <bruno@clisp.org>
38
39        * m4/gettext.m4: Update from GNU gettext.
40        * m4/po.m4: Update from GNU gettext.
41
422006-06-27  Bruno Haible  <bruno@clisp.org>
43
44	* Makefile.devel (AUTOCONF, AUTOHEADER): Use autoconf-2.60.
45	* Makefile.in (datarootdir): New variable.
46	(install, installdirs, uninstall): Also pass datarootdir.
47	* configure.ac (mandir): Remove customization.
48	* man/Makefile.in (datarootdir): New variable.
49	(docdir, htmldir): Use autoconf-substituted value.
50	* src/Makefile.in (datarootdir): New variable.
51	(localedir): Use autoconf-substituted value.
52
532006-06-27  Bruno Haible  <bruno@clisp.org>
54
55	* m4/stdint.m4: Update from gnulib.
56	* srclib/stdint_.h: Update from gnulib.
57	* srclib/Makefile.am: Update.
58
592006-06-17  Bruno Haible  <bruno@clisp.org>
60
61	* srclib/unsetenv.c: Update from GNU gettext.
62	* srclib/xreadlink.c: Likewise.
63
642006-06-16  Bruno Haible  <bruno@clisp.org>
65
66	* m4/full-header-path.m4: New file, from gnulib.
67	* m4/size_max.m4: New file, from gnulib.
68	* m4/stdint.m4: Update from gnulib.
69	* srclib/stdint_.h: Update from gnulib.
70	* srclib/Makefile.am (stdint.h): Likewise.
71	* Makefile.devel (aclocal.m4): Update dependencies.
72
732006-06-16  Bruno Haible  <bruno@clisp.org>
74
75	* m4/ssize_t.m4: Update from GNU gettext.
76
772006-06-12  Bruno Haible  <bruno@clisp.org>
78
79	* m4/gettext.m4: Update from GNU gettext.
80	* m4/inttypes-h.m4: New file, from GNU gettext.
81	* m4/inttypes.m4: Remove file.
82	* m4/stdint.m4 (gl_STDINT_H): Update.
83	* Makefile.devel (aclocal.m4): Update dependencies.
84
852006-06-10  Bruno Haible  <bruno@clisp.org>
86
87	* src/iconv.c (error) [NO_I18N]: Define here instead of including
88	error.h. Fixes link failure introduced on 2006-01-22.
89
902006-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
91
92	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: Avoid warning when
93	"parsing" /etc/ld.so.conf and empty /etc/ld.so.conf.d.
94
952006-05-20  Bruno Haible  <bruno@clisp.org>
96
97	* tests/BIG5-HKSCS-1999-snippet: New file.
98	* tests/BIG5-HKSCS-1999-snippet.UTF-8: New file.
99	* tests/BIG5-HKSCS-2001-snippet: New file.
100	* tests/BIG5-HKSCS-2001-snippet.UTF-8: New file.
101	* tests/BIG5-HKSCS-2004-snippet: New file.
102	* tests/BIG5-HKSCS-2004-snippet.UTF-8: New file.
103	* tests/Makefile.in (check): Test also the stateful parts of
104	BIG5-HKSCS:1999, BIG5-HKSCS:2001, BIG5-HKSCS:2004.
105
1062006-05-17  Bruno Haible  <bruno@clisp.org>
107
108	Implement newer releases of BIG5-HKSCS.
109	* tools/Makefile (ALL): Remove hkscs.h, add hkscs1999.h, hkscs2001.h,
110	hkscs2004.h.
111	(hkscs.h): Remove rule.
112	(hkscs1999.h, hkscs2001.h, hkscs2004.h): New rules.
113	* tools/cjk_tab_to_h.c (output_title): Update year.
114	(main): Recognize hkscs1999, hkscs2001, hkscs2004.
115	* lib/encodings.def: Rename BIG5-HKSCS to BIG5-HKSCS:1999. Add
116	BIG5-HKSCS:2001, BIG5-HKSCS:2004. Make all three stateful.
117	* lib/hkscs.h: Remove file.
118	* lib/hkscs1999.h: New file.
119	* lib/hkscs2001.h: New file.
120	* lib/hkscs2004.h: New file.
121	* lib/big5hkscs.h: Remove file.
122	* lib/big5hkscs1999.h: New file.
123	* lib/big5hkscs2001.h: New file.
124	* lib/big5hkscs2004.h: New file.
125	* lib/converters.h: Include the new files.
126	* README, man/iconv_open.3: Add BIG5-HKSCS:1999, BIG5-HKSCS:2001.
127	* tests/BIG5-HKSCS.TXT: Remove file.
128	* tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Remove file.
129	* tests/BIG5-HKSCS-1999.TXT: New file.
130	* tests/BIG5-HKSCS-1999.IRREVERSIBLE.TXT: New file.
131	* tests/BIG5-HKSCS-2001.TXT: New file.
132	* tests/BIG5-HKSCS-2001.IRREVERSIBLE.TXT: New file.
133	* tests/BIG5-HKSCS-2004.TXT: New file.
134	* tests/BIG5-HKSCS-2004.IRREVERSIBLE.TXT: New file.
135	* tests/check-stateless: Convert colon in the charset name to a dash in
136	the file name.
137	* tests/Makefile.in (check): Check BIG5-HKSCS:1999, BIG5-HKSCS:2001,
138	BIG5-HKSCS:2004 instead of just BIG5-HKSCS.
139	* tests/Makefile.msvc (check): Don't check BIG5-HKSCS.
140	* tests/Makefile.os2 (check): Likewise.
141
1422006-05-17  Bruno Haible  <bruno@clisp.org>
143
144	* srclib/progreloc.c: Update from GNU gettext.
145
1462006-05-16  Bruno Haible  <bruno@clisp.org>
147
148	* src/Makefile.in (clean): Use EXEEXT.
149	* tests/Makefile.in (check, clean): Likewise.
150
1512006-05-15  Bruno Haible  <bruno@clisp.org>
152
153	* configure.ac: Move some checks before AC_RELOCATABLE.
154
1552006-05-15  Bruno Haible  <bruno@clisp.org>
156
157	Support for building shared libraries on mingw and Cygwin.
158	* configure.ac (WOE32DLL, DLL_VARIABLE): New variables.
159	* include/iconv.h.in (_libiconv_version): Mark as DLL_VARIABLE.
160	* woe32dll/export.h: New file, from GNU gettext.
161	* woe32dll/iconv-exports.h: New file.
162	* Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
163	include/iconv.h.msvc-shared): Remove the DLL_VARIABLE annotation.
164	* lib/Makefile.in (INCLUDES): Add -I for parent directory.
165	(LDFLAGS): Add WOE32DLL dependent flags.
166	(LDFLAGS_yes, LDFLAGS_no): New variables.
167	(OBJECTS): Add WOE32DLL dependent objects.
168	(OBJECTS_yes, OBJECTS_no): New variables.
169	(iconv-exports.lo): New rule.
170
1712006-05-15  Bruno Haible  <bruno@clisp.org>
172
173	* srclib/gettext.h: Update from GNU gettext.
174	* srclib/pathmax.h: Update from GNU gettext.
175	* srclib/progreloc.c: Update from GNU gettext.
176	* srclib/unsetenv.c: Update from GNU gettext.
177	* srclib/Makefile.am: Add snippet for creation of unistd.h.
178	* m4/extensions.m4: Update from GNU gettext.
179	* m4/gettext.m4: Update from GNU gettext.
180	* m4/lib-ld.m4: Update from GNU gettext.
181	* m4/lib-link.m4: Update from GNU gettext.
182	* m4/lib-prefix.m4: Update from GNU gettext.
183	* m4/longdouble.m4: Update from GNU gettext.
184	* m4/nls.m4: Update from GNU gettext.
185	* m4/onceonly.m4: Update from GNU gettext.
186	* m4/po.m4: Update from GNU gettext.
187	* m4/relocatable.m4: Update from GNU gettext.
188	* m4/unistd_h.m4: New file, from GNU gettext.
189	* Makefile.devel (aclocal.m4): Depend on it.
190	* configure.ac: Invoke gl_HEADER_UNISTD.
191
1922006-05-14  Bruno Haible  <bruno@clisp.org>,
193            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
194
195	* m4/libtool.m4 [ linux ] (AC_LIBTOOL_LANG_CXX_CONFIG)
196	(AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_COMPILER_PIC)
197	(AC_LIBTOOL_PROG_LD_SHLIBS): Add support for Sun C 5.9,
198	Sun C++ 5.9, and Sun Fortran 8.3 on Linux.
199
2002006-05-06  Charles Wilson  <cygwin@cwilson.fastmail.fm>
201
202	* m4/libtool.m4: On Cygwin, like on mingw, define DLL_EXPORT when
203	compiling a shared library object.
204
2052006-05-15  Bruno Haible  <bruno@clisp.org>
206
207	* build-aux/config.rpath: Add support for Sun C 5.9 on Linux.
208
2092006-03-31  Juan Manuel Guerrero <juan.guerrero@gmx.de>
210
211	* djgpp/*: Update.
212
2132006-01-23  Bruno Haible  <bruno@clisp.org>
214
215	* configure.ac: Invoke gl_ALLOCSA.
216
217	* Makefile.devel (aclocal.m4): Depend on $(CONFIGURES_IN).
218
2192006-01-22  Bruno Haible  <bruno@clisp.org>
220
221	* src/iconv.c (xmalloc, xalloc_die) [NO_I18N]: Define to avoid using
222	gettext().
223
2242006-01-22  Bruno Haible  <bruno@clisp.org>
225
226	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 6:0:4.
227
2282006-01-22  Bruno Haible  <bruno@clisp.org>
229
230	* src/iconv.c: Include error.h, exit.h.
231	(print_version): Use EXIT_SUCCESS.
232	(check_subst_formatstring, subst_mb_to_uc_fallback,
233	subst_uc_to_mb_fallback, subst_mb_to_wc_fallback,
234	subst_wc_to_mb_fallback, subst_mb_to_mb_fallback, convert, main): Use
235	error() instead of fprintf to stderr.
236
2372006-01-22  Bruno Haible  <bruno@clisp.org>
238
239	New feature: character-dependent substitutions.
240	* include/iconv.h.in (iconv_unicode_mb_to_uc_fallback,
241	iconv_unicode_uc_to_mb_fallback, iconv_wchar_mb_to_wc_fallback,
242	iconv_wchar_wc_to_mb_fallback): New types.
243	(struct iconv_fallbacks): New structure type.
244	(ICONV_SET_FALLBACKS): New macro.
245	* configure.ac: Invoke gt_TYPE_WCHAR_T and substitute HAVE_WCHAR_T.
246	* Makefile.os2 (all): Also substitute @HAVE_WCHAR_T@ in build/iconv.h.
247	* Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
248	include/iconv.h.msvc-shared): Also substitute @HAVE_WCHAR_T@.
249	* lib/converters.h (struct conv_struct): Add field 'fallbacks'.
250	* lib/loop_unicode.h (struct uc_to_mb_fallback_locals): New type.
251	(uc_to_mb_write_replacement): New function.
252	(struct mb_to_uc_fallback_locals): New type.
253	(mb_to_uc_write_replacement): New function.
254	(unicode_loop_convert): Call mb_to_uc_fallback and uc_to_mb_fallback.
255	(unicode_loop_reset): Call uc_to_mb_fallback.
256	* lib/loop_wchar.h (struct wc_to_mb_fallback_locals): New type.
257	(wc_to_mb_write_replacement): New function.
258	(wchar_from_loop_convert): Call wc_to_mb_fallback.
259	(struct mb_to_wc_fallback_locals): New type.
260	(mb_to_wc_write_replacement): New function.
261	(wchar_to_loop_convert): Call mb_to_wc_fallback.
262	* lib/iconv.c (iconv_open): Initialize the 'fallbacks' field.
263	(iconvctl): Handle ICONV_SET_FALLBACKS.
264	* lib/genflags.c (struct iconv_fallbacks): New dummy definition.
265	* src/iconv.c: Include limits.h.
266	(isdigit, c_isprint): New macros.
267	(usage): Document long options and new options.
268	(check_subst_formatstring): New function.
269	(ilseq_byte_subst, ilseq_wchar_subst, ilseq_unicode_subst): New
270	variables.
271	(ilseq_byte_subst_size, ilseq_wchar_subst_size,
272	ilseq_unicode_subst_size): New variables.
273	(ilseq_byte_subst_buffer, ilseq_wchar_subst_buffer,
274	ilseq_unicode_subst_buffer): New variables.
275	(subst_mb_to_uc_cd, subst_mb_to_uc_temp_buffer): New variables.
276	(subst_mb_to_uc_fallback): New function.
277	(subst_uc_to_mb_cd, subst_uc_to_mb_temp_buffer): New variables.
278	(subst_uc_to_mb_fallback): New function.
279	(subst_mb_to_wc_cd, subst_mb_to_wc_temp_buffer): New variables.
280	(subst_mb_to_wc_fallback): New function.
281	(subst_wc_to_mb_cd, subst_wc_to_mb_temp_buffer): New variables.
282	(subst_wc_to_mb_fallback): New function.
283	(subst_mb_to_mb_cd, subst_mb_to_mb_temp_buffer): New variables.
284	(subst_mb_to_mb_fallback): New function.
285	(convert): Enlarge the outbuf when the conversion failed with E2BIG.
286	(main): Handle new options --byte-subst, --widechar-subst,
287	--unicode-subst.
288	* man/iconv.1: Document --unicode-subst, --byte-subst, --widechar-subst
289	options.
290	* tests/check-subst: New file.
291	* tests/Makefile.in (check): Also invoke check-subst.
292	Suggested by James Taylor <james@oakseed.demon.co.uk>.
293
2942006-01-21  Bruno Haible  <bruno@clisp.org>
295
296	* src/iconv.c (print_version): Bump copyright year.
297	(main): Accept long options --from-code, --to-code, --list, --silent.
298	Accept abbreviated long options, like getopt() does.
299	* man/iconv.1: Document long options.
300
3012005-12-29  Bruno Haible  <bruno@clisp.org>
302
303	* src/iconv.c (print_version): Update copyright year.
304
3052005-12-29  Bruno Haible  <bruno@clisp.org>
306
307	* configure.ac: Renamed from configure.in.
308	* Makefile.devel (CONFIGURES_IN, configure, config.h.in): Update.
309
3102005-12-29  Bruno Haible  <bruno@clisp.org>
311
312	* configure.in: Bump version number.
313	* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
314	* windows/iconv.rc: Likewise.
315	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 5:1:3.
316
3172005-12-29  Bruno Haible  <bruno@clisp.org>
318
319	* build-aux/config.guess: Update to GNU version 2005-12-23.
320	* build-aux/config.sub: Likewise.
321	* build-aux/config.libpath: Update from GNU gettext.
322	* build-aux/install-sh: Upgrade to automake-1.9.5.
323	* build-aux/missing: Upgrade to automake-1.9.5.
324	* build-aux/mkinstalldirs: Upgrade to automake-1.9.5.
325
3262005-12-29  Bruno Haible  <bruno@clisp.org>
327
328	* m4/alloca.m4: Update from GNU gettext.
329	* m4/allocsa.m4: Update from GNU gettext.
330	* m4/canonicalize.m4: Update from GNU gettext.
331	* m4/codeset.m4: Update from GNU gettext.
332	* m4/eealloc.m4: Update from GNU gettext.
333	* m4/error.m4: Update from GNU gettext.
334	* m4/extensions.m4: Update from GNU gettext.
335	* m4/gettext.m4: Update from GNU gettext.
336	* m4/glibc21.m4: Update from GNU gettext.
337	* m4/iconv.m4: Update from GNU gettext.
338	* m4/intmax.m4: Update from GNU gettext.
339	* m4/inttypes_h.m4: New file, from GNU gettext.
340	* m4/isc-posix.m4: Update from GNU gettext.
341	* m4/lcmessage.m4: Update from GNU gettext.
342	* m4/longdouble.m4: Update from GNU gettext.
343	* m4/longlong.m4: Update from GNU gettext.
344	* m4/mbstate_t.m4: Update from GNU gettext.
345	* m4/nls.m4: Update from GNU gettext.
346	* m4/onceonly.m4: Update from GNU gettext.
347	* m4/pathmax.m4: Update from GNU gettext.
348	* m4/po.m4: Update from GNU gettext.
349	* m4/printf-posix.m4: Update from GNU gettext.
350	* m4/progtest.m4: Update from GNU gettext.
351	* m4/readlink.m4: Update from GNU gettext.
352	* m4/relocatable.m4: Update from GNU gettext.
353	* m4/setenv.m4: Update from GNU gettext.
354	* m4/signed.m4: Update from GNU gettext.
355	* m4/ssize_t.m4: Update from GNU gettext.
356	* m4/stdbool.m4: Update from GNU gettext.
357	* m4/stdint_h.m4: New file, from GNU gettext.
358	* m4/strerror.m4: Update from GNU gettext.
359	* m4/strerror_r.m4: Update from GNU gettext.
360	* m4/unlocked-io.m4: Update from GNU gettext.
361	* m4/wchar_t.m4: Update from GNU gettext.
362	* m4/wint_t.m4: Update from GNU gettext.
363	* m4/xreadlink.m4: Update from GNU gettext.
364	* Makefile.devel (aclocal.m4): Depend on m4/inttypes_h.m4 and
365	m4/stdint_h.m4 as well.
366	* configure.in: Invoke AC_TYPE_MBSTATE_T instead of AC_MBSTATE_T.
367	Invoke gl_FUNC_GLIBC_UNLOCKED_IO instead of jm_FUNC_GLIBC_UNLOCKED_IO.
368	Invoke gl_ERROR instead of gt_FUNC_ERROR_AT_LINE.
369	Don't invoke AC_AIX and AC_MINIX, done by gl_USE_SYSTEM_EXTENSIONS.
370	Temporarily redefine AC_LIBOBJ and AC_REPLACE_FUNCS, so as to fill
371	SRCLIBOBJS instead of LIBOBJS.
372	* srclib/alloca_.h: Update from GNU gettext.
373	* srclib/allocsa.h: Update from GNU gettext.
374	* srclib/canonicalize.c: Update from GNU gettext.
375	* srclib/error.h: Update from GNU gettext.
376	* srclib/error.c: Update from GNU gettext.
377	* srclib/gettext.h: Update from GNU gettext.
378	* srclib/memmove.c: Update from GNU gettext.
379	* srclib/progname.h: Update from GNU gettext.
380	* srclib/progname.c: Update from GNU gettext.
381	* srclib/progreloc.c: Update from GNU gettext.
382	* srclib/readlink.c: Update from GNU gettext.
383	* srclib/relocatable.c: Update from GNU gettext.
384	* srclib/relocwrapper.c: Update from GNU gettext.
385	* srclib/setenv.h: Update from GNU gettext.
386	* srclib/setenv.c: Update from GNU gettext.
387	* srclib/stdbool_.h: Update from GNU gettext.
388	* srclib/stdint_.h: Update from gnulib.
389	* srclib/strerror.c: Update from GNU gettext.
390	* srclib/unlocked-io.h: Update from GNU gettext.
391	* srclib/unsetenv.c: Update from GNU gettext.
392	* srclib/xalloc.h: Update from GNU gettext.
393	* srclib/xmalloc.c: Update from GNU gettext.
394	* srclib/xreadlink.c: Update from GNU gettext.
395	* srclib/xstrdup.c: Update from GNU gettext.
396	* srclib/Makefile.am (DEFS): Also define EXEEXT.
397	(libicrt_a_LIBADD): Use SRCLIBOBJS instead of LIBOBJS.
398	(libicrt_a_DEPENDENCIES): New variable.
399	* src/Makefile.in (EXEEXT): New variable.
400	* build-aux/install-reloc: Update from GNU gettext.
401	* build-aux/reloc-ldflags: Update from GNU gettext.
402	* build-aux/config.rpath: Update from GNU gettext.
403
4042005-12-29  Bruno Haible  <bruno@clisp.org>
405
406	* m4/libtool.m4: Update, based on libtool-1.5.22.
407	* build-aux/ltmain.sh: Update, based on libtool-1.5.22.
408
4092005-12-24  Bruno Haible  <bruno@clisp.org>
410
411	Check the whole range of GB18030.
412	* tests/GB18030-BMP.TXT: Renamed from tests/GB18030.TXT.
413	* tests/gengb18030z.c: New file.
414	* tests/table-from.c (main): For GB18030, don't stop at U+10000.
415	* tests/table-to.c (main): Likewise.
416	* tests/Makefile.in (check): Generate GB18030.TXT on the fly from
417	GB18030-BMP.TXT.
418	(clean): Remove also gengb18030z and GB18030.TXT.
419	* tests/Makefile.msvc (check): Generate GB18030.TXT on the fly from
420	GB18030-BMP.TXT.
421	(clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
422	* tests/Makefile.os2 (check): Depend on gengb18030z.exe. Generate
423	GB18030.TXT on the fly from GB18030-BMP.TXT.
424	(clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
425
4262005-12-20  Bruno Haible  <bruno@clisp.org>
427
428	* tests/table-to.c (main): Test the mappings up to U+10FFFF, not only
429	up to U+2FFFF. Tolerate that Unicode language tags are silently mapped
430	to nothing.
431
4322005-12-22  Bruno Haible  <bruno@clisp.org>
433
434	Extend GB18030 converter to cover the entire Unicode PUA.
435	* lib/gb18030.h: Update comments, based on second printing.
436	(gb18030_mbtowc): Add mapping for range U+E000..U+E765.
437	(gb18030_pua2charset): New array.
438	(gb18030_wctomb): Add mapping for range U+E000..U+E765 and the two-byte
439	part of range U+E766..U+E864.
440	* lib/gb18030ext.h (gb18030ext_2uni_pagefe): Add mappings to private
441	area.
442	(gb18030ext_mbtowc): Add mapping for the two-byte part of range
443	U+E766..U+E864.
444	* lib/gb18030uni.h (gb18030uni_charset2uni_ranges,
445	gb18030uni_uni2charset_ranges, gb18030uni_ranges): Add 12 more
446	intervals.
447	(gb18030uni_mbtowc, gb18030uni_wctomb): Update.
448	* tests/GB18030.TXT: Complete mappings to private area.
449
4502005-12-22  Bruno Haible  <bruno@clisp.org>
451
452	* lib/gbk.h: Update comments.
453
4542005-12-20  Bruno Haible  <bruno@clisp.org>
455
456	Add private area mappings to CP949.
457	* lib/cp949.h (cp949_mbtowc, cp949_wctomb): Map U+E000..U+E0BB like
458	many others do it.
459	* tests/CP949.TXT: Add mappings for U+E000..U+E0BB.
460
4612005-12-15  Bruno Haible  <bruno@clisp.org>
462
463	Add private area mappings to CP950.
464	* lib/cp950.h (cp950_mbtowc, cp950_wctomb): Map U+E000..U+F6B0 like
465	most others do it.
466	* tests/CP950.TXT: Add mappings for U+E000..U+F6B0.
467
4682005-12-15  Bruno Haible  <bruno@clisp.org>
469
470	Make CP936 follow what Microsoft does.
471	In http://www.microsoft.com/globaldev/reference/dbcs/936.mspx they
472	added a 0x80 - U+20AC mapping to the code chart, but not to the
473	tooltips and not to the list of mappings.
474	* lib/cp936.h: New file.
475	* lib/gbk.h: Update comments.
476	* lib/ces_gbk.h: Update comments.
477	* lib/converters.h: Include cp936.h.
478	* lib/encodings.def (CP936): New encoding.
479	(GBK): Remove CP936 aliases.
480	* README, man/iconv_open.3: Add CP936.
481	* tests/Makefile.in (check): Check CP936.
482	* tests/Makefile.msvc (check): Likewise.
483	* tests/Makefile.os2 (check): Likewise.
484	* tests/CP936.TXT: New file.
485
4862005-12-14  Bruno Haible  <bruno@clisp.org>
487
488	* lib/cp932.h (cp932_wctomb): Map U+FF5E, U+2225, U+FF0D, U+FFE0,
489	U+FFE1 like Microsoft does it.
490	* lib/CP932.IRREVERSIBLE.TXT: Add these mappings.
491	Reported by Lei Wang <lwang@qilinsoft.com>.
492
4932005-12-14  Bruno Haible  <bruno@clisp.org>
494
495	Follow Euro sign addition done in 1999 in
496	http://www.microsoft.com/globaldev/reference/dbcs/950/950_A3.mspx
497	* lib/cp950.h (cp950_mbtowc, cp950_wctomb): Add mapping for 0xA3E1.
498	* tests/CP950.TXT: Add mapping for 0xA3E1.
499
5002005-11-11  Bruno Haible  <bruno@clisp.org>
501
502	* lib/euc_jp.h (euc_jp_wctomb): When writing a 3-bytes byte sequence
503	and only two bytes are available in the output buffer, return
504	RET_TOOSMALL instead of overrunning the output buffer.
505	* lib/isoir165.h (isoir165_wctomb): When only one byte is available
506	in the output buffer, don't overrun the output buffer.
507	Reported by William Bardwell <bardwell@curl.com>.
508
5092005-09-18  Bruno Haible  <bruno@clisp.org>
510
511	* m4/libtool.m4: Update, based on libtool-1.5.20.
512	* build-aux/ltmain.sh: Update, based on libtool-1.5.20.
513
5142005-08-12  Bruno Haible  <bruno@clisp.org>
515
516	* lib/big5_2003.h: Map 0xF9FA..0xF9FD differently.
517	* tests/BIG5-2003.TXT: Likewise.
518	* tests/BIG5-2003.IRREVERSIBLE.TXT: New file.
519	Reported by Ping Yeh <ping@pingyeh.net>.
520
5212005-07-24  Bruno Haible  <bruno@clisp.org>
522
523	Tidy up exported symbols.
524	* m4/visibility.m4: New file.
525	* include/export.h: New file.
526	* configure.in: Invoke gl_VISIBILITY. Use AC_CONFIG_FILES. Arrange to
527	create also include/iconv.h.inst.
528	* Makefile.devel (all): Depend on include/iconv.h.build.in.
529	(aclocal.m4): Depend on m4/visibility.m4.
530	(include/iconv.h.build.in): New rule.
531	* Makefile.in (install-lib, install): Install include/iconv.h.inst,
532	not the include/iconv.h that was used for building.
533	(distclean, maintainer-clean): Remove also include/iconv.h.inst.
534	* lib/Makefile.in (CFLAGS): Add @CFLAG_VISIBILITY@.
535	(DEFS): Also define BUILDING_LIBICONV and BUILDING_DLL.
536	* lib/config.h.in (HAVE_VISIBILITY): New macro.
537	* lib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
538	Define to the gcc visibility attribute.
539	* srclib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
540	Likewise.
541
5422005-07-25  Bruno Haible  <bruno@clisp.org>
543
544	2003-08-24  Bruno Haible  <bruno@clisp.org>
545	* lib/relocatable.h: Make this file includable in C++ mode: add extern
546	"C".
547
5482005-07-08  Bruno Haible  <bruno@clisp.org>
549
550	* Version 1.10 released.
551
5522005-07-08  Bruno Haible  <bruno@clisp.org>
553
554	* m4/libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
555	executable after installing it.
556
5572005-07-08  Bruno Haible  <bruno@clisp.org>
558
559	* configure.in: Bump version number.
560	* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
561	* windows/iconv.rc: Likewise.
562	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 5:0:3.
563
5642005-07-05  Bruno Haible  <bruno@clisp.org>
565
566	* Makefile.devel (ACLOCAL): New variable.
567	(aclocal.m4): Use it.
568
5692005-07-05  Bruno Haible  <bruno@clisp.org>
570
571	* m4/relocatable.m4 (AC_RELOCATABLE): On mingw, simply set
572	SET_RELOCATABLE to a trivial value.
573
5742004-08-08  Bruno Haible  <bruno@clisp.org>
575
576	* srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
577	be used.
578
5792004-04-28  Bruno Haible  <bruno@clisp.org>
580
581	* srclib/progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
582	Treat Cygwin like Windows, since it now accepts Windows pathnames.
583
5842005-06-09  Bruno Haible  <bruno@clisp.org>
585
586	* Makefile.in (mkinstalldirs): Use build-aux/ instead of autoconf/.
587	* lib/Makefile.in (mkinstalldirs): Likewise.
588	* src/Makefile.in (mkinstalldirs): Likewise.
589	* man/Makefile.in (mkinstalldirs): Likewise.
590
5912005-06-08  Bruno Haible  <bruno@clisp.org>
592
593	* srclib/canonicalize.c (__realpath): Avoid gcc warnings on platforms
594	that don't support symbolic links.
595
5962005-06-08  Bruno Haible  <bruno@clisp.org>
597
598	* srclib/binary-io.h (fileno): Undefine before defining it. Avoids a
599	gcc warning on mingw.
600
6012005-05-22  Bruno Haible  <bruno@clisp.org>
602
603	Implement and document BIG5-2003.
604	* lib/big5_2003.h: New file.
605	* lib/converters.h: Include it.
606	* lib/encodings_extra.def (BIG5-2003): New encoding.
607	* README, man/iconv_open.3: Add BIG5-2003.
608	* tests/Makefile.in (check-extra-yes): Check BIG5-2003.
609	* tests/BIG5-2003.TXT: New file.
610
6112005-05-21  Bruno Haible  <bruno@clisp.org>
612
613	Add EURO SIGN to EUC-TW converter.
614	* lib/cns11643_1.h (cns11643_1_2uni_page42): Add entry for 0x14242.
615	(cns11643_1_mbtowc): Update.
616	* lib/cns11643_inv.h (cns11643_inv_2charset): Add entry for 0x20AC.
617	(cns11643_inv_uni2indx_page*): Update.
618	* lib/dec_hanyu.h (dec_hanyu_mbtowc, dec_hanyu_wctomb): Consider only
619	part of row 42.
620	* tests/EUC-TW.TXT: Add entry for 0x20AC.
621	* tests/EUC-TW.IRREVERSIBLE.TXT: Likewise.
622
6232005-05-03  Bruno Haible  <bruno@clisp.org>
624
625	* tools/Makefile (ALL): Add pt154.h.
626	(pt154.h): New rule.
627	* lib/encodings.def: Add PT154.
628	* lib/pt154.h: New file.
629	* lib/converters.h: Include it.
630        * README, man/iconv_open.3: Add PT154.
631	* NOTES: Mention PT154.
632	* tests/PT154.TXT: New file.
633	* tests/Makefile.in (check): Also test PT154.
634	* tests/Makefile.msvc (check): Likewise.
635	* tests/Makefile.os2 (check): Likewise.
636
6372005-03-29  Bruno Haible  <bruno@clisp.org>
638
639	Rename libiconv_plug.so to preloadable_libiconv.so.
640	* configure.in (PLUGLIB): Set to preloadable_libiconv.so instead of
641	libiconv_plug.so.
642	* lib/Makefile.in (preloadable_libiconv.so): Renamed from
643	libiconv_plug.so.
644	(preloadable_libiconv_linux.so): Renamed from libiconv_plug_linux.so.
645	(preloadable_libiconv_solaris.so): Renamed from
646	libiconv_plug_solaris.so.
647	(preloadable_libiconv_osf.so): Renamed from libiconv_plug_osf.so.
648	(clean): Update.
649	* README: Update.
650
6512005-03-29  Bruno Haible  <bruno@clisp.org>
652
653	Implement and document ATARIST.
654	* tools/Makefile (ALL): Add atarist.h.
655	(atarist.h): New rule.
656	* lib/atarist.h: New file.
657	* lib/converters.h: Include it.
658	* lib/encodings_extra.def (ATARIST): New encoding.
659	* README, man/iconv_open.3: Add ATARIST.
660	* tests/Makefile.in (check-extra-yes): Check ATARIST.
661	* tests/ATARIST.TXT: New file.
662
6632005-03-22  Bruno Haible  <bruno@clisp.org>
664
665	* build-aux: New directory, renamed from autoconf.
666	* configure.in (AC_CONFIG_AUX_DIR): Use build-aux.
667
6682005-03-16  Bruno Haible  <bruno@clisp.org>
669
670	* m4/stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
671	HAVE_LONGLONG_64BIT.
672	* srclib/stdint_.h: Use HAVE_LONG_LONG_64BIT instead of
673	HAVE_LONGLONG_64BIT.
674	* srclib/Makefile.am (stdint.h): Likewise.
675
6762005-03-14  Bruno Haible  <bruno@clisp.org>
677
678	* Makefile.devel (aclocal.m4): Depend also on allocsa.m4, eealloc.m4,
679	extensions.m4, intmax.m4, inttypes.m4, longdouble.m4, longlong.m4,
680	printf-posix.m4, readlink.m4, signed.m4, ssize_t.m4, stdint.m4,
681	wchar_t.m4, wint_t.m4.
682
6832005-03-13  Bruno Haible  <bruno@clisp.org>
684
685	Make stdout error checking reliable, also when writing to a NFS file.
686	* src/iconv.c (main): Check the return value of fclose(stdout).
687	* lib/genaliases.c (main): Likewise.
688	* lib/genaliases2.c (main): Likewise.
689	* lib/genflags.c (main): Likewise.
690	* lib/gentranslit.c (main): Likewise.
691	* tests/genutf8.c (main): Likewise.
692	* tests/table-from.c (main): Likewise.
693	* tests/table-to.c (main): Likewise.
694
6952005-03-13  Bruno Haible  <bruno@clisp.org>
696
697	* src/iconv.c (convert): Before outputting an error message, flush
698	stdout and output a newline if suitable.
699
7002005-03-13  Bruno Haible  <bruno@clisp.org>
701
702	Improved error messages.
703	* srclib/width.c: New file, from GNU clisp.
704	* srclib/uniwidth.h: New file, from GNU clisp with modifications.
705	* srclib/unitypes.h: New file, from GNU clisp with modifications.
706	* srclib/cjk.h: New file, from GNU clisp.
707	* srclib/streq.h: New file, from GNU clisp.
708	* srclib/stdint_.h: New file, from gnulib.
709	* m4/stdint.m4: New file, from gnulib.
710	* m4/inttypes.m4: New file, from gnulib.
711	* srclib/Makefile.am: Add gnulib module 'stdint' snippet.
712	(BUILT_SOURCES): New variable.
713	(libicrt_a_SOURCES): Add width.c, uniwidth.h, unitypes.h, cjk.h,
714	streq.h.
715	* configure.in: Invoke gl_STDINT_H.
716	* src/iconv.c: Include cjk.h, uniwidth.h.
717	(line, column, cjkcode): New variables.
718	(update_line_column): New function.
719	(convert): Initialize line and column. In all error message, show also
720	the line and column number.
721	(main): Initialize cjkcode. Set up hooks to call update_line_column.
722
7232005-03-13  Bruno Haible  <bruno@clisp.org>
724
725	* include/iconv.h.in (iconv_canonicalize): New declaration.
726	* lib/genaliases.c (emit_encoding): Take two output streams as
727	arguments. To the second stream, emit a shell command for extracting
728	offsets into the gperf generated string pool.
729	(main): Write the shell commands into file descriptors 3 and 4.
730	* lib/genaliases2.c (emit_encoding): Take two output streams as
731	arguments. To the second stream, emit an expression for the offset
732	into the string pool.
733	(main): Write the offsets into file descriptor 3.
734	* Makefile.devel (lib/aliases.gperf): Remove target.
735	(lib/aliases.h): Generate lib/aliases.gperf temporarily. Generate also
736	lib/canonical.h and lib/canonical_local.h.
737	(lib/aliases_aix.h): Generate also lib/canonical_aix.h.
738	(lib/aliases_osf1.h): Generate also lib/canonical_osf1.h.
739	(lib/aliases_dos.h): Generate also lib/canonical_dos.h.
740	(lib/aliases_extra.h): Generate also lib/canonical_extra.h.
741	* lib/iconv.c (stringpool2): Provide default definition when it doesn't
742	exist.
743	(all_canonical): New array.
744	(iconv_canonicalize): New function.
745
7462005-03-13  Bruno Haible  <bruno@clisp.org>
747
748	* include/iconv.h.in (iconv_unicode_char_hook, iconv_wide_char_hook,
749	iconv_hooks): New types.
750	(ICONV_SET_HOOKS): New macro.
751	* lib/converters.h (struct conv_struct): Add field 'hooks'.
752	* lib/iconv.c (iconv_open): Initialize hooks to NULL.
753	(iconvctl): Handle ICONV_SET_HOOKS.
754	* lib/loop_unicode.h (unicode_loop_convert, unicode_loop_reset): After
755	conversion of a character, call the uc_hook.
756	* lib/loop_wchar.h (wchar_id_loop_convert): After every character, call
757	the wc_hook.
758	* lib/genflags.c (iconv_hooks): Provide a dummy definition.
759
7602005-02-05  Bruno Haible  <bruno@clisp.org>
761
762	* src/iconv.c (main): In case of unsupported encodings, show a hint
763	towards "iconv -l".
764
7652005-01-06  Bruno Haible  <bruno@clisp.org>
766
767	* lib/Makefile.msvc (CFLAGS): Define also INSTALLPREFIX.
768	* lib/Makefile.vms (DEFS): Likewise.
769	Reported by Troels Walsted Hansen <Troels.W.Hansen@fast.no>.
770
7712005-01-05  Bruno Haible  <bruno@clisp.org>
772
773	* autoconf/config.rpath: Update from GNU gettext.
774
7752005-01-05  Bruno Haible  <bruno@clisp.org>
776
777	Assume automake-1.9.
778	* Makefile.devel (AUTOMAKE): Assume automake-1.9.
779
7802005-01-05  Bruno Haible  <bruno@clisp.org>
781
782	* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.10.
783	* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.10.
784
7852004-11-11  Bruno Haible  <bruno@clisp.org>
786
787	* lib/iconv.c (iconv_open): Accept the suffixes //TRANSLIT and //IGNORE
788	in arbitrary order.
789	Reported by Lukas Gebauer <gebauerl@mlp.cz>.
790
7912004-09-21  Juan Manuel Guerrero  <st001906@hrz1.hrz.tu-darmstadt.de>
792
793	* djgpp/config.bat: Update.
794	* djgpp/config.sed: Update.
795	* djgpp/config.site: Update.
796	* djgpp/edtest.bat: Update.
797	* djgpp/fnchange.in: Update.
798	* djgpp/Makefile.maint: Update.
799	* djgpp/makefile.sed: Update.
800	* djgpp/README.in: Update.
801	* djgpp/sources.sed: Update.
802	* djgpp/translit-check.sed: Update.
803
8042004-08-25  Bruno Haible  <bruno@clisp.org>
805
806	* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.6.
807	* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.6.
808
8092004-07-31  Bruno Haible  <bruno@clisp.org>
810
811	Update to JISX 0213 plane 1 to 2004 version (ISO-IR-233).
812	* tools/Makefile (jisx0213.h): Bump version number.
813	* tools/JISX0213.TXT: Change mappings U+2015 -> U+2014,
814	U+2299 -> U+29BF, and add 10 new characters.
815	* tools/cjk_tab_to_h.c (output_title): Bump year.
816	(do_jisx0213): Update comments. Emit a conditional 'inline'.
817	* lib/jisx0213.h: Regenerated.
818	* lib/iso2022_jp3.h (iso2022_jp3_mbtowc): Accept escape sequence
819	ESC $ ( Q as a synonym of ESC $ ( O.
820	(iso2022_jp3_wctomb): Emit ESC $ ( Q instead of ESC $ ( O.
821	* tests/EUC-JISX0213.TXT: Change mappings U+2015 -> U+2014,
822	U+2299 -> U+29BF, and add 10 new characters.
823	* tests/SHIFT_JISX0213.TXT: Likewise.
824	* tests/ISO-2022-JP-3-snippet: Update.
825	* tests/ISO-2022-JP-3-snippet.UTF-8: Update.
826
8272004-07-22  Bruno Haible  <bruno@clisp.org>
828
829	* lib/encodings.def (ISO-8859-7): Add alias ISO_8859-7:2003.
830	* tools/Makefile (iso8859_7.h): Use conversion table from 2003.
831	* lib/iso8859_7.h: Add mappings for 0xa4, 0xa5, 0xaa.
832	* tests/ISO-8859-7.TXT: Update to ISO_8859-7:2003.
833
8342004-07-22  Bruno Haible  <bruno@clisp.org>
835
836	* tools/Makefile (ALL): Add iso8859_11.h.
837	(iso8859_11.h): New rule.
838	* lib/encodings.def: Add ISO-8859-11.
839	* lib/iso8859_11.h: New file.
840	* lib/converters.h: Include it.
841	* tests/ISO-8859-11.TXT: New file.
842	* tests/Makefile.in (check): Also test ISO-8859-11.
843	* tests/Makefile.msvc (check): Likewise.
844	* tests/Makefile.os2 (check): Likewise.
845
8462004-07-17  Bruno Haible  <bruno@clisp.org>
847
848	* src/iconv.c (main): Terminate option parsing when option -- is seen.
849	Reported by Len Lattanzi <zardoz@users.sourceforge.net>.
850
8512004-03-05  Bruno Haible  <bruno@clisp.org>
852
853	* src/Makefile.in (install): Make DESTDIR work on HP-UX.
854	Reported by Bob Proulx <box@proulx.com>.
855
8562004-02-19  Bruno Haible  <bruno@clisp.org>
857
858	* lib/vietcomb.h (viet_comp_table_data): Un-uncomment 0x00D5, 0x00F5,
859	0x0168, 0x0169. Needed for TCVN-5712 but not for CP1258.
860	(viet_comp_table0301_len): Increment by 4.
861
862	* lib/cp1255.h (cp1255_mbtowc): Don't delay the handling of characters
863	which are not entries in cp1255_comp_table_data.
864	* lib/cp1258.h (cp1258_comp_bases): New array.
865	(cp1258_mbtowc): Don't delay the handling of characters which are not
866	relevant entries in viet_comp_table_data.
867	* lib/tcvn.h (tcvn_comp_bases): New array.
868	(tcvn_mbtowc): Don't delay the handling of characters which are not
869	relevant entries in viet_comp_table_data.
870	Reported by Alain Bench <veronatif@free.fr>.
871
8722004-02-02  Perry Rapp  <lifelines_3_0_18@hotmail.com>
873            Bruno Haible  <bruno@clisp.org>
874
875	* man/iconvctl.3: New file.
876	* man/iconv.3: Refer to it in "See also".
877	* man/iconv_open.3: Likewise.
878
8792004-01-24  Bruno Haible  <bruno@clisp.org>
880
881	* srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
882	be used.
883
8842004-01-20  Bruno Haible  <bruno@clisp.org>
885
886	Upgrade from gettext-0.14.
887
888	* configure.in: Call gl_USE_SYSTEM_EXTENSIONS. Call AM_STDBOOL_H
889	instead of gt_STDBOOL_H. Provide a definition for DLL_VARIABLE.
890	* srclib/Makefile.am (libicrt_a_SOURCES): Add allocsa.h, allocsa.c,
891	xalloc.h. Remove xmalloc.h.
892	(libicrt_a_LIBADD): Remove @ALLOCA@.
893	* srclib/Makefile.msvc (OBJECTS): Add allocsa.obj.
894	(allocsa.obj): New rule.
895	* srclib/Makefile.vms (OBJECTS): Add allocsa.obj.
896	(allocsa.obj): New rule.
897	* Makefile.devel (config.h_vms): Set MALLOC_0_IS_NONNULL to 0.
898	(config.h.msvc): Set MALLOC_0_IS_NONNULL to 1.
899
900    lib/:
901
902	2003-10-09  Bruno Haible  <bruno@clisp.org>
903	* lib/relocatable.c: Include xalloc.h instead of xmalloc.h.
904
905	2003-08-01  Bruno Haible  <bruno@clisp.org>
906	* lib/relocatable.c (find_shared_library_fullname): Disable the code on
907	Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
908
909	2003-06-22  Bruno Haible  <bruno@clisp.org>
910	* lib/relocatable.c (compute_curr_prefix): Comment out this function in
911	the case when it is not used.
912	Reported by Pavel Roskin <proski@gnu.org>.
913
914    m4/:
915
916	* m4/gettext.m4: Upgrade from GNU gettext. Many changes.
917	* m4/po.m4: Likewise.
918
919	* m4/readlink.m4: New file, from GNU gettext.
920
921	2003-11-30  Bruno Haible  <bruno@clisp.org>
922	* m4/allocsa.m4: New file.
923	* m4/eealloc.m4: New file.
924	* m4/setenv.m4 (gl_PREREQ_SETENV): Require gl_ALLOCSA instead of
925	AC_FUNC_ALLOCA.
926
927	2003-10-21  Bruno Haible  <bruno@clisp.org>
928	* m4/canonicalize.m4 (gl_PREREQ_CANONICALIZE): Also test for
929	readlink().
930
931	2003-08-24  Bruno Haible  <bruno@clisp.org>
932	* m4/relocatable.m4 (AC_RELOCATABLE): Use $(host) instead of @host@,
933	since the substitution of @host@ may occur before the substitution of
934	@SET_RELOCATABLE@.
935
936	2003-08-23  Bruno Haible  <bruno@clisp.org>
937	* stdbool.m4: Replace with the version from gnulib, without
938	AC_HEADER_STDBOOL.
939
940	2003-08-08  Paul Eggert  <eggert@twinsun.com>
941	* m4/extensions.m4: New file.
942	* m4/unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
943	Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
944
945	2003-07-01  Bruno Haible  <bruno@clisp.org>
946	* m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>.
947	<sys/types.h> should be sufficient.
948	Reported by Paul Eggert.
949
950	2003-07-01  Bruno Haible  <bruno@clisp.org>
951	* m4/lib-prefix.m4 (AC_LIB_ARG_WITH): Avoid "duplicated macro" error
952	from aclocal-1.4-p4.
953	Reported by Luke Schierer <lschiere@rackspace.com> and
954	Michael C. Toren <mct@toren.net>.
955
956	2003-07-01  Paul Eggert  <eggert@twinsun.com>
957	* m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
958	xreadlink.c now includes it unconditionally.
959
960	2003-06-17  Paul Eggert  <eggert@twinsun.com>
961	* m4/lib-ld.m4 (AC_LIB_PROG_LD_GNU, AC_LIB_PROG_LD): Don't use egrep,
962	for portability to POSIX 1003.1-2001.  Backported from libtool-1.5.
963
964	2003-05-28  Paul Eggert  <eggert@twinsun.com>
965	* m4/pathmax.m4 (gl_PATHMAX): Don't check for limits.h.
966	* m4/xreadlink.m4 (gl_XREADLINK): Likewise.
967
968	2002-12-24  Bruno Haible  <bruno@clisp.org>
969	* m4/setenv.m4 (gt_FUNC_SETENV): New macro.
970	(gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
971	when invoked twice.
972	(gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
973	gt_FUNC_SETENV.
974
975    srclib/:
976
977	2003-11-30  Bruno Haible  <bruno@clisp.org>
978	* srclib/alloca.c: Remove file.
979
980	2003-11-30  Bruno Haible  <bruno@clisp.org>
981	Safer stack allocation.
982	* srclib/allocsa.h: New file.
983	* srclib/allocsa.c: New file.
984	* canonicalize.c: Include allocsa.h.
985	(__realpath): Use allocsa instead of alloca. Don't clobber errno right
986	before returning NULL.
987	* srclib/relocwrapper.c: Indirectly depends on allocsa.
988	* srclib/setenv.c: Include allocsa.h.
989	(alloca): Remove fallback definition.
990	(freea): Remove macro.
991	(__add_to_environ) [!_LIBC]: Use allocsa instead of alloca. Use freesa
992	instead of freea.
993
994	2003-11-17  Bruno Haible  <bruno@clisp.org>
995	* srclib/canonicalize.c: #undef realpath after <config.h> but before
996	the system includes, so as to avoid a prototype clash on Solaris 2.5.1.
997	Reported by Warren L. Dodge <warrend@mdhost.cse.tek.com>.
998
999	2003-10-21  Bruno Haible  <bruno@clisp.org>
1000	* srclib/canonicalize.c (lstat): Define as an alias to 'stat' on
1001	systems without symbolic links.
1002
1003	2003-10-17  Bruno Haible  <bruno@clisp.org>
1004	* srclib/binary-io.h: Avoid warnings on Cygwin.
1005
1006	2003-10-09  Bruno Haible  <bruno@clisp.org>
1007	* srclib/xalloc.h: Renamed from xmalloc.h.
1008	* srclib/progreloc.c: Include xalloc.h instead of xmalloc.h.
1009	* srclib/relocatable.c: Likewise.
1010	* srclib/xmalloc.c: Likewise.
1011	* srclib/xreadlink.c: Likewise.
1012	* srclib/xstrdup.c: Likewise.
1013
1014	2003-09-12  Paul Eggert  <eggert@twinsun.com>
1015	* srclib/progreloc.c (get_full_program_name): Define via prototype.
1016
1017	2003-09-12  Paul Eggert  <eggert@twinsun.com>
1018	* srclib/setenv.c (clearenv): Define via prototype.
1019
1020	2003-09-10  Bruno Haible  <bruno@clisp.org>
1021	* srclib/setenv.c: Include <stdlib.h> and <string.h> unconditionally.
1022	* srclib/unsetenv.c: Likewise.
1023
1024	2003-08-28  Bruno Haible  <bruno@clisp.org>
1025	* srclib/binary-io.h: Undefine O_BINARY before defining it. This avoids
1026	a warning on QNX, which defines O_BINARY to 000000.
1027
1028	2003-08-24  Bruno Haible  <bruno@clisp.org>
1029	* srclib/binary-io.h: Include <stdio.h>, to avoid a compilation error
1030	when MSVC7 <stdio.h> is included later.
1031
1032	2003-08-24  Bruno Haible  <bruno@clisp.org>
1033	* srclib/error.h: Use ANSI C "..." declarations when compiling with
1034	MSVC, even though it doesn't define __STDC__ by default.
1035	* srclib/error.c: Use <stdarg.h> when compiling with MSVC, even though
1036	it doesn't define __STDC__ by default.
1037
1038	2003-08-24  Bruno Haible  <bruno@clisp.org>
1039	Support for building DLLs on Windows.
1040	* srclib/error.h (error_print_progname, error_message_count,
1041	error_one_per_line): Add DLL_VARIABLE attribute.
1042	* srclib/progname.h (program_name): Likewise.
1043
1044	2003-08-24  Bruno Haible  <bruno@clisp.org>
1045	* srclib/progname.h: Make this file includable in C++ mode: add extern
1046	"C".
1047	* srclib/relocatable.h: Likewise.
1048	* srclib/xmalloc.h: Likewise.
1049
1050	2003-08-22  Bruno Haible  <bruno@clisp.org>
1051	* srclib/progname.h (error_with_progname, maybe_print_progname): Remove
1052	declarations.
1053	* srclib/progname.c (error_with_progname): Remove variable.
1054	(maybe_print_progname): Remove function.
1055
1056	2003-08-01  Bruno Haible  <bruno@clisp.org>
1057	* srclib/relocatable.c (find_shared_library_fullname): Disable the code
1058	on Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
1059
1060	2003-07-01  Paul Eggert  <eggert@twinsun.com>
1061	* srclib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
1062	having it depend on HAVE_SYS_TYPES_H.
1063
1064	2003-06-23  Bruno Haible  <bruno@clisp.org>
1065	Avoid compilation units that are empty after preprocessing.
1066	* srclib/canonicalize.c: Add dummy declaration.
1067	* srclib/strerror.c: Likewise.
1068	* srclib/error.c: Include <stdio.h> even if there's nothing to be
1069	compiled.
1070
1071	2003-06-22  Bruno Haible  <bruno@clisp.org>
1072	* srclib/relocatable.c (compute_curr_prefix): Comment out this function
1073	in the case when it is not used.
1074	Reported by Pavel Roskin <proski@gnu.org>.
1075
1076	2003-05-28  Paul Eggert  <eggert@twinsun.com>
1077	* srclib/pathmax.h: Include <limits.h> without checking for
1078	HAVE_LIMITS_H.
1079	* srclib/xreadlink.c: Likewise.
1080
10812004-01-20  Bruno Haible  <bruno@clisp.org>
1082
1083	Assume automake-1.8.
1084	* Makefile.devel (AUTOCONF, AUTOHEADER): Assume autoconf-2.59.
1085	(AUTOMAKE): Assume automake-1.8.
1086	* Makefile.in (am--refresh): New target.
1087
10882004-01-23  Bruno Haible  <bruno@clisp.org>
1089
1090	* Version 1.9.2 released.
1091
10922004-01-23  Bruno Haible  <bruno@clisp.org>
1093
1094	* tests/table-from.c: Include binary-io.h.
1095	(main): Switch stdout to binary mode.
1096	* tests/table-to.c: Include binary-io.h.
1097	(main): Switch stdout to binary mode.
1098	* tests/genutf8.c: Include binary-io.h.
1099	(main): Switch stdout to binary mode.
1100	* tests/Makefile.in (INCLUDES): Also look in srclib.
1101	(check): Pass INCLUDES when compiling genutf8.c.
1102	* tests/Makefile.os2 (INCLUDES): Also look in srclib.
1103	(genutf8.exe): Pass INCLUDES when compiling genutf8.c.
1104	* tests/Makefile.msvc (INCLUDES): Also look in srclib.
1105	(check): Pass INCLUDES when compiling genutf8.c.
1106
11072004-01-21  Bruno Haible  <bruno@clisp.org>
1108
1109	* src/iconv.c (force_binary): Remove variable.
1110	(usage): Don't document --binary any more.
1111	(convert, main): Always switch to binary mode.
1112	* tests/check-stateful.bat: Remove --binary option.
1113	* tests/check-translit.bat: Likewise.
1114	* tests/check-stateful.cmd: Likewise.
1115	* tests/check-translit.cmd: Likewise.
1116	* djgpp/stateful-check.sed: Remove MODE variable.
1117	* djgpp/translit-check.sed: Likewise.
1118
11192004-01-21  Bruno Haible  <bruno@clisp.org>
1120
1121	* man/iconv.3: Fix description of return value in case of error.
1122	Reported by Jonathan Wakely <redi@users.sf.net>.
1123
11242003-09-12  Paul Eggert  <eggert@twinsun.com>
1125
1126	* srclib/progreloc.c (get_full_program_name): Define via prototype.
1127
11282003-08-15  Bruno Haible  <bruno@clisp.org>
1129
1130	* Makefile.devel (lib/translit.h): Add ulimit command so that the
1131	gentranslit program gets the stack it needs. Many Linux distributions
1132	allow only 8 MB of stack by default.
1133
11342003-08-01  Bruno Haible  <bruno@clisp.org>
1135
1136	* lib/relocatable.c (find_shared_library_fullname): Disable the code on
1137	Linux/libc5.
1138	* srclib/relocatable.c (find_shared_library_fullname): Likewise.
1139	Reported by Alain Guibert <derogaton+bgli@oreka.com>.
1140
11412003-07-02  Bruno Haible  <bruno@clisp.org>
1142
1143	* m4/lib-ld.m4: Update from GNU gettext.
1144	* m4/lib-prefix.m4: Update from GNU gettext.
1145	* m4/gettext.m4: Update from GNU gettext.
1146	* m4/intmax.m4: New file, from GNU gettext.
1147	* m4/longdouble.m4: New file, from GNU gettext.
1148	* m4/longlong.m4: New file, from GNU gettext.
1149	* m4/printf-posix.m4: New file, from GNU gettext.
1150	* m4/signed.m4: New file, from GNU gettext.
1151	* m4/wchar_t.m4: New file, from GNU gettext.
1152	* m4/wint_t.m4: New file, from GNU gettext.
1153	* m4/pathmax.m4: Update from GNU gettext and gnulib.
1154	* m4/ssize_t.m4: Update from GNU gettext and gnulib.
1155	* m4/xreadlink.m4: Update from GNU gettext and gnulib.
1156	* m4/readlink.m4: New file, from gnulib.
1157	* autoconf/install-reloc: Update from GNU gettext.
1158	* srclib/stdbool_.h: Renamed from srclib/stdbool.h.in.
1159	* srclib/readlink.c: New file, from GNU gettext and gnulib.
1160	* srclib/Makefile.am (LIBADD_SOURCE): Add readlink.c.
1161	(EXTRA_DIST, stdbool.h): Use stdbool_.h instead of stdbool.h.in.
1162	* configure.in: Invoke gl_FUNC_READLINK.
1163
11642003-06-22  Bruno Haible  <bruno@clisp.org>
1165
1166	* src/Makefile.in (install): Link with the already installed library.
1167	This fixes a link error on Solaris.
1168	Reported by Paul Eggert.
1169
11702003-06-08  Bruno Haible  <bruno@clisp.org>
1171
1172	* srclib/canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd.
1173
11742003-05-02  Bruno Haible  <bruno@clisp.org>
1175
1176	Support for libtool-1.5.
1177	* srclib/progname.c (set_program_name): Remove a leading
1178	"<dirname>/.libs/lt-" or "<dirname>/.libs/", not only "lt-".
1179
11802003-06-23  Bruno Haible  <bruno@clisp.org>
1181
1182	Avoid compilation units that are empty after preprocessing.
1183	* srclib/canonicalize.c: Add dummy declaration.
1184	* srclib/strerror.c: Likewise.
1185	* srclib/error.c: Include <stdio.h> even if there's nothing to be
1186	compiled.
1187
11882003-06-22  Bruno Haible  <bruno@clisp.org>
1189
1190	Portability to mingw32.
1191	* m4/ssize_t.m4: New file, from GNU gettext.
1192	* m4/xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
1193	Reported by Jeff Bonggren <jbon@cfl.rr.com>.
1194
11952003-06-22  Bruno Haible  <bruno@clisp.org>
1196
1197	Portability to mingw32.
1198	* lib/relocatable.c [WIN32]: Include <windows.h>.
1199	* srclib/relocatable.c: Likewise.
1200	Reported by Jeff Bonggren <jbon@cfl.rr.com>.
1201
12022003-06-22  Bruno Haible  <bruno@clisp.org>
1203
1204	* lib/relocatable.c (compute_curr_prefix): Comment out this function in
1205	the case when it is not used.
1206	* srclib/relocatable.c (compute_curr_prefix): Likewise.
1207	Reported by Pavel Roskin <proski@gnu.org>.
1208
12092003-06-18  Bruno Haible  <bruno@clisp.org>
1210
1211	* config/install-sh: Update from automake-1.7.5.
1212
12132003-06-16  Bruno Haible  <bruno@clisp.org>
1214
1215	* lib/encodings.def (ISO-8859-15): Add alias LATIN-9.
1216	(ISO-8859-16): Add aliases ISO_8859-16:2001, LATIN10, L10. Remove alias
1217	ISO_8859-16:2000.
1218	(GBK): Add aliases MS936, WINDOWS-936.
1219	Reported by Guido Flohr <guido@imperia.net>.
1220
12212003-05-09  Bruno Haible  <bruno@clisp.org>
1222
1223	* srclib/canonicalize.c: Add #ifdef around versioned_symbol. Avoids an
1224	"extraneous semicolon" warning from Tru64 cc.
1225
12262003-06-07  Bruno Haible  <bruno@clisp.org>
1227
1228	* Makefile.devel (config.h_vms): Don't define HAVE_ENVIRON_DECL.
1229	* Makefile.vms (config.h): New rule.
1230	(all, install): Depend on it.
1231	(all, install, installdirs, uninstall, check): Fix typo.
1232	(mostlyclean, clean, distclean, maintainer-clean): Likewise. Remove
1233	config.h.
1234	* lib/Makefile.vms (DEFS): Fix value of INSTALLDIR.
1235	(OBJECTS): Use libiconv.obj instead of iconv.obj.
1236	(libiconv.obj): Renamed from iconv.obj.
1237	* srclib/Makefile.vms (INCLUDES): Add parent directory.
1238	(OBJECTS): Remove strtoul.obj, setenv.obj, unsetenv.obj.
1239	(strtoul.obj, setenv.obj, unsetenv.obj): Remove rules.
1240	(alloca.h): New rule.
1241	(canonicalize.obj): Depend on it.
1242	(clean): Remove alloca.h.
1243	* src/Makefile.vms (datadir, localedir): New variables.
1244	(DEFS): Also define LOCALEDIR.
1245	(iconv.obj): Add flags for relocatability,
1246	(iconv.exe): Link with libicrt. Use link_options.
1247	* vms/link_options.opt: New file.
1248	Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
1249
12502003-06-07  Bruno Haible  <bruno@clisp.org>
1251
1252	Support for relocatable data files even on Woe32.
1253	* lib/Makefile.msvc (PICFLAGS): Also define PIC.
1254
12552003-05-22  Bruno Haible  <bruno@clisp.org>
1256
1257	* Version 1.9.1 released.
1258
12592003-05-22  Bruno Haible  <bruno@clisp.org>
1260
1261	* lib/genaliases.c (main): Emit %pic instead of %null-strings.
1262	Change type of 'name' field to 'int'.
1263	* lib/genaliases2.c (emit_encoding): Add a 'tag' argument. Emit an
1264	invocation of macro S(), including the tag and a counter.
1265	(main): Use the command-line argument as tag.
1266	* Makefile.devel (lib/aliases_aix.h, lib/aliases_osf1.h,
1267	lib/aliases_dos.h, lib/aliases_extra.h): Pass a tag to the program.
1268	* lib/iconv.c (stringpool2_t): New type.
1269	(stringpool2_contents): New data table.
1270	(stringpool2): New macro.
1271	(sysdep_aliases): Make position-independent. Move #includes out to
1272	aliases2.h.
1273	(aliases2_lookup): Update.
1274	(nalias): New type.
1275	(compare_by_index): Use 'struct nalias' instead of 'struct alias'.
1276	(iconvlist): Convert 'struct alias' to 'struct nalias' while copying.
1277	* lib/aliases2.h: New file, extracted from lib/iconv.c.
1278
12792003-05-20  Bruno Haible  <bruno@clisp.org>
1280
1281	* lib/iconv.c (iconvlist): Test p->name against NULL, not against "".
1282	Reported by Muraoka Taro <koron@tka.att.ne.jp>.
1283
12842003-05-19  Bruno Haible  <bruno@clisp.org>
1285
1286	* windows/iconv.rc: Include <winver.h>.
1287	Reported by Perry Rapp.
1288
12892003-05-18  Bruno Haible  <bruno@clisp.org>
1290
1291	* Version 1.9 released.
1292
12932003-05-18  Bruno Haible  <bruno@clisp.org>
1294
1295	* lib/Makefile.in (libiconv_plug_osf.so): Avoid using LIBTOOL_LINK.
1296
12972003-05-18  Bruno Haible  <bruno@clisp.org>
1298
1299	* lib/Makefile.msvc (DEBUGFLAGS): New variable.
1300	(iconv.lib): Use it.
1301	* src/Makefile.msvc (DEBUGFLAGS): New variable.
1302	* tests/Makefile.msvc (DEBUGFLAGS): New variable.
1303
13042003-05-17  Bruno Haible  <bruno@clisp.org>
1305
1306	* src/Makefile.msvc (libdir, datadir, localedir): New variables.
1307	(IIlibdir, IIdatadir, IIlocaledir): New variables.
1308	(CFLAGS): Define LOCALEDIR.
1309	(iconv_no_i18n.exe): New rule.
1310	(all): Depend on it.
1311	* tests/check-stateful.bat: Invoke iconv_no_i18n instead of iconv.
1312	* tests/check-translit.bat: Likewise.
1313
13142003-05-16  Bruno Haible  <bruno@clisp.org>
1315
1316	* lib/genaliases.c (main): Emit declarations for gperf-3.0.
1317	* Makefile.devel (lib/aliases.h): Remove gperf command line options;
1318	add new option "-m 10" for gperf-3.0.
1319
13202003-05-12  Bruno Haible  <bruno@clisp.org>
1321
1322	* m4/error.m4: Update from gettext.
1323
13242003-05-12  Bruno Haible  <bruno@clisp.org>
1325
1326	* configure.in: Invoke AC_GNU_SOURCE and jm_FUNC_GLIBC_UNLOCKED_IO.
1327
13282003-05-12  Bruno Haible  <bruno@clisp.org>
1329
1330	* lib/Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
1331	CFLAGS to PICFLAGS.
1332
13332003-05-09  Bruno Haible  <bruno@clisp.org>
1334
1335	* srclib/error.c: Update from gnulib with modifications.
1336	* srclib/unlocked-io.h: New file, from gnulib.
1337	* m4/strerror_r.m4: New file, from gnulib.
1338	* m4/unlocked-io.m4: New file, from gnulib.
1339	* Makefile.devel (aclocal.m4): Depend on them.
1340
13412003-05-08  Bruno Haible  <bruno@clisp.org>
1342
1343	* Makefile.msvc (IIPREFIX): New variable.
1344	* srclib/Makefile.msvc (INCLUDES): Add -I..\windows.
1345	* src/Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir,
1346	IIincludedir): New variables.
1347	(INCLUDES): Add -I..\windows.
1348	(iconv.exe): Define INSTALLPREFIX and INSTALLDIR. Link with
1349	../srclib/icrt.lib.
1350	Patches by Perry Rapp.
1351
13522003-05-07  Bruno Haible  <bruno@clisp.org>
1353
1354	* README.woe32: Fix instructions for step 1.
1355	* srclib/Makefile.msvc (OBJECTS): Remove strtoul.obj.
1356	(strtoul.obj): Remove rule.
1357	Reported by Perry Rapp.
1358
13592003-05-07  Bruno Haible  <bruno@clisp.org>
1360
1361	* Makefile.vms: New file.
1362	* lib/Makefile.vms: New file.
1363	* srclib/Makefile.vms: New file.
1364	* src/Makefile.vms: New file.
1365	* man/Makefile.vms: New file.
1366	* tests/Makefile.vms: New file.
1367	* Makefile.devel (config.h_vms, lib/config.h_vms, include/iconv.h_vms):
1368	New rules.
1369	(all): Depend on them.
1370
13712003-05-07  Bruno Haible  <bruno@clisp.org>
1372
1373	* srclib/Makefile.msvc (OBJECTS): Remove findprog.obj.
1374	(findprog.obj): Remove rule.
1375	* src/Makefile.msvc (includedir): New variable.
1376
13772003-05-06  Bruno Haible  <bruno@clisp.org>
1378
1379	* lib/translit.def: Upgrade to Unicode 4.0.
1380
13812003-05-06  Bruno Haible  <bruno@clisp.org>
1382
1383	* srclib/Makefile.am (DEFS): Fix spelling of DEPENDS_ON_LIBICONV.
1384	* srclib/Makefile.msvc (CFLAGS): Likewise.
1385
1386	* srclib/Makefile.msvc (INCLUDES): Add -I.. .
1387	Reported by Perry Rapp.
1388
1389	* Makefile.msvc (config.h): New rule.
1390	(all): Depend on it.
1391	(mostlyclean, clean, distclean, maintainer-clean): Erase config.h.
1392	Reported by Perry Rapp.
1393
13942003-05-06  Bruno Haible  <bruno@clisp.org>
1395
1396	* autoconf/config.guess: Update to GNU version 2003-02-22.
1397	* autoconf/config.sub: Likewise.
1398
13992003-05-06  Bruno Haible  <bruno@clisp.org>
1400
1401	* m4/lib-link.m4: Update from GNU gettext.
1402	* autoconf/config.rpath: Update from GNU gettext.
1403
1404	* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.
1405	* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.
1406
1407	* m4/gettext.m4: Update from GNU gettext.
1408	* m4/nls.m4: Update from GNU gettext.
1409	* m4/po.m4: Update from GNU gettext.
1410	* Makefile.devel (aclocal.m4): Depend on m4/nls.m4 and m4/po.m4.
1411
14122003-04-12  Bruno Haible  <bruno@clisp.org>
1413
1414	Support for OpenVMS 7.3.
1415	* lib/iconv.c (USE_OSF1): Define also on VMS.
1416
14172003-04-12  Bruno Haible  <bruno@clisp.org>
1418
1419	Better support for FreeBSD.
1420	* lib/encodings.def (ISO8859-{1,2,3,4,5,6,7,8,9,10,13,14,15,16): New
1421	aliases, for compatibility with earlier FreeBSD iconv implementation
1422	by Konstantin Chuguev.
1423	* lib/iconv.c (iconv_open, iconv, iconv_close) [FreeBSD]: Define as
1424	aliases.
1425	* src/Makefile.in (install) [FreeBSD]: Avoid installation problem.
1426
14272003-04-12  Bruno Haible  <bruno@clisp.org>
1428
1429	* configure.in (mandir): Change default value.
1430	* Makefile.in (datadir): New variable.
1431	(install, installdirs, uninstall): Pass datadir to po and man
1432	directories.
1433	* Makefile.os2 (datadir): New variable.
1434	(mandir): Use it instead of prefix.
1435	(install, uninstall): Pass datadir to man directory.
1436	* Makefile.msvc (mandir, docdir): Use datadir instead of prefix.
1437	* man/Makefile.in (datadir): New variable.
1438	(docdir): Use it instead of prefix.
1439	(install, installdirs): Update.
1440	* man/Makefile.os2 (datadir): New variable.
1441	(mandir): Use it instead of prefix.
1442	* man/Makefile.msvc (datadir): New variable.
1443	(mandir, docdir): Use it instead of prefix.
1444	(install, installdirs): Update.
1445
14462003-04-06  Bruno Haible  <bruno@clisp.org>
1447
1448	Make it possible to build with or without libintl support on Woe32.
1449	* Makefile.devel (config.h.msvc): Remove ENABLE_NLS.
1450	* Makefile.msvc (NO_NLS): New variable.
1451	* srclib/Makefile.msvc (NO_NLS): New variable.
1452	(CFLAGS, INCLUDES): Use them.
1453	* src/Makefile.msvc (NO_NLS): New variable.
1454	(NLSFLAGS, INCINTL, LIBINTL): New variables.
1455	(CFLAGS, INCLUDES, iconv.exe): Use them.
1456
14572003-04-12  Bruno Haible  <bruno@clisp.org>
1458
1459	* lib/loop_unicode.h (unicode_transliterate): When the Hangul or
1460	variants transliteration failed with RET_ILUNI, don't return
1461	RET_TOOSMALL.
1462	Reported by the FreeBSD porters.
1463
14642003-04-06  Bruno Haible  <bruno@clisp.org>
1465
1466	* srclib/binary-io.h: New file, from GNU gettext.
1467	* src/iconv.c: Include it.
1468	(O_BINARY, O_TEXT, SET_BINARY): Remove definitions.
1469
14702003-04-05  Bruno Haible  <bruno@clisp.org>
1471
1472	Support for relocatable installation.
1473	* m4/alloca.m4: New file, from GNU gettext.
1474	* m4/canonicalize.m4: New file, from GNU gettext.
1475	* m4/error.m4: New file, from GNU gettext.
1476	* m4/onceonly.m4: New file, from GNU gettext.
1477	* m4/pathmax.m4: New file, from GNU gettext.
1478	* m4/relocatable.m4: New file, from GNU gettext.
1479	* m4/setenv.m4: New file, from GNU gettext.
1480	* m4/stdbool.m4: New file, from GNU gettext.
1481	* m4/strerror.m4: New file, from GNU gettext.
1482	* m4/xreadlink.m4: New file, from GNU gettext.
1483	* autoconf/config.libpath: New file, from GNU gettext.
1484	* autoconf/install-reloc: New file, from GNU gettext.
1485	* autoconf/reloc-ldflags: New file, from GNU gettext.
1486	* autoconf/missing: New file, from GNU automake 1.7.3.
1487	* lib/relocatable.h: New file, from GNU gettext.
1488	* lib/relocatable.c: New file, from GNU gettext.
1489	* srclib/alloca.c: New file, from GNU gettext.
1490	* srclib/alloca_.h: New file, from GNU gettext.
1491	* srclib/canonicalize.c: New file, from GNU gettext.
1492	* srclib/canonicalize.h: New file, from GNU gettext.
1493	* srclib/error.c: New file, from GNU gettext.
1494	* srclib/error.h: New file, from GNU gettext.
1495	* srclib/exit.h: New file, from GNU gettext.
1496	* srclib/gettext.h: New file, from GNU gettext.
1497	* srclib/memmove.c: New file, from GNU gettext.
1498	* srclib/pathmax.h: New file, from GNU gettext.
1499	* srclib/progname.c: New file, from GNU gettext.
1500	* srclib/progname.h: New file, from GNU gettext.
1501	* srclib/progreloc.c: New file, from GNU gettext.
1502	* srclib/relocatable.c: New file, from GNU gettext.
1503	* srclib/relocatable.h: New file, from GNU gettext.
1504	* srclib/relocwrapper.c: New file, from GNU gettext.
1505	* srclib/setenv.c: New file, from GNU gettext.
1506	* srclib/setenv.h: New file, from GNU gettext.
1507	* srclib/stdbool.h.in: New file, from GNU gettext.
1508	* srclib/strerror.c: New file, from GNU gettext.
1509	* srclib/unsetenv.c: New file, from GNU gettext.
1510	* srclib/xmalloc.c: New file, from GNU gettext.
1511	* srclib/xmalloc.h: New file, from GNU gettext.
1512	* srclib/xreadlink.c: New file, from GNU gettext.
1513	* srclib/xreadlink.h: New file, from GNU gettext.
1514	* srclib/xstrdup.c: New file, from GNU gettext.
1515	* srclib/Makefile.am: New file.
1516	* srclib/Makefile.msvc: New file.
1517	* windows/alloca.h: New file, from GNU gettext.
1518	* windows/stdbool.h: New file, from GNU gettext.
1519	* configure.in (AC_CONFIG_HEADERS): Replace src/config.h with config.h.
1520	Add AC_RELOCATABLE, AC_HEADER_STDC, AC_CHECK_HEADERS(stddef.h stdlib.h
1521	string.h), AC_CHECK_FUNCS(getc_unlocked), AC_REPLACE_FUNCS(memmove),
1522	AM_LANGINFO_CODESET, gl_FUNC_ALLOCA, gl_CANONICALIZE,
1523	gt_FUNC_ERROR_AT_LINE, gl_PATHMAX, gt_FUNC_SETENV, gt_STDBOOL_H,
1524	gl_FUNC_STRERROR, gl_XREADLINK, AC_OUTPUT(srclib/Makefile).
1525	* lib/config.h.in: Add HAVE_GETC_UNLOCKED, HAVE_LANGINFO_CODESET,
1526	HAVE_SETLOCALE, HAVE_STDDEF_H, HAVE_STDLIB_H, HAVE_STRING_H, for
1527	localcharset.c. Add ENABLE_RELOCATABLE, INSTALLPREFIX, for
1528	relocatable.c.
1529	* lib/Makefile.in (DEFS): New variable.
1530	(SOURCES): Add localcharset.c and relocatable.c.
1531	(OBJECTS): Add localcharset.lo and relocatable.lo.
1532	(LIBCHARSET_OBJECTS): Remove variable.
1533	(libiconv_plug_linux.so, libiconv_plug_solaris.so,
1534	libiconv_plug_osf.so): Use $(DEFS). Don't use $(LIBCHARSET_OBJECTS).
1535	(iconv.lo): Use $(DEFS).
1536	(localcharset.lo, relocatable.lo): New rules.
1537	* lib/Makefile.msvc (CFLAGS): Define HAVE_CONFIG_H, BUILDING_DLL,
1538	ENABLE_RELOCATABLE, IN_LIBRARY, INSTALLDIR, NO_XMALLOC,
1539	set_relocation_prefix, relocate. Remove $(PICFLAGS).
1540	(INCLUDES): Simplify.
1541	(SOURCES): Remove variable.
1542	(OBJECTS): Add localcharset.obj and relocatable.obj.
1543	(LIBCHARSET_OBJECTS): Remove variable.
1544	(iconv.obj): Add $(PICFLAGS).
1545	(localcharset.obj, relocatable.obj): New rules.
1546	(iconv.lib): Drop $(LIBCHARSET_OBJECTS).
1547	* include/iconv.h.in (libiconv_set_relocation_prefix): New declaration.
1548	* src/gettext.h: Remove file.
1549	* src/iconv.c: Include progname.h and relocatable.h.
1550	(ICONV_CONST): Define to const if the system has no iconv.
1551	(main): Invoke set_program_name. Relocate LOCALEDIR.
1552	* src/Makefile.in (top_srcdir): New variable.
1553	(INCLUDES): Add .. and ../srclib.
1554	(iconv_no_i18n, iconv): Link with ../srclib/libicrt.a.
1555	(iconv_no_i18n.@OBJEXT@, iconv.@OBJEXT@): Define INSTALLDIR.
1556	(RELOCATABLE_LIBRARY_PATH, RELOCATABLE_SRC_DIR, RELOCATABLE_BUILD_DIR,
1557	RELOCATABLE_CONFIG_H_DIR, @SET_RELOCATABLE@, iconv_LDFLAGS): New
1558	variables.
1559	(iconv): Use $(iconv_LDFLAGS).
1560	(install): Use $(INSTALL_PROGRAM_ENV).
1561	(distclean): Drop removing config.h.
1562	* src/Makefile.msvc (INCLUDES): Add .., simplify.
1563	* tests/Makefile.msvc (INCLUDES): Simplify.
1564	* Makefile.devel (AUTOHEADER, AUTOMAKE): New variables.
1565	(config.h.in, srclib/Makefile.in, config.h.msvc): New rules.
1566	(all): Depend on them.
1567	(aclocal.m4) Depend also on m4/alloca.m4, m4/canonicalize.m4,
1568	m4/error.m4, m4/onceonly.m4, m4/pathmax.m4, m4/relocatable.m4,
1569	m4/setenv.m4, m4/stdbool.m4, m4/strerror.m4, m4/xreadlink.m4.
1570	(lib/config.h.msvc): Additional processing.
1571	* Makefile.in (all, install, installdirs, uninstall, check): Recurse
1572	into srclib.
1573	(mostlyclean, clean, distclean, maintainerclean): Likewise. Remove
1574	lib/localcharset.h.
1575	(distclean, maintainerclean): Remove also config.h and some stamps.
1576	* Makefile.msvc (all, install, installdirs, uninstall, check,
1577	mostlyclean, clean, distclean, maintainerclean): Recurse into srclib.
1578	* INSTALL.generic: Document --enable-relocatable and
1579	--with-libintl-prefix. Remove the recommendation to set CPPFLAGS and
1580	LDFLAGS. The lib-link.m4 macros make this unnecessary.
1581
15822003-04-05  Bruno Haible  <bruno@clisp.org>
1583
1584	* configure.in: Bump version number to 1.9.
1585	* include/iconv.h.in (_LIBICONV_VERSION): Bump.
1586	* windows/iconv.rc: Bump version number.
1587	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 4:0:2.
1588
15892003-04-05  Bruno Haible  <bruno@clisp.org>
1590
1591	* Makefile.msvc (PREFIX): New variable.
1592	(prefix): Use it.
1593	(distclean, maintainer-clean): Drop Unix specific removals.
1594	* lib/Makefile.msvc (PREFIX, IIPREFIX): New variables.
1595	(prefix): Use it.
1596	(IIprefix, IIexec_prefix, IIbindir, IIlibdir): New variables.
1597	(clean): Drop Unix specific removal.
1598	* src/Makefile.msvc (PREFIX): New variable.
1599	(prefix): Use it.
1600	(clean): Drop Unix specific removal.
1601	(distclean): Likewise.
1602	* tests/Makefile.msvc (clean): Drop Unix specific removal.
1603	(distclean): Likewise.
1604
16052003-04-05  Bruno Haible  <bruno@clisp.org>
1606
1607	* m4/endian.m4 (CL_WORDS_LITTLEENDIAN): Use 3-argument AC_DEFINE.
1608
16092003-04-05  Bruno Haible  <bruno@clisp.org>
1610
1611	* m4/general.m4 (CL_CONFIG_SUBDIRS, CL_CANONICAL_HOST,
1612	CL_CANONICAL_HOST_CPU, CL_CANONICAL_HOST_CPU_FOR_FFCALL): Remove
1613	macros.
1614	* m4/gettext.m4: Update from GNU gettext.
1615	* m4/iconv.m4: Update from GNU gettext.
1616	* m4/lcmessage.m4: Update from GNU gettext.
1617	* m4/progtest.m4: Update from GNU gettext.
1618	* m4/libtool.m4: Update from GNU gettext.
1619	2003-02-16  Bruno Haible  <bruno@clisp.org>
1620		Workaround autoconf >= 2.52 breakage.
1621		* libtool.m4 (AC_LIBTOOL_ARG_WITH): New macro.
1622		(_LT_AC_LTCONFIG_HACK, AC_PROG_LD): Use it.
1623	* autoconf/ltmain.sh: Update from GNU gettext.
1624	2003-02-18  Bruno Haible  <bruno@clisp.org>
1625		Fix the 2002-09-16 fix.
1626		* ltmain.sh (install): If "ln -s -f" fails (this is the case
1627		with /usr/bin/ln on Solaris 2.7), fall back to "rm && ln -s".
1628
16292003-04-05  Bruno Haible  <bruno@clisp.org>
1630
1631	Start using automake.
1632	* configure.in: Add AM_INIT_AUTOMAKE invocation.
1633	(PACKAGE, VERSION): Remove.
1634	Use AC_CANONICAL_HOST instead of CL_CANONICAL_HOST.
1635	Use AC_PROG_LN_S instead of CL_PROG_LN_S.
1636	Use AC_PROG_RANLIB instead of CL_PROG_RANLIB.
1637	Reorder so that AC_CANONICAL_HOST comes early but still after
1638	AC_PROG_CC.
1639	* m4/ranlib.m4: Remove file.
1640	* m4/libtool.m4: Undo AC_ -> CL_ substitutions.
1641	* Makefile.devel (CLISP_DIR): Comment out.
1642	(AUTOCONF_FILES): Change to aclocal.m4.
1643	(aclocal.m4): Renamed from autoconf/aclocal.m4. Update dependencies.
1644	(configure.in): Drop --include option.
1645
16462003-03-17  Bruno Haible  <bruno@clisp.org>
1647
1648	Improved MSVC support.
1649	* Makefile.msvc (prefix): Use less Unixy value.
1650	(local_prefix): Remove variable.
1651	(libdir, includedir, mandir): Use backslashes.
1652	(bindir, datadir, localedir, docdir): New variables.
1653	(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
1654	(all): Recurse into po/ and man/.
1655	(install, installdirs, uninstall): Rewritten.
1656	(check, mostlyclean, clean, distclean, maintainer-clean): Recurse
1657	into po/ and man/.
1658	* lib/Makefile.msvc (prefix): Use less Unixy value.
1659	(local_prefix): Remove variable.
1660	(libdir): Use backslashes.
1661	(bindir): New variable.
1662	(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values.
1663	(RESOURCES): Enable iconv.res.
1664	(install, installdirs, uninstall): New rules.
1665	(clean): Remove config.h.
1666	(distclean): Don't remove config.h here.
1667	* src/Makefile.msvc (prefix, exec_prefix, bindir): New variables.
1668	(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
1669	(install, installdirs, uninstall): New rules.
1670	* man/Makefile.msvc: New file.
1671	* tests/Makefile.msvc (install, installdirs, uninstall): New rules.
1672	* Makefile.devel (all): Depend on po/Makefile.msvc.
1673	(po/Makefile.msvc): New rule.
1674	* windows/iconv.rc: Update.
1675	* README.woe32: Mention automatic installation command.
1676
1677	Rename libcharset.h to localcharset.h.
1678	* lib/iconv.c: Include localcharset.h, not libcharset.h.
1679	* Makefile.in (lib/localcharset.h): Renamed from lib/libcharset.h.
1680	(all, install): Update dependencies.
1681	(all): Create lib/localcharset.h, not lib/libcharset.h.
1682	(mostlyclean, clean, distclean, maintainer-clean): Remove
1683	lib/localcharset.h, not lib/libcharset.h.
1684	* djgpp/README.in, djgpp/README: Update.
1685	* djgpp/config.bat: Update.
1686	* djgpp/config.sed: Update.
1687	* djgpp/fnchange.in, djgpp/fnchange.lst: Update.
1688
16892003-01-31  Bruno Haible  <bruno@clisp.org>
1690
1691	* src/Makefile.in (all): Don't do the chmod if it has already been
1692	done.
1693
16942003-01-31  Bruno Haible  <bruno@clisp.org>
1695
1696	* lib/loop_unicode.h (unicode_transliterate): Enable recursive
1697	transliteration. Idea from Perry Rapp.
1698	* lib/gentranslit.c (main): Change bound from 0x10000 to 0x110000.
1699	Change element type of translit_data to 'unsigned int'.
1700	* lib/translit.def: Many new transliterations, mostly taken from glibc.
1701	* lib/translit.h: Regenerated.
1702	* tests/Translit1.ISO-8859-1, tests/Translit1.ASCII: New files.
1703	* tests/Makefile.in (check): Add Translit1 check.
1704	* tests/Makefile.msvc (check): Likewise.
1705	* tests/Makefile.os2 (check): Likewise.
1706	* tests/TranslitFail1.ISO-8859-1: Choose a sentence which the new
1707	improved transliteration cannot do.
1708
17092003-02-14  Bruno Haible  <bruno@clisp.org>
1710
1711	* Makefile.devel (AUTOCONF): Switch to autoconf-2.57.
1712	(configure): Update rule.
1713
17142003-01-03  Albert Chin  <libtool@thewrittenword.com>
1715
1716	* autoconf/ltmain.sh: Don't pass -R flags found in a .la's
1717	dependency_libs variable directly down to the linker.
1718	Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
1719
17202003-01-01  Bruno Haible  <bruno@clisp.org>
1721
1722	* src/Makefile.in (install): Use libiconv.la in ../lib, not in
1723	$(libdir), so that installing with DESTDIR works.
1724	Reported by Michael Adams <michael@michaeladams.org>.
1725
17262003-01-01  Bruno Haible  <bruno@clisp.org>
1727
1728	* Makefile.in (mkinstalldirs): New variable.
1729	(install-lib, install, installdirs): Use it instead of mkdir.
1730	* lib/Makefile.in (mkinstalldirs): New variable.
1731	(install-lib, install, installdirs): Use it instead of mkdir.
1732	* man/Makefile.in (mkinstalldirs): New variable.
1733	(install, installdirs): Use it instead of mkdir.
1734	* src/Makefile.in (mkinstalldirs): New variable.
1735	(install, installdirs): Use it instead of mkdir.
1736
17372002-09-27  Bruno Haible  <bruno@clisp.org>
1738
1739	* autoconf/mkinstalldirs: Upgrade to automake-1.7.2 version.
1740
17412002-11-07  Bruno Haible  <bruno@clisp.org>
1742
1743	* m4/libtool.m4: Upgrade to libtool-1.4.3.
1744	* autoconf/ltmain.sh: Upgrade to libtool-1.4.3.
1745
17462002-07-14  Bruno Haible  <bruno@clisp.org>
1747
1748	* m4/libtool.m4 (_LT_AC_LTCONFIG_HACK): Add support for GNU/FreeBSD.
1749
17502002-06-12  Bruno Haible  <bruno@clisp.org>
1751
1752	* configure.in: Use new AC_* names of libtool macros. Invoke
1753	AC_LIBTOOL_WIN32_DLL.
1754
17552002-12-19  Bruno Haible  <bruno@clisp.org>
1756
1757	* lib/Makefile.in (libiconv_plug_solaris.so): Change rule if using gcc.
1758	Reported by Henry Nelson <henry@irm.nara.kindai.ac.jp>.
1759
17602002-11-07  Bruno Haible  <bruno@clisp.org>
1761
1762	Make "make install" without prior "make" work.
1763	* Makefile.in (lib/libcharset.h): New rule.
1764	(all, install): Depend on it.
1765	Reported by Martin Mokrejš <mmokrejs@natur.cuni.cz>.
1766
17672002-10-28  Bruno Haible  <bruno@clisp.org>
1768
1769	* man/Makefile.in (install): Change directory back to the working
1770	directory, so that install-sh (which may be a relative pathname) is
1771	found in the right place.
1772
17732002-09-16  Bruno Haible  <bruno@clisp.org>
1774
1775	* autoconf/ltmain.sh (install): Use "ln -s -f" instead of
1776	"rm -f && ln -s" to make a symlink for a shared library.
1777	Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
1778
17792002-09-02  Bruno Haible  <bruno@clisp.org>
1780
1781	* src/iconv.c (main): Don't call bindtextdomain if !ENABLE_NLS.
1782
17832002-08-16  Bruno Haible  <bruno@clisp.org>
1784
1785	* src/iconv.c (main): Perform fflush before testing ferror(stdout).
1786
17872002-05-29  Bruno Haible  <bruno@clisp.org>
1788
1789	* Version 1.8 released.
1790
17912002-05-26  Bruno Haible  <bruno@clisp.org>
1792
1793	* lib/c99.h: New file.
1794	* lib/converters.h: Include it.
1795	* lib/encodings.def (C99): New encoding.
1796	* README, man/iconv_open.3: Document C99 encoding.
1797
17982002-05-26  Bruno Haible  <bruno@clisp.org>
1799
1800	* lib/java.h (java_mbtowc): Accept 12-byte sequences for non-BMP
1801	characters.
1802	(java_wctomb): Produce 12-byte sequences for non-BMP characters.
1803
18042002-05-29  Bruno Haible  <bruno@clisp.org>
1805
1806	Fix installation of iconv program when linked with a libintl that was
1807	built against an earlier libiconv.
1808	* src/iconv.c: Conditionally disable NLS.
1809	* src/iconv_no_i18n.c: New file.
1810	* src/Makefile.in (libdir): New variable.
1811	(all): Depend on iconv_no_i18n, iconv.@OBJEXT@ but not iconv. Make
1812	directory writable, so iconv executable can be created during "make
1813	install".
1814	(iconv): Remove rule.
1815	(iconv_no_i18n, iconv_no_i18n.@OBJEXT@): New rules.
1816	(install): Link iconv now, after the new libiconv.so is installed.
1817	(clean): Also remove iconv_no_i18n.
1818	* tests/Makefile.in: (check, check-extra-yes): Depend on iconv_no_i18n,
1819	not iconv.
1820	* tests/check-stateful: Use iconv_no_i18n, not iconv.
1821	* tests/check-translit: LIkewise.
1822	* tests/check-translitfailure: Likewise.
1823
18242002-05-29  Bruno Haible  <bruno@clisp.org>
1825
1826	* configure.in: Call AC_PROG_INSTALL instead of CL_PROG_INSTALL.
1827	* m4/install.m4: Remove file.
1828	* Makefile.devel (autoconf/aclocal.m4): Don't depend on m4/install.m4.
1829
18302002-05-24  Bruno Haible  <bruno@clisp.org>
1831
1832	* lib/jisx0213.h: Use 'inline' only conditionally.
1833
18342002-05-18  Bruno Haible  <bruno@clisp.org>
1835
1836        * configure.in (AC_INIT), include/iconv.h.in (_LIBICONV_VERSION),
1837	README, windows/iconv.rc, djgpp/README, djgpp/fnchange.lst:
1838        Bump version number.
1839        * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 3:0:1.
1840
18412002-02-06  Bruno Haible  <bruno@clisp.org>
1842
1843	* autoconf/ltmain.sh: Upgrade from libtool-1.4 to libtool-1.4.2.
1844
18452002-02-02  Bruno Haible  <bruno@clisp.org>
1846
1847	* autoconf/ltmain.sh: Add DESTDIR support on ELF systems.
1848
18492001-11-03  Bruno Haible  <haible@clisp.cons.org>
1850
1851	* autoconf/ltmain.sh: chmod 777 the .libs directory, so that
1852	"make install" succeeds.
1853
18542002-05-18  Bruno Haible  <bruno@clisp.org>
1855
1856	* src/Makefile.in (iconv): Remove the -liconv dependency of -lintl
1857	from the command line. Needed to ensure that the new libiconv version
1858	is used on FreeBSD.
1859
18602002-05-14  Bruno Haible  <bruno@clisp.org>
1861
1862	Implement and document CP853, TDS565, RISCOS-LATIN1.
1863	* tools/Makefile (ALL): Add cp853.h, tds565.h, riscos1.h.
1864	(cp853.h, tds565.h, riscos1.h): New rules.
1865	* lib/cp853.h: New file.
1866	* lib/tds565.h: New file.
1867	* lib/riscos1.h: New file.
1868	* lib/converters.h: Include them.
1869	* lib/encodings_dos.def (CP853): New encoding.
1870	* lib/encodings_extra.def (TDS565, RISCOS-LATIN1): New encodings.
1871	* README, man/iconv_open.3: Add CP853, TDS565, RISCOS-LATIN1.
1872	* tests/Makefile.in (check-extra-yes): Check CP853, TDS565,
1873	RISCOS-LATIN1.
1874	* tests/Makefile.msvc (check): Check CP853.
1875	* tests/CP853.TXT: New file.
1876	* tests/TDS565.TXT: New file.
1877	* tests/RISCOS-LATIN1.TXT: New file.
1878
1879	* lib/cp860.h (cp860_wctomb): Optimize.
1880
18812002-05-12  Bruno Haible  <bruno@clisp.org>
1882
1883	* tools/Makefile (ksc5601.h): Add two extra characters.
1884	* lib/ksc5601.h: Regenerated.
1885	* tests/EUC-KR.TXT: Add EURO SIGN and REGISTERED SIGN.
1886	* tests/CP949.TXT: Likewise.
1887	* tests/JOHAB.TXT: Likewise.
1888
18892002-05-12  Bruno Haible  <bruno@clisp.org>
1890
1891	* README: Mention extra encodings.
1892	* man/iconv_open.3: Likewise. Improve formatting in text and html
1893	output formats.
1894
18952002-05-12  Bruno Haible  <bruno@clisp.org>
1896
1897	* tests/SHIFT_JIS.TXT: Renamed from tests/SHIFT-JIS.TXT.
1898
18992002-05-12  Bruno Haible  <bruno@clisp.org>
1900
1901	* Makefile.devel (AUTOCONF): New variable.
1902	(AUTOCONF_FILES): Remove autoconf/autoconf.m4f.
1903	(configure): Use the AUTOCONF variable.
1904	* autoconf/autoconf: Remove file.
1905	* autoconf/autoconf.m4: Remove file.
1906	* autoconf/autoconf.m4f: Remove file.
1907
19082002-05-12  Bruno Haible  <bruno@clisp.org>
1909
1910	* tools/JISX0213.TXT: New file.
1911	* tools/cjk_tab_to_h.c (do_jisx0213): New function.
1912	(main): Accept "jisx0213".
1913	* tools/Makefile (all): Add jisx0213.h.
1914	(jisx0213.h): New rule.
1915	* lib/jisx0213.h: New file, generated by cjk_tab_to_h.
1916	* lib/euc_jisx0213.h: New file.
1917	* lib/shift_jisx0213.h: New file.
1918	* lib/iso2022_jp3.h: New file.
1919	* lib/converters.h: Include them.
1920	* lib/encodings_extra.def (EUC-JISX0213, SHIFT_JISX0213,
1921	ISO-2022-JP-3): New encodings.
1922	* tests/EUC-JISX0213.TXT: New file.
1923	* tests/SHIFT_JISX0213.TXT: New file.
1924	* tests/ISO-2022-JP-3-snippet: New file.
1925	* tests/ISO-2022-JP-3-snippet.UTF-8: New file.
1926	* tests/Makefile.in (check-extra): Also check EUC-JISX0213,
1927	SHIFT_JISX0213, ISO-2022-JP-3.
1928	* tests/check-stateless: Add support for encodings which contain
1929	precomposed Unicode characters, by eliminating precomposed characters
1930	before the comparison.
1931	* tests/table-from.c (main): Fix usage message.
1932	* tests/table-to.c (main): Make it work for encodings for which the
1933	"to" direction is stateful.
1934
19352002-05-09  Bruno Haible  <bruno@clisp.org>
1936
1937	New configure option --enable-extra-encodings.
1938	* lib/encodings_extra.def: New file.
1939	* lib/converters.h: Handle USE_EXTRA.
1940	* lib/genaliases2.c (main): Handle USE_EXTRA.
1941	* lib/genflags.c: Define USE_EXTRA.
1942	(main): Include encodings_extra.def.
1943	* lib/iconv.c: Handle ENABLE_EXTRA, conditionally set USE_EXTRA.
1944	Handle USE_EXTRA.
1945	* lib/config.h.in (ENABLE_EXTRA): New macro.
1946	* configure.in: Accept option --enable-extra-encodings.
1947	* Makefile.devel (all): Depend on lib/aliases_extra.h.
1948	(lib/aliases_extra.h): New rule.
1949	(lib/flags.h): Depend on lib/encodings_extra.def.
1950	* tests/Makefile.in (check-extra, check-extra-no, check-extra-yes):
1951	New rules.
1952	(check): Invoke check-extra.
1953	* tests/Makefile.msvc (check): Also check the DOS encodings.
1954
1955	Support for testing the AIX encodings.
1956	* tests/CP856.TXT: New file.
1957	* tests/CP922.TXT: New file.
1958	* tests/CP1046.TXT: New file.
1959	* tests/CP1124.TXT: New file.
1960	* tests/CP1129.TXT: New file.
1961	* tests/CP1161.TXT, tests/CP1161.IRREVERSIBLE.TXT: New files.
1962	* tests/CP1162.TXT: New file.
1963	* tests/CP1163.TXT, tests/CP1163.IRREVERSIBLE.TXT: New files.
1964
1965	Support for testing the OSF/1 encodings.
1966	* tests/DEC-KANJI.TXT: New file.
1967	* tests/DEC-HANYU.TXT, tests/DEC-HANYU.IRREVERSIBLE.TXT: New files.
1968
1969	Support for testing the DOS encodings.
1970	* tests/CP437.TXT: New file.
1971	* tests/CP737.TXT: New file.
1972	* tests/CP775.TXT: New file.
1973	* tests/CP852.TXT: New file.
1974	* tests/CP855.TXT: New file.
1975	* tests/CP857.TXT: New file.
1976	* tests/CP858.TXT: New file.
1977	* tests/CP860.TXT: New file.
1978	* tests/CP861.TXT: New file.
1979	* tests/CP863.TXT: New file.
1980	* tests/CP864.TXT: New file.
1981	* tests/CP865.TXT: New file.
1982	* tests/CP869.TXT: New file.
1983	* tests/CP1125.TXT: New file.
1984
19852002-05-09  Bruno Haible  <bruno@clisp.org>
1986
1987	Implement more ASCII compatible DOS encodings.
1988	* tools/Makefile (ALL): Add cp737.h, cp858.h, cp860.h, cp863.h.
1989	(cp737.h, cp858.h, cp860.h, cp863.h): New rules.
1990	* lib/cp737.h: New file.
1991	* lib/cp858.h: New file.
1992	* lib/cp860.h: New file.
1993	* lib/cp863.h: New file.
1994	* lib/converters.h: Include them.
1995	* lib/encodings_dos.def (CP737, CP858, CP860, CP863): New encodings.
1996
19972002-05-09  Bruno Haible  <bruno@clisp.org>
1998
1999	Implement new ASCII compatible encodings from IBM.
2000	* tools/Makefile (ALL): Add cp1161.h, cp1162.h, cp1163.h.
2001	(cp1161.h, cp1162.h, cp1163.h): New rules.
2002	* lib/cp1161.h: New file.
2003	* lib/cp1162.h: New file.
2004	* lib/cp1163.h: New file.
2005	* lib/converters.h: Include them.
2006	* lib/encodings_aix.def (CP1161, CP1162, CP1163): New encodings.
2007
20082002-05-09  Bruno Haible  <bruno@clisp.org>
2009
2010	Implement and document KOI8-T.
2011	* tools/Makefile (ALL): Add koi8_t.h.
2012	(koi8_t.h): New rule.
2013	* lib/koi8_t.h: New file.
2014	* lib/converters.h: Include it.
2015	* lib/encodings.def (KOI8-T): New encoding.
2016	* README, man/iconv_open.3: Add KOI8-T.
2017	* tests/Makefile.in (tests): Check KOI8-T.
2018	* tests/Makefile.os2 (tests): Likewise.
2019	* tests/Makefile.msvc (tests): Likewise.
2020	* tests/KOI8-T.TXT: New file.
2021
20222002-05-09  Bruno Haible  <bruno@clisp.org>
2023
2024	* tools/8bit_tab_to_h.c (main): Update copyright year.
2025	* tools/cjk_variants.c (main): Likewise.
2026
20272002-05-08  Bruno Haible  <bruno@clisp.org>
2028
2029	* README.woe32: Renamed from README.win32.
2030
20312002-05-08  Bruno Haible  <bruno@clisp.org>
2032
2033	* lib/iconv.c: Enable DOS encodings also when compiling for Woe32,
2034	because the Woe32 consoles use them.
2035
20362002-05-04  Bruno Haible  <bruno@clisp.org>
2037
2038	* lib/loop_unicode.h (unicode_loop_convert): When quitting the loop
2039	without writing an output character, restore cd->istate to its value
2040	before the xxx_mbtowc call. Otherwise we lose some characters during
2041	CP1255/CP1258/TCVN to Unicode conversion.
2042	(unicode_loop_reset): Likewise for the xxx_flushwc call.
2043	* tests/CP1255-snippet, tests/CP1255-snippet.UTF-8: Make the test
2044	files large enough to test against the bug.
2045	* tests/CP1258-snippet, tests/CP1258-snippet.UTF-8: Likewise.
2046	* tests/TCVN-snippet, tests/TCVN-snippet.UTF-8: Likewise.
2047
20482002-04-28  Bruno Haible  <bruno@clisp.org>
2049
2050	* tools/Makefile (armscii_8.h): Use table from glibc-2.2.90.
2051	* tests/ARMSCII-8.TXT: Update to glibc-2.2.90 version.
2052	* tests/ARMSCII-8.IRREVERSIBLE.TXT: Remove 0x0027.
2053	* lib/armscii_8.h: Regenerated.
2054
20552002-04-28  Bruno Haible  <bruno@clisp.org>
2056
2057	* src/iconv.c: Include gettext.h.
2058	(_): New macro.
2059	(usage, print_version, convert, main): Internationalize.
2060	(main): Call setlocale, bindtextdomain, textdomain.
2061	* src/gettext.h: New file, from GNU gettext 0.11.2.
2062	* src/config.h.in: New file, needed for ENABLE_NLS.
2063	* src/Makefile.in (datadir, localedir): New variables.
2064	(iconv): Link with @LTLIBINTL@.
2065	(iconv.@OBJEXT@): Define LOCALEDIR.
2066	(distclean): Remove config.h.
2067	* po: New directory.
2068	* Makefile.in (all, install, installdirs, uninstall, check,
2069	mostlyclean, clean, distclean, maintainer-clean): Recurse into the po
2070	directory.
2071	* autoconf/mkinstalldirs: New file, from automake-1.5.
2072	* ABOUT-NLS: New file, from GNU gettext 0.11.2.
2073	* m4/codeset.m4: New file, from GNU gettext 0.11.2.
2074	* m4/gettext.m4: New file, from GNU gettext 0.11.2.
2075	* m4/glibc21.m4: New file, from GNU gettext 0.11.2.
2076	* m4/isc-posix.m4: New file, from GNU gettext 0.11.2.
2077	* m4/lcmessage.m4: New file, from GNU gettext 0.11.2.
2078	* m4/progtest.m4: New file, from GNU gettext 0.11.2.
2079	* configure.in: Require autoconf-2.52, needed for multiple config.h.in
2080	files. Use new form of AC_INIT. Invoke AM_GNU_GETTEXT.
2081	(PACKAGE, VERSION): Define, needed for po/Makefile.in.in.
2082	* lib/config.h.in (HAVE_LOCALE_H, HAVE_SETLOCALE): Remove.
2083
20842002-04-28  gettextize  <bug-gnu-gettext@gnu.org>
2085
2086	* configure.in (AC_OUTPUT): Add po/Makefile.in.
2087
20882002-04-28  Bruno Haible  <bruno@clisp.org>
2089
2090	* m4/eilseq.m4: Renamed from autoconf/eilseq.m4.
2091	* m4/mbstate_t.m4: Renamed from autoconf/mbstate_t.m4.
2092	* m4/general.m4: New file, from GNU clisp.
2093	* m4/proto.m4: New file, from GNU clisp.
2094	* m4/ranlib.m4: New file, from GNU clisp.
2095	* m4/install.m4: New file, from GNU clisp.
2096	* m4/cp.m4: New file, from GNU clisp.
2097	* m4/ln.m4: New file, from GNU clisp.
2098	* m4/endian.m4: New file, from GNU clisp.
2099	* m4/iconv.m4: New file, from GNU gettext 0.11.2.
2100	* m4/lib-ld.m4: New file, from GNU gettext 0.11.2.
2101	* m4/lib-link.m4: New file, from GNU gettext 0.11.2.
2102	* m4/lib-prefix.m4: New file, from GNU gettext 0.11.2.
2103	* autoconf/config.rpath: New file, from GNU gettext 0.11.2.
2104	* m4/libtool.m4: New file, based on libtool-1.4.2.
2105	* Makefile.devel (ACLOCAL): Remove variable.
2106	(ACSELECT): Remove variable.
2107	(OTHERMACROS): Remove variable.
2108	(m4/*.m4): New rules.
2109	(autoconf/aclocal.m4): Construct using aclocal instead of acselect.
2110	* configure.in: Invoke AM_ICONV instead of CL_ICONV.
2111
21122002-04-06  Bruno Haible  <bruno@clisp.org>
2113
2114	Upgrade to Unicode 3.2.
2115	* tools/cjk_tab_to_h.c (output_title): Bump copyright year.
2116	(compact_large_charset2uni): Add an argument. Determine optimal shift.
2117	Copy modified enc->charset2uni table.
2118	(output_charset2uni): Deal with shift other than 8. Copy encoding, so
2119	as to not disturb subsequent output_uni2charset[_sparse] call.
2120	* lib/hkscs.h: Regenerated.
2121	* tests/BIG5-HKSCS.TXT: Update.
2122	* tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Update.
2123
21242002-04-06  Bruno Haible  <bruno@clisp.org>
2125
2126	Upgrade to Unicode 3.2.
2127	* tools/Makefile (cns11643_1.h, cns11643_2.h, cns11643_3.h,
2128	cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
2129	cns11643_7.h, cns11643_15.h, cns11643_inv.h): Use
2130	CNS11643-Unicode32.TXT instead of CNS11643-Unicode31.TXT.
2131	* lib/cns11643_3.h: Regenerated.
2132	* lib/cns11643_4a.h: Regenerated.
2133	* lib/cns11643_4b.h: Regenerated.
2134	* lib/cns11643_5.h: Regenerated.
2135	* lib/cns11643_6.h: Regenerated.
2136	* lib/cns11643_7.h: Regenerated.
2137	* lib/cns11643_15.h: Regenerated.
2138	* lib/cns11643_inv.h: Regenerated.
2139	* tests/EUC-TW.TXT: Update.
2140
21412002-01-17  Bruno Haible  <bruno@clisp.org>
2142
2143	* lib/tcvn.h (tcvn_2uni_1): Make it smaller.
2144	(tcvn_mbtowc): Small optimization.
2145
21462002-01-13  Bruno Haible  <bruno@clisp.org>
2147
2148	New options -l, -c, -s.
2149	* src/iconv.c (discard_unconvertible, silent): New variables.
2150	(usage): Document options -l, -c, -s.
2151	(print_one): New function.
2152	(convert): If silent is true, don't print error messages about the
2153	conversion to stderr. If discard_unconvertible is true, set the
2154	iconv descriptor to DISCARD_ILSEQ the first time, but make sure to
2155	return the same return code as when discard_unconvertible is false.
2156	(main): Accept options -l, -c, -s. Implement option -l.
2157	* man/iconv.1: Document options -l, -c, -s.
2158
21592002-01-13  Bruno Haible  <bruno@clisp.org>
2160
2161	Support for "iconv -c".
2162	* include/iconv.h.in (ICONV_GET_DISCARD_ILSEQ): New macro.
2163	(ICONV_SET_DISCARD_ILSEQ): Likewise.
2164	* lib/converters.h (struct conv_struct): New field discard_ilseq.
2165	* lib/iconv.c (iconv_open): Set discard_ilseq to true if tocode
2166	has an "//IGNORE" suffix, and to false otherwise.
2167	(iconvctl): Implement ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ.
2168	* lib/loop_unicode.h (unicode_loop_convert): If discard_ilseq is
2169	true, skip one input character instead of returning EILSEQ.
2170	(unicode_loop_reset): Likewise.
2171	* lib/loop_wchar.h (wchar_from_loop_convert): Likewise.
2172	(wchar_to_loop_convert): Likewise.
2173
21742002-01-13  Bruno Haible  <bruno@clisp.org>
2175
2176	Support for "iconv -l".
2177	* include/iconv.h.in (iconvlist): New declaration.
2178	* Makefile.devel (lib/aliases.h): Change gperf options.
2179	* lib/iconv.c (compare_by_index, compare_by_name, iconvlist): New
2180	functions.
2181
21822002-01-06  Bruno Haible  <bruno@clisp.org>
2183
2184	* lib/loop_unicode.h (unicode_transliterate): If the transliteration
2185	fails due to limited output encoding, return RET_ILUNI, not
2186	RET_TOOSMALL. Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
2187	* tests/check-translitfailure: New file.
2188	* tests/TranslitFail1.ISO-8859-1: New file.
2189	* tests/Makefile.in (check): Call check-translitfailure.
2190
21912001-12-15  Bruno Haible  <bruno@clisp.org>
2192
2193        * lib/euc_jp.h (euc_jp_wctomb): Add irreversible mappings for
2194	Shift_JIS characters 0x5C and 0x7E.
2195	* tests/EUC-JP.IRREVERSIBLE.TXT: New file.
2196
21972001-12-05  Bruno Haible  <bruno@clisp.org>
2198
2199	* lib/iconv.c (iconv_open): Recognize the empty encoding name. Avoid
2200	  endless loop if locale_charset() returns the empty string.
2201	* README, man/iconv_open.3: Add the empty encoding name.
2202
22032001-11-10  Bruno Haible  <haible@clisp.cons.org>
2204
2205        * lib/Makefile.in (libiconv_plug_linux.so): Allow building it with a
2206          non-gcc compiler.
2207
22082001-10-23  Bruno Haible  <haible@clisp.cons.org>
2209
2210        * tools/Makefile (cp1125.h): New target.
2211          (ALL): Add it.
2212        * lib/cp1125.h: New file.
2213        * lib/converters.h: Include it.
2214        * lib/encodings_dos.def (CP1125): New encoding.
2215
22162001-09-08  Bruno Haible  <haible@clisp.cons.org>
2217
2218	* autoconf/eilseq.m4: New file.
2219	* Makefile.devel (OTHERMACROS): Add it.
2220	* configure.in: Call AC_EILSEQ.
2221	* include/iconv.h.in (EILSEQ): Define to the autoconf determined value.
2222
22232001-08-25  Bruno Haible  <haible@clisp.cons.org>
2224
2225	Upgrade to autoconf-2.52.
2226	* autoconf/autoconf: Upgrade to autoconf-2.52.
2227	* autoconf/acgeneral.m4: Remove file.
2228	* autoconf/acspecific.m4: Remove file.
2229	* autoconf/autoconf.m4f: New file, from autoconf-2.52.
2230	* autoconf/aclocal.m4: Require autoconf-2.52.
2231	(CL_CANONICAL_HOST): Call AC_CANONICAL_HOST. Don't cache the result,
2232	AC_CANONICAL_HOST does it itself. Add $SHELL in front of
2233	$ac_config_guess and $ac_config_sub.
2234	* Makefile.devel (AUTOCONF_FILES): Remove acgeneral.m4, acspecific.m4.
2235	Add autoconf.m4f.
2236	(configure): Use autoconf options -A, -l instead of -m.
2237	* configure.in: Use AC_CONFIG_SUBDIRS, not AC_OUTPUT_SUBDIRS.
2238
22392001-08-05  Bruno Haible  <haible@clisp.cons.org>
2240
2241	* autoconf/acgeneral.m4 (AC_MSG_RESULTPROTO): Remove macro.
2242	(AC_LANG_EXTERN): Move to aclocal.m4.
2243	* autoconf/aclocal.m4 (AC_LANG_EXTERN): Moved here from acgeneral.m4.
2244	(CL_PROTO): Use AC_MSG_RESULT directly, instead of AC_MSG_RESULTPROTO.
2245	(CL_SILENT): No need to pushdef AC_MSG_RESULTPROTO.
2246
22472001-08-05  Bruno Haible  <haible@clisp.cons.org>
2248
2249	Make it possible to build libiconv with CC=gcc CFLAGS="-x c++".
2250	* lib/loop_wchar.h (wchar_to_loop_convert): Rename local variable
2251	'try' to 'incount'.
2252	* lib/Makefile.in (libiconv_plug_linux.so): Add "-x none" option
2253	between sources and libs.
2254	(libiconv_plug_solaris.so) [GCC]: Likewise.
2255	(libiconv_plug_osf.so) [GCC]: Likewise.
2256	* src/Makefile.in (iconv.@OBJEXT@): New rule.
2257	(iconv): Depend on it.
2258	(clean): Erase *.@OBJEXT@, not *.o.
2259	* tests/Makefile.in (table-from.@OBJEXT@): New rule.
2260	(table-from): Depend on it.
2261	(table-to.@OBJEXT@): New rule.
2262	(table-to): Depend on it.
2263	(clean): Erase *.@OBJEXT@, not *.o.
2264
22652001-07-28  Bruno Haible  <haible@clisp.cons.org>
2266
2267	* tools/Makefile (iso8859_16.h): Generate from the unicode.org table.
2268	* lib/iso8859_16.h: Regenerated.
2269	* tests/ISO-8859-16.TXT: Swap the values of 0xA5 and 0xAB.
2270
22712001-07-17  Bruno Haible  <haible@clisp.cons.org>
2272
2273	* configure.in (VERSION): Define. Needed by djgpp/Makefile.maint.
2274
22752001-07-03  Bruno Haible  <haible@clisp.cons.org>
2276
2277	* configure.in: Also check for mbsinit.
2278	* lib/loop_wchar.h (mbsinit): Define to 1 if not defined.
2279	Needed for SCO 3.2v5.0.2.
2280
22812001-06-27  Bruno Haible  <haible@clisp.cons.org>
2282
2283	* Version 1.7 released.
2284
22852001-06-27  Bruno Haible  <haible@clisp.cons.org>
2286
2287	* INSTALL.generic (Particular Systems): Generalize section about
2288	/usr/local to "most systems".
2289
2290	* lib/Makefile.in (all): Build @PLUGLIB@ before libiconv.la, because
2291	Solaris cc destroys iconv.o and iconv.lo while building
2292	libiconv_plug_solaris.so.
2293	(clean): Remove so_locations, left there by the OSF/1 linker.
2294
2295	* lib/cp1255.h (cp1255_decomp): Use 'signed int' instead of 'int'.
2296
2297	* lib/vietcomb.h (viet_decomp): Use 'unsigned int' instead of
2298	'unsigned short'.
2299
2300	* tests/table-from.c: Include string.h.
2301	* tests/table-to.c: Likewise.
2302
23032001-06-26  Bruno Haible  <haible@clisp.cons.org>
2304
2305	* tools/Makefile (jisx0208.h): Replace U+005C with U+FF3C.
2306	(jisx0212.h): Replace U+007E with U+FF5E.
2307	* lib/jisx0208.h: Regenerated.
2308	* lib/jisx0212.h: Regenerated.
2309	* tests/EUC-JP.TXT: Map 0xA1C0 to U+FF3C. Map 0x8FA2B7 to U+FF5E.
2310	* tests/EUC-JP.IRREVERSIBLE.TXT: Remove file.
2311	* tests/SHIFT-JIS.TXT: Map 0x815F to U+FF3C.
2312	* tests/CP932.TXT: Likewise.
2313	* tests/CP932.IRREVERSIBLE.TXT: 0x815F mapping is now reversible.
2314
23152001-06-25  Bruno Haible  <haible@clisp.cons.org>
2316
2317	* src/Makefile.in (iconv): Mention $(INCLUDES) before $(CFLAGS) and
2318	$(CPPFLAGS).
2319	* src/Makefile.msvc (iconv.exe): Likewise.
2320	* src/Makefile.os2 (iconv.exe): Likewise.
2321	* lib/Makefile.in (libiconv_plug_linux.so): Likewise.
2322	(libiconv_plug_solaris.so): Likewise.
2323	(libiconv_plug_osf.so): Likewise.
2324	(iconv.lo): Likewise.
2325	* lib/Makefile.msvc (iconv.obj): Likewise.
2326	* lib/Makefile.os2 (iconv.obj): Likewise.
2327	* tests/Makefile.in (table-from, table-to): Likewise.
2328	* tests/Makefile.msvc (table-from.exe, table-to.exe): Likewise.
2329	* tests/Makefile.os2 (table-from.exe, table-to.exe): Likewise.
2330	(genutf8.exe): Don't use $(INCLUDES).
2331
23322001-06-25  Bruno Haible  <haible@clisp.cons.org>
2333
2334        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
2335          Bump version number.
2336        * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:4:0.
2337
23382001-06-25  Bruno Haible  <haible@clisp.cons.org>
2339
2340        * Makefile.devel (OTHERMACROS): Use libtool.m4 in libcharset subdir.
2341
23422001-06-25  Bruno Haible  <haible@clisp.cons.org>
2343
2344        * lib/encodings.def: Make SHIFT_JIS the primary name of SJIS.
2345
23462001-06-08  Bruno Haible  <haible@clisp.cons.org>
2347
2348        * autoconf/ltmain.sh: Upgrade to libtool-1.4.
2349        * autoconf/ltconfig: Remove file.
2350
23512001-06-08  Bruno Haible  <haible@clisp.cons.org>
2352
2353        * autoconf/config.guess: Update to GNU version 2001-05-11.
2354        * autoconf/config.sub: Likewise.
2355
23562001-06-03  Bruno Haible  <haible@clisp.cons.org>
2357
2358        * lib/loop_unicode.h (unicode_loop_convert): Ignore Unicode 3.1 tag
2359          characters if they cannot be converted.
2360          (unicode_loop_reset): Likewise.
2361        * lib/iso2022_jp2.h (STATE_TAG_NONE, STATE_TAG_LANGUAGE,
2362           STATE_TAG_LANGUAGE_j, STATE_TAG_LANGUAGE_ja, STATE_TAG_LANGUAGE_k,
2363           STATE_TAG_LANGUAGE_ko, STATE_TAG_LANGUAGE_z, STATE_TAG_LANGUAGE_zh):
2364          New macros.
2365          (SPLIT_STATE, COMBINE_STATE): Different differently for wctomb
2366          direction.
2367          (iso2022_jp2_wctomb): Keep track of Unicode 3.1 language tag.
2368          If "ja", prefer conversion to Japanese character sets. If "zh",
2369          prefer conversion to GB2312. If "ko", prefer conversion to KSC5601.
2370
2371        * lib/converters.h (RET_ILUNI): Change value from 0 to -1.
2372          (RET_TOOSMALL): Change value from -1 to -2.
2373        * lib/loop_unicode.h (unicode_transliterate): Allow xxx_wctomb to
2374          return 0 written bytes.
2375
23762001-06-06  Bruno Haible  <haible@clisp.cons.org>
2377
2378        * lib/encodings.def: Align with IANA character-set registry.
2379          (US-ASCII): Add alias "ANSI_X3.4-1986".
2380          (ISO-8859-14): Add alias "ISO-CELTIC".
2381          (JIS_X0208): Add alias "JIS_C6226-1983".
2382          (BIG5HKSCS): Add alias "BIG5-HKSCS".
2383        * README, man/iconv_open.3: Rename BIG5HKSCS to BIG5-HKSCS.
2384        * tests/Makefile.in (check): Likewise.
2385        * tests/Makefile.os2 (check): Likewise.
2386        * tests/Makefile.msvc (check): Likewise.
2387        * tests/BIG5-HKSCS.TXT: Renamed from BIG5HKSCS.TXT.
2388        * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Renamed from
2389          BIG5HKSCS.IRREVERSIBLE.TXT.
2390
23912001-06-02  Bruno Haible  <haible@clisp.cons.org>
2392
2393        * tools/cjk_tab_to_h.c (Encoding): Add fffd field.
2394          (is_charset2uni_large, compact_large_charset2uni): New functions.
2395          (find_charset2uni_pages): Use enc->fffd instead of 0xfffd.
2396          (output_charset2uni): If mapping to more than the Unicode BMP,
2397          use an extra indirection to keep each value in 16 bits.
2398          (invert): Bump limit from U+10000 to U+30000.
2399          (output_uni2charset_dense): Likewise.
2400          (output_uni2charset_sparse): Likewise. If mapping to more than one
2401          CJK plane, use three bytes per value instead of two bytes.
2402          (byte_row_cns11643): Allow more than 3 CJK planes.
2403          (do_cns11643_only_uni2charset): Increase number of rows, to include
2404          plane 15. Remove plane bits hack.
2405          (main): Accept names cns11643_4a,4b,5,6,7,15 as well.
2406        * tools/Makefile (ALL): Add cns11643_4a.h, cns11643_4b.h, cns11643_5.h,
2407          cns11643_6.h, cns11643_7.h, cns11643_15.h.
2408          (cns11643_1.h, cns11643_2.h, cns11643_3.h): Use new Unicode 3.1
2409          derived table.
2410          (cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
2411           cns11643_7.h, cns11643_15.h): New rules.
2412          (cns11643_inv.h): Change title.
2413        * lib/cns11643_1.h: Regenerated from Unicode 3.1 derived table.
2414        * lib/cns11643_3.h: Likewise.
2415        * lib/cns11643_4a.h: New file.
2416        * lib/cns11643_4b.h: New file.
2417        * lib/cns11643_4.h: New file.
2418        * lib/cns11643_5.h: New file.
2419        * lib/cns11643_6.h: New file.
2420        * lib/cns11643_7.h: New file.
2421        * lib/cns11643_15.h: New file.
2422        * lib/cns11643_inv.h: Regenerated from Unicode 3.1 derived table.
2423          (cns11643_inv_wctomb): Return 3 bytes now.
2424        * lib/cns11643.h: Include cns11643_4.h, cns11643_5.h, cns11643_6.h,
2425          cns11643_7.h, cns11643_15.h.
2426          (cns11643_wctomb): Now a simple alias to cns11643_inv_wctomb. Return
2427          plane number starting at 1, not 0.
2428        * lib/dec_hanyu.h (dec_hanyu_wctomb): Update for cns11643_wctomb
2429          change.
2430        * lib/euc_tw.h (euc_tw_mbtowc): Accept CNS11643 planes 4,5,6,7,15 as
2431          well.
2432          (euc_tw_wctomb): Update for cns11643_wctomb change.
2433        * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
2434        * lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Accept CNS11643 planes
2435          4,5,6,7 as well.
2436          (iso2022_cn_ext_wctomb): Update for cns11643_wctomb change.
2437          Try CNS11643 planes 4,5,6,7 as well.
2438        * tests/EUC-TW.TXT: Many additions, mostly in planes 3,4,5,6,7,15.
2439        * tests/EUC-TW.IRREVERSIBLE.TXT: Reflect additions to CNS11643 plane 1.
2440          Add U+5344.
2441
24422001-06-01  Bruno Haible  <haible@clisp.cons.org>
2443
2444        * tests/table-from.c (bmp_only): New variable.
2445          (ucs4_decode): If bmp_only, don't return characters outside Unicode
2446          plane 0.
2447          (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
2448          a conversion line if ucs4_decode returns NULL.
2449        * tests/table-to.c (main): When testing encodings other than UTF-8 and
2450          GB18030, loop upto U+30000 instead of U+10000.
2451
24522001-05-24  Bruno Haible  <haible@clisp.cons.org>
2453
2454        * lib/converters.h (mbtowc_funcs): Add flushwc member function.
2455        * lib/flushwc.h: New file.
2456        * lib/cp1255.h: Include flushwc.h.
2457          (cp1255_comp_table_data, cp1255_comp_table): New arrays.
2458          (cp1255_mbtowc): Compose base and combining characters.
2459          (cp1255_flushwc): New macro.
2460        * lib/vietcomb.h (viet_comp_table_data, viet_comp_table): New arrays.
2461        * lib/cp1258.h: Include flushwc.h.
2462          (cp1258_mbtowc): Compose base and combining characters.
2463          (cp1258_flushwc): New macro.
2464        * lib/tcvn.h: Include flushwc.h.
2465          (tcvn_mbtowc): Compose base and combining characters.
2466          (tcvn_flushwc): New macro.
2467        * lib/loop_unicode.h: (unicode_transliterate): New function, extracted
2468          from unicode_loop_convert.
2469          (unicode_loop_convert): Use unicode_transliterate.
2470          (unicode_loop_reset): Call xxx_flushwc and output the resulting
2471          character.
2472        * lib/encodings.def: Add xxx_flushwc member.
2473        * lib/encodings_aix.def: Likewise.
2474        * lib/encodings_dos.def: Likewise.
2475        * lib/encodings_local.def: Likewise.
2476        * lib/encodings_osf1.def: Likewise.
2477        * lib/genaliases.c: Add an argument to the DEFENCODING macro.
2478        * lib/genaliases2.c: Likewise.
2479        * lib/genflags.c: Likewise.
2480        * lib/iconv.c: Likewise.
2481        * tests/table-from.c (try): Reset the iconv descriptor before the main
2482          call, and flush it afterwards.
2483          (ucs4_decode): New function.
2484          (main): Allow up to 3 Unicode characters output. Call ucs4_decode.
2485        * tests/CP1255-snippet: New file.
2486        * tests/CP1255-snippet.UTF-8: New file.
2487        * tests/CP1258-snippet: New file.
2488        * tests/CP1258-snippet.UTF-8: New file.
2489        * tests/TCVN-snippet: New file.
2490        * tests/TCVN-snippet.UTF-8: New file.
2491        * tests/Makefile.in (check): Check combining behaviour of CP1255,
2492          CP1258, TCVN.
2493        * tests/Makefile.msvc (check): Likewise.
2494        * tests/Makefile.os2 (check): Likewise.
2495
24962001-05-22  Bruno Haible  <haible@clisp.cons.org>
2497
2498        * lib/converters.h (RET_ILUNI): New macro.
2499          (RET_ILSEQ): Change value to -1.
2500          (RET_TOOFEW): Change value.
2501        * lib/loop_unicode.h (unicode_loop_convert): Write RET_ILUNI instead
2502          of 0. Update handling of xxx_mbtowc return value.
2503        * lib/genflags.c (emit_encoding): Likewise.
2504        * lib/ascii.h (ascii_wctomb): Use RET_ILUNI instead of RET_ILSEQ.
2505        * lib/armscii_8.h (armscii_8_wctomb): Likewise.
2506        * lib/big5.h (big5_wctomb): Likewise.
2507        * lib/big5hkscs.h (big5hkscs_wctomb): Likewise.
2508        * lib/ces_big5.h (ces_big5_wctomb): Likewise.
2509        * lib/ces_gbk.h (ces_gbk_wctomb): Likewise.
2510        * lib/cns11643.h (cns11643_wctomb): Likewise.
2511        * lib/cns11643_inv.h (cns11643_inv_wctomb): Likewise.
2512        * lib/cp437.h (cp437_wctomb): Likewise.
2513        * lib/cp775.h (cp775_wctomb): Likewise.
2514        * lib/cp850.h (cp850_wctomb): Likewise.
2515        * lib/cp852.h (cp852_wctomb): Likewise.
2516        * lib/cp855.h (cp855_wctomb): Likewise.
2517        * lib/cp856.h (cp856_wctomb): Likewise.
2518        * lib/cp857.h (cp857_wctomb): Likewise.
2519        * lib/cp861.h (cp861_wctomb): Likewise.
2520        * lib/cp862.h (cp862_wctomb): Likewise.
2521        * lib/cp864.h (cp864_wctomb): Likewise.
2522        * lib/cp865.h (cp865_wctomb): Likewise.
2523        * lib/cp866.h (cp866_wctomb): Likewise.
2524        * lib/cp869.h (cp869_wctomb): Likewise.
2525        * lib/cp874.h (cp874_wctomb): Likewise.
2526        * lib/cp922.h (cp922_wctomb): Likewise.
2527        * lib/cp932ext.h (cp932ext_wctomb): Likewise.
2528        * lib/cp932.h (cp932_wctomb): Likewise.
2529        * lib/cp936ext.h (cp936ext_wctomb): Likewise.
2530        * lib/cp949.h (cp949_wctomb): Likewise.
2531        * lib/cp950ext.h (cp950ext_wctomb): Likewise.
2532        * lib/cp950.h (cp950_wctomb): Likewise.
2533        * lib/cp1046.h (cp1046_wctomb): Likewise.
2534        * lib/cp1124.h (cp1124_wctomb): Likewise.
2535        * lib/cp1129.h (cp1129_wctomb): Likewise.
2536        * lib/cp1133.h (cp1133_wctomb): Likewise.
2537        * lib/cp1250.h (cp1250_wctomb): Likewise.
2538        * lib/cp1251.h (cp1251_wctomb): Likewise.
2539        * lib/cp1252.h (cp1252_wctomb): Likewise.
2540        * lib/cp1253.h (cp1253_wctomb): Likewise.
2541        * lib/cp1254.h (cp1254_wctomb): Likewise.
2542        * lib/cp1255.h (cp1255_wctomb): Likewise.
2543        * lib/cp1256.h (cp1256_wctomb): Likewise.
2544        * lib/cp1257.h (cp1257_wctomb): Likewise.
2545        * lib/cp1258.h (cp1258_wctomb): Likewise.
2546        * lib/dec_hanyu.h (dec_hanyu_wctomb): Likewise.
2547        * lib/dec_kanji.h (dec_kanji_wctomb): Likewise.
2548        * lib/euc_cn.h (euc_cn_wctomb): Likewise.
2549        * lib/euc_jp.h (euc_jp_wctomb): Likewise.
2550        * lib/euc_kr.h (euc_kr_wctomb): Likewise.
2551        * lib/euc_tw.h (euc_tw_wctomb): Likewise.
2552        * lib/gb12345ext.h (gb12345ext_wctomb): Likewise.
2553        * lib/gb12345.h (gb12345_wctomb): Likewise.
2554        * lib/gb18030ext.h (gb18030ext_wctomb): Likewise.
2555        * lib/gb18030.h (gb18030_wctomb): Likewise.
2556        * lib/gb18030uni.h (gb18030uni_wctomb): Likewise.
2557        * lib/gb2312.h (gb2312_wctomb): Likewise.
2558        * lib/gbkext_inv.h (gbkext_inv_wctomb): Likewise.
2559        * lib/gbk.h (gbk_wctomb): Likewise.
2560        * lib/georgian_academy.h (georgian_academy_wctomb): Likewise.
2561        * lib/georgian_ps.h (georgian_ps_wctomb): Likewise.
2562        * lib/hkscs.h (hkscs_wctomb): Likewise.
2563        * lib/hp_roman8.h (hp_roman8_wctomb): Likewise.
2564        * lib/hz.h (hz_wctomb): Likewise.
2565        * lib/iso2022_cnext.h (iso2022_cn_ext_wctomb): Likewise.
2566        * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
2567        * lib/iso2022_jp1.h (iso2022_jp1_wctomb): Likewise.
2568        * lib/iso2022_jp2.h (iso2022_jp2_wctomb): Likewise.
2569        * lib/iso2022_jp.h (iso2022_jp_wctomb): Likewise.
2570        * lib/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
2571        * lib/iso646_cn.h (iso646_cn_wctomb): Likewise.
2572        * lib/iso646_jp.h (iso646_jp_wctomb): Likewise.
2573        * lib/iso8859_1.h (iso8859_1_wctomb): Likewise.
2574        * lib/iso8859_2.h (iso8859_2_wctomb): Likewise.
2575        * lib/iso8859_3.h (iso8859_3_wctomb): Likewise.
2576        * lib/iso8859_4.h (iso8859_4_wctomb): Likewise.
2577        * lib/iso8859_5.h (iso8859_5_wctomb): Likewise.
2578        * lib/iso8859_6.h (iso8859_6_wctomb): Likewise.
2579        * lib/iso8859_7.h (iso8859_7_wctomb): Likewise.
2580        * lib/iso8859_8.h (iso8859_8_wctomb): Likewise.
2581        * lib/iso8859_9.h (iso8859_9_wctomb): Likewise.
2582        * lib/iso8859_10.h (iso8859_10_wctomb): Likewise.
2583        * lib/iso8859_13.h (iso8859_13_wctomb): Likewise.
2584        * lib/iso8859_14.h (iso8859_14_wctomb): Likewise.
2585        * lib/iso8859_15.h (iso8859_15_wctomb): Likewise.
2586        * lib/iso8859_16.h (iso8859_16_wctomb): Likewise.
2587        * lib/isoir165ext.h (isoir165ext_wctomb): Likewise.
2588        * lib/isoir165.h (isoir165_wctomb): Likewise.
2589        * lib/jisx0201.h (jisx0201_wctomb): Likewise.
2590        * lib/jisx0208.h (jisx0208_wctomb): Likewise.
2591        * lib/jisx0212.h (jisx0212_wctomb): Likewise.
2592        * lib/johab.h (johab_wctomb): Likewise.
2593        * lib/johab_hangul.h (johab_hangul_wctomb, johab_hangul_decompose):
2594          Likewise.
2595        * lib/koi8_r.h (koi8_r_wctomb): Likewise.
2596        * lib/koi8_ru.h (koi8_ru_wctomb): Likewise.
2597        * lib/koi8_u.h (koi8_u_wctomb): Likewise.
2598        * lib/ksc5601.h (ksc5601_wctomb): Likewise.
2599        * lib/mac_arabic.h (mac_arabic_wctomb): Likewise.
2600        * lib/mac_centraleurope.h (mac_centraleurope_wctomb): Likewise.
2601        * lib/mac_croatian.h (mac_croatian_wctomb): Likewise.
2602        * lib/mac_cyrillic.h (mac_cyrillic_wctomb): Likewise.
2603        * lib/mac_greek.h (mac_greek_wctomb): Likewise.
2604        * lib/mac_hebrew.h (mac_hebrew_wctomb): Likewise.
2605        * lib/mac_iceland.h (mac_iceland_wctomb): Likewise.
2606        * lib/mac_roman.h (mac_roman_wctomb): Likewise.
2607        * lib/mac_romania.h (mac_romania_wctomb): Likewise.
2608        * lib/mac_thai.h (mac_thai_wctomb): Likewise.
2609        * lib/mac_turkish.h (mac_turkish_wctomb): Likewise.
2610        * lib/mac_ukraine.h (mac_ukraine_wctomb): Likewise.
2611        * lib/mulelao.h (mulelao_wctomb): Likewise.
2612        * lib/nextstep.h (nextstep_wctomb): Likewise.
2613        * lib/sjis.h (sjis_wctomb): Likewise.
2614        * lib/tcvn.h (tcvn_wctomb): Likewise.
2615        * lib/tis620.h (tis620_wctomb): Likewise.
2616        * lib/ucs2be.h (ucs2be_wctomb): Likewise.
2617        * lib/ucs2.h (ucs2_wctomb): Likewise.
2618        * lib/ucs2internal.h (ucs2internal_wctomb): Likewise.
2619        * lib/ucs2le.h (ucs2le_wctomb): Likewise.
2620        * lib/ucs2swapped.h (ucs2swapped_wctomb): Likewise.
2621        * lib/ucs4.h (ucs4_wctomb): Likewise.
2622        * lib/uhc_1.h (uhc_1_wctomb): Likewise.
2623        * lib/uhc_2.h (uhc_2_wctomb): Likewise.
2624        * lib/utf16be.h (utf16be_wctomb): Likewise.
2625        * lib/utf16.h (utf16_wctomb): Likewise.
2626        * lib/utf16le.h (utf16le_wctomb): Likewise.
2627        * lib/utf32be.h (utf32be_wctomb): Likewise.
2628        * lib/utf32.h (utf32_wctomb): Likewise.
2629        * lib/utf32le.h (utf32le_wctomb): Likewise.
2630        * lib/utf7.h (utf7_wctomb): Likewise.
2631        * lib/utf8.h (utf8_wctomb): Likewise.
2632        * lib/viscii.h (viscii_wctomb): Likewise.
2633        * tools/8bit_tab_to_h.c (main): Likewise.
2634        * tools/cjk_tab_to_h.c (output_uni2charset_dense,
2635           output_uni2charset_sparse, do_gb18030uni): Likewise.
2636
26372001-05-19  Bruno Haible  <haible@clisp.cons.org>
2638
2639        * Makefile.devel (all): Add man/{iconv.1,iconv*.3}.html.
2640          (man/%.html): New rule.
2641        * man/Makefile.in (docdir, htmldir): New variables.
2642          (install, installdirs): Install the HTML formatted man pages in
2643          $(htmldir).
2644          (uninstall): Uninstall them.
2645
26462001-05-20  Bruno Haible  <haible@clisp.cons.org>
2647
2648        * lib/cp1255.h (cp1255_decomp_table): New array.
2649          (cp1255_comb_table): New array.
2650          (cp1255_wctomb): Decompose Unicode characters.
2651        * tests/CP1255.IRREVERSIBLE.TXT: New file.
2652
26532001-05-13  Bruno Haible  <haible@clisp.cons.org>
2654
2655        * lib/vietcomb.h: New file.
2656        * lib/cp1258.h: Include it.
2657          (cp1258_comb_table): New array.
2658          (cp1258_wctomb): Decompose Unicode characters.
2659        * lib/tcvn.h: Include it.
2660          (tcvn_comb_table): New array.
2661          (tcvn_wctomb): Decompose Unicode characters.
2662        * tests/CP1258.IRREVERSIBLE.TXT: New file.
2663        * tests/TCVN.IRREVERSIBLE.TXT: New file.
2664
26652001-05-06  Bruno Haible  <haible@clisp.cons.org>
2666
2667        * lib/Makefile.msvc (config.h): Allow the 'del' command to fail.
2668        (iconv.lib): Likewise.
2669
26702001-05-06  Bruno Haible  <haible@clisp.cons.org>
2671
2672        * lib/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
2673        (CPP): Remove variable.
2674        (libiconv.la, libiconv_plug_linux.so, libiconv_plug_solaris.so,
2675         libiconv_plug_osf.so): Use LDFLAGS.
2676        (libiconv_plug_linux.so, libiconv_plug_solaris.so,
2677         libiconv_plug_osf.so, iconv.lo): Use CPPFLAGS.
2678        * lib/Makefile.msvc (CPP): Remove variable.
2679        * src/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
2680        (CPP): Remove variable.
2681        (iconv): Use CPPFLAGS and LDFLAGS.
2682        * src/Makefile.msvc (CPP): Remove variable.
2683        * tests/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
2684        (check, table-from, table-to): Use CPPFLAGS and LDFLAGS.
2685        * tests/Makefile.msvc (CPP): Remove variable.
2686
26872001-05-06  Bruno Haible  <haible@clisp.cons.org>
2688
2689        * lib/Makefile.in (libiconv_plug_solaris.so): Change rule if not using
2690          gcc. Reported by Paananen Mikko <mikkopa@cs.tut.fi>.
2691
26922001-04-11  Bruno Haible  <haible@clisp.cons.org>
2693
2694        Implement and document UTF-32, UTF-32BE, UTF-32LE.
2695        * src/utf32.h, src/utf32be.h, src/utf32le.h: New files.
2696        * src/converters.h: Include them.
2697        * src/encodings.def (UTF-32, UTF-32BE, UTF32LE): New encodings.
2698        * README, man/iconv_open.3: Add UTF-32, UTF-32BE, UTF32LE.
2699        * tests/Makefile.in (check): Check UTF-32, UTF-32BE, UTF32LE.
2700        * tests/Makefile.os2 (check): Likewise.
2701        * tests/Makefile.msvc (check): Likewise.
2702        * tests/UTF-32*snippet*: New files.
2703
2704        * lib/ucs4.h (ucs4_mbtowc): Fix value of other-endian byte order.
2705          (ucs4_wctomb): Allow any 31-bit codepoint.
2706
27072001-04-11  Bruno Haible  <haible@clisp.cons.org>
2708
2709        * tests/GB18030.TXT: Add mappings for all of U+0000..U+FFFF, including
2710          unassigned code points.
2711        * tests/table-from.c (main); When dumping GB18030, don't print code
2712          points larger than U+FFFF.
2713
27142001-03-30  Bruno Haible  <haible@clisp.cons.org>
2715
2716        * tools/Makefile (GB18030uni.TXT): Use a table source which includes
2717          the unassigned Unicode code points.
2718        * lib/gb18030uni.h: Update.
2719          (gb18030uni_ranges): Remove bitmap_offset field.
2720          (gb18030uni_bitmap): Remove array.
2721          (gb18030uni_mbtowc): Omit gb18030uni_bitmap access.
2722          (gb18030uni_wctomb): Likewise.
2723        * lib/gb18030.h (gb18030_mbtowc): Handle Unicode characters >= 0x10000.
2724          (gb18030_wctomb): Likewise.
2725
27262001-03-21  Bruno Haible  <haible@clisp.cons.org>
2727
2728        * INSTALL.generic (Particular Systems): Add recommendations for AIX 3.
2729
27302001-03-21  Bruno Haible  <haible@clisp.cons.org>
2731
2732        * src/iconv.c (print_version): Now called GNU libiconv.
2733
27342001-03-20  Bruno Haible  <haible@clisp.cons.org>
2735
2736        * README: This package is now called GNU libiconv.
2737
2738        * tools/8bit_tab_to_h.c (main): Emit copyright notice to the output
2739          file.
2740        * tools/cjk_tab_to_h.c (output_title): Likewise.
2741        * tools/cjk_variants.c (main): Likewise.
2742        * lib/gentranslit.c (main): Likewise.
2743
27442001-03-19  Bruno Haible  <haible@clisp.cons.org>
2745
2746        * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Always define
2747          ac_config_guess and ac_config_sub. Then ignore requests for
2748          AC_CONFIG_AUX_DIR_DEFAULT or AC_CANONICAL_HOST.
2749
27502001-03-10  Bruno Haible  <haible@clisp.cons.org>
2751
2752        * INSTALL.generic: New section "Particular Systems".
2753
27542001-03-10  Bruno Haible  <haible@clisp.cons.org>
2755
2756        * lib/Makefile.in (libiconv.la): Pass flag -no-undefined. Needed on
2757          platforms like BeOS.
2758
2759        * lib/loop_wchar.h (mbstate_t): Don't typedef if already #defined in
2760          config.h.
2761
27622001-03-06  Bruno Haible  <haible@clisp.cons.org>
2763
2764        * Version 1.6 released.
2765        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
2766          Bump version number.
2767        * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:3:0.
2768
27692001-03-05  Bruno Haible  <haible@clisp.cons.org>
2770
2771        Provide all encodings used by OSF/1 5.1 locales.
2772        * lib/dec_kanji.h: New file.
2773        * lib/dec_hanyu.h: New file.
2774        * lib/converters.h: Include them if USE_OSF1 is defined.
2775        * lib/encodings_osf1.def: New file.
2776        * lib/genflags.c (main): Include it. Define USE_OSF1.
2777        * lib/genaliases2.c (main): Include it conditionally.
2778        * lib/iconv.c: Define USE_OSF1 on OSF/1.
2779          Include encodings_osf1.def and aliases_osf1.h.
2780        * lib/Makefile.in (iconv.lo): Depend on encodings_osf1.def and
2781          aliases_osf1.h.
2782        * Makefile.devel (lib/aliases_osf1.h): New target.
2783          (all): Depend on lib/aliases_osf1.h.
2784          (lib/flags.h): Depend on lib/encodings_osf1.def.
2785
27862001-03-01  Bruno Haible  <haible@clisp.cons.org>
2787
2788        * tools/Makefile (cp775.h): New target.
2789          (ALL): Add it.
2790        * lib/cp775.h: New file.
2791        * lib/converters.h: Include it.
2792        * lib/encodings_dos.def (CP775): New encoding.
2793
27942001-02-25  Bruno Haible  <haible@clisp.cons.org>
2795
2796        * lib/iconv.c (iconv_open): locale_charset() doesn't return NULL any
2797          more.
2798
27992001-02-24  Bruno Haible  <haible@clisp.cons.org>
2800
2801        * src/iconv.c (convert): Use ICONV_CONST.
2802        * tests/table-from.c: Include config.h.
2803          (try): Use ICONV_CONST.
2804        * tests/table-to.c: Include config.h.
2805          (main): Use ICONV_CONST.
2806        * tests/Makefile.in (INCLUDES): Add -I../lib.
2807        * tests/Makefile.os2 (INCLUDES): Likewise.
2808        * tests/Makefile.msvc (INCLUDES): Add -I..\lib.
2809
28102001-02-24  Bruno Haible  <haible@clisp.cons.org>
2811
2812        Provide all encodings used by DOS locales.
2813        * tools/Makefile (cp437.h, cp852.h, cp855.h, cp857.h, cp861.h,
2814           cp864.h, cp865.h, cp869.h): New targets.
2815          (ALL): Add them.
2816        * lib/cp437.h: New file.
2817        * lib/cp852.h: New file.
2818        * lib/cp855.h: New file.
2819        * lib/cp857.h: New file.
2820        * lib/cp861.h: New file.
2821        * lib/cp864.h: New file.
2822        * lib/cp865.h: New file.
2823        * lib/cp869.h: New file.
2824        * lib/converters.h: Include them if USE_DOS is defined.
2825        * lib/encodings_dos.def: New file.
2826        * lib/genflags.c (main): Include it. Define USE_DOS.
2827        * lib/genaliases2.c (main): Include it conditionally.
2828        * lib/iconv.c: Define USE_DOS on DJGPP.
2829          Include encodings_dos.def and aliases_dos.h.
2830        * lib/Makefile.in (iconv.lo): Depend on encodings_dos.def and
2831          aliases_dos.h.
2832        * Makefile.devel (lib/aliases_dos.h): New target.
2833          (all): Depend on lib/aliases_dos.h.
2834          (lib/flags.h): Depend on lib/encodings_dos.def.
2835
28362001-02-23  Bruno Haible  <haible@clisp.cons.org>
2837
2838        * src/iconv.c [DJGPP]: Include <io.h> and <unistd.h>.
2839          (SET_BINARY) [O_BINARY]: New macro.
2840          (usage): Mention --binary if available.
2841          (convert): Use SET_BINARY instead of setmode.
2842          (main): Likewise.
2843          Reported by Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>.
2844
28452001-02-25  Bruno Haible  <haible@clisp.cons.org>
2846
2847        * autoconf/ltconfig:
2848          sed -e 's/reload object files/produce relocatable object files/'.
2849
28502001-02-20  Bruno Haible  <haible@clisp.cons.org>
2851
2852        * src/iconv.c (usage, main): Make -f and -t options optional.
2853        * man/iconv.1: Mark them as optional.
2854
28552001-02-20  Bruno Haible  <haible@clisp.cons.org>
2856
2857        * tools/Makefile (GB18030ext.TXT, GB18030uni.TXT): Generate from
2858          glibc-2.2.2 table.
2859        * lib/gb18030uni.h, lib/gb18030ext.h: Add mapping 0xA989 -> U+303E,
2860          0xFE5E -> U+2E97. Shift the entire four-byte range.
2861        * tests/GB18030.TXT: Regenerated.
2862
28632001-02-20  Bruno Haible  <haible@clisp.cons.org>
2864
2865        Better support for DOS/Windows platforms.
2866        * autoconf/ltconfig: Upgrade to libtool-1.3.5.
2867        * autoconf/ltmain.sh: Likewise.
2868        * autoconf/aclocal.m4: Likewise.
2869        * autoconf/install-sh: New file.
2870        * configure.in: Call AC_OBJEXT and AC_EXEEXT. Call AC_CONFIG_AUX_DIR.
2871
28722001-02-20  Bruno Haible  <haible@clisp.cons.org>
2873
2874        * Makefile.in (libdir, includedir, mandir): Use the autoconf
2875          determined value, in order to respect the configure arguments.
2876        * lib/Makefile.in (libdir): Likewise.
2877        * src/Makefile.in (bindir): Likewise.
2878        * man/Makefile.in (mandir): Likewise.
2879
28802001-02-04  Bruno Haible  <haible@clisp.cons.org>
2881
2882        * lib/translit.def: Add all the neutral transliterations from glibc.
2883        * lib/gentranslit.c (main): Allow UTF-8 replacements which are in
2884          UCS-2 but not in ISO-8859-1. Generate a table of 'unsigned short'.
2885          Avoid accessing data[-1].
2886        * lib/loop_unicode.h (unicode_loop_convert): Change type of pointer
2887          into translit_data.
2888
28892001-01-05  Bruno Haible  <haible@clisp.cons.org>
2890
2891        Implement and document CP862.
2892        * tools/Makefile (ALL): Add cp862.h.
2893          (cp862.h): New target.
2894        * lib/cp862.h: New file.
2895        * lib/converters.h: Include it.
2896        * lib/encodings.def (CP862): New encoding.
2897        * README, man/iconv_open.3: Add CP862.
2898        * tests/Makefile.in (check): Check CP862.
2899        * tests/Makefile.msvc (check): Likewise.
2900        * tests/Makefile.os2 (check): Likewise.
2901        * tests/CP862.TXT: New file.
2902
29032000-12-18  Bruno Haible  <haible@clisp.cons.org>
2904
2905        * autoconf/mbstate_t.m4: New file, from textutils-2.0.10.
2906        * Makefile.devel (OTHERMACROS): Add it.
2907        * configure.in: Call AC_MBSTATE_T.
2908        * lib/config.h.in (mbstate_t): New definition.
2909        * lib/loop_wchar.h (mbrtowc): For BeOS, declare and define fallback.
2910
29112000-12-12  Bruno Haible  <haible@clisp.cons.org>
2912
2913        * Makefile.in: Use $(MAKE) instead of $(MAKE) -r. Needed with Solaris
2914          "make", which doesn't set MAKE as expected by @SET_MAKE@ if -r is
2915          given. Reported by Toshimitsu Fujiwara.
2916
29172000-12-08  Bruno Haible  <haible@clisp.cons.org>
2918
2919        * Makefile.in (exec_prefix): Use configure's --exec-prefix argument.
2920        * lib/Makefile.in (exec_prefix): Likewise.
2921        * src/Makefile.in (exec_prefix): Likewise.
2922        * man/Makefile.in (exec_prefix): Likewise.
2923
29242000-12-02  Bruno Haible  <haible@clisp.cons.org>
2925
2926        * Version 1.5 released.
2927        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
2928          Bump version number.
2929        * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:2:0.
2930
29312000-12-02  Bruno Haible  <haible@clisp.cons.org>
2932
2933        * Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
2934          Remove files installed in lib by libcharset.
2935        * Makefile.msvc (mostlyclean): Likewise.
2936
2937        * Makefile.in (check): Depend on target 'all'.
2938        * Makefile.os2 (check): Likewise.
2939        * Makefile.msvc (check): Depend on target 'force' as well.
2940
2941        * src/iconv.c (usage): Take an exitcode argument.
2942          (print_version): New function.
2943          (main): Recognize --help and --version command line options.
2944
29452000-12-02  Bruno Haible  <haible@clisp.cons.org>
2946
2947        * Makefile.msvc: Replace STATIC with its opposite flag, DLL.
2948        * lib/Makefile.msvc: Likewise.
2949        * src/Makefile.msvc: Likewise.
2950        * tests/Makefile.msvc: Likewise.
2951
29522000-12-01  Bruno Haible  <haible@clisp.cons.org>
2953
2954        * src/iconv.c: Include <fcntl.h>. Define fallbacks for setmode, fileno.
2955          (force_binary): New variable.
2956          (convert): If requested, set the input O_BINARY.
2957          (main): Accept --binary option. If requested, set the output O_BINARY.
2958        * tests/check-stateful.bat: Pass --binary to iconv.
2959        * tests/check-stateful.cmd: Likewise.
2960        * tests/check-translit.bat: Likewise.
2961        * tests/check-translit.cmd: Likewise.
2962
29632000-12-01  Bruno Haible  <haible@clisp.cons.org>
2964
2965        * include/iconv.h.in (_libiconv_version): New declaration.
2966        * lib/iconv.c (_libiconv_version): New variable.
2967
29682000-11-30  Bruno Haible  <haible@clisp.cons.org>
2969
2970        * Makefile.msvc (all): File now named lib/libcharset.h.
2971          (clean, distclean, maintainer-clean): Likewise.
2972
29732000-11-23  Bruno Haible  <haible@clisp.cons.org>
2974
2975        * lib/*: Move here all files from src/*.
2976        * src/*: Move all files to lib.
2977        * lib/Makefile.in (distclean): No need to remove config.status,
2978          config.log, config.cache.
2979        * configure.in: Require lib/iconv.c, not src/iconv.c. Create
2980          lib/config.h, not src/config.h. Also create lib/Makefile.
2981        * Makefile.in (all): Install libcharset into lib, not src. Recurse
2982          into lib and src.
2983          (install-lib): Recurse into lib, not src.
2984          (install): Recurse into libcharset, lib and src.
2985          (installdirs, uninstall): Likewise.
2986          (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
2987        * Makefile.msvc (all): Recurse into lib and src.
2988          (install): Recurse into libcharset, lib and src.
2989          (installdirs, uninstall): Likewise.
2990          (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
2991        * Makefile.os2 (all): Recurse into lib and src.
2992          (install-lib): Recurse into lib, not src.
2993          (install, uninstall): Recurse into lib and src.
2994          (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
2995        * Makefile.devel (lib/config.h.msvc): Renamed from src/config.h.msvc.
2996          (lib/aliases.h): Renamed from src/aliases.h.
2997          (lib/aliases.gperf): Renamed from src/aliases.gperf.
2998          (lib/aliases_aix.h): Renamed from src/aliases_aix.h.
2999          (lib/flags.h): Renamed from src/flags.h.
3000          (lib/translit.h): Renamed from src/translit.h.
3001        * src/iconv.c: Moved here from tests/iconv.c.
3002        * src/Makefile.in: New file.
3003        * src/Makefile.msvc: New file.
3004        * src/Makefile.os2: New file.
3005        * tests/Makefile.in (iconv): Remove target.
3006          (../lib/libiconv.la): Renamed from ../src/libiconv.la.
3007          (clean): No need to remove iconv.
3008        * tests/Makefile.msvc (iconv.exe): Remove target.
3009        * tests/Makefile.os2 (iconv.exe): Likewise.
3010        * tests/check-stateful: iconv is in ../src.
3011        * tests/check-stateful.bat: Likewise.
3012        * tests/check-stateful.cmd: Likewise.
3013        * tests/check-translit: iconv is in ../src.
3014        * tests/check-translit.bat: Likewise.
3015        * tests/check-translit.cmd: Likewise.
3016        * man/iconv.1: New file.
3017        * man/Makefile.in (install, installdirs, uninstall): Also install *.1
3018          man pages.
3019        * man/Makefile.os2 (MAN3): Renamed from MAN.
3020          (MAN1): New variable.
3021          (install, uninstall): Also install *.1 man pages.
3022
30232000-11-21  Bruno Haible  <haible@clisp.cons.org>
3024
3025        * Makefile.msvc (all, check, mostlyclean, clean, distclean,
3026           maintainer-clean): Recurse into libcharset.
3027          (clean, distclean, maintainer-clean): Remove src\libcharset.h.
3028        * src/Makefile.msvc (LIBCHARSET_OBJECTS): New variable.
3029          (iconv.lib): Link with $(LIBCHARSET_OBJECTS).
3030
30312000-11-18  Bruno Haible  <haible@clisp.cons.org>
3032
3033        * src/cp950.h (cp950_mbtowc, cp950_wctomb): Change implementation
3034          so that it agrees with Microsoft's definition of CP950.
3035        * tests/CP950.TXT: Likewise.
3036        * tests/CP950.IRREVERSIBLE.TXT: Add 0xA244, 0xA2CC, 0xA2CE.
3037
30382000-11-18  Bruno Haible  <haible@clisp.cons.org>
3039
3040        Add support for locale dependent "char" and "wchar_t" encodings.
3041        * libcharset: New subdirectory.
3042        * src/loop_unicode.h: New file, extracted from src/iconv.c.
3043        * src/loop_wchar.h: New file.
3044        * src/loops.h: New file. Include loop_unicode.h and loop_wchar.h.
3045        * src/encodings_local.def: New file.
3046        * src/genaliases.c: Also create aliases for encodings_local.def.
3047        * src/converters.h (conv_struct): Add lfuncs field.
3048        * src/genflags.c: Add dummy definitions of struct loop_funcs.
3049        * src/iconv.c: Include libcharset.h.
3050          (loop_funcs): New structure.
3051          Treat encodings_local.def like encodings.def.
3052          Include loops.h.
3053          (iconv_open): Move the bulk of the code to loop_unicode.h.
3054          (iconv): Likewise.
3055          (iconvctl): Extend determination of TRIVIALP to wchar_t conversion
3056          descriptors.
3057        * src/Makefile.in (PLUG_SOURCES): Remove variable.
3058          (LIBCHARSET_OBJECTS): New variable.
3059          (libiconv.la): Link in the LIBCHARSET_OBJECTS.
3060          (libiconv_plug_linux.so, libiconv_plug_solaris.so,
3061           libiconv_plug_osf.so): Link in the LIBCHARSET_OBJECTS, using
3062          LIBTOOL_LINK.
3063          (iconv.lo): Depend on encodings_local.def.
3064        * src/Makefile.msvc (iconv.obj): Depend on encodings_local.def.
3065        * src/Makefile.os2 (iconv.obj): Likewise.
3066        * configure.in: Add tests for locale.h, mbrtowc, wcrtomb, setlocale.
3067          Recurse into libcharset.
3068        * src/config.h.in (HAVE_LOCALE_H, HAVE_MBRTOWC, HAVE_WCRTOMB,
3069           HAVE_SETLOCALE): New macros.
3070        * tests/iconv.c: Include config.h and locale.h.
3071          (main): Call setlocale.
3072        * tests/Makefile.in (iconv): Search for config.h in ../src.
3073        * tests/Makefile.os2 (iconv.exe): Likewise.
3074        * tests/Makefile.msvc (iconv.exe): Likewise.
3075        * README, man/iconv_open.3: Document "char" and "wchar_t" encodings.
3076        * Makefile.in: After "cd", use "&&" not ";".
3077          (all, check, mostlyclean, clean, distclean, maintainer-clean):
3078          Recurse into libcharset.
3079        * Makefile.devel (all): Recurse into libcharset.
3080          (src/aliases.gperf): Depend on src/encodings_local.def.
3081
30822000-11-18  Bruno Haible  <haible@clisp.cons.org>
3083
3084        * src/converters.h (ucs4_t): New type.
3085          (wchar_t): Remove locally defined override.
3086          (mbtowc_funcs, wctomb_funcs): Use ucs4_t instead of wchar_t.
3087        * src/iconv.c (iconv): Likewise.
3088        * src/genflags.c (emit_encoding): Use ucs4_t instead of wchar_t.
3089        * tools/8bit_tab_to_h.c: Use "ucs4_t" instead of "wchar_t".
3090        * tools/cjk_tab_to_h.c: Likewise.
3091        * src/armscii_8.h: Use ucs4_t instead of wchar_t.
3092        * src/ascii.h: Likewise.
3093        * src/big5.h: Likewise.
3094        * src/big5hkscs.h: Likewise.
3095        * src/ces_big5.h: Likewise.
3096        * src/ces_gbk.h: Likewise.
3097        * src/cns11643.h: Likewise.
3098        * src/cns11643_1.h: Likewise.
3099        * src/cns11643_2.h: Likewise.
3100        * src/cns11643_3.h: Likewise.
3101        * src/cns11643_inv.h: Likewise.
3102        * src/cp1046.h: Likewise.
3103        * src/cp1124.h: Likewise.
3104        * src/cp1129.h: Likewise.
3105        * src/cp1133.h: Likewise.
3106        * src/cp1250.h: Likewise.
3107        * src/cp1251.h: Likewise.
3108        * src/cp1252.h: Likewise.
3109        * src/cp1253.h: Likewise.
3110        * src/cp1254.h: Likewise.
3111        * src/cp1255.h: Likewise.
3112        * src/cp1256.h: Likewise.
3113        * src/cp1257.h: Likewise.
3114        * src/cp1258.h: Likewise.
3115        * src/cp850.h: Likewise.
3116        * src/cp856.h: Likewise.
3117        * src/cp866.h: Likewise.
3118        * src/cp874.h: Likewise.
3119        * src/cp922.h: Likewise.
3120        * src/cp932.h: Likewise.
3121        * src/cp932ext.h: Likewise.
3122        * src/cp936ext.h: Likewise.
3123        * src/cp949.h: Likewise.
3124        * src/cp950.h: Likewise.
3125        * src/cp950ext.h: Likewise.
3126        * src/euc_cn.h: Likewise.
3127        * src/euc_jp.h: Likewise.
3128        * src/euc_kr.h: Likewise.
3129        * src/euc_tw.h: Likewise.
3130        * src/gb12345.h: Likewise.
3131        * src/gb12345ext.h: Likewise.
3132        * src/gb18030.h: Likewise.
3133        * src/gb18030ext.h: Likewise.
3134        * src/gb18030uni.h: Likewise.
3135        * src/gb2312.h: Likewise.
3136        * src/gbk.h: Likewise.
3137        * src/gbkext1.h: Likewise.
3138        * src/gbkext2.h: Likewise.
3139        * src/gbkext_inv.h: Likewise.
3140        * src/georgian_academy.h: Likewise.
3141        * src/georgian_ps.h: Likewise.
3142        * src/hkscs.h: Likewise.
3143        * src/hp_roman8.h: Likewise.
3144        * src/hz.h: Likewise.
3145        * src/iso2022_cn.h: Likewise.
3146        * src/iso2022_cnext.h: Likewise.
3147        * src/iso2022_jp.h: Likewise.
3148        * src/iso2022_jp1.h: Likewise.
3149        * src/iso2022_jp2.h: Likewise.
3150        * src/iso2022_kr.h: Likewise.
3151        * src/iso646_cn.h: Likewise.
3152        * src/iso646_jp.h: Likewise.
3153        * src/iso8859_1.h: Likewise.
3154        * src/iso8859_10.h: Likewise.
3155        * src/iso8859_13.h: Likewise.
3156        * src/iso8859_14.h: Likewise.
3157        * src/iso8859_15.h: Likewise.
3158        * src/iso8859_16.h: Likewise.
3159        * src/iso8859_2.h: Likewise.
3160        * src/iso8859_3.h: Likewise.
3161        * src/iso8859_4.h: Likewise.
3162        * src/iso8859_5.h: Likewise.
3163        * src/iso8859_6.h: Likewise.
3164        * src/iso8859_7.h: Likewise.
3165        * src/iso8859_8.h: Likewise.
3166        * src/iso8859_9.h: Likewise.
3167        * src/isoir165.h: Likewise.
3168        * src/isoir165ext.h: Likewise.
3169        * src/java.h: Likewise.
3170        * src/jisx0201.h: Likewise.
3171        * src/jisx0208.h: Likewise.
3172        * src/jisx0212.h: Likewise.
3173        * src/johab.h: Likewise.
3174        * src/johab_hangul.h: Likewise.
3175        * src/koi8_r.h: Likewise.
3176        * src/koi8_ru.h: Likewise.
3177        * src/koi8_u.h: Likewise.
3178        * src/ksc5601.h: Likewise.
3179        * src/mac_arabic.h: Likewise.
3180        * src/mac_centraleurope.h: Likewise.
3181        * src/mac_croatian.h: Likewise.
3182        * src/mac_cyrillic.h: Likewise.
3183        * src/mac_greek.h: Likewise.
3184        * src/mac_hebrew.h: Likewise.
3185        * src/mac_iceland.h: Likewise.
3186        * src/mac_roman.h: Likewise.
3187        * src/mac_romania.h: Likewise.
3188        * src/mac_thai.h: Likewise.
3189        * src/mac_turkish.h: Likewise.
3190        * src/mac_ukraine.h: Likewise.
3191        * src/mulelao.h: Likewise.
3192        * src/nextstep.h: Likewise.
3193        * src/sjis.h: Likewise.
3194        * src/tcvn.h: Likewise.
3195        * src/tis620.h: Likewise.
3196        * src/ucs2.h: Likewise.
3197        * src/ucs2be.h: Likewise.
3198        * src/ucs2internal.h: Likewise.
3199        * src/ucs2le.h: Likewise.
3200        * src/ucs2swapped.h: Likewise.
3201        * src/ucs4.h: Likewise.
3202        * src/ucs4be.h: Likewise.
3203        * src/ucs4internal.h: Likewise.
3204        * src/ucs4le.h: Likewise.
3205        * src/ucs4swapped.h: Likewise.
3206        * src/uhc_1.h: Likewise.
3207        * src/uhc_2.h: Likewise.
3208        * src/utf16.h: Likewise.
3209        * src/utf16be.h: Likewise.
3210        * src/utf16le.h: Likewise.
3211        * src/utf7.h: Likewise.
3212        * src/utf8.h: Likewise.
3213        * src/viscii.h: Likewise.
3214
32152000-11-18  Bruno Haible  <haible@clisp.cons.org>
3216
3217        Make transliteration optional.
3218        * src/iconv.c (iconv_open): Strip off //TRANSLIT suffix from names.
3219          Set transliteration on if and only if tocode ends in //TRANSLIT.
3220        * README, man/iconv_open.3: Document how to enable transliteration.
3221        * tests/check-translit: Add //TRANSLIT to iconv's 't' argument.
3222        * tests/check-translit.bat: Likewise.
3223        * tests/check-translit.cmd: Likewise.
3224
32252000-11-18  Bruno Haible  <haible@clisp.cons.org>
3226
3227        * man/iconv.3: Fix typo.
3228
32292000-10-31  Bruno Haible  <haible@clisp.cons.org>
3230
3231        * README, man/iconv_open.3: Document JOHAB again.
3232
32332000-11-15  Bruno Haible  <haible@clisp.cons.org>
3234
3235        * Makefile.msvc: Add support for MFLAGS and DEBUG parameters.
3236          (STATIC): Change default from 0 to 1.
3237        * src/Makefile.msvc: Likewise.
3238        * tests/Makefile.msvc: Likewise.
3239        * tests/check-stateless.bat: Call 'sort' with no arguments.
3240
32412000-11-12  Bruno Haible  <haible@clisp.cons.org>
3242
3243        * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
3244          version from GNU CVS.
3245
32462000-10-24  Bruno Haible  <haible@clisp.cons.org>
3247
3248        * Version 1.4 released.
3249        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
3250          Bump version number.
3251        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:1:0.
3252
32532000-10-23  Bruno Haible  <haible@clisp.cons.org>
3254
3255        Implement and document GB18030 and BIG5HKSCS.
3256        * tools/cjk_tab_to_h.c (row_byte_hkscs, byte_row_hkscs, do_hkscs): New
3257          functions.
3258          (do_gb18030uni): New function.
3259          (main): Accept gb18030ext, gb18030uni, hkscs.
3260        * tools/Makefile (ALL): Add gb18030ext.h, gb18030uni.h, hkscs.h.
3261          (gb18030ext.h, GB18030ext.TXT, gb18030uni.h, GB18030uni.TXT,
3262           hkscs.h): New targets.
3263        * src/gb18030ext.h, src/gb18030uni.h, src/gb18030.h: New files.
3264        * src/hkscs.h, src/big5hkscs.h: New files.
3265        * src/converters.h: Include gb18030.h and big5hkscs.h.
3266        * src/encodings.def (GB18030, BIG5HKSCS): New encodings.
3267        * README, man/iconv_open.3: Add GB18030, BIG5HKSCS.
3268        * tests/Makefile.in (check): Check GB18030, BIG5HKSCS.
3269        * tests/Makefile.msvc (check): Likewise.
3270        * tests/Makefile.os2 (check): Likewise.
3271        * tests/GB18030.TXT: New file.
3272        * tests/BIG5HKSCS.TXT, tests/BIG5HKSCS.IRREVERSIBLE.TXT: New files.
3273
32742000-10-23  Bruno Haible  <haible@clisp.cons.org>
3275
3276        * tests/table-from.c (try, main): Use UCS-4-INTERNAL instead of
3277          UCS-2-INTERNAL, to avoid problems with UCS-2 surrogate handling.
3278        * tests/table-to.c (main): Likewise.
3279
32802000-10-22  Bruno Haible  <haible@clisp.cons.org>
3281
3282        * src/gentranslit.c (main): Read the input in UTF-8 encoding.
3283
32842000-10-09  Bruno Haible  <haible@clisp.cons.org>
3285
3286        CPU recognition on OpenBSD.
3287        * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __m68k__,
3288          __mc68020__, __MIPSEB__, __MIPSEL__, __m88k__ as CPU indicators.
3289
32902000-10-03  Bruno Haible  <haible@clisp.cons.org>
3291
3292        * src/gentranslit.c (main): Don't output non-ASCII ISO-8859-1
3293          character literals, use the numeric value instead.
3294          Reported by Shin-Hsien Yeh <shyeh@alcatel.com.tw>.
3295
32962000-09-29  Bruno Haible  <haible@clisp.cons.org>
3297
3298        * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Fix bug in 2000-05-23
3299          change.
3300
33012000-09-25  Bruno Haible  <haible@clisp.cons.org>
3302
3303        * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __i386__
3304          as equivalent to __i386. For OpenBSD.
3305
33062000-09-21  Bruno Haible  <haible@clisp.cons.org>
3307
3308        * src/utf16.h (utf16_wctomb): Reject single surrogates.
3309        * src/utf16be.h (utf16be_wctomb): Likewise.
3310        * src/utf16le.h (utf16le_wctomb): Likewise.
3311        * src/ucs2.h (ucs2_mbtowc, ucs2_wctomb): Likewise.
3312        * src/ucs2be.h (ucs2be_mbtowc, ucs2be_wctomb): Likewise.
3313        * src/ucs2le.h (ucs2le_mbtowc, ucs2le_wctomb): Likewise.
3314        * src/ucs2internal.h (ucs2internal_mbtowc, ucs2internal_wctomb):
3315          Likewise.
3316        * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb):
3317          Likewise.
3318
33192000-09-15  Bruno Haible  <haible@clisp.cons.org>
3320
3321        * Makefile.in (install, installdirs, uninstall): Support DESTDIR.
3322        * src/Makefile.in (install, installdirs, uninstall): Likewise.
3323        * man/Makefile.in (install, installdirs, uninstall): Likewise.
3324
33252000-09-11  Bruno Haible  <haible@clisp.cons.org>
3326
3327        * src/utf7.h (utf7_mbtowc): Fix combining of UTF-16 surrogates.
3328
33292000-08-26  Bruno Haible  <haible@clisp.cons.org>
3330
3331        * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
3332          value, not parens.
3333
33342000-07-04  Akira Hatakeyama  <akira@sra.co.jp>
3335            Bruno Haible  <haible@clisp.cons.org>
3336
3337        * os2/iconv.def, README.os2, Makefile.os2, src/Makefile.os2,
3338          tests/Makefile.os2, man/Makefile.os2, tests/check-stateful.cmd,
3339          tests/check-stateless.cmd, tests/check-translit.cmd: New files.
3340
33412000-06-28  Bruno Haible  <haible@clisp.cons.org>
3342
3343        * src/ucs2internal.h (ucs2internal_mbtowc): Avoid gcc warning about
3344          cast.
3345        * src/ucs4internal.h (ucs4internal_mbtowc): Likewise.
3346        * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb): Verify
3347          sizeof(unsigned short).
3348        * src/ucs4swapped.h (ucs4swapped_mbtowc, ucs4swapped_mbtowc): Verify
3349          sizeof(unsigned int).
3350        Reported by François Pinard <pinard@iro.umontreal.ca>.
3351
33522000-05-29  Bruno Haible  <haible@clisp.cons.org>
3353
3354        * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
3355        Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
3356
33572000-05-23  Bruno Haible  <haible@clisp.cons.org>
3358
3359        * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
3360          host_vendor, host_os correctly if $host has more than two hyphens.
3361
33622000-04-15  Bruno Haible  <haible@clisp.cons.org>
3363
3364        * Version 1.3 released.
3365        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
3366          Bump version number.
3367        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:0:0.
3368
33692000-04-15  Bruno Haible  <haible@clisp.cons.org>
3370
3371        * THANKS: New file.
3372        * INSTALL.generic: New file.
3373
3374        Implement and document UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
3375        * src/ucs2be.h, src/ucs2le.h, src/ucs4be.h, src/ucs4le.h: New files.
3376        * src/converters.h: Include them.
3377        * src/ucs2swapped.h: Remove #defines for UCS-2-BE, UCS-2-LE.
3378        * src/ucs4swapped.h: Remove #defines for UCS-4-BE, UCS-4-LE.
3379        * src/encodings.def (UCS-2BE): Renamed from UCS-2-BE.
3380          (UCS-2LE): Renamed from UCS-2-LE.
3381          (UCS-4BE): Renamed from UCS-4-BE.
3382          (UCS-4LE): Renamed from UCS-4-LE.
3383        * Makefile.devel (src/aliases.h): Pass option "-i 1" to gperf.
3384        * README, man/iconv_open.3: Add UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
3385        * tests/Makefile.in (check): Check UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
3386        * tests/Makefile.msvc (check): Likewise.
3387        * tests/UCS-*snippet*: New files.
3388
3389        Allow building as a shared library on Windows.
3390        Allow running the tests on Windows.
3391        * Makefile.devel (include/iconv.h.msvc): Remove rule.
3392          (include/iconv.h.msvc-static, include/iconv.h.msvc-shared): New
3393          rules.
3394          (all): Update.
3395        * windows/dllexport.h: New file.
3396        * include/iconv.h.msvc: Remove file.
3397        * include/iconv.h.msvc-static, include/iconv.h.msvc-shared: New
3398          autogenerated files.
3399        * Makefile.msvc (STATIC, DEBUG): Default to 0.
3400          (all): Choose either include\iconv.h.msvc-static or
3401          include\iconv.h.msvc-shared.
3402          (check): Depend on all.
3403          (all, check, mostlyclean, clean, distclean, maintainer-clean):
3404          Recurse into tests directory.
3405        * src/Makefile.msvc (STATIC, DEBUG): Default to 0.
3406          (WARN_CFLAGS, PICFLAGS, OPTIMFLAGS): New variables.
3407          (CFLAGS): Use them. Add -MD and -DBUILDING_LIBICONV.
3408          (RESOURCES): New variable.
3409          (iconv.lib): Change rule when building DLL.
3410          (clean, distclean): One filename per line.
3411        * tests/Makefile.msvc: New file.
3412        * tests/check-stateful.bat, tests/check-stateless.bat,
3413          tests/check-translit.bat: New files.
3414        * tests/uniq-u.c: New file, taken from GNU textutils.
3415        * README.win32: Update.
3416        Based on patches by Taro Muraoka <koron@tka.att.ne.jp>.
3417
34182000-04-14  Bruno Haible  <haible@clisp.cons.org>
3419
3420        Fix an OSF/1 problem.
3421        * configure.in: Define GCC variable for substitution.
3422        * src/Makefile.in (libiconv_plug_osf.so): Change rule if not using
3423          gcc.
3424
34252000-04-13  Bruno Haible  <haible@clisp.cons.org>
3426
3427        Fix a SunOS 4 problem.
3428        * include/iconv.h.in: If EILSEQ is not defined by the system, define
3429          it to ENOENT, not EINVAL.
3430
34312000-04-02  Bruno Haible  <haible@clisp.cons.org>
3432
3433        Allow building on filesystems lacking symlinks and hard links.
3434        * Makefile.devel (autoconf/aclocal.m4): Replace AC_PROG_LN_S with
3435          CL_PROG_LN_S.
3436        * configure.in: Add CL_PROG_LN, CL_PROG_LN_S.
3437        * src/Makefile.in (LN): Use autoconfigured value @LN@.
3438          (LN_S): Use autoconfigured value @LN_S@.
3439
34402000-03-15  Bruno Haible  <haible@clisp.cons.org>
3441
3442        * Version 1.2 released.
3443        * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
3444        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:1:1.
3445
34462000-03-14  Bruno Haible  <haible@clisp.cons.org>
3447
3448        Implement and document UTF-16BE and UTF16LE.
3449        * src/utf16be.h, src/utf16le.h: New files.
3450        * src/converters.h: Include them.
3451        * src/encodings.def (UTF-16BE, UTF16LE): New encodings.
3452        * README, man/iconv_open.3: Add UTF-16BE, UTF16LE.
3453        * tests/Makefile.in (check): Check UTF-16, UTF-16BE, UTF16LE.
3454        * tests/UTF-16*snippet*: New files.
3455
3456        * src/utf16.h (utf16_wctomb): Output a byte order mark.
3457
34582000-03-13  Bruno Haible  <haible@clisp.cons.org>
3459
3460        Provide all encodings used by AIX locales.
3461        * tools/Makefile (all): Add cp856.h, cp922.h, cp1046.h, cp1124.h,
3462          cp1129.h.
3463          (cp856.h, cp922.h, cp1046.h, cp1124.h, cp1129.h): New targets.
3464        * src/cp856.h, src/cp922.h, src/cp943.h, src/cp1046.h, src/cp1124.h,
3465          src/cp1129.h: New files.
3466        * src/converters.h: Include them if USE_AIX is defined.
3467        * src/encodings_aix.def: New file, with CP856, CP922, CP943, CP1046,
3468          CP1124, CP1129.
3469        * src/genflags.c: Define USE_AIX. Include encodings_aix.def.
3470        * src/genaliases2.c: New file.
3471        * src/iconv.c: Define USE_AIX on AIX.
3472          Include encodings_aix.def and aliases_aix.h.
3473          (aliases2_lookup): New function.
3474          (iconv_open): Call aliases2_lookup.
3475        * src/Makefile.in (iconv.lo): Depend on encodings_aix.def and
3476          aliases_aix.h.
3477        * Makefile.devel (all): Add src/aliases_aix.h.
3478          (src/aliases_aix.h): New rule.
3479          (src/flags.h): Depend on src/encodings_aix.def.
3480
34812000-02-24  Bruno Haible  <haible@clisp.cons.org>
3482
3483        * src/iconv.c (iconv): Don't write beyond the end of the output buffer.
3484          Reported by Edmund Grimley Evans <edmundo@rano.org>.
3485
34862000-02-22  Bruno Haible  <haible@clisp.cons.org>
3487
3488        * src/utf7.h (direct_tab, xdirect_tab): Treat tab like space.
3489
34902000-02-15  Bruno Haible  <haible@clisp.cons.org>
3491
3492        * src/iconv.c (iconv): Add cast in xxx_reset call.
3493
34942000-02-05  Bruno Haible  <haible@clisp.cons.org>
3495
3496        * src/tis620.h: Simplify.
3497
34982000-01-27  Bruno Haible  <haible@clisp.cons.org>
3499
3500        * Makefile.devel (CLISP_DIR): Change to "..".
3501
35022000-01-24  Bruno Haible  <haible@clisp.cons.org>
3503
3504        * Version 1.1 released.
3505        * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
3506        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:0:1.
3507
35082000-01-23  Bruno Haible  <haible@clisp.cons.org>
3509
3510        * src/utf7.h (utf7_wctomb): If base64 encoding is not active, encode
3511          '+' as "+-".
3512
35132000-01-22  Bruno Haible  <haible@clisp.cons.org>
3514
3515        * include/iconv.h.in (iconvctl): New declaration.
3516          (ICONV_TRIVIALP, ICONV_GET_TRANSLITERATE, ICONV_SET_TRANSLITERATE):
3517          New macros.
3518        * src/iconv.c (iconvctl): New function.
3519
3520        * tests/Makefile.in: Add a rule for ../src/libiconv.la. Define $(MAKE).
3521
3522        Solve a build problem.
3523        * include/iconv.h.in: Renamed from include/libiconv.h.in.
3524        * Makefile.devel: libiconv.h -> iconv.h.
3525        * Makefile.in: Likewise.
3526        * configure.in: Likewise. Remove check for <iconv.h>.
3527        * src/iconv.c: Include iconv.h instead of libiconv.h.
3528        * tests/iconv.c, tests/table-from.c, tests/table-to.c: Likewise.
3529
3530        * README, man/iconv_open.3: Don't document JOHAB any more.
3531
3532        * man/iconv.3: Clarify return value again.
3533
35342000-01-16  Bruno Haible  <haible@clisp.cons.org>
3535
3536        Add aliases.
3537        * src/encodings.def (ISO-8859-14): Add alias ISO-IR-199.
3538          (ISO-8859-15): Add alias ISO-IR-203.
3539          (EUC-CN): Add alias CN-GB, from RFC 1922.
3540          (BIG5): Add alias CN-BIG5, from RFC 1922.
3541        * Makefile.devel (src/aliases.h): Add 8th character to key set.
3542
3543        Drop X11 aliases.
3544        * src/encodings.def (JIS_X0201): Drop JISX0201.1976-0 alias.
3545          (JIS_X0208): Drop JIS_X0208.1983-0, JIS_X0208.1983-1 aliases.
3546          (KSC_5601): Drop KSC5601.1987-0 alias.
3547
3548        Improve GB/T 12345 (not used yet).
3549        * tools/Makefile (gb12345ext.h): Use GB12345-more.TXT.
3550        * src/gb12345ext.h: Regenerated.
3551
3552        Improve and document CP949.
3553        * tools/Makefile (all): Add uhc_1.h and uhc_2.h.
3554          (uhc_1.h, uhc_2.h): New rules.
3555        * tools/cjk_tab_to_h.c (output_charset2uni_noholes_monotonic): New
3556          function.
3557          (output_uni2charset_sparse): Take an additional boolean argument.
3558          All callers changed.
3559          (*_uhc_1, *_uhc_2): New functions.
3560          (main): Treat uhc_1 and uhc_2.
3561        * src/uhc_1.h, src/uhc_2.h: New files.
3562        * src/cp949.h: New file, include them.
3563        * src/converters.h: Include it.
3564        * src/encodings.def (KSC_5601): Remove alias CP949.
3565          (CP949): New encoding.
3566        * README, man/iconv_open.3: Add CP949.
3567        * tests/Makefile.in (check): Check CP949.
3568        * tests/CP949.TXT: New file.
3569
3570        Document CP932.
3571        * README, man/iconv_open.3: Add CP932.
3572        * tests/Makefile.in (check): Check CP932.
3573        * tests/CP932.TXT, tests/CP932.IRREVERSIBLE.TXT: New files.
3574
3575        * Makefile.devel (src/flags.h): Depend on src/converters.h.
3576
3577        * tests/Makefile.in (check): Check JIS_X0201.
3578        * tests/JIS_X0201.TXT: New file.
3579
3580        * src/euc_kr.h (euc_kr_wctomb): Shrink size of buf.
3581        * src/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
3582
3583        * src/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Use isoir165_mbtowc.
3584          (iso2022_cn_ext_wctomb): Use isoir165_wctomb.
3585
3586        Add ISO-IR-165 (undocumented).
3587        * tools/Makefile (all): Add isoir165ext.h.
3588          (isoir165ext.h): New rule.
3589        * tools/cjk_tab_to_h.c (main): Treat isoir165ext like gb2312.
3590        * src/isoir165.h, src/isoir165ext.h: New files.
3591        * src/converters.h: Include it.
3592        * src/encodings.def: Add ISO-IR-165.
3593        * tests/Makefile.in (check): Check ISO-IR-165.
3594        * tests/ISO-IR-165.TXT, tests/ISO-IR-165.IRREVERSIBLE.TXT: New files.
3595
3596        Add ISO646-CN (undocumented).
3597        * src/iso646_cn.h: New file.
3598        * src/converters.h: Include it.
3599        * src/encodings.def: Add ISO646-CN.
3600        * tests/Makefile.in (check): Check ISO646-CN.
3601        * tests/ISO646-CN.TXT: New file.
3602
3603        Add ISO646-JP (undocumented).
3604        * src/iso646_jp.h: New file.
3605        * src/converters.h: Include it.
3606        * src/encodings.def: Add ISO646-JP.
3607        * tests/Makefile.in (check): Check ISO646-JP.
3608        * tests/ISO646-JP.TXT: New file.
3609
36102000-01-05  Bruno Haible  <haible@clisp.cons.org>
3611
3612        Add ISO-8859-16.
3613        * tools/Makefile (all): Add iso8859_16.h.
3614          (iso8859_16.h): New rule.
3615        * src/iso8859_16.h: New file.
3616        * src/converters.h: Include it.
3617        * src/encodings.def: Add ISO-8859-16.
3618        * README, man/iconv_open.3: Add ISO-8859-16.
3619        * tests/Makefile.in (check): Check ISO-8859-16.
3620        * tests/ISO-8859-16.TXT: New file.
3621
3622        * man/iconv.3: Clarify what happens *inbuf in case 3.
3623
3624        * src/iso8859_8.h: Update using newest table from ftp.unicode.org.
3625        * tests/ISO-8859-8.TXT: Likewise.
3626
36272000-01-04  Bruno Haible  <haible@clisp.cons.org>
3628
3629        * Version 1.0 released.
3630        * include/libiconv.h.in (_LIBICONV_VERSION): Bump version number.
3631        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 0:1:0.
3632          (libiconv.la): Use LIBICONV_VERSION_INFO.
3633
36342000-01-03  Bruno Haible  <haible@clisp.cons.org>
3635
3636        * tests/Makefile.in: New file.
3637          tests/check-stateless, tests/table-from.c, tests/table-to.c,
3638          tests/*.TXT, tests/genutf8.c: New files, checks for stateless
3639          encodings.
3640          tests/check-stateful, tests/iconv.c, tests/*-snippet*: New files,
3641          checks for stateful encodings.
3642        * Makefile.in (all, check, mostlyclean, clean, distclean,
3643           maintainer-clean): Descend into tests directory.
3644        * configure.in: Add tests/Makefile to AC_OUTPUT duties.
3645
3646        * src/gentranslit.c: New file.
3647        * Makefile.devel (src/translit.h): New rule.
3648        * src/translit.def, src/translit.h: New files.
3649        * src/iconv.c: Include it.
3650          (iconv): Transliterate using translit.h table.
3651
3652        * src/genflags.c: New file.
3653        * Makefile.devel (src/flags.h): New rule.
3654        * src/flags.h: New file.
3655        * src/iconv.c: Include it.
3656          (encoding): Add field 'oflags'.
3657          (all_encodings): Initialize the field 'oflags'.
3658          (iconv_open): Copy field 'oflags'.
3659          (iconv): Transliterate quotation marks U+2018, U+2019, U+201A.
3660        * src/Makefile.in (iconv.lo): Update dependencies.
3661
3662        * src/converters.h: New file, extracted from src/iconv.c.
3663        * src/iconv.c: Include it.
3664        * src/Makefile.in (iconv.lo): Update dependencies.
3665
3666        * tools/cjk_variants.c: New file.
3667        * tools/Makefile (ALL): Add cjk_variants.h.
3668          (cjk_variants.h, cjk_variants): New rules.
3669        * src/cjk_variants.h: New file.
3670        * src/iconv.c: Include it.
3671          (iconv): Use cjk_variants for transliteration.
3672
3673        * man/iconv.3: Fix description of return value.
3674        * euc_kr.h (euc_kr_wctomb): Remove Hangul transliteration.
3675        * iso2022_kr.h (iso2022kr_wctomb): Likewise.
3676        * src/iconv.c (iconv): Do Hangul transliteration here and increment
3677          result once for every transliterated character.
3678        * src/johab_hangul.h (johab_hangul_decompose): Change result array
3679          from 'unsigned char*' to 'wchar_t*'.
3680
3681        * src/cp1258.h (cp1258_mbtowc): Return RET_ILSEQ instead of storing
3682          0xfffd.
3683
3684        * src/georgian_ps.h (georgian_ps_wctomb): Accept 0x00e6.
3685
3686        * src/euc_jp.h (euc_jp_wctomb): Don't treat U+005C and U+007E like
3687          Katakana.
3688
3689        * src/euc_tw.h (euc_tw_mbtowc): Fix typo.
3690
3691        * src/cp950.h (cp950_mbtowc, cp950_wctomb): Exclude the range
3692          0xC6A1..0xC7FE.
3693
3694        * tools/cjk_tab_to_h.c (read_table_ksc5601): Some Hangul range was
3695          not being excluded. Fix that.
3696        * src/ksc5601.h: Regenerated.
3697        * src/johab.h (johab_mbtowc): Don't accept 0xDA{A1..D3} - this is
3698          valid in KSC5601/KSX1001 but not in JOHAB.
3699
3700        * src/iconv.c (conv_struct): Add fields iindex, oindex.
3701          (iconv_open): Fill in iindex, oindex.
3702
3703        * src/encodings.def (UCS-2-BE): Add aliases "UNICODE-1-1" and
3704          "csUnicode11", from IANA charset list.
3705          (MacRoman): Add aliases "MAC" and "csMacintosh" for "MACINTOSH",
3706          from IANA charset list.
3707          (JIS_X0208): Add aliases "X0208", "ISO-IR-87", "csISO87JISX0208",
3708          from IANA charset list.
3709          (GB_2312-80): New encoding, from IANA charset list.
3710
3711        * README, man/iconv_open.3: Add MacIceland and MacUkraine.
3712
3713        * Makefile.devel: Add rules for src/aliases.h and src/aliases.gperf.
3714          (all): Depend on src/aliases.h.
3715        * src/Makefile.in: Remove rules for $(srcdir)/aliases.h and
3716          $(srcdir)/aliases.gperf.
3717          (clean): Clean up.
3718
3719        * src/Makefile.in (libiconv_plug_linux.so): Remove unneeded "-ldl".
3720
37211999-12-31  Bruno Haible  <haible@clisp.cons.org>
3722
3723        * Version 0.3 released.
3724
3725