12006-11-27 Bruno Haible <bruno@clisp.org> 2 3 * gettext-0.16.1 released. 4 52006-10-26 Bruno Haible <bruno@clisp.org> 6 7 * gettext-0.16 released. 8 92006-10-24 Bruno Haible <bruno@clisp.org> 10 11 * localename.c (HAVE_LOCALE_NULL): Test __GLIBC__ instead of 12 __GNU_LIBRARY__. 13 142006-10-24 Bruno Haible <bruno@clisp.org> 15 16 * libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.16. 17 182006-10-18 Bruno Haible <bruno@clisp.org> 19 20 * lock.h [C++]: Wrap definitions in extern "C". 21 222006-10-17 Paul Eggert <eggert@cs.ucla.edu> 23 24 * localcharset.c: Do not check HAVE_SETLOCALE. 25 262006-10-09 Bruno Haible <bruno@clisp.org> 27 28 * langprefs.c: Update comment about locale name syntax. 29 * localename.c: Likewise. 30 312006-10-11 Paul Eggert <eggert@cs.ucla.edu> 32 Bruno Haible <bruno@clisp.org> 33 34 * printf-args.h (arg_type, argument): Test HAVE_LONG_LONG_INT 35 instead of HAVE_LONG_LONG. 36 * printf-args.c (printf_fetchargs): Likewise. 37 * printf-parse.c (PRINTF_PARSE): Likewise. 38 * vasnprintf.c (VASNPRINTF): Likewise. 39 402006-10-08 Bruno Haible <bruno@clisp.org> 41 42 * printf.c: Include errno.h, limits.h. 43 (EOVERFLOW): New fallback definition. 44 (libintl_vfprintf): Test whether the output length is > INT_MAX. 45 (libintl_vsprintf): Likewise. 46 (libintl_vsnprintf): Fix bug when vasnprintf requested more space than 47 needed. Fix return value when the entire result string would be larger 48 than the provided buffer. Test whether the output length is > INT_MAX. 49 (libintl_vasprintf): Test whether the output length is > INT_MAX. 50 (libintl_vfwprintf): Likewise. 51 (libintl_vswprintf): Fix bug when vasnwprintf requested more space than 52 needed. Test whether the output length is > INT_MAX. 53 542006-09-14 Bruno Haible <bruno@clisp.org> 55 56 * lock.c: Include <config.h> unconditionally. 57 * printf-args.c: Likewise. 58 * printf-parse.c: Likewise. 59 * relocatable.c: Likewise. 60 * vasnprintf.c: Likewise. 61 622006-08-26 Bruno Haible <bruno@clisp.org> 63 64 * vasnprintf.c (EOVERFLOW): Remove definition. 65 (VASNPRINTF): Return a string of length > INT_MAX without failing. 66 672006-10-02 Bruno Haible <bruno@clisp.org> 68 69 * libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.15.1. 70 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 8:1:0. 71 722006-09-14 Bruno Haible <bruno@clisp.org> 73 74 * localcharset.c: Include <config.h> unconditionally. 75 762006-09-10 Bruno Haible <bruno@clisp.org> 77 78 * Makefile.in (install_sh): New variable. 79 Fixes "make install" errors in packages that have no 'mkinstalldirs' 80 file and use automake <= 1.9.x, on platforms where 'mkdir' does not 81 support the -p option. 82 83 * Makefile.in (mkinstalldirs): Prefix with $(SHELL). 84 852006-08-29 Bruno Haible <bruno@clisp.org> 86 87 * localcharset.c: Include configmake.h in order to get LIBDIR defined. 88 892006-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 90 91 * Makefile.in (MKDIR_P): New variable. Needed by $(mkdir_p) with 92 Automake-1.10. 93 942006-07-29 Bruno Haible <bruno@clisp.org> 95 96 * localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist. 97 982006-07-25 Bruno Haible <bruno@clisp.org> 99 100 * Makefile.msvc: Remove file. 101 * Makefile.in (DISTFILES.gettext): Remove libgnuintl.h.msvc-static, 102 libgnuintl.h.msvc-shared, Makefile.msvc. 103 (DISTFILES.obsolete): Add libgnuintl.h.msvc-static, 104 libgnuintl.h.msvc-shared, Makefile.msvc. 105 1062006-07-25 Bruno Haible <bruno@clisp.org> 107 108 * Makefile.vms: Remove file. 109 * Makefile.in (DISTFILES.gettext): Remove libgnuintl.h_vms, 110 Makefile.vms. 111 (DISTFILES.obsolete): Add libgnuintl.h_vms, Makefile.vms. 112 1132006-07-21 Bruno Haible <bruno@clisp.org> 114 115 * gettext-0.15 released. 116 1172006-07-21 Bruno Haible <bruno@clisp.org> 118 119 * Makefile.in (mkinstalldirs): New variable. Needed for mkdir_p. 120 1212006-07-20 Bruno Haible <bruno@clisp.org> 122 123 * dcigettext.c (HAVE_NL_LOCALE_NAME): Undefine. 124 1252006-07-20 Bruno Haible <bruno@clisp.org> 126 127 * libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.15.0. 128 1292006-07-20 Bruno Haible <bruno@clisp.org> 130 131 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 8:0:0. 132 1332006-07-13 Bruno Haible <bruno@clisp.org> 134 135 * printf.c (libintl_printf): Define to __printf__ on NetBSD, Cygwin, 136 mingw. 137 Reported by haibin zhang <dragzhb@yahoo.com.cn>. 138 1392006-06-22 Ulrich Drepper <drepper@redhat.com> 140 141 * dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't look 142 further, return original strings. 143 (_nl_find_msg): Do not return found translation if the conversion 144 failed. Either signal the string is unusable or that something went 145 wrong and the original should be used. 146 1472006-06-23 Bruno Haible <bruno@clisp.org> 148 149 * l10nflist.c (__argz_count, __argz_stringify, __argz_next): Define 150 using the non-underscored functions when available. Avoids warnings 151 on Cygwin. 152 Reported by Eric Blake. 153 1542006-06-19 Bruno Haible <bruno@clisp.org> 155 156 * libgnuintl.h.in (libintl_printf): Define to __printf__ on NetBSD, 157 Cygwin, mingw. 158 Reported by Henry Nelson <netb@yuba.ne.jp>. 159 1602006-06-17 Bruno Haible <bruno@clisp.org> 161 162 * bindtextdom.c (gl_rwlock_define, gl_rwlock_wrlock, gl_rwlock_unlock) 163 [_LIBC]: New macros. 164 (_nl_state_lock, set_binding_values): Use gl_rwlock_* instead of 165 __libc_rwlock_*. 166 * dcigettext.c (gl_rwlock_define_initialized, gl_rwlock_rdlock, 167 gl_rwlock_wrlock, gl_rwlock_unlock) [_LIBC]: New macros. 168 (tree_lock, _nl_state_lock, DCIGETTEXT): Use gl_rwlock_* instead of 169 __libc_rwlock_*. 170 * finddomain.c (gl_rwlock_define_initialized, gl_rwlock_rdlock, 171 gl_rwlock_wrlock, gl_rwlock_unlock) [_LIBC]: New macros. 172 (_nl_find_domain): Use gl_rwlock_* instead of __libc_rwlock_*. 173 * textdomain.c (gl_rwlock_define, gl_rwlock_wrlock, gl_rwlock_unlock) 174 [_LIBC]: New macros. 175 (_nl_state_lock, TEXTDOMAIN): Use gl_rwlock_* instead of 176 __libc_rwlock_*. 177 Needed because NetBSD 3.0 <pthread.h> does 178 #define pthread_rwlock_rdlock __libc_rwlock_rdlock etc. 179 1802006-06-17 Bruno Haible <bruno@clisp.org> 181 182 * config.charset: Update for NetBSD 3.0. 183 1842006-05-24 Bruno Haible <bruno@clisp.org> 185 186 * printf-args.c (printf_fetchargs): Turn NULL pointers for 187 TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement. 188 Reported by Thorsten Maerz <torte@netztorte.de> via 189 Aaron Stone <aaron@serendipity.cx>. 190 1912006-05-15 Ulrich Drepper <drepper@redhat.com> 192 193 * dcigettext.c (category_to_name): Adjust for _nl_category_names 194 change. 195 1962006-04-06 Ulrich Drepper <drepper@redhat.com> 197 198 * finddomain.c (_nl_find_domain): We never return NULL if we found the 199 locale. 200 2012005-12-21 Roland McGrath <roland@redhat.com> 202 203 * l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later malloc 204 fails. 205 2062006-05-17 Bruno Haible <bruno@clisp.org> 207 208 Cygwin portability. 209 * loadinfo.h (PATH_SEPARATOR) [CYGWIN]: Define as ':'. 210 * localename.c (WIN32_NATIVE): Renamed from WIN32. 211 * localcharset.c (WIN32_NATIVE): Renamed from WIN32. 212 2132006-05-16 Bruno Haible <bruno@clisp.org> 214 215 * localcharset.c [CYGWIN]: Include <windows.h>. 216 (get_charset_aliases): For Cygwin, return the same CPxxx aliases list 217 as under WIN32. 218 (locale_charset) [CYGWIN]: Try to retrieve the encoding from the 219 environment variables. Fall back to GetACP(). 220 2212006-05-15 Bruno Haible <bruno@clisp.org> 222 223 * Makefile.in (LDFLAGS, libgnuintl.h): Treat mingw like Cygwin. 224 2252006-05-15 Bruno Haible <bruno@clisp.org> 226 227 * libgnuintl.h.in: Move the _INTL_MAY_RETURN_STRING_ARG annotations 228 from the function definition to the function declaration. Needed in 229 C++ mode. 230 2312006-05-11 Bruno Haible <bruno@clisp.org> 232 233 * intl-exports.c: New file. 234 * osdep.c: Include it on Cygwin. 235 * Makefile.in (LDFLAGS_yes, LDFLAGS_no): New variables. 236 (LDFLAGS): Use it. 237 (SOURCES): Add intl-exports.c. 238 (libgnuintl.h): When compiling a DLL on Cygwin, mark all exported 239 variables as to be imported. 240 2412006-04-17 Bruno Haible <bruno@clisp.org> 242 243 * Makefile.in (MKINSTALLDIRS, mkinstalldirs): Remove variables. 244 (mkdir_p): New variable. 245 (install-exec, install-data, installdirs): Use $(mkdir_p) instead of 246 $(mkinstalldirs). 247 2482006-04-05 Bruno Haible <bruno@clisp.org> 249 250 * config.charset: Update Juan Manuel Guerrero's address. 251 2522006-03-11 Bruno Haible <bruno@clisp.org> 253 254 * libgnuintl.h.in (_INTL_MAY_RETURN_STRING_ARG): Define to empty when 255 using g++ on MacOS X. 256 2572006-01-22 Bruno Haible <bruno@clisp.org> 258 259 * vasnprintf.c (VASNPRINTF): In the computation of the size of the 260 temporary buffer for sprintf, take into account the precision also 261 for 'd', 'i', 'u', 'o', 'x', 'X'. 262 2632006-01-10 Bruno Haible <bruno@clisp.org> 264 265 * localcharset.c: Assume ANSI C. Fixes a gcc warning. 266 Reported by Werner Lemberg <wl@gnu.org>. 267 2682005-12-25 Bruno Haible <bruno@clisp.org> 269 270 Fix compilation error when plural.c is generated by bison-2.1. 271 * Makefile.in (PLURAL_DEPS_yes, PLURAL_DEPS_no): New macros. 272 (plural.$lo): Add conditional dependency to libintl.h. 273 2742005-12-04 Bruno Haible <bruno@clisp.org> 275 276 Cygwin portability. 277 * relocatable.c: Include <windows.h> also on Cygwin. 278 (DllMain): Add support for Cygwin. 279 (get_shared_library_fullname): Update. 280 Patches partially from Charles Wilson <cygwin@cwilson.fastmail.fm>. 281 2822005-10-09 Bruno Haible <bruno@clisp.org> 2832002-07-24 Ulrich Drepper <drepper@redhat.com> 284 285 * explodename.c (_nl_explode_name): Simplify. 286 2872005-10-09 Bruno Haible <bruno@clisp.org> 2882002-07-24 Ulrich Drepper <drepper@redhat.com> 289 290 * explodename.c: Recognize the syntax 291 language[_territory][.codeset][@modifier] 292 instead of only 293 language[_territory[.codeset]][@modifier] 294 (_nl_find_language): Accept '.' as terminator. 295 (_nl_explode_name): Accept to parse a codeset without a territory. 296 Accept an underscore in the territory. 297 2982005-10-09 Bruno Haible <bruno@clisp.org> 2992002-07-24 Ulrich Drepper <drepper@redhat.com> 300 301 * explodename.c (_nl_find_language, _nl_explode_name): Remove support 302 for CEN-style locale variables. It was never used and shouldn't be 303 since it's not portable. 304 * finddomain.c (_nl_find_domain): Likewise. 305 * l10nflist.c (_nl_make_l10nflist): Likewise. 306 * loadinfo.h (_nl_make_l10nflist, _nl_explode_name): Likewise. 307 (CEN_*, XPG_SPECIFIC): Remove macros. 308 (XPG_TERRITORY): Renamed from TERRITORY. 309 3102005-08-28 Bruno Haible <bruno@clisp.org> 311 312 * libgnuintl.h.in: Add IN_LIBGLOCALE conditional. 313 * Makefile.in (libgnuintl.h, libintl.h): Remove the IN_LIBGLOCALE 314 conditional. 315 * dcigettext.c [IN_LIBGLOCALE]: Include also <libintl.h>, for 316 bindtextdomain(). 317 3182005-08-25 Bruno Haible <bruno@clisp.org> 319 320 * libintl.glibc: Update from current glibc. 321 * libgnuintl.h.in (_INTL_MAY_RETURN_STRING_ARG): New macro. 322 (gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext): 323 3242005-08-21 Bruno Haible <bruno@clisp.org> 325 326 * lock.h: Add multiple inclusion guard. 327 3282005-08-19 Bruno Haible <bruno@clisp.org> 329 330 * localealias.c (read_alias_file): In case of failure, close the 331 file descriptor and sort the array before returning. 332 3332005-08-19 Bruno Haible <bruno@clisp.org> 334 335 * localealias.c (read_alias_file) [IN_LIBGLOCALE]: Ignore aliases 336 containing an underscore. 337 3382005-07-31 Bruno Haible <bruno@clisp.org> 339 340 Make code usable in libglocale. 341 * gettextP.h (gl_dcigettext): New declaration. 342 (_nl_msg_cat_cntr): Export also from libglocale. 343 (_nl_find_msg): In libglocale, take the encoding as argument and no 344 convert flag. 345 * dcigettext.c (HAVE_PER_THREAD_LOCALE): Define in libglocale. 346 (struct known_translation_t): In libglocale, add encoding field. 347 (transcmp): In libglocale, compare also the encoding fields. 348 (libintl_version): Don't define in libglocale. 349 (_nl_current_default_domain, _nl_domain_bindings): Likewise. 350 (DCIGETTEXT): In libglocale, also take the localename and encoding 351 as arguments. Don't call nl_langinfo. Instead of walking the other 352 library's _nl_domain_bindings, use bindtextdomain. 353 (_nl_find_msg): In libglocale, take the encoding as argument and no 354 convert flag. Don't call get_output_charset. 355 (guess_category_value): In libglocale, take the locale name as 356 argument. Don't call __current_locale_name or uselocale or 357 _nl_locale_name_posix and _nl_locale_name_default. 358 (get_output_charset): Don't define in libglocale. 359 * loadmsgcat.c (_nl_load_domain): Update. 360 * plural-exp.h (plural_eval): Don't declare in libglocale. 361 3622005-08-03 Bruno Haible <bruno@clisp.org> 363 364 * Makefile.in: Add comments about VPATH. 365 3662005-07-31 Bruno Haible <bruno@clisp.org> 367 368 * lock.h (gl_lock_initializer): New macro. 369 (gl_lock_define_initialized): Use it. 370 (gl_rwlock_initializer): New macro. 371 (gl_rwlock_define_initialized): Use it. 372 (gl_recursive_lock_initializer): New macro. 373 (gl_recursive_lock_define_initialized): Use it. 374 3752005-07-31 Bruno Haible <bruno@clisp.org> 376 377 Avoid const-cast. 378 * dcigettext.c (DCIGETTEXT): Change type of 'dirname' to const char *. 379 Use an auxiliary variable 'resolved_dirname' of type 'char *'. 380 3812005-07-31 Bruno Haible <bruno@clisp.org> 382 383 * dcigettext.c (tree_lock): Remove extraneous semicolon. 384 3852005-07-25 Bruno Haible <bruno@clisp.org> 386 387 * libgnuintl.h.in (LIBINTL_VERSION): New macro. 388 (libintl_version): New declaration. 389 * version.c: New file. 390 * Makefile.in (SOURCES): Add version.c. 391 (OBJECTS): Add version.$lo. 392 (version.lo): New rule. 393 * Makefile.msvc (OBJECTS): Add version.obj. 394 (version.obj): New rule. 395 * Makefile.vms (OBJECTS): Add version.obj. 396 (version.obj): New rule. 397 3982005-07-25 Bruno Haible <bruno@clisp.org> 399 400 * intl-compat.c (DLL_EXPORTED) [HAVE_VISIBILITY]: Define to the gcc 401 visibility attribute. 402 4032005-07-24 Bruno Haible <bruno@clisp.org> 404 405 Tidy up exported symbols. 406 * export.h: New file. 407 * gettextP.h: Move declarations so that libgnuintl.h is included 408 before loadinfo.h. Needed because libgnuintl.h defines 409 LIBINTL_DLL_EXPORTED and loadinfo.h uses it. 410 (_nl_msg_cat_cntr): Export. 411 * loadinfo.h (LIBINTL_DLL_EXPORTED): Provide fallback declaration. 412 (_nl_expand_alias): Export. 413 * bindtextdom.c: Include gettextP.h before libgnuintl.h. Needed so 414 that _INTL_REDIRECT_MACROS is defined when libgnuintl.h is included. 415 Otherwise libgnuintl.h may choose to use _INTL_REDIRECT_ASM, and then 416 gcc-4.0 ignores visibility declarations. 417 * textdomain.c: Likewise. 418 * relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]: Define 419 to the gcc visibility attribute. 420 * Makefile.in (DEFS): Define also BUILDING_LIBINTL and BUILDING_DLL. 421 (CFLAGS): Add CFLAG_VISIBILITY. 422 (DISTFILES.common): Add export.h. 423 (libgnuintl.h): Add LIBINTL_DLL_EXPORTED definition and uses. 424 (libintl.h): Create directly from libgnuintl.h.in, without 425 LIBINTL_DLL_EXPORTED. 426 4272005-07-21 Bruno Haible <bruno@clisp.org> 428 429 * plural.y: Modify comment about #pragma alloca. 430 Suggested by Paul Eggert. 431 4322005-07-26 Bruno Haible <bruno@clisp.org> 433 434 * Makefile.in (datarootdir): New variable. 435 4362005-07-25 Bruno Haible <bruno@clisp.org> 437 438 Make pthread_in_use() return 0 on Solaris and HP-UX when not linking 439 with -lpthread. 440 * lock.h (pthread_in_use) [PTHREAD_IN_USE_DETECTION_HARD]: Define 441 through glthread_in_use. 442 * lock.c (dummy_thread_func, glthread_in_use): New functions. 443 4442005-07-22 Bruno Haible <bruno@clisp.org> 445 446 * Makefile.in (libintl.la, libgnuintl.la): Link with @LTLIBTHREADS@. 447 4482005-07-16 Bruno Haible <bruno@clisp.org> 449 450 * lock.h (gl_once_t): New type. 451 (gl_once_define, gl_once): New macros. 452 * lock.c (fresh_once): New variable. 453 (glthread_once, glthread_once_call, glthread_once_singlethreaded): New 454 functions. 455 4562005-07-16 Bruno Haible <bruno@clisp.org> 457 458 * lock.h: New file. 459 * lock.c: New file. 460 * bindtextdom.c: Include lock.h. Don't include THREAD_H. Remove 461 definitions of __libc_rwlock_*. 462 * finddomain.c: Likewise. 463 * textdomain.c: Likewise. 464 * dcigettext.c: Include lock.h. Don't include THREAD_H. Remove 465 definitions of __libc_lock_*, __libc_rwlock_*. 466 * loadmsgcat.c: Include lock.h. Don't include THREAD_H. Remove 467 definitions of __libc_lock_*_recursive. 468 * localealias.c: Include lock.h. Don't include THREAD_H. Remove 469 definitions of __libc_lock_*. 470 * log.c: Likewise. 471 * Makefile.in (HEADERS): Add lock.h. 472 (SOURCES): Add lock.c. 473 (OBJECTS): Add lock.$lo. 474 (lock.lo): New rule. 475 (bindtextdom.$lo, dcigettext.$lo, finddomain.$lo, loadmsgcat.$lo, 476 localealias.$lo, lock.$lo, log.$lo): Depend on lock.h. 477 * Makefile.msvc (OBJECTS): Add lock.obj. 478 (bindtextdom.obj, finddomain.obj, loadmsgcat.obj, localealias.obj, 479 dcigettext.obj, log.obj): Depend on lock.h. 480 (lock.obj): New rule. 481 * Makefile.vms (OBJECTS): Add lock.obj. 482 (bindtextdom.obj, finddomain.obj, loadmsgcat.obj, localealias.obj, 483 dcigettext.obj, log.obj): Depend on lock.h. 484 (lock.obj): New rule. 485 4862005-07-05 Bruno Haible <bruno@clisp.org> 487 488 * printf-args.c (printf_fetchargs): Work around broken definition of 489 wint_t on mingw. 490 4912005-07-02 Bruno Haible <bruno@clisp.org> 492 493 * localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others. 494 Reported by <mus1876@gmx.info> via Alain Bench <messtic@oreka.com>. 495 4962005-05-05 Bruno Haible <bruno@clisp.org> 497 498 Make libintl multithread-safe outside glibc. 499 * bindtextdom.c: Include THREAD_H. 500 (__libc_rwlock_*): Define also for USE_POSIX_THREADS or 501 USE_PTH_THREADS. 502 * dcigettext.c: Include THREAD_H. 503 (__libc_lock_*, __libc_rwlock_*): Define also for USE_POSIX_THREADS or 504 USE_PTH_THREADS. 505 (_nl_state_lock): Define always. 506 (tree_lock): Define outside DCIGETTEXT. 507 (DCIGETTEXT): ... not here. 508 * finddomain.c: Include THREAD_H. 509 (__libc_rwlock_*): Define also for USE_POSIX_THREADS or 510 USE_PTH_THREADS. 511 * loadmsgcat.c: Include THREAD_H. 512 (__libc_lock_*_recursive): Define also for USE_POSIX_THREADS or 513 USE_PTH_THREADS. 514 (_nl_load_domain): Remove extraneous comma. 515 * localealias.c: Include THREAD_H. 516 (__libc_lock_*): Define also for USE_POSIX_THREADS or USE_PTH_THREADS. 517 (lock): Define always. 518 (_nl_expand_alias): Use lock always. 519 * textdomain.c: Include THREAD_H. 520 (__libc_rwlock_*): Define also for USE_POSIX_THREADS or 521 USE_PTH_THREADS. 522 * log.c: Include THREAD_H. 523 (__libc_lock_*): Define also for USE_POSIX_THREADS or USE_PTH_THREADS. 524 (last_logfilename, last_logfile, lock): New variables. 525 (_nl_log_untranslated_locked): Renamed from _nl_log_untranslated. 526 (_nl_log_untranslated): Rewritten. 527 5282005-02-16 Roland McGrath <roland@redhat.com> 529 530 * dcigettext.c (_nl_find_msg): Add a cast. 531 532 * dcigettext.c (INTVARDEF, INTUSE): Macros removed. 533 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF. 534 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE. 535 * bindtextdom.c (INTUSE): Macro removed. 536 (_nl_default_dirname): Use libc_hidden_proto. 537 (set_binding_values): Don't use INTUSE. 538 5392005-05-05 Bruno Haible <bruno@clisp.org> 540 541 * dcigettext.c (__libc_rwlock_wrlock): Define fallback. 542 * finddomain.c (__libc_rwlock_define_initialized, 543 __libc_rwlock_rdlock, __libc_rwlock_wrlock, __libc_rwlock_unlock): 544 Define fallbacks. 545 * loadmsgcat.c (__libc_lock_define_initialized_recursive, 546 __libc_lock_lock_recursive, __libc_lock_unlock_recursive): Define 547 fallbacks. 548 (_nl_load_domain): Fix portability problems in last patch. 549 5502004-09-25 Ulrich Drepper <drepper@redhat.com> 551 552 * dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls. 553 * dcigettext.c (_nl_find_msg): Call _nl_load_domain also if 554 decided < 0. 555 * finddomain.c (_nl_find_domain): Likewise. 556 * loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we 557 are done. First set to -1 to signal initialization is ongoing. 558 Protect against concurrent callers with recursive lock. 559 * finddomain.c (_nl_find_domain): Protect calls to 560 _nl_make_l10nflist. [BZ #322] 561 5622004-08-06 Jakub Jelinek <jakub@redhat.com> 563 564 * finddomain.c (free_mem): Rename to... 565 (_nl_finddomain_subfreeres): ... this. Add __libc_freeres_fn_section. 566 * loadmsgcat.c (_nl_unload_domain): Add __libc_freeres_fn_section. 567 * gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC. 568 Add attribute_hidden. 569 (_nl_findomain_subfreeres): New prototype. 570 5712005-05-05 Bruno Haible <bruno@clisp.org> 572 573 * dcigettext.c (_nl_find_msg) [_LIBC]: Update norm_add_slashes call. 574 2004-03-24 Roland McGrath <roland@redhat.com> 575 * loadmsgcat.c (_nl_init_domain_conv): Update norm_add_slashes 576 call. 577 5782005-05-05 Bruno Haible <bruno@clisp.org> 579 580 * localealias.c (read_alias_file): Limit last patch to _LIBC case. 581 5822003-09-04 Ulrich Drepper <drepper@redhat.com> 583 584 * localealias.c (read_alias_file): Use fopen with 'c' mode flag. 585 5862003-09-03 Jakub Jelinek <jakub@redhat.com> 587 588 * loadmsgcat.c (open, close, read, mmap, munmap): Define as 589 function-like macros. 590 5912003-09-02 Ulrich Drepper <drepper@redhat.com> 592 593 * loadmsgcat.c: For _LIBC, call not cancelable versions of open, close, 594 and read. 595 5962003-06-18 Ulrich Drepper <drepper@redhat.com> 597 598 * localealias.c (read_alias_file): Determine whether line is read 599 incompletely early, before we modify the line. 600 6012005-05-05 Bruno Haible <bruno@clisp.org> 602 603 * hash-string.h (__hash_string): Define differently outside glibc. 604 * hash-string.c: Include config.h. 605 * Makefile.in (SOURCES): Add hash-string.c. 606 (OBJECTS): Add hash-string.$lo. 607 (hash-string.lo): New rule. 608 (hash-string.$lo): Depend on hash-string.h. 609 * Makefile.msvc (OBJECTS): Add hash-string.obj. 610 (hash-string.obj): New rule. 611 * Makefile.vms (OBJECTS): Add hash-string.obj. 612 (hash-string.obj): New rule. 613 6142003-06-11 Ulrich Drepper <drepper@redhat.com> 615 616 Remove warnings gcc 3.3 shows. 617 * hash-string.c: New file. 618 * hash-string.h: Remove hash_string definition. Declare __hash_string. 619 * dcigettext.c (_nl_find_msg): Adjust hash_string caller. 620 * loadmsgcat.c (_nl_load_domain): Likewise. 621 6222003-04-29 Jakub Jelinek <jakub@redhat.com> 623 624 * plural.y: Include string.h. Needed because recent versions of bison 625 generate output that uses memcpy(). 626 6272003-01-07 Ulrich Drepper <drepper@redhat.com> 628 629 * explodename.c (_nl_find_language.c): Mark as static. 630 * loadinfo.h: Remove _nl_find_language prototype. 631 6322005-04-30 Bruno Haible <bruno@clisp.org> 633 634 * langprefs.c: Use #include <CoreFoundation/...> syntax. It's a 635 special Apple syntax implemented in the C compiler, but since 636 <CFString.h> already uses it, all compilers usable on MacOS X must 637 support it. 638 * localename.c: Likewise. 639 6402005-05-03 Bruno Haible <bruno@clisp.org> 641 642 * dcigettext.c: Include langinfo.h. 643 (HAVE_PER_THREAD_LOCALE): Define also if HAVE_NL_LOCALE_NAME. 644 (DCIGETTEXT): Support retrieving the locale name through nl_langinfo 645 and NL_LOCALE_NAME. 646 6472005-03-20 Bruno Haible <bruno@clisp.org> 648 649 Make it possible for multiple threads to use gettext() in different 650 locales. 651 * dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro. 652 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename 653 field. 654 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields. 655 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in 656 search and newp. 657 (guess_category_value): If HAVE_PER_THREAD_LOCALE, look at the thread's 658 locale. 659 6602005-03-19 Bruno Haible <bruno@clisp.org> 661 662 * gettextP.h (struct loaded_domain): Remove codeset_cntr field. 663 (struct binding): Likewise. 664 * bindtextdom.c (set_binding_values): Drop codeset_cntr modifications. 665 6662005-03-19 Bruno Haible <bruno@clisp.org> 667 668 Fix gettext-tools/tests/gettext-5 bug. 669 * gettextP.h (struct converted_domain): New type. 670 (struct loaded_domain): Remove the conv, conv_tab fields. Add 671 conversions, nconversions fields. 672 (_nl_init_domain_conv): Remove declaration. 673 (_nl_free_domain_conv): Remove declaration. 674 (_nl_find_msg): Add convert argument. 675 * dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1. 676 (_nl_find_msg): Add convert argument. When a conversion to a different 677 charset is needed, create a new converted_domain element, instead of 678 throwing away the old converted translations. 679 (get_output_charset): New function. 680 * loadmsgcat.c (_nl_init_domain_conv): Remove function. 681 (_nl_free_domain_conv): Remove function. 682 (_nl_load_domain): Initialize the conversions array to empty. Use 683 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header 684 entry. 685 (_nl_unload_domain): Free the conversions array and its contents. 686 6872005-03-19 Bruno Haible <bruno@clisp.org> 688 689 * dcigettext.c (struct known_translation_t): Change type of domainname 690 field to 'const char *'. 691 (DCIGETTEXT): Remove const-cast. 692 6932005-04-18 Bruno Haible <bruno@clisp.org> 694 695 * libgnuintl.h.in (_INTL_REDIRECT_ASM): Test for __APPLE_CC__ > 1. 696 Needed because gcc-4.0 defines __APPLE_CC__ and implements 697 __USER_LABEL_PREFIX__ correctly. 698 * plural-exp.c (GERMANIC_PLURAL): Test for __APPLE_CC > 1. 699 Needed because gcc-4.0 defines __APPLE_CC__. 700 7012006-06-21 Bruno Haible <bruno@clisp.org> 702 703 * gettext-0.14.6 released. 704 7052005-05-23 Bruno Haible <bruno@clisp.org> 706 707 * gettext-0.14.5 released. 708 7092005-04-11 Bruno Haible <bruno@clisp.org> 710 711 * gettext-0.14.4 released. 712 7132005-04-11 Bruno Haible <bruno@clisp.org> 714 715 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:3:4. 716 7172005-03-16 Bruno Haible <bruno@clisp.org> 718 719 Canonicalize locale names on MacOS X. 720 * localename.c (_nl_locale_name_canonicalize): New function. 721 (_nl_locale_name_default): Use it. 722 * langprefs.c (_nl_locale_name_canonicalize): New declaration. 723 (_nl_language_preferences_default): Use it. 724 7252005-03-14 Bruno Haible <bruno@clisp.org> 726 727 * gettext-0.14.3 released. 728 7292005-03-14 Bruno Haible <bruno@clisp.org> 730 731 * Makefile.in (dist, distdir): Ignore a failure to copy Makefile.in. 732 Needed because the automake-1.9 generated dist rule of the parent 733 directory already copies this file. 734 7352005-03-08 Bruno Haible <bruno@clisp.org> 736 737 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:2:4. 738 7392005-03-06 Bruno Haible <bruno@clisp.org> 740 741 * Makefile.in (dist, distdir): Fail if some of the files to be 742 distributed do not exist or cannot be copied. 743 Suggested by Alexandre Duret-Lutz <adl@src.lip6.fr>. 744 7452005-02-24 Bruno Haible <bruno@clisp.org> 746 747 * gettext-0.14.2 released. 748 7492005-02-12 Bruno Haible <bruno@clisp.org> 750 751 * vasnprintf.c (EOVERFLOW): Define to a fallback if needed. 752 7532005-02-11 Bruno Haible <bruno@clisp.org> 754 755 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:1:4. 756 7572005-01-29 Bruno Haible <bruno@clisp.org> 758 759 * Makefile.am (libintl.la, libgnuintl.la): Use INTL_MACOSX_LIBS 760 instead of INTL_MACOSX_LDFLAGS. 761 7622004-09-08 Bruno Haible <bruno@clisp.org> 763 764 * vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length 765 is > INT_MAX. 766 7672005-01-01 Bruno Haible <bruno@clisp.org> 768 769 * dcigettext.c (guess_category_value): Let the environment variables 770 LC_ALL, LC_xxx, LANG take precedence over the system-dependent language 771 preference list. 772 * gettextP.h (_nl_language_preferences): Remove declaration. 773 (_nl_language_preferences_default): New declaration. 774 (_nl_locale_name_posix, _nl_locale_name_default): New declarations. 775 * langprefs.c (_nl_language_preferences_default): Renamed from 776 _nl_language_preferences. Remove handling of getenv("LANGUAGE"). 777 * localename.c (_nl_locale_name_posix, _nl_locale_name_default): New 778 functions, extracted from _nl_locale_name. 779 (_nl_locale_name): Use them. 780 7812004-09-06 Bruno Haible <bruno@clisp.org> 782 783 * localename.c (_nl_locale_name): Add code for MacOS X versions that 784 don't have the CFLocaleCopyCurrent() function. 785 * langprefs.c (_nl_language_preferences): Make code more robust. 786 7872004-09-05 Bruno Haible <bruno@clisp.org> 788 789 * langprefs.c: New file. 790 * gettextP.h (_nl_language_preferences): New declaration. 791 * dcigettext.c (guess_category_value) [!_LIBC]: Use 792 _nl_language_preferences. 793 * Makefile.in (SOURCES): Add langprefs.c. 794 (OBJECTS): Add langprefs.$lo. 795 (langprefs.lo): New rule. 796 * Makefile.msvc (OBJECTS): Add langprefs.obj. 797 (langprefs.obj): New rule. 798 * Makefile.vms (OBJECTS): Add langprefs.obj. 799 (langprefs.obj): New rule. 800 8012004-09-03 Bruno Haible <bruno@clisp.org> 802 803 * localename.c (_nl_locale_name): Use a more intelligent fallback on 804 MacOS X versions that have the CFLocaleCopyCurrent() function. 805 * Makefile.in (libintl.la, libgnuintl.la): Use the INTL_MACOSX_LDFLAGS. 806 8072004-09-01 Bruno Haible <bruno@clisp.org> 808 809 * config.charset: Add support for Darwin 7. 810 8112004-08-13 Bruno Haible <bruno@clisp.org> 812 813 * libgnuintl.h.in (__GNU_GETTEXT_SUPPORTED_REVISION): Treat major 814 revision 1 like major revision 0. Needed for 2004-01-09 change. 815 8162004-08-08 Bruno Haible <bruno@clisp.org> 817 818 * relocatable.c (FILE_SYSTEM_PREFIX_LEN): Renamed from 819 FILESYSTEM_PREFIX_LEN. 820 (compute_curr_prefix): Update. 821 8222004-05-14 Bruno Haible <bruno@clisp.org> 823 824 * vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision 825 that consists of a '.' followed by an empty digit string. 826 Patch by Tor Lillqvist <tml@iki.fi>. 827 8282004-04-28 Bruno Haible <bruno@clisp.org> 829 830 * dcigettext.c (ISSLASH, IS_ABSOLUTE_PATH, IS_PATH_WITH_DIR): Treat 831 Cygwin like Windows, since it now accepts Windows pathnames. 832 * l10nflist.c (ISSLASH, IS_ABSOLUTE_PATH): Treat Cygwin like Windows, 833 since it now accepts Windows pathnames. 834 * localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now 835 accepts Windows pathnames. 836 * relocatable.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN): 837 Treat Cygwin like Windows, since it now accepts Windows pathnames. 838 (compute_curr_prefix): Likewise. 839 Reported by Derek Robert Price <derek@ximbiot.com>. 840 8412004-04-23 Bruno Haible <bruno@clisp.org> 842 843 * localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR 844 environment variable to override LIBDIR. 845 Suggested by Matthias Clasen <mclasen@redhat.com>. 846 8472004-04-20 Jim Meyering <jim@meyering.net> 848 Bruno Haible <bruno@clisp.org> 849 850 * localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak 851 memory when realloc fails. 852 8532004-03-02 Bruno Haible <bruno@clisp.org> 854 855 * localename.c (_nl_locale_name): Add info about default territory for 856 Basque, Mongolian, Russian, Tamil. Map Norwegian to nb, not no. 857 8582004-02-02 Bruno Haible <bruno@clisp.org> 859 860 * Makefile.in (install-exec, installdirs, uninstall): Install 861 preloaded_libintl.so only on glibc systems, not on OpenBSD. 862 Reported by Han Boetes <han@mijncomputer.nl>. 863 8642004-01-29 Bruno Haible <bruno@clisp.org> 865 866 * gettext-0.14.1 released. 867 8682004-01-28 Bruno Haible <bruno@clisp.org> 869 870 * gettext-0.14 released. 871 8722004-01-21 Bruno Haible <bruno@clisp.org> 873 874 * config.charset: Add support for MacOS X (Darwin). 875 8762004-01-18 Bruno Haible <bruno@clisp.org> 877 878 * localename.c (_nl_locale_name): Use two-letter ISO 639 codes for 879 Divehi, Fulfulde, Igbo, Kanuri, Venda. 880 8812004-01-17 Bruno Haible <bruno@clisp.org> 882 883 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:0:4. 884 8852003-12-02 Jakub Jelinek <jakub@redhat.com> 886 887 * locale.alias: Use nb_NO instead of no_NO for bokmål. 888 8892003-11-03 Ulrich Drepper <drepper@redhat.com> 890 891 * locale.alias: nb_NO is now the correct name, not no_NO. 892 8932004-01-09 Bruno Haible <bruno@clisp.org> 894 895 * gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition. 896 * loadmsgcat.c (get_sysdep_segment_value): Handle "I". 897 (_nl_load_domain): Treat major revision 1 like major revision 0. 898 8992004-01-08 Bruno Haible <bruno@clisp.org> 900 901 * loadmsgcat.c (_nl_load_domain): When a string pair uses a system 902 dependent segment not known to this version of the library, ignore 903 the string pair instead of crashing. 904 9052003-12-17 Bruno Haible <bruno@clisp.org> 906 907 * gettext-0.13.1 released. 908 9092003-12-17 Bruno Haible <bruno@clisp.org> 910 911 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:1:4. 912 9132003-12-05 Bruno Haible <bruno@clisp.org> 914 915 * localename.c (_nl_locale_name): Change result for Latin Uzbek locale 916 to match the glibc name. 917 9182003-12-02 Bruno Haible <bruno@clisp.org> 919 920 * localename.c (LANG_AMHARIC, LANG_BURMESE, LANG_CAMBODIAN, 921 LANG_CHEROKEE, LANG_EDO, LANG_FRISIAN, LANG_FULFULDE, LANG_GUARANI, 922 LANG_HAUSA, LANG_HAWAIIAN, LANG_IBIBIO, LANG_IGBO, LANG_INUKTITUT, 923 LANG_KANURI, LANG_LAO, LANG_LATIN, LANG_OROMO, LANG_PAPIAMENTU, 924 LANG_PASHTO, LANG_SINHALESE, LANG_SOMALI, LANG_TAGALOG, LANG_TAJIK, 925 LANG_TAMAZIGHT, LANG_TIBETAN, LANG_TIGRINYA, LANG_TURKMEN, LANG_YI, 926 LANG_YIDDISH, LANG_YORUBA): New macros. 927 (LANG_GAELIC, LANG_MALTESE, LANG_RHAETO_ROMANCE, LANG_SAAMI, LANG_SUTU, 928 LANG_TSONGA, LANG_TSWANA, LANG_VENDA, LANG_WELSH, LANG_XHOSA, 929 LANG_ZULU): New macros, consistent with those found in Wine. 930 (SUBLANG_BENGALI_INDIA, SUBLANG_BENGALI_BANGLADESH, 931 SUBLANG_ENGLISH_INDONESIA, SUBLANG_ENGLISH_HONGKONG, 932 SUBLANG_ENGLISH_INDIA, SUBLANG_ENGLISH_MALAYSIA, 933 SUBLANG_ENGLISH_SINGAPORE, SUBLANG_FRENCH_WESTINDIES, 934 SUBLANG_FRENCH_REUNION, SUBLANG_FRENCH_CONGO, SUBLANG_FRENCH_SENEGAL, 935 SUBLANG_FRENCH_CAMEROON, SUBLANG_FRENCH_COTEDIVOIRE, 936 SUBLANG_FRENCH_MALI, SUBLANG_FRENCH_MOROCCO, SUBLANG_FRENCH_HAITI, 937 SUBLANG_PUNJABI_INDIA, SUBLANG_PUNJABI_PAKISTAN, 938 SUBLANG_ROMANIAN_ROMANIA, SUBLANG_ROMANIAN_MOLDOVA, 939 SUBLANG_SINDHI_INDIA, SUBLANG_SINDHI_PAKISTAN, 940 SUBLANG_TAMAZIGHT_ARABIC, SUBLANG_TAMAZIGHT_LATIN, 941 SUBLANG_TIGRINYA_ETHIOPIA, SUBLANG_TIGRINYA_ERITREA): New macros. 942 (_nl_locale_name) [WIN32]: Use them. Improve handling of Bengali, 943 Serbian, English, French, Punjabi, Romanian, Sindhi, Tamazight, 944 Tigrinya. 945 9462003-12-02 Bruno Haible <bruno@clisp.org> 947 948 * config.charset: Treat the new country name CS like the old country 949 name YU. 950 9512003-11-30 Bruno Haible <bruno@clisp.org> 952 953 * gettext-0.13 released. 954 9552003-11-23 Paul Eggert <eggert@twinsun.com> 956 Bruno Haible <bruno@clisp.org> 957 958 * printf-parse.h: Don't include sys/types.h. 959 (ARG_NONE): New macro. 960 (char_directive): Change type of *arg_index fields to size_t. 961 * wprintf-parse.h: Don't include sys/types.h. 962 (ARG_NONE): New macro. 963 (wchar_t_directive): Change type of *arg_index fields to size_t. 964 * printf-parse.c: Don't include sys/types.h. 965 (SSIZE_MAX): Remove macro. 966 (PRINTF_PARSE): Change the type of the arg_index variables to size_t. 967 Remove unnecessary overflow check. 968 * vasnprintf.c (VASNPRINTF): Update for type change of *arg_index 969 fields. 970 9712003-11-17 Bruno Haible <bruno@clisp.org> 972 973 * vasnprintf.c (alloca): Remove fallback definition. 974 (freea): Remove definition. 975 (VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes. 976 Reported by Paul Eggert. 977 9782003-11-16 Paul Eggert <eggert@twinsun.com> 979 Bruno Haible <bruno@clisp.org> 980 981 Protect against address arithmetic overflow. 982 * printf-args.h: Include stddef.h. 983 (arguments): Change type of field 'count' to size_t. 984 * printf-args.c (printf_fetchargs): Use size_t instead of 985 'unsigned int' where appropriate. 986 * printf-parse.h: Include sys/types.h. 987 (char_directive): Change type of *arg_index fields to ssize_t. 988 (char_directives): Change type of fields 'count', max_*_length to 989 size_t. 990 * wprintf-parse.h: Include sys/types.h. 991 (wchar_t_directive): Change type of *arg_index fields to ssize_t. 992 (wchar_t_directives): Change type of fields 'count', max_*_length to 993 size_t. 994 * printf-parse.c: Include sys/types.h and xsize.h. 995 (SSIZE_MAX): Define fallback value. 996 (PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t 997 instead of 'int' where appropriate. Check a_allocated, d_allocated 998 against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1. 999 * vasnprintf.c: Include xsize.h. 1000 (VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate. 1001 Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against 1002 overflow. Avoid wraparound when converting a width or precision from 1003 decimal to binary. 1004 * xsize.h: New file, from gnulib. 1005 * Makefile.in (HEADERS): Add xsize.h. 1006 (printf.$lo): Depend on it. 1007 10082003-11-16 Bruno Haible <bruno@clisp.org> 1009 1010 * libgnuintl.h.in (_INTL_REDIRECT_ASM): Don't define on AIX with gcc 2. 1011 Reported by Kouichi Hashikawa <z01a7ksy@cs.ecip.tohoku.ac.jp>. 1012 10132003-10-19 Bruno Haible <bruno@clisp.org> 1014 1015 * hash-string.h (hash_string): Zero-extend each char from the string; 1016 the old code did a sign-extend on some platforms. 1017 10182003-10-19 Jim Meyering <jim@meyering.net> 1019 1020 * vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20. 1021 10222003-10-09 Bruno Haible <bruno@clisp.org> 1023 1024 * relocatable.c: Include xalloc.h instead of xmalloc.h. 1025 10262003-10-07 Bruno Haible <bruno@clisp.org> 1027 1028 Assume ANSI C. 1029 * libgnuintl.h.in (PARAMS): Remove macro. 1030 (gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext, 1031 textdomain, bindtextdomain, bind_textdomain_codeset, fprintf, vfprintf, 1032 printf, vprintf, sprintf, vsprintf, snprintf, vsnprintf, asprintf, 1033 vasprintf, fwprintf, vfwprintf, wprintf, vwprintf, swprintf, vswprintf, 1034 libintl_set_relocation_prefix): Use ANSI C function declarations. 1035 * gettextP.h (PARAMS): Remove macro. 1036 (_nl_locale_name, _nl_find_domain, _nl_load_domain, _nl_unload_domain, 1037 _nl_init_domain_conv, _nl_free_domain_conv, _nl_find_msg, __gettext, 1038 __dgettext, __dcgettext, __ngettext, __dngettext, __dcngettext, 1039 __dcigettext, __textdomain, __bindtextdomain, 1040 __bind_textdomain_codeset, libintl_dcigettext): Use ANSI C function 1041 declarations. 1042 * hash-string.h (PARAMS): Remove macro. 1043 (hash_string): Use ANSI C function declaration. 1044 * loadinfo.h (PARAMS): Remove macro. 1045 (_nl_normalize_codeset, _nl_make_l10nflist, _nl_expand_alias, 1046 _nl_explode_name, _nl_find_language): Use ANSI C function declarations. 1047 * plural-exp.h (PARAMS): Remove macro. 1048 (FREE_EXPRESSION, PLURAL_PARSE, GERMANIC_PLURAL, 1049 EXTRACT_PLURAL_EXPRESSION): Use ANSI C function declarations. 1050 * bindtextdom.c (set_binding_values, BINDTEXTDOMAIN, 1051 BIND_TEXTDOMAIN_CODESET): Use ANSI C function declarations. 1052 * dcgettext.c (DCGETTEXT): Likewise. 1053 * dcigettext.c (transcmp, DCIGETTEXT, _nl_log_untranslated, 1054 _nl_find_msg, plural_lookup, category_to_name, guess_category_value, 1055 stpcpy, mempcpy): Likewise. 1056 * dcngettext.c (DCNGETTEXT): Likewise. 1057 * dgettext.c (DGETTEXT): Likewise. 1058 * dngettext.c (DNGETTEXT): Likewise. 1059 * eval-plural.h (plural_eval): Likewise. 1060 * explodename.c (_nl_find_language, _nl_explode_name): Likewise. 1061 * finddomain.c (_nl_find_domain): Likewise. 1062 * gettext.c (GETTEXT): Likewise. 1063 * intl-compat.c (gettext, dgettext, dcgettext, ngettext, dngettext, 1064 dcngettext, textdomain, bindtextdomain, bind_textdomain_codeset): 1065 Likewise. 1066 * l10nflist.c (argz_count__, argz_stringify__, argz_next__, pop, 1067 _nl_make_l10nflist, _nl_normalize_codeset, stpcpy): Likewise. 1068 * loadmsgcat.c (get_sysdep_segment_value, _nl_init_domain_conv, 1069 locale_charset, _nl_free_domain_conv, _nl_load_domain, 1070 _nl_unload_domain): Likewise. 1071 * localealias.c (_nl_expand_alias, read_alias_file, alias_compare): 1072 Likewise. 1073 * localename.c (_nl_locale_name): Likewise. 1074 * log.c (print_escaped, _nl_log_untranslated): Likewise. 1075 * ngettext.c (NGETTEXT): Likewise. 1076 * plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise. 1077 * plural.y (new_exp, new_exp_0, new_exp_1, new_exp_2, new_exp_3, 1078 FREE_EXPRESSION, yylex, yyerror): Likewise. 1079 * textdomain.c (TEXTDOMAIN): Likewise. 1080 10812003-09-17 Bruno Haible <bruno@clisp.org> 1082 1083 * printf.c: Test HAVE_FWPRINTF, not HAVE_WPRINTF. Needed for 1084 portability to Cygwin. 1085 10862003-09-04 Bruno Haible <bruno@clisp.org> 1087 1088 * dgettext.c: Include <locale.h> after gettextP.h, not before. This 1089 ensures that libintl_dcgettext is correctly declared on Solaris. 1090 (Needed because Solaris <locale.h> includes libintl.h.) 1091 * dngettext.c: Likewise, for the libintl_dcngettext declaration. 1092 10932003-08-29 Bruno Haible <bruno@clisp.org> 1094 1095 * vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF. 1096 Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF. 1097 * printf.c: Likewise. 1098 10992003-08-27 Bruno Haible <bruno@clisp.org> 1100 1101 * Makefile.in (install-exec): Fix the 2003-04-06 patch. 1102 11032003-08-24 Bruno Haible <bruno@clisp.org> 1104 1105 * vasnprintf.c (local_wcslen): Protect against multiple definition. 1106 (USE_SNPRINTF): Define also if only _snprintf() is available. 1107 (SNPRINTF): Possibly define as _snprintf or _snwprintf. 1108 * printf.c (DLL_EXPORTED): New macro. 1109 Mark all functions as DLL_EXPORTED. 1110 (system_vsnprintf): New macro. 1111 (libintl_vsnprintf): Use it. 1112 (system_vswprintf): New macro. 1113 (libintl_vswprintf): Use it. 1114 11152003-08-24 Bruno Haible <bruno@clisp.org> 1116 1117 * libgnuintl.h.in: Use <stdarg.h> when compiling with MSVC, even though 1118 it doesn't define __STDC__ by default. 1119 11202003-08-24 Bruno Haible <bruno@clisp.org> 1121 1122 * relocatable.h: Make this file includable in C++ mode: add extern "C". 1123 11242003-08-23 Bruno Haible <bruno@clisp.org> 1125 1126 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:0:4. 1127 11282003-08-20 Bruno Haible <bruno@clisp.org> 1129 1130 * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2. 1131 Reported by Alain Guibert <derogaton+bgli@oreka.com>. 1132 11332003-08-14 Bruno Haible <bruno@clisp.org> 1134 1135 * config.charset: Add support for Linux libc5. Based on data from 1136 Alain Guibert <derogaton+bgli@oreka.com>. 1137 11382003-08-11 Bruno Haible <bruno@clisp.org> 1139 1140 * vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1. 1141 (VASNPRINTF): Use it instead of wcslen. 1142 11432003-08-01 Bruno Haible <bruno@clisp.org> 1144 1145 * relocatable.c (find_shared_library_fullname): Disable the code on 1146 Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>. 1147 11482003-06-27 Bruno Haible <bruno@clisp.org> 1149 1150 Avoid use of *_unlocked functions on Solaris 2.5.1. 1151 * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED. 1152 * localealias.c: Test HAVE_DECL_*_UNLOCKED, not HAVE_*_UNLOCKED. 1153 Reported by Eric Botcazou <ebotcazou@libertysurf.fr>. 1154 11552003-06-22 Bruno Haible <bruno@clisp.org> 1156 1157 Portability to mingw32. 1158 * relocatable.c [WIN32]: Include <windows.h>. 1159 Reported by Jeff Bonggren <jbon@cfl.rr.com>. 1160 11612003-06-22 Bruno Haible <bruno@clisp.org> 1162 1163 * relocatable.c (compute_curr_prefix): Comment out this function in 1164 the case when it is not used. 1165 Reported by Pavel Roskin <proski@gnu.org>. 1166 11672003-06-22 Bruno Haible <bruno@clisp.org> 1168 1169 * gettextP.h: Undefine _INTL_REDIRECT_INLINE, _INTL_REDIRECT_MACROS, 1170 possibly defined in config.h, before setting _INTL_REDIRECT_MACROS. 1171 Reported by Pavel Roskin <proski@gnu.org>. 1172 11732003-06-19 Bruno Haible <bruno@clisp.org> 1174 1175 * printf-args.h: New file, from ../libasprintf. 1176 * printf-args.c: New file, from ../libasprintf. 1177 * printf-parse.h: New file, from ../libasprintf. 1178 * printf-parse.c: New file, from ../libasprintf. 1179 * vasnprintf.h: New file, from ../libasprintf. 1180 * vasnprintf.c: New file, from ../libasprintf. 1181 * wprintf-parse.h: New file. 1182 * vasnwprintf.h: New file. 1183 * printf.c: New file. 1184 * libgnuintl.h.in (fprintf, vfprintf, printf, vprintf, sprintf, 1185 vsprintf, snprintf, vsnprintf, asprintf, vasprintf, fwprintf, 1186 vfwprintf, wprintf, vwprintf, swprintf, vswprintf): New fallback 1187 macros. 1188 * Makefile.in (HEADERS): Add printf-args.h, printf-args.c, 1189 printf-parse.h, wprintf-parse.h, printf-parse.c, vasnprintf.h, 1190 vasnwprintf.h, vasnprintf.c. 1191 (SOURCES): Add printf.c. 1192 (OBJECTS): Add printf.$lo. 1193 (DISTFILES.gettext): Add libgnuintl.h_vms, libgnuintl.h.msvc-static. 1194 (printf.lo): New rule. 1195 (libgnuintl.h): Also perform some AC_SUBST substitutions. 1196 (printf.$lo): New dependencies. 1197 * Makefile.msvc (OBJECTS): Add printf.obj. 1198 (libgnuintl.h): Use libgnuintl.h.msvc-static. 1199 (printf.obj): New rule. 1200 * Makefile.vms (libgnuintl.h): Use libgnuintl.h_vms. 1201 12022003-06-12 Bruno Haible <bruno@clisp.org> 1203 1204 * libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Mingw. 1205 Reported by Tor Lillqvist <tml@iki.fi>. 1206 12072003-06-08 Bruno Haible <bruno@clisp.org> 1208 1209 * dcigettext.c (getcwd) [VMS]: Pass 3 arguments. 1210 Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>. 1211 12122003-05-22 Bruno Haible <bruno@clisp.org> 1213 1214 * gettext-0.12.1 released. 1215 12162003-05-20 Bruno Haible <bruno@clisp.org> 1217 1218 * Makefile.in (VPATH): Add back this variable, needed outside gettext 1219 when $builddir != $srcdir. 1220 Reported by Pavel Roskin <proski@gnu.org>. 1221 12222003-05-18 Bruno Haible <bruno@clisp.org> 1223 1224 * Makefile.msvc (DEBUGFLAGS): New variable. 1225 (intl.lib): Use it. 1226 12272003-05-17 Bruno Haible <bruno@clisp.org> 1228 1229 * gettext-0.12 released. 1230 12312003-05-12 Bruno Haible <bruno@clisp.org> 1232 1233 * Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from 1234 CFLAGS to PICFLAGS. 1235 Reported by Perry Rapp. 1236 12372003-05-07 Bruno Haible <bruno@clisp.org> 1238 1239 * Makefile.vms (install): Fix mistake. 1240 12412003-05-03 Bruno Haible <bruno@clisp.org> 1242 1243 * Makefile.in (LIBS): New variable. 1244 (libintl.la, libgnuintl.la): Use it. 1245 Reported by Andreas Buening <andreas.buening@nexgo.de>. 1246 12472003-04-12 Bruno Haible <bruno@clisp.org> 1248 1249 * Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no 1250 lines. Update library creation rule. Don't use the force target. 1251 Correct wildcard syntax. 1252 Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>. 1253 12542003-04-12 Bruno Haible <bruno@clisp.org> 1255 1256 * localcharset.c (get_charset_aliases): Add special case for VMS. 1257 12582003-04-06 Bruno Haible <bruno@clisp.org> 1259 1260 * Makefile.in (install-exec): Remove the installed libintl.la if it 1261 has hardwired pathnames in dependency_libs and the installed package 1262 shall be relocatable. 1263 12642003-04-05 Bruno Haible <bruno@clisp.org> 1265 1266 * relocatable.c: Rely on DEPENDS_ON_LIBCHARSET, DEPENDS_ON_LIBICONV, 1267 DEPENDS_ON_LIBINTL, not on NO_LIBRARIES. 1268 * Makefile.in (DEFS): Define DEPENDS_ON_LIBICONV, for relocatable.c. 1269 * Makefile.msvc (CFLAGS): Also define DEPENDS_ON_LIBICONV. 1270 12712003-04-05 Bruno Haible <bruno@clisp.org> 1272 1273 * relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets 1274 declared by <stdio.h>. 1275 12762003-04-04 Bruno Haible <bruno@clisp.org> 1277 1278 * gettextP.h [!_LIBC]: Remove declarations of exported libintl_* 1279 functions; include libgnuintl.h instead. 1280 * intl-compat.c: Remove include of libgnuintl.h. 1281 (DLL_EXPORTED): New macro. 1282 (gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext, 1283 textdomain, bindtextdomain, bind_textdomain_codeset): Use it. 1284 12852003-04-04 Bruno Haible <bruno@clisp.org> 1286 1287 * libgnuintl.h.in (libintl_set_relocation_prefix): Convert extern 1288 declaration to K&R syntax. 1289 12902003-03-30 Bruno Haible <bruno@clisp.org> 1291 1292 * Makefile.vms: New file. 1293 * Makefile.in (DISTFILES.gettext): Add Makefile.vms. 1294 12952003-03-30 Bruno Haible <bruno@clisp.org> 1296 1297 * Makefile.in (INCLUDES): Mention the current directory first. 1298 12992003-03-17 Bruno Haible <bruno@clisp.org> 1300 1301 Native Woe32/MSVC support. 1302 * libgnuintl.h.in: Renamed from libgnuintl.h. 1303 * Makefile.msvc: New file. 1304 * README.woe32: New file. 1305 * Makefile.in (HEADERS): Remove libgnuintl.h, add libgnuintl.h.in. 1306 (DISTFILES.gettext): Add libgnuintl.h.msvc-shared, README.woe32, 1307 Makefile.msvc. 1308 (DISTFILES.obsolete): Add libgnuintl.h. 1309 (libgnuintl.h): New rule. 1310 (libintl.h, $(OBJECTS)): Expect libgnuintl.h in builddir, not in 1311 srcdir. 1312 (mostlyclean): Also remove libgnuintl.h. 1313 * dcigettext.c (alloca): Add support for MSVC. 1314 * loadmsgcat.c (alloca): Likewise. 1315 * localealias.c (alloca): Likewise. 1316 * relocatable.h (RELOCATABLE_DLL_EXPORTED): New macro. 1317 1318 * Makefile.in (loadmsgcat.$lo): Depend on hash-string.h. 1319 13202003-02-28 Bruno Haible <bruno@clisp.org> 1321 1322 * Makefile.in (localcharset.$lo): Depend on localcharset.h. 1323 13242003-02-28 Bruno Haible <bruno@clisp.org> 1325 1326 Support for relocatable installation. 1327 * relocatable.h: New file. 1328 * relocatable.c: New file. 1329 * libgnuintl.h (libintl_set_relocation_prefix): New declaration. 1330 * localealias.c: Include relocatable.h. 1331 (read_alias_file): Relocate LOCALE_ALIAS_PATH element. 1332 * localcharset.c: Include relocatable.h. 1333 (get_charset_aliases): Relocate LIBDIR value. 1334 * Makefile.in (DEFS): Define also ENABLE_RELOCATABLE, IN_LIBRARY, 1335 INSTALLDIR, NO_XMALLOC, set_relocation_prefix, relocate. 1336 (HEADERS): Add relocatable.h. 1337 (SOURCES): Add relocatable.c. 1338 (OBJECTS): Add relocatable.$lo. 1339 (relocatable.$lo): New rule. 1340 13412003-02-28 Bruno Haible <bruno@clisp.org> 1342 1343 * Makefile.in (mkinstalldirs): Simplify. Prepending "$(top_builddir)/" 1344 in the case of a relative $srcdir is now handled in gettext.m4. 1345 13462003-02-28 Bruno Haible <bruno@clisp.org> 1347 1348 * localcharset.h: Change copyright to LGPL. Enclose declaration in 1349 extern "C", for C++ compilers. 1350 * localcharset.c: Drop C linkage declaration. 1351 13522003-02-18 Bruno Haible <bruno@clisp.org> 1353 1354 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 5:0:3. 1355 13562003-01-29 Bruno Haible <bruno@clisp.org> 1357 1358 * config.charset: Add an alias for CP1251 on Solaris. 1359 Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>. 1360 13612003-02-16 Bruno Haible <bruno@clisp.org> 1362 1363 * log.c: New file. 1364 * dcigettext.c (DCIGETTEXT) [!_LIBC]: Before returning the 1365 untranslated string, call _nl_log_untranslated. 1366 * intl-compat.c: Comments. 1367 * Makefile.in (SOURCES): Add log.c. 1368 (OBJECTS): Add intl-compat.$lo unconditionally. Add log.$lo. 1369 (log.lo): New rule. 1370 (install-exec): Stop using @INTLOBJS@. Install preloadable_libintl.so. 1371 (installdirs, uninstall): Update accordingly. 1372 13732003-02-16 Bruno Haible <bruno@clisp.org> 1374 1375 * Makefile.in (.sin.sed): Remove rule. 1376 (ref-add.sed, ref-del.sed): New rules. 1377 13782003-02-12 Bruno Haible <bruno@clisp.org> 1379 1380 Big restructuring. 1381 * Makefile.in: Make usable with $srcdir != $builddir even when not 1382 using GNU make. 1383 (VPATH): Remove variable. 1384 (.c.lo): Remove rule. Use a separate rule for every object file. 1385 (libintl.h, charset.alias, $(OBJECTS)): Refer to $srcdir where 1386 appropriate. 1387 (INCLUDES): Simplify. 1388 (install-exec): Special case packages 'gettext-runtime' and 1389 'gettext-tools'. 1390 (install-data): Special case package 'gettext-tools'. 1391 (installdirs, uninstall): Special case packages 'gettext-runtime' and 1392 'gettext-tools'. 1393 (distclean, dist): Likewise. 1394 (Makefile): Work around autoconf error message. 1395 13962003-01-12 Bruno Haible <bruno@clisp.org> 1397 1398 * localcharset.h: New file. 1399 * localcharset.c: Include it. 1400 * Makefile.in (HEADERS): Add localcharset.h. 1401 (COMHDRS): Remove variable, fold into HEADERS. 1402 (COMSRCS): Remove variable, fold into SOURCES. 1403 14042002-12-12 Bruno Haible <bruno@clisp.org> 1405 1406 * dcigettext.c (INTVARDEF): Correct fallback definition. 1407 14082002-11-19 Ulrich Drepper <drepper@redhat.com> 1409 1410 * localealias.c (read_alias_file): Use only about 400 bytes of stack 1411 space instead of 16k. 1412 14132002-10-30 Jakub Jelinek <jakub@redhat.com> 1414 1415 * finddomain.c (free_mem): Use libc_freeres_fn macro, remove 1416 text_set_element. 1417 * dcigettext.c (free_mem): Likewise. 1418 14192002-10-25 Jakub Jelinek <jakub@redhat.com> 1420 1421 * localealias.c (libc_freeres_ptr): Define if !_LIBC. 1422 (string_space, map): Add libc_freeres_ptr. 1423 (free_mem): Remove. 1424 14252002-09-19 Bruno Haible <bruno@clisp.org> 1426 1427 * dcigettext.c (DCIGETTEXT): Restore errno only right before 1428 returning. 1429 14302002-09-01 Roland McGrath <roland@redhat.com> 1431 1432 * localealias.c [__GNUC__]: #undef alloca before #define. 1433 14342002-08-30 Roland McGrath <roland@redhat.com> 1435 1436 * dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY. 1437 [_LIBC] (category_to_name): Don't define the function. Instead define 1438 a macro using _nl_category_names. 1439 14402002-08-04 Ulrich Drepper <drepper@redhat.com> 1441 1442 * dcigettext.c: Define _nl_default_dirname_internal as hidden alias 1443 and use it. 1444 * bindtextdom.c: Use _nl_default_dirname_internal. 1445 14462002-08-03 Roland McGrath <roland@redhat.com> 1447 1448 * dcigettext.c (guess_category_value): Use __current_locale_name 1449 instead of calling setlocale. 1450 14512002-08-02 Roland McGrath <roland@redhat.com> 1452 1453 * loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT. 1454 14552002-07-30 Roland McGrath <roland@redhat.com> 1456 1457 * loadmsgcat.c [__GNUC__]: #undef alloca before defining it. 1458 14592002-05-01 Ulrich Drepper <drepper@redhat.com> 1460 1461 Revert 2002-04-09 change. 1462 * dcngettext.c (__dcngettext_internal): Remove alias. 1463 * dngettext.c: Use __dcngettext instead of __dcngettext_internal. 1464 * ngettext.c: Likewise. 1465 14662002-11-07 Bruno Haible <bruno@clisp.org> 1467 1468 * Makefile.in (mostlyclean): Remove object files on OS/2 as well. 1469 Reported by Andreas Buening <andreas.buening@nexgo.de>. 1470 14712002-10-16 Bruno Haible <bruno@clisp.org> 1472 1473 * Makefile.in (ps, pdf, html, ctags): New targets, for automake-1.7 1474 compatibility. 1475 (CTAGS): New rule. 1476 14772002-09-18 Bruno Haible <bruno@clisp.org> 1478 1479 * libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Apple cc. 1480 Reported by Julien Chiron <julien.chiron@univ.u-3mrs.fr>. 1481 14822002-08-06 Bruno Haible <bruno@clisp.org> 1483 1484 * gettext-0.11.5 released. 1485 14862002-07-25 Bruno Haible <bruno@clisp.org> 1487 1488 * gettext-0.11.4 released. 1489 14902002-07-25 Bruno Haible <bruno@clisp.org> 1491 1492 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 4:0:2. 1493 14942002-07-23 Bruno Haible <bruno@clisp.org> 1495 1496 * loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN is set. 1497 14982002-07-21 Bruno Haible <bruno@clisp.org> 1499 1500 * libgnuintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro. 1501 * gmo.h (struct mo_file_header): New fields n_sysdep_segments, 1502 sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset, 1503 trans_sysdep_tab_offset. 1504 (struct sysdep_segment): New type. 1505 (struct sysdep_string): New type. 1506 (SEGMENTS_END): New macro. 1507 * gettextP.h (struct sysdep_string_desc): New type. 1508 (struct loaded_domain): New fields malloced, n_sysdep_strings, 1509 orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields 1510 orig_tab, trans_tab, hash_tab to const pointers because they point 1511 into read-only memory. 1512 * loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h. 1513 (PRI*): Define fallback values. 1514 (get_sysdep_segment_value): New function. 1515 (_nl_load_domain): Distinguish major and minor revision parts. Add 1516 support for minor revision 1 with system dependent strings. 1517 (_nl_unload_domain): Also free the 'malloced' field. 1518 * dcigettext.c (_nl_find_msg): Remove test for domain->hash_size, now 1519 done in loadmsgcat.c. Add support for system dependent strings. 1520 15212002-07-17 Bruno Haible <bruno@clisp.org> 1522 1523 * gettext-0.11.3 released. 1524 15252002-07-16 Bruno Haible <bruno@clisp.org> 1526 1527 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 3:0:1. 1528 15292002-07-13 Bruno Haible <bruno@clisp.org> 1530 1531 * dcigettext.c (freea): New macro. 1532 (FREE_BLOCKS): Free also the registered blocks. 1533 (DCIGETTEXT): Free the 'search' variable. 1534 Reported by Andreas Fischer <a.fischer@asentics.de>. 1535 15362002-06-13 Bruno Haible <bruno@clisp.org> 1537 1538 Make absolute pathnames inside $LANGUAGE work. 1539 * l10nflist.c (_nl_make_l10nflist): Ignore dirlist if language is an 1540 absolute path. Fix sizes passed to malloc. Simplify linked list 1541 handling. 1542 15432002-06-13 Bruno Haible <bruno@clisp.org> 1544 1545 * localename.c [WIN32] (LANG_DIVEHI, LANG_GALICIAN, LANG_KYRGYZ, 1546 LANG_MONGOLIAN, LANG_SYRIAC): Provide fallback definitions. 1547 (_nl_locale_name): Add Amharic, Burmese, Cambodian, Cherokee, Divehi, 1548 Edo, Frisian, Fulfulde, Gaelic, Guarani, Hausa, Hawaiian, Ibibio, 1549 Igbo, Inuktitut, Kanuri, Kyrgyz, Lao, Latin, Maltese, Mongolian, 1550 Oromo, Papiamentu, Pashto, Rhaeto-Romance, Sami, Sinhalese, Somali, 1551 Syriac, Tagalog, Tajik, Tomazight, Tibetan, Tigrinya, Tsonga, Turkmen, 1552 Venda, Welsh, Xhosa, Yi, Yiddish, Yoruba, Zulu. Fix Swahili, Tatar. 1553 15542002-06-07 Bruno Haible <bruno@clisp.org> 1555 1556 * dcigettext.c (INTDIV0_RAISES_SIGFPE): Define a fallback. 1557 Include <signal.h>. 1558 * eval-plural.h (plural_eval): Let division by zero cause SIGFPE on 1559 all platforms. 1560 15612002-05-30 Bruno Haible <bruno@clisp.org> 1562 1563 * libgnuintl.h (_INTL_REDIRECT_ASM, _INTL_REDIRECT_INLINE, 1564 _INTL_REDIRECT_MACROS, _INTL_ASM, _INTL_ASMNAME, _INTL_STRINGIFY): 1565 New macros. Use them instead of plain preprocessor level indirection 1566 when appropriate. 1567 * intl-compat.c: Define _INTL_REDIRECT_MACROS. 1568 15692002-05-28 Bruno Haible <bruno@clisp.org> 1570 1571 * localename.c (LANG_SORBIAN): Provide a default value, for mingw32. 1572 Reported by Michael Opdenacker <m-opdenacker@ti.com> 1573 and Rob Leslie <rob@mars.org>. 1574 15752002-05-09 Bruno Haible <bruno@clisp.org> 1576 1577 * config.charset: Update for newest glibc. Add canonical names 1578 ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS. 1579 15802002-05-09 Bruno Haible <bruno@clisp.org> 1581 1582 * localcharset.c (get_charset_aliases): Add more Windows specific 1583 aliases. 1584 15852002-05-08 Owen Taylor <otaylor@redhat.com> 1586 1587 * config.charset: A few additions for Solaris. 1588 15892001-12-05 Bruno Haible <bruno@clisp.org> 1590 1591 * localcharset.c (locale_charset): Don't return an empty string. 1592 15932001-10-23 Bruno Haible <haible@clisp.cons.org> 1594 1595 * config.charset: msdos in uk_UA uses CP1125. 1596 15972001-08-05 Bruno Haible <haible@clisp.cons.org> 1598 1599 Make it possible to build libcharset with CC=gcc CFLAGS="-x c++". 1600 * localcharset.c (locale_charset): Declare as extern "C". 1601 (get_charset_aliases): Cast malloc and realloc results to 'char *'. 1602 16032002-04-30 Bruno Haible <bruno@clisp.org> 1604 1605 * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to 1606 the encoding if it already has slashes. 1607 Reported by Perry Rapp <prapp@erols.com>. 1608 16092002-04-27 Bruno Haible <bruno@clisp.org> 1610 1611 * libgnuintl.h: Redirect every function to the one prefixed with 1612 "libintl_". Remove __OPTIMIZED variants. 1613 * gettextP.h: Use prefix "libintl_" instead of suffix "__". 1614 * dcigettext.c: Likewise. 1615 * dcgettext.c: Likewise. 1616 * dgettext.c: Likewise. 1617 * gettext.c: Likewise. 1618 * dcngettext.c: Likewise. 1619 * dngettext.c: Likewise. 1620 * ngettext.c: Likewise. 1621 * textdomain.c: Likewise. 1622 * bindtextdom.c: Likewise. 1623 * plural-exp.h: Likewise. 1624 * os2compat.c: Likewise. 1625 * intl-compat.c: Likewise. 1626 16272002-04-24 Bruno Haible <bruno@clisp.org> 1628 1629 * gettext-0.11.2 released. 1630 16312002-04-24 Bruno Haible <bruno@clisp.org> 1632 1633 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:1:0. 1634 16352002-04-19 Bruno Haible <bruno@clisp.org> 1636 1637 * gettextP.h (attribute_hidden): Define as empty macro if not 1638 already defined. 1639 16402002-04-09 Ulrich Drepper <drepper@redhat.com> 1641 1642 * dcngettext.c [_LIBC]: Use INTUSE for __dcngettext. 1643 * dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE. 1644 * ngettext.c: Likewise. 1645 * l10nflist.c [_LIBC]: Use INTUSE for __argz_count and 1646 __argz_stringify. 1647 16482002-04-08 Ulrich Drepper <drepper@redhat.com> 1649 1650 * dcgettext.c (__dcgettext): Use INTDEF to define alias. 1651 * dgettext.c: Call __dcgettext_internal instead of __dcgettext. 1652 * gettext.c: Likewise. 1653 16542002-03-12 Ulrich Drepper <drepper@redhat.com> 1655 1656 * plural-exp.h (attribute_hidden): Define as empty macro if not 1657 already defined. 1658 (GERMANIC_PLURAL): Declare as hidden. 1659 * dcigettext.c (_nl_default_default_domain): Define as hidden. 1660 (_nl_current_default_domain): Likewise 1661 (_nl_state_lock): Likewise. 1662 * textdomain.c (_nl_default_default_domain): Declare as hidden. 1663 (_nl_current_default_domain): Likewise 1664 (_nl_state_lock): Likewise. 1665 * bindtextdom.c (_nl_state_lock): Likewise. 1666 16672002-03-15 Andrew Zabolotny <zap@cobra.ru> 1668 1669 * os2compat.h: Use prefix _nlos2 instead of _os2, to avoid any 1670 possible name clashes. 1671 * os2compat.c: Likewise. 1672 16732002-03-15 Bruno Haible <bruno@clisp.org> 1674 1675 * libgnuintl.h (LC_MESSAGES): Don't define on Solaris 2.5, to avoid 1676 a warning. 1677 Reported by Stephen Gildea <gildea@stop.mail-abuse.org>. 1678 16792002-03-12 Bruno Haible <bruno@clisp.org> 1680 1681 * gettext-0.11.1 released. 1682 16832002-02-15 Bruno Haible <bruno@clisp.org> 1684 1685 * config.charset [msdosdjgpp]: For Russian, use CP866. 1686 16872002-02-14 Andrew Zabolotny <zap@cobra.ru> 1688 1689 * os2compat.c (_nl_default_dirname__): Renamed from 1690 _nl_default_dirname. 1691 16922002-02-10 Bruno Haible <bruno@clisp.org> 1693 1694 * localename.c: Change copyright notice from GPL to LGPL. 1695 * eval-plural.h: Likewise. 1696 16972002-02-11 Bruno Haible <bruno@clisp.org> 1698 1699 * config.charset: Add support for NetBSD. 1700 17012002-01-31 Bruno Haible <bruno@clisp.org> 1702 1703 * gettext-0.11 released. 1704 17052002-01-31 Bruno Haible <bruno@clisp.org> 1706 1707 * eval-plural.h: Renamed from plural-eval.c. 1708 * dcigettext.c: Include eval-plural.h instead of plural-eval.c. 1709 * Makefile.in (COMHDRS): Remove plural-eval.c, add eval-plural.h. 1710 (DISTFILES.obsolete): Add plural-eval.c. 1711 17122002-01-24 Bruno Haible <bruno@clisp.org> 1713 1714 * Makefile.in (libintl.la): Use @LTLIBICONV@ instead of @LIBICONV@. 1715 17162002-01-10 Andrew Zabolotny <zap@cobra.ru> 1717 Bruno Haible <bruno@clisp.org> 1718 1719 * dcigettext.c (_nl_default_dirname): On OS/2, declare, not define. 1720 * localcharset.c: Rework OS/2 support. 1721 * config.charset: Add OS/2 support. 1722 * os2compat.c: Renamed from os2.c. 1723 (_nl_default_dirname): Define here. 1724 * os2compat.h: Moved here from ../os2/. 1725 * osdep.c: Update. 1726 * Makefile.in (COMHDRS): Add os2compat.h. 1727 (COMSRCS): Add os2compat.c, remove os2.c. 1728 17292002-01-05 Bruno Haible <bruno@clisp.org> 1730 1731 * Makefile.in (libintl.la): Add -lc. Needed on AIX. 1732 17332002-01-02 Bruno Haible <bruno@clisp.org> 1734 1735 * loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to 1736 K&R syntax. 1737 17382002-01-02 Bruno Haible <bruno@clisp.org> 1739 1740 * plural.y: Fix %expect count. 1741 17422001-12-23 Bruno Haible <bruno@clisp.org> 1743 1744 * os2.c (os2_initialize): Use LOCALEDIR_MAX macro. 1745 17462001-12-21 Bruno Haible <bruno@clisp.org> 1747 1748 * localcharset.c (ISSLASH): Provide definition for DOS-like systems. 1749 17502001-12-21 Bruno Haible <bruno@clisp.org> 1751 1752 * libgettext.h: Moved to ../lib/gettext.h. 1753 * Makefile.in (HEADERS): Remove libgettext.h. 1754 (DISTFILES.obsolete): Add libgettext.h. 1755 17562001-12-21 Bruno Haible <bruno@clisp.org> 1757 1758 * gmo.h: Renamed from gettext.h. 1759 * gettext.h: Remove file. 1760 * gettextP.h: Update accordingly. 1761 * loadmsgcat.c: Likewise. 1762 * Makefile.in (COMHDRS): Add gmo.h, remove gettext.h. 1763 (DISTFILES.obsolete): Add gettext.h. 1764 Update dependencies. 1765 17662001-12-18 Bruno Haible <bruno@clisp.org> 1767 1768 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:0:0. 1769 Used to force an soname of at least libintl.so.2 on Solaris, which 1770 already has a different libintl.so.1 in /usr/lib. 1771 17722001-12-15 Andrew Zabolotny <zap@cobra.ru> 1773 Bruno Haible <bruno@clisp.org> 1774 1775 * osdep.c: New file. 1776 * os2.c: New file. 1777 * dcigettext.c (DCIGETTEXT): Add backward compatibility support for 1778 OS/2. 1779 * localcharset.c: Add OS/2 support. 1780 * localealias.c (_nl_expand_alias): Initialize locale_alias_path once, 1781 but not statically. 1782 * Makefile.in (COMSRCS): Add osdep.c, os2.c. 1783 (OBJECTS): Add osdep.$lo. 1784 17852001-12-12 Bruno Haible <bruno@clisp.org> 1786 1787 * libgettext.h [!ENABLE_NLS]: Cast all function results to 1788 'const char *'. 1789 Reported by Alexandre Duret-Lutz <duret_g@lrde.epita.fr>. 1790 17912001-12-03 Bruno Haible <bruno@clisp.org> 1792 1793 * Makefile.in (install-exec): Don't create an empty libdir. 1794 (installdirs): Update accordingly. 1795 17962001-11-30 Bruno Haible <bruno@clisp.org> 1797 1798 * plural-exp.h (plural_eval): Add back declaration. 1799 * Makefile.in (OBJECTS): Remove plural-eval.$lo. 1800 (COMSRCS): Remove plural-eval.c. 1801 (COMHDRS): Add plural-eval.c. 1802 (plural-eval.$lo): Remove dependency. 1803 (dcigettext.$lo): Depend on plural-eval.c. 1804 18052001-11-29 Bruno Haible <bruno@clisp.org> 1806 1807 * gettextP.h (_nl_locale_name): Don't declare inside glibc. 1808 * localename.c (_nl_locale_name): Remove _LIBC conditional. 1809 18102001-11-27 Ulrich Drepper <drepper@redhat.com> 1811 1812 * dcigettext.c (guess_category_value): Inside glibc, use setlocale 1813 directly, not _nl_locale_name. 1814 18152001-11-27 Ulrich Drepper <drepper@redhat.com> 1816 1817 * loadmsgcat.c (_nl_init_domain_conv): Modify #if expression. 1818 18192001-11-27 Ulrich Drepper <drepper@redhat.com> 1820 1821 * plural-eval.c (plural_eval): Rename back from PLURAL_EVAL. 1822 * plural-exp.h (PLURAL_EVAL): Remove declaration. 1823 * dcigettext.c Include plural-eval.c. 1824 (plural_lookup): Call plural_eval instead of PLURAL_EVAL. 1825 18262001-11-22 Bruno Haible <bruno@clisp.org> 1827 1828 * plural-exp.h (GERMANIC_PLURAL): New declaration. 1829 * plural-exp.c (GERMANIC_PLURAL): Renamed from germanic_plural. 1830 * loadmsgcat.c (_nl_unload_domain): Update. 1831 18322001-07-17 Ulrich Drepper <drepper@redhat.com> 1833 1834 * localealias.c (read_alias_file): Disable implicit locking 1835 for the stream. Use _unlocked functions for glibc. 1836 18372001-11-11 Bruno Haible <haible@clisp.cons.org> 1838 1839 * Makefile.in (dist): Avoid using hard links, because the automake-1.5 1840 generated toplevel 'distdir' target chmods all the distributed files. 1841 18422001-11-10 Bruno Haible <haible@clisp.cons.org> 1843 1844 * libgnuintl.h (_INTL_PARAMS): Renamed from PARAMS, to avoid polluting 1845 the user's namespace. 1846 Also test for __GNUC__, __SUNPRO_C and __PROTOTYPES because on 1847 64-bit Solaris, we need prototypes although __STDC__ is often defined 1848 to 0. __GNUC__ covers GCC, __SUNPRO_C covers Sun cc, regardless of 1849 compilation flags. __PROTOTYPES covers other compilers when compiling 1850 programs using autoconf's AC_C_PROTOTYPES. 1851 * gettextP.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris 1852 cc needs prototypes although it defines __STDC__ to 0 by default. 1853 Also test for __cplusplus and __PROTOTYPES, just for consistency with 1854 libgnuintl.h. 1855 * hash-string.h (PARAMS): Likewise. 1856 * loadinfo.h (PARAMS): Likewise. 1857 * plural-exp.h (PARAMS): Likewise. 1858 18592001-10-31 Bruno Haible <haible@clisp.cons.org> 1860 1861 * plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc. 1862 18632001-10-31 Bruno Haible <haible@clisp.cons.org> 1864 1865 * COPYING.LIB-2.0: Renamed from COPYING.LIB-2. 1866 * Makefile.in (DISTFILES.gettext, install-data, uninstall): Update. 1867 (DISTFILES.obsolete): Add COPYING.LIB-2. 1868 18692001-10-09 Bruno Haible <haible@clisp.cons.org> 1870 1871 * localcharset.c (getc): Define as getc_unlocked if available. 1872 18732001-09-27 Bruno Haible <haible@clisp.cons.org> 1874 1875 * Makefile.in (install-strip, installdirs): New rules. 1876 18772001-09-24 Bruno Haible <haible@clisp.cons.org> 1878 1879 * localename.c: New file, integrating a function from 1880 Tor Lillqvist <tml@iki.fi>. 1881 * gettextP.h: New declaration. 1882 * dcigettext.c (guess_category_value): Call _nl_locale_name. 1883 * Makefile.in (COMSRCS): Add localename.c. 1884 (OBJECTS): Add localename.$lo. 1885 18862001-09-22 Bruno Haible <haible@clisp.cons.org> 1887 1888 * plural-eval.c: New file, extracted from dcigettext.c. 1889 * plural-exp.h (PLURAL_EVAL): New declaration. 1890 * dcigettext.c (plural_eval): Remove function, moved to plural-eval.c. 1891 (plural_lookup): Call PLURAL_EVAL instead of plural_eval. 1892 * Makefile.in (COMSRCS): Add plural-eval.c. 1893 (OBJECTS): Add plural-eval.$lo. 1894 18952001-09-22 Bruno Haible <haible@clisp.cons.org> 1896 1897 * plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that don't 1898 start with a digit; nplurals must be positive. 1899 19002001-10-20 Bruno Haible <haible@clisp.cons.org> 1901 1902 Assume strchr() exists. (Without it, explodename.c wouldn't link 1903 anyway.) 1904 * dcigettext.c (strchr): Remove fallback definition; it conflicts with 1905 the variable 'index' in plural_lookup. 1906 * l10nflist.c (strchr): Likewise. 1907 * localealias.c (strchr): Likewise. 1908 19092001-09-24 Bruno Haible <haible@clisp.cons.org> 1910 1911 * loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration 1912 when building on a glibc system but outside glibc. 1913 19142001-09-02 Bruno Haible <haible@clisp.cons.org> 1915 1916 * plural-exp.h: New file, extracted from gettextP.h. 1917 * plural-exp.c: New file, extracted from loadmsgcat.c. 1918 * gettextP.h (struct expression, struct parse_args, 1919 __gettext_free_exp, __gettextparse): Move to plural-exp.h. 1920 * loadmsgcat.c: Include plural-exp.h. 1921 (PLURAL_PARSE): Move macro to plural-exp.h. 1922 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to 1923 plural-exp.c. 1924 (_nl_load_domain): Move plural handling code to plural-exp.c. Call 1925 EXTRACT_PLURAL_EXPRESSION. 1926 * dcigettext.c: Include plural-exp.h. 1927 * plural.y: Include plural-exp.h, not gettextP.h. 1928 (FREE_EXPRESSION): Move macro to plural-exp.h. 1929 * Makefile.in (DEFS): Define IN_LIBINTL. 1930 (COMHDRS): Add plural-exp.h. 1931 (COMSRCS): Add plural-exp.c. 1932 (OBJECTS): Add plural-exp.$lo. 1933 Update dependencies. 1934 19352001-07-28 Bruno Haible <haible@clisp.cons.org> 1936 1937 * l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, isdigit, 1938 tolower argument to 'unsigned char'. 1939 * loadmsgcat.c (_nl_load_domain): Cast isspace argument to 1940 'unsigned char'. 1941 * localealias.c (read_alias_file): Cast isspace argument to 1942 'unsigned char'. 1943 19442001-07-23 Bruno Haible <haible@clisp.cons.org> 1945 1946 * gettext.h: Assume <limits.h> exists. 1947 19482001-09-13 Bruno Haible <haible@clisp.cons.org> 1949 1950 * gettext-0.10.40 released. 1951 19522001-07-11 Ulrich Drepper <drepper@redhat.com> 1953 1954 * locale.alias: Use he language code for hebrew, not iw. 1955 19562001-09-13 Bruno Haible <haible@clisp.cons.org> 1957 1958 * *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL. 1959 This is a reaction to a blackmail from the GNOME project which 1960 threatened to distribute an LGPLed clone of libintl. 1961 * COPYING.LIB-2, COPYING.LIB-2.1: New files. 1962 * Makefile.in (DISTFILES.gettext): Add them. 1963 (install-data): Install them. 1964 (uninstall): Uninstall them. 1965 19662001-07-24 Bruno Haible <haible@clisp.cons.org> 1967 1968 * gettext-0.10.39 released. 1969 19702001-06-24 Bruno Haible <haible@clisp.cons.org> 1971 1972 * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS. 1973 Change canonical name of SJIS to SHIFT_JIS. 1974 19752001-06-12 Bruno Haible <haible@clisp.cons.org> 1976 1977 * dcigettext.c (DCIGETTEXT): Release the lock before returning. 1978 19792001-04-30 Bruno Haible <haible@clisp.cons.org> 1980 1981 Silence "gcc -Wall -Wwrite-strings" warnings. 1982 * localcharset.c (charset_aliases): Change type to 'const char *'. 1983 (get_charset_aliases): Change type of 'cp' to 'const char *'. 1984 19852001-05-23 Bruno Haible <haible@clisp.cons.org> 1986 1987 * gettext-0.10.38 released. 1988 19892001-05-22 Bruno Haible <haible@clisp.cons.org> 1990 1991 * Makefile.in (install-data): Install plural.c as well. 1992 (uninstall): Uninstall plural.c as well. 1993 19942001-05-18 Bruno Haible <haible@clisp.cons.org> 1995 1996 * Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute 1997 file in either current directory or $(srcdir), whichever exists. 1998 19992001-05-11 Bruno Haible <haible@clisp.cons.org> 2000 2001 * Makefile.in (install-exec): Don't install charset.alias on glibc 2.1 2002 systems. 2003 20042001-04-30 Bruno Haible <haible@clisp.cons.org> 2005 2006 * dcigettext.c (getuid, getgid, geteuid, getegid): Provide default 2007 definitions. Needed for mingw32. 2008 20092001-04-19 Bruno Haible <haible@clisp.cons.org> 2010 2011 * gettext-0.10.37 released. 2012 20132001-04-19 Bruno Haible <haible@clisp.cons.org> 2014 2015 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0. 2016 20172001-04-19 Bruno Haible <haible@clisp.cons.org> 2018 2019 * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when 2020 the libiconv version is smaller than 1.5. 2021 20222001-04-09 Bruno Haible <haible@clisp.cons.org> 2023 2024 * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined. 2025 Apple's MacOS X compiler has not all the features that the regular 2026 GCC with the same version number has. 2027 20282001-04-07 Bruno Haible <haible@clisp.cons.org> 2029 2030 * gettextP.h (struct loaded_domain): Add codeset_cntr field. 2031 (struct binding): Add codeset_cntr field. 2032 (_nl_load_domain): Add domainbinding argument. 2033 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. 2034 (_nl_find_msg): New declaration, moved here from loadinfo.h. 2035 * loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. 2036 (_nl_make_l10nflist): Remove domainbinding argument. 2037 (_nl_find_msg): Move declaration to gettextP.h. 2038 * bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0. 2039 Increment it when ->codeset is changed. 2040 * dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. 2041 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter 2042 if domainbinding->codeset_cntr has been incremented. 2043 * finddomain.c (_nl_find_domain): Don't pass domainbinding to 2044 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. 2045 * l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. 2046 * loadmsgcat.c (_nl_init_domain_conv): New function, extracted from 2047 _nl_load_domain. Append //TRANSLIT also when using libiconv. 2048 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. 2049 (_nl_load_domain): Add domainbinding argument. Call 2050 _nl_init_domain_conv. 2051 (_nl_unload_domain): Call _nl_free_domain_conv. 2052 20532001-04-09 Bruno Haible <haible@clisp.cons.org> 2054 2055 * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2 2056 (Linux libc5). 2057 20582001-04-04 Bruno Haible <haible@clisp.cons.org> 2059 2060 * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__. 2061 20622001-04-04 Bruno Haible <haible@clisp.cons.org> 2063 2064 * Makefile.in (libdir, includedir, datadir): Use the autoconf 2065 determined value, in order to respect the configure arguments. 2066 (gettextsrcdir): Use $(datadir), not @datadir@. 2067 20682001-03-29 Bruno Haible <haible@clisp.cons.org> 2069 2070 * gettext-0.10.36 released. 2071 20722001-03-25 Bruno Haible <haible@clisp.cons.org> 2073 2074 * Makefile.in (install-data): Set execution bits on installed 2075 config.charset. 2076 20772001-03-23 Bruno Haible <haible@clisp.cons.org> 2078 2079 * Makefile.in (YACC): Use @INTLBISON@ instead of bison. 2080 20812001-03-21 Bruno Haible <haible@clisp.cons.org> 2082 2083 * dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc 2084 chokes on empty macro arguments. 2085 * plural.y: Add #pragma for alloca on AIX 3. 2086 20872001-03-20 Bruno Haible <haible@clisp.cons.org> 2088 2089 * Makefile.in (DISTFILES.generated): New variable. 2090 (DISTFILES.gettext): Remove plural.c. 2091 (dist): Use DISTFILES.generated. 2092 (YACC): Use "bison -y" instead of @YACC@. 2093 Needed for "make dist" to work in normal packages. 2094 20952001-03-20 Bruno Haible <haible@clisp.cons.org> 2096 2097 * Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate 2098 the files to be distributed through a recursive 'make' call. 2099 21002001-03-17 Bruno Haible <haible@clisp.cons.org> 2101 2102 * gettextP.h (struct expression): Add operators lnot, less_than, 2103 greater_than, less_or_equal, greater_or_equal. Replace args2/args3 2104 union by a 'nargs' counter and an 'args[]' array. 2105 * plural.y: Don't include stdarg.h. 2106 (new_exp): New function. 2107 (new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp. 2108 (new_exp_1): New function. 2109 ('?' ':'): Make right-associative. 2110 (EQUOP2): New token, replaces '=' and '!'. 2111 (CMPOP2): New token. 2112 (ADDOP2): New token, replaces '+' and '-'. 2113 (MULOP2): New token, replaces '*', '/' and '%'. 2114 ('!'): New token. 2115 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT. 2116 (start): Call YYABORT here. 2117 (FREE_EXPRESSION): Update. 2118 (yylex): Don't skip "\\n". Recognize comparison and '!' operators. 2119 Update for new token symbols. 2120 * loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural): 2121 Update. 2122 * dcigettext.c (_nl_find_msg): Optimize for space. 2123 (plural_eval): Recognize comparison and '!' operators. Optimize for 2124 space. 2125 2126 * dcigettext.c (transcmp): New declaration. 2127 21282001-03-10 Bruno Haible <haible@clisp.cons.org> 2129 2130 * Makefile.in (libintl.la): Pass -liconv and flag -no-undefined. 2131 Needed on platforms like BeOS. 2132 2133 * Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la. 2134 (libgnuintl.a, libgnuintl.la): New targets. Needed for linking 2135 ../tests/tstgettext on systems which have gettext() in libintl.so. 2136 2137 * localcharset.c (locale_charset): Allow wildcard syntax. Resolve 2138 alias also if codeset is empty. 2139 * config.charset (BeOS): Use wildcard syntax. 2140 2141 * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL 2142 any more. 2143 21442001-03-09 Bruno Haible <haible@clisp.cons.org> 2145 2146 * config.charset: Update from libiconv-1.6. 2147 * localcharset.c: Likewise. 2148 21492001-02-25 Ulrich Drepper <drepper@redhat.com> 2150 2151 * locale.alias: Don't use nb_NO but define aliases for it. 2152 21532001-01-26 Ulrich Drepper <drepper@redhat.com> 2154 2155 * loadmsgcat.c: Include <locale.h> for _LIBC. 2156 21572001-03-09 Bruno Haible <haible@clisp.cons.org> 2158 2159 * dcigettext.c (transmem_block_t): Change to unsigned char, to avoid 2160 compiler warning. 2161 (_nl_find_msg): Add casts to avoid compiler warnings. 2162 21632001-03-09 Bruno Haible <haible@clisp.cons.org> 2164 2165 * Makefile.in (DISTFILES.common): Remove ChangeLog. 2166 (DISTFILES.obsolete): New variable. 2167 (install-data): Install ChangeLog.inst as ChangeLog. Remove the files 2168 listed in DISTFILES.obsolete. 2169 (uninstall): Simplify. 2170 (distclean): Remove ChangeLog.inst. 2171 (dist): Mention ChangeLog explicitly. 2172 21732001-03-04 Bruno Haible <haible@clisp.cons.org> 2174 2175 * dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH, 2176 IS_PATH_WITH_DIR): New macros. 2177 (DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment 2178 path_max proportionally. 2179 * loadinfo.h (PATH_SEPARATOR): New macro. 2180 * l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'. 2181 * localealias.c (_nl_expand_alias): Likewise. 2182 * libgnuintl.h (gettext) [DJGPP]: Define as a macro as well. 2183 21842001-03-06 Bruno Haible <haible@clisp.cons.org> 2185 2186 * libgnuintl.h (LC_MESSAGES): Don't define on Solaris. 2187 21882001-02-24 Bruno Haible <haible@clisp.cons.org> 2189 2190 * dcigettext.c: Update comment about HAVE_LOCALE_NULL. 2191 21922001-02-05 Bruno Haible <haible@clisp.cons.org> 2193 2194 * libgnuintl.h (LC_MESSAGES): Provide a default value. 2195 21962001-01-30 Bruno Haible <haible@clisp.cons.org> 2197 2198 * config.charset: Update for FreeBSD 4.2. 2199 22002001-01-21 Bruno Haible <haible@clisp.cons.org> 2201 2202 Use libtool. 2203 * Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l. 2204 (all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL 2205 is 'yes', still build libintl.$la because the testsuite needs it. 2206 (libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC) 2207 must use all $(CFLAGS). 2208 (install-exec): Use libtool to install libintl.$la. 2209 (uninstall): Use libtool to uninstall libintl.$la. 2210 (mostlyclean): Remove *.la and the .libs subdir. 2211 * intl-compat.c: Reorder. Add comment. 2212 22132001-01-20 Bruno Haible <haible@clisp.cons.org> 2214 2215 * loadmsgcat.c (O_BINARY): Define on platforms that don't have it. 2216 (_nl_load_domain): Open the catalog file in binary mode. 2217 22182001-01-24 Bruno Haible <haible@clisp.cons.org> 2219 2220 * gettextP.h (SWAP): Remove declaration, to work around a compilation 2221 failure on alphaev5-cray-unicosmk2.0.5.X. 2222 22232001-01-15 Bruno Haible <haible@clisp.cons.org> 2224 2225 * dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid 2226 a warning. 2227 22282001-01-07 Bruno Haible <haible@clisp.cons.org> 2229 2230 * gettextP.h (__gettextdebug): Remove declaration. 2231 (gettext_free_exp__, gettextparse__): New non-libc declarations. 2232 * plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not 2233 __gettextparse, __gettext_free_exp. 2234 * loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse. 2235 22362001-01-07 Bruno Haible <haible@clisp.cons.org> 2237 2238 * libgnuintl.h: Renamed from intlh.inst.in. 2239 Remove comment about __builtin_constant_p. 2240 (gettext): Use NULL. 2241 * libgettext.h: Completely rewritten. Now a conditional wrapper around 2242 <libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove 2243 everything else. 2244 * gettextP.h: Include gettext.h, for nls_uint32. 2245 (gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__, 2246 bind_textdomain_codeset__): New declarations, from old libgettext.h. 2247 * gettext.h: Don't include <stdio.h>. 2248 * Makefile.in (HEADERS): Add libgnuintl.h. 2249 (DISTFILES.gettext): Remove intlh.inst.in. 2250 (all-yes): Depend on libintl.h instead of intlh.inst. 2251 (libintl.h): New target. Create as a copy of libgnuintl.h. 2252 (intlh.inst): Remove target. 2253 (install-exec): Update. 2254 ($(OBJECTS): Depend on libgnuintl.h, not libgettext.h. 2255 (mostlyclean): Remove libintl.h instead of intlh.inst. 2256 (dist-libc): Remove target. 2257 * bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't 2258 include gettext.h. 2259 * dcgettext.c: Likewise. 2260 * dcigettext.c: Likewise. 2261 * dcngettext.c: Likewise. 2262 * dngettext.c: Likewise. 2263 * finddomain.c: Likewise. 2264 * ngettext.c: Likewise. 2265 * textdomain.c: Likewise. 2266 * dgettext.c: Include libgnuintl.h instead of libgettext.h. Include 2267 gettextP.h. 2268 * gettext.c: Likewise. 2269 * intl-compat.c: Likewise. 2270 * localealias.c: Don't include gettext.h. 2271 * plural.y: Likewise. 2272 22732001-01-07 Bruno Haible <haible@clisp.cons.org> 2274 2275 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist. 2276 * intlh.inst.in: Likewise. 2277 * libgettext.h: Likewise. 2278 * gettextP.h: Likewise. 2279 * bindtextdom.c: Likewise. 2280 * dcigettext.c: Likewise. 2281 * dgettext.c: Likewise. 2282 * dngettext.c: Likewise. 2283 * explodename.c: Likewise. 2284 * finddomain.c: Likewise. 2285 * gettext.c: Likewise. 2286 * l10nflist.c: Likewise. 2287 * loadmsgcat.c: Likewise. 2288 * localealias.c: Likewise. 2289 * ngettext.c: Likewise. 2290 * textdomain.c: Likewise. 2291 22922001-01-06 Bruno Haible <haible@clisp.cons.org> 2293 2294 Remove catgets fallback code. 2295 - It does not handle message clash prevention through domains and 2296 dgettext(). 2297 - It does not handle message catalog inheritance and the LANGUAGE 2298 environment variable. 2299 - It does not handle locale aliases. 2300 - It does not handle automatic charset conversion. 2301 - It does not handle plural form handling and ngettext(). 2302 - It uses a slow string to integer conversion. 2303 - It is sensitive against installation problems. 2304 * cat-compat.c: Remove file. 2305 * po2msg.sin, po2tbl.sin: Remove files. 2306 * Makefile.in (datadir): Assume DATADIRNAME = share. 2307 (SOURCES): Remove cat-compat.c. 2308 (DISTFILES.common): Remove po2msg.sin, po2tbl.sin. 2309 (distclean): No need to remove po2msg.sed, po2tbl.sed. 2310 (../po/cat-id-tbl.$lo): Remove rule. 2311 * libgettext.h (_msg_ent): Remove. 2312 (_msg_tbl, _msg_tbl_length): Remove declarations. 2313 (gettext, dgettext, ngettext, dngettext): Don't depend on 2314 !HAVE_CATGETS. 2315 23162001-01-04 Ulrich Drepper <drepper@redhat.com> 2317 2318 * plural.y (yylex): Minimal improvement in number scanner. 2319 23202001-01-02 Ulrich Drepper <drepper@redhat.com> 2321 2322 * dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value 2323 is ignored if the selected locale is the C locale. 2324 23252000-11-20 Ulrich Drepper <drepper@redhat.com> 2326 2327 * dcigettext.c (transcmp): Make s1 and s2 const. 2328 * loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to 2329 avoid warning. 2330 23312000-11-09 Ulrich Drepper <drepper@redhat.com> 2332 2333 * locale.alias: Add thai. 2334 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>. 2335 23362001-01-05 Bruno Haible <haible@clisp.cons.org> 2337 2338 * Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib. 2339 (.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o 2340 rule, not the builtin .y.o rule. 2341 (.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make" 2342 specification. Remove $*.h explicitly: we don't need plural.h. 2343 * gettextP.h: Include <stddef.h>. 2344 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C 2345 syntax. 2346 * bindtextdom.c (offsetof): Provide fallback for platforms that lack 2347 it, like SunOS4. 2348 (set_binding_values): Convert prototype to K&R C syntax. 2349 * cat-compat.c: Include stdlib.h, string.h whenever possible. 2350 * dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a 2351 must not depend on external .o files. 2352 (offsetof): Provide fallback for platforms that lack it, like SunOS4. 2353 (transcmp): Convert to K&R C syntax. 2354 * explodename.c Include stdlib.h whenever possible. 2355 (_nl_find_language): Convert to K&R C syntax. 2356 * finddomain.c: Include stdlib.h whenever possible. 2357 * l10nflist.c Include stdlib.h whenever possible. 2358 (_nl_normalize_codeset): Use tolower, not _tolower. 2359 * loadmsgcat.c: Include stdlib.h whenever possible. 2360 Include headers needed for alloca(). 2361 (freea): New macro. 2362 (_nl_load_domain): Add fallback code for platforms lacking strtoul, 2363 like SunOS4. Add fallback code for platforms lacking alloca. 2364 * localealias.c: Include stdlib.h whenever possible. 2365 (ADD_BLOCK, FREE_BLOCK): Remove macros. 2366 (freea): New macro. 2367 (read_alias_file): Simplify fallback code for platforms lacking alloca. 2368 * plural.y (new_exp_0, new_exp_2, new_exp_3): New functions. 2369 (new_exp): Remove function. 2370 (__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax. 2371 * textdomain.c: Include stdlib.h whenever possible. 2372 * gettext.c: Likewise. 2373 * ngettext.c: Likewise. 2374 * localcharset.c (volatile): Define to empty if not using ANSI C. 2375 23762001-01-01 Bruno Haible <haible@clisp.cons.org> 2377 2378 * Makefile.in (mostlyclean): Remove intlh.inst, charset.alias, 2379 ref-add.sed, ref-del.sed. 2380 (distclean): In the gettext package, remove VERSION. 2381 23822001-01-01 Bruno Haible <haible@clisp.cons.org> 2383 2384 Finish implementation of plural form handling. 2385 * dcigettext.c (known_translation_t): Rename 'domain' field to 2386 'domainname'. Remove 'plindex' field. Add 'domain' and 2387 'translation_length' fields. 2388 (transcmp): Don't compare 'plindex' fields. 2389 (plural_lookup): New function. 2390 (DCIGETTEXT): Change cache handing in the plural case. Don't call 2391 plural_eval before the translation and its catalog file have been 2392 found. Remove plindex from cache key. Add 'translation_length' and 2393 'domain' to cache result. 2394 (_nl_find_msg): Remove index argument, return length of translation 2395 to the caller instead. Weaken comparison of string lengths, to account 2396 for plural entries. Call iconv() on the entire result string, not 2397 only on the portion needed so far. 2398 * loadinfo.h (_nl_find_msg): Remove index argument, add lengthp 2399 argument. 2400 * loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change. 2401 2402 * intl-compat.c (dcngettext, dngettext, ngettext): New functions. 2403 * libgettext.h (ngettext__, dngettext__, dcngettext__): New 2404 declarations. 2405 (ngettext, dngettext): Add missing macro argument. 2406 2407 * intlh.inst.in (ngettext, dngettext): Add missing macro argument. 2408 24092000-12-31 Bruno Haible <haible@clisp.cons.org> 2410 2411 * gettextP.h (ZERO): New macro. 2412 (struct binding): Always use ZERO. 2413 * bindtextdom.c (set_binding_values): Use offsetof, not sizeof. 2414 Include <stddef.h> whenever possible. 2415 * dcigettext.c (ZERO): Remove macro. 2416 (struct transmem_list): Use ZERO. 2417 (DCIGETTEXT): Use offsetof, not sizeof. 2418 Include <stddef.h> whenever possible. 2419 2420 * config.charset: Update from libiconv-1.5.1. 2421 * localcharset.c: Likewise. 2422 24232000-12-30 Bruno Haible <haible@clisp.cons.org> 2424 2425 * locale.alias: New file, moved here from ../misc/locale.alias. Add 2426 "Packages using this file" line. 2427 * Makefile.in (DISTFILES.common): Add locale.alias. 2428 (install-exec, uninstall): Install/deinstall locale.alias. 2429 24302000-10-30 Ulrich Drepper <drepper@redhat.com> 2431 2432 * dcigettext.c (guess_category_value): For libc always use the 2433 setlocale() method. 2434 24352000-10-20 Ulrich Drepper <drepper@redhat.com> 2436 2437 * libintl.glibc (ngettext macro): Add missing parameter. 2438 (dngettext macro): Likewise. 2439 24402000-10-14 Ulrich Drepper <drepper@redhat.com> 2441 2442 * localealias.c (read_alias_file): Update string pointers in map[] 2443 if realloc() changed the values. 2444 Patch by Jakub Jelinek <jakub@redhat.com>. 2445 24462000-08-31 Ulrich Drepper <drepper@redhat.com> 2447 2448 * loadmsgcat.c: Use *stat64 instead of *stat internally. 2449 2450 * dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings 2451 list. 2452 24532000-08-27 Ulrich Drepper <drepper@redhat.com> 2454 2455 * dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to 2456 determine invalid locale name. 2457 24582000-08-20 Ulrich Drepper <drepper@redhat.com> 2459 2460 * dcigettext.c: Unify use of function aliases to make more compact 2461 PLT. 2462 2463 * loadmsgcat.c (_nl_unload_domain): Also free conv_tab element. 2464 Pretty printing. 2465 * plural.y (new_exp): Take number of optional parameters in second 2466 parameter. Test for correct number of parameters and free correctly 2467 in case of failure. Adjust all callers. 2468 (yylex): Fix handling of '\0'. Allow ';' as terminator character. 2469 24702000-07-14 Bruno Haible <haible@clisp.cons.org> 2471 2472 * dcigettext.c (dcigettext): Call plural_eval on all platforms, not 2473 only those having tsearch. 2474 24752000-06-30 Ulrich Drepper <drepper@redhat.com> 2476 2477 * dcigettext.c (_nl_find_msg): Correct reallocation of buffers in 2478 case the translation is too large. Remember allocated memory blocks 2479 in a list. 2480 (free_mem): Free memory for translations. 2481 24822000-06-16 Ulrich Drepper <drepper@redhat.com> 2483 2484 * loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new 2485 parameter to always enable transliteration. 2486 24871998-10-20 Paul Eggert <eggert@twinsun.com> 2488 2489 * po2tbl.sin: Escape trigraphs. 2490 24912000-10-12 Bruno Haible <haible@clisp.cons.org> 2492 2493 * finddomain.c: Remove unneeded includes. 2494 24952000-10-12 Bruno Haible <haible@clisp.cons.org> 2496 2497 * localealias.c (memcpy): Return first argument, just like the real 2498 memcpy function does. 2499 * bindtextdom.c (memcpy): Likewise. 2500 * finddomain.c (memcpy): Likewise. 2501 * l10nflist.c (memcpy): Likewise. 2502 * textdomain.c (memcpy): Likewise. 2503 From Paul Eggert <eggert@twinsun.com>. 2504 25052000-09-29 Bruno Haible <haible@clisp.cons.org> 2506 2507 * libintl.glibc: Update from current glibc version. 2508 25092000-09-18 Bruno Haible <haible@clisp.cons.org> 2510 2511 * dcigettext.c: Outside libc, use local variable names that don't 2512 clash with those in libc. 2513 * bindtextdom.c: Likewise. 2514 * textdomain.c: Likewise. 2515 25162000-07-31 Bruno Haible <haible@clisp.cons.org> 2517 2518 * plural.y: Include config.h. Needed to define 'inline' away for C 2519 compilers that don't support it. 2520 (yylex): Don't use gcc specific case range syntax. 2521 * loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers. 2522 25232000-07-28 Bruno Haible <haible@clisp.cons.org> 2524 2525 Simplification: In all cases where $(gnulocaledir) is used, it is 2526 identical to $(localedir). 2527 * Makefile.in (DEFS): Remove setting for GNULOCALEDIR. 2528 * dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR. 2529 25302000-07-28 Bruno Haible <haible@clisp.cons.org> 2531 2532 * xopen-msg.sed: Renamed to ... 2533 * po2msg.sin: ... here. 2534 * linux-msg.sed: Remove file. 2535 * Makefile.in (DISTFILES.common): Update. 2536 25372000-07-28 Bruno Haible <haible@clisp.cons.org> 2538 2539 * po2tbl.sed.in: Renamed to ... 2540 * po2tbl.sin: ... here. 2541 * Makefile.in (DISTFILES.common): Update. 2542 25432000-07-28 Bruno Haible <haible@clisp.cons.org> 2544 2545 * Makefile.in (uninstall): Synchronize with the install target. 2546 Really remove charset.alias when its reference count drops to 0. 2547 25482000-07-28 Bruno Haible <haible@clisp.cons.org> 2549 2550 * Makefile.in (mkinstalldirs): New macro. Needed when configured with 2551 --srcdir=<relative pathname>; then ac_aux_dir will be a relative 2552 pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise. 2553 (install-exec, install-data): Use it. 2554 25552000-07-26 Bruno Haible <haible@clisp.cons.org> 2556 2557 * Makefile.in (install-exec, install-data): Use $(SHELL) for calling 2558 $(MKINSTALLDIRS), don't rely on its execution permissions. 2559 2560 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables. 2561 (libintl.la): Use them. 2562 2563 * Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR 2564 support, as recommended by GNU standards. Fix misapplied 2000-06-16 2565 patch. 2566 25672000-06-16 Bruno Haible <haible@clisp.cons.org> 2568 2569 * Makefile.in (COMSRCS): Add localcharset.c. 2570 (OBJECTS): Add localcharset.$lo. 2571 (DISTFILES.common): Add config.charset, ref-{add,del}.sin. 2572 (DEFS): Add -DLIBDIR. 2573 (all-yes): Add charset.alias, ref-{add,del}.sed. 2574 (.SUFFIXES): Add .sin and .sed. 2575 (.sin.sed, charset.alias): New rules. 2576 (install-exec, uninstall): Install/deinstall charset.alias. 2577 * localcharset.c: New file, from fileutils-4.0u. 2578 * config.charset: New file, from fileutils-4.0u. 2579 * red-add.sin, ref-del.sin: New files, from fileutils-4.0u. 2580 2581 * intlh.inst.in (bind_textdomain_codeset): New declaration. 2582 * libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__): 2583 New declarations. 2584 (bind_textdomain_codeset) [!ENABLE_NLS]: New macro. 2585 * cat-compat.c (bind_textdomain_codeset): New function. 2586 * intl-compat.c (bind_textdomain_codeset): New function. 2587 2588 * libgettext.h (ngettext, dngettext, dcngettext): New 2589 declarations. 2590 (dcgettext): Remove macro definition. 2591 (textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument. 2592 * intlh.inst.in (ngettext, dngettext, dcngettext): New 2593 declarations. 2594 (dcgettext): Remove macro definition. 2595 2596 * *.h, *.c, *.y: Change copyright notice from LGPL to GPL. 2597 25982000-05-21 Ulrich Drepper <drepper@redhat.com> 2599 2600 * dcigettext.c: Fix typo in comment. 2601 26022000-05-08 Andreas Jaeger <aj@suse.de> 2603 2604 * bindtextdom.c (set_binding_values): Add prototype. 2605 26062000-05-05 Bruno Haible <haible@clisp.cons.org> 2607 2608 * dcigettext.c (alignof): New macro. 2609 (_nl_find_msg): Use it instead of __alignof__. Pass correct output 2610 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set 2611 freemem_size to 0. 2612 26132000-05-05 Bruno Haible <haible@clisp.cons.org> 2614 2615 * dcigettext.c (dcigettext): Fix interpretation of tsearch 2616 return value. 2617 26182000-05-06 Ulrich Drepper <drepper@redhat.com> 2619 2620 * dcigettext.c (DCIGETTEXT): Always define local variable `index'. 2621 (mempcpy): Correct typo in parameter list. 2622 2623 * hash-string.h: Don't include <values.h>. 2624 2625 * *.c, *.h, *.y: Update from glibc version. 2626 26271998-04-29 Paul Eggert <eggert@twinsun.com> 2628 2629 * Makefile.in (aliaspath): Don't put `.' at the end. 2630 26311998-06-01 Ulrich Drepper <drepper@cygnus.com> 2632 2633 * localealias.c (read_alias_file): Undo last change. 2634 * l10nflist.c (_nl_normalize_codeset): Likewise. 2635 * loadinfo.h: Likewise. 2636 26371998-05-23 Ulrich Drepper <drepper@cygnus.com> 2638 2639 * dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined. 2640 26411998-05-01 08:47 Ulrich Drepper <drepper@cygnus.com> 2642 2643 * gettext-0.10.35 released. 2644 26451998-04-29 Ulrich Drepper <drepper@cygnus.com> 2646 2647 * intl/localealias.c (read_alias_file): Use unsigned char for 2648 local variables. Remove unused variable tp. 2649 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * 2650 for type of codeset. For loosing Solaris systems. 2651 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. 2652 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable 2653 len if not needed. 2654 Patches by Jim Meyering. 2655 26561998-04-28 Ulrich Drepper <drepper@cygnus.com> 2657 2658 * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if 2659 mmap is not supported. 2660 2661 * hash-string.h: Don't include <values.h>. 2662 26631998-04-27 Ulrich Drepper <drepper@cygnus.com> 2664 2665 * textdomain.c: Use strdup is available. 2666 2667 * localealias.c: Define HAVE_MEMPCPY so that we can use this 2668 function. Define and use semapahores to protect modfication of 2669 global objects when compiling for glibc. Add code to allow 2670 freeing alias table. 2671 2672 * l10nflist.c: Don't assume stpcpy not being a macro. 2673 2674 * gettextP.h: Define internal_function macri if not already done. 2675 Use glibc byte-swap macros instead of defining SWAP when compiled 2676 for glibc. 2677 (struct loaded_domain): Add elements to allow unloading. 2678 2679 * Makefile.in (distclean): Don't remove libintl.h here. 2680 2681 * bindtextdomain.c: Carry over changes from glibc. Use strdup if 2682 available. 2683 2684 * dcgettext.c: Don't assume stpcpy not being a macro. Mark internal 2685 functions. Add memory freeing code for glibc. 2686 2687 * dgettext.c: Update copyright. 2688 2689 * explodename.c: Include stdlib.h and string.h only if they exist. 2690 Use strings.h eventually. 2691 2692 * finddomain.c: Mark internal functions. Use strdup if available. 2693 Add memory freeing code for glibc. 2694 26951997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com> 2696 2697 * libgettext.h: Fix dummy textdomain and bindtextdomain macros. 2698 They should return reasonable values. 2699 Reported by Tom Tromey <tromey@cygnus.com>. 2700 27011997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com> 2702 2703 * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined. 2704 * intlh.inst.in: Likewise. 2705 Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>. 2706 2707 * libintl.glibc: Update from current glibc version. 2708 27091997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com> 2710 2711 * intlh.inst.in: Reformat copyright. 2712 27131997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com> 2714 2715 * dcgettext.c (DCGETTEXT): Remove wrong comment. 2716 27171997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com> 2718 2719 * Makefile.in (install-data): Don't change directory to install. 2720 27211997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com> 2722 2723 * cat-compat.c: Fix copyright. 2724 2725 * localealias.c: Don't define strchr unless !HAVE_STRCHR. 2726 2727 * loadmsgcat.c: Update copyright. Fix typos. 2728 2729 * l10nflist.c: Don't define strchr unless !HAVE_STRCHR. 2730 (_nl_make_l10nflist): Handle sponsor and revision correctly. 2731 2732 * gettext.c: Update copyright. 2733 * gettext.h: Likewise. 2734 * hash-string.h: Likewise. 2735 2736 * finddomain.c: Remoave dead code. Define strchr only if 2737 !HAVE_STRCHR. 2738 2739 * explodename.c: Include <sys/types.h>. 2740 2741 * explodename.c: Reformat copyright text. 2742 (_nl_explode_name): Fix typo. 2743 2744 * dcgettext.c: Define and use __set_errno. 2745 (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is 2746 not defined. 2747 2748 * bindtextdom.c: Pretty printing. 2749 27501997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com> 2751 2752 * dcgettext.c (guess_category_value): Don't depend on 2753 HAVE_LC_MESSAGES. We don't need the macro here. 2754 Patch by Bruno Haible <haible@ilog.fr>. 2755 2756 * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL 2757 macro. Instead use HAVE_LOCALE_NULL and define it when using 2758 glibc, as in dcgettext.c. 2759 Patch by Bruno Haible <haible@ilog.fr>. 2760 2761 * Makefile.in (CPPFLAGS): New variable. Reported by François 2762 Pinard. 2763 2764Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com> 2765 2766 * Makefile.in: Implement handling of libtool. 2767 2768 * gettextP.h: Change data structures for use of generic lowlevel 2769 i18n file handling. 2770 2771Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com> 2772 2773 * textdomain.c: Put parentheses around arguments of memcpy macro 2774 definition. 2775 * localealias.c: Likewise. 2776 * l10nflist.c: Likewise. 2777 * finddomain.c: Likewise. 2778 * bindtextdom.c: Likewise. 2779 Reported by Thomas Esken. 2780 2781Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com> 2782 2783 * textdomain.c: Move definition of `memcpy` macro to right 2784 position. 2785 2786Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com> 2787 2788 * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using 2789 bcopy if not already defined. Reported by Thomas Esken. 2790 * bindtextdom.c: Likewise. 2791 * l10nflist.c: Likewise. 2792 * localealias.c: Likewise. 2793 * textdomain.c: Likewise. 2794 2795Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com> 2796 2797 * Makefile.in (libdir): Change to use exec_prefix instead of 2798 prefix. Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>. 2799 2800Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com> 2801 2802 * l10nflist.c (_nl_normalize_codeset): We convert to lower case, 2803 so don't prepend uppercase `ISO' for only numeric arg. 2804 2805Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com> 2806 2807 * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after 2808 definition of _GNU_SOURCE. Patch by Roland McGrath. 2809 2810 * Makefile.in (uninstall): Fix another bug with `for' loop and 2811 empty arguments. Patch by Jim Meyering. Correct name os 2812 uninstalled files: no intl- prefix anymore. 2813 2814 * Makefile.in (install-data): Again work around shells which 2815 cannot handle mpty for list. Reported by Jim Meyering. 2816 2817Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com> 2818 2819 * Makefile.in (install): Split goal. Now depend on install-exec 2820 and install-data. 2821 (install-exec, install-data): New goals. Created from former 2822 install goal. 2823 Reported by Karl Berry. 2824 2825Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com> 2826 2827 * Makefile.in (MKINSTALLDIRS): New variable. Path to 2828 mkinstalldirs script. 2829 (install): use MKINSTALLDIRS variable or if the script is not present 2830 try to find it in the $top_scrdir). 2831 2832Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com> 2833 2834 * l10nflist.c: Linux libc *partly* includes the argz_* functions. 2835 Grr. Work around by renaming the static version and use macros 2836 for renaming. 2837 2838Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com> 2839 2840 * l10nflist.c: Correct presence test macros of __argz_* functions. 2841 2842 * l10nflist.c: Include <argz.h> based on test of it instead when 2843 __argz_* functions are available. 2844 Reported by Andreas Schwab. 2845 2846Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com> 2847 2848 * explodename.c, l10nflist.c: Define NULL for dumb systems. 2849 2850Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com> 2851 2852 * intlh.inst.in, libgettext.h (dcgettext): Rename local variable 2853 result to __result to prevent name clash. 2854 2855 * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to 2856 get prototype for stpcpy and strcasecmp. 2857 2858 * intlh.inst.in, libgettext.h: Move declaration of 2859 `_nl_msg_cat_cntr' outside __extension__ block to prevent warning 2860 from gcc's -Wnested-extern option. 2861 2862Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com> 2863 2864 * Makefile.in (install): Remove comment. 2865 2866Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com> 2867 2868 * Makefile.in (install): Work around for another Buglix stupidity. 2869 Always use an `else' close for `if's. Reported by Nelson Beebe. 2870 2871 * Makefile.in (intlh.inst): Correct typo in phony rule. 2872 Reported by Nelson Beebe. 2873 2874Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com> 2875 2876 * dcgettext.c (read_alias_file): Rename variable alloca_list to 2877 block_list as the macro calls assume. 2878 Patch by Eric Backus. 2879 2880 * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using 2881 malloc. 2882 (read_alias_file): Rename varriabe alloca_list to block_list as the 2883 macro calls assume. 2884 Patch by Eric Backus. 2885 2886 * l10nflist.c: Correct conditional for <argz.h> inclusion. 2887 Reported by Roland McGrath. 2888 2889 * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not 2890 all-@USE_NLS@. 2891 2892 * Makefile.in (install): intlh.inst comes from local dir, not 2893 $(srcdir). 2894 2895 * Makefile.in (intlh.inst): Special handling of this goal. If 2896 used in gettext, this is really a rul to construct this file. If 2897 used in any other package it is defined as a .PHONY rule with 2898 empty body. 2899 2900 * finddomain.c: Extract locale file information handling into 2901 l10nfile.c. Rename local stpcpy__ function to stpcpy. 2902 2903 * dcgettext.c (stpcpy): Add local definition. 2904 2905 * l10nflist.c: Solve some portability problems. Patches partly by 2906 Thomas Esken. Add local definition of stpcpy. 2907 2908Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com> 2909 2910 * intlh.inst.in: Don't depend including <locale.h> on 2911 HAVE_LOCALE_H. Instead configure must rewrite this fiile 2912 depending on the result of the configure run. 2913 2914 * Makefile.in (install): libintl.inst is now called intlh.inst. 2915 Add rules for updating intlh.inst from intlh.inst.in. 2916 2917 * libintl.inst: Renamed to intlh.inst.in. 2918 2919 * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1 2920 because gcc has __buitlin_alloca. 2921 Reported by Roland McGrath. 2922 2923Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com> 2924 2925 * Makefile.in (installcheck): New goal to fulfill needs of 2926 automake's distcheck. 2927 2928 * Makefile.in (install): Reorder commands so that VERSION is 2929 found. 2930 2931 * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in 2932 @datadir@/gettext. 2933 (COMSRCS): Add l10nfile.c. 2934 (OBJECTS): Add l10nfile.o. 2935 (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common). 2936 (DISTFILE.gettext): Remove $(DISTFILES.common). 2937 (all-gettext): Remove goal. 2938 (install): If $(PACKAGE) = gettext install, otherwose do nothing. No 2939 package but gettext itself should install libintl.h + headers. 2940 (dist): Extend goal to work for gettext, too. 2941 (dist-gettext): Remove goal. 2942 2943 * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc. 2944 2945Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com> 2946 2947 * loadmsgcat.c (_nl_load_domain): Parameter is now comes from 2948 find_l10nfile. 2949 2950Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com> 2951 2952 * l10nflist.c (__argz_next): Add definition. 2953 2954 * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca 2955 code. Use new l10nfile handling. 2956 2957 * localealias.c [!HAVE_ALLOCA]: Add code for handling missing 2958 alloca code. 2959 2960 * l10nflist.c: Initial revision. 2961 2962Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware> 2963 2964 * Makefile.in (all-gettext): New goal. Same as all-yes. 2965 2966Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de> 2967 2968 * Makefile.in (gettextsrcdir): Define using @datadir@. 2969 2970Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware> 2971 2972 * finddomain.c: Include <ctype.h>. Reported by Roland McGrath. 2973 2974Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware> 2975 2976 * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing 2977 with external declaration. 2978 2979Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware> 2980 2981 * Makefile.in (all-no): Rename from all_no. 2982 2983Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware> 2984 2985 * gettextP.h [loaded_domain]: Array `successor' must now contain up 2986 to 63 elements (because of codeset name normalization). 2987 2988 * finddomain.c: Implement codeset name normalization. 2989 2990Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware> 2991 2992 * Makefile.in (all): Define to `all-@USE_NLS@'. 2993 (all-yes, all_no): New goals. `all-no' is noop, `all-yes' 2994 is former all. 2995 2996Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com> 2997 2998 * localealias.c (alias_compare): Increment string pointers in loop 2999 of strcasecmp replacement. 3000 3001Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware> 3002 3003 * Makefile.in (install-src): Who commented this goal out ? :-) 3004 3005Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware> 3006 3007 * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls 3008 should not effect it because a missing catalog is no error. 3009 Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>. 3010 3011Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware> 3012 3013 * Makefile.in (Makefile): Explicitly use $(SHELL) for running 3014 shell scripts. 3015 3016Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 3017 3018 * Makefile.in (install-src): Only install library and header when 3019 we use the own implementation. Don't do it when using the 3020 system's gettext or catgets functions. 3021 3022 * dcgettext.c (find_msg): Must not swap domain->hash_size here. 3023 3024Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware> 3025 3026 * localealias.c, libintl.inst, libgettext.h, hash-string.h, 3027 gettextP.h, finddomain.c, dcgettext.c, cat-compat.c: 3028 Use PARAMS instead of __P. Suggested by Roland McGrath. 3029 3030Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu> 3031 3032 * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if 3033 !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty. 3034 3035Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware> 3036 3037 * Makefile.in (install-src): 3038 Install libintl.inst instead of libintl.h.install. 3039 3040Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu> 3041 3042 * cat-compat.c (textdomain): 3043 Reverse order in which files are tried you load. First 3044 try local file, when this failed absolute path. 3045 3046Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu> 3047 3048 * cat-compat.c (bindtextdomain): Add missing { }. 3049 3050Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware> 3051 3052 * libintl.inst: Add missing __P definition. Reported by Nelson Beebe. 3053 3054 * Makefile.in: 3055 Add dummy `all' and `dvi' goals. Reported by Tom Tromey. 3056 3057Sat Nov 25 16:12:01 1995 François Pinard <pinard@iro.umontreal.ca> 3058 3059 * hash-string.h: Capitalize arguments of macros. 3060 3061Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware> 3062 3063 * Makefile.in (DISTFILES): Prevent files names longer than 13 3064 characters. libintl.h.glibc->libintl.glibc, 3065 libintl.h.install->libintl.inst. Reported by Joshua R. Poulson. 3066 3067Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com> 3068 3069 * dcgettext.c: Fix bug in preprocessor conditionals. 3070 3071Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu> 3072 3073 * libgettext.h: Solaris cc does not understand 3074 #if !SYMBOL1 && !SYMBOL2. Sad but true. 3075 3076Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware> 3077 3078 * hash-string.h (hash_string): 3079 Fix for machine with >32 bit `unsigned long's. 3080 3081 * dcgettext.c (DCGETTEXT): 3082 Fix horrible bug in loop for alternative translation. 3083 3084Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware> 3085 3086 * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed: 3087 Some further simplifications in message number generation. 3088 3089Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware> 3090 3091 * libintl.h.glibc: Use __const instead of const in prototypes. 3092 3093 * Makefile.in (install-src): 3094 Install libintl.h.install instead of libintl.h. This 3095 is a stripped-down version. Suggested by Peter Miller. 3096 3097 * libintl.h.install, libintl.h.glibc: Initial revision. 3098 3099 * localealias.c (_nl_expand_alias, read_alias_file): 3100 Protect prototypes in type casts by __P. 3101 3102Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware> 3103 3104 * hash-string.h: Correct prototype for hash_string. 3105 3106Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware> 3107 3108 * hash-string.h (hash_string): Add prototype. 3109 3110 * gettextP.h: Fix copyright. 3111 (SWAP): Add prototype. 3112 3113Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware> 3114 3115 * localealias.c (read_alias_file): Forgot sizeof. 3116 Avoid calling *printf function. This introduces a big overhead. 3117 Patch by Roland McGrath. 3118 3119Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware> 3120 3121 * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy. 3122 3123 * finddomain.c (stpcpy): 3124 Define substitution function local. The macro was to flaky. 3125 3126 * cat-compat.c: Fix typo. 3127 3128 * xopen-msg.sed, linux-msg.sed: 3129 While bringing message number to right place only accept digits. 3130 3131 * linux-msg.sed, xopen-msg.sed: Now that the counter does not have 3132 leading 0s we don't need to remove them. Reported by Marcus 3133 Daniels. 3134 3135 * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in 3136 dependency. Reported by Marcus Daniels. 3137 3138 * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement. 3139 Generally cleanup using #if instead of #ifndef. 3140 3141 * Makefile.in: Correct typos in comment. By François Pinard. 3142 3143Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware> 3144 3145 * Makefile.in (install-src): Don't install libintl.h and libintl.a 3146 if we use an available gettext implementation. 3147 3148Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware> 3149 3150 * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported 3151 by François Pinard. 3152 3153 * libgettext.h: Use #if instead of #ifdef/#ifndef. 3154 3155 * finddomain.c: 3156 Comments describing what has to be done should start with FIXME. 3157 3158Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware> 3159 3160 * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning. 3161 DISTFILES.common names the files common to both dist goals. 3162 DISTFILES.gettext are the files only distributed in GNU gettext. 3163 3164Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware> 3165 3166 * dcgettext.c (DCGETTEXT): Correct searching in derived locales. 3167 This was necessary since a change in _nl_find_msg several weeks 3168 ago. I really don't know this is still not fixed. 3169 3170Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware> 3171 3172 * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This 3173 might mark a special condition. 3174 3175 * finddomain.c (make_entry_rec): Don't make illegal entry as decided. 3176 3177 * Makefile.in (dist): Suppress error message when ln failed. 3178 Get files from $(srcdir) explicitly. 3179 3180 * libgettext.h (gettext_const): Rename to gettext_noop. 3181 3182Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware> 3183 3184 * finddomain.c (make_entry_rec): 3185 Protect against wrong locale names by testing mask. 3186 3187 * libgettext.h (gettext_const): Add macro definition. 3188 Capitalize macro arguments. 3189 3190Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware> 3191 3192 * finddomain.c (_nl_find_domain): 3193 Test for pointer != NULL before accessing value. 3194 Reported by Tom Tromey. 3195 3196 * gettext.c (NULL): 3197 Define as (void*)0 instad of 0. Reported by François Pinard. 3198 3199Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware> 3200 3201 * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering. 3202 3203Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware> 3204 3205 * libgettext.h: Disable dcgettext optimization for Solaris 2.3. 3206 3207 * localealias.c (alias_compare): 3208 Peter Miller reported that tolower in some systems is 3209 even dumber than I thought. Protect call by `isupper'. 3210 3211Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware> 3212 3213 * Makefile.in (libdir, includedir): New variables. 3214 (install-src): Install libintl.a and libintl.h in correct dirs. 3215 3216Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware> 3217 3218 * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c. 3219 3220 * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques. 3221 3222 * localealias.c: 3223 Fix typo and superflous test. Reported by Christian von Roques. 3224 3225Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware> 3226 3227 * finddomain.c (_nl_find_domain): 3228 Correct some remainder from the pre-CEN syntax. Now 3229 we don't have a constant number of successors anymore. 3230 3231Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware> 3232 3233 * Makefile.in (DISTFILES): Add libintl.h.glibc. 3234 3235 * Makefile.in (dist-libc): Add goal for packing sources for glibc. 3236 (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc. 3237 3238 * loadmsgcat.c: Forget to continue #if line. 3239 3240 * localealias.c: 3241 [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name 3242 space clean. 3243 3244 * dcgettext.c, finddomain.c: Better comment to last change. 3245 3246 * loadmsgcat.c: 3247 [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to 3248 __fstat, __open, __close, __read, __mmap, and __munmap resp 3249 to keep ANSI C name space clean. 3250 3251 * finddomain.c: 3252 [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean. 3253 3254 * dcgettext.c: 3255 [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to 3256 keep ANSI C name space clean. 3257 3258 * libgettext.h: 3259 Include sys/types.h for those old SysV systems out there. 3260 Reported by Francesco Potorti`. 3261 3262 * loadmsgcat.c (use_mmap): Define if compiled for glibc. 3263 3264 * bindtextdom.c: Include all those standard headers 3265 unconditionally if _LIBC is defined. 3266 3267 * finddomain.c: Fix 2 times defiend -> defined. 3268 3269 * textdomain.c: Include libintl.h instead of libgettext.h when 3270 compiling for glibc. Include all those standard headers 3271 unconditionally if _LIBC is defined. 3272 3273 * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc. 3274 3275 * gettext.c: 3276 Include libintl.h instead of libgettext.h when compiling for glibc. 3277 Get NULL from stddef.h if we compile for glibc. 3278 3279 * finddomain.c: Include libintl.h instead of libgettext.h when 3280 compiling for glibc. Include all those standard headers 3281 unconditionally if _LIBC is defined. 3282 3283 * dcgettext.c: Include all those standard headers unconditionally 3284 if _LIBC is defined. 3285 3286 * dgettext.c: If compiled in glibc include libintl.h instead of 3287 libgettext.h. 3288 (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc. 3289 3290 * dcgettext.c: If compiled in glibc include libintl.h instead of 3291 libgettext.h. 3292 (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc. 3293 3294 * bindtextdom.c: 3295 If compiled in glibc include libintl.h instead of libgettext.h. 3296 3297Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware> 3298 3299 * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0. 3300 Reported by Marcus Daniels. 3301 3302 * cat-compat.c (bindtextdomain): 3303 String used in putenv must not be recycled. 3304 Reported by Marcus Daniels. 3305 3306 * libgettext.h (__USE_GNU_GETTEXT): 3307 Additional symbol to signal that we use GNU gettext 3308 library. 3309 3310 * cat-compat.c (bindtextdomain): 3311 Fix bug with the strange stpcpy replacement. 3312 Reported by Nelson Beebe. 3313 3314Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware> 3315 3316 * cat-compat.c: Include <string.h> for stpcpy prototype. 3317 3318 * localealias.c (read_alias_file): 3319 While expand strdup code temporary variable `cp' hided 3320 higher level variable with same name. Rename to `tp'. 3321 3322 * textdomain.c (textdomain): 3323 Avoid warning by using temporary variable in strdup code. 3324 3325 * finddomain.c (_nl_find_domain): Remove unused variable `application'. 3326 3327Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware> 3328 3329 * localealias.c (alias_compare): 3330 Use strcasecmp() only if available. Else use 3331 implementation in place. 3332 3333 * intl-compat.c: 3334 Wrapper functions now call *__ functions instead of __*. 3335 3336 * libgettext.h: Declare prototypes for *__ functions instead for __*. 3337 3338 * cat-compat.c, loadmsgcat.c: 3339 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 3340 of the standard libc and so prevent libintl.a from being used 3341 standalone. 3342 3343 * bindtextdom.c: 3344 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 3345 of the standard libc and so prevent libintl.a from being used 3346 standalone. 3347 Rename to bindtextdomain__ if not used in GNU C Library. 3348 3349 * dgettext.c: 3350 Rename function to dgettext__ if not used in GNU C Library. 3351 3352 * gettext.c: 3353 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 3354 of the standard libc and so prevent libintl.a from being used 3355 standalone. 3356 Functions now called gettext__ if not used in GNU C Library. 3357 3358 * dcgettext.c, localealias.c, textdomain.c, finddomain.c: 3359 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 3360 of the standard libc and so prevent libintl.a from being used 3361 standalone. 3362 3363Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware> 3364 3365 * finddomain.c: Correct some bugs in handling of CEN standard 3366 locale definitions. 3367 3368Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware> 3369 3370 * finddomain.c: Implement CEN syntax. 3371 3372 * gettextP.h (loaded_domain): Extend number of successors to 31. 3373 3374Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware> 3375 3376 * Makefile.in (aliaspath): Remove path to X11 locale dir. 3377 3378 * Makefile.in: Make install-src depend on install. This helps 3379 gettext to install the sources and other packages can use the 3380 install goal. 3381 3382Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware> 3383 3384 * Makefile.in (uninstall): Remove stuff installed by install-src. 3385 3386Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware> 3387 3388 * VERSION.in: Initial revision. 3389 3390 * Makefile.in (DISTFILES): 3391 Add VERSION file. This is not necessary for gettext, but 3392 for other packages using this library. 3393 3394Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware> 3395 3396 * gettextP.h (_nl_find_domain): 3397 New prototype after changing search strategy. 3398 3399 * finddomain.c (_nl_find_domain): 3400 We now try only to find a specified catalog. Fall back to other 3401 catalogs listed in the locale list is now done in __dcgettext. 3402 3403 * dcgettext.c (__dcgettext): 3404 Now we provide message fall back even to different languages. 3405 I.e. if a message is not available in one language all the other 3406 in the locale list a tried. Formerly fall back was only possible 3407 within one language. Implemented by moving one loop from 3408 _nl_find_domain to here. 3409 3410Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware> 3411 3412 * Makefile.in (gettextsrcdir): 3413 Directory where source of GNU gettext library are made 3414 available. 3415 (INSTALL, INSTALL_DATA): Programs used for installing sources. 3416 (gettext-src): New. Rule to install GNU gettext sources for use in 3417 gettextize shell script. 3418 3419Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware> 3420 3421 * loadmsgcat.c (_nl_load_domain): 3422 Use mmap for loading only when munmap function is 3423 also available. 3424 3425 * Makefile.in (install): Depend on `all' goal. 3426 3427Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware> 3428 3429 * localealias.c (read_alias_file): 3430 Do not overwrite '\n' when terminating alias value string. 3431 3432 * localealias.c (read_alias_file): 3433 Handle long lines. Ignore the rest not fitting in 3434 the buffer after the initial `fgets' call. 3435 3436Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware> 3437 3438 * gettextP.h (_nl_load_domain): 3439 Add prototype, replacing prototype for _nl_load_msg_cat. 3440 3441 * finddomain.c (_nl_find_domain): 3442 Remove unneeded variable filename and filename_len. 3443 (expand_alias): Remove prototype because functions does not 3444 exist anymore. 3445 3446 * localealias.c (read_alias_file): 3447 Change type of fname_len parameter to int. 3448 (xmalloc): Add prototype. 3449 3450 * loadmsgcat.c: Better prototypes for xmalloc. 3451 3452Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware> 3453 3454 * finddomain.c (_nl_find_domain): 3455 Allow alias name to be constructed from the four components. 3456 3457 * Makefile.in (aliaspath): New variable. Set to preliminary value. 3458 (SOURCES): Add localealias.c. 3459 (OBJECTS): Add localealias.o. 3460 3461 * gettextP.h: Add prototype for _nl_expand_alias. 3462 3463 * finddomain.c: Aliasing handled in intl/localealias.c. 3464 3465 * localealias.c: Aliasing for locale names. 3466 3467 * bindtextdom.c: Better prototypes for xmalloc and xstrdup. 3468 3469Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware> 3470 3471 * Makefile.in (DISTFILES): gettext.perl is now found in misc/. 3472 3473 * cat-compat.c (bindtextdomain): 3474 Correct implementation. dirname parameter was not used. 3475 Reported by Marcus Daniels. 3476 3477 * gettextP.h (loaded_domain): 3478 New fields `successor' and `decided' for oo, lazy 3479 message handling implementation. 3480 3481 * dcgettext.c: 3482 Adopt for oo, lazy message handliing. 3483 Now we can inherit translations from less specific locales. 3484 (find_msg): New function. 3485 3486 * loadmsgcat.c, finddomain.c: 3487 Complete rewrite. Implement oo, lazy message handling :-). 3488 We now have an additional environment variable `LANGUAGE' with 3489 a higher priority than LC_ALL for the LC_MESSAGE locale. 3490 Here we can set a colon separated list of specifications each 3491 of the form `language[_territory[.codeset]][@modifier]'. 3492 3493Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware> 3494 3495 * finddomain.c (unistd.h): 3496 Include to get _PC_PATH_MAX defined on system having it. 3497 3498Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware> 3499 3500 * finddomain.c (stpcpy): Include prototype. 3501 3502 * Makefile.in (dist): Remove `copying instead' message. 3503 3504Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware> 3505 3506 * Makefile.in (ID, TAGS): Do not use $^. 3507 3508Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware> 3509 3510 * Makefile.in (TAGS, ID): Use $^ as command argument. 3511 (TAGS): Give etags -o option t write to current directory, 3512 not $(srcdir). 3513 (ID): Use $(srcdir) instead os $(top_srcdir)/src. 3514 (distclean): Remove ID. 3515 3516Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware> 3517 3518 * Makefile.in (gnulocaledir): 3519 New variable, always using share/ for data directory. 3520 (DEFS): Add GNULOCALEDIR, used in finddomain.c. 3521 3522 * finddomain.c (_nl_default_dirname): 3523 Set to GNULOCALEDIR, because it always has to point 3524 to the directory where GNU gettext Library writes it to. 3525 3526 * intl-compat.c (textdomain, bindtextdomain): 3527 Undefine macros before function definition. 3528 3529Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware> 3530 3531 * libgettext.h (_LIBINTL_H): 3532 Protect definition in case where this file is included as 3533 libgettext.h on Solaris machines. Add comment about this. 3534 3535Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware> 3536 3537 * intl-compat.c (textdomain): Correct typo. 3538 3539Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware> 3540 3541 * dcgettext.c (dcgettext): Function now called __dcgettext. 3542 3543 * dgettext.c (dgettext): Now called __dgettext and calls 3544 __dcgettext. 3545 3546 * gettext.c (gettext): 3547 Function now called __gettext and calls __dgettext. 3548 3549 * textdomain.c (textdomain): Function now called __textdomain. 3550 3551 * bindtextdom.c (bindtextdomain): Function now called 3552 __bindtextdomain. 3553 3554 * intl-compat.c: Initial revision. 3555 3556 * Makefile.in (SOURCES): Add intl-compat.c. 3557 (OBJECTS): We always compile the GNU gettext library functions. 3558 OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o, 3559 and intl-compat.o. 3560 (GETTOBJS): Contains now only intl-compat.o. 3561 3562 * libgettext.h: 3563 Re-include protection matches dualistic character of libgettext.h. 3564 For all functions in GNU gettext library define __ counter part. 3565 3566 * finddomain.c (strchr): Define as index if not found in C library. 3567 (_nl_find_domain): For relative paths paste / in between. 3568 3569Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware> 3570 3571 * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h. 3572 3573 * xopen-msg.sed: Fix bug with `msgstr ""' lines. 3574 A little bit better comments. 3575 3576Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware> 3577 3578 * Makefile.in: 3579 po-mode.el, makelinks, combine-sh are now found in ../misc. 3580 3581 * po-mode.el, makelinks, combine-sh, elisp-comp: 3582 Moved to ../misc/. 3583 3584 * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__. 3585 3586Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware> 3587 3588 * Makefile.in (INSTALL, INSTALL_DATA): New variables. 3589 (install-data, uninstall): Install/uninstall .elc file. 3590 3591 * po-mode.el (Installation comment): 3592 Add .pox as possible extension of .po files. 3593 3594Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware> 3595 3596 * elisp-comp: Complete new version by François: This does not 3597 fail when not compiling in the source directory. 3598 3599Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware> 3600 3601 * Makefile.in (../po/cat-id-tbl.o): 3602 Use $(MAKE) instead of make for recursive make. 3603 3604 * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh. 3605 (install-exec): Add missing dummy goal. 3606 (install-data, uninstall): @ in multi-line shell command at 3607 beginning, not in front of echo. Reported by Eric Backus. 3608 3609Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware> 3610 3611 * Makefile.in (DISTFILES): 3612 Rename libgettext.perl to gettext.perl to fit in 14 chars 3613 file systems. 3614 3615 * gettext.perl: 3616 Rename to gettext.perl to fit in 14 chars file systems. 3617 3618Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware> 3619 3620 * cat-compat.c: If !STDC_HEADERS try to include malloc.h. 3621 3622Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware> 3623 3624 * po2tbl.sed.in: Pretty printing. 3625 3626 * linux-msg.sed, xopen-msg.sed: 3627 Correct bugs with handling substitute flags in branches. 3628 3629 * hash-string.h (hash_string): 3630 Old K&R compilers don't under stand `unsigned char'. 3631 3632 * gettext.h (nls_uint32): 3633 Some old K&R compilers (eg HP) don't understand `unsigned int'. 3634 3635 * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes. 3636 3637Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware> 3638 3639 * Makefile.in (ELCFILES): New variable. 3640 (DISTFILES): Add elisp-comp. 3641 Add implicit rule for .el -> .elc compilation. 3642 (install-data): install $ELCFILES 3643 (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp. 3644 3645 * elisp-comp: Initial revision 3646 3647Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware> 3648 3649 * Makefile.in: 3650 cat-id-tbl.c is now found in po/. This enables us to use an identical 3651 intl/ directory in all packages. 3652 3653 * dcgettext.c (dcgettext): hashing does not work for table size <= 2. 3654 3655 * textdomain.c: fix typo (#if def -> #if defined) 3656 3657Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware> 3658 3659 * Makefile.in (stamp-cat-id): use top_srcdir to address source files 3660 (DISTFILES,distclean): move tupdate.perl to src/ 3661 3662 * po-to-tbl.sed.in: 3663 add additional jump to clear change flag to recognize multiline strings 3664 3665Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware> 3666 3667 * textdomain.c: Protect inclusion of stdlib.h and string.h. 3668 3669 * loadmsgcat.c: Protect inclusion of stdlib.h. 3670 3671 * libgettext.h: Protect inclusion of locale.h. 3672 Allow use in C++ programs. 3673 Define NULL is not happened already. 3674 3675 * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of 3676 po-to-tbl.sed. 3677 (distclean): remove po-to-tbl.sed and tupdate.perl. 3678 3679 * tupdate.perl.in: Substitute Perl path even in exec line. 3680 Don't include entries without translation from old .po file. 3681 3682Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware> 3683 3684 * tupdate.perl.in: use "Updated: " in msgid "". 3685 3686 * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR). 3687 Define getenv if !__STDC__. 3688 3689 * bindtextdom.c: Protect stdlib.h and string.h inclusion. 3690 Define free if !__STDC__. 3691 3692 * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. 3693 Define free if !__STDC__. 3694 3695 * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. 3696 3697Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware> 3698 3699 * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR. 3700 Remove unneeded $(srcdir) from Makefile.in dependency. 3701 3702 * makelinks: Add copyright and short description. 3703 3704 * po-mode.el: Last version for 0.7. 3705 3706 * tupdate.perl.in: Fix die message. 3707 3708 * dcgettext.c: Protect include of string.h. 3709 3710 * gettext.c: Protect include of stdlib.h and further tries to get NULL. 3711 3712 * finddomain.c: Some corrections in includes. 3713 3714 * Makefile.in (INCLUDES): Prune list correct path to Makefile.in. 3715 3716 * po-to-tbl.sed: Adopt for new .po file format. 3717 3718 * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format. 3719 3720Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware> 3721 3722 * tupdate.perl.in: Complete rewrite for new .po file format. 3723 3724Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware> 3725 3726 * First official release. This directory contains all the code 3727 needed to internationalize own packages. It provides functions 3728 which allow to use the X/Open catgets function with an interface 3729 like the Uniforum gettext function. For system which does not 3730 have neither of those a complete implementation is provided. 3731