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