12002-01-31 Bruno Haible <bruno@clisp.org> 2 3 * gettext-0.11 released. 4 52002-01-31 Bruno Haible <bruno@clisp.org> 6 7 * eval-plural.h: Renamed from plural-eval.c. 8 * dcigettext.c: Include eval-plural.h instead of plural-eval.c. 9 * Makefile.in (COMHDRS): Remove plural-eval.c, add eval-plural.h. 10 (DISTFILES.obsolete): Add plural-eval.c. 11 122002-01-24 Bruno Haible <bruno@clisp.org> 13 14 * Makefile.in (libintl.la): Use @LTLIBICONV@ instead of @LIBICONV@. 15 162002-01-10 Andrew Zabolotny <zap@cobra.ru> 17 Bruno Haible <bruno@clisp.org> 18 19 * dcigettext.c (_nl_default_dirname): On OS/2, declare, not define. 20 * localcharset.c: Rework OS/2 support. 21 * config.charset: Add OS/2 support. 22 * os2compat.c: Renamed from os2.c. 23 (_nl_default_dirname): Define here. 24 * os2compat.h: Moved here from ../os2/. 25 * osdep.c: Update. 26 * Makefile.in (COMHDRS): Add os2compat.h. 27 (COMSRCS): Add os2compat.c, remove os2.c. 28 292002-01-05 Bruno Haible <bruno@clisp.org> 30 31 * Makefile.in (libintl.la): Add -lc. Needed on AIX. 32 332002-01-02 Bruno Haible <bruno@clisp.org> 34 35 * loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to 36 K&R syntax. 37 382002-01-02 Bruno Haible <bruno@clisp.org> 39 40 * plural.y: Fix %expect count. 41 422001-12-23 Bruno Haible <bruno@clisp.org> 43 44 * os2.c (os2_initialize): Use LOCALEDIR_MAX macro. 45 462001-12-21 Bruno Haible <bruno@clisp.org> 47 48 * localcharset.c (ISSLASH): Provide definition for DOS-like systems. 49 502001-12-21 Bruno Haible <bruno@clisp.org> 51 52 * libgettext.h: Moved to ../lib/gettext.h. 53 * Makefile.in (HEADERS): Remove libgettext.h. 54 (DISTFILES.obsolete): Add libgettext.h. 55 562001-12-21 Bruno Haible <bruno@clisp.org> 57 58 * gmo.h: Renamed from gettext.h. 59 * gettext.h: Remove file. 60 * gettextP.h: Update accordingly. 61 * loadmsgcat.c: Likewise. 62 * Makefile.in (COMHDRS): Add gmo.h, remove gettext.h. 63 (DISTFILES.obsolete): Add gettext.h. 64 Update dependencies. 65 662001-12-18 Bruno Haible <bruno@clisp.org> 67 68 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:0:0. 69 Used to force an soname of at least libintl.so.2 on Solaris, which 70 already has a different libintl.so.1 in /usr/lib. 71 722001-12-15 Andrew Zabolotny <zap@cobra.ru> 73 Bruno Haible <bruno@clisp.org> 74 75 * osdep.c: New file. 76 * os2.c: New file. 77 * dcigettext.c (DCIGETTEXT): Add backward compatibility support for 78 OS/2. 79 * localcharset.c: Add OS/2 support. 80 * localealias.c (_nl_expand_alias): Initialize locale_alias_path once, 81 but not statically. 82 * Makefile.in (COMSRCS): Add osdep.c, os2.c. 83 (OBJECTS): Add osdep.$lo. 84 852001-12-12 Bruno Haible <bruno@clisp.org> 86 87 * libgettext.h [!ENABLE_NLS]: Cast all function results to 88 'const char *'. 89 Reported by Alexandre Duret-Lutz <duret_g@lrde.epita.fr>. 90 912001-12-03 Bruno Haible <bruno@clisp.org> 92 93 * Makefile.in (install-exec): Don't create an empty libdir. 94 (installdirs): Update accordingly. 95 962001-11-30 Bruno Haible <bruno@clisp.org> 97 98 * plural-exp.h (plural_eval): Add back declaration. 99 * Makefile.in (OBJECTS): Remove plural-eval.$lo. 100 (COMSRCS): Remove plural-eval.c. 101 (COMHDRS): Add plural-eval.c. 102 (plural-eval.$lo): Remove dependency. 103 (dcigettext.$lo): Depend on plural-eval.c. 104 1052001-11-29 Bruno Haible <bruno@clisp.org> 106 107 * gettextP.h (_nl_locale_name): Don't declare inside glibc. 108 * localename.c (_nl_locale_name): Remove _LIBC conditional. 109 1102001-11-27 Ulrich Drepper <drepper@redhat.com> 111 112 * dcigettext.c (guess_category_value): Inside glibc, use setlocale 113 directly, not _nl_locale_name. 114 1152001-11-27 Ulrich Drepper <drepper@redhat.com> 116 117 * loadmsgcat.c (_nl_init_domain_conv): Modify #if expression. 118 1192001-11-27 Ulrich Drepper <drepper@redhat.com> 120 121 * plural-eval.c (plural_eval): Rename back from PLURAL_EVAL. 122 * plural-exp.h (PLURAL_EVAL): Remove declaration. 123 * dcigettext.c Include plural-eval.c. 124 (plural_lookup): Call plural_eval instead of PLURAL_EVAL. 125 1262001-11-22 Bruno Haible <bruno@clisp.org> 127 128 * plural-exp.h (GERMANIC_PLURAL): New declaration. 129 * plural-exp.c (GERMANIC_PLURAL): Renamed from germanic_plural. 130 * loadmsgcat.c (_nl_unload_domain): Update. 131 1322001-07-17 Ulrich Drepper <drepper@redhat.com> 133 134 * localealias.c (read_alias_file): Disable implicit locking 135 for the stream. Use _unlocked functions for glibc. 136 1372001-11-11 Bruno Haible <haible@clisp.cons.org> 138 139 * Makefile.in (dist): Avoid using hard links, because the automake-1.5 140 generated toplevel 'distdir' target chmods all the distributed files. 141 1422001-11-10 Bruno Haible <haible@clisp.cons.org> 143 144 * libgnuintl.h (_INTL_PARAMS): Renamed from PARAMS, to avoid polluting 145 the user's namespace. 146 Also test for __GNUC__, __SUNPRO_C and __PROTOTYPES because on 147 64-bit Solaris, we need prototypes although __STDC__ is often defined 148 to 0. __GNUC__ covers GCC, __SUNPRO_C covers Sun cc, regardless of 149 compilation flags. __PROTOTYPES covers other compilers when compiling 150 programs using autoconf's AC_C_PROTOTYPES. 151 * gettextP.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris 152 cc needs prototypes although it defines __STDC__ to 0 by default. 153 Also test for __cplusplus and __PROTOTYPES, just for consistency with 154 libgnuintl.h. 155 * hash-string.h (PARAMS): Likewise. 156 * loadinfo.h (PARAMS): Likewise. 157 * plural-exp.h (PARAMS): Likewise. 158 1592001-10-31 Bruno Haible <haible@clisp.cons.org> 160 161 * plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc. 162 1632001-10-31 Bruno Haible <haible@clisp.cons.org> 164 165 * COPYING.LIB-2.0: Renamed from COPYING.LIB-2. 166 * Makefile.in (DISTFILES.gettext, install-data, uninstall): Update. 167 (DISTFILES.obsolete): Add COPYING.LIB-2. 168 1692001-10-09 Bruno Haible <haible@clisp.cons.org> 170 171 * localcharset.c (getc): Define as getc_unlocked if available. 172 1732001-09-27 Bruno Haible <haible@clisp.cons.org> 174 175 * Makefile.in (install-strip, installdirs): New rules. 176 1772001-09-24 Bruno Haible <haible@clisp.cons.org> 178 179 * localename.c: New file, integrating a function from 180 Tor Lillqvist <tml@iki.fi>. 181 * gettextP.h: New declaration. 182 * dcigettext.c (guess_category_value): Call _nl_locale_name. 183 * Makefile.in (COMSRCS): Add localename.c. 184 (OBJECTS): Add localename.$lo. 185 1862001-09-22 Bruno Haible <haible@clisp.cons.org> 187 188 * plural-eval.c: New file, extracted from dcigettext.c. 189 * plural-exp.h (PLURAL_EVAL): New declaration. 190 * dcigettext.c (plural_eval): Remove function, moved to plural-eval.c. 191 (plural_lookup): Call PLURAL_EVAL instead of plural_eval. 192 * Makefile.in (COMSRCS): Add plural-eval.c. 193 (OBJECTS): Add plural-eval.$lo. 194 1952001-09-22 Bruno Haible <haible@clisp.cons.org> 196 197 * plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that don't 198 start with a digit; nplurals must be positive. 199 2002001-10-20 Bruno Haible <haible@clisp.cons.org> 201 202 Assume strchr() exists. (Without it, explodename.c wouldn't link 203 anyway.) 204 * dcigettext.c (strchr): Remove fallback definition; it conflicts with 205 the variable 'index' in plural_lookup. 206 * l10nflist.c (strchr): Likewise. 207 * localealias.c (strchr): Likewise. 208 2092001-09-24 Bruno Haible <haible@clisp.cons.org> 210 211 * loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration 212 when building on a glibc system but outside glibc. 213 2142001-09-02 Bruno Haible <haible@clisp.cons.org> 215 216 * plural-exp.h: New file, extracted from gettextP.h. 217 * plural-exp.c: New file, extracted from loadmsgcat.c. 218 * gettextP.h (struct expression, struct parse_args, 219 __gettext_free_exp, __gettextparse): Move to plural-exp.h. 220 * loadmsgcat.c: Include plural-exp.h. 221 (PLURAL_PARSE): Move macro to plural-exp.h. 222 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to 223 plural-exp.c. 224 (_nl_load_domain): Move plural handling code to plural-exp.c. Call 225 EXTRACT_PLURAL_EXPRESSION. 226 * dcigettext.c: Include plural-exp.h. 227 * plural.y: Include plural-exp.h, not gettextP.h. 228 (FREE_EXPRESSION): Move macro to plural-exp.h. 229 * Makefile.in (DEFS): Define IN_LIBINTL. 230 (COMHDRS): Add plural-exp.h. 231 (COMSRCS): Add plural-exp.c. 232 (OBJECTS): Add plural-exp.$lo. 233 Update dependencies. 234 2352001-07-28 Bruno Haible <haible@clisp.cons.org> 236 237 * l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, isdigit, 238 tolower argument to 'unsigned char'. 239 * loadmsgcat.c (_nl_load_domain): Cast isspace argument to 240 'unsigned char'. 241 * localealias.c (read_alias_file): Cast isspace argument to 242 'unsigned char'. 243 2442001-07-23 Bruno Haible <haible@clisp.cons.org> 245 246 * gettext.h: Assume <limits.h> exists. 247 2482001-09-13 Bruno Haible <haible@clisp.cons.org> 249 250 * gettext-0.10.40 released. 251 2522001-07-11 Ulrich Drepper <drepper@redhat.com> 253 254 * locale.alias: Use he language code for hebrew, not iw. 255 2562001-09-13 Bruno Haible <haible@clisp.cons.org> 257 258 * *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL. 259 This is a reaction to a blackmail from the GNOME project which 260 threatened to distribute an LGPLed clone of libintl. 261 * COPYING.LIB-2, COPYING.LIB-2.1: New files. 262 * Makefile.in (DISTFILES.gettext): Add them. 263 (install-data): Install them. 264 (uninstall): Uninstall them. 265 2662001-07-24 Bruno Haible <haible@clisp.cons.org> 267 268 * gettext-0.10.39 released. 269 2702001-06-24 Bruno Haible <haible@clisp.cons.org> 271 272 * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS. 273 Change canonical name of SJIS to SHIFT_JIS. 274 2752001-06-12 Bruno Haible <haible@clisp.cons.org> 276 277 * dcigettext.c (DCIGETTEXT): Release the lock before returning. 278 2792001-04-30 Bruno Haible <haible@clisp.cons.org> 280 281 Silence "gcc -Wall -Wwrite-strings" warnings. 282 * localcharset.c (charset_aliases): Change type to 'const char *'. 283 (get_charset_aliases): Change type of 'cp' to 'const char *'. 284 2852001-05-23 Bruno Haible <haible@clisp.cons.org> 286 287 * gettext-0.10.38 released. 288 2892001-05-22 Bruno Haible <haible@clisp.cons.org> 290 291 * Makefile.in (install-data): Install plural.c as well. 292 (uninstall): Uninstall plural.c as well. 293 2942001-05-18 Bruno Haible <haible@clisp.cons.org> 295 296 * Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute 297 file in either current directory or $(srcdir), whichever exists. 298 2992001-05-11 Bruno Haible <haible@clisp.cons.org> 300 301 * Makefile.in (install-exec): Don't install charset.alias on glibc 2.1 302 systems. 303 3042001-04-30 Bruno Haible <haible@clisp.cons.org> 305 306 * dcigettext.c (getuid, getgid, geteuid, getegid): Provide default 307 definitions. Needed for mingw32. 308 3092001-04-19 Bruno Haible <haible@clisp.cons.org> 310 311 * gettext-0.10.37 released. 312 3132001-04-19 Bruno Haible <haible@clisp.cons.org> 314 315 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0. 316 3172001-04-19 Bruno Haible <haible@clisp.cons.org> 318 319 * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when 320 the libiconv version is smaller than 1.5. 321 3222001-04-09 Bruno Haible <haible@clisp.cons.org> 323 324 * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined. 325 Apple's MacOS X compiler has not all the features that the regular 326 GCC with the same version number has. 327 3282001-04-07 Bruno Haible <haible@clisp.cons.org> 329 330 * gettextP.h (struct loaded_domain): Add codeset_cntr field. 331 (struct binding): Add codeset_cntr field. 332 (_nl_load_domain): Add domainbinding argument. 333 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. 334 (_nl_find_msg): New declaration, moved here from loadinfo.h. 335 * loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. 336 (_nl_make_l10nflist): Remove domainbinding argument. 337 (_nl_find_msg): Move declaration to gettextP.h. 338 * bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0. 339 Increment it when ->codeset is changed. 340 * dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. 341 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter 342 if domainbinding->codeset_cntr has been incremented. 343 * finddomain.c (_nl_find_domain): Don't pass domainbinding to 344 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. 345 * l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. 346 * loadmsgcat.c (_nl_init_domain_conv): New function, extracted from 347 _nl_load_domain. Append //TRANSLIT also when using libiconv. 348 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. 349 (_nl_load_domain): Add domainbinding argument. Call 350 _nl_init_domain_conv. 351 (_nl_unload_domain): Call _nl_free_domain_conv. 352 3532001-04-09 Bruno Haible <haible@clisp.cons.org> 354 355 * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2 356 (Linux libc5). 357 3582001-04-04 Bruno Haible <haible@clisp.cons.org> 359 360 * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__. 361 3622001-04-04 Bruno Haible <haible@clisp.cons.org> 363 364 * Makefile.in (libdir, includedir, datadir): Use the autoconf 365 determined value, in order to respect the configure arguments. 366 (gettextsrcdir): Use $(datadir), not @datadir@. 367 3682001-03-29 Bruno Haible <haible@clisp.cons.org> 369 370 * gettext-0.10.36 released. 371 3722001-03-25 Bruno Haible <haible@clisp.cons.org> 373 374 * Makefile.in (install-data): Set execution bits on installed 375 config.charset. 376 3772001-03-23 Bruno Haible <haible@clisp.cons.org> 378 379 * Makefile.in (YACC): Use @INTLBISON@ instead of bison. 380 3812001-03-21 Bruno Haible <haible@clisp.cons.org> 382 383 * dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc 384 chokes on empty macro arguments. 385 * plural.y: Add #pragma for alloca on AIX 3. 386 3872001-03-20 Bruno Haible <haible@clisp.cons.org> 388 389 * Makefile.in (DISTFILES.generated): New variable. 390 (DISTFILES.gettext): Remove plural.c. 391 (dist): Use DISTFILES.generated. 392 (YACC): Use "bison -y" instead of @YACC@. 393 Needed for "make dist" to work in normal packages. 394 3952001-03-20 Bruno Haible <haible@clisp.cons.org> 396 397 * Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate 398 the files to be distributed through a recursive 'make' call. 399 4002001-03-17 Bruno Haible <haible@clisp.cons.org> 401 402 * gettextP.h (struct expression): Add operators lnot, less_than, 403 greater_than, less_or_equal, greater_or_equal. Replace args2/args3 404 union by a 'nargs' counter and an 'args[]' array. 405 * plural.y: Don't include stdarg.h. 406 (new_exp): New function. 407 (new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp. 408 (new_exp_1): New function. 409 ('?' ':'): Make right-associative. 410 (EQUOP2): New token, replaces '=' and '!'. 411 (CMPOP2): New token. 412 (ADDOP2): New token, replaces '+' and '-'. 413 (MULOP2): New token, replaces '*', '/' and '%'. 414 ('!'): New token. 415 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT. 416 (start): Call YYABORT here. 417 (FREE_EXPRESSION): Update. 418 (yylex): Don't skip "\\n". Recognize comparison and '!' operators. 419 Update for new token symbols. 420 * loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural): 421 Update. 422 * dcigettext.c (_nl_find_msg): Optimize for space. 423 (plural_eval): Recognize comparison and '!' operators. Optimize for 424 space. 425 426 * dcigettext.c (transcmp): New declaration. 427 4282001-03-10 Bruno Haible <haible@clisp.cons.org> 429 430 * Makefile.in (libintl.la): Pass -liconv and flag -no-undefined. 431 Needed on platforms like BeOS. 432 433 * Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la. 434 (libgnuintl.a, libgnuintl.la): New targets. Needed for linking 435 ../tests/tstgettext on systems which have gettext() in libintl.so. 436 437 * localcharset.c (locale_charset): Allow wildcard syntax. Resolve 438 alias also if codeset is empty. 439 * config.charset (BeOS): Use wildcard syntax. 440 441 * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL 442 any more. 443 4442001-03-09 Bruno Haible <haible@clisp.cons.org> 445 446 * config.charset: Update from libiconv-1.6. 447 * localcharset.c: Likewise. 448 4492001-02-25 Ulrich Drepper <drepper@redhat.com> 450 451 * locale.alias: Don't use nb_NO but define aliases for it. 452 4532001-01-26 Ulrich Drepper <drepper@redhat.com> 454 455 * loadmsgcat.c: Include <locale.h> for _LIBC. 456 4572001-03-09 Bruno Haible <haible@clisp.cons.org> 458 459 * dcigettext.c (transmem_block_t): Change to unsigned char, to avoid 460 compiler warning. 461 (_nl_find_msg): Add casts to avoid compiler warnings. 462 4632001-03-09 Bruno Haible <haible@clisp.cons.org> 464 465 * Makefile.in (DISTFILES.common): Remove ChangeLog. 466 (DISTFILES.obsolete): New variable. 467 (install-data): Install ChangeLog.inst as ChangeLog. Remove the files 468 listed in DISTFILES.obsolete. 469 (uninstall): Simplify. 470 (distclean): Remove ChangeLog.inst. 471 (dist): Mention ChangeLog explicitly. 472 4732001-03-04 Bruno Haible <haible@clisp.cons.org> 474 475 * dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH, 476 IS_PATH_WITH_DIR): New macros. 477 (DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment 478 path_max proportionally. 479 * loadinfo.h (PATH_SEPARATOR): New macro. 480 * l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'. 481 * localealias.c (_nl_expand_alias): Likewise. 482 * libgnuintl.h (gettext) [DJGPP]: Define as a macro as well. 483 4842001-03-06 Bruno Haible <haible@clisp.cons.org> 485 486 * libgnuintl.h (LC_MESSAGES): Don't define on Solaris. 487 4882001-02-24 Bruno Haible <haible@clisp.cons.org> 489 490 * dcigettext.c: Update comment about HAVE_LOCALE_NULL. 491 4922001-02-05 Bruno Haible <haible@clisp.cons.org> 493 494 * libgnuintl.h (LC_MESSAGES): Provide a default value. 495 4962001-01-30 Bruno Haible <haible@clisp.cons.org> 497 498 * config.charset: Update for FreeBSD 4.2. 499 5002001-01-21 Bruno Haible <haible@clisp.cons.org> 501 502 Use libtool. 503 * Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l. 504 (all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL 505 is 'yes', still build libintl.$la because the testsuite needs it. 506 (libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC) 507 must use all $(CFLAGS). 508 (install-exec): Use libtool to install libintl.$la. 509 (uninstall): Use libtool to uninstall libintl.$la. 510 (mostlyclean): Remove *.la and the .libs subdir. 511 * intl-compat.c: Reorder. Add comment. 512 5132001-01-20 Bruno Haible <haible@clisp.cons.org> 514 515 * loadmsgcat.c (O_BINARY): Define on platforms that don't have it. 516 (_nl_load_domain): Open the catalog file in binary mode. 517 5182001-01-24 Bruno Haible <haible@clisp.cons.org> 519 520 * gettextP.h (SWAP): Remove declaration, to work around a compilation 521 failure on alphaev5-cray-unicosmk2.0.5.X. 522 5232001-01-15 Bruno Haible <haible@clisp.cons.org> 524 525 * dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid 526 a warning. 527 5282001-01-07 Bruno Haible <haible@clisp.cons.org> 529 530 * gettextP.h (__gettextdebug): Remove declaration. 531 (gettext_free_exp__, gettextparse__): New non-libc declarations. 532 * plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not 533 __gettextparse, __gettext_free_exp. 534 * loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse. 535 5362001-01-07 Bruno Haible <haible@clisp.cons.org> 537 538 * libgnuintl.h: Renamed from intlh.inst.in. 539 Remove comment about __builtin_constant_p. 540 (gettext): Use NULL. 541 * libgettext.h: Completely rewritten. Now a conditional wrapper around 542 <libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove 543 everything else. 544 * gettextP.h: Include gettext.h, for nls_uint32. 545 (gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__, 546 bind_textdomain_codeset__): New declarations, from old libgettext.h. 547 * gettext.h: Don't include <stdio.h>. 548 * Makefile.in (HEADERS): Add libgnuintl.h. 549 (DISTFILES.gettext): Remove intlh.inst.in. 550 (all-yes): Depend on libintl.h instead of intlh.inst. 551 (libintl.h): New target. Create as a copy of libgnuintl.h. 552 (intlh.inst): Remove target. 553 (install-exec): Update. 554 ($(OBJECTS): Depend on libgnuintl.h, not libgettext.h. 555 (mostlyclean): Remove libintl.h instead of intlh.inst. 556 (dist-libc): Remove target. 557 * bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't 558 include gettext.h. 559 * dcgettext.c: Likewise. 560 * dcigettext.c: Likewise. 561 * dcngettext.c: Likewise. 562 * dngettext.c: Likewise. 563 * finddomain.c: Likewise. 564 * ngettext.c: Likewise. 565 * textdomain.c: Likewise. 566 * dgettext.c: Include libgnuintl.h instead of libgettext.h. Include 567 gettextP.h. 568 * gettext.c: Likewise. 569 * intl-compat.c: Likewise. 570 * localealias.c: Don't include gettext.h. 571 * plural.y: Likewise. 572 5732001-01-07 Bruno Haible <haible@clisp.cons.org> 574 575 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist. 576 * intlh.inst.in: Likewise. 577 * libgettext.h: Likewise. 578 * gettextP.h: Likewise. 579 * bindtextdom.c: Likewise. 580 * dcigettext.c: Likewise. 581 * dgettext.c: Likewise. 582 * dngettext.c: Likewise. 583 * explodename.c: Likewise. 584 * finddomain.c: Likewise. 585 * gettext.c: Likewise. 586 * l10nflist.c: Likewise. 587 * loadmsgcat.c: Likewise. 588 * localealias.c: Likewise. 589 * ngettext.c: Likewise. 590 * textdomain.c: Likewise. 591 5922001-01-06 Bruno Haible <haible@clisp.cons.org> 593 594 Remove catgets fallback code. 595 - It does not handle message clash prevention through domains and 596 dgettext(). 597 - It does not handle message catalog inheritance and the LANGUAGE 598 environment variable. 599 - It does not handle locale aliases. 600 - It does not handle automatic charset conversion. 601 - It does not handle plural form handling and ngettext(). 602 - It uses a slow string to integer conversion. 603 - It is sensitive against installation problems. 604 * cat-compat.c: Remove file. 605 * po2msg.sin, po2tbl.sin: Remove files. 606 * Makefile.in (datadir): Assume DATADIRNAME = share. 607 (SOURCES): Remove cat-compat.c. 608 (DISTFILES.common): Remove po2msg.sin, po2tbl.sin. 609 (distclean): No need to remove po2msg.sed, po2tbl.sed. 610 (../po/cat-id-tbl.$lo): Remove rule. 611 * libgettext.h (_msg_ent): Remove. 612 (_msg_tbl, _msg_tbl_length): Remove declarations. 613 (gettext, dgettext, ngettext, dngettext): Don't depend on 614 !HAVE_CATGETS. 615 6162001-01-04 Ulrich Drepper <drepper@redhat.com> 617 618 * plural.y (yylex): Minimal improvement in number scanner. 619 6202001-01-02 Ulrich Drepper <drepper@redhat.com> 621 622 * dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value 623 is ignored if the selected locale is the C locale. 624 6252000-11-20 Ulrich Drepper <drepper@redhat.com> 626 627 * dcigettext.c (transcmp): Make s1 and s2 const. 628 * loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to 629 avoid warning. 630 6312000-11-09 Ulrich Drepper <drepper@redhat.com> 632 633 * locale.alias: Add thai. 634 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>. 635 6362001-01-05 Bruno Haible <haible@clisp.cons.org> 637 638 * Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib. 639 (.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o 640 rule, not the builtin .y.o rule. 641 (.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make" 642 specification. Remove $*.h explicitly: we don't need plural.h. 643 * gettextP.h: Include <stddef.h>. 644 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C 645 syntax. 646 * bindtextdom.c (offsetof): Provide fallback for platforms that lack 647 it, like SunOS4. 648 (set_binding_values): Convert prototype to K&R C syntax. 649 * cat-compat.c: Include stdlib.h, string.h whenever possible. 650 * dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a 651 must not depend on external .o files. 652 (offsetof): Provide fallback for platforms that lack it, like SunOS4. 653 (transcmp): Convert to K&R C syntax. 654 * explodename.c Include stdlib.h whenever possible. 655 (_nl_find_language): Convert to K&R C syntax. 656 * finddomain.c: Include stdlib.h whenever possible. 657 * l10nflist.c Include stdlib.h whenever possible. 658 (_nl_normalize_codeset): Use tolower, not _tolower. 659 * loadmsgcat.c: Include stdlib.h whenever possible. 660 Include headers needed for alloca(). 661 (freea): New macro. 662 (_nl_load_domain): Add fallback code for platforms lacking strtoul, 663 like SunOS4. Add fallback code for platforms lacking alloca. 664 * localealias.c: Include stdlib.h whenever possible. 665 (ADD_BLOCK, FREE_BLOCK): Remove macros. 666 (freea): New macro. 667 (read_alias_file): Simplify fallback code for platforms lacking alloca. 668 * plural.y (new_exp_0, new_exp_2, new_exp_3): New functions. 669 (new_exp): Remove function. 670 (__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax. 671 * textdomain.c: Include stdlib.h whenever possible. 672 * gettext.c: Likewise. 673 * ngettext.c: Likewise. 674 * localcharset.c (volatile): Define to empty if not using ANSI C. 675 6762001-01-01 Bruno Haible <haible@clisp.cons.org> 677 678 * Makefile.in (mostlyclean): Remove intlh.inst, charset.alias, 679 ref-add.sed, ref-del.sed. 680 (distclean): In the gettext package, remove VERSION. 681 6822001-01-01 Bruno Haible <haible@clisp.cons.org> 683 684 Finish implementation of plural form handling. 685 * dcigettext.c (known_translation_t): Rename 'domain' field to 686 'domainname'. Remove 'plindex' field. Add 'domain' and 687 'translation_length' fields. 688 (transcmp): Don't compare 'plindex' fields. 689 (plural_lookup): New function. 690 (DCIGETTEXT): Change cache handing in the plural case. Don't call 691 plural_eval before the translation and its catalog file have been 692 found. Remove plindex from cache key. Add 'translation_length' and 693 'domain' to cache result. 694 (_nl_find_msg): Remove index argument, return length of translation 695 to the caller instead. Weaken comparison of string lengths, to account 696 for plural entries. Call iconv() on the entire result string, not 697 only on the portion needed so far. 698 * loadinfo.h (_nl_find_msg): Remove index argument, add lengthp 699 argument. 700 * loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change. 701 702 * intl-compat.c (dcngettext, dngettext, ngettext): New functions. 703 * libgettext.h (ngettext__, dngettext__, dcngettext__): New 704 declarations. 705 (ngettext, dngettext): Add missing macro argument. 706 707 * intlh.inst.in (ngettext, dngettext): Add missing macro argument. 708 7092000-12-31 Bruno Haible <haible@clisp.cons.org> 710 711 * gettextP.h (ZERO): New macro. 712 (struct binding): Always use ZERO. 713 * bindtextdom.c (set_binding_values): Use offsetof, not sizeof. 714 Include <stddef.h> whenever possible. 715 * dcigettext.c (ZERO): Remove macro. 716 (struct transmem_list): Use ZERO. 717 (DCIGETTEXT): Use offsetof, not sizeof. 718 Include <stddef.h> whenever possible. 719 720 * config.charset: Update from libiconv-1.5.1. 721 * localcharset.c: Likewise. 722 7232000-12-30 Bruno Haible <haible@clisp.cons.org> 724 725 * locale.alias: New file, moved here from ../misc/locale.alias. Add 726 "Packages using this file" line. 727 * Makefile.in (DISTFILES.common): Add locale.alias. 728 (install-exec, uninstall): Install/deinstall locale.alias. 729 7302000-10-30 Ulrich Drepper <drepper@redhat.com> 731 732 * dcigettext.c (guess_category_value): For libc always use the 733 setlocale() method. 734 7352000-10-20 Ulrich Drepper <drepper@redhat.com> 736 737 * libintl.glibc (ngettext macro): Add missing parameter. 738 (dngettext macro): Likewise. 739 7402000-10-14 Ulrich Drepper <drepper@redhat.com> 741 742 * localealias.c (read_alias_file): Update string pointers in map[] 743 if realloc() changed the values. 744 Patch by Jakub Jelinek <jakub@redhat.com>. 745 7462000-08-31 Ulrich Drepper <drepper@redhat.com> 747 748 * loadmsgcat.c: Use *stat64 instead of *stat internally. 749 750 * dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings 751 list. 752 7532000-08-27 Ulrich Drepper <drepper@redhat.com> 754 755 * dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to 756 determine invalid locale name. 757 7582000-08-20 Ulrich Drepper <drepper@redhat.com> 759 760 * dcigettext.c: Unify use of function aliases to make more compact 761 PLT. 762 763 * loadmsgcat.c (_nl_unload_domain): Also free conv_tab element. 764 Pretty printing. 765 * plural.y (new_exp): Take number of optional parameters in second 766 parameter. Test for correct number of parameters and free correctly 767 in case of failure. Adjust all callers. 768 (yylex): Fix handling of '\0'. Allow ';' as terminator character. 769 7702000-07-14 Bruno Haible <haible@clisp.cons.org> 771 772 * dcigettext.c (dcigettext): Call plural_eval on all platforms, not 773 only those having tsearch. 774 7752000-06-30 Ulrich Drepper <drepper@redhat.com> 776 777 * dcigettext.c (_nl_find_msg): Correct reallocation of buffers in 778 case the translation is too large. Remember allocated memory blocks 779 in a list. 780 (free_mem): Free memory for translations. 781 7822000-06-16 Ulrich Drepper <drepper@redhat.com> 783 784 * loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new 785 parameter to always enable transliteration. 786 7871998-10-20 Paul Eggert <eggert@twinsun.com> 788 789 * po2tbl.sin: Escape trigraphs. 790 7912000-10-12 Bruno Haible <haible@clisp.cons.org> 792 793 * finddomain.c: Remove unneeded includes. 794 7952000-10-12 Bruno Haible <haible@clisp.cons.org> 796 797 * localealias.c (memcpy): Return first argument, just like the real 798 memcpy function does. 799 * bindtextdom.c (memcpy): Likewise. 800 * finddomain.c (memcpy): Likewise. 801 * l10nflist.c (memcpy): Likewise. 802 * textdomain.c (memcpy): Likewise. 803 From Paul Eggert <eggert@twinsun.com>. 804 8052000-09-29 Bruno Haible <haible@clisp.cons.org> 806 807 * libintl.glibc: Update from current glibc version. 808 8092000-09-18 Bruno Haible <haible@clisp.cons.org> 810 811 * dcigettext.c: Outside libc, use local variable names that don't 812 clash with those in libc. 813 * bindtextdom.c: Likewise. 814 * textdomain.c: Likewise. 815 8162000-07-31 Bruno Haible <haible@clisp.cons.org> 817 818 * plural.y: Include config.h. Needed to define 'inline' away for C 819 compilers that don't support it. 820 (yylex): Don't use gcc specific case range syntax. 821 * loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers. 822 8232000-07-28 Bruno Haible <haible@clisp.cons.org> 824 825 Simplification: In all cases where $(gnulocaledir) is used, it is 826 identical to $(localedir). 827 * Makefile.in (DEFS): Remove setting for GNULOCALEDIR. 828 * dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR. 829 8302000-07-28 Bruno Haible <haible@clisp.cons.org> 831 832 * xopen-msg.sed: Renamed to ... 833 * po2msg.sin: ... here. 834 * linux-msg.sed: Remove file. 835 * Makefile.in (DISTFILES.common): Update. 836 8372000-07-28 Bruno Haible <haible@clisp.cons.org> 838 839 * po2tbl.sed.in: Renamed to ... 840 * po2tbl.sin: ... here. 841 * Makefile.in (DISTFILES.common): Update. 842 8432000-07-28 Bruno Haible <haible@clisp.cons.org> 844 845 * Makefile.in (uninstall): Synchronize with the install target. 846 Really remove charset.alias when its reference count drops to 0. 847 8482000-07-28 Bruno Haible <haible@clisp.cons.org> 849 850 * Makefile.in (mkinstalldirs): New macro. Needed when configured with 851 --srcdir=<relative pathname>; then ac_aux_dir will be a relative 852 pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise. 853 (install-exec, install-data): Use it. 854 8552000-07-26 Bruno Haible <haible@clisp.cons.org> 856 857 * Makefile.in (install-exec, install-data): Use $(SHELL) for calling 858 $(MKINSTALLDIRS), don't rely on its execution permissions. 859 860 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables. 861 (libintl.la): Use them. 862 863 * Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR 864 support, as recommended by GNU standards. Fix misapplied 2000-06-16 865 patch. 866 8672000-06-16 Bruno Haible <haible@clisp.cons.org> 868 869 * Makefile.in (COMSRCS): Add localcharset.c. 870 (OBJECTS): Add localcharset.$lo. 871 (DISTFILES.common): Add config.charset, ref-{add,del}.sin. 872 (DEFS): Add -DLIBDIR. 873 (all-yes): Add charset.alias, ref-{add,del}.sed. 874 (.SUFFIXES): Add .sin and .sed. 875 (.sin.sed, charset.alias): New rules. 876 (install-exec, uninstall): Install/deinstall charset.alias. 877 * localcharset.c: New file, from fileutils-4.0u. 878 * config.charset: New file, from fileutils-4.0u. 879 * red-add.sin, ref-del.sin: New files, from fileutils-4.0u. 880 881 * intlh.inst.in (bind_textdomain_codeset): New declaration. 882 * libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__): 883 New declarations. 884 (bind_textdomain_codeset) [!ENABLE_NLS]: New macro. 885 * cat-compat.c (bind_textdomain_codeset): New function. 886 * intl-compat.c (bind_textdomain_codeset): New function. 887 888 * libgettext.h (ngettext, dngettext, dcngettext): New 889 declarations. 890 (dcgettext): Remove macro definition. 891 (textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument. 892 * intlh.inst.in (ngettext, dngettext, dcngettext): New 893 declarations. 894 (dcgettext): Remove macro definition. 895 896 * *.h, *.c, *.y: Change copyright notice from LGPL to GPL. 897 8982000-05-21 Ulrich Drepper <drepper@redhat.com> 899 900 * dcigettext.c: Fix typo in comment. 901 9022000-05-08 Andreas Jaeger <aj@suse.de> 903 904 * bindtextdom.c (set_binding_values): Add prototype. 905 9062000-05-05 Bruno Haible <haible@clisp.cons.org> 907 908 * dcigettext.c (alignof): New macro. 909 (_nl_find_msg): Use it instead of __alignof__. Pass correct output 910 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set 911 freemem_size to 0. 912 9132000-05-05 Bruno Haible <haible@clisp.cons.org> 914 915 * dcigettext.c (dcigettext): Fix interpretation of tsearch 916 return value. 917 9182000-05-06 Ulrich Drepper <drepper@redhat.com> 919 920 * dcigettext.c (DCIGETTEXT): Always define local variable `index'. 921 (mempcpy): Correct typo in parameter list. 922 923 * hash-string.h: Don't include <values.h>. 924 925 * *.c, *.h, *.y: Update from glibc version. 926 9271998-04-29 Paul Eggert <eggert@twinsun.com> 928 929 * Makefile.in (aliaspath): Don't put `.' at the end. 930 9311998-06-01 Ulrich Drepper <drepper@cygnus.com> 932 933 * localealias.c (read_alias_file): Undo last change. 934 * l10nflist.c (_nl_normalize_codeset): Likewise. 935 * loadinfo.h: Likewise. 936 9371998-05-23 Ulrich Drepper <drepper@cygnus.com> 938 939 * dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined. 940 9411998-05-01 08:47 Ulrich Drepper <drepper@cygnus.com> 942 943 * gettext-0.10.35 released. 944 9451998-04-29 Ulrich Drepper <drepper@cygnus.com> 946 947 * intl/localealias.c (read_alias_file): Use unsigned char for 948 local variables. Remove unused variable tp. 949 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char * 950 for type of codeset. For loosing Solaris systems. 951 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset. 952 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable 953 len if not needed. 954 Patches by Jim Meyering. 955 9561998-04-28 Ulrich Drepper <drepper@cygnus.com> 957 958 * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if 959 mmap is not supported. 960 961 * hash-string.h: Don't include <values.h>. 962 9631998-04-27 Ulrich Drepper <drepper@cygnus.com> 964 965 * textdomain.c: Use strdup is available. 966 967 * localealias.c: Define HAVE_MEMPCPY so that we can use this 968 function. Define and use semapahores to protect modfication of 969 global objects when compiling for glibc. Add code to allow 970 freeing alias table. 971 972 * l10nflist.c: Don't assume stpcpy not being a macro. 973 974 * gettextP.h: Define internal_function macri if not already done. 975 Use glibc byte-swap macros instead of defining SWAP when compiled 976 for glibc. 977 (struct loaded_domain): Add elements to allow unloading. 978 979 * Makefile.in (distclean): Don't remove libintl.h here. 980 981 * bindtextdomain.c: Carry over changes from glibc. Use strdup if 982 available. 983 984 * dcgettext.c: Don't assume stpcpy not being a macro. Mark internal 985 functions. Add memory freeing code for glibc. 986 987 * dgettext.c: Update copyright. 988 989 * explodename.c: Include stdlib.h and string.h only if they exist. 990 Use strings.h eventually. 991 992 * finddomain.c: Mark internal functions. Use strdup if available. 993 Add memory freeing code for glibc. 994 9951997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com> 996 997 * libgettext.h: Fix dummy textdomain and bindtextdomain macros. 998 They should return reasonable values. 999 Reported by Tom Tromey <tromey@cygnus.com>. 1000 10011997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com> 1002 1003 * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined. 1004 * intlh.inst.in: Likewise. 1005 Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>. 1006 1007 * libintl.glibc: Update from current glibc version. 1008 10091997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com> 1010 1011 * intlh.inst.in: Reformat copyright. 1012 10131997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com> 1014 1015 * dcgettext.c (DCGETTEXT): Remove wrong comment. 1016 10171997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com> 1018 1019 * Makefile.in (install-data): Don't change directory to install. 1020 10211997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com> 1022 1023 * cat-compat.c: Fix copyright. 1024 1025 * localealias.c: Don't define strchr unless !HAVE_STRCHR. 1026 1027 * loadmsgcat.c: Update copyright. Fix typos. 1028 1029 * l10nflist.c: Don't define strchr unless !HAVE_STRCHR. 1030 (_nl_make_l10nflist): Handle sponsor and revision correctly. 1031 1032 * gettext.c: Update copyright. 1033 * gettext.h: Likewise. 1034 * hash-string.h: Likewise. 1035 1036 * finddomain.c: Remoave dead code. Define strchr only if 1037 !HAVE_STRCHR. 1038 1039 * explodename.c: Include <sys/types.h>. 1040 1041 * explodename.c: Reformat copyright text. 1042 (_nl_explode_name): Fix typo. 1043 1044 * dcgettext.c: Define and use __set_errno. 1045 (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is 1046 not defined. 1047 1048 * bindtextdom.c: Pretty printing. 1049 10501997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com> 1051 1052 * dcgettext.c (guess_category_value): Don't depend on 1053 HAVE_LC_MESSAGES. We don't need the macro here. 1054 Patch by Bruno Haible <haible@ilog.fr>. 1055 1056 * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL 1057 macro. Instead use HAVE_LOCALE_NULL and define it when using 1058 glibc, as in dcgettext.c. 1059 Patch by Bruno Haible <haible@ilog.fr>. 1060 1061 * Makefile.in (CPPFLAGS): New variable. Reported by François 1062 Pinard. 1063 1064Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com> 1065 1066 * Makefile.in: Implement handling of libtool. 1067 1068 * gettextP.h: Change data structures for use of generic lowlevel 1069 i18n file handling. 1070 1071Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com> 1072 1073 * textdomain.c: Put parentheses around arguments of memcpy macro 1074 definition. 1075 * localealias.c: Likewise. 1076 * l10nflist.c: Likewise. 1077 * finddomain.c: Likewise. 1078 * bindtextdom.c: Likewise. 1079 Reported by Thomas Esken. 1080 1081Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com> 1082 1083 * textdomain.c: Move definition of `memcpy` macro to right 1084 position. 1085 1086Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com> 1087 1088 * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using 1089 bcopy if not already defined. Reported by Thomas Esken. 1090 * bindtextdom.c: Likewise. 1091 * l10nflist.c: Likewise. 1092 * localealias.c: Likewise. 1093 * textdomain.c: Likewise. 1094 1095Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com> 1096 1097 * Makefile.in (libdir): Change to use exec_prefix instead of 1098 prefix. Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>. 1099 1100Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com> 1101 1102 * l10nflist.c (_nl_normalize_codeset): We convert to lower case, 1103 so don't prepend uppercase `ISO' for only numeric arg. 1104 1105Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com> 1106 1107 * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after 1108 definition of _GNU_SOURCE. Patch by Roland McGrath. 1109 1110 * Makefile.in (uninstall): Fix another bug with `for' loop and 1111 empty arguments. Patch by Jim Meyering. Correct name os 1112 uninstalled files: no intl- prefix anymore. 1113 1114 * Makefile.in (install-data): Again work around shells which 1115 cannot handle mpty for list. Reported by Jim Meyering. 1116 1117Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com> 1118 1119 * Makefile.in (install): Split goal. Now depend on install-exec 1120 and install-data. 1121 (install-exec, install-data): New goals. Created from former 1122 install goal. 1123 Reported by Karl Berry. 1124 1125Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com> 1126 1127 * Makefile.in (MKINSTALLDIRS): New variable. Path to 1128 mkinstalldirs script. 1129 (install): use MKINSTALLDIRS variable or if the script is not present 1130 try to find it in the $top_scrdir). 1131 1132Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com> 1133 1134 * l10nflist.c: Linux libc *partly* includes the argz_* functions. 1135 Grr. Work around by renaming the static version and use macros 1136 for renaming. 1137 1138Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com> 1139 1140 * l10nflist.c: Correct presence test macros of __argz_* functions. 1141 1142 * l10nflist.c: Include <argz.h> based on test of it instead when 1143 __argz_* functions are available. 1144 Reported by Andreas Schwab. 1145 1146Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com> 1147 1148 * explodename.c, l10nflist.c: Define NULL for dumb systems. 1149 1150Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com> 1151 1152 * intlh.inst.in, libgettext.h (dcgettext): Rename local variable 1153 result to __result to prevent name clash. 1154 1155 * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to 1156 get prototype for stpcpy and strcasecmp. 1157 1158 * intlh.inst.in, libgettext.h: Move declaration of 1159 `_nl_msg_cat_cntr' outside __extension__ block to prevent warning 1160 from gcc's -Wnested-extern option. 1161 1162Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com> 1163 1164 * Makefile.in (install): Remove comment. 1165 1166Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com> 1167 1168 * Makefile.in (install): Work around for another Buglix stupidity. 1169 Always use an `else' close for `if's. Reported by Nelson Beebe. 1170 1171 * Makefile.in (intlh.inst): Correct typo in phony rule. 1172 Reported by Nelson Beebe. 1173 1174Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com> 1175 1176 * dcgettext.c (read_alias_file): Rename variable alloca_list to 1177 block_list as the macro calls assume. 1178 Patch by Eric Backus. 1179 1180 * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using 1181 malloc. 1182 (read_alias_file): Rename varriabe alloca_list to block_list as the 1183 macro calls assume. 1184 Patch by Eric Backus. 1185 1186 * l10nflist.c: Correct conditional for <argz.h> inclusion. 1187 Reported by Roland McGrath. 1188 1189 * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not 1190 all-@USE_NLS@. 1191 1192 * Makefile.in (install): intlh.inst comes from local dir, not 1193 $(srcdir). 1194 1195 * Makefile.in (intlh.inst): Special handling of this goal. If 1196 used in gettext, this is really a rul to construct this file. If 1197 used in any other package it is defined as a .PHONY rule with 1198 empty body. 1199 1200 * finddomain.c: Extract locale file information handling into 1201 l10nfile.c. Rename local stpcpy__ function to stpcpy. 1202 1203 * dcgettext.c (stpcpy): Add local definition. 1204 1205 * l10nflist.c: Solve some portability problems. Patches partly by 1206 Thomas Esken. Add local definition of stpcpy. 1207 1208Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com> 1209 1210 * intlh.inst.in: Don't depend including <locale.h> on 1211 HAVE_LOCALE_H. Instead configure must rewrite this fiile 1212 depending on the result of the configure run. 1213 1214 * Makefile.in (install): libintl.inst is now called intlh.inst. 1215 Add rules for updating intlh.inst from intlh.inst.in. 1216 1217 * libintl.inst: Renamed to intlh.inst.in. 1218 1219 * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1 1220 because gcc has __buitlin_alloca. 1221 Reported by Roland McGrath. 1222 1223Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com> 1224 1225 * Makefile.in (installcheck): New goal to fulfill needs of 1226 automake's distcheck. 1227 1228 * Makefile.in (install): Reorder commands so that VERSION is 1229 found. 1230 1231 * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in 1232 @datadir@/gettext. 1233 (COMSRCS): Add l10nfile.c. 1234 (OBJECTS): Add l10nfile.o. 1235 (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common). 1236 (DISTFILE.gettext): Remove $(DISTFILES.common). 1237 (all-gettext): Remove goal. 1238 (install): If $(PACKAGE) = gettext install, otherwose do nothing. No 1239 package but gettext itself should install libintl.h + headers. 1240 (dist): Extend goal to work for gettext, too. 1241 (dist-gettext): Remove goal. 1242 1243 * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc. 1244 1245Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com> 1246 1247 * loadmsgcat.c (_nl_load_domain): Parameter is now comes from 1248 find_l10nfile. 1249 1250Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com> 1251 1252 * l10nflist.c (__argz_next): Add definition. 1253 1254 * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca 1255 code. Use new l10nfile handling. 1256 1257 * localealias.c [!HAVE_ALLOCA]: Add code for handling missing 1258 alloca code. 1259 1260 * l10nflist.c: Initial revision. 1261 1262Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware> 1263 1264 * Makefile.in (all-gettext): New goal. Same as all-yes. 1265 1266Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de> 1267 1268 * Makefile.in (gettextsrcdir): Define using @datadir@. 1269 1270Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware> 1271 1272 * finddomain.c: Include <ctype.h>. Reported by Roland McGrath. 1273 1274Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware> 1275 1276 * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing 1277 with external declaration. 1278 1279Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware> 1280 1281 * Makefile.in (all-no): Rename from all_no. 1282 1283Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware> 1284 1285 * gettextP.h [loaded_domain]: Array `successor' must now contain up 1286 to 63 elements (because of codeset name normalization). 1287 1288 * finddomain.c: Implement codeset name normalization. 1289 1290Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware> 1291 1292 * Makefile.in (all): Define to `all-@USE_NLS@'. 1293 (all-yes, all_no): New goals. `all-no' is noop, `all-yes' 1294 is former all. 1295 1296Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com> 1297 1298 * localealias.c (alias_compare): Increment string pointers in loop 1299 of strcasecmp replacement. 1300 1301Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware> 1302 1303 * Makefile.in (install-src): Who commented this goal out ? :-) 1304 1305Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware> 1306 1307 * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls 1308 should not effect it because a missing catalog is no error. 1309 Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>. 1310 1311Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware> 1312 1313 * Makefile.in (Makefile): Explicitly use $(SHELL) for running 1314 shell scripts. 1315 1316Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1317 1318 * Makefile.in (install-src): Only install library and header when 1319 we use the own implementation. Don't do it when using the 1320 system's gettext or catgets functions. 1321 1322 * dcgettext.c (find_msg): Must not swap domain->hash_size here. 1323 1324Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware> 1325 1326 * localealias.c, libintl.inst, libgettext.h, hash-string.h, 1327 gettextP.h, finddomain.c, dcgettext.c, cat-compat.c: 1328 Use PARAMS instead of __P. Suggested by Roland McGrath. 1329 1330Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu> 1331 1332 * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if 1333 !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty. 1334 1335Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware> 1336 1337 * Makefile.in (install-src): 1338 Install libintl.inst instead of libintl.h.install. 1339 1340Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu> 1341 1342 * cat-compat.c (textdomain): 1343 Reverse order in which files are tried you load. First 1344 try local file, when this failed absolute path. 1345 1346Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu> 1347 1348 * cat-compat.c (bindtextdomain): Add missing { }. 1349 1350Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware> 1351 1352 * libintl.inst: Add missing __P definition. Reported by Nelson Beebe. 1353 1354 * Makefile.in: 1355 Add dummy `all' and `dvi' goals. Reported by Tom Tromey. 1356 1357Sat Nov 25 16:12:01 1995 François Pinard <pinard@iro.umontreal.ca> 1358 1359 * hash-string.h: Capitalize arguments of macros. 1360 1361Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware> 1362 1363 * Makefile.in (DISTFILES): Prevent files names longer than 13 1364 characters. libintl.h.glibc->libintl.glibc, 1365 libintl.h.install->libintl.inst. Reported by Joshua R. Poulson. 1366 1367Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com> 1368 1369 * dcgettext.c: Fix bug in preprocessor conditionals. 1370 1371Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu> 1372 1373 * libgettext.h: Solaris cc does not understand 1374 #if !SYMBOL1 && !SYMBOL2. Sad but true. 1375 1376Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware> 1377 1378 * hash-string.h (hash_string): 1379 Fix for machine with >32 bit `unsigned long's. 1380 1381 * dcgettext.c (DCGETTEXT): 1382 Fix horrible bug in loop for alternative translation. 1383 1384Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware> 1385 1386 * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed: 1387 Some further simplifications in message number generation. 1388 1389Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware> 1390 1391 * libintl.h.glibc: Use __const instead of const in prototypes. 1392 1393 * Makefile.in (install-src): 1394 Install libintl.h.install instead of libintl.h. This 1395 is a stripped-down version. Suggested by Peter Miller. 1396 1397 * libintl.h.install, libintl.h.glibc: Initial revision. 1398 1399 * localealias.c (_nl_expand_alias, read_alias_file): 1400 Protect prototypes in type casts by __P. 1401 1402Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware> 1403 1404 * hash-string.h: Correct prototype for hash_string. 1405 1406Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware> 1407 1408 * hash-string.h (hash_string): Add prototype. 1409 1410 * gettextP.h: Fix copyright. 1411 (SWAP): Add prototype. 1412 1413Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware> 1414 1415 * localealias.c (read_alias_file): Forgot sizeof. 1416 Avoid calling *printf function. This introduces a big overhead. 1417 Patch by Roland McGrath. 1418 1419Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware> 1420 1421 * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy. 1422 1423 * finddomain.c (stpcpy): 1424 Define substitution function local. The macro was to flaky. 1425 1426 * cat-compat.c: Fix typo. 1427 1428 * xopen-msg.sed, linux-msg.sed: 1429 While bringing message number to right place only accept digits. 1430 1431 * linux-msg.sed, xopen-msg.sed: Now that the counter does not have 1432 leading 0s we don't need to remove them. Reported by Marcus 1433 Daniels. 1434 1435 * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in 1436 dependency. Reported by Marcus Daniels. 1437 1438 * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement. 1439 Generally cleanup using #if instead of #ifndef. 1440 1441 * Makefile.in: Correct typos in comment. By François Pinard. 1442 1443Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware> 1444 1445 * Makefile.in (install-src): Don't install libintl.h and libintl.a 1446 if we use an available gettext implementation. 1447 1448Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware> 1449 1450 * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported 1451 by François Pinard. 1452 1453 * libgettext.h: Use #if instead of #ifdef/#ifndef. 1454 1455 * finddomain.c: 1456 Comments describing what has to be done should start with FIXME. 1457 1458Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware> 1459 1460 * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning. 1461 DISTFILES.common names the files common to both dist goals. 1462 DISTFILES.gettext are the files only distributed in GNU gettext. 1463 1464Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware> 1465 1466 * dcgettext.c (DCGETTEXT): Correct searching in derived locales. 1467 This was necessary since a change in _nl_find_msg several weeks 1468 ago. I really don't know this is still not fixed. 1469 1470Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware> 1471 1472 * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This 1473 might mark a special condition. 1474 1475 * finddomain.c (make_entry_rec): Don't make illegal entry as decided. 1476 1477 * Makefile.in (dist): Suppress error message when ln failed. 1478 Get files from $(srcdir) explicitly. 1479 1480 * libgettext.h (gettext_const): Rename to gettext_noop. 1481 1482Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware> 1483 1484 * finddomain.c (make_entry_rec): 1485 Protect against wrong locale names by testing mask. 1486 1487 * libgettext.h (gettext_const): Add macro definition. 1488 Capitalize macro arguments. 1489 1490Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware> 1491 1492 * finddomain.c (_nl_find_domain): 1493 Test for pointer != NULL before accessing value. 1494 Reported by Tom Tromey. 1495 1496 * gettext.c (NULL): 1497 Define as (void*)0 instad of 0. Reported by François Pinard. 1498 1499Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware> 1500 1501 * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering. 1502 1503Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware> 1504 1505 * libgettext.h: Disable dcgettext optimization for Solaris 2.3. 1506 1507 * localealias.c (alias_compare): 1508 Peter Miller reported that tolower in some systems is 1509 even dumber than I thought. Protect call by `isupper'. 1510 1511Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware> 1512 1513 * Makefile.in (libdir, includedir): New variables. 1514 (install-src): Install libintl.a and libintl.h in correct dirs. 1515 1516Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware> 1517 1518 * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c. 1519 1520 * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques. 1521 1522 * localealias.c: 1523 Fix typo and superflous test. Reported by Christian von Roques. 1524 1525Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware> 1526 1527 * finddomain.c (_nl_find_domain): 1528 Correct some remainder from the pre-CEN syntax. Now 1529 we don't have a constant number of successors anymore. 1530 1531Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware> 1532 1533 * Makefile.in (DISTFILES): Add libintl.h.glibc. 1534 1535 * Makefile.in (dist-libc): Add goal for packing sources for glibc. 1536 (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc. 1537 1538 * loadmsgcat.c: Forget to continue #if line. 1539 1540 * localealias.c: 1541 [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name 1542 space clean. 1543 1544 * dcgettext.c, finddomain.c: Better comment to last change. 1545 1546 * loadmsgcat.c: 1547 [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to 1548 __fstat, __open, __close, __read, __mmap, and __munmap resp 1549 to keep ANSI C name space clean. 1550 1551 * finddomain.c: 1552 [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean. 1553 1554 * dcgettext.c: 1555 [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to 1556 keep ANSI C name space clean. 1557 1558 * libgettext.h: 1559 Include sys/types.h for those old SysV systems out there. 1560 Reported by Francesco Potorti`. 1561 1562 * loadmsgcat.c (use_mmap): Define if compiled for glibc. 1563 1564 * bindtextdom.c: Include all those standard headers 1565 unconditionally if _LIBC is defined. 1566 1567 * finddomain.c: Fix 2 times defiend -> defined. 1568 1569 * textdomain.c: Include libintl.h instead of libgettext.h when 1570 compiling for glibc. Include all those standard headers 1571 unconditionally if _LIBC is defined. 1572 1573 * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc. 1574 1575 * gettext.c: 1576 Include libintl.h instead of libgettext.h when compiling for glibc. 1577 Get NULL from stddef.h if we compile for glibc. 1578 1579 * finddomain.c: Include libintl.h instead of libgettext.h when 1580 compiling for glibc. Include all those standard headers 1581 unconditionally if _LIBC is defined. 1582 1583 * dcgettext.c: Include all those standard headers unconditionally 1584 if _LIBC is defined. 1585 1586 * dgettext.c: If compiled in glibc include libintl.h instead of 1587 libgettext.h. 1588 (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc. 1589 1590 * dcgettext.c: If compiled in glibc include libintl.h instead of 1591 libgettext.h. 1592 (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc. 1593 1594 * bindtextdom.c: 1595 If compiled in glibc include libintl.h instead of libgettext.h. 1596 1597Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware> 1598 1599 * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0. 1600 Reported by Marcus Daniels. 1601 1602 * cat-compat.c (bindtextdomain): 1603 String used in putenv must not be recycled. 1604 Reported by Marcus Daniels. 1605 1606 * libgettext.h (__USE_GNU_GETTEXT): 1607 Additional symbol to signal that we use GNU gettext 1608 library. 1609 1610 * cat-compat.c (bindtextdomain): 1611 Fix bug with the strange stpcpy replacement. 1612 Reported by Nelson Beebe. 1613 1614Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware> 1615 1616 * cat-compat.c: Include <string.h> for stpcpy prototype. 1617 1618 * localealias.c (read_alias_file): 1619 While expand strdup code temporary variable `cp' hided 1620 higher level variable with same name. Rename to `tp'. 1621 1622 * textdomain.c (textdomain): 1623 Avoid warning by using temporary variable in strdup code. 1624 1625 * finddomain.c (_nl_find_domain): Remove unused variable `application'. 1626 1627Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware> 1628 1629 * localealias.c (alias_compare): 1630 Use strcasecmp() only if available. Else use 1631 implementation in place. 1632 1633 * intl-compat.c: 1634 Wrapper functions now call *__ functions instead of __*. 1635 1636 * libgettext.h: Declare prototypes for *__ functions instead for __*. 1637 1638 * cat-compat.c, loadmsgcat.c: 1639 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 1640 of the standard libc and so prevent libintl.a from being used 1641 standalone. 1642 1643 * bindtextdom.c: 1644 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 1645 of the standard libc and so prevent libintl.a from being used 1646 standalone. 1647 Rename to bindtextdomain__ if not used in GNU C Library. 1648 1649 * dgettext.c: 1650 Rename function to dgettext__ if not used in GNU C Library. 1651 1652 * gettext.c: 1653 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 1654 of the standard libc and so prevent libintl.a from being used 1655 standalone. 1656 Functions now called gettext__ if not used in GNU C Library. 1657 1658 * dcgettext.c, localealias.c, textdomain.c, finddomain.c: 1659 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part 1660 of the standard libc and so prevent libintl.a from being used 1661 standalone. 1662 1663Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware> 1664 1665 * finddomain.c: Correct some bugs in handling of CEN standard 1666 locale definitions. 1667 1668Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware> 1669 1670 * finddomain.c: Implement CEN syntax. 1671 1672 * gettextP.h (loaded_domain): Extend number of successors to 31. 1673 1674Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware> 1675 1676 * Makefile.in (aliaspath): Remove path to X11 locale dir. 1677 1678 * Makefile.in: Make install-src depend on install. This helps 1679 gettext to install the sources and other packages can use the 1680 install goal. 1681 1682Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware> 1683 1684 * Makefile.in (uninstall): Remove stuff installed by install-src. 1685 1686Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware> 1687 1688 * VERSION.in: Initial revision. 1689 1690 * Makefile.in (DISTFILES): 1691 Add VERSION file. This is not necessary for gettext, but 1692 for other packages using this library. 1693 1694Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware> 1695 1696 * gettextP.h (_nl_find_domain): 1697 New prototype after changing search strategy. 1698 1699 * finddomain.c (_nl_find_domain): 1700 We now try only to find a specified catalog. Fall back to other 1701 catalogs listed in the locale list is now done in __dcgettext. 1702 1703 * dcgettext.c (__dcgettext): 1704 Now we provide message fall back even to different languages. 1705 I.e. if a message is not available in one language all the other 1706 in the locale list a tried. Formerly fall back was only possible 1707 within one language. Implemented by moving one loop from 1708 _nl_find_domain to here. 1709 1710Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware> 1711 1712 * Makefile.in (gettextsrcdir): 1713 Directory where source of GNU gettext library are made 1714 available. 1715 (INSTALL, INSTALL_DATA): Programs used for installing sources. 1716 (gettext-src): New. Rule to install GNU gettext sources for use in 1717 gettextize shell script. 1718 1719Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware> 1720 1721 * loadmsgcat.c (_nl_load_domain): 1722 Use mmap for loading only when munmap function is 1723 also available. 1724 1725 * Makefile.in (install): Depend on `all' goal. 1726 1727Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware> 1728 1729 * localealias.c (read_alias_file): 1730 Do not overwrite '\n' when terminating alias value string. 1731 1732 * localealias.c (read_alias_file): 1733 Handle long lines. Ignore the rest not fitting in 1734 the buffer after the initial `fgets' call. 1735 1736Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware> 1737 1738 * gettextP.h (_nl_load_domain): 1739 Add prototype, replacing prototype for _nl_load_msg_cat. 1740 1741 * finddomain.c (_nl_find_domain): 1742 Remove unneeded variable filename and filename_len. 1743 (expand_alias): Remove prototype because functions does not 1744 exist anymore. 1745 1746 * localealias.c (read_alias_file): 1747 Change type of fname_len parameter to int. 1748 (xmalloc): Add prototype. 1749 1750 * loadmsgcat.c: Better prototypes for xmalloc. 1751 1752Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware> 1753 1754 * finddomain.c (_nl_find_domain): 1755 Allow alias name to be constructed from the four components. 1756 1757 * Makefile.in (aliaspath): New variable. Set to preliminary value. 1758 (SOURCES): Add localealias.c. 1759 (OBJECTS): Add localealias.o. 1760 1761 * gettextP.h: Add prototype for _nl_expand_alias. 1762 1763 * finddomain.c: Aliasing handled in intl/localealias.c. 1764 1765 * localealias.c: Aliasing for locale names. 1766 1767 * bindtextdom.c: Better prototypes for xmalloc and xstrdup. 1768 1769Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware> 1770 1771 * Makefile.in (DISTFILES): gettext.perl is now found in misc/. 1772 1773 * cat-compat.c (bindtextdomain): 1774 Correct implementation. dirname parameter was not used. 1775 Reported by Marcus Daniels. 1776 1777 * gettextP.h (loaded_domain): 1778 New fields `successor' and `decided' for oo, lazy 1779 message handling implementation. 1780 1781 * dcgettext.c: 1782 Adopt for oo, lazy message handliing. 1783 Now we can inherit translations from less specific locales. 1784 (find_msg): New function. 1785 1786 * loadmsgcat.c, finddomain.c: 1787 Complete rewrite. Implement oo, lazy message handling :-). 1788 We now have an additional environment variable `LANGUAGE' with 1789 a higher priority than LC_ALL for the LC_MESSAGE locale. 1790 Here we can set a colon separated list of specifications each 1791 of the form `language[_territory[.codeset]][@modifier]'. 1792 1793Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware> 1794 1795 * finddomain.c (unistd.h): 1796 Include to get _PC_PATH_MAX defined on system having it. 1797 1798Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware> 1799 1800 * finddomain.c (stpcpy): Include prototype. 1801 1802 * Makefile.in (dist): Remove `copying instead' message. 1803 1804Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware> 1805 1806 * Makefile.in (ID, TAGS): Do not use $^. 1807 1808Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware> 1809 1810 * Makefile.in (TAGS, ID): Use $^ as command argument. 1811 (TAGS): Give etags -o option t write to current directory, 1812 not $(srcdir). 1813 (ID): Use $(srcdir) instead os $(top_srcdir)/src. 1814 (distclean): Remove ID. 1815 1816Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware> 1817 1818 * Makefile.in (gnulocaledir): 1819 New variable, always using share/ for data directory. 1820 (DEFS): Add GNULOCALEDIR, used in finddomain.c. 1821 1822 * finddomain.c (_nl_default_dirname): 1823 Set to GNULOCALEDIR, because it always has to point 1824 to the directory where GNU gettext Library writes it to. 1825 1826 * intl-compat.c (textdomain, bindtextdomain): 1827 Undefine macros before function definition. 1828 1829Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware> 1830 1831 * libgettext.h (_LIBINTL_H): 1832 Protect definition in case where this file is included as 1833 libgettext.h on Solaris machines. Add comment about this. 1834 1835Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware> 1836 1837 * intl-compat.c (textdomain): Correct typo. 1838 1839Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware> 1840 1841 * dcgettext.c (dcgettext): Function now called __dcgettext. 1842 1843 * dgettext.c (dgettext): Now called __dgettext and calls 1844 __dcgettext. 1845 1846 * gettext.c (gettext): 1847 Function now called __gettext and calls __dgettext. 1848 1849 * textdomain.c (textdomain): Function now called __textdomain. 1850 1851 * bindtextdom.c (bindtextdomain): Function now called 1852 __bindtextdomain. 1853 1854 * intl-compat.c: Initial revision. 1855 1856 * Makefile.in (SOURCES): Add intl-compat.c. 1857 (OBJECTS): We always compile the GNU gettext library functions. 1858 OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o, 1859 and intl-compat.o. 1860 (GETTOBJS): Contains now only intl-compat.o. 1861 1862 * libgettext.h: 1863 Re-include protection matches dualistic character of libgettext.h. 1864 For all functions in GNU gettext library define __ counter part. 1865 1866 * finddomain.c (strchr): Define as index if not found in C library. 1867 (_nl_find_domain): For relative paths paste / in between. 1868 1869Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware> 1870 1871 * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h. 1872 1873 * xopen-msg.sed: Fix bug with `msgstr ""' lines. 1874 A little bit better comments. 1875 1876Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware> 1877 1878 * Makefile.in: 1879 po-mode.el, makelinks, combine-sh are now found in ../misc. 1880 1881 * po-mode.el, makelinks, combine-sh, elisp-comp: 1882 Moved to ../misc/. 1883 1884 * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__. 1885 1886Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware> 1887 1888 * Makefile.in (INSTALL, INSTALL_DATA): New variables. 1889 (install-data, uninstall): Install/uninstall .elc file. 1890 1891 * po-mode.el (Installation comment): 1892 Add .pox as possible extension of .po files. 1893 1894Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware> 1895 1896 * elisp-comp: Complete new version by François: This does not 1897 fail when not compiling in the source directory. 1898 1899Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware> 1900 1901 * Makefile.in (../po/cat-id-tbl.o): 1902 Use $(MAKE) instead of make for recursive make. 1903 1904 * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh. 1905 (install-exec): Add missing dummy goal. 1906 (install-data, uninstall): @ in multi-line shell command at 1907 beginning, not in front of echo. Reported by Eric Backus. 1908 1909Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware> 1910 1911 * Makefile.in (DISTFILES): 1912 Rename libgettext.perl to gettext.perl to fit in 14 chars 1913 file systems. 1914 1915 * gettext.perl: 1916 Rename to gettext.perl to fit in 14 chars file systems. 1917 1918Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware> 1919 1920 * cat-compat.c: If !STDC_HEADERS try to include malloc.h. 1921 1922Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware> 1923 1924 * po2tbl.sed.in: Pretty printing. 1925 1926 * linux-msg.sed, xopen-msg.sed: 1927 Correct bugs with handling substitute flags in branches. 1928 1929 * hash-string.h (hash_string): 1930 Old K&R compilers don't under stand `unsigned char'. 1931 1932 * gettext.h (nls_uint32): 1933 Some old K&R compilers (eg HP) don't understand `unsigned int'. 1934 1935 * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes. 1936 1937Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware> 1938 1939 * Makefile.in (ELCFILES): New variable. 1940 (DISTFILES): Add elisp-comp. 1941 Add implicit rule for .el -> .elc compilation. 1942 (install-data): install $ELCFILES 1943 (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp. 1944 1945 * elisp-comp: Initial revision 1946 1947Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware> 1948 1949 * Makefile.in: 1950 cat-id-tbl.c is now found in po/. This enables us to use an identical 1951 intl/ directory in all packages. 1952 1953 * dcgettext.c (dcgettext): hashing does not work for table size <= 2. 1954 1955 * textdomain.c: fix typo (#if def -> #if defined) 1956 1957Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware> 1958 1959 * Makefile.in (stamp-cat-id): use top_srcdir to address source files 1960 (DISTFILES,distclean): move tupdate.perl to src/ 1961 1962 * po-to-tbl.sed.in: 1963 add additional jump to clear change flag to recognize multiline strings 1964 1965Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware> 1966 1967 * textdomain.c: Protect inclusion of stdlib.h and string.h. 1968 1969 * loadmsgcat.c: Protect inclusion of stdlib.h. 1970 1971 * libgettext.h: Protect inclusion of locale.h. 1972 Allow use in C++ programs. 1973 Define NULL is not happened already. 1974 1975 * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of 1976 po-to-tbl.sed. 1977 (distclean): remove po-to-tbl.sed and tupdate.perl. 1978 1979 * tupdate.perl.in: Substitute Perl path even in exec line. 1980 Don't include entries without translation from old .po file. 1981 1982Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware> 1983 1984 * tupdate.perl.in: use "Updated: " in msgid "". 1985 1986 * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR). 1987 Define getenv if !__STDC__. 1988 1989 * bindtextdom.c: Protect stdlib.h and string.h inclusion. 1990 Define free if !__STDC__. 1991 1992 * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. 1993 Define free if !__STDC__. 1994 1995 * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR. 1996 1997Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware> 1998 1999 * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR. 2000 Remove unneeded $(srcdir) from Makefile.in dependency. 2001 2002 * makelinks: Add copyright and short description. 2003 2004 * po-mode.el: Last version for 0.7. 2005 2006 * tupdate.perl.in: Fix die message. 2007 2008 * dcgettext.c: Protect include of string.h. 2009 2010 * gettext.c: Protect include of stdlib.h and further tries to get NULL. 2011 2012 * finddomain.c: Some corrections in includes. 2013 2014 * Makefile.in (INCLUDES): Prune list correct path to Makefile.in. 2015 2016 * po-to-tbl.sed: Adopt for new .po file format. 2017 2018 * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format. 2019 2020Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware> 2021 2022 * tupdate.perl.in: Complete rewrite for new .po file format. 2023 2024Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware> 2025 2026 * First official release. This directory contains all the code 2027 needed to internationalize own packages. It provides functions 2028 which allow to use the X/Open catgets function with an interface 2029 like the Uniforum gettext function. For system which does not 2030 have neither of those a complete implementation is provided. 2031