* invoke.texi: Add more options to summary list.
[official-gcc.git] / gcc / intl / ChangeLog
blob56efee29c533690fba2db265435a8fc1098ab46c
1 2000-09-18  Bruno Haible  <haible@clisp.cons.org>
3         * intl/dcgettext.c: Outside libc, use local variable names that don't
4         clash with those in libc.
5         * intl/bindtextdom.c: Likewise.
6         * intl/textdomain.c: Likewise.
8 2000-09-05  John David Anglin <dave@hiauly1.hia.nrc.ca>
10         * gettext.h (nls_uint32): Choose via INT_MAX instead of UINT_MAX.
12 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
14         * dcgettext.c (find_msg): Initialize act before loop.
15         (guess_category_value): Add dummy uses of both parameters.
16         * localealias.c (read_alias_file): Cast arg of strchr to char *.
18 2000-06-06  Philipp Thomas  <pthomas@suse.de>
20         * Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches.
21         * dcgettext.c: Define _GNU_SOURCE before any system header is
22         included. Guard getcwd declaration with HAVE_DECL_GETCWD.
23         * loadmsgcat.c (_nl_load_domain): Cast st.st_size in compaison to
24         size_t.
25         * localealias.c: Define _GNU_SOURCE before any system header is
26         included. Don't use return value of memcpy because it could be a
27         macro defined in terms of bcopy.
28         (read_alias_file): Remove HAVE_MEMCPY guard and just don't use the
29         return value of memcpy. Cast argument to fgets and strlen to char *.
30         * explodename.c (_nl_explode_name): Cast codeset to unsigned char **
31         in call to _nl_normalize_codeset.
32         * l10nflist.c: Define _GNU_SOURCE before any system header is
33         included.
34         
35 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
37         * intl/localealias.c (read_alias_file): Use unsigned char for
38         local variables.  Remove unused variable tp.
39         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
40         for type of codeset.  For loosing Solaris systems.
41         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
42         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
43         len if not needed.
44         Patches by Jim Meyering.
46 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
48         * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
49         mmap is not supported.
51         * hash-string.h: Don't include <values.h>.
53 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
55         * textdomain.c: Use strdup is available.
57         * localealias.c: Define HAVE_MEMPCPY so that we can use this
58         function.  Define and use semapahores to protect modfication of
59         global objects when compiling for glibc.  Add code to allow
60         freeing alias table.
62         * l10nflist.c: Don't assume stpcpy not being a macro.
64         * gettextP.h: Define internal_function macri if not already done.
65         Use glibc byte-swap macros instead of defining SWAP when compiled
66         for glibc.
67         (struct loaded_domain): Add elements to allow unloading.
69         * Makefile.in (distclean): Don't remove libintl.h here.
71         * bindtextdomain.c: Carry over changes from glibc.  Use strdup if
72         available.
74         * dcgettext.c: Don't assume stpcpy not being a macro.  Mark internal
75         functions.  Add memory freeing code for glibc.
77         * dgettext.c: Update copyright.
79         * explodename.c: Include stdlib.h and string.h only if they exist.
80         Use strings.h eventually.
82         * finddomain.c: Mark internal functions.  Use strdup if available.
83         Add memory freeing code for glibc.
85 1997-10-10 20:00  Ulrich Drepper  <drepper@cygnus.com>
87         * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
88         They should return reasonable values.
89         Reported by Tom Tromey <tromey@cygnus.com>.
91 1997-09-16 03:33  Ulrich Drepper  <drepper@cygnus.com>
93         * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
94         * intlh.inst.in: Likewise.
95         Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
97         * libintl.glibc: Update from current glibc version.
99 1997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
101         * intlh.inst.in: Reformat copyright.
103 1997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
105         * dcgettext.c (DCGETTEXT): Remove wrong comment.
107 1997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
109         * Makefile.in (install-data): Don't change directory to install.
111 1997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
113         * cat-compat.c: Fix copyright.
115         * localealias.c: Don't define strchr unless !HAVE_STRCHR.
117         * loadmsgcat.c: Update copyright.  Fix typos.
119         * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
120         (_nl_make_l10nflist): Handle sponsor and revision correctly.
122         * gettext.c: Update copyright.
123         * gettext.h: Likewise.
124         * hash-string.h: Likewise.
126         * finddomain.c: Remoave dead code.  Define strchr only if
127         !HAVE_STRCHR.
129         * explodename.c: Include <sys/types.h>.
131         * explodename.c: Reformat copyright text.
132         (_nl_explode_name): Fix typo.
134         * dcgettext.c: Define and use __set_errno.
135         (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
136         not defined.
138         * bindtextdom.c: Pretty printing.
140 1997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
142         * dcgettext.c (guess_category_value): Don't depend on
143         HAVE_LC_MESSAGES.  We don't need the macro here.
144         Patch by Bruno Haible <haible@ilog.fr>.
146         * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
147         macro.  Instead use HAVE_LOCALE_NULL and define it when using
148         glibc, as in dcgettext.c.
149         Patch by Bruno Haible <haible@ilog.fr>.
151         * Makefile.in (CPPFLAGS): New variable.  Reported by Franc,ois
152         Pinard.
154 Mon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
156         * Makefile.in: Implement handling of libtool.
158         * gettextP.h: Change data structures for use of generic lowlevel
159         i18n file handling.
161 Wed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
163         * textdomain.c: Put parentheses around arguments of memcpy macro
164         definition.
165         * localealias.c: Likewise.
166         * l10nflist.c: Likewise.
167         * finddomain.c: Likewise.
168         * bindtextdom.c: Likewise.
169         Reported by Thomas Esken.
171 Mon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
173         * textdomain.c: Move definition of `memcpy` macro to right
174         position.
176 Fri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
178         * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
179         bcopy if not already defined.  Reported by Thomas Esken.
180         * bindtextdom.c: Likewise.
181         * l10nflist.c: Likewise.
182         * localealias.c: Likewise.
183         * textdomain.c: Likewise.
185 Tue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
187         * Makefile.in (libdir): Change to use exec_prefix instead of
188         prefix.  Reported by Knut-HĂ„vardAksnes <etokna@eto.ericsson.se>.
190 Sat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
192         * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
193         so don't prepend uppercase `ISO' for only numeric arg.
195 Fri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
197         * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
198         definition of _GNU_SOURCE.  Patch by Roland McGrath.
200         * Makefile.in (uninstall): Fix another bug with `for' loop and
201         empty arguments.  Patch by Jim Meyering.  Correct name os
202         uninstalled files: no intl- prefix anymore.
204         * Makefile.in (install-data): Again work around shells which
205         cannot handle mpty for list.  Reported by Jim Meyering.
207 Sat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
209         * Makefile.in (install): Split goal.  Now depend on install-exec
210         and install-data.
211         (install-exec, install-data): New goals.  Created from former
212         install goal.
213         Reported by Karl Berry.
215 Sat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
217         * Makefile.in (MKINSTALLDIRS): New variable.  Path to
218         mkinstalldirs script.
219         (install): use MKINSTALLDIRS variable or if the script is not present
220         try to find it in the $top_scrdir).
222 Wed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
224         * l10nflist.c: Linux libc *partly* includes the argz_* functions.
225         Grr.  Work around by renaming the static version and use macros
226         for renaming.
228 Tue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
230         * l10nflist.c: Correct presence test macros of __argz_* functions.
232         * l10nflist.c: Include <argz.h> based on test of it instead when
233         __argz_* functions are available.
234         Reported by Andreas Schwab.
236 Thu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
238         * explodename.c, l10nflist.c: Define NULL for dumb systems.
240 Tue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
242         * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
243         result to __result to prevent name clash.
245         * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
246         get prototype for stpcpy and strcasecmp.
248         * intlh.inst.in, libgettext.h: Move declaration of
249         `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
250         from gcc's -Wnested-extern option.
252 Fri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
254         * Makefile.in (install): Remove comment.
256 Thu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
258         * Makefile.in (install): Work around for another Buglix stupidity.
259         Always use an `else' close for `if's.  Reported by Nelson Beebe.
261         * Makefile.in (intlh.inst): Correct typo in phony rule.
262         Reported by Nelson Beebe.
264 Thu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
266         * dcgettext.c (read_alias_file): Rename variable alloca_list to
267         block_list as the macro calls assume.
268         Patch by Eric Backus.
270         * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
271         malloc.
272         (read_alias_file): Rename varriabe alloca_list to block_list as the
273         macro calls assume.
274         Patch by Eric Backus.
276         * l10nflist.c: Correct conditional for <argz.h> inclusion.
277         Reported by Roland McGrath.
279         * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
280         all-@USE_NLS@.
282         * Makefile.in (install): intlh.inst comes from local dir, not
283         $(srcdir).
285         * Makefile.in (intlh.inst): Special handling of this goal.  If
286         used in gettext, this is really a rul to construct this file.  If
287         used in any other package it is defined as a .PHONY rule with
288         empty body.
290         * finddomain.c: Extract locale file information handling into
291         l10nfile.c.  Rename local stpcpy__ function to stpcpy.
293         * dcgettext.c (stpcpy): Add local definition.
295         * l10nflist.c: Solve some portability problems.  Patches partly by
296         Thomas Esken.  Add local definition of stpcpy.
298 Tue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
300         * intlh.inst.in: Don't depend including <locale.h> on
301         HAVE_LOCALE_H.  Instead configure must rewrite this fiile
302         depending on the result of the configure run.
304         * Makefile.in (install): libintl.inst is now called intlh.inst.
305         Add rules for updating intlh.inst from intlh.inst.in.
307         * libintl.inst: Renamed to intlh.inst.in.
309         * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
310         because gcc has __buitlin_alloca.
311         Reported by Roland McGrath.
313 Mon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
315         * Makefile.in (installcheck): New goal to fulfill needs of
316         automake's distcheck.
318         * Makefile.in (install): Reorder commands so that VERSION is
319         found.
321         * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
322         @datadir@/gettext.
323         (COMSRCS): Add l10nfile.c.
324         (OBJECTS): Add l10nfile.o.
325         (DISTFILES): Rename to DISTFILE.normal.  Remove $(DISTFILES.common).
326         (DISTFILE.gettext): Remove $(DISTFILES.common).
327         (all-gettext): Remove goal.
328         (install): If $(PACKAGE) = gettext install, otherwose do nothing.  No
329         package but gettext itself should install libintl.h + headers.
330         (dist): Extend goal to work for gettext, too.
331         (dist-gettext): Remove goal.
333         * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
335 Sun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
337         * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
338         find_l10nfile.
340 Sat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
342         * l10nflist.c (__argz_next): Add definition.
344         * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
345         code.  Use new l10nfile handling.
347         * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
348         alloca code.
350         * l10nflist.c: Initial revision.
352 Tue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
354         * Makefile.in (all-gettext): New goal.  Same as all-yes.
356 Thu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
358         * Makefile.in (gettextsrcdir): Define using @datadir@.
360 Tue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
362         * finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
364 Sat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
366         * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
367         with external declaration.
369 Sat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
371         * Makefile.in (all-no): Rename from all_no.
373 Sat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
375         * gettextP.h [loaded_domain]: Array `successor' must now contain up
376         to 63 elements (because of codeset name normalization).
378         * finddomain.c: Implement codeset name normalization.
380 Thu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
382         * Makefile.in (all): Define to `all-@USE_NLS@'.
383         (all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
384         is former all.
386 Mon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
388         * localealias.c (alias_compare): Increment string pointers in loop
389         of strcasecmp replacement.
391 Fri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
393         * Makefile.in (install-src): Who commented this goal out ? :-)
395 Fri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
397         * dcgettext.c (DCGETTEXT): Save `errno'.  Failing system calls
398         should not effect it because a missing catalog is no error.
399         Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
401 Tue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
403         * Makefile.in (Makefile): Explicitly use $(SHELL) for running
404         shell scripts.
406 Fri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
408         * Makefile.in (install-src): Only install library and header when
409         we use the own implementation.  Don't do it when using the
410         system's gettext or catgets functions.
412         * dcgettext.c (find_msg): Must not swap domain->hash_size here.
414 Sat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
416         * localealias.c, libintl.inst, libgettext.h, hash-string.h,
417         gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
418         Use PARAMS instead of __P.  Suggested by Roland McGrath.
420 Tue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
422         * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
423         !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
425 Mon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
427         * Makefile.in (install-src):
428         Install libintl.inst instead of libintl.h.install.
430 Sat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
432         * cat-compat.c (textdomain):
433         Reverse order in which files are tried you load.  First
434         try local file, when this failed absolute path.
436 Wed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
438         * cat-compat.c (bindtextdomain): Add missing { }.
440 Sun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
442         * libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
444         * Makefile.in:
445         Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
447 Sat Nov 25 16:12:01 1995  Franc,ois Pinard  <pinard@iro.umontreal.ca>
449         * hash-string.h: Capitalize arguments of macros.
451 Sat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
453         * Makefile.in (DISTFILES): Prevent files names longer than 13
454         characters.  libintl.h.glibc->libintl.glibc,
455         libintl.h.install->libintl.inst.  Reported by Joshua R. Poulson.
457 Sat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
459         * dcgettext.c: Fix bug in preprocessor conditionals.
461 Sat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
463         * libgettext.h: Solaris cc does not understand
464          #if !SYMBOL1 && !SYMBOL2.  Sad but true.
466 Thu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
468         * hash-string.h (hash_string):
469         Fix for machine with >32 bit `unsigned long's.
471         * dcgettext.c (DCGETTEXT):
472         Fix horrible bug in loop for alternative translation.
474 Thu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
476         * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
477         Some further simplifications in message number generation.
479 Mon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
481         * libintl.h.glibc: Use __const instead of const in prototypes.
483         * Makefile.in (install-src):
484         Install libintl.h.install instead of libintl.h.  This
485         is a stripped-down version.  Suggested by Peter Miller.
487         * libintl.h.install, libintl.h.glibc: Initial revision.
489         * localealias.c (_nl_expand_alias, read_alias_file):
490         Protect prototypes in type casts by __P.
492 Tue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
494         * hash-string.h: Correct prototype for hash_string.
496 Sun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
498         * hash-string.h (hash_string): Add prototype.
500         * gettextP.h: Fix copyright.
501         (SWAP): Add prototype.
503 Wed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
505         * localealias.c (read_alias_file): Forgot sizeof.
506         Avoid calling *printf function.  This introduces a big overhead.
507         Patch by Roland McGrath.
509 Tue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
511         * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
513         * finddomain.c (stpcpy):
514         Define substitution function local.  The macro was to flaky.
516         * cat-compat.c: Fix typo.
518         * xopen-msg.sed, linux-msg.sed:
519         While bringing message number to right place only accept digits.
521         * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
522         leading 0s we don't need to remove them.  Reported by Marcus
523         Daniels.
525         * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
526         dependency.  Reported by Marcus Daniels.
528         * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
529         Generally cleanup using #if instead of #ifndef.
531         * Makefile.in: Correct typos in comment.  By Franc,ois Pinard.
533 Mon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
535         * Makefile.in (install-src): Don't install libintl.h and libintl.a
536         if we use an available gettext implementation.
538 Sun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
540         * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
541         by Franc,ois Pinard.
543         * libgettext.h: Use #if instead of #ifdef/#ifndef.
545         * finddomain.c:
546         Comments describing what has to be done should start with FIXME.
548 Sun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
550         * Makefile.in (DISTFILES): Split.  Use DISTFILES with normal meaning.
551         DISTFILES.common names the files common to both dist goals.
552         DISTFILES.gettext are the files only distributed in GNU gettext.
554 Sun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
556         * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
557         This was necessary since a change in _nl_find_msg several weeks
558         ago.  I really don't know this is still not fixed.
560 Sun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
562         * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
563         might mark a special condition.
565         * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
567         * Makefile.in (dist): Suppress error message when ln failed.
568         Get files from $(srcdir) explicitly.
570         * libgettext.h (gettext_const): Rename to gettext_noop.
572 Fri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
574         * finddomain.c (make_entry_rec):
575         Protect against wrong locale names by testing mask.
577         * libgettext.h (gettext_const): Add macro definition.
578         Capitalize macro arguments.
580 Thu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
582         * finddomain.c (_nl_find_domain):
583         Test for pointer != NULL before accessing value.
584         Reported by Tom Tromey.
586         * gettext.c (NULL):
587         Define as (void*)0 instad of 0.  Reported by Franc,ois Pinard.
589 Mon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
591         * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
593 Sat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
595         * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
597         * localealias.c (alias_compare):
598         Peter Miller reported that tolower in some systems is
599         even dumber than I thought.  Protect call by `isupper'.
601 Fri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
603         * Makefile.in (libdir, includedir): New variables.
604         (install-src): Install libintl.a and libintl.h in correct dirs.
606 Fri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
608         * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
610         * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
612         * localealias.c:
613         Fix typo and superflous test.  Reported by Christian von Roques.
615 Fri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
617         * finddomain.c (_nl_find_domain):
618         Correct some remainder from the pre-CEN syntax.  Now
619         we don't have a constant number of successors anymore.
621 Wed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
623         * Makefile.in (DISTFILES): Add libintl.h.glibc.
625         * Makefile.in (dist-libc): Add goal for packing sources for glibc.
626         (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
628         * loadmsgcat.c: Forget to continue #if line.
630         * localealias.c:
631         [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
632         space clean.
634         * dcgettext.c, finddomain.c: Better comment to last change.
636         * loadmsgcat.c:
637         [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
638         __fstat, __open, __close, __read, __mmap, and __munmap resp
639         to keep ANSI C name space clean.
641         * finddomain.c:
642         [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
644         * dcgettext.c:
645         [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
646         keep ANSI C name space clean.
648         * libgettext.h:
649         Include sys/types.h for those old SysV systems out there.
650         Reported by Francesco Potorti`.
652         * loadmsgcat.c (use_mmap): Define if compiled for glibc.
654         * bindtextdom.c: Include all those standard headers
655         unconditionally if _LIBC is defined.
657         * finddomain.c: Fix 2 times defiend -> defined.
659         * textdomain.c: Include libintl.h instead of libgettext.h when
660         compiling for glibc.  Include all those standard headers
661         unconditionally if _LIBC is defined.
663         * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
665         * gettext.c:
666         Include libintl.h instead of libgettext.h when compiling for glibc.
667         Get NULL from stddef.h if we compile for glibc.
669         * finddomain.c: Include libintl.h instead of libgettext.h when
670         compiling for glibc.  Include all those standard headers
671         unconditionally if _LIBC is defined.
673         * dcgettext.c: Include all those standard headers unconditionally
674         if _LIBC is defined.
676         * dgettext.c: If compiled in glibc include libintl.h instead of
677         libgettext.h.
678         (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
680         * dcgettext.c: If compiled in glibc include libintl.h instead of
681         libgettext.h.
682         (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
684         * bindtextdom.c:
685         If compiled in glibc include libintl.h instead of libgettext.h.
687 Mon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
689         * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
690         Reported by Marcus Daniels.
692         * cat-compat.c (bindtextdomain):
693         String used in putenv must not be recycled.
694         Reported by Marcus Daniels.
696         * libgettext.h (__USE_GNU_GETTEXT):
697         Additional symbol to signal that we use GNU gettext
698         library.
700         * cat-compat.c (bindtextdomain):
701         Fix bug with the strange stpcpy replacement.
702         Reported by Nelson Beebe.
704 Sat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
706         * cat-compat.c: Include <string.h> for stpcpy prototype.
708         * localealias.c (read_alias_file):
709         While expand strdup code temporary variable `cp' hided
710         higher level variable with same name.  Rename to `tp'.
712         * textdomain.c (textdomain):
713         Avoid warning by using temporary variable in strdup code.
715         * finddomain.c (_nl_find_domain): Remove unused variable `application'.
717 Thu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
719         * localealias.c (alias_compare):
720         Use strcasecmp() only if available.  Else use
721         implementation in place.
723         * intl-compat.c:
724         Wrapper functions now call *__ functions instead of __*.
726         * libgettext.h: Declare prototypes for *__ functions instead for __*.
728         * cat-compat.c, loadmsgcat.c:
729         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
730         of the standard libc and so prevent libintl.a from being used
731         standalone.
733         * bindtextdom.c:
734         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
735         of the standard libc and so prevent libintl.a from being used
736         standalone.
737         Rename to bindtextdomain__ if not used in GNU C Library.
739         * dgettext.c:
740         Rename function to dgettext__ if not used in GNU C Library.
742         * gettext.c:
743         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
744         of the standard libc and so prevent libintl.a from being used
745         standalone.
746         Functions now called gettext__ if not used in GNU C Library.
748         * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
749         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
750         of the standard libc and so prevent libintl.a from being used
751         standalone.
753 Sun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
755         * finddomain.c: Correct some bugs in handling of CEN standard
756         locale definitions.
758 Thu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
760         * finddomain.c: Implement CEN syntax.
762         * gettextP.h (loaded_domain): Extend number of successors to 31.
764 Sat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
766         * Makefile.in (aliaspath): Remove path to X11 locale dir.
768         * Makefile.in: Make install-src depend on install.  This helps
769         gettext to install the sources and other packages can use the
770         install goal.
772 Sat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
774         * Makefile.in (uninstall): Remove stuff installed by install-src.
776 Tue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
778         * VERSION.in: Initial revision.
780         * Makefile.in (DISTFILES):
781         Add VERSION file.  This is not necessary for gettext, but
782         for other packages using this library.
784 Tue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
786         * gettextP.h (_nl_find_domain):
787         New prototype after changing search strategy.
789         * finddomain.c (_nl_find_domain):
790         We now try only to find a specified catalog.  Fall back to other
791         catalogs listed in the locale list is now done in __dcgettext.
793         * dcgettext.c (__dcgettext):
794         Now we provide message fall back even to different languages.
795         I.e. if a message is not available in one language all the other
796         in the locale list a tried.  Formerly fall back was only possible
797         within one language.  Implemented by moving one loop from
798         _nl_find_domain to here.
800 Mon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
802         * Makefile.in (gettextsrcdir):
803         Directory where source of GNU gettext library are made
804         available.
805         (INSTALL, INSTALL_DATA): Programs used for installing sources.
806         (gettext-src): New.  Rule to install GNU gettext sources for use in
807         gettextize shell script.
809 Sun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
811         * loadmsgcat.c (_nl_load_domain):
812         Use mmap for loading only when munmap function is
813         also available.
815         * Makefile.in (install): Depend on `all' goal.
817 Wed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
819         * localealias.c (read_alias_file):
820         Do not overwrite '\n' when terminating alias value string.
822         * localealias.c (read_alias_file):
823         Handle long lines.  Ignore the rest not fitting in
824         the buffer after the initial `fgets' call.
826 Wed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
828         * gettextP.h (_nl_load_domain):
829         Add prototype, replacing prototype for _nl_load_msg_cat.
831         * finddomain.c (_nl_find_domain):
832         Remove unneeded variable filename and filename_len.
833         (expand_alias): Remove prototype because functions does not
834         exist anymore.
836         * localealias.c (read_alias_file):
837         Change type of fname_len parameter to int.
838         (xmalloc): Add prototype.
840         * loadmsgcat.c: Better prototypes for xmalloc.
842 Tue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
844         * finddomain.c (_nl_find_domain):
845         Allow alias name to be constructed from the four components.
847         * Makefile.in (aliaspath): New variable.  Set to preliminary value.
848         (SOURCES): Add localealias.c.
849         (OBJECTS): Add localealias.o.
851         * gettextP.h: Add prototype for _nl_expand_alias.
853         * finddomain.c: Aliasing handled in intl/localealias.c.
855         * localealias.c: Aliasing for locale names.
857         * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
859 Mon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
861         * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
863         * cat-compat.c (bindtextdomain):
864         Correct implementation.  dirname parameter was not used.
865         Reported by Marcus Daniels.
867         * gettextP.h (loaded_domain):
868         New fields `successor' and `decided' for oo, lazy
869         message handling implementation.
871         * dcgettext.c:
872         Adopt for oo, lazy message handliing.
873         Now we can inherit translations from less specific locales.
874         (find_msg): New function.
876         * loadmsgcat.c, finddomain.c:
877         Complete rewrite.  Implement oo, lazy message handling :-).
878         We now have an additional environment variable `LANGUAGE' with
879         a higher priority than LC_ALL for the LC_MESSAGE locale.
880         Here we can set a colon separated list of specifications each
881         of the form `language[_territory[.codeset]][@modifier]'.
883 Sat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
885         * finddomain.c (unistd.h):
886         Include to get _PC_PATH_MAX defined on system having it.
888 Fri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
890         * finddomain.c (stpcpy): Include prototype.
892         * Makefile.in (dist): Remove `copying instead' message.
894 Wed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
896         * Makefile.in (ID, TAGS): Do not use $^.
898 Tue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
900         * Makefile.in (TAGS, ID): Use $^ as command argument.
901         (TAGS): Give etags -o option t write to current directory,
902         not $(srcdir).
903         (ID): Use $(srcdir) instead os $(top_srcdir)/src.
904         (distclean): Remove ID.
906 Sun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
908         * Makefile.in (gnulocaledir):
909         New variable, always using share/ for data directory.
910         (DEFS): Add GNULOCALEDIR, used in finddomain.c.
912         * finddomain.c (_nl_default_dirname):
913         Set to GNULOCALEDIR, because it always has to point
914         to the directory where GNU gettext Library writes it to.
916         * intl-compat.c (textdomain, bindtextdomain):
917         Undefine macros before function definition.
919 Sat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
921         * libgettext.h (_LIBINTL_H):
922         Protect definition in case where this file is included as
923         libgettext.h on Solaris machines.  Add comment about this.
925 Wed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
927         * intl-compat.c (textdomain): Correct typo.
929 Wed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
931         * dcgettext.c (dcgettext): Function now called __dcgettext.
933         * dgettext.c (dgettext): Now called __dgettext and calls
934         __dcgettext.
936         * gettext.c (gettext):
937         Function now called __gettext and calls __dgettext.
939         * textdomain.c (textdomain): Function now called __textdomain.
941         * bindtextdom.c (bindtextdomain): Function now called
942         __bindtextdomain.
944         * intl-compat.c: Initial revision.
946         * Makefile.in (SOURCES): Add intl-compat.c.
947         (OBJECTS): We always compile the GNU gettext library functions.
948         OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
949         and intl-compat.o.
950         (GETTOBJS): Contains now only intl-compat.o.
952         * libgettext.h:
953         Re-include protection matches dualistic character of libgettext.h.
954         For all functions in GNU gettext library define __ counter part.
956         * finddomain.c (strchr): Define as index if not found in C library.
957         (_nl_find_domain): For relative paths paste / in between.
959 Tue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
961         * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
963         * xopen-msg.sed: Fix bug with `msgstr ""' lines.
964         A little bit better comments.
966 Tue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
968         * Makefile.in:
969         po-mode.el, makelinks, combine-sh are now found in ../misc.
971         * po-mode.el, makelinks, combine-sh, elisp-comp:
972         Moved to ../misc/.
974         * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
976 Sun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
978         * Makefile.in (INSTALL, INSTALL_DATA): New variables.
979         (install-data, uninstall): Install/uninstall .elc file.
981         * po-mode.el (Installation comment):
982         Add .pox as possible extension of .po files.
984 Sun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
986         * elisp-comp: Complete new version by Franc,ois: This does not
987         fail when not compiling in the source directory.
989 Sun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
991         * Makefile.in (../po/cat-id-tbl.o):
992         Use $(MAKE) instead of make for recursive make.
994         * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
995         (install-exec): Add missing dummy goal.
996         (install-data, uninstall): @ in multi-line shell command at
997         beginning, not in front of echo.  Reported by Eric Backus.
999 Sat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
1001         * Makefile.in (DISTFILES):
1002         Rename libgettext.perl to gettext.perl to fit in 14 chars
1003         file systems.
1005         * gettext.perl:
1006         Rename to gettext.perl to fit in 14 chars file systems.
1008 Thu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
1010         * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
1012 Thu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
1014         * po2tbl.sed.in: Pretty printing.
1016         * linux-msg.sed, xopen-msg.sed:
1017         Correct bugs with handling substitute flags in branches.
1019         * hash-string.h (hash_string):
1020         Old K&R compilers don't under stand `unsigned char'.
1022         * gettext.h (nls_uint32):
1023         Some old K&R compilers (eg HP) don't understand `unsigned int'.
1025         * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1027 Thu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
1029         * Makefile.in (ELCFILES): New variable.
1030         (DISTFILES): Add elisp-comp.
1031         Add implicit rule for .el -> .elc compilation.
1032         (install-data): install $ELCFILES
1033         (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1035         * elisp-comp: Initial revision
1037 Wed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
1039         * Makefile.in:
1040         cat-id-tbl.c is now found in po/.  This enables us to use an identical
1041         intl/ directory in all packages.
1043         * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1045         * textdomain.c: fix typo (#if def -> #if defined)
1047 Tue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
1049         * Makefile.in (stamp-cat-id): use top_srcdir to address source files
1050         (DISTFILES,distclean): move tupdate.perl to src/
1052         * po-to-tbl.sed.in:
1053         add additional jump to clear change flag to recognize multiline strings
1055 Tue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
1057         * textdomain.c: Protect inclusion of stdlib.h and string.h.
1059         * loadmsgcat.c: Protect inclusion of stdlib.h.
1061         * libgettext.h: Protect inclusion of locale.h.
1062         Allow use in C++ programs.
1063         Define NULL is not happened already.
1065         * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1066         po-to-tbl.sed.
1067         (distclean): remove po-to-tbl.sed and tupdate.perl.
1069         * tupdate.perl.in: Substitute Perl path even in exec line.
1070         Don't include entries without translation from old .po file.
1072 Tue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
1074         * tupdate.perl.in: use "Updated: " in msgid "".
1076         * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1077         Define getenv if !__STDC__.
1079         * bindtextdom.c: Protect stdlib.h and string.h inclusion.
1080         Define free if !__STDC__.
1082         * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1083         Define free if !__STDC__.
1085         * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1087 Mon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
1089         * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1090         Remove unneeded $(srcdir) from Makefile.in dependency.
1092         * makelinks: Add copyright and short description.
1094         * po-mode.el: Last version for 0.7.
1096         * tupdate.perl.in: Fix die message.
1098         * dcgettext.c: Protect include of string.h.
1100         * gettext.c: Protect include of stdlib.h and further tries to get NULL.
1102         * finddomain.c: Some corrections in includes.
1104         * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1106         * po-to-tbl.sed: Adopt for new .po file format.
1108         * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1110 Sun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
1112         * tupdate.perl.in: Complete rewrite for new .po file format.
1114 Sun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
1116         * First official release.  This directory contains all the code
1117         needed to internationalize own packages.  It provides functions
1118         which allow to use the X/Open catgets function with an interface
1119         like the Uniforum gettext function.  For system which does not
1120         have neither of those a complete implementation is provided.