Annotation of embedaddon/libiconv/libcharset/lib/ChangeLog, revision 1.1.1.2
1.1.1.2 ! misho 1: 2011-08-07 Bruno Haible <bruno@clisp.org>
! 2:
! 3: * relocatable.c: Update from gnulib.
! 4:
! 5: 2011-02-28 Bruno Haible <bruno@clisp.org>
! 6:
! 7: Assume ANSI C behaviour of free().
! 8: * localcharset.c (get_charset_aliases): Remove NULL test before calling
! 9: free().
! 10: Suggested by Simon Josefsson <simon@josefsson.org>.
! 11:
! 12: 2011-02-28 Bruno Haible <bruno@clisp.org>
! 13:
! 14: * relocatable.h: Update from gnulib.
! 15: * relocatable.c: Likewise.
! 16:
! 17: 2009-12-13 Bruno Haible <bruno@clisp.org>
! 18:
! 19: * localcharset.c (locale_charset): Fix comment about use of GetACP.
! 20:
! 21: 2009-12-12 Bruno Haible <bruno@clisp.org>
! 22:
! 23: * localcharset.c (locale_charset): Add comment about use of GetACP.
! 24:
! 25: 2009-12-12 Bruno Haible <bruno@clisp.org>
! 26:
! 27: * config.charset: Untabify.
! 28: * localcharset.c: Untabify.
! 29:
! 30: 2009-10-18 Bruno Haible <bruno@clisp.org>
! 31:
! 32: Avoid symlink attack in localcharset module.
! 33: * localcharset.c: Include <fcntl.h>, <unistd.h>.
! 34: (O_NOFOLLOW): Define fallback.
! 35: (get_charset_aliases): Don't open the file if it is a symbolic link.
! 36: Reported by Fergal Glynn <fglynn@veracode.com>.
! 37:
1.1 misho 38: 2009-03-26 Bruno Haible <bruno@clisp.org>
39:
40: * Makefile.in (install, installdir): Ensure that $(DESTDIR)$(libdir)
41: exists, unconditionally.
42:
43: 2009-03-25 Bruno Haible <bruno@clisp.org>
44:
45: * relocatable.h: Update from gnulib.
46: * relocatable.c: Likewise.
47:
48: 2009-01-25 Bruno Haible <bruno@clisp.org>
49:
50: Don't install charset.alias on MacOS X >= 10.3.
51: * localcharset.c (DARWIN7): New macro.
52: (get_charset_aliases): Hardcode the result for Darwin7.
53: * Makefile.in (install, installdirs): Don't install charset.alias on
54: MacOS X >= 10.3.
55:
56: 2009-01-25 Bruno Haible <bruno@clisp.org>
57:
58: Don't install charset.alias on mingw and Cygwin.
59: * Makefile.in (install, installdirs): Don't install charset.alias on
60: mingw and Cygwin, if the file does not yet exist. The result for these
61: platforms is hardcoded in localcharset.c.
62:
63: 2009-01-24 Bruno Haible <bruno@clisp.org>
64:
65: Add support for non-UTF-8 locales on MacOS X.
66: * config.charset: Add CP1131, ARMSCII-8, PT154 to the list of canonical
67: encodings. For Darwin 7 and newer, don't map traditional encodings to
68: UTF-8.
69: Reported by Vincent Lefevre <vincent@vinc17.org>
70: at <http://savannah.gnu.org/bugs/?25235>.
71:
72: 2008-11-10 Ingo Weinhold <ingo_weinhold@gmx.de>
73:
74: * config.charset: Treat Haiku like BeOS.
75:
76: 2009-01-16 Bruno Haible <bruno@clisp.org>
77:
78: * Makefile.in (install-strip): New target.
79: Reported by Alon Bar-Lev <alon.barlev@gmail.com>.
80:
81: 2008-04-13 Bruno Haible <bruno@clisp.org>
82:
83: * localcharset.c (OS2): Don't redefine if already defined.
84: Reported by Elbert Pol <e.pol@chello.nl>.
85:
86: 2007-11-14 Bruno Haible <bruno@clisp.org>
87:
88: * config.charset: Update for OpenBSD 4.1.
89: Reported and helped by Ben Pfaff <blp@cs.stanford.edu>.
90:
91: 2006-10-31 Bruno Haible <bruno@clisp.org>
92:
93: Update from GNU gettext.
94: 2006-09-14 Bruno Haible <bruno@clisp.org>
95: * lib/relocatable.c: Likewise.
96:
97: 2006-10-17 Paul Eggert <eggert@cs.ucla.edu>
98:
99: * localcharset.c: Do not check HAVE_SETLOCALE.
100:
101: 2006-09-14 Bruno Haible <bruno@clisp.org>
102:
103: * localcharset.c: Include <config.h> unconditionally.
104:
105: 2006-08-29 Bruno Haible <bruno@clisp.org>
106:
107: * localcharset.c: Include configmake.h in order to get LIBDIR defined.
108:
109: 2006-07-29 Bruno Haible <bruno@clisp.org>
110:
111: * localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
112:
113: 2006-07-25 Bruno Haible <bruno@clisp.org>
114:
115: * Makefile.msvc: Remove file.
116:
117: 2006-07-25 Bruno Haible <bruno@clisp.org>
118:
119: * Makefile.vms: Remove file.
120:
121: 2006-07-23 Bruno Haible <bruno@clisp.org>
122:
123: * Makefile.in (libcharset.la): Use the CFLAGS during linking.
124: Needed because the CFLAGS can e.g. trigger profiling.
125: Reported by Russell Aspinwall <russell.aspinwall@flomerics.co.uk>.
126:
127: 2006-07-14 Bruno Haible <bruno@clisp.org>
128:
129: * Makefile.in (clean): Remove also *.stackdump.
130:
131: 2006-06-17 Bruno Haible <bruno@clisp.org>
132:
133: * config.charset: Update for NetBSD 3.0.
134:
135: 2006-05-17 Bruno Haible <bruno@clisp.org>
136:
137: Cygwin portability.
138: * localcharset.c (WIN32_NATIVE): Renamed from WIN32.
139:
140: 2006-05-16 Bruno Haible <bruno@clisp.org>
141:
142: * localcharset.c [CYGWIN]: Include <windows.h>.
143: (get_charset_aliases): For Cygwin, return the same CPxxx aliases list
144: as under WIN32.
145: (locale_charset) [CYGWIN]: Try to retrieve the encoding from the
146: environment variables. Fall back to GetACP().
147:
148: 2006-04-05 Bruno Haible <bruno@clisp.org>
149:
150: * config.charset: Update Juan Manuel Guerrero's address.
151:
152: 2006-01-10 Bruno Haible <bruno@clisp.org>
153:
154: * localcharset.c: Assume ANSI C. Fixes a gcc warning.
155: Reported by Werner Lemberg <wl@gnu.org>.
156:
157: 2005-12-04 Bruno Haible <bruno@clisp.org>
158:
159: Cygwin portability.
160: * relocatable.c: Include <windows.h> also on Cygwin.
161: (DllMain): Add support for Cygwin.
162: (get_shared_library_fullname): Update.
163:
164: 2005-07-24 Bruno Haible <bruno@clisp.org>
165:
166: Tidy up exported symbols.
167: * Makefile.in (CFLAGS): Add @CFLAG_VISIBILITY@.
168: (DEFS): Also define BUILDING_LIBCHARSET and BUILDING_DLL.
169: * relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
170: Define to the gcc visibility attribute.
171:
172: 2005-07-02 Bruno Haible <bruno@clisp.org>
173:
174: * localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others.
175: Reported by <mus1876@gmx.info> via Alain Bench <messtic@oreka.com>.
176:
177: 2005-03-22 Bruno Haible <bruno@clisp.org>
178:
179: * Makefile.in (mkinstalldirs): Update.
180:
181: 2005-01-06 Bruno Haible <bruno@clisp.org>
182:
183: * Makefile.msvc (CFLAGS): Define also INSTALLPREFIX.
184: * Makefile.vms (DEFS): Likewise.
185: Reported by Troels Walsted Hansen <Troels.W.Hansen@fast.no>.
186:
187: 2004-09-01 Bruno Haible <bruno@clisp.org>
188:
189: * config.charset: Add support for Darwin 7.
190:
191: 2004-04-28 Bruno Haible <bruno@clisp.org>
192:
193: * localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now
194: accepts Windows pathnames.
195:
196: 2004-04-23 Bruno Haible <bruno@clisp.org>
197:
198: * localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR
199: environment variable to override LIBDIR.
200: Suggested by Matthias Clasen <mclasen@redhat.com>.
201:
202: 2004-04-20 Jim Meyering <jim@meyering.net>
203: Bruno Haible <bruno@clisp.org>
204:
205: * localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak
206: memory when realloc fails.
207:
208: 2004-01-20 Bruno Haible <bruno@clisp.org>
209:
210: Upgrade from gettext-0.14.
211:
212: 2003-10-09 Bruno Haible <bruno@clisp.org>
213: * relocatable.c: Include xalloc.h instead of xmalloc.h.
214:
215: 2003-08-24 Bruno Haible <bruno@clisp.org>
216: * relocatable.h: Make this file includable in C++ mode: add extern "C".
217:
218: 2003-08-01 Bruno Haible <bruno@clisp.org>
219: * relocatable.c (find_shared_library_fullname): Disable the code on
220: Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
221:
222: 2003-06-27 Bruno Haible <bruno@clisp.org>
223: Avoid use of *_unlocked functions on Solaris 2.5.1.
224: * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
225: Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
226:
227: 2003-06-22 Bruno Haible <bruno@clisp.org>
228: * relocatable.c (compute_curr_prefix): Comment out this function in
229: the case when it is not used.
230: Reported by Pavel Roskin <proski@gnu.org>.
231:
232: 2004-01-21 Bruno Haible <bruno@clisp.org>
233:
234: Upgrade from gettext-0.14.
235:
236: 2004-01-21 Bruno Haible <bruno@clisp.org>
237: * config.charset: Add support for MacOS X (Darwin).
238:
239: 2003-12-02 Bruno Haible <bruno@clisp.org>
240: * config.charset: Treat the new country name CS like the old country
241: name YU.
242:
243: 2003-08-20 Bruno Haible <bruno@clisp.org>
244: * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
245: Reported by Alain Guibert <derogaton+bgli@oreka.com>.
246:
247: 2003-08-14 Bruno Haible <bruno@clisp.org>
248: * config.charset: Add support for Linux libc5. Based on data from
249: Alain Guibert <derogaton+bgli@oreka.com>.
250:
251: 2003-06-27 Bruno Haible <bruno@clisp.org>
252:
253: Avoid use of *_unlocked functions on Solaris 2.5.1.
254: * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
255: Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
256:
257: 2003-08-20 Bruno Haible <bruno@clisp.org>
258:
259: * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
260: Reported by Alain Guibert <derogaton+bgli@oreka.com>.
261:
262: 2003-08-14 Bruno Haible <bruno@clisp.org>
263:
264: * config.charset: Add support for Linux libc5. Based on data from
265: Alain Guibert <derogaton+bgli@oreka.com>.
266:
267: 2003-08-01 Bruno Haible <bruno@clisp.org>
268:
269: * relocatable.c (find_shared_library_fullname): Disable the code on
270: Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
271:
272: 2003-06-22 Bruno Haible <bruno@clisp.org>
273:
274: Portability to mingw32.
275: * relocatable.c [WIN32]: Include <windows.h>.
276: Reported by Jeff Bonggren <jbon@cfl.rr.com>.
277:
278: 2003-06-22 Bruno Haible <bruno@clisp.org>
279:
280: * relocatable.c (compute_curr_prefix): Comment out this function in
281: the case when it is not used.
282: Reported by Pavel Roskin <proski@gnu.org>.
283:
284: 2003-06-07 Bruno Haible <bruno@clisp.org>
285:
286: Support for relocatable data files even on VMS.
287: * Makefile.vms (bindir): New variable.
288: (DEFS): Add flags for relocatability.
289: Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
290:
291: 2003-06-07 Bruno Haible <bruno@clisp.org>
292:
293: Support for relocatable data files even on Woe32.
294: * Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir,
295: IIlibdir): New variables.
296: (PICFLAGS): Also define PIC. Define BUILDING_* flags here.
297: (CFLAGS): ... not here. Add flags for relocatability.
298:
299: 2003-05-18 Bruno Haible <bruno@clisp.org>
300:
301: * Makefile.msvc (DEBUGFLAGS): New variable.
302: (charset.lib): Use it.
303:
304: 2003-05-07 Bruno Haible <bruno@clisp.org>
305:
306: * Makefile.vms: New file.
307:
308: 2003-04-12 Bruno Haible <bruno@clisp.org>
309:
310: * lib/localcharset.c (get_charset_aliases): Add special case for VMS.
311:
312: 2003-04-05 Bruno Haible <bruno@clisp.org>
313:
314: Support for relocatable installation.
315: * relocatable.h: New file, from GNU gettext.
316: * relocatable.c: New file, from GNU gettext.
317: * localcharset.c: Update from GNU gettext.
318: 2003-02-28 Bruno Haible <bruno@clisp.org>
319: * localcharset.c: Include relocatable.h.
320: (get_charset_aliases): Relocate LIBDIR value.
321: * localcharset.c: Drop C linkage declaration.
322: * Makefile.in (DEFS): New variable.
323: (SOURCES): Add relocatable.c.
324: (OBJECTS): Add relocatable.lo.
325: (localcharset.lo): Use $(DEFS).
326: (relocatable.lo): New rule.
327: * Makefile.msvc (CFLAGS): Remove $(PICFLAGS).
328: (INCLUDES): Simplify.
329: (SOURCES): Remove variable.
330: (OBJECTS): Add relocatable.obj.
331: (localcharset.obj): Add $(PICFLAGS).
332: (relocatable.obj): New rule.
333:
334: 2003-04-05 Bruno Haible <bruno@clisp.org>
335:
336: * Makefile.msvc (PREFIX): New variable.
337: (prefix): Use it.
338: (clean): Drop Unix specific removal.
339:
340: 2003-03-17 Bruno Haible <bruno@clisp.org>
341:
342: Improved MSVC support.
343: * Makefile.msvc (prefix): Use less Unixy value.
344: (local_prefix): Remove variable.
345: (libdir): Use backslashes.
346: (bindir): New variable.
347: (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values.
348: (RESOURCES): Enable charset.res.
349: (charset.lib): Set the target library name explicitly.
350: (charset.res): New rule.
351: (install, installdirs, uninstall): New rules.
352:
353: Rename libcharset.h to localcharset.h.
354: * localcharset.c: Include localcharset.h.
355: * localcharset.h: Remove file.
356: * Makefile.in (INCLUDES): Add -I../include.
357: * Makefile.msvc (INCLUDES): Add -I../include.
358:
359: 2003-01-29 Bruno Haible <bruno@clisp.org>
360:
361: * config.charset: Add an alias for CP1251 on Solaris.
362: Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.
363:
364: 2003-01-12 Bruno Haible <bruno@clisp.org>
365:
366: * localcharset.h: New file.
367: * localcharset.c: Include it.
368:
369: 2003-01-01 Bruno Haible <bruno@clisp.org>
370:
371: * Makefile.in (mkinstalldirs): Renamed from MKINSTALLDIRS.
372: (install-lib, install, installdirs): Use it.
373:
374: 2002-05-09 Bruno Haible <bruno@clisp.org>
375:
376: * config.charset: Update for newest glibc. Add canonical names
377: ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS.
378:
379: 2002-05-09 Bruno Haible <bruno@clisp.org>
380:
381: * localcharset.c (get_charset_aliases): Add more Windows specific
382: aliases.
383:
384: 2002-05-08 Owen Taylor <otaylor@redhat.com>
385:
386: * config.charset: A few additions for Solaris.
387:
388: 2002-02-15 Bruno Haible <bruno@clisp.org>
389:
390: * config.charset [msdosdjgpp]: For Russian, use CP866.
391:
392: 2002-02-11 Bruno Haible <bruno@clisp.org>
393:
394: * config.charset: Add support for NetBSD.
395:
396: 2002-01-10 Andrew Zabolotny <zap@cobra.ru>
397: Bruno Haible <bruno@clisp.org>
398:
399: * localcharset.c: Rework OS/2 support.
400: * config.charset: Add OS/2 support.
401:
402: 2001-12-21 Bruno Haible <bruno@clisp.org>
403:
404: * localcharset.c (ISSLASH): Provide definition for DOS-like systems.
405:
406: 2001-12-15 Bruno Haible <bruno@clisp.org>
407:
408: * localcharset.c: Add OS/2 support.
409:
410: 2001-12-05 Bruno Haible <bruno@clisp.org>
411:
412: * localcharset.c (locale_charset): Don't return an empty string.
413:
414: 2001-10-23 Bruno Haible <haible@clisp.cons.org>
415:
416: * config.charset: msdos in uk_UA uses CP1125.
417:
418: 2001-08-05 Bruno Haible <haible@clisp.cons.org>
419:
420: Make it possible to build libcharset with CC=gcc CFLAGS="-x c++".
421: * localcharset.c (locale_charset): Declare as extern "C".
422: (get_charset_aliases): Cast malloc and realloc results to 'char *'.
423:
424: 2001-06-27 Bruno Haible <haible@clisp.cons.org>
425:
426: * Makefile.in (clean): Remove also *.o.lock, left there by libtool
427: on IRIX.
428:
429: 2001-06-25 Bruno Haible <haible@clisp.cons.org>
430:
431: * Makefile.in (localcharset.lo): Mention $(INCLUDES) before $(CFLAGS)
432: and $(CPPFLAGS).
433: * Makefile.msvc (localcharset.obj): Likewise.
434:
435: 2001-06-24 Bruno Haible <haible@clisp.cons.org>
436:
437: * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
438: Change canonical name of SJIS to SHIFT_JIS.
439:
440: 2001-05-06 Bruno Haible <haible@clisp.cons.org>
441:
442: * Makefile.msvc (charset.lib): Allow the 'del' command to fail.
443:
444: 2001-05-06 Bruno Haible <haible@clisp.cons.org>
445:
446: * Makefile.in (CPPFLAGS, LDFLAGS): New variables.
447: (libcharset.la): Use LDFLAGS.
448: (localcharset.lo): Use CPPFLAGS.
449:
450: 2001-04-30 Bruno Haible <haible@clisp.cons.org>
451:
452: Silence "gcc -Wall -Wwrite-strings" warnings.
453: * localcharset.c (charset_aliases): Change type to 'const char *'.
454: (get_charset_aliases): Change type of 'cp' to 'const char *'.
455:
456: 2001-03-10 Bruno Haible <haible@clisp.cons.org>
457:
458: * localcharset.c (locale_charset): Allow wildcard syntax. Also resolve
459: alias if codeset is empty.
460: * config.charset (BeOS): Use wildcard syntax.
461:
462: * Makefile.in (libcharset.la): Pass flag -no-undefined. Needed on
463: platforms like BeOS.
464:
465: * Makefile.in (RM): New variable.
466:
467: 2001-01-05 Bruno Haible <haible@clisp.cons.org>
468:
469: * localcharset.c (volatile): Define to empty if not using ANSI C.
470:
471: 2001-03-05 Bruno Haible <haible@clisp.cons.org>
472:
473: * config.charset: Update for OSF/1 5.1.
474:
475: 2001-03-01 Bruno Haible <haible@clisp.cons.org>
476:
477: * config.charset: For DOS/DJGPP, add CP775.
478:
479: 2001-02-24 Bruno Haible <haible@clisp.cons.org>
480:
481: * config.charset: Add support for DOS/DJGPP.
482:
483: 2001-02-25 Bruno Haible <haible@clisp.cons.org>
484:
485: * localcharset.c (locale_charset): Don't return NULL.
486:
487: 2001-02-24 Bruno Haible <haible@clisp.cons.org>
488:
489: * localcharset.c (locale_charset): Don't use setlocale(LC_CTYPE,NULL).
490:
491: 2001-01-30 Bruno Haible <haible@clisp.cons.org>
492:
493: * config.charset: Update for FreeBSD 4.2.
494:
495: 2000-12-19 Jim Meyering <jim@meyering.net>
496:
497: * localcharset.c: Improve WIN32 macrology.
498: (locale_charset): Increase size of buffer.
499:
500: 2000-12-18 Bruno Haible <haible@clisp.cons.org>
501:
502: * config.charset: Add support for BeOS.
503:
504: 2000-12-12 Bruno Haible <haible@clisp.cons.org>
505:
506: * Makefile.in (ref-add.sed, ref-del.sed): Don't use $<, not understood
507: by Solaris "make". Reported by Toshimitsu Fujiwara.
508:
509: 2000-12-08 Bruno Haible <haible@clisp.cons.org>
510:
511: * Makefile.in (exec_prefix): Use configure's --exec-prefix argument.
512:
513: 2000-12-02 Bruno Haible <haible@clisp.cons.org>
514:
515: * Makefile.msvc: Replace STATIC with its opposite flag, DLL.
516:
517: 2000-11-21 Bruno Haible <haible@clisp.cons.org>
518:
519: * Makefile.msvc (MFLAGS): New variable.
520: (CFLAGS, charset.lib): Use it.
521: (INCLUDES): Use "..", not "..\include".
522:
523: 2000-10-31 Bruno Haible <haible@clisp.cons.org>
524:
525: * Makefile.msvc: New file.
526:
527: 2000-10-31 Bruno Haible <haible@clisp.cons.org>
528:
529: * config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII,
530: CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257
531: to the list of canonical encodings. Rename EUC-CN to GB2312.
532: * localcharset.c (locale_charset): Add support for Win32.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>