1 2002-01-31 Bruno Haible <bruno@clisp.org>
3 * gettext-0.11 released.
5 2002-01-31 Bruno Haible <bruno@clisp.org>
7 * eval-plural.h: Renamed from plural-eval.c.
8 * dcigettext.c: Include eval-plural.h instead of plural-eval.c.
9 * Makefile.in (COMHDRS): Remove plural-eval.c, add eval-plural.h.
10 (DISTFILES.obsolete): Add plural-eval.c.
12 2002-01-24 Bruno Haible <bruno@clisp.org>
14 * Makefile.in (libintl.la): Use @LTLIBICONV@ instead of @LIBICONV@.
16 2002-01-10 Andrew Zabolotny <zap@cobra.ru>
17 Bruno Haible <bruno@clisp.org>
19 * dcigettext.c (_nl_default_dirname): On OS/2, declare, not define.
20 * localcharset.c: Rework OS/2 support.
21 * config.charset: Add OS/2 support.
22 * os2compat.c: Renamed from os2.c.
23 (_nl_default_dirname): Define here.
24 * os2compat.h: Moved here from ../os2/.
26 * Makefile.in (COMHDRS): Add os2compat.h.
27 (COMSRCS): Add os2compat.c, remove os2.c.
29 2002-01-05 Bruno Haible <bruno@clisp.org>
31 * Makefile.in (libintl.la): Add -lc. Needed on AIX.
33 2002-01-02 Bruno Haible <bruno@clisp.org>
35 * loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to
38 2002-01-02 Bruno Haible <bruno@clisp.org>
40 * plural.y: Fix %expect count.
42 2001-12-23 Bruno Haible <bruno@clisp.org>
44 * os2.c (os2_initialize): Use LOCALEDIR_MAX macro.
46 2001-12-21 Bruno Haible <bruno@clisp.org>
48 * localcharset.c (ISSLASH): Provide definition for DOS-like systems.
50 2001-12-21 Bruno Haible <bruno@clisp.org>
52 * libgettext.h: Moved to ../lib/gettext.h.
53 * Makefile.in (HEADERS): Remove libgettext.h.
54 (DISTFILES.obsolete): Add libgettext.h.
56 2001-12-21 Bruno Haible <bruno@clisp.org>
58 * gmo.h: Renamed from gettext.h.
59 * gettext.h: Remove file.
60 * gettextP.h: Update accordingly.
61 * loadmsgcat.c: Likewise.
62 * Makefile.in (COMHDRS): Add gmo.h, remove gettext.h.
63 (DISTFILES.obsolete): Add gettext.h.
66 2001-12-18 Bruno Haible <bruno@clisp.org>
68 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:0:0.
69 Used to force an soname of at least libintl.so.2 on Solaris, which
70 already has a different libintl.so.1 in /usr/lib.
72 2001-12-15 Andrew Zabolotny <zap@cobra.ru>
73 Bruno Haible <bruno@clisp.org>
77 * dcigettext.c (DCIGETTEXT): Add backward compatibility support for
79 * localcharset.c: Add OS/2 support.
80 * localealias.c (_nl_expand_alias): Initialize locale_alias_path once,
82 * Makefile.in (COMSRCS): Add osdep.c, os2.c.
83 (OBJECTS): Add osdep.$lo.
85 2001-12-12 Bruno Haible <bruno@clisp.org>
87 * libgettext.h [!ENABLE_NLS]: Cast all function results to
89 Reported by Alexandre Duret-Lutz <duret_g@lrde.epita.fr>.
91 2001-12-03 Bruno Haible <bruno@clisp.org>
93 * Makefile.in (install-exec): Don't create an empty libdir.
94 (installdirs): Update accordingly.
96 2001-11-30 Bruno Haible <bruno@clisp.org>
98 * plural-exp.h (plural_eval): Add back declaration.
99 * Makefile.in (OBJECTS): Remove plural-eval.$lo.
100 (COMSRCS): Remove plural-eval.c.
101 (COMHDRS): Add plural-eval.c.
102 (plural-eval.$lo): Remove dependency.
103 (dcigettext.$lo): Depend on plural-eval.c.
105 2001-11-29 Bruno Haible <bruno@clisp.org>
107 * gettextP.h (_nl_locale_name): Don't declare inside glibc.
108 * localename.c (_nl_locale_name): Remove _LIBC conditional.
110 2001-11-27 Ulrich Drepper <drepper@redhat.com>
112 * dcigettext.c (guess_category_value): Inside glibc, use setlocale
113 directly, not _nl_locale_name.
115 2001-11-27 Ulrich Drepper <drepper@redhat.com>
117 * loadmsgcat.c (_nl_init_domain_conv): Modify #if expression.
119 2001-11-27 Ulrich Drepper <drepper@redhat.com>
121 * plural-eval.c (plural_eval): Rename back from PLURAL_EVAL.
122 * plural-exp.h (PLURAL_EVAL): Remove declaration.
123 * dcigettext.c Include plural-eval.c.
124 (plural_lookup): Call plural_eval instead of PLURAL_EVAL.
126 2001-11-22 Bruno Haible <bruno@clisp.org>
128 * plural-exp.h (GERMANIC_PLURAL): New declaration.
129 * plural-exp.c (GERMANIC_PLURAL): Renamed from germanic_plural.
130 * loadmsgcat.c (_nl_unload_domain): Update.
132 2001-07-17 Ulrich Drepper <drepper@redhat.com>
134 * localealias.c (read_alias_file): Disable implicit locking
135 for the stream. Use _unlocked functions for glibc.
137 2001-11-11 Bruno Haible <haible@clisp.cons.org>
139 * Makefile.in (dist): Avoid using hard links, because the automake-1.5
140 generated toplevel 'distdir' target chmods all the distributed files.
142 2001-11-10 Bruno Haible <haible@clisp.cons.org>
144 * libgnuintl.h (_INTL_PARAMS): Renamed from PARAMS, to avoid polluting
145 the user's namespace.
146 Also test for __GNUC__, __SUNPRO_C and __PROTOTYPES because on
147 64-bit Solaris, we need prototypes although __STDC__ is often defined
148 to 0. __GNUC__ covers GCC, __SUNPRO_C covers Sun cc, regardless of
149 compilation flags. __PROTOTYPES covers other compilers when compiling
150 programs using autoconf's AC_C_PROTOTYPES.
151 * gettextP.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris
152 cc needs prototypes although it defines __STDC__ to 0 by default.
153 Also test for __cplusplus and __PROTOTYPES, just for consistency with
155 * hash-string.h (PARAMS): Likewise.
156 * loadinfo.h (PARAMS): Likewise.
157 * plural-exp.h (PARAMS): Likewise.
159 2001-10-31 Bruno Haible <haible@clisp.cons.org>
161 * plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
163 2001-10-31 Bruno Haible <haible@clisp.cons.org>
165 * COPYING.LIB-2.0: Renamed from COPYING.LIB-2.
166 * Makefile.in (DISTFILES.gettext, install-data, uninstall): Update.
167 (DISTFILES.obsolete): Add COPYING.LIB-2.
169 2001-10-09 Bruno Haible <haible@clisp.cons.org>
171 * localcharset.c (getc): Define as getc_unlocked if available.
173 2001-09-27 Bruno Haible <haible@clisp.cons.org>
175 * Makefile.in (install-strip, installdirs): New rules.
177 2001-09-24 Bruno Haible <haible@clisp.cons.org>
179 * localename.c: New file, integrating a function from
180 Tor Lillqvist <tml@iki.fi>.
181 * gettextP.h: New declaration.
182 * dcigettext.c (guess_category_value): Call _nl_locale_name.
183 * Makefile.in (COMSRCS): Add localename.c.
184 (OBJECTS): Add localename.$lo.
186 2001-09-22 Bruno Haible <haible@clisp.cons.org>
188 * plural-eval.c: New file, extracted from dcigettext.c.
189 * plural-exp.h (PLURAL_EVAL): New declaration.
190 * dcigettext.c (plural_eval): Remove function, moved to plural-eval.c.
191 (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
192 * Makefile.in (COMSRCS): Add plural-eval.c.
193 (OBJECTS): Add plural-eval.$lo.
195 2001-09-22 Bruno Haible <haible@clisp.cons.org>
197 * plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that don't
198 start with a digit; nplurals must be positive.
200 2001-10-20 Bruno Haible <haible@clisp.cons.org>
202 Assume strchr() exists. (Without it, explodename.c wouldn't link
204 * dcigettext.c (strchr): Remove fallback definition; it conflicts with
205 the variable 'index' in plural_lookup.
206 * l10nflist.c (strchr): Likewise.
207 * localealias.c (strchr): Likewise.
209 2001-09-24 Bruno Haible <haible@clisp.cons.org>
211 * loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration
212 when building on a glibc system but outside glibc.
214 2001-09-02 Bruno Haible <haible@clisp.cons.org>
216 * plural-exp.h: New file, extracted from gettextP.h.
217 * plural-exp.c: New file, extracted from loadmsgcat.c.
218 * gettextP.h (struct expression, struct parse_args,
219 __gettext_free_exp, __gettextparse): Move to plural-exp.h.
220 * loadmsgcat.c: Include plural-exp.h.
221 (PLURAL_PARSE): Move macro to plural-exp.h.
222 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
224 (_nl_load_domain): Move plural handling code to plural-exp.c. Call
225 EXTRACT_PLURAL_EXPRESSION.
226 * dcigettext.c: Include plural-exp.h.
227 * plural.y: Include plural-exp.h, not gettextP.h.
228 (FREE_EXPRESSION): Move macro to plural-exp.h.
229 * Makefile.in (DEFS): Define IN_LIBINTL.
230 (COMHDRS): Add plural-exp.h.
231 (COMSRCS): Add plural-exp.c.
232 (OBJECTS): Add plural-exp.$lo.
235 2001-07-28 Bruno Haible <haible@clisp.cons.org>
237 * l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, isdigit,
238 tolower argument to 'unsigned char'.
239 * loadmsgcat.c (_nl_load_domain): Cast isspace argument to
241 * localealias.c (read_alias_file): Cast isspace argument to
244 2001-07-23 Bruno Haible <haible@clisp.cons.org>
246 * gettext.h: Assume <limits.h> exists.
248 2001-09-13 Bruno Haible <haible@clisp.cons.org>
250 * gettext-0.10.40 released.
252 2001-07-11 Ulrich Drepper <drepper@redhat.com>
254 * locale.alias: Use he language code for hebrew, not iw.
256 2001-09-13 Bruno Haible <haible@clisp.cons.org>
258 * *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL.
259 This is a reaction to a blackmail from the GNOME project which
260 threatened to distribute an LGPLed clone of libintl.
261 * COPYING.LIB-2, COPYING.LIB-2.1: New files.
262 * Makefile.in (DISTFILES.gettext): Add them.
263 (install-data): Install them.
264 (uninstall): Uninstall them.
266 2001-07-24 Bruno Haible <haible@clisp.cons.org>
268 * gettext-0.10.39 released.
270 2001-06-24 Bruno Haible <haible@clisp.cons.org>
272 * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
273 Change canonical name of SJIS to SHIFT_JIS.
275 2001-06-12 Bruno Haible <haible@clisp.cons.org>
277 * dcigettext.c (DCIGETTEXT): Release the lock before returning.
279 2001-04-30 Bruno Haible <haible@clisp.cons.org>
281 Silence "gcc -Wall -Wwrite-strings" warnings.
282 * localcharset.c (charset_aliases): Change type to 'const char *'.
283 (get_charset_aliases): Change type of 'cp' to 'const char *'.
285 2001-05-23 Bruno Haible <haible@clisp.cons.org>
287 * gettext-0.10.38 released.
289 2001-05-22 Bruno Haible <haible@clisp.cons.org>
291 * Makefile.in (install-data): Install plural.c as well.
292 (uninstall): Uninstall plural.c as well.
294 2001-05-18 Bruno Haible <haible@clisp.cons.org>
296 * Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute
297 file in either current directory or $(srcdir), whichever exists.
299 2001-05-11 Bruno Haible <haible@clisp.cons.org>
301 * Makefile.in (install-exec): Don't install charset.alias on glibc 2.1
304 2001-04-30 Bruno Haible <haible@clisp.cons.org>
306 * dcigettext.c (getuid, getgid, geteuid, getegid): Provide default
307 definitions. Needed for mingw32.
309 2001-04-19 Bruno Haible <haible@clisp.cons.org>
311 * gettext-0.10.37 released.
313 2001-04-19 Bruno Haible <haible@clisp.cons.org>
315 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0.
317 2001-04-19 Bruno Haible <haible@clisp.cons.org>
319 * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when
320 the libiconv version is smaller than 1.5.
322 2001-04-09 Bruno Haible <haible@clisp.cons.org>
324 * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined.
325 Apple's MacOS X compiler has not all the features that the regular
326 GCC with the same version number has.
328 2001-04-07 Bruno Haible <haible@clisp.cons.org>
330 * gettextP.h (struct loaded_domain): Add codeset_cntr field.
331 (struct binding): Add codeset_cntr field.
332 (_nl_load_domain): Add domainbinding argument.
333 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
334 (_nl_find_msg): New declaration, moved here from loadinfo.h.
335 * loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
336 (_nl_make_l10nflist): Remove domainbinding argument.
337 (_nl_find_msg): Move declaration to gettextP.h.
338 * bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0.
339 Increment it when ->codeset is changed.
340 * dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
341 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
342 if domainbinding->codeset_cntr has been incremented.
343 * finddomain.c (_nl_find_domain): Don't pass domainbinding to
344 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
345 * l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
346 * loadmsgcat.c (_nl_init_domain_conv): New function, extracted from
347 _nl_load_domain. Append //TRANSLIT also when using libiconv.
348 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
349 (_nl_load_domain): Add domainbinding argument. Call
350 _nl_init_domain_conv.
351 (_nl_unload_domain): Call _nl_free_domain_conv.
353 2001-04-09 Bruno Haible <haible@clisp.cons.org>
355 * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2
358 2001-04-04 Bruno Haible <haible@clisp.cons.org>
360 * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
362 2001-04-04 Bruno Haible <haible@clisp.cons.org>
364 * Makefile.in (libdir, includedir, datadir): Use the autoconf
365 determined value, in order to respect the configure arguments.
366 (gettextsrcdir): Use $(datadir), not @datadir@.
368 2001-03-29 Bruno Haible <haible@clisp.cons.org>
370 * gettext-0.10.36 released.
372 2001-03-25 Bruno Haible <haible@clisp.cons.org>
374 * Makefile.in (install-data): Set execution bits on installed
377 2001-03-23 Bruno Haible <haible@clisp.cons.org>
379 * Makefile.in (YACC): Use @INTLBISON@ instead of bison.
381 2001-03-21 Bruno Haible <haible@clisp.cons.org>
383 * dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
384 chokes on empty macro arguments.
385 * plural.y: Add #pragma for alloca on AIX 3.
387 2001-03-20 Bruno Haible <haible@clisp.cons.org>
389 * Makefile.in (DISTFILES.generated): New variable.
390 (DISTFILES.gettext): Remove plural.c.
391 (dist): Use DISTFILES.generated.
392 (YACC): Use "bison -y" instead of @YACC@.
393 Needed for "make dist" to work in normal packages.
395 2001-03-20 Bruno Haible <haible@clisp.cons.org>
397 * Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate
398 the files to be distributed through a recursive 'make' call.
400 2001-03-17 Bruno Haible <haible@clisp.cons.org>
402 * gettextP.h (struct expression): Add operators lnot, less_than,
403 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
404 union by a 'nargs' counter and an 'args[]' array.
405 * plural.y: Don't include stdarg.h.
406 (new_exp): New function.
407 (new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp.
408 (new_exp_1): New function.
409 ('?' ':'): Make right-associative.
410 (EQUOP2): New token, replaces '=' and '!'.
412 (ADDOP2): New token, replaces '+' and '-'.
413 (MULOP2): New token, replaces '*', '/' and '%'.
415 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
416 (start): Call YYABORT here.
417 (FREE_EXPRESSION): Update.
418 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
419 Update for new token symbols.
420 * loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural):
422 * dcigettext.c (_nl_find_msg): Optimize for space.
423 (plural_eval): Recognize comparison and '!' operators. Optimize for
426 * dcigettext.c (transcmp): New declaration.
428 2001-03-10 Bruno Haible <haible@clisp.cons.org>
430 * Makefile.in (libintl.la): Pass -liconv and flag -no-undefined.
431 Needed on platforms like BeOS.
433 * Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la.
434 (libgnuintl.a, libgnuintl.la): New targets. Needed for linking
435 ../tests/tstgettext on systems which have gettext() in libintl.so.
437 * localcharset.c (locale_charset): Allow wildcard syntax. Resolve
438 alias also if codeset is empty.
439 * config.charset (BeOS): Use wildcard syntax.
441 * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL
444 2001-03-09 Bruno Haible <haible@clisp.cons.org>
446 * config.charset: Update from libiconv-1.6.
447 * localcharset.c: Likewise.
449 2001-02-25 Ulrich Drepper <drepper@redhat.com>
451 * locale.alias: Don't use nb_NO but define aliases for it.
453 2001-01-26 Ulrich Drepper <drepper@redhat.com>
455 * loadmsgcat.c: Include <locale.h> for _LIBC.
457 2001-03-09 Bruno Haible <haible@clisp.cons.org>
459 * dcigettext.c (transmem_block_t): Change to unsigned char, to avoid
461 (_nl_find_msg): Add casts to avoid compiler warnings.
463 2001-03-09 Bruno Haible <haible@clisp.cons.org>
465 * Makefile.in (DISTFILES.common): Remove ChangeLog.
466 (DISTFILES.obsolete): New variable.
467 (install-data): Install ChangeLog.inst as ChangeLog. Remove the files
468 listed in DISTFILES.obsolete.
469 (uninstall): Simplify.
470 (distclean): Remove ChangeLog.inst.
471 (dist): Mention ChangeLog explicitly.
473 2001-03-04 Bruno Haible <haible@clisp.cons.org>
475 * dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH,
476 IS_PATH_WITH_DIR): New macros.
477 (DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment
478 path_max proportionally.
479 * loadinfo.h (PATH_SEPARATOR): New macro.
480 * l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'.
481 * localealias.c (_nl_expand_alias): Likewise.
482 * libgnuintl.h (gettext) [DJGPP]: Define as a macro as well.
484 2001-03-06 Bruno Haible <haible@clisp.cons.org>
486 * libgnuintl.h (LC_MESSAGES): Don't define on Solaris.
488 2001-02-24 Bruno Haible <haible@clisp.cons.org>
490 * dcigettext.c: Update comment about HAVE_LOCALE_NULL.
492 2001-02-05 Bruno Haible <haible@clisp.cons.org>
494 * libgnuintl.h (LC_MESSAGES): Provide a default value.
496 2001-01-30 Bruno Haible <haible@clisp.cons.org>
498 * config.charset: Update for FreeBSD 4.2.
500 2001-01-21 Bruno Haible <haible@clisp.cons.org>
503 * Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l.
504 (all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL
505 is 'yes', still build libintl.$la because the testsuite needs it.
506 (libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC)
507 must use all $(CFLAGS).
508 (install-exec): Use libtool to install libintl.$la.
509 (uninstall): Use libtool to uninstall libintl.$la.
510 (mostlyclean): Remove *.la and the .libs subdir.
511 * intl-compat.c: Reorder. Add comment.
513 2001-01-20 Bruno Haible <haible@clisp.cons.org>
515 * loadmsgcat.c (O_BINARY): Define on platforms that don't have it.
516 (_nl_load_domain): Open the catalog file in binary mode.
518 2001-01-24 Bruno Haible <haible@clisp.cons.org>
520 * gettextP.h (SWAP): Remove declaration, to work around a compilation
521 failure on alphaev5-cray-unicosmk2.0.5.X.
523 2001-01-15 Bruno Haible <haible@clisp.cons.org>
525 * dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid
528 2001-01-07 Bruno Haible <haible@clisp.cons.org>
530 * gettextP.h (__gettextdebug): Remove declaration.
531 (gettext_free_exp__, gettextparse__): New non-libc declarations.
532 * plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not
533 __gettextparse, __gettext_free_exp.
534 * loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
536 2001-01-07 Bruno Haible <haible@clisp.cons.org>
538 * libgnuintl.h: Renamed from intlh.inst.in.
539 Remove comment about __builtin_constant_p.
541 * libgettext.h: Completely rewritten. Now a conditional wrapper around
542 <libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove
544 * gettextP.h: Include gettext.h, for nls_uint32.
545 (gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__,
546 bind_textdomain_codeset__): New declarations, from old libgettext.h.
547 * gettext.h: Don't include <stdio.h>.
548 * Makefile.in (HEADERS): Add libgnuintl.h.
549 (DISTFILES.gettext): Remove intlh.inst.in.
550 (all-yes): Depend on libintl.h instead of intlh.inst.
551 (libintl.h): New target. Create as a copy of libgnuintl.h.
552 (intlh.inst): Remove target.
553 (install-exec): Update.
554 ($(OBJECTS): Depend on libgnuintl.h, not libgettext.h.
555 (mostlyclean): Remove libintl.h instead of intlh.inst.
556 (dist-libc): Remove target.
557 * bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't
559 * dcgettext.c: Likewise.
560 * dcigettext.c: Likewise.
561 * dcngettext.c: Likewise.
562 * dngettext.c: Likewise.
563 * finddomain.c: Likewise.
564 * ngettext.c: Likewise.
565 * textdomain.c: Likewise.
566 * dgettext.c: Include libgnuintl.h instead of libgettext.h. Include
568 * gettext.c: Likewise.
569 * intl-compat.c: Likewise.
570 * localealias.c: Don't include gettext.h.
571 * plural.y: Likewise.
573 2001-01-07 Bruno Haible <haible@clisp.cons.org>
575 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
576 * intlh.inst.in: Likewise.
577 * libgettext.h: Likewise.
578 * gettextP.h: Likewise.
579 * bindtextdom.c: Likewise.
580 * dcigettext.c: Likewise.
581 * dgettext.c: Likewise.
582 * dngettext.c: Likewise.
583 * explodename.c: Likewise.
584 * finddomain.c: Likewise.
585 * gettext.c: Likewise.
586 * l10nflist.c: Likewise.
587 * loadmsgcat.c: Likewise.
588 * localealias.c: Likewise.
589 * ngettext.c: Likewise.
590 * textdomain.c: Likewise.
592 2001-01-06 Bruno Haible <haible@clisp.cons.org>
594 Remove catgets fallback code.
595 - It does not handle message clash prevention through domains and
597 - It does not handle message catalog inheritance and the LANGUAGE
598 environment variable.
599 - It does not handle locale aliases.
600 - It does not handle automatic charset conversion.
601 - It does not handle plural form handling and ngettext().
602 - It uses a slow string to integer conversion.
603 - It is sensitive against installation problems.
604 * cat-compat.c: Remove file.
605 * po2msg.sin, po2tbl.sin: Remove files.
606 * Makefile.in (datadir): Assume DATADIRNAME = share.
607 (SOURCES): Remove cat-compat.c.
608 (DISTFILES.common): Remove po2msg.sin, po2tbl.sin.
609 (distclean): No need to remove po2msg.sed, po2tbl.sed.
610 (../po/cat-id-tbl.$lo): Remove rule.
611 * libgettext.h (_msg_ent): Remove.
612 (_msg_tbl, _msg_tbl_length): Remove declarations.
613 (gettext, dgettext, ngettext, dngettext): Don't depend on
616 2001-01-04 Ulrich Drepper <drepper@redhat.com>
618 * plural.y (yylex): Minimal improvement in number scanner.
620 2001-01-02 Ulrich Drepper <drepper@redhat.com>
622 * dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value
623 is ignored if the selected locale is the C locale.
625 2000-11-20 Ulrich Drepper <drepper@redhat.com>
627 * dcigettext.c (transcmp): Make s1 and s2 const.
628 * loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to
631 2000-11-09 Ulrich Drepper <drepper@redhat.com>
633 * locale.alias: Add thai.
634 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
636 2001-01-05 Bruno Haible <haible@clisp.cons.org>
638 * Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib.
639 (.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o
640 rule, not the builtin .y.o rule.
641 (.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make"
642 specification. Remove $*.h explicitly: we don't need plural.h.
643 * gettextP.h: Include <stddef.h>.
644 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
646 * bindtextdom.c (offsetof): Provide fallback for platforms that lack
648 (set_binding_values): Convert prototype to K&R C syntax.
649 * cat-compat.c: Include stdlib.h, string.h whenever possible.
650 * dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a
651 must not depend on external .o files.
652 (offsetof): Provide fallback for platforms that lack it, like SunOS4.
653 (transcmp): Convert to K&R C syntax.
654 * explodename.c Include stdlib.h whenever possible.
655 (_nl_find_language): Convert to K&R C syntax.
656 * finddomain.c: Include stdlib.h whenever possible.
657 * l10nflist.c Include stdlib.h whenever possible.
658 (_nl_normalize_codeset): Use tolower, not _tolower.
659 * loadmsgcat.c: Include stdlib.h whenever possible.
660 Include headers needed for alloca().
662 (_nl_load_domain): Add fallback code for platforms lacking strtoul,
663 like SunOS4. Add fallback code for platforms lacking alloca.
664 * localealias.c: Include stdlib.h whenever possible.
665 (ADD_BLOCK, FREE_BLOCK): Remove macros.
667 (read_alias_file): Simplify fallback code for platforms lacking alloca.
668 * plural.y (new_exp_0, new_exp_2, new_exp_3): New functions.
669 (new_exp): Remove function.
670 (__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax.
671 * textdomain.c: Include stdlib.h whenever possible.
672 * gettext.c: Likewise.
673 * ngettext.c: Likewise.
674 * localcharset.c (volatile): Define to empty if not using ANSI C.
676 2001-01-01 Bruno Haible <haible@clisp.cons.org>
678 * Makefile.in (mostlyclean): Remove intlh.inst, charset.alias,
679 ref-add.sed, ref-del.sed.
680 (distclean): In the gettext package, remove VERSION.
682 2001-01-01 Bruno Haible <haible@clisp.cons.org>
684 Finish implementation of plural form handling.
685 * dcigettext.c (known_translation_t): Rename 'domain' field to
686 'domainname'. Remove 'plindex' field. Add 'domain' and
687 'translation_length' fields.
688 (transcmp): Don't compare 'plindex' fields.
689 (plural_lookup): New function.
690 (DCIGETTEXT): Change cache handing in the plural case. Don't call
691 plural_eval before the translation and its catalog file have been
692 found. Remove plindex from cache key. Add 'translation_length' and
693 'domain' to cache result.
694 (_nl_find_msg): Remove index argument, return length of translation
695 to the caller instead. Weaken comparison of string lengths, to account
696 for plural entries. Call iconv() on the entire result string, not
697 only on the portion needed so far.
698 * loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
700 * loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
702 * intl-compat.c (dcngettext, dngettext, ngettext): New functions.
703 * libgettext.h (ngettext__, dngettext__, dcngettext__): New
705 (ngettext, dngettext): Add missing macro argument.
707 * intlh.inst.in (ngettext, dngettext): Add missing macro argument.
709 2000-12-31 Bruno Haible <haible@clisp.cons.org>
711 * gettextP.h (ZERO): New macro.
712 (struct binding): Always use ZERO.
713 * bindtextdom.c (set_binding_values): Use offsetof, not sizeof.
714 Include <stddef.h> whenever possible.
715 * dcigettext.c (ZERO): Remove macro.
716 (struct transmem_list): Use ZERO.
717 (DCIGETTEXT): Use offsetof, not sizeof.
718 Include <stddef.h> whenever possible.
720 * config.charset: Update from libiconv-1.5.1.
721 * localcharset.c: Likewise.
723 2000-12-30 Bruno Haible <haible@clisp.cons.org>
725 * locale.alias: New file, moved here from ../misc/locale.alias. Add
726 "Packages using this file" line.
727 * Makefile.in (DISTFILES.common): Add locale.alias.
728 (install-exec, uninstall): Install/deinstall locale.alias.
730 2000-10-30 Ulrich Drepper <drepper@redhat.com>
732 * dcigettext.c (guess_category_value): For libc always use the
735 2000-10-20 Ulrich Drepper <drepper@redhat.com>
737 * libintl.glibc (ngettext macro): Add missing parameter.
738 (dngettext macro): Likewise.
740 2000-10-14 Ulrich Drepper <drepper@redhat.com>
742 * localealias.c (read_alias_file): Update string pointers in map[]
743 if realloc() changed the values.
744 Patch by Jakub Jelinek <jakub@redhat.com>.
746 2000-08-31 Ulrich Drepper <drepper@redhat.com>
748 * loadmsgcat.c: Use *stat64 instead of *stat internally.
750 * dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings
753 2000-08-27 Ulrich Drepper <drepper@redhat.com>
755 * dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to
756 determine invalid locale name.
758 2000-08-20 Ulrich Drepper <drepper@redhat.com>
760 * dcigettext.c: Unify use of function aliases to make more compact
763 * loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
765 * plural.y (new_exp): Take number of optional parameters in second
766 parameter. Test for correct number of parameters and free correctly
767 in case of failure. Adjust all callers.
768 (yylex): Fix handling of '\0'. Allow ';' as terminator character.
770 2000-07-14 Bruno Haible <haible@clisp.cons.org>
772 * dcigettext.c (dcigettext): Call plural_eval on all platforms, not
773 only those having tsearch.
775 2000-06-30 Ulrich Drepper <drepper@redhat.com>
777 * dcigettext.c (_nl_find_msg): Correct reallocation of buffers in
778 case the translation is too large. Remember allocated memory blocks
780 (free_mem): Free memory for translations.
782 2000-06-16 Ulrich Drepper <drepper@redhat.com>
784 * loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new
785 parameter to always enable transliteration.
787 1998-10-20 Paul Eggert <eggert@twinsun.com>
789 * po2tbl.sin: Escape trigraphs.
791 2000-10-12 Bruno Haible <haible@clisp.cons.org>
793 * finddomain.c: Remove unneeded includes.
795 2000-10-12 Bruno Haible <haible@clisp.cons.org>
797 * localealias.c (memcpy): Return first argument, just like the real
798 memcpy function does.
799 * bindtextdom.c (memcpy): Likewise.
800 * finddomain.c (memcpy): Likewise.
801 * l10nflist.c (memcpy): Likewise.
802 * textdomain.c (memcpy): Likewise.
803 From Paul Eggert <eggert@twinsun.com>.
805 2000-09-29 Bruno Haible <haible@clisp.cons.org>
807 * libintl.glibc: Update from current glibc version.
809 2000-09-18 Bruno Haible <haible@clisp.cons.org>
811 * dcigettext.c: Outside libc, use local variable names that don't
812 clash with those in libc.
813 * bindtextdom.c: Likewise.
814 * textdomain.c: Likewise.
816 2000-07-31 Bruno Haible <haible@clisp.cons.org>
818 * plural.y: Include config.h. Needed to define 'inline' away for C
819 compilers that don't support it.
820 (yylex): Don't use gcc specific case range syntax.
821 * loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers.
823 2000-07-28 Bruno Haible <haible@clisp.cons.org>
825 Simplification: In all cases where $(gnulocaledir) is used, it is
826 identical to $(localedir).
827 * Makefile.in (DEFS): Remove setting for GNULOCALEDIR.
828 * dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
830 2000-07-28 Bruno Haible <haible@clisp.cons.org>
832 * xopen-msg.sed: Renamed to ...
833 * po2msg.sin: ... here.
834 * linux-msg.sed: Remove file.
835 * Makefile.in (DISTFILES.common): Update.
837 2000-07-28 Bruno Haible <haible@clisp.cons.org>
839 * po2tbl.sed.in: Renamed to ...
840 * po2tbl.sin: ... here.
841 * Makefile.in (DISTFILES.common): Update.
843 2000-07-28 Bruno Haible <haible@clisp.cons.org>
845 * Makefile.in (uninstall): Synchronize with the install target.
846 Really remove charset.alias when its reference count drops to 0.
848 2000-07-28 Bruno Haible <haible@clisp.cons.org>
850 * Makefile.in (mkinstalldirs): New macro. Needed when configured with
851 --srcdir=<relative pathname>; then ac_aux_dir will be a relative
852 pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise.
853 (install-exec, install-data): Use it.
855 2000-07-26 Bruno Haible <haible@clisp.cons.org>
857 * Makefile.in (install-exec, install-data): Use $(SHELL) for calling
858 $(MKINSTALLDIRS), don't rely on its execution permissions.
860 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables.
861 (libintl.la): Use them.
863 * Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR
864 support, as recommended by GNU standards. Fix misapplied 2000-06-16
867 2000-06-16 Bruno Haible <haible@clisp.cons.org>
869 * Makefile.in (COMSRCS): Add localcharset.c.
870 (OBJECTS): Add localcharset.$lo.
871 (DISTFILES.common): Add config.charset, ref-{add,del}.sin.
872 (DEFS): Add -DLIBDIR.
873 (all-yes): Add charset.alias, ref-{add,del}.sed.
874 (.SUFFIXES): Add .sin and .sed.
875 (.sin.sed, charset.alias): New rules.
876 (install-exec, uninstall): Install/deinstall charset.alias.
877 * localcharset.c: New file, from fileutils-4.0u.
878 * config.charset: New file, from fileutils-4.0u.
879 * red-add.sin, ref-del.sin: New files, from fileutils-4.0u.
881 * intlh.inst.in (bind_textdomain_codeset): New declaration.
882 * libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__):
884 (bind_textdomain_codeset) [!ENABLE_NLS]: New macro.
885 * cat-compat.c (bind_textdomain_codeset): New function.
886 * intl-compat.c (bind_textdomain_codeset): New function.
888 * libgettext.h (ngettext, dngettext, dcngettext): New
890 (dcgettext): Remove macro definition.
891 (textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument.
892 * intlh.inst.in (ngettext, dngettext, dcngettext): New
894 (dcgettext): Remove macro definition.
896 * *.h, *.c, *.y: Change copyright notice from LGPL to GPL.
898 2000-05-21 Ulrich Drepper <drepper@redhat.com>
900 * dcigettext.c: Fix typo in comment.
902 2000-05-08 Andreas Jaeger <aj@suse.de>
904 * bindtextdom.c (set_binding_values): Add prototype.
906 2000-05-05 Bruno Haible <haible@clisp.cons.org>
908 * dcigettext.c (alignof): New macro.
909 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
910 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
913 2000-05-05 Bruno Haible <haible@clisp.cons.org>
915 * dcigettext.c (dcigettext): Fix interpretation of tsearch
918 2000-05-06 Ulrich Drepper <drepper@redhat.com>
920 * dcigettext.c (DCIGETTEXT): Always define local variable `index'.
921 (mempcpy): Correct typo in parameter list.
923 * hash-string.h: Don't include <values.h>.
925 * *.c, *.h, *.y: Update from glibc version.
927 1998-04-29 Paul Eggert <eggert@twinsun.com>
929 * Makefile.in (aliaspath): Don't put `.' at the end.
931 1998-06-01 Ulrich Drepper <drepper@cygnus.com>
933 * localealias.c (read_alias_file): Undo last change.
934 * l10nflist.c (_nl_normalize_codeset): Likewise.
935 * loadinfo.h: Likewise.
937 1998-05-23 Ulrich Drepper <drepper@cygnus.com>
939 * dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined.
941 1998-05-01 08:47 Ulrich Drepper <drepper@cygnus.com>
943 * gettext-0.10.35 released.
945 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
947 * intl/localealias.c (read_alias_file): Use unsigned char for
948 local variables. Remove unused variable tp.
949 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
950 for type of codeset. For loosing Solaris systems.
951 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
952 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
954 Patches by Jim Meyering.
956 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
958 * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
959 mmap is not supported.
961 * hash-string.h: Don't include <values.h>.
963 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
965 * textdomain.c: Use strdup is available.
967 * localealias.c: Define HAVE_MEMPCPY so that we can use this
968 function. Define and use semapahores to protect modfication of
969 global objects when compiling for glibc. Add code to allow
972 * l10nflist.c: Don't assume stpcpy not being a macro.
974 * gettextP.h: Define internal_function macri if not already done.
975 Use glibc byte-swap macros instead of defining SWAP when compiled
977 (struct loaded_domain): Add elements to allow unloading.
979 * Makefile.in (distclean): Don't remove libintl.h here.
981 * bindtextdomain.c: Carry over changes from glibc. Use strdup if
984 * dcgettext.c: Don't assume stpcpy not being a macro. Mark internal
985 functions. Add memory freeing code for glibc.
987 * dgettext.c: Update copyright.
989 * explodename.c: Include stdlib.h and string.h only if they exist.
990 Use strings.h eventually.
992 * finddomain.c: Mark internal functions. Use strdup if available.
993 Add memory freeing code for glibc.
995 1997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com>
997 * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
998 They should return reasonable values.
999 Reported by Tom Tromey <tromey@cygnus.com>.
1001 1997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com>
1003 * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
1004 * intlh.inst.in: Likewise.
1005 Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
1007 * libintl.glibc: Update from current glibc version.
1009 1997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com>
1011 * intlh.inst.in: Reformat copyright.
1013 1997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com>
1015 * dcgettext.c (DCGETTEXT): Remove wrong comment.
1017 1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com>
1019 * Makefile.in (install-data): Don't change directory to install.
1021 1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com>
1023 * cat-compat.c: Fix copyright.
1025 * localealias.c: Don't define strchr unless !HAVE_STRCHR.
1027 * loadmsgcat.c: Update copyright. Fix typos.
1029 * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
1030 (_nl_make_l10nflist): Handle sponsor and revision correctly.
1032 * gettext.c: Update copyright.
1033 * gettext.h: Likewise.
1034 * hash-string.h: Likewise.
1036 * finddomain.c: Remoave dead code. Define strchr only if
1039 * explodename.c: Include <sys/types.h>.
1041 * explodename.c: Reformat copyright text.
1042 (_nl_explode_name): Fix typo.
1044 * dcgettext.c: Define and use __set_errno.
1045 (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
1048 * bindtextdom.c: Pretty printing.
1050 1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com>
1052 * dcgettext.c (guess_category_value): Don't depend on
1053 HAVE_LC_MESSAGES. We don't need the macro here.
1054 Patch by Bruno Haible <haible@ilog.fr>.
1056 * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
1057 macro. Instead use HAVE_LOCALE_NULL and define it when using
1058 glibc, as in dcgettext.c.
1059 Patch by Bruno Haible <haible@ilog.fr>.
1061 * Makefile.in (CPPFLAGS): New variable. Reported by François
1064 Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com>
1066 * Makefile.in: Implement handling of libtool.
1068 * gettextP.h: Change data structures for use of generic lowlevel
1071 Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com>
1073 * textdomain.c: Put parentheses around arguments of memcpy macro
1075 * localealias.c: Likewise.
1076 * l10nflist.c: Likewise.
1077 * finddomain.c: Likewise.
1078 * bindtextdom.c: Likewise.
1079 Reported by Thomas Esken.
1081 Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com>
1083 * textdomain.c: Move definition of `memcpy` macro to right
1086 Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com>
1088 * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
1089 bcopy if not already defined. Reported by Thomas Esken.
1090 * bindtextdom.c: Likewise.
1091 * l10nflist.c: Likewise.
1092 * localealias.c: Likewise.
1093 * textdomain.c: Likewise.
1095 Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com>
1097 * Makefile.in (libdir): Change to use exec_prefix instead of
1098 prefix. Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>.
1100 Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com>
1102 * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
1103 so don't prepend uppercase `ISO' for only numeric arg.
1105 Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
1107 * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
1108 definition of _GNU_SOURCE. Patch by Roland McGrath.
1110 * Makefile.in (uninstall): Fix another bug with `for' loop and
1111 empty arguments. Patch by Jim Meyering. Correct name os
1112 uninstalled files: no intl- prefix anymore.
1114 * Makefile.in (install-data): Again work around shells which
1115 cannot handle mpty for list. Reported by Jim Meyering.
1117 Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com>
1119 * Makefile.in (install): Split goal. Now depend on install-exec
1121 (install-exec, install-data): New goals. Created from former
1123 Reported by Karl Berry.
1125 Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com>
1127 * Makefile.in (MKINSTALLDIRS): New variable. Path to
1128 mkinstalldirs script.
1129 (install): use MKINSTALLDIRS variable or if the script is not present
1130 try to find it in the $top_scrdir).
1132 Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com>
1134 * l10nflist.c: Linux libc *partly* includes the argz_* functions.
1135 Grr. Work around by renaming the static version and use macros
1138 Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com>
1140 * l10nflist.c: Correct presence test macros of __argz_* functions.
1142 * l10nflist.c: Include <argz.h> based on test of it instead when
1143 __argz_* functions are available.
1144 Reported by Andreas Schwab.
1146 Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com>
1148 * explodename.c, l10nflist.c: Define NULL for dumb systems.
1150 Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com>
1152 * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
1153 result to __result to prevent name clash.
1155 * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
1156 get prototype for stpcpy and strcasecmp.
1158 * intlh.inst.in, libgettext.h: Move declaration of
1159 `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
1160 from gcc's -Wnested-extern option.
1162 Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com>
1164 * Makefile.in (install): Remove comment.
1166 Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com>
1168 * Makefile.in (install): Work around for another Buglix stupidity.
1169 Always use an `else' close for `if's. Reported by Nelson Beebe.
1171 * Makefile.in (intlh.inst): Correct typo in phony rule.
1172 Reported by Nelson Beebe.
1174 Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com>
1176 * dcgettext.c (read_alias_file): Rename variable alloca_list to
1177 block_list as the macro calls assume.
1178 Patch by Eric Backus.
1180 * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
1182 (read_alias_file): Rename varriabe alloca_list to block_list as the
1184 Patch by Eric Backus.
1186 * l10nflist.c: Correct conditional for <argz.h> inclusion.
1187 Reported by Roland McGrath.
1189 * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
1192 * Makefile.in (install): intlh.inst comes from local dir, not
1195 * Makefile.in (intlh.inst): Special handling of this goal. If
1196 used in gettext, this is really a rul to construct this file. If
1197 used in any other package it is defined as a .PHONY rule with
1200 * finddomain.c: Extract locale file information handling into
1201 l10nfile.c. Rename local stpcpy__ function to stpcpy.
1203 * dcgettext.c (stpcpy): Add local definition.
1205 * l10nflist.c: Solve some portability problems. Patches partly by
1206 Thomas Esken. Add local definition of stpcpy.
1208 Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com>
1210 * intlh.inst.in: Don't depend including <locale.h> on
1211 HAVE_LOCALE_H. Instead configure must rewrite this fiile
1212 depending on the result of the configure run.
1214 * Makefile.in (install): libintl.inst is now called intlh.inst.
1215 Add rules for updating intlh.inst from intlh.inst.in.
1217 * libintl.inst: Renamed to intlh.inst.in.
1219 * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
1220 because gcc has __buitlin_alloca.
1221 Reported by Roland McGrath.
1223 Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com>
1225 * Makefile.in (installcheck): New goal to fulfill needs of
1226 automake's distcheck.
1228 * Makefile.in (install): Reorder commands so that VERSION is
1231 * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
1233 (COMSRCS): Add l10nfile.c.
1234 (OBJECTS): Add l10nfile.o.
1235 (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common).
1236 (DISTFILE.gettext): Remove $(DISTFILES.common).
1237 (all-gettext): Remove goal.
1238 (install): If $(PACKAGE) = gettext install, otherwose do nothing. No
1239 package but gettext itself should install libintl.h + headers.
1240 (dist): Extend goal to work for gettext, too.
1241 (dist-gettext): Remove goal.
1243 * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
1245 Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com>
1247 * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
1250 Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com>
1252 * l10nflist.c (__argz_next): Add definition.
1254 * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
1255 code. Use new l10nfile handling.
1257 * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
1260 * l10nflist.c: Initial revision.
1262 Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware>
1264 * Makefile.in (all-gettext): New goal. Same as all-yes.
1266 Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de>
1268 * Makefile.in (gettextsrcdir): Define using @datadir@.
1270 Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware>
1272 * finddomain.c: Include <ctype.h>. Reported by Roland McGrath.
1274 Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware>
1276 * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
1277 with external declaration.
1279 Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware>
1281 * Makefile.in (all-no): Rename from all_no.
1283 Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware>
1285 * gettextP.h [loaded_domain]: Array `successor' must now contain up
1286 to 63 elements (because of codeset name normalization).
1288 * finddomain.c: Implement codeset name normalization.
1290 Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware>
1292 * Makefile.in (all): Define to `all-@USE_NLS@'.
1293 (all-yes, all_no): New goals. `all-no' is noop, `all-yes'
1296 Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com>
1298 * localealias.c (alias_compare): Increment string pointers in loop
1299 of strcasecmp replacement.
1301 Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware>
1303 * Makefile.in (install-src): Who commented this goal out ? :-)
1305 Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware>
1307 * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls
1308 should not effect it because a missing catalog is no error.
1309 Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
1311 Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware>
1313 * Makefile.in (Makefile): Explicitly use $(SHELL) for running
1316 Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1318 * Makefile.in (install-src): Only install library and header when
1319 we use the own implementation. Don't do it when using the
1320 system's gettext or catgets functions.
1322 * dcgettext.c (find_msg): Must not swap domain->hash_size here.
1324 Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware>
1326 * localealias.c, libintl.inst, libgettext.h, hash-string.h,
1327 gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
1328 Use PARAMS instead of __P. Suggested by Roland McGrath.
1330 Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu>
1332 * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
1333 !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
1335 Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware>
1337 * Makefile.in (install-src):
1338 Install libintl.inst instead of libintl.h.install.
1340 Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu>
1342 * cat-compat.c (textdomain):
1343 Reverse order in which files are tried you load. First
1344 try local file, when this failed absolute path.
1346 Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
1348 * cat-compat.c (bindtextdomain): Add missing { }.
1350 Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware>
1352 * libintl.inst: Add missing __P definition. Reported by Nelson Beebe.
1355 Add dummy `all' and `dvi' goals. Reported by Tom Tromey.
1357 Sat Nov 25 16:12:01 1995 François Pinard <pinard@iro.umontreal.ca>
1359 * hash-string.h: Capitalize arguments of macros.
1361 Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware>
1363 * Makefile.in (DISTFILES): Prevent files names longer than 13
1364 characters. libintl.h.glibc->libintl.glibc,
1365 libintl.h.install->libintl.inst. Reported by Joshua R. Poulson.
1367 Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com>
1369 * dcgettext.c: Fix bug in preprocessor conditionals.
1371 Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
1373 * libgettext.h: Solaris cc does not understand
1374 #if !SYMBOL1 && !SYMBOL2. Sad but true.
1376 Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware>
1378 * hash-string.h (hash_string):
1379 Fix for machine with >32 bit `unsigned long's.
1381 * dcgettext.c (DCGETTEXT):
1382 Fix horrible bug in loop for alternative translation.
1384 Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware>
1386 * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
1387 Some further simplifications in message number generation.
1389 Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware>
1391 * libintl.h.glibc: Use __const instead of const in prototypes.
1393 * Makefile.in (install-src):
1394 Install libintl.h.install instead of libintl.h. This
1395 is a stripped-down version. Suggested by Peter Miller.
1397 * libintl.h.install, libintl.h.glibc: Initial revision.
1399 * localealias.c (_nl_expand_alias, read_alias_file):
1400 Protect prototypes in type casts by __P.
1402 Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware>
1404 * hash-string.h: Correct prototype for hash_string.
1406 Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware>
1408 * hash-string.h (hash_string): Add prototype.
1410 * gettextP.h: Fix copyright.
1411 (SWAP): Add prototype.
1413 Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware>
1415 * localealias.c (read_alias_file): Forgot sizeof.
1416 Avoid calling *printf function. This introduces a big overhead.
1417 Patch by Roland McGrath.
1419 Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware>
1421 * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
1423 * finddomain.c (stpcpy):
1424 Define substitution function local. The macro was to flaky.
1426 * cat-compat.c: Fix typo.
1428 * xopen-msg.sed, linux-msg.sed:
1429 While bringing message number to right place only accept digits.
1431 * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
1432 leading 0s we don't need to remove them. Reported by Marcus
1435 * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
1436 dependency. Reported by Marcus Daniels.
1438 * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
1439 Generally cleanup using #if instead of #ifndef.
1441 * Makefile.in: Correct typos in comment. By François Pinard.
1443 Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware>
1445 * Makefile.in (install-src): Don't install libintl.h and libintl.a
1446 if we use an available gettext implementation.
1448 Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware>
1450 * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported
1453 * libgettext.h: Use #if instead of #ifdef/#ifndef.
1456 Comments describing what has to be done should start with FIXME.
1458 Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware>
1460 * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning.
1461 DISTFILES.common names the files common to both dist goals.
1462 DISTFILES.gettext are the files only distributed in GNU gettext.
1464 Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware>
1466 * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
1467 This was necessary since a change in _nl_find_msg several weeks
1468 ago. I really don't know this is still not fixed.
1470 Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware>
1472 * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This
1473 might mark a special condition.
1475 * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
1477 * Makefile.in (dist): Suppress error message when ln failed.
1478 Get files from $(srcdir) explicitly.
1480 * libgettext.h (gettext_const): Rename to gettext_noop.
1482 Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware>
1484 * finddomain.c (make_entry_rec):
1485 Protect against wrong locale names by testing mask.
1487 * libgettext.h (gettext_const): Add macro definition.
1488 Capitalize macro arguments.
1490 Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware>
1492 * finddomain.c (_nl_find_domain):
1493 Test for pointer != NULL before accessing value.
1494 Reported by Tom Tromey.
1497 Define as (void*)0 instad of 0. Reported by François Pinard.
1499 Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware>
1501 * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
1503 Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware>
1505 * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
1507 * localealias.c (alias_compare):
1508 Peter Miller reported that tolower in some systems is
1509 even dumber than I thought. Protect call by `isupper'.
1511 Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware>
1513 * Makefile.in (libdir, includedir): New variables.
1514 (install-src): Install libintl.a and libintl.h in correct dirs.
1516 Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware>
1518 * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
1520 * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
1523 Fix typo and superflous test. Reported by Christian von Roques.
1525 Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware>
1527 * finddomain.c (_nl_find_domain):
1528 Correct some remainder from the pre-CEN syntax. Now
1529 we don't have a constant number of successors anymore.
1531 Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware>
1533 * Makefile.in (DISTFILES): Add libintl.h.glibc.
1535 * Makefile.in (dist-libc): Add goal for packing sources for glibc.
1536 (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
1538 * loadmsgcat.c: Forget to continue #if line.
1541 [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
1544 * dcgettext.c, finddomain.c: Better comment to last change.
1547 [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
1548 __fstat, __open, __close, __read, __mmap, and __munmap resp
1549 to keep ANSI C name space clean.
1552 [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
1555 [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
1556 keep ANSI C name space clean.
1559 Include sys/types.h for those old SysV systems out there.
1560 Reported by Francesco Potorti`.
1562 * loadmsgcat.c (use_mmap): Define if compiled for glibc.
1564 * bindtextdom.c: Include all those standard headers
1565 unconditionally if _LIBC is defined.
1567 * finddomain.c: Fix 2 times defiend -> defined.
1569 * textdomain.c: Include libintl.h instead of libgettext.h when
1570 compiling for glibc. Include all those standard headers
1571 unconditionally if _LIBC is defined.
1573 * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
1576 Include libintl.h instead of libgettext.h when compiling for glibc.
1577 Get NULL from stddef.h if we compile for glibc.
1579 * finddomain.c: Include libintl.h instead of libgettext.h when
1580 compiling for glibc. Include all those standard headers
1581 unconditionally if _LIBC is defined.
1583 * dcgettext.c: Include all those standard headers unconditionally
1584 if _LIBC is defined.
1586 * dgettext.c: If compiled in glibc include libintl.h instead of
1588 (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
1590 * dcgettext.c: If compiled in glibc include libintl.h instead of
1592 (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
1595 If compiled in glibc include libintl.h instead of libgettext.h.
1597 Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware>
1599 * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
1600 Reported by Marcus Daniels.
1602 * cat-compat.c (bindtextdomain):
1603 String used in putenv must not be recycled.
1604 Reported by Marcus Daniels.
1606 * libgettext.h (__USE_GNU_GETTEXT):
1607 Additional symbol to signal that we use GNU gettext
1610 * cat-compat.c (bindtextdomain):
1611 Fix bug with the strange stpcpy replacement.
1612 Reported by Nelson Beebe.
1614 Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware>
1616 * cat-compat.c: Include <string.h> for stpcpy prototype.
1618 * localealias.c (read_alias_file):
1619 While expand strdup code temporary variable `cp' hided
1620 higher level variable with same name. Rename to `tp'.
1622 * textdomain.c (textdomain):
1623 Avoid warning by using temporary variable in strdup code.
1625 * finddomain.c (_nl_find_domain): Remove unused variable `application'.
1627 Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware>
1629 * localealias.c (alias_compare):
1630 Use strcasecmp() only if available. Else use
1631 implementation in place.
1634 Wrapper functions now call *__ functions instead of __*.
1636 * libgettext.h: Declare prototypes for *__ functions instead for __*.
1638 * cat-compat.c, loadmsgcat.c:
1639 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1640 of the standard libc and so prevent libintl.a from being used
1644 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1645 of the standard libc and so prevent libintl.a from being used
1647 Rename to bindtextdomain__ if not used in GNU C Library.
1650 Rename function to dgettext__ if not used in GNU C Library.
1653 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1654 of the standard libc and so prevent libintl.a from being used
1656 Functions now called gettext__ if not used in GNU C Library.
1658 * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
1659 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1660 of the standard libc and so prevent libintl.a from being used
1663 Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware>
1665 * finddomain.c: Correct some bugs in handling of CEN standard
1668 Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware>
1670 * finddomain.c: Implement CEN syntax.
1672 * gettextP.h (loaded_domain): Extend number of successors to 31.
1674 Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware>
1676 * Makefile.in (aliaspath): Remove path to X11 locale dir.
1678 * Makefile.in: Make install-src depend on install. This helps
1679 gettext to install the sources and other packages can use the
1682 Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware>
1684 * Makefile.in (uninstall): Remove stuff installed by install-src.
1686 Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware>
1688 * VERSION.in: Initial revision.
1690 * Makefile.in (DISTFILES):
1691 Add VERSION file. This is not necessary for gettext, but
1692 for other packages using this library.
1694 Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware>
1696 * gettextP.h (_nl_find_domain):
1697 New prototype after changing search strategy.
1699 * finddomain.c (_nl_find_domain):
1700 We now try only to find a specified catalog. Fall back to other
1701 catalogs listed in the locale list is now done in __dcgettext.
1703 * dcgettext.c (__dcgettext):
1704 Now we provide message fall back even to different languages.
1705 I.e. if a message is not available in one language all the other
1706 in the locale list a tried. Formerly fall back was only possible
1707 within one language. Implemented by moving one loop from
1708 _nl_find_domain to here.
1710 Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware>
1712 * Makefile.in (gettextsrcdir):
1713 Directory where source of GNU gettext library are made
1715 (INSTALL, INSTALL_DATA): Programs used for installing sources.
1716 (gettext-src): New. Rule to install GNU gettext sources for use in
1717 gettextize shell script.
1719 Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware>
1721 * loadmsgcat.c (_nl_load_domain):
1722 Use mmap for loading only when munmap function is
1725 * Makefile.in (install): Depend on `all' goal.
1727 Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware>
1729 * localealias.c (read_alias_file):
1730 Do not overwrite '\n' when terminating alias value string.
1732 * localealias.c (read_alias_file):
1733 Handle long lines. Ignore the rest not fitting in
1734 the buffer after the initial `fgets' call.
1736 Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware>
1738 * gettextP.h (_nl_load_domain):
1739 Add prototype, replacing prototype for _nl_load_msg_cat.
1741 * finddomain.c (_nl_find_domain):
1742 Remove unneeded variable filename and filename_len.
1743 (expand_alias): Remove prototype because functions does not
1746 * localealias.c (read_alias_file):
1747 Change type of fname_len parameter to int.
1748 (xmalloc): Add prototype.
1750 * loadmsgcat.c: Better prototypes for xmalloc.
1752 Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware>
1754 * finddomain.c (_nl_find_domain):
1755 Allow alias name to be constructed from the four components.
1757 * Makefile.in (aliaspath): New variable. Set to preliminary value.
1758 (SOURCES): Add localealias.c.
1759 (OBJECTS): Add localealias.o.
1761 * gettextP.h: Add prototype for _nl_expand_alias.
1763 * finddomain.c: Aliasing handled in intl/localealias.c.
1765 * localealias.c: Aliasing for locale names.
1767 * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
1769 Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware>
1771 * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
1773 * cat-compat.c (bindtextdomain):
1774 Correct implementation. dirname parameter was not used.
1775 Reported by Marcus Daniels.
1777 * gettextP.h (loaded_domain):
1778 New fields `successor' and `decided' for oo, lazy
1779 message handling implementation.
1782 Adopt for oo, lazy message handliing.
1783 Now we can inherit translations from less specific locales.
1784 (find_msg): New function.
1786 * loadmsgcat.c, finddomain.c:
1787 Complete rewrite. Implement oo, lazy message handling :-).
1788 We now have an additional environment variable `LANGUAGE' with
1789 a higher priority than LC_ALL for the LC_MESSAGE locale.
1790 Here we can set a colon separated list of specifications each
1791 of the form `language[_territory[.codeset]][@modifier]'.
1793 Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware>
1795 * finddomain.c (unistd.h):
1796 Include to get _PC_PATH_MAX defined on system having it.
1798 Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware>
1800 * finddomain.c (stpcpy): Include prototype.
1802 * Makefile.in (dist): Remove `copying instead' message.
1804 Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware>
1806 * Makefile.in (ID, TAGS): Do not use $^.
1808 Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware>
1810 * Makefile.in (TAGS, ID): Use $^ as command argument.
1811 (TAGS): Give etags -o option t write to current directory,
1813 (ID): Use $(srcdir) instead os $(top_srcdir)/src.
1814 (distclean): Remove ID.
1816 Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware>
1818 * Makefile.in (gnulocaledir):
1819 New variable, always using share/ for data directory.
1820 (DEFS): Add GNULOCALEDIR, used in finddomain.c.
1822 * finddomain.c (_nl_default_dirname):
1823 Set to GNULOCALEDIR, because it always has to point
1824 to the directory where GNU gettext Library writes it to.
1826 * intl-compat.c (textdomain, bindtextdomain):
1827 Undefine macros before function definition.
1829 Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware>
1831 * libgettext.h (_LIBINTL_H):
1832 Protect definition in case where this file is included as
1833 libgettext.h on Solaris machines. Add comment about this.
1835 Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware>
1837 * intl-compat.c (textdomain): Correct typo.
1839 Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware>
1841 * dcgettext.c (dcgettext): Function now called __dcgettext.
1843 * dgettext.c (dgettext): Now called __dgettext and calls
1846 * gettext.c (gettext):
1847 Function now called __gettext and calls __dgettext.
1849 * textdomain.c (textdomain): Function now called __textdomain.
1851 * bindtextdom.c (bindtextdomain): Function now called
1854 * intl-compat.c: Initial revision.
1856 * Makefile.in (SOURCES): Add intl-compat.c.
1857 (OBJECTS): We always compile the GNU gettext library functions.
1858 OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
1860 (GETTOBJS): Contains now only intl-compat.o.
1863 Re-include protection matches dualistic character of libgettext.h.
1864 For all functions in GNU gettext library define __ counter part.
1866 * finddomain.c (strchr): Define as index if not found in C library.
1867 (_nl_find_domain): For relative paths paste / in between.
1869 Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware>
1871 * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
1873 * xopen-msg.sed: Fix bug with `msgstr ""' lines.
1874 A little bit better comments.
1876 Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware>
1879 po-mode.el, makelinks, combine-sh are now found in ../misc.
1881 * po-mode.el, makelinks, combine-sh, elisp-comp:
1884 * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
1886 Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware>
1888 * Makefile.in (INSTALL, INSTALL_DATA): New variables.
1889 (install-data, uninstall): Install/uninstall .elc file.
1891 * po-mode.el (Installation comment):
1892 Add .pox as possible extension of .po files.
1894 Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware>
1896 * elisp-comp: Complete new version by François: This does not
1897 fail when not compiling in the source directory.
1899 Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware>
1901 * Makefile.in (../po/cat-id-tbl.o):
1902 Use $(MAKE) instead of make for recursive make.
1904 * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
1905 (install-exec): Add missing dummy goal.
1906 (install-data, uninstall): @ in multi-line shell command at
1907 beginning, not in front of echo. Reported by Eric Backus.
1909 Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware>
1911 * Makefile.in (DISTFILES):
1912 Rename libgettext.perl to gettext.perl to fit in 14 chars
1916 Rename to gettext.perl to fit in 14 chars file systems.
1918 Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware>
1920 * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
1922 Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware>
1924 * po2tbl.sed.in: Pretty printing.
1926 * linux-msg.sed, xopen-msg.sed:
1927 Correct bugs with handling substitute flags in branches.
1929 * hash-string.h (hash_string):
1930 Old K&R compilers don't under stand `unsigned char'.
1932 * gettext.h (nls_uint32):
1933 Some old K&R compilers (eg HP) don't understand `unsigned int'.
1935 * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1937 Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware>
1939 * Makefile.in (ELCFILES): New variable.
1940 (DISTFILES): Add elisp-comp.
1941 Add implicit rule for .el -> .elc compilation.
1942 (install-data): install $ELCFILES
1943 (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1945 * elisp-comp: Initial revision
1947 Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware>
1950 cat-id-tbl.c is now found in po/. This enables us to use an identical
1951 intl/ directory in all packages.
1953 * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1955 * textdomain.c: fix typo (#if def -> #if defined)
1957 Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware>
1959 * Makefile.in (stamp-cat-id): use top_srcdir to address source files
1960 (DISTFILES,distclean): move tupdate.perl to src/
1963 add additional jump to clear change flag to recognize multiline strings
1965 Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware>
1967 * textdomain.c: Protect inclusion of stdlib.h and string.h.
1969 * loadmsgcat.c: Protect inclusion of stdlib.h.
1971 * libgettext.h: Protect inclusion of locale.h.
1972 Allow use in C++ programs.
1973 Define NULL is not happened already.
1975 * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1977 (distclean): remove po-to-tbl.sed and tupdate.perl.
1979 * tupdate.perl.in: Substitute Perl path even in exec line.
1980 Don't include entries without translation from old .po file.
1982 Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware>
1984 * tupdate.perl.in: use "Updated: " in msgid "".
1986 * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1987 Define getenv if !__STDC__.
1989 * bindtextdom.c: Protect stdlib.h and string.h inclusion.
1990 Define free if !__STDC__.
1992 * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1993 Define free if !__STDC__.
1995 * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1997 Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware>
1999 * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
2000 Remove unneeded $(srcdir) from Makefile.in dependency.
2002 * makelinks: Add copyright and short description.
2004 * po-mode.el: Last version for 0.7.
2006 * tupdate.perl.in: Fix die message.
2008 * dcgettext.c: Protect include of string.h.
2010 * gettext.c: Protect include of stdlib.h and further tries to get NULL.
2012 * finddomain.c: Some corrections in includes.
2014 * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
2016 * po-to-tbl.sed: Adopt for new .po file format.
2018 * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
2020 Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware>
2022 * tupdate.perl.in: Complete rewrite for new .po file format.
2024 Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware>
2026 * First official release. This directory contains all the code
2027 needed to internationalize own packages. It provides functions
2028 which allow to use the X/Open catgets function with an interface
2029 like the Uniforum gettext function. For system which does not
2030 have neither of those a complete implementation is provided.