12019-01-27 Bruno Haible <bruno@clisp.org> 2 3 Accommodate a shell that is not in /bin/sh. 4 * Makefile.in (SHELL): Use the value found by configure. 5 62018-09-22 Bruno Haible <bruno@clisp.org> 7 8 Update from gnulib. Move mapping tables into the code. 9 * localcharset.c: Update from gnulib. 10 2018-05-20 Bruno Haible <bruno@clisp.org> 11 * localcharset.c (alias_table): Comment out no-op mappings for 12 platforms where these don't matter. This reduces the table 13 size, which in turn reduces the lookup time. 14 2018-05-19 Bruno Haible <bruno@clisp.org> 15 * localcharset.c (alias_table): Add mapping for locale 16 encodings found in FreeBSD 11, NetBSD 7, Solaris 10, 17 Openindiana, HP-UX 11.31, IRIX 6.5, Minix 3.3. 18 2018-05-19 Bruno Haible <bruno@clisp.org> 19 * localcharset.c: Don't include <fcntl.h>, <unistd.h>, 20 relocatable.h, configmake.h. 21 (O_NOFOLLOW, ISSLASH, DIRECTORY_SEPARATOR, getc, volatile): 22 Remove macros. 23 (charset_aliases): Remove variable. 24 (get_charset_aliases): Remove function. 25 (struct table_entry): New type. 26 (alias_table, locale_table): New constants. 27 (locale_charset): Use the alias_table or locale_table to get 28 the canonicalized encoding name. 29 * config.charset: Remove file. 30 * ref-add.sin: Remove file. 31 * ref-del.sin: Remove file. 32 * relocatable-stub.c: New file. 33 * relocatable.c: Remove file. 34 * relocatable.h: Remove file. 35 * Makefile.in (DEFS): Remove macros only needed for relocatable.[hc]. 36 (SOURCES): Remove relocatable.c. Add relocatable-stub.c. 37 (OBJECTS): Remove relocatable.lo. Add relocatable-stub.lo. 38 (relocatable.lo): Remove target. 39 (relocatable-stub.lo): New target. 40 (charset.alias, ref-add.sed, ref-del.sed): Remove targets. 41 (install-lib, install): Don't install charset.alias. 42 (uninstall): Don't uninstall charset.alias. 43 (clean): Don't remove charset.alias, ref-add.sed, ref-del.sed. 44 (SOURCE_FILES): Add relocatable-stub.c. 45 (GNULIB_SYNCED_FILES): Remove config.charset, ref-add.sin, ref-del.sin, 46 relocatable.h, relocatable.c. 47 482018-05-04 Bruno Haible <bruno@clisp.org> 49 50 * localcharset.c: Update from gnulib. 51 2018-05-03 Bruno Haible <bruno@clisp.org> 52 * localcharset.c: Simplify 'defined _WIN32 || defined __WIN32__' 53 to just 'defined _WIN32'. 54 2018-04-21 Benno Schulenberg <bensberg@telfort.nl> (tiny change) 55 * localcharset.c (get_charset_aliases): Add a tautological 56 UTF-8 entry to speed up the search for this case. 57 2017-09-14 Bruno Haible <bruno@clisp.org> 58 all: Replace many more http URLs by https URLs. 59 60 * relocatable.c: Update from gnulib. 61 622017-05-18 Bruno Haible <bruno@clisp.org> 63 64 * localcharset.c: Update from gnulib. 65 2017-05-16 Bruno Haible <bruno@clisp.org> 66 * localcharset.c (relocate2): Define fallback. 67 (get_charset_aliases): Invoke relocate2 instead of relocate. 68 Free the allocated memory. 69 2017-04-21 Bruno Haible <bruno@clisp.org> 70 * localcharset.c (WINDOWS_NATIVE): Don't define on Cygwin. 71 72 * relocatable.h: Update from gnulib. 73 * relocatable.c: Update from gnulib. 74 752016-12-14 Bruno Haible <bruno@clisp.org> 76 77 Cleanup useless removals. 78 * Makefile.in (distclean): No need to remove config.* and libtool. 79 802016-12-03 Bruno Haible <bruno@clisp.org> 81 82 Create tarballs through an Automake-like "make dist" command. 83 * Makefile.in (SOURCE_FILES, GNULIB_SYNCED_FILES, IMPORTED_FILES, 84 GENERATED_FILES, DISTRIBUTED_BUILT_FILES, DISTFILES): New macros. 85 (distdir): New target. 86 872016-12-02 Bruno Haible <bruno@clisp.org> 88 89 * config.charset: Update from gnulib. 90 2015-01-07 KO Myung-Hun <komh@chollian.net> 91 * config.charset: Don't output aliases if "$os" is os2*. 92 2012-06-22 Bruno Haible <bruno@clisp.org> 93 * connfig.charset: Write "Mac OS X" instead of "MacOS X". 94 95 * localcharset.c: Update from gnulib. 96 2016-12-02 Bruno Haible <bruno@clisp.org> 97 * localcharset.c (locale_charset) [WINDOWS_NATIVE]: Don't use 98 the return value from setlocale if it would lead to a buffer 99 overrun. 100 2015-01-07 KO Myung-Hun <komh@chollian.net> 101 * localcharset.c (get_charset_aliases) [OS2]: Hardcode the 102 result for OS/2. 103 (locale_charset) [OS2]: Use system codepage if codeset is 104 omitted from the locale name which is neither "C" nor "POSIX". 105 2014-07-15 Eli Zaretskii <eliz@gnu.org> 106 * localcharset.c (locale_charset) [WINDOWS_NATIVE]: Before 107 falling back on the default system codepage, try extracting 108 the codepage from what 'setlocale' returns. This allows to 109 take into account changes of the codeset due to non-default 110 locale set by a previous call to 'setlocale'. 111 2013-07-20 Daiki Ueno <ueno@gnu.org> 112 * localcharset.c (locale_charset) [DARWIN7]: Use MB_CUR_MAX_L 113 instead of MB_CUR_MAX. 114 2012-09-16 Paul Eggert <eggert@cs.ucla.edu> 115 * localcharset.c (locale_charset) [DARWIN7]: 116 Return "ASCII" if the system reports "UTF-8" and 117 MB_CUR_MAX <= 1, as these two values are incompatible. Problem 118 reported by Max Horn. For more discussion, please see 119 <https://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00061.html>. 120 2012-06-22 Bruno Haible <bruno@clisp.org> 121 * localcharset.c: Write "Mac OS X" instead of "MacOS X". 122 123 * relocatable.c: Update from gnulib. 124 1252016-11-22 Bruno Haible <bruno@clisp.org> 126 127 Update support for building with MSVC. 128 * Makefile.in (install-lib, install): Install the .la file with 129 $(INSTALL), not $(INSTALL_DATA). Otherwise the native Windows DLL gets 130 installed without execution permissions, and programs linked to it fail: 131 in a Cygwin shell with exit code 127, or from a cmd.exe window with a 132 dialog "The application was unable to start correctly (0xc0000022)." 133 1342012-01-06 Bruno Haible <bruno@clisp.org> 135 136 Talk about "native Windows API", not "Woe32". 137 * localcharset.c: Update comments to mention native Windows. 138 * relocatable.c: Likewise. 139 * config.charset: More comments. 140 1412012-01-04 Bruno Haible <bruno@clisp.org> 142 143 Talk about "native Windows API", not "Win32". 144 * localcharset.c: Update comments to mention native Windows. 145 (WINDOWS_NATIVE): Renamed from WIN32_NATIVE. 146 * relocatable.c: Likewise. 147 1482011-10-03 Bruno Haible <bruno@clisp.org> 149 150 * relocatable.c: Update from gnulib. 151 1522011-08-07 Bruno Haible <bruno@clisp.org> 153 154 * relocatable.c: Update from gnulib. 155 1562011-02-28 Bruno Haible <bruno@clisp.org> 157 158 Assume ANSI C behaviour of free(). 159 * localcharset.c (get_charset_aliases): Remove NULL test before calling 160 free(). 161 Suggested by Simon Josefsson <simon@josefsson.org>. 162 1632011-02-28 Bruno Haible <bruno@clisp.org> 164 165 * relocatable.h: Update from gnulib. 166 * relocatable.c: Likewise. 167 1682009-12-13 Bruno Haible <bruno@clisp.org> 169 170 * localcharset.c (locale_charset): Fix comment about use of GetACP. 171 1722009-12-12 Bruno Haible <bruno@clisp.org> 173 174 * localcharset.c (locale_charset): Add comment about use of GetACP. 175 1762009-12-12 Bruno Haible <bruno@clisp.org> 177 178 * config.charset: Untabify. 179 * localcharset.c: Untabify. 180 1812009-10-18 Bruno Haible <bruno@clisp.org> 182 183 Avoid symlink attack in localcharset module. 184 * localcharset.c: Include <fcntl.h>, <unistd.h>. 185 (O_NOFOLLOW): Define fallback. 186 (get_charset_aliases): Don't open the file if it is a symbolic link. 187 Reported by Fergal Glynn <fglynn@veracode.com>. 188 1892009-03-26 Bruno Haible <bruno@clisp.org> 190 191 * Makefile.in (install, installdir): Ensure that $(DESTDIR)$(libdir) 192 exists, unconditionally. 193 1942009-03-25 Bruno Haible <bruno@clisp.org> 195 196 * relocatable.h: Update from gnulib. 197 * relocatable.c: Likewise. 198 1992009-01-25 Bruno Haible <bruno@clisp.org> 200 201 Don't install charset.alias on MacOS X >= 10.3. 202 * localcharset.c (DARWIN7): New macro. 203 (get_charset_aliases): Hardcode the result for Darwin7. 204 * Makefile.in (install, installdirs): Don't install charset.alias on 205 MacOS X >= 10.3. 206 2072009-01-25 Bruno Haible <bruno@clisp.org> 208 209 Don't install charset.alias on mingw and Cygwin. 210 * Makefile.in (install, installdirs): Don't install charset.alias on 211 mingw and Cygwin, if the file does not yet exist. The result for these 212 platforms is hardcoded in localcharset.c. 213 2142009-01-24 Bruno Haible <bruno@clisp.org> 215 216 Add support for non-UTF-8 locales on MacOS X. 217 * config.charset: Add CP1131, ARMSCII-8, PT154 to the list of canonical 218 encodings. For Darwin 7 and newer, don't map traditional encodings to 219 UTF-8. 220 Reported by Vincent Lefevre <vincent@vinc17.org> 221 at <https://savannah.gnu.org/bugs/?25235>. 222 2232008-11-10 Ingo Weinhold <ingo_weinhold@gmx.de> 224 225 * config.charset: Treat Haiku like BeOS. 226 2272009-01-16 Bruno Haible <bruno@clisp.org> 228 229 * Makefile.in (install-strip): New target. 230 Reported by Alon Bar-Lev <alon.barlev@gmail.com>. 231 2322008-04-13 Bruno Haible <bruno@clisp.org> 233 234 * localcharset.c (OS2): Don't redefine if already defined. 235 Reported by Elbert Pol <e.pol@chello.nl>. 236 2372007-11-14 Bruno Haible <bruno@clisp.org> 238 239 * config.charset: Update for OpenBSD 4.1. 240 Reported and helped by Ben Pfaff <blp@cs.stanford.edu>. 241 2422006-10-31 Bruno Haible <bruno@clisp.org> 243 244 Update from GNU gettext. 245 2006-09-14 Bruno Haible <bruno@clisp.org> 246 * lib/relocatable.c: Likewise. 247 2482006-10-17 Paul Eggert <eggert@cs.ucla.edu> 249 250 * localcharset.c: Do not check HAVE_SETLOCALE. 251 2522006-09-14 Bruno Haible <bruno@clisp.org> 253 254 * localcharset.c: Include <config.h> unconditionally. 255 2562006-08-29 Bruno Haible <bruno@clisp.org> 257 258 * localcharset.c: Include configmake.h in order to get LIBDIR defined. 259 2602006-07-29 Bruno Haible <bruno@clisp.org> 261 262 * localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist. 263 2642006-07-25 Bruno Haible <bruno@clisp.org> 265 266 * Makefile.msvc: Remove file. 267 2682006-07-25 Bruno Haible <bruno@clisp.org> 269 270 * Makefile.vms: Remove file. 271 2722006-07-23 Bruno Haible <bruno@clisp.org> 273 274 * Makefile.in (libcharset.la): Use the CFLAGS during linking. 275 Needed because the CFLAGS can e.g. trigger profiling. 276 Reported by Russell Aspinwall <russell.aspinwall@flomerics.co.uk>. 277 2782006-07-14 Bruno Haible <bruno@clisp.org> 279 280 * Makefile.in (clean): Remove also *.stackdump. 281 2822006-06-17 Bruno Haible <bruno@clisp.org> 283 284 * config.charset: Update for NetBSD 3.0. 285 2862006-05-17 Bruno Haible <bruno@clisp.org> 287 288 Cygwin portability. 289 * localcharset.c (WIN32_NATIVE): Renamed from WIN32. 290 2912006-05-16 Bruno Haible <bruno@clisp.org> 292 293 * localcharset.c [CYGWIN]: Include <windows.h>. 294 (get_charset_aliases): For Cygwin, return the same CPxxx aliases list 295 as under WIN32. 296 (locale_charset) [CYGWIN]: Try to retrieve the encoding from the 297 environment variables. Fall back to GetACP(). 298 2992006-04-05 Bruno Haible <bruno@clisp.org> 300 301 * config.charset: Update Juan Manuel Guerrero's address. 302 3032006-01-10 Bruno Haible <bruno@clisp.org> 304 305 * localcharset.c: Assume ANSI C. Fixes a gcc warning. 306 Reported by Werner Lemberg <wl@gnu.org>. 307 3082005-12-04 Bruno Haible <bruno@clisp.org> 309 310 Cygwin portability. 311 * relocatable.c: Include <windows.h> also on Cygwin. 312 (DllMain): Add support for Cygwin. 313 (get_shared_library_fullname): Update. 314 3152005-07-24 Bruno Haible <bruno@clisp.org> 316 317 Tidy up exported symbols. 318 * Makefile.in (CFLAGS): Add @CFLAG_VISIBILITY@. 319 (DEFS): Also define BUILDING_LIBCHARSET and BUILDING_DLL. 320 * relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]: 321 Define to the gcc visibility attribute. 322 3232005-07-02 Bruno Haible <bruno@clisp.org> 324 325 * localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others. 326 Reported by <mus1876@gmx.info> via Alain Bench <messtic@oreka.com>. 327 3282005-03-22 Bruno Haible <bruno@clisp.org> 329 330 * Makefile.in (mkinstalldirs): Update. 331 3322005-01-06 Bruno Haible <bruno@clisp.org> 333 334 * Makefile.msvc (CFLAGS): Define also INSTALLPREFIX. 335 * Makefile.vms (DEFS): Likewise. 336 Reported by Troels Walsted Hansen <Troels.W.Hansen@fast.no>. 337 3382004-09-01 Bruno Haible <bruno@clisp.org> 339 340 * config.charset: Add support for Darwin 7. 341 3422004-04-28 Bruno Haible <bruno@clisp.org> 343 344 * localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now 345 accepts Windows pathnames. 346 3472004-04-23 Bruno Haible <bruno@clisp.org> 348 349 * localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR 350 environment variable to override LIBDIR. 351 Suggested by Matthias Clasen <mclasen@redhat.com>. 352 3532004-04-20 Jim Meyering <jim@meyering.net> 354 Bruno Haible <bruno@clisp.org> 355 356 * localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak 357 memory when realloc fails. 358 3592004-01-20 Bruno Haible <bruno@clisp.org> 360 361 Upgrade from gettext-0.14. 362 363 2003-10-09 Bruno Haible <bruno@clisp.org> 364 * relocatable.c: Include xalloc.h instead of xmalloc.h. 365 366 2003-08-24 Bruno Haible <bruno@clisp.org> 367 * relocatable.h: Make this file includable in C++ mode: add extern "C". 368 369 2003-08-01 Bruno Haible <bruno@clisp.org> 370 * relocatable.c (find_shared_library_fullname): Disable the code on 371 Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>. 372 373 2003-06-27 Bruno Haible <bruno@clisp.org> 374 Avoid use of *_unlocked functions on Solaris 2.5.1. 375 * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED. 376 Reported by Eric Botcazou <ebotcazou@libertysurf.fr>. 377 378 2003-06-22 Bruno Haible <bruno@clisp.org> 379 * relocatable.c (compute_curr_prefix): Comment out this function in 380 the case when it is not used. 381 Reported by Pavel Roskin <proski@gnu.org>. 382 3832004-01-21 Bruno Haible <bruno@clisp.org> 384 385 Upgrade from gettext-0.14. 386 387 2004-01-21 Bruno Haible <bruno@clisp.org> 388 * config.charset: Add support for MacOS X (Darwin). 389 390 2003-12-02 Bruno Haible <bruno@clisp.org> 391 * config.charset: Treat the new country name CS like the old country 392 name YU. 393 394 2003-08-20 Bruno Haible <bruno@clisp.org> 395 * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2. 396 Reported by Alain Guibert <derogaton+bgli@oreka.com>. 397 398 2003-08-14 Bruno Haible <bruno@clisp.org> 399 * config.charset: Add support for Linux libc5. Based on data from 400 Alain Guibert <derogaton+bgli@oreka.com>. 401 4022003-06-27 Bruno Haible <bruno@clisp.org> 403 404 Avoid use of *_unlocked functions on Solaris 2.5.1. 405 * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED. 406 Reported by Eric Botcazou <ebotcazou@libertysurf.fr>. 407 4082003-08-20 Bruno Haible <bruno@clisp.org> 409 410 * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2. 411 Reported by Alain Guibert <derogaton+bgli@oreka.com>. 412 4132003-08-14 Bruno Haible <bruno@clisp.org> 414 415 * config.charset: Add support for Linux libc5. Based on data from 416 Alain Guibert <derogaton+bgli@oreka.com>. 417 4182003-08-01 Bruno Haible <bruno@clisp.org> 419 420 * relocatable.c (find_shared_library_fullname): Disable the code on 421 Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>. 422 4232003-06-22 Bruno Haible <bruno@clisp.org> 424 425 Portability to mingw32. 426 * relocatable.c [WIN32]: Include <windows.h>. 427 Reported by Jeff Bonggren <jbon@cfl.rr.com>. 428 4292003-06-22 Bruno Haible <bruno@clisp.org> 430 431 * relocatable.c (compute_curr_prefix): Comment out this function in 432 the case when it is not used. 433 Reported by Pavel Roskin <proski@gnu.org>. 434 4352003-06-07 Bruno Haible <bruno@clisp.org> 436 437 Support for relocatable data files even on VMS. 438 * Makefile.vms (bindir): New variable. 439 (DEFS): Add flags for relocatability. 440 Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>. 441 4422003-06-07 Bruno Haible <bruno@clisp.org> 443 444 Support for relocatable data files even on Woe32. 445 * Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir, 446 IIlibdir): New variables. 447 (PICFLAGS): Also define PIC. Define BUILDING_* flags here. 448 (CFLAGS): ... not here. Add flags for relocatability. 449 4502003-05-18 Bruno Haible <bruno@clisp.org> 451 452 * Makefile.msvc (DEBUGFLAGS): New variable. 453 (charset.lib): Use it. 454 4552003-05-07 Bruno Haible <bruno@clisp.org> 456 457 * Makefile.vms: New file. 458 4592003-04-12 Bruno Haible <bruno@clisp.org> 460 461 * lib/localcharset.c (get_charset_aliases): Add special case for VMS. 462 4632003-04-05 Bruno Haible <bruno@clisp.org> 464 465 Support for relocatable installation. 466 * relocatable.h: New file, from GNU gettext. 467 * relocatable.c: New file, from GNU gettext. 468 * localcharset.c: Update from GNU gettext. 469 2003-02-28 Bruno Haible <bruno@clisp.org> 470 * localcharset.c: Include relocatable.h. 471 (get_charset_aliases): Relocate LIBDIR value. 472 * localcharset.c: Drop C linkage declaration. 473 * Makefile.in (DEFS): New variable. 474 (SOURCES): Add relocatable.c. 475 (OBJECTS): Add relocatable.lo. 476 (localcharset.lo): Use $(DEFS). 477 (relocatable.lo): New rule. 478 * Makefile.msvc (CFLAGS): Remove $(PICFLAGS). 479 (INCLUDES): Simplify. 480 (SOURCES): Remove variable. 481 (OBJECTS): Add relocatable.obj. 482 (localcharset.obj): Add $(PICFLAGS). 483 (relocatable.obj): New rule. 484 4852003-04-05 Bruno Haible <bruno@clisp.org> 486 487 * Makefile.msvc (PREFIX): New variable. 488 (prefix): Use it. 489 (clean): Drop Unix specific removal. 490 4912003-03-17 Bruno Haible <bruno@clisp.org> 492 493 Improved MSVC support. 494 * Makefile.msvc (prefix): Use less Unixy value. 495 (local_prefix): Remove variable. 496 (libdir): Use backslashes. 497 (bindir): New variable. 498 (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values. 499 (RESOURCES): Enable charset.res. 500 (charset.lib): Set the target library name explicitly. 501 (charset.res): New rule. 502 (install, installdirs, uninstall): New rules. 503 504 Rename libcharset.h to localcharset.h. 505 * localcharset.c: Include localcharset.h. 506 * localcharset.h: Remove file. 507 * Makefile.in (INCLUDES): Add -I../include. 508 * Makefile.msvc (INCLUDES): Add -I../include. 509 5102003-01-29 Bruno Haible <bruno@clisp.org> 511 512 * config.charset: Add an alias for CP1251 on Solaris. 513 Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>. 514 5152003-01-12 Bruno Haible <bruno@clisp.org> 516 517 * localcharset.h: New file. 518 * localcharset.c: Include it. 519 5202003-01-01 Bruno Haible <bruno@clisp.org> 521 522 * Makefile.in (mkinstalldirs): Renamed from MKINSTALLDIRS. 523 (install-lib, install, installdirs): Use it. 524 5252002-05-09 Bruno Haible <bruno@clisp.org> 526 527 * config.charset: Update for newest glibc. Add canonical names 528 ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS. 529 5302002-05-09 Bruno Haible <bruno@clisp.org> 531 532 * localcharset.c (get_charset_aliases): Add more Windows specific 533 aliases. 534 5352002-05-08 Owen Taylor <otaylor@redhat.com> 536 537 * config.charset: A few additions for Solaris. 538 5392002-02-15 Bruno Haible <bruno@clisp.org> 540 541 * config.charset [msdosdjgpp]: For Russian, use CP866. 542 5432002-02-11 Bruno Haible <bruno@clisp.org> 544 545 * config.charset: Add support for NetBSD. 546 5472002-01-10 Andrew Zabolotny <zap@cobra.ru> 548 Bruno Haible <bruno@clisp.org> 549 550 * localcharset.c: Rework OS/2 support. 551 * config.charset: Add OS/2 support. 552 5532001-12-21 Bruno Haible <bruno@clisp.org> 554 555 * localcharset.c (ISSLASH): Provide definition for DOS-like systems. 556 5572001-12-15 Bruno Haible <bruno@clisp.org> 558 559 * localcharset.c: Add OS/2 support. 560 5612001-12-05 Bruno Haible <bruno@clisp.org> 562 563 * localcharset.c (locale_charset): Don't return an empty string. 564 5652001-10-23 Bruno Haible <haible@clisp.cons.org> 566 567 * config.charset: msdos in uk_UA uses CP1125. 568 5692001-08-05 Bruno Haible <haible@clisp.cons.org> 570 571 Make it possible to build libcharset with CC=gcc CFLAGS="-x c++". 572 * localcharset.c (locale_charset): Declare as extern "C". 573 (get_charset_aliases): Cast malloc and realloc results to 'char *'. 574 5752001-06-27 Bruno Haible <haible@clisp.cons.org> 576 577 * Makefile.in (clean): Remove also *.o.lock, left there by libtool 578 on IRIX. 579 5802001-06-25 Bruno Haible <haible@clisp.cons.org> 581 582 * Makefile.in (localcharset.lo): Mention $(INCLUDES) before $(CFLAGS) 583 and $(CPPFLAGS). 584 * Makefile.msvc (localcharset.obj): Likewise. 585 5862001-06-24 Bruno Haible <haible@clisp.cons.org> 587 588 * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS. 589 Change canonical name of SJIS to SHIFT_JIS. 590 5912001-05-06 Bruno Haible <haible@clisp.cons.org> 592 593 * Makefile.msvc (charset.lib): Allow the 'del' command to fail. 594 5952001-05-06 Bruno Haible <haible@clisp.cons.org> 596 597 * Makefile.in (CPPFLAGS, LDFLAGS): New variables. 598 (libcharset.la): Use LDFLAGS. 599 (localcharset.lo): Use CPPFLAGS. 600 6012001-04-30 Bruno Haible <haible@clisp.cons.org> 602 603 Silence "gcc -Wall -Wwrite-strings" warnings. 604 * localcharset.c (charset_aliases): Change type to 'const char *'. 605 (get_charset_aliases): Change type of 'cp' to 'const char *'. 606 6072001-03-10 Bruno Haible <haible@clisp.cons.org> 608 609 * localcharset.c (locale_charset): Allow wildcard syntax. Also resolve 610 alias if codeset is empty. 611 * config.charset (BeOS): Use wildcard syntax. 612 613 * Makefile.in (libcharset.la): Pass flag -no-undefined. Needed on 614 platforms like BeOS. 615 616 * Makefile.in (RM): New variable. 617 6182001-01-05 Bruno Haible <haible@clisp.cons.org> 619 620 * localcharset.c (volatile): Define to empty if not using ANSI C. 621 6222001-03-05 Bruno Haible <haible@clisp.cons.org> 623 624 * config.charset: Update for OSF/1 5.1. 625 6262001-03-01 Bruno Haible <haible@clisp.cons.org> 627 628 * config.charset: For DOS/DJGPP, add CP775. 629 6302001-02-24 Bruno Haible <haible@clisp.cons.org> 631 632 * config.charset: Add support for DOS/DJGPP. 633 6342001-02-25 Bruno Haible <haible@clisp.cons.org> 635 636 * localcharset.c (locale_charset): Don't return NULL. 637 6382001-02-24 Bruno Haible <haible@clisp.cons.org> 639 640 * localcharset.c (locale_charset): Don't use setlocale(LC_CTYPE,NULL). 641 6422001-01-30 Bruno Haible <haible@clisp.cons.org> 643 644 * config.charset: Update for FreeBSD 4.2. 645 6462000-12-19 Jim Meyering <jim@meyering.net> 647 648 * localcharset.c: Improve WIN32 macrology. 649 (locale_charset): Increase size of buffer. 650 6512000-12-18 Bruno Haible <haible@clisp.cons.org> 652 653 * config.charset: Add support for BeOS. 654 6552000-12-12 Bruno Haible <haible@clisp.cons.org> 656 657 * Makefile.in (ref-add.sed, ref-del.sed): Don't use $<, not understood 658 by Solaris "make". Reported by Toshimitsu Fujiwara. 659 6602000-12-08 Bruno Haible <haible@clisp.cons.org> 661 662 * Makefile.in (exec_prefix): Use configure's --exec-prefix argument. 663 6642000-12-02 Bruno Haible <haible@clisp.cons.org> 665 666 * Makefile.msvc: Replace STATIC with its opposite flag, DLL. 667 6682000-11-21 Bruno Haible <haible@clisp.cons.org> 669 670 * Makefile.msvc (MFLAGS): New variable. 671 (CFLAGS, charset.lib): Use it. 672 (INCLUDES): Use "..", not "..\include". 673 6742000-10-31 Bruno Haible <haible@clisp.cons.org> 675 676 * Makefile.msvc: New file. 677 6782000-10-31 Bruno Haible <haible@clisp.cons.org> 679 680 * config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII, 681 CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257 682 to the list of canonical encodings. Rename EUC-CN to GB2312. 683 * localcharset.c (locale_charset): Add support for Win32. 684