| | 1 | 2001-05-23 Bruno Haible <haible@clisp.cons.org> |
| | 2 | |
| | 3 | * gettext-0.10.38 released. |
| | 4 | |
| | 5 | 2001-05-22 Bruno Haible <haible@clisp.cons.org> |
| | 6 | |
| | 7 | * Makefile.in (install-data): Install plural.c as well. |
| | 8 | (uninstall): Uninstall plural.c as well. |
| | 9 | |
| | 10 | 2001-05-18 Bruno Haible <haible@clisp.cons.org> |
| | 11 | |
| | 12 | * Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute |
| | 13 | file in either current directory or $(srcdir), whichever exists. |
| | 14 | |
| | 15 | 2001-05-11 Bruno Haible <haible@clisp.cons.org> |
| | 16 | |
| | 17 | * Makefile.in (install-exec): Don't install charset.alias on glibc 2.1 |
| | 18 | systems. |
| | 19 | |
| | 20 | 2001-04-30 Bruno Haible <haible@clisp.cons.org> |
| | 21 | |
| | 22 | * dcigettext.c (getuid, getgid, geteuid, getegid): Provide default |
| | 23 | definitions. Needed for mingw32. |
| | 24 | |
| | 25 | 2001-04-19 Bruno Haible <haible@clisp.cons.org> |
| | 26 | |
| | 27 | * gettext-0.10.37 released. |
| | 28 | |
| | 29 | 2001-04-19 Bruno Haible <haible@clisp.cons.org> |
| | 30 | |
| | 31 | * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0. |
| | 32 | |
| | 33 | 2001-04-19 Bruno Haible <haible@clisp.cons.org> |
| | 34 | |
| | 35 | * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when |
| | 36 | the libiconv version is smaller than 1.5. |
| | 37 | |
| | 38 | 2001-04-09 Bruno Haible <haible@clisp.cons.org> |
| | 39 | |
| | 40 | * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined. |
| | 41 | Apple's MacOS X compiler has not all the features that the regular |
| | 42 | GCC with the same version number has. |
| | 43 | |
| | 44 | 2001-04-07 Bruno Haible <haible@clisp.cons.org> |
| | 45 | |
| | 46 | * gettextP.h (struct loaded_domain): Add codeset_cntr field. |
| | 47 | (struct binding): Add codeset_cntr field. |
| | 48 | (_nl_load_domain): Add domainbinding argument. |
| | 49 | (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. |
| | 50 | (_nl_find_msg): New declaration, moved here from loadinfo.h. |
| | 51 | * loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. |
| | 52 | (_nl_make_l10nflist): Remove domainbinding argument. |
| | 53 | (_nl_find_msg): Move declaration to gettextP.h. |
| | 54 | * bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0. |
| | 55 | Increment it when ->codeset is changed. |
| | 56 | * dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. |
| | 57 | (_nl_find_msg): Add domainbinding argument. Reinitialize the converter |
| | 58 | if domainbinding->codeset_cntr has been incremented. |
| | 59 | * finddomain.c (_nl_find_domain): Don't pass domainbinding to |
| | 60 | _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. |
| | 61 | * l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. |
| | 62 | * loadmsgcat.c (_nl_init_domain_conv): New function, extracted from |
| | 63 | _nl_load_domain. Append //TRANSLIT also when using libiconv. |
| | 64 | (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. |
| | 65 | (_nl_load_domain): Add domainbinding argument. Call |
| | 66 | _nl_init_domain_conv. |
| | 67 | (_nl_unload_domain): Call _nl_free_domain_conv. |
| | 68 | |
| | 69 | 2001-04-09 Bruno Haible <haible@clisp.cons.org> |
| | 70 | |
| | 71 | * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2 |
| | 72 | (Linux libc5). |
| | 73 | |
| | 74 | 2001-04-04 Bruno Haible <haible@clisp.cons.org> |
| | 75 | |
| | 76 | * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__. |
| | 77 | |
| | 78 | 2001-04-04 Bruno Haible <haible@clisp.cons.org> |
| | 79 | |
| | 80 | * Makefile.in (libdir, includedir, datadir): Use the autoconf |
| | 81 | determined value, in order to respect the configure arguments. |
| | 82 | (gettextsrcdir): Use $(datadir), not @datadir@. |
| | 83 | |
| | 84 | 2001-03-29 Bruno Haible <haible@clisp.cons.org> |
| | 85 | |
| | 86 | * gettext-0.10.36 released. |
| | 87 | |
| | 88 | 2001-03-25 Bruno Haible <haible@clisp.cons.org> |
| | 89 | |
| | 90 | * Makefile.in (install-data): Set execution bits on installed |
| | 91 | config.charset. |
| | 92 | |
| | 93 | 2001-03-23 Bruno Haible <haible@clisp.cons.org> |
| | 94 | |
| | 95 | * Makefile.in (YACC): Use @INTLBISON@ instead of bison. |
| | 96 | |
| | 97 | 2001-03-21 Bruno Haible <haible@clisp.cons.org> |
| | 98 | |
| | 99 | * dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc |
| | 100 | chokes on empty macro arguments. |
| | 101 | * plural.y: Add #pragma for alloca on AIX 3. |
| | 102 | |
| | 103 | 2001-03-20 Bruno Haible <haible@clisp.cons.org> |
| | 104 | |
| | 105 | * Makefile.in (DISTFILES.generated): New variable. |
| | 106 | (DISTFILES.gettext): Remove plural.c. |
| | 107 | (dist): Use DISTFILES.generated. |
| | 108 | (YACC): Use "bison -y" instead of @YACC@. |
| | 109 | Needed for "make dist" to work in normal packages. |
| | 110 | |
| | 111 | 2001-03-20 Bruno Haible <haible@clisp.cons.org> |
| | 112 | |
| | 113 | * Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate |
| | 114 | the files to be distributed through a recursive 'make' call. |
| | 115 | |
| | 116 | 2001-03-17 Bruno Haible <haible@clisp.cons.org> |
| | 117 | |
| | 118 | * gettextP.h (struct expression): Add operators lnot, less_than, |
| | 119 | greater_than, less_or_equal, greater_or_equal. Replace args2/args3 |
| | 120 | union by a 'nargs' counter and an 'args[]' array. |
| | 121 | * plural.y: Don't include stdarg.h. |
| | 122 | (new_exp): New function. |
| | 123 | (new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp. |
| | 124 | (new_exp_1): New function. |
| | 125 | ('?' ':'): Make right-associative. |
| | 126 | (EQUOP2): New token, replaces '=' and '!'. |
| | 127 | (CMPOP2): New token. |
| | 128 | (ADDOP2): New token, replaces '+' and '-'. |
| | 129 | (MULOP2): New token, replaces '*', '/' and '%'. |
| | 130 | ('!'): New token. |
| | 131 | (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT. |
| | 132 | (start): Call YYABORT here. |
| | 133 | (FREE_EXPRESSION): Update. |
| | 134 | (yylex): Don't skip "\\n". Recognize comparison and '!' operators. |
| | 135 | Update for new token symbols. |
| | 136 | * loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural): |
| | 137 | Update. |
| | 138 | * dcigettext.c (_nl_find_msg): Optimize for space. |
| | 139 | (plural_eval): Recognize comparison and '!' operators. Optimize for |
| | 140 | space. |
| | 141 | |
| | 142 | * dcigettext.c (transcmp): New declaration. |
| | 143 | |
| | 144 | 2001-03-10 Bruno Haible <haible@clisp.cons.org> |
| | 145 | |
| | 146 | * Makefile.in (libintl.la): Pass -liconv and flag -no-undefined. |
| | 147 | Needed on platforms like BeOS. |
| | 148 | |
| | 149 | * Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la. |
| | 150 | (libgnuintl.a, libgnuintl.la): New targets. Needed for linking |
| | 151 | ../tests/tstgettext on systems which have gettext() in libintl.so. |
| | 152 | |
| | 153 | * localcharset.c (locale_charset): Allow wildcard syntax. Resolve |
| | 154 | alias also if codeset is empty. |
| | 155 | * config.charset (BeOS): Use wildcard syntax. |
| | 156 | |
| | 157 | * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL |
| | 158 | any more. |
| | 159 | |
| | 160 | 2001-03-09 Bruno Haible <haible@clisp.cons.org> |
| | 161 | |
| | 162 | * config.charset: Update from libiconv-1.6. |
| | 163 | * localcharset.c: Likewise. |
| | 164 | |
| | 165 | 2001-02-25 Ulrich Drepper <drepper@redhat.com> |
| | 166 | |
| | 167 | * locale.alias: Don't use nb_NO but define aliases for it. |
| | 168 | |
| | 169 | 2001-01-26 Ulrich Drepper <drepper@redhat.com> |
| | 170 | |
| | 171 | * loadmsgcat.c: Include <locale.h> for _LIBC. |
| | 172 | |
| | 173 | 2001-03-09 Bruno Haible <haible@clisp.cons.org> |
| | 174 | |
| | 175 | * dcigettext.c (transmem_block_t): Change to unsigned char, to avoid |
| | 176 | compiler warning. |
| | 177 | (_nl_find_msg): Add casts to avoid compiler warnings. |
| | 178 | |
| | 179 | 2001-03-09 Bruno Haible <haible@clisp.cons.org> |
| | 180 | |
| | 181 | * Makefile.in (DISTFILES.common): Remove ChangeLog. |
| | 182 | (DISTFILES.obsolete): New variable. |
| | 183 | (install-data): Install ChangeLog.inst as ChangeLog. Remove the files |
| | 184 | listed in DISTFILES.obsolete. |
| | 185 | (uninstall): Simplify. |
| | 186 | (distclean): Remove ChangeLog.inst. |
| | 187 | (dist): Mention ChangeLog explicitly. |
| | 188 | |
| | 189 | 2001-03-04 Bruno Haible <haible@clisp.cons.org> |
| | 190 | |
| | 191 | * dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH, |
| | 192 | IS_PATH_WITH_DIR): New macros. |
| | 193 | (DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment |
| | 194 | path_max proportionally. |
| | 195 | * loadinfo.h (PATH_SEPARATOR): New macro. |
| | 196 | * l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'. |
| | 197 | * localealias.c (_nl_expand_alias): Likewise. |
| | 198 | * libgnuintl.h (gettext) [DJGPP]: Define as a macro as well. |
| | 199 | |
| | 200 | 2001-03-06 Bruno Haible <haible@clisp.cons.org> |
| | 201 | |
| | 202 | * libgnuintl.h (LC_MESSAGES): Don't define on Solaris. |
| | 203 | |
| | 204 | 2001-02-24 Bruno Haible <haible@clisp.cons.org> |
| | 205 | |
| | 206 | * dcigettext.c: Update comment about HAVE_LOCALE_NULL. |
| | 207 | |
| | 208 | 2001-02-05 Bruno Haible <haible@clisp.cons.org> |
| | 209 | |
| | 210 | * libgnuintl.h (LC_MESSAGES): Provide a default value. |
| | 211 | |
| | 212 | 2001-01-30 Bruno Haible <haible@clisp.cons.org> |
| | 213 | |
| | 214 | * config.charset: Update for FreeBSD 4.2. |
| | 215 | |
| | 216 | 2001-01-21 Bruno Haible <haible@clisp.cons.org> |
| | 217 | |
| | 218 | Use libtool. |
| | 219 | * Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l. |
| | 220 | (all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL |
| | 221 | is 'yes', still build libintl.$la because the testsuite needs it. |
| | 222 | (libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC) |
| | 223 | must use all $(CFLAGS). |
| | 224 | (install-exec): Use libtool to install libintl.$la. |
| | 225 | (uninstall): Use libtool to uninstall libintl.$la. |
| | 226 | (mostlyclean): Remove *.la and the .libs subdir. |
| | 227 | * intl-compat.c: Reorder. Add comment. |
| | 228 | |
| | 229 | 2001-01-20 Bruno Haible <haible@clisp.cons.org> |
| | 230 | |
| | 231 | * loadmsgcat.c (O_BINARY): Define on platforms that don't have it. |
| | 232 | (_nl_load_domain): Open the catalog file in binary mode. |
| | 233 | |
| | 234 | 2001-01-24 Bruno Haible <haible@clisp.cons.org> |
| | 235 | |
| | 236 | * gettextP.h (SWAP): Remove declaration, to work around a compilation |
| | 237 | failure on alphaev5-cray-unicosmk2.0.5.X. |
| | 238 | |
| | 239 | 2001-01-15 Bruno Haible <haible@clisp.cons.org> |
| | 240 | |
| | 241 | * dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid |
| | 242 | a warning. |
| | 243 | |
| | 244 | 2001-01-07 Bruno Haible <haible@clisp.cons.org> |
| | 245 | |
| | 246 | * gettextP.h (__gettextdebug): Remove declaration. |
| | 247 | (gettext_free_exp__, gettextparse__): New non-libc declarations. |
| | 248 | * plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not |
| | 249 | __gettextparse, __gettext_free_exp. |
| | 250 | * loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse. |
| | 251 | |
| | 252 | 2001-01-07 Bruno Haible <haible@clisp.cons.org> |
| | 253 | |
| | 254 | * libgnuintl.h: Renamed from intlh.inst.in. |
| | 255 | Remove comment about __builtin_constant_p. |
| | 256 | (gettext): Use NULL. |
| | 257 | * libgettext.h: Completely rewritten. Now a conditional wrapper around |
| | 258 | <libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove |
| | 259 | everything else. |
| | 260 | * gettextP.h: Include gettext.h, for nls_uint32. |
| | 261 | (gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__, |
| | 262 | bind_textdomain_codeset__): New declarations, from old libgettext.h. |
| | 263 | * gettext.h: Don't include <stdio.h>. |
| | 264 | * Makefile.in (HEADERS): Add libgnuintl.h. |
| | 265 | (DISTFILES.gettext): Remove intlh.inst.in. |
| | 266 | (all-yes): Depend on libintl.h instead of intlh.inst. |
| | 267 | (libintl.h): New target. Create as a copy of libgnuintl.h. |
| | 268 | (intlh.inst): Remove target. |
| | 269 | (install-exec): Update. |
| | 270 | ($(OBJECTS): Depend on libgnuintl.h, not libgettext.h. |
| | 271 | (mostlyclean): Remove libintl.h instead of intlh.inst. |
| | 272 | (dist-libc): Remove target. |
| | 273 | * bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't |
| | 274 | include gettext.h. |
| | 275 | * dcgettext.c: Likewise. |
| | 276 | * dcigettext.c: Likewise. |
| | 277 | * dcngettext.c: Likewise. |
| | 278 | * dngettext.c: Likewise. |
| | 279 | * finddomain.c: Likewise. |
| | 280 | * ngettext.c: Likewise. |
| | 281 | * textdomain.c: Likewise. |
| | 282 | * dgettext.c: Include libgnuintl.h instead of libgettext.h. Include |
| | 283 | gettextP.h. |
| | 284 | * gettext.c: Likewise. |
| | 285 | * intl-compat.c: Likewise. |
| | 286 | * localealias.c: Don't include gettext.h. |
| | 287 | * plural.y: Likewise. |
| | 288 | |
| | 289 | 2001-01-07 Bruno Haible <haible@clisp.cons.org> |
| | 290 | |
| | 291 | Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist. |
| | 292 | * intlh.inst.in: Likewise. |
| | 293 | * libgettext.h: Likewise. |
| | 294 | * gettextP.h: Likewise. |
| | 295 | * bindtextdom.c: Likewise. |
| | 296 | * dcigettext.c: Likewise. |
| | 297 | * dgettext.c: Likewise. |
| | 298 | * dngettext.c: Likewise. |
| | 299 | * explodename.c: Likewise. |
| | 300 | * finddomain.c: Likewise. |
| | 301 | * gettext.c: Likewise. |
| | 302 | * l10nflist.c: Likewise. |
| | 303 | * loadmsgcat.c: Likewise. |
| | 304 | * localealias.c: Likewise. |
| | 305 | * ngettext.c: Likewise. |
| | 306 | * textdomain.c: Likewise. |
| | 307 | |
| | 308 | 2001-01-06 Bruno Haible <haible@clisp.cons.org> |
| | 309 | |
| | 310 | Remove catgets fallback code. |
| | 311 | - It does not handle message clash prevention through domains and |
| | 312 | dgettext(). |
| | 313 | - It does not handle message catalog inheritance and the LANGUAGE |
| | 314 | environment variable. |
| | 315 | - It does not handle locale aliases. |
| | 316 | - It does not handle automatic charset conversion. |
| | 317 | - It does not handle plural form handling and ngettext(). |
| | 318 | - It uses a slow string to integer conversion. |
| | 319 | - It is sensitive against installation problems. |
| | 320 | * cat-compat.c: Remove file. |
| | 321 | * po2msg.sin, po2tbl.sin: Remove files. |
| | 322 | * Makefile.in (datadir): Assume DATADIRNAME = share. |
| | 323 | (SOURCES): Remove cat-compat.c. |
| | 324 | (DISTFILES.common): Remove po2msg.sin, po2tbl.sin. |
| | 325 | (distclean): No need to remove po2msg.sed, po2tbl.sed. |
| | 326 | (../po/cat-id-tbl.$lo): Remove rule. |
| | 327 | * libgettext.h (_msg_ent): Remove. |
| | 328 | (_msg_tbl, _msg_tbl_length): Remove declarations. |
| | 329 | (gettext, dgettext, ngettext, dngettext): Don't depend on |
| | 330 | !HAVE_CATGETS. |
| | 331 | |
| | 332 | 2001-01-04 Ulrich Drepper <drepper@redhat.com> |
| | 333 | |
| | 334 | * plural.y (yylex): Minimal improvement in number scanner. |
| | 335 | |
| | 336 | 2001-01-02 Ulrich Drepper <drepper@redhat.com> |
| | 337 | |
| | 338 | * dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value |
| | 339 | is ignored if the selected locale is the C locale. |
| | 340 | |
| | 341 | 2000-11-20 Ulrich Drepper <drepper@redhat.com> |
| | 342 | |
| | 343 | * dcigettext.c (transcmp): Make s1 and s2 const. |
| | 344 | * loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to |
| | 345 | avoid warning. |
| | 346 | |
| | 347 | 2000-11-09 Ulrich Drepper <drepper@redhat.com> |
| | 348 | |
| | 349 | * locale.alias: Add thai. |
| | 350 | Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>. |
| | 351 | |
| | 352 | 2001-01-05 Bruno Haible <haible@clisp.cons.org> |
| | 353 | |
| | 354 | * Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib. |
| | 355 | (.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o |
| | 356 | rule, not the builtin .y.o rule. |
| | 357 | (.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make" |
| | 358 | specification. Remove $*.h explicitly: we don't need plural.h. |
| | 359 | * gettextP.h: Include <stddef.h>. |
| | 360 | (__gettext_free_exp, __gettextparse): Convert prototype to K&R C |
| | 361 | syntax. |
| | 362 | * bindtextdom.c (offsetof): Provide fallback for platforms that lack |
| | 363 | it, like SunOS4. |
| | 364 | (set_binding_values): Convert prototype to K&R C syntax. |
| | 365 | * cat-compat.c: Include stdlib.h, string.h whenever possible. |
| | 366 | * dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a |
| | 367 | must not depend on external .o files. |
| | 368 | (offsetof): Provide fallback for platforms that lack it, like SunOS4. |
| | 369 | (transcmp): Convert to K&R C syntax. |
| | 370 | * explodename.c Include stdlib.h whenever possible. |
| | 371 | (_nl_find_language): Convert to K&R C syntax. |
| | 372 | * finddomain.c: Include stdlib.h whenever possible. |
| | 373 | * l10nflist.c Include stdlib.h whenever possible. |
| | 374 | (_nl_normalize_codeset): Use tolower, not _tolower. |
| | 375 | * loadmsgcat.c: Include stdlib.h whenever possible. |
| | 376 | Include headers needed for alloca(). |
| | 377 | (freea): New macro. |
| | 378 | (_nl_load_domain): Add fallback code for platforms lacking strtoul, |
| | 379 | like SunOS4. Add fallback code for platforms lacking alloca. |
| | 380 | * localealias.c: Include stdlib.h whenever possible. |
| | 381 | (ADD_BLOCK, FREE_BLOCK): Remove macros. |
| | 382 | (freea): New macro. |
| | 383 | (read_alias_file): Simplify fallback code for platforms lacking alloca. |
| | 384 | * plural.y (new_exp_0, new_exp_2, new_exp_3): New functions. |
| | 385 | (new_exp): Remove function. |
| | 386 | (__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax. |
| | 387 | * textdomain.c: Include stdlib.h whenever possible. |
| | 388 | * gettext.c: Likewise. |
| | 389 | * ngettext.c: Likewise. |
| | 390 | * localcharset.c (volatile): Define to empty if not using ANSI C. |
| | 391 | |
| | 392 | 2001-01-01 Bruno Haible <haible@clisp.cons.org> |
| | 393 | |
| | 394 | * Makefile.in (mostlyclean): Remove intlh.inst, charset.alias, |
| | 395 | ref-add.sed, ref-del.sed. |
| | 396 | (distclean): In the gettext package, remove VERSION. |
| | 397 | |
| | 398 | 2001-01-01 Bruno Haible <haible@clisp.cons.org> |
| | 399 | |
| | 400 | Finish implementation of plural form handling. |
| | 401 | * dcigettext.c (known_translation_t): Rename 'domain' field to |
| | 402 | 'domainname'. Remove 'plindex' field. Add 'domain' and |
| | 403 | 'translation_length' fields. |
| | 404 | (transcmp): Don't compare 'plindex' fields. |
| | 405 | (plural_lookup): New function. |
| | 406 | (DCIGETTEXT): Change cache handing in the plural case. Don't call |
| | 407 | plural_eval before the translation and its catalog file have been |
| | 408 | found. Remove plindex from cache key. Add 'translation_length' and |
| | 409 | 'domain' to cache result. |
| | 410 | (_nl_find_msg): Remove index argument, return length of translation |
| | 411 | to the caller instead. Weaken comparison of string lengths, to account |
| | 412 | for plural entries. Call iconv() on the entire result string, not |
| | 413 | only on the portion needed so far. |
| | 414 | * loadinfo.h (_nl_find_msg): Remove index argument, add lengthp |
| | 415 | argument. |
| | 416 | * loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change. |
| | 417 | |
| | 418 | * intl-compat.c (dcngettext, dngettext, ngettext): New functions. |
| | 419 | * libgettext.h (ngettext__, dngettext__, dcngettext__): New |
| | 420 | declarations. |
| | 421 | (ngettext, dngettext): Add missing macro argument. |
| | 422 | |
| | 423 | * intlh.inst.in (ngettext, dngettext): Add missing macro argument. |
| | 424 | |
| | 425 | 2000-12-31 Bruno Haible <haible@clisp.cons.org> |
| | 426 | |
| | 427 | * gettextP.h (ZERO): New macro. |
| | 428 | (struct binding): Always use ZERO. |
| | 429 | * bindtextdom.c (set_binding_values): Use offsetof, not sizeof. |
| | 430 | Include <stddef.h> whenever possible. |
| | 431 | * dcigettext.c (ZERO): Remove macro. |
| | 432 | (struct transmem_list): Use ZERO. |
| | 433 | (DCIGETTEXT): Use offsetof, not sizeof. |
| | 434 | Include <stddef.h> whenever possible. |
| | 435 | |
| | 436 | * config.charset: Update from libiconv-1.5.1. |
| | 437 | * localcharset.c: Likewise. |
| | 438 | |
| | 439 | 2000-12-30 Bruno Haible <haible@clisp.cons.org> |
| | 440 | |
| | 441 | * locale.alias: New file, moved here from ../misc/locale.alias. Add |
| | 442 | "Packages using this file" line. |
| | 443 | * Makefile.in (DISTFILES.common): Add locale.alias. |
| | 444 | (install-exec, uninstall): Install/deinstall locale.alias. |
| | 445 | |
| | 446 | 2000-10-30 Ulrich Drepper <drepper@redhat.com> |
| | 447 | |
| | 448 | * dcigettext.c (guess_category_value): For libc always use the |
| | 449 | setlocale() method. |
| | 450 | |
| | 451 | 2000-10-20 Ulrich Drepper <drepper@redhat.com> |
| | 452 | |
| | 453 | * libintl.glibc (ngettext macro): Add missing parameter. |
| | 454 | (dngettext macro): Likewise. |
| | 455 | |
| | 456 | 2000-10-14 Ulrich Drepper <drepper@redhat.com> |
| | 457 | |
| | 458 | * localealias.c (read_alias_file): Update string pointers in map[] |
| | 459 | if realloc() changed the values. |
| | 460 | Patch by Jakub Jelinek <jakub@redhat.com>. |
| | 461 | |
| | 462 | 2000-08-31 Ulrich Drepper <drepper@redhat.com> |
| | 463 | |
| | 464 | * loadmsgcat.c: Use *stat64 instead of *stat internally. |
| | 465 | |
| | 466 | * dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings |
| | 467 | list. |
| | 468 | |
| | 469 | 2000-08-27 Ulrich Drepper <drepper@redhat.com> |
| | 470 | |
| | 471 | * dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to |
| | 472 | determine invalid locale name. |
| | 473 | |
| | 474 | 2000-08-20 Ulrich Drepper <drepper@redhat.com> |
| | 475 | |
| | 476 | * dcigettext.c: Unify use of function aliases to make more compact |
| | 477 | PLT. |
| | 478 | |
| | 479 | * loadmsgcat.c (_nl_unload_domain): Also free conv_tab element. |
| | 480 | Pretty printing. |
| | 481 | * plural.y (new_exp): Take number of optional parameters in second |
| | 482 | parameter. Test for correct number of parameters and free correctly |
| | 483 | in case of failure. Adjust all callers. |
| | 484 | (yylex): Fix handling of '\0'. Allow ';' as terminator character. |
| | 485 | |
| | 486 | 2000-07-14 Bruno Haible <haible@clisp.cons.org> |
| | 487 | |
| | 488 | * dcigettext.c (dcigettext): Call plural_eval on all platforms, not |
| | 489 | only those having tsearch. |
| | 490 | |
| | 491 | 2000-06-30 Ulrich Drepper <drepper@redhat.com> |
| | 492 | |
| | 493 | * dcigettext.c (_nl_find_msg): Correct reallocation of buffers in |
| | 494 | case the translation is too large. Remember allocated memory blocks |
| | 495 | in a list. |
| | 496 | (free_mem): Free memory for translations. |
| | 497 | |
| | 498 | 2000-06-16 Ulrich Drepper <drepper@redhat.com> |
| | 499 | |
| | 500 | * loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new |
| | 501 | parameter to always enable transliteration. |
| | 502 | |
| | 503 | 1998-10-20 Paul Eggert <eggert@twinsun.com> |
| | 504 | |
| | 505 | * po2tbl.sin: Escape trigraphs. |
| | 506 | |
| | 507 | 2000-10-12 Bruno Haible <haible@clisp.cons.org> |
| | 508 | |
| | 509 | * finddomain.c: Remove unneeded includes. |
| | 510 | |
| | 511 | 2000-10-12 Bruno Haible <haible@clisp.cons.org> |
| | 512 | |
| | 513 | * localealias.c (memcpy): Return first argument, just like the real |
| | 514 | memcpy function does. |
| | 515 | * bindtextdom.c (memcpy): Likewise. |
| | 516 | * finddomain.c (memcpy): Likewise. |
| | 517 | * l10nflist.c (memcpy): Likewise. |
| | 518 | * textdomain.c (memcpy): Likewise. |
| | 519 | From Paul Eggert <eggert@twinsun.com>. |
| | 520 | |
| | 521 | 2000-09-29 Bruno Haible <haible@clisp.cons.org> |
| | 522 | |
| | 523 | * libintl.glibc: Update from current glibc version. |
| | 524 | |
| | 525 | 2000-09-18 Bruno Haible <haible@clisp.cons.org> |
| | 526 | |
| | 527 | * dcigettext.c: Outside libc, use local variable names that don't |
| | 528 | clash with those in libc. |
| | 529 | * bindtextdom.c: Likewise. |
| | 530 | * textdomain.c: Likewise. |
| | 531 | |
| | 532 | 2000-07-31 Bruno Haible <haible@clisp.cons.org> |
| | 533 | |
| | 534 | * plural.y: Include config.h. Needed to define 'inline' away for C |
| | 535 | compilers that don't support it. |
| | 536 | (yylex): Don't use gcc specific case range syntax. |
| | 537 | * loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers. |
| | 538 | |
| | 539 | 2000-07-28 Bruno Haible <haible@clisp.cons.org> |
| | 540 | |
| | 541 | Simplification: In all cases where $(gnulocaledir) is used, it is |
| | 542 | identical to $(localedir). |
| | 543 | * Makefile.in (DEFS): Remove setting for GNULOCALEDIR. |
| | 544 | * dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR. |
| | 545 | |
| | 546 | 2000-07-28 Bruno Haible <haible@clisp.cons.org> |
| | 547 | |
| | 548 | * xopen-msg.sed: Renamed to ... |
| | 549 | * po2msg.sin: ... here. |
| | 550 | * linux-msg.sed: Remove file. |
| | 551 | * Makefile.in (DISTFILES.common): Update. |
| | 552 | |
| | 553 | 2000-07-28 Bruno Haible <haible@clisp.cons.org> |
| | 554 | |
| | 555 | * po2tbl.sed.in: Renamed to ... |
| | 556 | * po2tbl.sin: ... here. |
| | 557 | * Makefile.in (DISTFILES.common): Update. |
| | 558 | |
| | 559 | 2000-07-28 Bruno Haible <haible@clisp.cons.org> |
| | 560 | |
| | 561 | * Makefile.in (uninstall): Synchronize with the install target. |
| | 562 | Really remove charset.alias when its reference count drops to 0. |
| | 563 | |
| | 564 | 2000-07-28 Bruno Haible <haible@clisp.cons.org> |
| | 565 | |
| | 566 | * Makefile.in (mkinstalldirs): New macro. Needed when configured with |
| | 567 | --srcdir=<relative pathname>; then ac_aux_dir will be a relative |
| | 568 | pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise. |
| | 569 | (install-exec, install-data): Use it. |
| | 570 | |
| | 571 | 2000-07-26 Bruno Haible <haible@clisp.cons.org> |
| | 572 | |
| | 573 | * Makefile.in (install-exec, install-data): Use $(SHELL) for calling |
| | 574 | $(MKINSTALLDIRS), don't rely on its execution permissions. |
| | 575 | |
| | 576 | * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables. |
| | 577 | (libintl.la): Use them. |
| | 578 | |
| | 579 | * Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR |
| | 580 | support, as recommended by GNU standards. Fix misapplied 2000-06-16 |
| | 581 | patch. |
| | 582 | |
| | 583 | 2000-06-16 Bruno Haible <haible@clisp.cons.org> |
| | 584 | |
| | 585 | * Makefile.in (COMSRCS): Add localcharset.c. |
| | 586 | (OBJECTS): Add localcharset.$lo. |
| | 587 | (DISTFILES.common): Add config.charset, ref-{add,del}.sin. |
| | 588 | (DEFS): Add -DLIBDIR. |
| | 589 | (all-yes): Add charset.alias, ref-{add,del}.sed. |
| | 590 | (.SUFFIXES): Add .sin and .sed. |
| | 591 | (.sin.sed, charset.alias): New rules. |
| | 592 | (install-exec, uninstall): Install/deinstall charset.alias. |
| | 593 | * localcharset.c: New file, from fileutils-4.0u. |
| | 594 | * config.charset: New file, from fileutils-4.0u. |
| | 595 | * red-add.sin, ref-del.sin: New files, from fileutils-4.0u. |
| | 596 | |
| | 597 | * intlh.inst.in (bind_textdomain_codeset): New declaration. |
| | 598 | * libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__): |
| | 599 | New declarations. |
| | 600 | (bind_textdomain_codeset) [!ENABLE_NLS]: New macro. |
| | 601 | * cat-compat.c (bind_textdomain_codeset): New function. |
| | 602 | * intl-compat.c (bind_textdomain_codeset): New function. |
| | 603 | |
| | 604 | * libgettext.h (ngettext, dngettext, dcngettext): New |
| | 605 | declarations. |
| | 606 | (dcgettext): Remove macro definition. |
| | 607 | (textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument. |
| | 608 | * intlh.inst.in (ngettext, dngettext, dcngettext): New |
| | 609 | declarations. |
| | 610 | (dcgettext): Remove macro definition. |
| | 611 | |
| | 612 | * *.h, *.c, *.y: Change copyright notice from LGPL to GPL. |
| | 613 | |
| | 614 | 2000-05-21 Ulrich Drepper <drepper@redhat.com> |
| | 615 | |
| | 616 | * dcigettext.c: Fix typo in comment. |
| | 617 | |
| | 618 | 2000-05-08 Andreas Jaeger <aj@suse.de> |
| | 619 | |
| | 620 | * bindtextdom.c (set_binding_values): Add prototype. |
| | 621 | |
| | 622 | 2000-05-05 Bruno Haible <haible@clisp.cons.org> |
| | 623 | |
| | 624 | * dcigettext.c (alignof): New macro. |
| | 625 | (_nl_find_msg): Use it instead of __alignof__. Pass correct output |
| | 626 | buffer length to __gconv/iconv. If malloc (freemem_size) fails, set |
| | 627 | freemem_size to 0. |
| | 628 | |
| | 629 | 2000-05-05 Bruno Haible <haible@clisp.cons.org> |
| | 630 | |
| | 631 | * dcigettext.c (dcigettext): Fix interpretation of tsearch |
| | 632 | return value. |
| | 633 | |
| | 634 | 2000-05-06 Ulrich Drepper <drepper@redhat.com> |
| | 635 | |
| | 636 | * dcigettext.c (DCIGETTEXT): Always define local variable `index'. |
| | 637 | (mempcpy): Correct typo in parameter list. |
| | 638 | |
| | 639 | * hash-string.h: Don't include <values.h>. |
| | 640 | |
| | 641 | * *.c, *.h, *.y: Update from glibc version. |
| | 642 | |
| | 643 | 1998-04-29 Paul Eggert <eggert@twinsun.com> |
| | 644 | |
| | 645 | * Makefile.in (aliaspath): Don't put `.' at the end. |
| | 646 | |
| | 647 | 1998-06-01 Ulrich Drepper <drepper@cygnus.com> |
| | 648 | |
| | 649 | * localealias.c (read_alias_file): Undo last change. |
| | 650 | * l10nflist.c (_nl_normalize_codeset): Likewise. |
| | 651 | * loadinfo.h: Likewise. |
| | 652 | |
| | 653 | 1998-05-23 Ulrich Drepper <drepper@cygnus.com> |
| | 654 | |
| | 655 | * dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined. |
| | 656 | |
| | 657 | 1998-05-01 08:47 Ulrich Drepper <drepper@cygnus.com> |
| | 658 | |
| | 659 | * gettext-0.10.35 released. |
| | 660 | |