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