cselib.c (cselib_current_insn_in_libcall): New static variable.
[official-gcc.git] / gcc / intl / ChangeLog
blob1fe7f37090b58950a820a850d149941a535571e4
1 2002-05-25  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
3         * gettextP.h (SWAP): Change parameter type to unsigned int.
5 Tue Dec 11 07:08:57 2001  Douglas B. Rupp  <rupp@gnat.com>
7         * localealias.c (strings.h): Include.
9 Mon Dec 10 06:09:57 2001  Douglas B. Rupp  <rupp@gnat.com>
11         * Makefile.in (OUTPUT_OPTION): Add configure variable.
12         (.c.o): Add $(OUTPUT_OPTION).
14 2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16         * l10nflist.c (_nl_normalize_codeset): Cast argument of ctype
17         function to `unsigned char'.
18         * loadmsgcat.c (_nl_load_domain): Likewise.
19         * localealias.c (read_alias_file, alias_compare): Likewise.
20         * localcharset.c: Include "gettextP.h".
21         * plural.y (__attribute__): Define.
22         (yyerror): Mark parameter with __attribute__ ((__unused__)).
23         * plural.c: Regenerate.
25 2001-10-24  Zack Weinberg  <zack@codesourcery.com>
27         * loadmsgcat.c (INTTYPE_SIGNED, INTTYPE_MINIMUM,
28         INTTYPE_MAXIMUM): Clone from system.h.
29         (_nl_load_domain): Use them when testing for overflow of size_t.
30         Cast result of sizeof to off_t to compare to st_size value.
31         Move side effects out of conditional for comprehensibility.
33 2001-10-21  Zack Weinberg  <zack@codesourcery.com>
35         * dcigettext.c: Don't use #elif.
36         * gettextP.h: Prototype nls_uint32 and locale_charset here.
37         Always define ZERO to 1 to avoid warnings (ZERO is used in
38         flexible-array-member declarations).
39         * loadmsgcat.c: Apply __extension__ to structure definitions
40         using C99 designated initializer syntax.
41         Do not prototype locale_charset here.
42         * localcharset.c: Prototype get_charset_aliases before use.
43         Get rid of STATIC nonsense.
45 2001-10-19  Zack Weinberg  <zack@codesourcery.com>
47         * Makefile.in: Don't copy libgnuintl.h anywhere.
49 2001-10-12  Zack Weinberg  <zack@codesourcery.com>
51         * Update entire directory from gettext 0.10.40.
52         * cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
53         Removed.
54         * config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
55         localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
56         ref-add.sin, ref-del.sin: New.
58 2001-07-06  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
60         * gettextP.h (SWAP): Change parameter type to unsigned int.
62 2001-05-25  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
64         * po2tbl.sed.in: Fixed typo.
66 2000-09-18  Bruno Haible  <haible@clisp.cons.org>
68         * intl/dcgettext.c: Outside libc, use local variable names that don't
69         clash with those in libc.
70         * intl/bindtextdom.c: Likewise.
71         * intl/textdomain.c: Likewise.
73 2000-09-05  John David Anglin <dave@hiauly1.hia.nrc.ca>
75         * gettext.h (nls_uint32): Choose via INT_MAX instead of UINT_MAX.
77 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
79         * dcgettext.c (find_msg): Initialize act before loop.
80         (guess_category_value): Add dummy uses of both parameters.
81         * localealias.c (read_alias_file): Cast arg of strchr to char *.
83 2000-06-06  Philipp Thomas  <pthomas@suse.de>
85         * Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches.
86         * dcgettext.c: Define _GNU_SOURCE before any system header is
87         included. Guard getcwd declaration with HAVE_DECL_GETCWD.
88         * loadmsgcat.c (_nl_load_domain): Cast st.st_size in compaison to
89         size_t.
90         * localealias.c: Define _GNU_SOURCE before any system header is
91         included. Don't use return value of memcpy because it could be a
92         macro defined in terms of bcopy.
93         (read_alias_file): Remove HAVE_MEMCPY guard and just don't use the
94         return value of memcpy. Cast argument to fgets and strlen to char *.
95         * explodename.c (_nl_explode_name): Cast codeset to unsigned char **
96         in call to _nl_normalize_codeset.
97         * l10nflist.c: Define _GNU_SOURCE before any system header is
98         included.
100 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
102         * intl/localealias.c (read_alias_file): Use unsigned char for
103         local variables.  Remove unused variable tp.
104         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
105         for type of codeset.  For loosing Solaris systems.
106         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
107         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
108         len if not needed.
109         Patches by Jim Meyering.
111 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
113         * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
114         mmap is not supported.
116         * hash-string.h: Don't include <values.h>.
118 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
120         * textdomain.c: Use strdup is available.
122         * localealias.c: Define HAVE_MEMPCPY so that we can use this
123         function.  Define and use semapahores to protect modfication of
124         global objects when compiling for glibc.  Add code to allow
125         freeing alias table.
127         * l10nflist.c: Don't assume stpcpy not being a macro.
129         * gettextP.h: Define internal_function macri if not already done.
130         Use glibc byte-swap macros instead of defining SWAP when compiled
131         for glibc.
132         (struct loaded_domain): Add elements to allow unloading.
134         * Makefile.in (distclean): Don't remove libintl.h here.
136         * bindtextdomain.c: Carry over changes from glibc.  Use strdup if
137         available.
139         * dcgettext.c: Don't assume stpcpy not being a macro.  Mark internal
140         functions.  Add memory freeing code for glibc.
142         * dgettext.c: Update copyright.
144         * explodename.c: Include stdlib.h and string.h only if they exist.
145         Use strings.h eventually.
147         * finddomain.c: Mark internal functions.  Use strdup if available.
148         Add memory freeing code for glibc.
150 1997-10-10 20:00  Ulrich Drepper  <drepper@cygnus.com>
152         * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
153         They should return reasonable values.
154         Reported by Tom Tromey <tromey@cygnus.com>.
156 1997-09-16 03:33  Ulrich Drepper  <drepper@cygnus.com>
158         * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
159         * intlh.inst.in: Likewise.
160         Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
162         * libintl.glibc: Update from current glibc version.
164 1997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
166         * intlh.inst.in: Reformat copyright.
168 1997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
170         * dcgettext.c (DCGETTEXT): Remove wrong comment.
172 1997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
174         * Makefile.in (install-data): Don't change directory to install.
176 1997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
178         * cat-compat.c: Fix copyright.
180         * localealias.c: Don't define strchr unless !HAVE_STRCHR.
182         * loadmsgcat.c: Update copyright.  Fix typos.
184         * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
185         (_nl_make_l10nflist): Handle sponsor and revision correctly.
187         * gettext.c: Update copyright.
188         * gettext.h: Likewise.
189         * hash-string.h: Likewise.
191         * finddomain.c: Remoave dead code.  Define strchr only if
192         !HAVE_STRCHR.
194         * explodename.c: Include <sys/types.h>.
196         * explodename.c: Reformat copyright text.
197         (_nl_explode_name): Fix typo.
199         * dcgettext.c: Define and use __set_errno.
200         (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
201         not defined.
203         * bindtextdom.c: Pretty printing.
205 1997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
207         * dcgettext.c (guess_category_value): Don't depend on
208         HAVE_LC_MESSAGES.  We don't need the macro here.
209         Patch by Bruno Haible <haible@ilog.fr>.
211         * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
212         macro.  Instead use HAVE_LOCALE_NULL and define it when using
213         glibc, as in dcgettext.c.
214         Patch by Bruno Haible <haible@ilog.fr>.
216         * Makefile.in (CPPFLAGS): New variable.  Reported by Franc,ois
217         Pinard.
219 Mon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
221         * Makefile.in: Implement handling of libtool.
223         * gettextP.h: Change data structures for use of generic lowlevel
224         i18n file handling.
226 Wed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
228         * textdomain.c: Put parentheses around arguments of memcpy macro
229         definition.
230         * localealias.c: Likewise.
231         * l10nflist.c: Likewise.
232         * finddomain.c: Likewise.
233         * bindtextdom.c: Likewise.
234         Reported by Thomas Esken.
236 Mon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
238         * textdomain.c: Move definition of `memcpy` macro to right
239         position.
241 Fri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
243         * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
244         bcopy if not already defined.  Reported by Thomas Esken.
245         * bindtextdom.c: Likewise.
246         * l10nflist.c: Likewise.
247         * localealias.c: Likewise.
248         * textdomain.c: Likewise.
250 Tue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
252         * Makefile.in (libdir): Change to use exec_prefix instead of
253         prefix.  Reported by Knut-HÃ¥vardAksnes <etokna@eto.ericsson.se>.
255 Sat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
257         * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
258         so don't prepend uppercase `ISO' for only numeric arg.
260 Fri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
262         * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
263         definition of _GNU_SOURCE.  Patch by Roland McGrath.
265         * Makefile.in (uninstall): Fix another bug with `for' loop and
266         empty arguments.  Patch by Jim Meyering.  Correct name os
267         uninstalled files: no intl- prefix anymore.
269         * Makefile.in (install-data): Again work around shells which
270         cannot handle mpty for list.  Reported by Jim Meyering.
272 Sat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
274         * Makefile.in (install): Split goal.  Now depend on install-exec
275         and install-data.
276         (install-exec, install-data): New goals.  Created from former
277         install goal.
278         Reported by Karl Berry.
280 Sat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
282         * Makefile.in (MKINSTALLDIRS): New variable.  Path to
283         mkinstalldirs script.
284         (install): use MKINSTALLDIRS variable or if the script is not present
285         try to find it in the $top_scrdir).
287 Wed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
289         * l10nflist.c: Linux libc *partly* includes the argz_* functions.
290         Grr.  Work around by renaming the static version and use macros
291         for renaming.
293 Tue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
295         * l10nflist.c: Correct presence test macros of __argz_* functions.
297         * l10nflist.c: Include <argz.h> based on test of it instead when
298         __argz_* functions are available.
299         Reported by Andreas Schwab.
301 Thu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
303         * explodename.c, l10nflist.c: Define NULL for dumb systems.
305 Tue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
307         * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
308         result to __result to prevent name clash.
310         * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
311         get prototype for stpcpy and strcasecmp.
313         * intlh.inst.in, libgettext.h: Move declaration of
314         `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
315         from gcc's -Wnested-extern option.
317 Fri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
319         * Makefile.in (install): Remove comment.
321 Thu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
323         * Makefile.in (install): Work around for another Buglix stupidity.
324         Always use an `else' close for `if's.  Reported by Nelson Beebe.
326         * Makefile.in (intlh.inst): Correct typo in phony rule.
327         Reported by Nelson Beebe.
329 Thu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
331         * dcgettext.c (read_alias_file): Rename variable alloca_list to
332         block_list as the macro calls assume.
333         Patch by Eric Backus.
335         * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
336         malloc.
337         (read_alias_file): Rename varriabe alloca_list to block_list as the
338         macro calls assume.
339         Patch by Eric Backus.
341         * l10nflist.c: Correct conditional for <argz.h> inclusion.
342         Reported by Roland McGrath.
344         * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
345         all-@USE_NLS@.
347         * Makefile.in (install): intlh.inst comes from local dir, not
348         $(srcdir).
350         * Makefile.in (intlh.inst): Special handling of this goal.  If
351         used in gettext, this is really a rul to construct this file.  If
352         used in any other package it is defined as a .PHONY rule with
353         empty body.
355         * finddomain.c: Extract locale file information handling into
356         l10nfile.c.  Rename local stpcpy__ function to stpcpy.
358         * dcgettext.c (stpcpy): Add local definition.
360         * l10nflist.c: Solve some portability problems.  Patches partly by
361         Thomas Esken.  Add local definition of stpcpy.
363 Tue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
365         * intlh.inst.in: Don't depend including <locale.h> on
366         HAVE_LOCALE_H.  Instead configure must rewrite this fiile
367         depending on the result of the configure run.
369         * Makefile.in (install): libintl.inst is now called intlh.inst.
370         Add rules for updating intlh.inst from intlh.inst.in.
372         * libintl.inst: Renamed to intlh.inst.in.
374         * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
375         because gcc has __buitlin_alloca.
376         Reported by Roland McGrath.
378 Mon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
380         * Makefile.in (installcheck): New goal to fulfill needs of
381         automake's distcheck.
383         * Makefile.in (install): Reorder commands so that VERSION is
384         found.
386         * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
387         @datadir@/gettext.
388         (COMSRCS): Add l10nfile.c.
389         (OBJECTS): Add l10nfile.o.
390         (DISTFILES): Rename to DISTFILE.normal.  Remove $(DISTFILES.common).
391         (DISTFILE.gettext): Remove $(DISTFILES.common).
392         (all-gettext): Remove goal.
393         (install): If $(PACKAGE) = gettext install, otherwose do nothing.  No
394         package but gettext itself should install libintl.h + headers.
395         (dist): Extend goal to work for gettext, too.
396         (dist-gettext): Remove goal.
398         * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
400 Sun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
402         * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
403         find_l10nfile.
405 Sat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
407         * l10nflist.c (__argz_next): Add definition.
409         * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
410         code.  Use new l10nfile handling.
412         * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
413         alloca code.
415         * l10nflist.c: Initial revision.
417 Tue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
419         * Makefile.in (all-gettext): New goal.  Same as all-yes.
421 Thu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
423         * Makefile.in (gettextsrcdir): Define using @datadir@.
425 Tue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
427         * finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
429 Sat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
431         * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
432         with external declaration.
434 Sat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
436         * Makefile.in (all-no): Rename from all_no.
438 Sat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
440         * gettextP.h [loaded_domain]: Array `successor' must now contain up
441         to 63 elements (because of codeset name normalization).
443         * finddomain.c: Implement codeset name normalization.
445 Thu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
447         * Makefile.in (all): Define to `all-@USE_NLS@'.
448         (all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
449         is former all.
451 Mon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
453         * localealias.c (alias_compare): Increment string pointers in loop
454         of strcasecmp replacement.
456 Fri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
458         * Makefile.in (install-src): Who commented this goal out ? :-)
460 Fri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
462         * dcgettext.c (DCGETTEXT): Save `errno'.  Failing system calls
463         should not effect it because a missing catalog is no error.
464         Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
466 Tue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
468         * Makefile.in (Makefile): Explicitly use $(SHELL) for running
469         shell scripts.
471 Fri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
473         * Makefile.in (install-src): Only install library and header when
474         we use the own implementation.  Don't do it when using the
475         system's gettext or catgets functions.
477         * dcgettext.c (find_msg): Must not swap domain->hash_size here.
479 Sat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
481         * localealias.c, libintl.inst, libgettext.h, hash-string.h,
482         gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
483         Use PARAMS instead of __P.  Suggested by Roland McGrath.
485 Tue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
487         * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
488         !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
490 Mon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
492         * Makefile.in (install-src):
493         Install libintl.inst instead of libintl.h.install.
495 Sat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
497         * cat-compat.c (textdomain):
498         Reverse order in which files are tried you load.  First
499         try local file, when this failed absolute path.
501 Wed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
503         * cat-compat.c (bindtextdomain): Add missing { }.
505 Sun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
507         * libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
509         * Makefile.in:
510         Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
512 Sat Nov 25 16:12:01 1995  Franc,ois Pinard  <pinard@iro.umontreal.ca>
514         * hash-string.h: Capitalize arguments of macros.
516 Sat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
518         * Makefile.in (DISTFILES): Prevent files names longer than 13
519         characters.  libintl.h.glibc->libintl.glibc,
520         libintl.h.install->libintl.inst.  Reported by Joshua R. Poulson.
522 Sat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
524         * dcgettext.c: Fix bug in preprocessor conditionals.
526 Sat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
528         * libgettext.h: Solaris cc does not understand
529          #if !SYMBOL1 && !SYMBOL2.  Sad but true.
531 Thu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
533         * hash-string.h (hash_string):
534         Fix for machine with >32 bit `unsigned long's.
536         * dcgettext.c (DCGETTEXT):
537         Fix horrible bug in loop for alternative translation.
539 Thu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
541         * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
542         Some further simplifications in message number generation.
544 Mon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
546         * libintl.h.glibc: Use __const instead of const in prototypes.
548         * Makefile.in (install-src):
549         Install libintl.h.install instead of libintl.h.  This
550         is a stripped-down version.  Suggested by Peter Miller.
552         * libintl.h.install, libintl.h.glibc: Initial revision.
554         * localealias.c (_nl_expand_alias, read_alias_file):
555         Protect prototypes in type casts by __P.
557 Tue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
559         * hash-string.h: Correct prototype for hash_string.
561 Sun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
563         * hash-string.h (hash_string): Add prototype.
565         * gettextP.h: Fix copyright.
566         (SWAP): Add prototype.
568 Wed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
570         * localealias.c (read_alias_file): Forgot sizeof.
571         Avoid calling *printf function.  This introduces a big overhead.
572         Patch by Roland McGrath.
574 Tue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
576         * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
578         * finddomain.c (stpcpy):
579         Define substitution function local.  The macro was to flaky.
581         * cat-compat.c: Fix typo.
583         * xopen-msg.sed, linux-msg.sed:
584         While bringing message number to right place only accept digits.
586         * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
587         leading 0s we don't need to remove them.  Reported by Marcus
588         Daniels.
590         * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
591         dependency.  Reported by Marcus Daniels.
593         * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
594         Generally cleanup using #if instead of #ifndef.
596         * Makefile.in: Correct typos in comment.  By Franc,ois Pinard.
598 Mon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
600         * Makefile.in (install-src): Don't install libintl.h and libintl.a
601         if we use an available gettext implementation.
603 Sun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
605         * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
606         by Franc,ois Pinard.
608         * libgettext.h: Use #if instead of #ifdef/#ifndef.
610         * finddomain.c:
611         Comments describing what has to be done should start with FIXME.
613 Sun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
615         * Makefile.in (DISTFILES): Split.  Use DISTFILES with normal meaning.
616         DISTFILES.common names the files common to both dist goals.
617         DISTFILES.gettext are the files only distributed in GNU gettext.
619 Sun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
621         * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
622         This was necessary since a change in _nl_find_msg several weeks
623         ago.  I really don't know this is still not fixed.
625 Sun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
627         * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
628         might mark a special condition.
630         * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
632         * Makefile.in (dist): Suppress error message when ln failed.
633         Get files from $(srcdir) explicitly.
635         * libgettext.h (gettext_const): Rename to gettext_noop.
637 Fri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
639         * finddomain.c (make_entry_rec):
640         Protect against wrong locale names by testing mask.
642         * libgettext.h (gettext_const): Add macro definition.
643         Capitalize macro arguments.
645 Thu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
647         * finddomain.c (_nl_find_domain):
648         Test for pointer != NULL before accessing value.
649         Reported by Tom Tromey.
651         * gettext.c (NULL):
652         Define as (void*)0 instad of 0.  Reported by Franc,ois Pinard.
654 Mon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
656         * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
658 Sat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
660         * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
662         * localealias.c (alias_compare):
663         Peter Miller reported that tolower in some systems is
664         even dumber than I thought.  Protect call by `isupper'.
666 Fri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
668         * Makefile.in (libdir, includedir): New variables.
669         (install-src): Install libintl.a and libintl.h in correct dirs.
671 Fri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
673         * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
675         * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
677         * localealias.c:
678         Fix typo and superflous test.  Reported by Christian von Roques.
680 Fri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
682         * finddomain.c (_nl_find_domain):
683         Correct some remainder from the pre-CEN syntax.  Now
684         we don't have a constant number of successors anymore.
686 Wed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
688         * Makefile.in (DISTFILES): Add libintl.h.glibc.
690         * Makefile.in (dist-libc): Add goal for packing sources for glibc.
691         (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
693         * loadmsgcat.c: Forget to continue #if line.
695         * localealias.c:
696         [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
697         space clean.
699         * dcgettext.c, finddomain.c: Better comment to last change.
701         * loadmsgcat.c:
702         [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
703         __fstat, __open, __close, __read, __mmap, and __munmap resp
704         to keep ANSI C name space clean.
706         * finddomain.c:
707         [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
709         * dcgettext.c:
710         [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
711         keep ANSI C name space clean.
713         * libgettext.h:
714         Include sys/types.h for those old SysV systems out there.
715         Reported by Francesco Potorti`.
717         * loadmsgcat.c (use_mmap): Define if compiled for glibc.
719         * bindtextdom.c: Include all those standard headers
720         unconditionally if _LIBC is defined.
722         * finddomain.c: Fix 2 times defiend -> defined.
724         * textdomain.c: Include libintl.h instead of libgettext.h when
725         compiling for glibc.  Include all those standard headers
726         unconditionally if _LIBC is defined.
728         * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
730         * gettext.c:
731         Include libintl.h instead of libgettext.h when compiling for glibc.
732         Get NULL from stddef.h if we compile for glibc.
734         * finddomain.c: Include libintl.h instead of libgettext.h when
735         compiling for glibc.  Include all those standard headers
736         unconditionally if _LIBC is defined.
738         * dcgettext.c: Include all those standard headers unconditionally
739         if _LIBC is defined.
741         * dgettext.c: If compiled in glibc include libintl.h instead of
742         libgettext.h.
743         (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
745         * dcgettext.c: If compiled in glibc include libintl.h instead of
746         libgettext.h.
747         (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
749         * bindtextdom.c:
750         If compiled in glibc include libintl.h instead of libgettext.h.
752 Mon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
754         * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
755         Reported by Marcus Daniels.
757         * cat-compat.c (bindtextdomain):
758         String used in putenv must not be recycled.
759         Reported by Marcus Daniels.
761         * libgettext.h (__USE_GNU_GETTEXT):
762         Additional symbol to signal that we use GNU gettext
763         library.
765         * cat-compat.c (bindtextdomain):
766         Fix bug with the strange stpcpy replacement.
767         Reported by Nelson Beebe.
769 Sat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
771         * cat-compat.c: Include <string.h> for stpcpy prototype.
773         * localealias.c (read_alias_file):
774         While expand strdup code temporary variable `cp' hided
775         higher level variable with same name.  Rename to `tp'.
777         * textdomain.c (textdomain):
778         Avoid warning by using temporary variable in strdup code.
780         * finddomain.c (_nl_find_domain): Remove unused variable `application'.
782 Thu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
784         * localealias.c (alias_compare):
785         Use strcasecmp() only if available.  Else use
786         implementation in place.
788         * intl-compat.c:
789         Wrapper functions now call *__ functions instead of __*.
791         * libgettext.h: Declare prototypes for *__ functions instead for __*.
793         * cat-compat.c, loadmsgcat.c:
794         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
795         of the standard libc and so prevent libintl.a from being used
796         standalone.
798         * bindtextdom.c:
799         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
800         of the standard libc and so prevent libintl.a from being used
801         standalone.
802         Rename to bindtextdomain__ if not used in GNU C Library.
804         * dgettext.c:
805         Rename function to dgettext__ if not used in GNU C Library.
807         * gettext.c:
808         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
809         of the standard libc and so prevent libintl.a from being used
810         standalone.
811         Functions now called gettext__ if not used in GNU C Library.
813         * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
814         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
815         of the standard libc and so prevent libintl.a from being used
816         standalone.
818 Sun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
820         * finddomain.c: Correct some bugs in handling of CEN standard
821         locale definitions.
823 Thu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
825         * finddomain.c: Implement CEN syntax.
827         * gettextP.h (loaded_domain): Extend number of successors to 31.
829 Sat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
831         * Makefile.in (aliaspath): Remove path to X11 locale dir.
833         * Makefile.in: Make install-src depend on install.  This helps
834         gettext to install the sources and other packages can use the
835         install goal.
837 Sat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
839         * Makefile.in (uninstall): Remove stuff installed by install-src.
841 Tue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
843         * VERSION.in: Initial revision.
845         * Makefile.in (DISTFILES):
846         Add VERSION file.  This is not necessary for gettext, but
847         for other packages using this library.
849 Tue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
851         * gettextP.h (_nl_find_domain):
852         New prototype after changing search strategy.
854         * finddomain.c (_nl_find_domain):
855         We now try only to find a specified catalog.  Fall back to other
856         catalogs listed in the locale list is now done in __dcgettext.
858         * dcgettext.c (__dcgettext):
859         Now we provide message fall back even to different languages.
860         I.e. if a message is not available in one language all the other
861         in the locale list a tried.  Formerly fall back was only possible
862         within one language.  Implemented by moving one loop from
863         _nl_find_domain to here.
865 Mon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
867         * Makefile.in (gettextsrcdir):
868         Directory where source of GNU gettext library are made
869         available.
870         (INSTALL, INSTALL_DATA): Programs used for installing sources.
871         (gettext-src): New.  Rule to install GNU gettext sources for use in
872         gettextize shell script.
874 Sun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
876         * loadmsgcat.c (_nl_load_domain):
877         Use mmap for loading only when munmap function is
878         also available.
880         * Makefile.in (install): Depend on `all' goal.
882 Wed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
884         * localealias.c (read_alias_file):
885         Do not overwrite '\n' when terminating alias value string.
887         * localealias.c (read_alias_file):
888         Handle long lines.  Ignore the rest not fitting in
889         the buffer after the initial `fgets' call.
891 Wed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
893         * gettextP.h (_nl_load_domain):
894         Add prototype, replacing prototype for _nl_load_msg_cat.
896         * finddomain.c (_nl_find_domain):
897         Remove unneeded variable filename and filename_len.
898         (expand_alias): Remove prototype because functions does not
899         exist anymore.
901         * localealias.c (read_alias_file):
902         Change type of fname_len parameter to int.
903         (xmalloc): Add prototype.
905         * loadmsgcat.c: Better prototypes for xmalloc.
907 Tue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
909         * finddomain.c (_nl_find_domain):
910         Allow alias name to be constructed from the four components.
912         * Makefile.in (aliaspath): New variable.  Set to preliminary value.
913         (SOURCES): Add localealias.c.
914         (OBJECTS): Add localealias.o.
916         * gettextP.h: Add prototype for _nl_expand_alias.
918         * finddomain.c: Aliasing handled in intl/localealias.c.
920         * localealias.c: Aliasing for locale names.
922         * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
924 Mon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
926         * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
928         * cat-compat.c (bindtextdomain):
929         Correct implementation.  dirname parameter was not used.
930         Reported by Marcus Daniels.
932         * gettextP.h (loaded_domain):
933         New fields `successor' and `decided' for oo, lazy
934         message handling implementation.
936         * dcgettext.c:
937         Adopt for oo, lazy message handliing.
938         Now we can inherit translations from less specific locales.
939         (find_msg): New function.
941         * loadmsgcat.c, finddomain.c:
942         Complete rewrite.  Implement oo, lazy message handling :-).
943         We now have an additional environment variable `LANGUAGE' with
944         a higher priority than LC_ALL for the LC_MESSAGE locale.
945         Here we can set a colon separated list of specifications each
946         of the form `language[_territory[.codeset]][@modifier]'.
948 Sat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
950         * finddomain.c (unistd.h):
951         Include to get _PC_PATH_MAX defined on system having it.
953 Fri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
955         * finddomain.c (stpcpy): Include prototype.
957         * Makefile.in (dist): Remove `copying instead' message.
959 Wed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
961         * Makefile.in (ID, TAGS): Do not use $^.
963 Tue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
965         * Makefile.in (TAGS, ID): Use $^ as command argument.
966         (TAGS): Give etags -o option t write to current directory,
967         not $(srcdir).
968         (ID): Use $(srcdir) instead os $(top_srcdir)/src.
969         (distclean): Remove ID.
971 Sun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
973         * Makefile.in (gnulocaledir):
974         New variable, always using share/ for data directory.
975         (DEFS): Add GNULOCALEDIR, used in finddomain.c.
977         * finddomain.c (_nl_default_dirname):
978         Set to GNULOCALEDIR, because it always has to point
979         to the directory where GNU gettext Library writes it to.
981         * intl-compat.c (textdomain, bindtextdomain):
982         Undefine macros before function definition.
984 Sat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
986         * libgettext.h (_LIBINTL_H):
987         Protect definition in case where this file is included as
988         libgettext.h on Solaris machines.  Add comment about this.
990 Wed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
992         * intl-compat.c (textdomain): Correct typo.
994 Wed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
996         * dcgettext.c (dcgettext): Function now called __dcgettext.
998         * dgettext.c (dgettext): Now called __dgettext and calls
999         __dcgettext.
1001         * gettext.c (gettext):
1002         Function now called __gettext and calls __dgettext.
1004         * textdomain.c (textdomain): Function now called __textdomain.
1006         * bindtextdom.c (bindtextdomain): Function now called
1007         __bindtextdomain.
1009         * intl-compat.c: Initial revision.
1011         * Makefile.in (SOURCES): Add intl-compat.c.
1012         (OBJECTS): We always compile the GNU gettext library functions.
1013         OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
1014         and intl-compat.o.
1015         (GETTOBJS): Contains now only intl-compat.o.
1017         * libgettext.h:
1018         Re-include protection matches dualistic character of libgettext.h.
1019         For all functions in GNU gettext library define __ counter part.
1021         * finddomain.c (strchr): Define as index if not found in C library.
1022         (_nl_find_domain): For relative paths paste / in between.
1024 Tue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
1026         * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
1028         * xopen-msg.sed: Fix bug with `msgstr ""' lines.
1029         A little bit better comments.
1031 Tue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
1033         * Makefile.in:
1034         po-mode.el, makelinks, combine-sh are now found in ../misc.
1036         * po-mode.el, makelinks, combine-sh, elisp-comp:
1037         Moved to ../misc/.
1039         * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
1041 Sun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
1043         * Makefile.in (INSTALL, INSTALL_DATA): New variables.
1044         (install-data, uninstall): Install/uninstall .elc file.
1046         * po-mode.el (Installation comment):
1047         Add .pox as possible extension of .po files.
1049 Sun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
1051         * elisp-comp: Complete new version by Franc,ois: This does not
1052         fail when not compiling in the source directory.
1054 Sun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
1056         * Makefile.in (../po/cat-id-tbl.o):
1057         Use $(MAKE) instead of make for recursive make.
1059         * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
1060         (install-exec): Add missing dummy goal.
1061         (install-data, uninstall): @ in multi-line shell command at
1062         beginning, not in front of echo.  Reported by Eric Backus.
1064 Sat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
1066         * Makefile.in (DISTFILES):
1067         Rename libgettext.perl to gettext.perl to fit in 14 chars
1068         file systems.
1070         * gettext.perl:
1071         Rename to gettext.perl to fit in 14 chars file systems.
1073 Thu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
1075         * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
1077 Thu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
1079         * po2tbl.sed.in: Pretty printing.
1081         * linux-msg.sed, xopen-msg.sed:
1082         Correct bugs with handling substitute flags in branches.
1084         * hash-string.h (hash_string):
1085         Old K&R compilers don't under stand `unsigned char'.
1087         * gettext.h (nls_uint32):
1088         Some old K&R compilers (eg HP) don't understand `unsigned int'.
1090         * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1092 Thu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
1094         * Makefile.in (ELCFILES): New variable.
1095         (DISTFILES): Add elisp-comp.
1096         Add implicit rule for .el -> .elc compilation.
1097         (install-data): install $ELCFILES
1098         (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1100         * elisp-comp: Initial revision
1102 Wed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
1104         * Makefile.in:
1105         cat-id-tbl.c is now found in po/.  This enables us to use an identical
1106         intl/ directory in all packages.
1108         * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1110         * textdomain.c: fix typo (#if def -> #if defined)
1112 Tue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
1114         * Makefile.in (stamp-cat-id): use top_srcdir to address source files
1115         (DISTFILES,distclean): move tupdate.perl to src/
1117         * po-to-tbl.sed.in:
1118         add additional jump to clear change flag to recognize multiline strings
1120 Tue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
1122         * textdomain.c: Protect inclusion of stdlib.h and string.h.
1124         * loadmsgcat.c: Protect inclusion of stdlib.h.
1126         * libgettext.h: Protect inclusion of locale.h.
1127         Allow use in C++ programs.
1128         Define NULL is not happened already.
1130         * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1131         po-to-tbl.sed.
1132         (distclean): remove po-to-tbl.sed and tupdate.perl.
1134         * tupdate.perl.in: Substitute Perl path even in exec line.
1135         Don't include entries without translation from old .po file.
1137 Tue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
1139         * tupdate.perl.in: use "Updated: " in msgid "".
1141         * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1142         Define getenv if !__STDC__.
1144         * bindtextdom.c: Protect stdlib.h and string.h inclusion.
1145         Define free if !__STDC__.
1147         * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1148         Define free if !__STDC__.
1150         * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1152 Mon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
1154         * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1155         Remove unneeded $(srcdir) from Makefile.in dependency.
1157         * makelinks: Add copyright and short description.
1159         * po-mode.el: Last version for 0.7.
1161         * tupdate.perl.in: Fix die message.
1163         * dcgettext.c: Protect include of string.h.
1165         * gettext.c: Protect include of stdlib.h and further tries to get NULL.
1167         * finddomain.c: Some corrections in includes.
1169         * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1171         * po-to-tbl.sed: Adopt for new .po file format.
1173         * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1175 Sun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
1177         * tupdate.perl.in: Complete rewrite for new .po file format.
1179 Sun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
1181         * First official release.  This directory contains all the code
1182         needed to internationalize own packages.  It provides functions
1183         which allow to use the X/Open catgets function with an interface
1184         like the Uniforum gettext function.  For system which does not
1185         have neither of those a complete implementation is provided.