1 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
3 * localealias.c (strings.h): Include.
5 Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
7 * Makefile.in (OUTPUT_OPTION): Add configure variable.
8 (.c.o): Add $(OUTPUT_OPTION).
10 2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12 * l10nflist.c (_nl_normalize_codeset): Cast argument of ctype
13 function to `unsigned char'.
14 * loadmsgcat.c (_nl_load_domain): Likewise.
15 * localealias.c (read_alias_file, alias_compare): Likewise.
16 * localcharset.c: Include "gettextP.h".
17 * plural.y (__attribute__): Define.
18 (yyerror): Mark parameter with __attribute__ ((__unused__)).
19 * plural.c: Regenerate.
21 2001-10-24 Zack Weinberg <zack@codesourcery.com>
23 * loadmsgcat.c (INTTYPE_SIGNED, INTTYPE_MINIMUM,
24 INTTYPE_MAXIMUM): Clone from system.h.
25 (_nl_load_domain): Use them when testing for overflow of size_t.
26 Cast result of sizeof to off_t to compare to st_size value.
27 Move side effects out of conditional for comprehensibility.
29 2001-10-21 Zack Weinberg <zack@codesourcery.com>
31 * dcigettext.c: Don't use #elif.
32 * gettextP.h: Prototype nls_uint32 and locale_charset here.
33 Always define ZERO to 1 to avoid warnings (ZERO is used in
34 flexible-array-member declarations).
35 * loadmsgcat.c: Apply __extension__ to structure definitions
36 using C99 designated initializer syntax.
37 Do not prototype locale_charset here.
38 * localcharset.c: Prototype get_charset_aliases before use.
39 Get rid of STATIC nonsense.
41 2001-10-19 Zack Weinberg <zack@codesourcery.com>
43 * Makefile.in: Don't copy libgnuintl.h anywhere.
45 2001-10-12 Zack Weinberg <zack@codesourcery.com>
47 * Update entire directory from gettext 0.10.40.
48 * cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
50 * config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
51 localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
52 ref-add.sin, ref-del.sin: New.
54 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
56 * gettextP.h (SWAP): Change parameter type to unsigned int.
58 2001-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
60 * po2tbl.sed.in: Fixed typo.
62 2000-09-18 Bruno Haible <haible@clisp.cons.org>
64 * intl/dcgettext.c: Outside libc, use local variable names that don't
65 clash with those in libc.
66 * intl/bindtextdom.c: Likewise.
67 * intl/textdomain.c: Likewise.
69 2000-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
71 * gettext.h (nls_uint32): Choose via INT_MAX instead of UINT_MAX.
73 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
75 * dcgettext.c (find_msg): Initialize act before loop.
76 (guess_category_value): Add dummy uses of both parameters.
77 * localealias.c (read_alias_file): Cast arg of strchr to char *.
79 2000-06-06 Philipp Thomas <pthomas@suse.de>
81 * Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches.
82 * dcgettext.c: Define _GNU_SOURCE before any system header is
83 included. Guard getcwd declaration with HAVE_DECL_GETCWD.
84 * loadmsgcat.c (_nl_load_domain): Cast st.st_size in compaison to
86 * localealias.c: Define _GNU_SOURCE before any system header is
87 included. Don't use return value of memcpy because it could be a
88 macro defined in terms of bcopy.
89 (read_alias_file): Remove HAVE_MEMCPY guard and just don't use the
90 return value of memcpy. Cast argument to fgets and strlen to char *.
91 * explodename.c (_nl_explode_name): Cast codeset to unsigned char **
92 in call to _nl_normalize_codeset.
93 * l10nflist.c: Define _GNU_SOURCE before any system header is
96 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
98 * intl/localealias.c (read_alias_file): Use unsigned char for
99 local variables. Remove unused variable tp.
100 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
101 for type of codeset. For loosing Solaris systems.
102 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
103 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
105 Patches by Jim Meyering.
107 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
109 * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
110 mmap is not supported.
112 * hash-string.h: Don't include <values.h>.
114 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
116 * textdomain.c: Use strdup is available.
118 * localealias.c: Define HAVE_MEMPCPY so that we can use this
119 function. Define and use semapahores to protect modfication of
120 global objects when compiling for glibc. Add code to allow
123 * l10nflist.c: Don't assume stpcpy not being a macro.
125 * gettextP.h: Define internal_function macri if not already done.
126 Use glibc byte-swap macros instead of defining SWAP when compiled
128 (struct loaded_domain): Add elements to allow unloading.
130 * Makefile.in (distclean): Don't remove libintl.h here.
132 * bindtextdomain.c: Carry over changes from glibc. Use strdup if
135 * dcgettext.c: Don't assume stpcpy not being a macro. Mark internal
136 functions. Add memory freeing code for glibc.
138 * dgettext.c: Update copyright.
140 * explodename.c: Include stdlib.h and string.h only if they exist.
141 Use strings.h eventually.
143 * finddomain.c: Mark internal functions. Use strdup if available.
144 Add memory freeing code for glibc.
146 1997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com>
148 * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
149 They should return reasonable values.
150 Reported by Tom Tromey <tromey@cygnus.com>.
152 1997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com>
154 * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
155 * intlh.inst.in: Likewise.
156 Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
158 * libintl.glibc: Update from current glibc version.
160 1997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com>
162 * intlh.inst.in: Reformat copyright.
164 1997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com>
166 * dcgettext.c (DCGETTEXT): Remove wrong comment.
168 1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com>
170 * Makefile.in (install-data): Don't change directory to install.
172 1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com>
174 * cat-compat.c: Fix copyright.
176 * localealias.c: Don't define strchr unless !HAVE_STRCHR.
178 * loadmsgcat.c: Update copyright. Fix typos.
180 * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
181 (_nl_make_l10nflist): Handle sponsor and revision correctly.
183 * gettext.c: Update copyright.
184 * gettext.h: Likewise.
185 * hash-string.h: Likewise.
187 * finddomain.c: Remoave dead code. Define strchr only if
190 * explodename.c: Include <sys/types.h>.
192 * explodename.c: Reformat copyright text.
193 (_nl_explode_name): Fix typo.
195 * dcgettext.c: Define and use __set_errno.
196 (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
199 * bindtextdom.c: Pretty printing.
201 1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com>
203 * dcgettext.c (guess_category_value): Don't depend on
204 HAVE_LC_MESSAGES. We don't need the macro here.
205 Patch by Bruno Haible <haible@ilog.fr>.
207 * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
208 macro. Instead use HAVE_LOCALE_NULL and define it when using
209 glibc, as in dcgettext.c.
210 Patch by Bruno Haible <haible@ilog.fr>.
212 * Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois
215 Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com>
217 * Makefile.in: Implement handling of libtool.
219 * gettextP.h: Change data structures for use of generic lowlevel
222 Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com>
224 * textdomain.c: Put parentheses around arguments of memcpy macro
226 * localealias.c: Likewise.
227 * l10nflist.c: Likewise.
228 * finddomain.c: Likewise.
229 * bindtextdom.c: Likewise.
230 Reported by Thomas Esken.
232 Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com>
234 * textdomain.c: Move definition of `memcpy` macro to right
237 Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com>
239 * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
240 bcopy if not already defined. Reported by Thomas Esken.
241 * bindtextdom.c: Likewise.
242 * l10nflist.c: Likewise.
243 * localealias.c: Likewise.
244 * textdomain.c: Likewise.
246 Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com>
248 * Makefile.in (libdir): Change to use exec_prefix instead of
249 prefix. Reported by Knut-HÃ¥vardAksnes <etokna@eto.ericsson.se>.
251 Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com>
253 * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
254 so don't prepend uppercase `ISO' for only numeric arg.
256 Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
258 * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
259 definition of _GNU_SOURCE. Patch by Roland McGrath.
261 * Makefile.in (uninstall): Fix another bug with `for' loop and
262 empty arguments. Patch by Jim Meyering. Correct name os
263 uninstalled files: no intl- prefix anymore.
265 * Makefile.in (install-data): Again work around shells which
266 cannot handle mpty for list. Reported by Jim Meyering.
268 Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com>
270 * Makefile.in (install): Split goal. Now depend on install-exec
272 (install-exec, install-data): New goals. Created from former
274 Reported by Karl Berry.
276 Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com>
278 * Makefile.in (MKINSTALLDIRS): New variable. Path to
279 mkinstalldirs script.
280 (install): use MKINSTALLDIRS variable or if the script is not present
281 try to find it in the $top_scrdir).
283 Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com>
285 * l10nflist.c: Linux libc *partly* includes the argz_* functions.
286 Grr. Work around by renaming the static version and use macros
289 Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com>
291 * l10nflist.c: Correct presence test macros of __argz_* functions.
293 * l10nflist.c: Include <argz.h> based on test of it instead when
294 __argz_* functions are available.
295 Reported by Andreas Schwab.
297 Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com>
299 * explodename.c, l10nflist.c: Define NULL for dumb systems.
301 Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com>
303 * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
304 result to __result to prevent name clash.
306 * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
307 get prototype for stpcpy and strcasecmp.
309 * intlh.inst.in, libgettext.h: Move declaration of
310 `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
311 from gcc's -Wnested-extern option.
313 Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com>
315 * Makefile.in (install): Remove comment.
317 Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com>
319 * Makefile.in (install): Work around for another Buglix stupidity.
320 Always use an `else' close for `if's. Reported by Nelson Beebe.
322 * Makefile.in (intlh.inst): Correct typo in phony rule.
323 Reported by Nelson Beebe.
325 Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com>
327 * dcgettext.c (read_alias_file): Rename variable alloca_list to
328 block_list as the macro calls assume.
329 Patch by Eric Backus.
331 * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
333 (read_alias_file): Rename varriabe alloca_list to block_list as the
335 Patch by Eric Backus.
337 * l10nflist.c: Correct conditional for <argz.h> inclusion.
338 Reported by Roland McGrath.
340 * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
343 * Makefile.in (install): intlh.inst comes from local dir, not
346 * Makefile.in (intlh.inst): Special handling of this goal. If
347 used in gettext, this is really a rul to construct this file. If
348 used in any other package it is defined as a .PHONY rule with
351 * finddomain.c: Extract locale file information handling into
352 l10nfile.c. Rename local stpcpy__ function to stpcpy.
354 * dcgettext.c (stpcpy): Add local definition.
356 * l10nflist.c: Solve some portability problems. Patches partly by
357 Thomas Esken. Add local definition of stpcpy.
359 Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com>
361 * intlh.inst.in: Don't depend including <locale.h> on
362 HAVE_LOCALE_H. Instead configure must rewrite this fiile
363 depending on the result of the configure run.
365 * Makefile.in (install): libintl.inst is now called intlh.inst.
366 Add rules for updating intlh.inst from intlh.inst.in.
368 * libintl.inst: Renamed to intlh.inst.in.
370 * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
371 because gcc has __buitlin_alloca.
372 Reported by Roland McGrath.
374 Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com>
376 * Makefile.in (installcheck): New goal to fulfill needs of
377 automake's distcheck.
379 * Makefile.in (install): Reorder commands so that VERSION is
382 * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
384 (COMSRCS): Add l10nfile.c.
385 (OBJECTS): Add l10nfile.o.
386 (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common).
387 (DISTFILE.gettext): Remove $(DISTFILES.common).
388 (all-gettext): Remove goal.
389 (install): If $(PACKAGE) = gettext install, otherwose do nothing. No
390 package but gettext itself should install libintl.h + headers.
391 (dist): Extend goal to work for gettext, too.
392 (dist-gettext): Remove goal.
394 * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
396 Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com>
398 * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
401 Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com>
403 * l10nflist.c (__argz_next): Add definition.
405 * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
406 code. Use new l10nfile handling.
408 * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
411 * l10nflist.c: Initial revision.
413 Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware>
415 * Makefile.in (all-gettext): New goal. Same as all-yes.
417 Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de>
419 * Makefile.in (gettextsrcdir): Define using @datadir@.
421 Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware>
423 * finddomain.c: Include <ctype.h>. Reported by Roland McGrath.
425 Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware>
427 * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
428 with external declaration.
430 Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware>
432 * Makefile.in (all-no): Rename from all_no.
434 Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware>
436 * gettextP.h [loaded_domain]: Array `successor' must now contain up
437 to 63 elements (because of codeset name normalization).
439 * finddomain.c: Implement codeset name normalization.
441 Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware>
443 * Makefile.in (all): Define to `all-@USE_NLS@'.
444 (all-yes, all_no): New goals. `all-no' is noop, `all-yes'
447 Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com>
449 * localealias.c (alias_compare): Increment string pointers in loop
450 of strcasecmp replacement.
452 Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware>
454 * Makefile.in (install-src): Who commented this goal out ? :-)
456 Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware>
458 * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls
459 should not effect it because a missing catalog is no error.
460 Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
462 Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware>
464 * Makefile.in (Makefile): Explicitly use $(SHELL) for running
467 Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
469 * Makefile.in (install-src): Only install library and header when
470 we use the own implementation. Don't do it when using the
471 system's gettext or catgets functions.
473 * dcgettext.c (find_msg): Must not swap domain->hash_size here.
475 Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware>
477 * localealias.c, libintl.inst, libgettext.h, hash-string.h,
478 gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
479 Use PARAMS instead of __P. Suggested by Roland McGrath.
481 Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu>
483 * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
484 !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
486 Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware>
488 * Makefile.in (install-src):
489 Install libintl.inst instead of libintl.h.install.
491 Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu>
493 * cat-compat.c (textdomain):
494 Reverse order in which files are tried you load. First
495 try local file, when this failed absolute path.
497 Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
499 * cat-compat.c (bindtextdomain): Add missing { }.
501 Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware>
503 * libintl.inst: Add missing __P definition. Reported by Nelson Beebe.
506 Add dummy `all' and `dvi' goals. Reported by Tom Tromey.
508 Sat Nov 25 16:12:01 1995 Franc,ois Pinard <pinard@iro.umontreal.ca>
510 * hash-string.h: Capitalize arguments of macros.
512 Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware>
514 * Makefile.in (DISTFILES): Prevent files names longer than 13
515 characters. libintl.h.glibc->libintl.glibc,
516 libintl.h.install->libintl.inst. Reported by Joshua R. Poulson.
518 Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com>
520 * dcgettext.c: Fix bug in preprocessor conditionals.
522 Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
524 * libgettext.h: Solaris cc does not understand
525 #if !SYMBOL1 && !SYMBOL2. Sad but true.
527 Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware>
529 * hash-string.h (hash_string):
530 Fix for machine with >32 bit `unsigned long's.
532 * dcgettext.c (DCGETTEXT):
533 Fix horrible bug in loop for alternative translation.
535 Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware>
537 * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
538 Some further simplifications in message number generation.
540 Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware>
542 * libintl.h.glibc: Use __const instead of const in prototypes.
544 * Makefile.in (install-src):
545 Install libintl.h.install instead of libintl.h. This
546 is a stripped-down version. Suggested by Peter Miller.
548 * libintl.h.install, libintl.h.glibc: Initial revision.
550 * localealias.c (_nl_expand_alias, read_alias_file):
551 Protect prototypes in type casts by __P.
553 Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware>
555 * hash-string.h: Correct prototype for hash_string.
557 Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware>
559 * hash-string.h (hash_string): Add prototype.
561 * gettextP.h: Fix copyright.
562 (SWAP): Add prototype.
564 Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware>
566 * localealias.c (read_alias_file): Forgot sizeof.
567 Avoid calling *printf function. This introduces a big overhead.
568 Patch by Roland McGrath.
570 Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware>
572 * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
574 * finddomain.c (stpcpy):
575 Define substitution function local. The macro was to flaky.
577 * cat-compat.c: Fix typo.
579 * xopen-msg.sed, linux-msg.sed:
580 While bringing message number to right place only accept digits.
582 * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
583 leading 0s we don't need to remove them. Reported by Marcus
586 * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
587 dependency. Reported by Marcus Daniels.
589 * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
590 Generally cleanup using #if instead of #ifndef.
592 * Makefile.in: Correct typos in comment. By Franc,ois Pinard.
594 Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware>
596 * Makefile.in (install-src): Don't install libintl.h and libintl.a
597 if we use an available gettext implementation.
599 Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware>
601 * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported
604 * libgettext.h: Use #if instead of #ifdef/#ifndef.
607 Comments describing what has to be done should start with FIXME.
609 Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware>
611 * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning.
612 DISTFILES.common names the files common to both dist goals.
613 DISTFILES.gettext are the files only distributed in GNU gettext.
615 Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware>
617 * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
618 This was necessary since a change in _nl_find_msg several weeks
619 ago. I really don't know this is still not fixed.
621 Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware>
623 * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This
624 might mark a special condition.
626 * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
628 * Makefile.in (dist): Suppress error message when ln failed.
629 Get files from $(srcdir) explicitly.
631 * libgettext.h (gettext_const): Rename to gettext_noop.
633 Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware>
635 * finddomain.c (make_entry_rec):
636 Protect against wrong locale names by testing mask.
638 * libgettext.h (gettext_const): Add macro definition.
639 Capitalize macro arguments.
641 Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware>
643 * finddomain.c (_nl_find_domain):
644 Test for pointer != NULL before accessing value.
645 Reported by Tom Tromey.
648 Define as (void*)0 instad of 0. Reported by Franc,ois Pinard.
650 Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware>
652 * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
654 Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware>
656 * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
658 * localealias.c (alias_compare):
659 Peter Miller reported that tolower in some systems is
660 even dumber than I thought. Protect call by `isupper'.
662 Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware>
664 * Makefile.in (libdir, includedir): New variables.
665 (install-src): Install libintl.a and libintl.h in correct dirs.
667 Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware>
669 * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
671 * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
674 Fix typo and superflous test. Reported by Christian von Roques.
676 Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware>
678 * finddomain.c (_nl_find_domain):
679 Correct some remainder from the pre-CEN syntax. Now
680 we don't have a constant number of successors anymore.
682 Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware>
684 * Makefile.in (DISTFILES): Add libintl.h.glibc.
686 * Makefile.in (dist-libc): Add goal for packing sources for glibc.
687 (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
689 * loadmsgcat.c: Forget to continue #if line.
692 [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
695 * dcgettext.c, finddomain.c: Better comment to last change.
698 [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
699 __fstat, __open, __close, __read, __mmap, and __munmap resp
700 to keep ANSI C name space clean.
703 [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
706 [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
707 keep ANSI C name space clean.
710 Include sys/types.h for those old SysV systems out there.
711 Reported by Francesco Potorti`.
713 * loadmsgcat.c (use_mmap): Define if compiled for glibc.
715 * bindtextdom.c: Include all those standard headers
716 unconditionally if _LIBC is defined.
718 * finddomain.c: Fix 2 times defiend -> defined.
720 * textdomain.c: Include libintl.h instead of libgettext.h when
721 compiling for glibc. Include all those standard headers
722 unconditionally if _LIBC is defined.
724 * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
727 Include libintl.h instead of libgettext.h when compiling for glibc.
728 Get NULL from stddef.h if we compile for glibc.
730 * finddomain.c: Include libintl.h instead of libgettext.h when
731 compiling for glibc. Include all those standard headers
732 unconditionally if _LIBC is defined.
734 * dcgettext.c: Include all those standard headers unconditionally
737 * dgettext.c: If compiled in glibc include libintl.h instead of
739 (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
741 * dcgettext.c: If compiled in glibc include libintl.h instead of
743 (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
746 If compiled in glibc include libintl.h instead of libgettext.h.
748 Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware>
750 * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
751 Reported by Marcus Daniels.
753 * cat-compat.c (bindtextdomain):
754 String used in putenv must not be recycled.
755 Reported by Marcus Daniels.
757 * libgettext.h (__USE_GNU_GETTEXT):
758 Additional symbol to signal that we use GNU gettext
761 * cat-compat.c (bindtextdomain):
762 Fix bug with the strange stpcpy replacement.
763 Reported by Nelson Beebe.
765 Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware>
767 * cat-compat.c: Include <string.h> for stpcpy prototype.
769 * localealias.c (read_alias_file):
770 While expand strdup code temporary variable `cp' hided
771 higher level variable with same name. Rename to `tp'.
773 * textdomain.c (textdomain):
774 Avoid warning by using temporary variable in strdup code.
776 * finddomain.c (_nl_find_domain): Remove unused variable `application'.
778 Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware>
780 * localealias.c (alias_compare):
781 Use strcasecmp() only if available. Else use
782 implementation in place.
785 Wrapper functions now call *__ functions instead of __*.
787 * libgettext.h: Declare prototypes for *__ functions instead for __*.
789 * cat-compat.c, loadmsgcat.c:
790 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
791 of the standard libc and so prevent libintl.a from being used
795 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
796 of the standard libc and so prevent libintl.a from being used
798 Rename to bindtextdomain__ if not used in GNU C Library.
801 Rename function to dgettext__ if not used in GNU C Library.
804 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
805 of the standard libc and so prevent libintl.a from being used
807 Functions now called gettext__ if not used in GNU C Library.
809 * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
810 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
811 of the standard libc and so prevent libintl.a from being used
814 Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware>
816 * finddomain.c: Correct some bugs in handling of CEN standard
819 Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware>
821 * finddomain.c: Implement CEN syntax.
823 * gettextP.h (loaded_domain): Extend number of successors to 31.
825 Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware>
827 * Makefile.in (aliaspath): Remove path to X11 locale dir.
829 * Makefile.in: Make install-src depend on install. This helps
830 gettext to install the sources and other packages can use the
833 Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware>
835 * Makefile.in (uninstall): Remove stuff installed by install-src.
837 Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware>
839 * VERSION.in: Initial revision.
841 * Makefile.in (DISTFILES):
842 Add VERSION file. This is not necessary for gettext, but
843 for other packages using this library.
845 Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware>
847 * gettextP.h (_nl_find_domain):
848 New prototype after changing search strategy.
850 * finddomain.c (_nl_find_domain):
851 We now try only to find a specified catalog. Fall back to other
852 catalogs listed in the locale list is now done in __dcgettext.
854 * dcgettext.c (__dcgettext):
855 Now we provide message fall back even to different languages.
856 I.e. if a message is not available in one language all the other
857 in the locale list a tried. Formerly fall back was only possible
858 within one language. Implemented by moving one loop from
859 _nl_find_domain to here.
861 Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware>
863 * Makefile.in (gettextsrcdir):
864 Directory where source of GNU gettext library are made
866 (INSTALL, INSTALL_DATA): Programs used for installing sources.
867 (gettext-src): New. Rule to install GNU gettext sources for use in
868 gettextize shell script.
870 Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware>
872 * loadmsgcat.c (_nl_load_domain):
873 Use mmap for loading only when munmap function is
876 * Makefile.in (install): Depend on `all' goal.
878 Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware>
880 * localealias.c (read_alias_file):
881 Do not overwrite '\n' when terminating alias value string.
883 * localealias.c (read_alias_file):
884 Handle long lines. Ignore the rest not fitting in
885 the buffer after the initial `fgets' call.
887 Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware>
889 * gettextP.h (_nl_load_domain):
890 Add prototype, replacing prototype for _nl_load_msg_cat.
892 * finddomain.c (_nl_find_domain):
893 Remove unneeded variable filename and filename_len.
894 (expand_alias): Remove prototype because functions does not
897 * localealias.c (read_alias_file):
898 Change type of fname_len parameter to int.
899 (xmalloc): Add prototype.
901 * loadmsgcat.c: Better prototypes for xmalloc.
903 Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware>
905 * finddomain.c (_nl_find_domain):
906 Allow alias name to be constructed from the four components.
908 * Makefile.in (aliaspath): New variable. Set to preliminary value.
909 (SOURCES): Add localealias.c.
910 (OBJECTS): Add localealias.o.
912 * gettextP.h: Add prototype for _nl_expand_alias.
914 * finddomain.c: Aliasing handled in intl/localealias.c.
916 * localealias.c: Aliasing for locale names.
918 * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
920 Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware>
922 * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
924 * cat-compat.c (bindtextdomain):
925 Correct implementation. dirname parameter was not used.
926 Reported by Marcus Daniels.
928 * gettextP.h (loaded_domain):
929 New fields `successor' and `decided' for oo, lazy
930 message handling implementation.
933 Adopt for oo, lazy message handliing.
934 Now we can inherit translations from less specific locales.
935 (find_msg): New function.
937 * loadmsgcat.c, finddomain.c:
938 Complete rewrite. Implement oo, lazy message handling :-).
939 We now have an additional environment variable `LANGUAGE' with
940 a higher priority than LC_ALL for the LC_MESSAGE locale.
941 Here we can set a colon separated list of specifications each
942 of the form `language[_territory[.codeset]][@modifier]'.
944 Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware>
946 * finddomain.c (unistd.h):
947 Include to get _PC_PATH_MAX defined on system having it.
949 Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware>
951 * finddomain.c (stpcpy): Include prototype.
953 * Makefile.in (dist): Remove `copying instead' message.
955 Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware>
957 * Makefile.in (ID, TAGS): Do not use $^.
959 Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware>
961 * Makefile.in (TAGS, ID): Use $^ as command argument.
962 (TAGS): Give etags -o option t write to current directory,
964 (ID): Use $(srcdir) instead os $(top_srcdir)/src.
965 (distclean): Remove ID.
967 Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware>
969 * Makefile.in (gnulocaledir):
970 New variable, always using share/ for data directory.
971 (DEFS): Add GNULOCALEDIR, used in finddomain.c.
973 * finddomain.c (_nl_default_dirname):
974 Set to GNULOCALEDIR, because it always has to point
975 to the directory where GNU gettext Library writes it to.
977 * intl-compat.c (textdomain, bindtextdomain):
978 Undefine macros before function definition.
980 Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware>
982 * libgettext.h (_LIBINTL_H):
983 Protect definition in case where this file is included as
984 libgettext.h on Solaris machines. Add comment about this.
986 Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware>
988 * intl-compat.c (textdomain): Correct typo.
990 Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware>
992 * dcgettext.c (dcgettext): Function now called __dcgettext.
994 * dgettext.c (dgettext): Now called __dgettext and calls
997 * gettext.c (gettext):
998 Function now called __gettext and calls __dgettext.
1000 * textdomain.c (textdomain): Function now called __textdomain.
1002 * bindtextdom.c (bindtextdomain): Function now called
1005 * intl-compat.c: Initial revision.
1007 * Makefile.in (SOURCES): Add intl-compat.c.
1008 (OBJECTS): We always compile the GNU gettext library functions.
1009 OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
1011 (GETTOBJS): Contains now only intl-compat.o.
1014 Re-include protection matches dualistic character of libgettext.h.
1015 For all functions in GNU gettext library define __ counter part.
1017 * finddomain.c (strchr): Define as index if not found in C library.
1018 (_nl_find_domain): For relative paths paste / in between.
1020 Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware>
1022 * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
1024 * xopen-msg.sed: Fix bug with `msgstr ""' lines.
1025 A little bit better comments.
1027 Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware>
1030 po-mode.el, makelinks, combine-sh are now found in ../misc.
1032 * po-mode.el, makelinks, combine-sh, elisp-comp:
1035 * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
1037 Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware>
1039 * Makefile.in (INSTALL, INSTALL_DATA): New variables.
1040 (install-data, uninstall): Install/uninstall .elc file.
1042 * po-mode.el (Installation comment):
1043 Add .pox as possible extension of .po files.
1045 Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware>
1047 * elisp-comp: Complete new version by Franc,ois: This does not
1048 fail when not compiling in the source directory.
1050 Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware>
1052 * Makefile.in (../po/cat-id-tbl.o):
1053 Use $(MAKE) instead of make for recursive make.
1055 * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
1056 (install-exec): Add missing dummy goal.
1057 (install-data, uninstall): @ in multi-line shell command at
1058 beginning, not in front of echo. Reported by Eric Backus.
1060 Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware>
1062 * Makefile.in (DISTFILES):
1063 Rename libgettext.perl to gettext.perl to fit in 14 chars
1067 Rename to gettext.perl to fit in 14 chars file systems.
1069 Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware>
1071 * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
1073 Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware>
1075 * po2tbl.sed.in: Pretty printing.
1077 * linux-msg.sed, xopen-msg.sed:
1078 Correct bugs with handling substitute flags in branches.
1080 * hash-string.h (hash_string):
1081 Old K&R compilers don't under stand `unsigned char'.
1083 * gettext.h (nls_uint32):
1084 Some old K&R compilers (eg HP) don't understand `unsigned int'.
1086 * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1088 Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware>
1090 * Makefile.in (ELCFILES): New variable.
1091 (DISTFILES): Add elisp-comp.
1092 Add implicit rule for .el -> .elc compilation.
1093 (install-data): install $ELCFILES
1094 (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1096 * elisp-comp: Initial revision
1098 Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware>
1101 cat-id-tbl.c is now found in po/. This enables us to use an identical
1102 intl/ directory in all packages.
1104 * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1106 * textdomain.c: fix typo (#if def -> #if defined)
1108 Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware>
1110 * Makefile.in (stamp-cat-id): use top_srcdir to address source files
1111 (DISTFILES,distclean): move tupdate.perl to src/
1114 add additional jump to clear change flag to recognize multiline strings
1116 Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware>
1118 * textdomain.c: Protect inclusion of stdlib.h and string.h.
1120 * loadmsgcat.c: Protect inclusion of stdlib.h.
1122 * libgettext.h: Protect inclusion of locale.h.
1123 Allow use in C++ programs.
1124 Define NULL is not happened already.
1126 * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1128 (distclean): remove po-to-tbl.sed and tupdate.perl.
1130 * tupdate.perl.in: Substitute Perl path even in exec line.
1131 Don't include entries without translation from old .po file.
1133 Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware>
1135 * tupdate.perl.in: use "Updated: " in msgid "".
1137 * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1138 Define getenv if !__STDC__.
1140 * bindtextdom.c: Protect stdlib.h and string.h inclusion.
1141 Define free if !__STDC__.
1143 * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1144 Define free if !__STDC__.
1146 * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1148 Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware>
1150 * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1151 Remove unneeded $(srcdir) from Makefile.in dependency.
1153 * makelinks: Add copyright and short description.
1155 * po-mode.el: Last version for 0.7.
1157 * tupdate.perl.in: Fix die message.
1159 * dcgettext.c: Protect include of string.h.
1161 * gettext.c: Protect include of stdlib.h and further tries to get NULL.
1163 * finddomain.c: Some corrections in includes.
1165 * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1167 * po-to-tbl.sed: Adopt for new .po file format.
1169 * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1171 Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware>
1173 * tupdate.perl.in: Complete rewrite for new .po file format.
1175 Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware>
1177 * First official release. This directory contains all the code
1178 needed to internationalize own packages. It provides functions
1179 which allow to use the X/Open catgets function with an interface
1180 like the Uniforum gettext function. For system which does not
1181 have neither of those a complete implementation is provided.