12006-10-31  Bruno Haible  <bruno@clisp.org>
2
3	Update from GNU gettext.
4	2006-09-14  Bruno Haible  <bruno@clisp.org>
5		* lib/relocatable.c: Likewise.
6
72006-10-17  Paul Eggert  <eggert@cs.ucla.edu>
8
9	* localcharset.c: Do not check HAVE_SETLOCALE.
10
112006-09-14  Bruno Haible  <bruno@clisp.org>
12
13	* localcharset.c: Include <config.h> unconditionally.
14
152006-08-29  Bruno Haible  <bruno@clisp.org>
16
17	* localcharset.c: Include configmake.h in order to get LIBDIR defined.
18
192006-07-29  Bruno Haible  <bruno@clisp.org>
20
21	* localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
22
232006-07-25  Bruno Haible  <bruno@clisp.org>
24
25	* Makefile.msvc: Remove file.
26
272006-07-25  Bruno Haible  <bruno@clisp.org>
28
29	* Makefile.vms: Remove file.
30
312006-07-23  Bruno Haible  <bruno@clisp.org>
32
33	* Makefile.in (libcharset.la): Use the CFLAGS during linking.
34	Needed because the CFLAGS can e.g. trigger profiling.
35	Reported by Russell Aspinwall <russell.aspinwall@flomerics.co.uk>.
36
372006-07-14  Bruno Haible  <bruno@clisp.org>
38
39	* Makefile.in (clean): Remove also *.stackdump.
40
412006-06-17  Bruno Haible  <bruno@clisp.org>
42
43	* config.charset: Update for NetBSD 3.0.
44
452006-05-17  Bruno Haible  <bruno@clisp.org>
46
47	Cygwin portability.
48	* localcharset.c (WIN32_NATIVE): Renamed from WIN32.
49
502006-05-16  Bruno Haible  <bruno@clisp.org>
51
52	* localcharset.c [CYGWIN]: Include <windows.h>.
53	(get_charset_aliases): For Cygwin, return the same CPxxx aliases list
54	as under WIN32.
55	(locale_charset) [CYGWIN]: Try to retrieve the encoding from the
56	environment variables. Fall back to GetACP().
57
582006-04-05  Bruno Haible  <bruno@clisp.org>
59
60	* config.charset: Update Juan Manuel Guerrero's address.
61
622006-01-10  Bruno Haible  <bruno@clisp.org>
63
64	* localcharset.c: Assume ANSI C. Fixes a gcc warning.
65	Reported by Werner Lemberg <wl@gnu.org>.
66
672005-12-04  Bruno Haible  <bruno@clisp.org>
68
69	Cygwin portability.
70	* relocatable.c: Include <windows.h> also on Cygwin.
71	(DllMain): Add support for Cygwin.
72	(get_shared_library_fullname): Update.
73
742005-07-24  Bruno Haible  <bruno@clisp.org>
75
76	Tidy up exported symbols.
77	* Makefile.in (CFLAGS): Add @CFLAG_VISIBILITY@.
78	(DEFS): Also define BUILDING_LIBCHARSET and BUILDING_DLL.
79	* relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
80	Define to the gcc visibility attribute.
81
822005-07-02  Bruno Haible  <bruno@clisp.org>
83
84	* localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others.
85	Reported by <mus1876@gmx.info> via Alain Bench <messtic@oreka.com>.
86
872005-03-22  Bruno Haible  <bruno@clisp.org>
88
89	* Makefile.in (mkinstalldirs): Update.
90
912005-01-06  Bruno Haible  <bruno@clisp.org>
92
93	* Makefile.msvc (CFLAGS): Define also INSTALLPREFIX.
94	* Makefile.vms (DEFS): Likewise.
95	Reported by Troels Walsted Hansen <Troels.W.Hansen@fast.no>.
96
972004-09-01  Bruno Haible  <bruno@clisp.org>
98
99	* config.charset: Add support for Darwin 7.
100
1012004-04-28  Bruno Haible  <bruno@clisp.org>
102
103	* localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now
104	accepts Windows pathnames.
105
1062004-04-23  Bruno Haible  <bruno@clisp.org>
107
108	* localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR
109	environment variable to override LIBDIR.
110	Suggested by Matthias Clasen <mclasen@redhat.com>.
111
1122004-04-20  Jim Meyering  <jim@meyering.net>
113            Bruno Haible  <bruno@clisp.org>
114
115	* localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak
116	memory when realloc fails.
117
1182004-01-20  Bruno Haible  <bruno@clisp.org>
119
120	Upgrade from gettext-0.14.
121
122	2003-10-09  Bruno Haible  <bruno@clisp.org>
123	* relocatable.c: Include xalloc.h instead of xmalloc.h.
124
125	2003-08-24  Bruno Haible  <bruno@clisp.org>
126	* relocatable.h: Make this file includable in C++ mode: add extern "C".
127
128	2003-08-01  Bruno Haible  <bruno@clisp.org>
129	* relocatable.c (find_shared_library_fullname): Disable the code on
130	Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
131
132	2003-06-27  Bruno Haible  <bruno@clisp.org>
133	Avoid use of *_unlocked functions on Solaris 2.5.1.
134	* localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
135	Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
136
137	2003-06-22  Bruno Haible  <bruno@clisp.org>
138	* relocatable.c (compute_curr_prefix): Comment out this function in
139	the case when it is not used.
140	Reported by Pavel Roskin <proski@gnu.org>.
141
1422004-01-21  Bruno Haible  <bruno@clisp.org>
143
144	Upgrade from gettext-0.14.
145
146	2004-01-21  Bruno Haible  <bruno@clisp.org>
147	* config.charset: Add support for MacOS X (Darwin).
148
149	2003-12-02  Bruno Haible  <bruno@clisp.org>
150	* config.charset: Treat the new country name CS like the old country
151	name YU.
152
153	2003-08-20  Bruno Haible  <bruno@clisp.org>
154	* config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
155	Reported by Alain Guibert <derogaton+bgli@oreka.com>.
156
157	2003-08-14  Bruno Haible  <bruno@clisp.org>
158	* config.charset: Add support for Linux libc5. Based on data from
159	Alain Guibert <derogaton+bgli@oreka.com>.
160
1612003-06-27  Bruno Haible  <bruno@clisp.org>
162
163	Avoid use of *_unlocked functions on Solaris 2.5.1.
164	* localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
165	Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
166
1672003-08-20  Bruno Haible  <bruno@clisp.org>
168
169	* config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
170	Reported by Alain Guibert <derogaton+bgli@oreka.com>.
171
1722003-08-14  Bruno Haible  <bruno@clisp.org>
173
174	* config.charset: Add support for Linux libc5. Based on data from
175	Alain Guibert <derogaton+bgli@oreka.com>.
176
1772003-08-01  Bruno Haible  <bruno@clisp.org>
178
179	* relocatable.c (find_shared_library_fullname): Disable the code on
180	Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
181
1822003-06-22  Bruno Haible  <bruno@clisp.org>
183
184	Portability to mingw32.
185	* relocatable.c [WIN32]: Include <windows.h>.
186	Reported by Jeff Bonggren <jbon@cfl.rr.com>.
187
1882003-06-22  Bruno Haible  <bruno@clisp.org>
189
190	* relocatable.c (compute_curr_prefix): Comment out this function in
191	the case when it is not used.
192	Reported by Pavel Roskin <proski@gnu.org>.
193
1942003-06-07  Bruno Haible  <bruno@clisp.org>
195
196	Support for relocatable data files even on VMS.
197	* Makefile.vms (bindir): New variable.
198	(DEFS): Add flags for relocatability.
199	Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
200
2012003-06-07  Bruno Haible  <bruno@clisp.org>
202
203	Support for relocatable data files even on Woe32.
204	* Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir,
205	IIlibdir): New variables.
206	(PICFLAGS): Also define PIC. Define BUILDING_* flags here.
207	(CFLAGS): ... not here. Add flags for relocatability.
208
2092003-05-18  Bruno Haible  <bruno@clisp.org>
210
211	* Makefile.msvc (DEBUGFLAGS): New variable.
212	(charset.lib): Use it.
213
2142003-05-07  Bruno Haible  <bruno@clisp.org>
215
216	* Makefile.vms: New file.
217
2182003-04-12  Bruno Haible  <bruno@clisp.org>
219
220	* lib/localcharset.c (get_charset_aliases): Add special case for VMS.
221
2222003-04-05  Bruno Haible  <bruno@clisp.org>
223
224	Support for relocatable installation.
225	* relocatable.h: New file, from GNU gettext.
226	* relocatable.c: New file, from GNU gettext.
227	* localcharset.c: Update from GNU gettext.
228	2003-02-28  Bruno Haible  <bruno@clisp.org>
229		* localcharset.c: Include relocatable.h.
230		(get_charset_aliases): Relocate LIBDIR value.
231		* localcharset.c: Drop C linkage declaration.
232	* Makefile.in (DEFS): New variable.
233	(SOURCES): Add relocatable.c.
234	(OBJECTS): Add relocatable.lo.
235	(localcharset.lo): Use $(DEFS).
236	(relocatable.lo): New rule.
237	* Makefile.msvc (CFLAGS): Remove $(PICFLAGS).
238	(INCLUDES): Simplify.
239	(SOURCES): Remove variable.
240	(OBJECTS): Add relocatable.obj.
241	(localcharset.obj): Add $(PICFLAGS).
242	(relocatable.obj): New rule.
243
2442003-04-05  Bruno Haible  <bruno@clisp.org>
245
246	* Makefile.msvc (PREFIX): New variable.
247	(prefix): Use it.
248	(clean): Drop Unix specific removal.
249
2502003-03-17  Bruno Haible  <bruno@clisp.org>
251
252	Improved MSVC support.
253	* Makefile.msvc (prefix): Use less Unixy value.
254	(local_prefix): Remove variable.
255	(libdir): Use backslashes.
256	(bindir): New variable.
257	(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values.
258	(RESOURCES): Enable charset.res.
259	(charset.lib): Set the target library name explicitly.
260	(charset.res): New rule.
261	(install, installdirs, uninstall): New rules.
262
263	Rename libcharset.h to localcharset.h.
264	* localcharset.c: Include localcharset.h.
265	* localcharset.h: Remove file.
266	* Makefile.in (INCLUDES): Add -I../include.
267	* Makefile.msvc (INCLUDES): Add -I../include.
268
2692003-01-29  Bruno Haible  <bruno@clisp.org>
270
271	* config.charset: Add an alias for CP1251 on Solaris.
272	Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.
273
2742003-01-12  Bruno Haible  <bruno@clisp.org>
275
276	* localcharset.h: New file.
277	* localcharset.c: Include it.
278
2792003-01-01  Bruno Haible  <bruno@clisp.org>
280
281	* Makefile.in (mkinstalldirs): Renamed from MKINSTALLDIRS.
282	(install-lib, install, installdirs): Use it.
283
2842002-05-09  Bruno Haible  <bruno@clisp.org>
285
286	* config.charset: Update for newest glibc. Add canonical names
287	ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS.
288
2892002-05-09  Bruno Haible  <bruno@clisp.org>
290
291	* localcharset.c (get_charset_aliases): Add more Windows specific
292	aliases.
293
2942002-05-08  Owen Taylor  <otaylor@redhat.com>
295
296	* config.charset: A few additions for Solaris.
297
2982002-02-15  Bruno Haible  <bruno@clisp.org>
299
300	* config.charset [msdosdjgpp]: For Russian, use CP866.
301
3022002-02-11  Bruno Haible  <bruno@clisp.org>
303
304	* config.charset: Add support for NetBSD.
305
3062002-01-10  Andrew Zabolotny  <zap@cobra.ru>
307	    Bruno Haible  <bruno@clisp.org>
308
309	* localcharset.c: Rework OS/2 support.
310	* config.charset: Add OS/2 support.
311
3122001-12-21  Bruno Haible  <bruno@clisp.org>
313
314	* localcharset.c (ISSLASH): Provide definition for DOS-like systems.
315
3162001-12-15  Bruno Haible  <bruno@clisp.org>
317
318	* localcharset.c: Add OS/2 support.
319
3202001-12-05  Bruno Haible  <bruno@clisp.org>
321
322	* localcharset.c (locale_charset): Don't return an empty string.
323
3242001-10-23  Bruno Haible  <haible@clisp.cons.org>
325
326	* config.charset: msdos in uk_UA uses CP1125.
327
3282001-08-05  Bruno Haible  <haible@clisp.cons.org>
329
330	Make it possible to build libcharset with CC=gcc CFLAGS="-x c++".
331	* localcharset.c (locale_charset): Declare as extern "C".
332	(get_charset_aliases): Cast malloc and realloc results to 'char *'.
333
3342001-06-27  Bruno Haible  <haible@clisp.cons.org>
335
336	* Makefile.in (clean): Remove also *.o.lock, left there by libtool
337	on IRIX.
338
3392001-06-25  Bruno Haible  <haible@clisp.cons.org>
340
341	* Makefile.in (localcharset.lo): Mention $(INCLUDES) before $(CFLAGS)
342	and $(CPPFLAGS).
343	* Makefile.msvc (localcharset.obj): Likewise.
344
3452001-06-24  Bruno Haible  <haible@clisp.cons.org>
346
347	* config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
348	Change canonical name of SJIS to SHIFT_JIS.
349
3502001-05-06  Bruno Haible  <haible@clisp.cons.org>
351
352	* Makefile.msvc (charset.lib): Allow the 'del' command to fail.
353
3542001-05-06  Bruno Haible  <haible@clisp.cons.org>
355
356	* Makefile.in (CPPFLAGS, LDFLAGS): New variables.
357	(libcharset.la): Use LDFLAGS.
358	(localcharset.lo): Use CPPFLAGS.
359
3602001-04-30  Bruno Haible  <haible@clisp.cons.org>
361
362	Silence "gcc -Wall -Wwrite-strings" warnings.
363	* localcharset.c (charset_aliases): Change type to 'const char *'.
364	(get_charset_aliases): Change type of 'cp' to 'const char *'.
365
3662001-03-10  Bruno Haible  <haible@clisp.cons.org>
367
368	* localcharset.c (locale_charset): Allow wildcard syntax. Also resolve
369	alias if codeset is empty.
370	* config.charset (BeOS): Use wildcard syntax.
371
372	* Makefile.in (libcharset.la): Pass flag -no-undefined. Needed on
373	platforms like BeOS.
374
375	* Makefile.in (RM): New variable.
376
3772001-01-05  Bruno Haible  <haible@clisp.cons.org>
378
379	* localcharset.c (volatile): Define to empty if not using ANSI C.
380
3812001-03-05  Bruno Haible  <haible@clisp.cons.org>
382
383	* config.charset: Update for OSF/1 5.1.
384
3852001-03-01  Bruno Haible  <haible@clisp.cons.org>
386
387	* config.charset: For DOS/DJGPP, add CP775.
388
3892001-02-24  Bruno Haible  <haible@clisp.cons.org>
390
391	* config.charset: Add support for DOS/DJGPP.
392
3932001-02-25  Bruno Haible  <haible@clisp.cons.org>
394
395	* localcharset.c (locale_charset): Don't return NULL.
396
3972001-02-24  Bruno Haible  <haible@clisp.cons.org>
398
399	* localcharset.c (locale_charset): Don't use setlocale(LC_CTYPE,NULL).
400
4012001-01-30  Bruno Haible  <haible@clisp.cons.org>
402
403	* config.charset: Update for FreeBSD 4.2.
404
4052000-12-19  Jim Meyering  <jim@meyering.net>
406
407	* localcharset.c: Improve WIN32 macrology.
408	(locale_charset): Increase size of buffer.
409
4102000-12-18  Bruno Haible  <haible@clisp.cons.org>
411
412	* config.charset: Add support for BeOS.
413
4142000-12-12  Bruno Haible  <haible@clisp.cons.org>
415
416	* Makefile.in (ref-add.sed, ref-del.sed): Don't use $<, not understood
417	by Solaris "make". Reported by Toshimitsu Fujiwara.
418
4192000-12-08  Bruno Haible  <haible@clisp.cons.org>
420
421	* Makefile.in (exec_prefix): Use configure's --exec-prefix argument.
422
4232000-12-02  Bruno Haible  <haible@clisp.cons.org>
424
425	* Makefile.msvc: Replace STATIC with its opposite flag, DLL.
426
4272000-11-21  Bruno Haible  <haible@clisp.cons.org>
428
429	* Makefile.msvc (MFLAGS): New variable.
430	(CFLAGS, charset.lib): Use it.
431	(INCLUDES): Use "..", not "..\include".
432
4332000-10-31  Bruno Haible  <haible@clisp.cons.org>
434
435	* Makefile.msvc: New file.
436
4372000-10-31  Bruno Haible  <haible@clisp.cons.org>
438
439	* config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII,
440	CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257
441	to the list of canonical encodings. Rename EUC-CN to GB2312.
442	* localcharset.c (locale_charset): Add support for Win32.
443