* config.guess, config.sub, lib/argmatch.c, lib/argmatch.h,
[findutils.git] / intl / ChangeLog
blobe9c959dff6c37bb573c4da72b83939e42a288b3b
1 2000-03-06  Paul Eggert  <eggert@twinsun.com>
3         * libgettext.h (gettext_noop): Do not parenthesize Str in the
4         definiens, as that breaks string literal concatenation.
6 1999-08-12  Paul Eggert  <eggert@twinsun.com>
8         * localealias.c (memcpy): Return 2nd argument, so that it's
9         compatible with memcpy spec.
11 1998-10-20  Paul Eggert  <eggert@twinsun.com>
13         * po2tbl.sed.in: Escape trigraphs.
15 1999-08-11  Paul Eggert  <eggert@twinsun.com>
17         * Makefile.in (uninstall): Fix problem in most recent change,
18         on old BSD/OS hosts whose buggy shells report nonzero exit status
19         for `if false; then true; fi'.
21 1998-10-05  Jim Meyering  <meyering@ascend.com>
23         * Makefile.in (uninstall): Uninstall only if the current package is
24         gettext.  From Akim Demaille.
26 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
28         * intl/localealias.c (read_alias_file): Use unsigned char for
29         local variables.  Remove unused variable tp.
30         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
31         for type of codeset.  For loosing Solaris systems.
32         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
33         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
34         len if not needed.
35         Patches by Jim Meyering.
37 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
39         * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
40         mmap is not supported.
42         * hash-string.h: Don't include <values.h>.
44 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
46         * textdomain.c: Use strdup is available.
48         * localealias.c: Define HAVE_MEMPCPY so that we can use this
49         function.  Define and use semapahores to protect modfication of
50         global objects when compiling for glibc.  Add code to allow
51         freeing alias table.
53         * l10nflist.c: Don't assume stpcpy not being a macro.
55         * gettextP.h: Define internal_function macri if not already done.
56         Use glibc byte-swap macros instead of defining SWAP when compiled
57         for glibc.
58         (struct loaded_domain): Add elements to allow unloading.
60         * Makefile.in (distclean): Don't remove libintl.h here.
62         * bindtextdomain.c: Carry over changes from glibc.  Use strdup if
63         available.
65         * dcgettext.c: Don't assume stpcpy not being a macro.  Mark internal
66         functions.  Add memory freeing code for glibc.
68         * dgettext.c: Update copyright.
70         * explodename.c: Include stdlib.h and string.h only if they exist.
71         Use strings.h eventually.
73         * finddomain.c: Mark internal functions.  Use strdup if available.
74         Add memory freeing code for glibc.
76 1997-10-10 20:00  Ulrich Drepper  <drepper@cygnus.com>
78         * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
79         They should return reasonable values.
80         Reported by Tom Tromey <tromey@cygnus.com>.
82 1997-09-16 03:33  Ulrich Drepper  <drepper@cygnus.com>
84         * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
85         * intlh.inst.in: Likewise.
86         Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
88         * libintl.glibc: Update from current glibc version.
90 1997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
92         * intlh.inst.in: Reformat copyright.
94 1997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
96         * dcgettext.c (DCGETTEXT): Remove wrong comment.
98 1997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
100         * Makefile.in (install-data): Don't change directory to install.
102 1997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
104         * cat-compat.c: Fix copyright.
106         * localealias.c: Don't define strchr unless !HAVE_STRCHR.
108         * loadmsgcat.c: Update copyright.  Fix typos.
110         * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
111         (_nl_make_l10nflist): Handle sponsor and revision correctly.
113         * gettext.c: Update copyright.
114         * gettext.h: Likewise.
115         * hash-string.h: Likewise.
117         * finddomain.c: Remoave dead code.  Define strchr only if
118         !HAVE_STRCHR.
120         * explodename.c: Include <sys/types.h>.
122         * explodename.c: Reformat copyright text.
123         (_nl_explode_name): Fix typo.
125         * dcgettext.c: Define and use __set_errno.
126         (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
127         not defined.
129         * bindtextdom.c: Pretty printing.
131 1997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
133         * dcgettext.c (guess_category_value): Don't depend on
134         HAVE_LC_MESSAGES.  We don't need the macro here.
135         Patch by Bruno Haible <haible@ilog.fr>.
137         * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
138         macro.  Instead use HAVE_LOCALE_NULL and define it when using
139         glibc, as in dcgettext.c.
140         Patch by Bruno Haible <haible@ilog.fr>.
142         * Makefile.in (CPPFLAGS): New variable.  Reported by Franc,ois
143         Pinard.
145 Mon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
147         * Makefile.in: Implement handling of libtool.
149         * gettextP.h: Change data structures for use of generic lowlevel
150         i18n file handling.
152 Wed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
154         * textdomain.c: Put parentheses around arguments of memcpy macro
155         definition.
156         * localealias.c: Likewise.
157         * l10nflist.c: Likewise.
158         * finddomain.c: Likewise.
159         * bindtextdom.c: Likewise.
160         Reported by Thomas Esken.
162 Mon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
164         * textdomain.c: Move definition of `memcpy` macro to right
165         position.
167 Fri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
169         * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
170         bcopy if not already defined.  Reported by Thomas Esken.
171         * bindtextdom.c: Likewise.
172         * l10nflist.c: Likewise.
173         * localealias.c: Likewise.
174         * textdomain.c: Likewise.
176 Tue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
178         * Makefile.in (libdir): Change to use exec_prefix instead of
179         prefix.  Reported by Knut-HĂ„vardAksnes <etokna@eto.ericsson.se>.
181 Sat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
183         * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
184         so don't prepend uppercase `ISO' for only numeric arg.
186 Fri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
188         * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
189         definition of _GNU_SOURCE.  Patch by Roland McGrath.
191         * Makefile.in (uninstall): Fix another bug with `for' loop and
192         empty arguments.  Patch by Jim Meyering.  Correct name os
193         uninstalled files: no intl- prefix anymore.
195         * Makefile.in (install-data): Again work around shells which
196         cannot handle mpty for list.  Reported by Jim Meyering.
198 Sat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
200         * Makefile.in (install): Split goal.  Now depend on install-exec
201         and install-data.
202         (install-exec, install-data): New goals.  Created from former
203         install goal.
204         Reported by Karl Berry.
206 Sat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
208         * Makefile.in (MKINSTALLDIRS): New variable.  Path to
209         mkinstalldirs script.
210         (install): use MKINSTALLDIRS variable or if the script is not present
211         try to find it in the $top_scrdir).
213 Wed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
215         * l10nflist.c: Linux libc *partly* includes the argz_* functions.
216         Grr.  Work around by renaming the static version and use macros
217         for renaming.
219 Tue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
221         * l10nflist.c: Correct presence test macros of __argz_* functions.
223         * l10nflist.c: Include <argz.h> based on test of it instead when
224         __argz_* functions are available.
225         Reported by Andreas Schwab.
227 Thu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
229         * explodename.c, l10nflist.c: Define NULL for dumb systems.
231 Tue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
233         * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
234         result to __result to prevent name clash.
236         * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
237         get prototype for stpcpy and strcasecmp.
239         * intlh.inst.in, libgettext.h: Move declaration of
240         `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
241         from gcc's -Wnested-extern option.
243 Fri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
245         * Makefile.in (install): Remove comment.
247 Thu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
249         * Makefile.in (install): Work around for another Buglix stupidity.
250         Always use an `else' close for `if's.  Reported by Nelson Beebe.
252         * Makefile.in (intlh.inst): Correct typo in phony rule.
253         Reported by Nelson Beebe.
255 Thu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
257         * dcgettext.c (read_alias_file): Rename variable alloca_list to
258         block_list as the macro calls assume.
259         Patch by Eric Backus.
261         * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
262         malloc.
263         (read_alias_file): Rename varriabe alloca_list to block_list as the
264         macro calls assume.
265         Patch by Eric Backus.
267         * l10nflist.c: Correct conditional for <argz.h> inclusion.
268         Reported by Roland McGrath.
270         * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
271         all-@USE_NLS@.
273         * Makefile.in (install): intlh.inst comes from local dir, not
274         $(srcdir).
276         * Makefile.in (intlh.inst): Special handling of this goal.  If
277         used in gettext, this is really a rul to construct this file.  If
278         used in any other package it is defined as a .PHONY rule with
279         empty body.
281         * finddomain.c: Extract locale file information handling into
282         l10nfile.c.  Rename local stpcpy__ function to stpcpy.
284         * dcgettext.c (stpcpy): Add local definition.
286         * l10nflist.c: Solve some portability problems.  Patches partly by
287         Thomas Esken.  Add local definition of stpcpy.
289 Tue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
291         * intlh.inst.in: Don't depend including <locale.h> on
292         HAVE_LOCALE_H.  Instead configure must rewrite this fiile
293         depending on the result of the configure run.
295         * Makefile.in (install): libintl.inst is now called intlh.inst.
296         Add rules for updating intlh.inst from intlh.inst.in.
298         * libintl.inst: Renamed to intlh.inst.in.
300         * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
301         because gcc has __buitlin_alloca.
302         Reported by Roland McGrath.
304 Mon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
306         * Makefile.in (installcheck): New goal to fulfill needs of
307         automake's distcheck.
309         * Makefile.in (install): Reorder commands so that VERSION is
310         found.
312         * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
313         @datadir@/gettext.
314         (COMSRCS): Add l10nfile.c.
315         (OBJECTS): Add l10nfile.o.
316         (DISTFILES): Rename to DISTFILE.normal.  Remove $(DISTFILES.common).
317         (DISTFILE.gettext): Remove $(DISTFILES.common).
318         (all-gettext): Remove goal.
319         (install): If $(PACKAGE) = gettext install, otherwose do nothing.  No
320         package but gettext itself should install libintl.h + headers.
321         (dist): Extend goal to work for gettext, too.
322         (dist-gettext): Remove goal.
324         * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
326 Sun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
328         * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
329         find_l10nfile.
331 Sat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
333         * l10nflist.c (__argz_next): Add definition.
335         * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
336         code.  Use new l10nfile handling.
338         * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
339         alloca code.
341         * l10nflist.c: Initial revision.
343 Tue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
345         * Makefile.in (all-gettext): New goal.  Same as all-yes.
347 Thu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
349         * Makefile.in (gettextsrcdir): Define using @datadir@.
351 Tue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
353         * finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
355 Sat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
357         * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
358         with external declaration.
360 Sat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
362         * Makefile.in (all-no): Rename from all_no.
364 Sat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
366         * gettextP.h [loaded_domain]: Array `successor' must now contain up
367         to 63 elements (because of codeset name normalization).
369         * finddomain.c: Implement codeset name normalization.
371 Thu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
373         * Makefile.in (all): Define to `all-@USE_NLS@'.
374         (all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
375         is former all.
377 Mon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
379         * localealias.c (alias_compare): Increment string pointers in loop
380         of strcasecmp replacement.
382 Fri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
384         * Makefile.in (install-src): Who commented this goal out ? :-)
386 Fri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
388         * dcgettext.c (DCGETTEXT): Save `errno'.  Failing system calls
389         should not effect it because a missing catalog is no error.
390         Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
392 Tue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
394         * Makefile.in (Makefile): Explicitly use $(SHELL) for running
395         shell scripts.
397 Fri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
399         * Makefile.in (install-src): Only install library and header when
400         we use the own implementation.  Don't do it when using the
401         system's gettext or catgets functions.
403         * dcgettext.c (find_msg): Must not swap domain->hash_size here.
405 Sat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
407         * localealias.c, libintl.inst, libgettext.h, hash-string.h,
408         gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
409         Use PARAMS instead of __P.  Suggested by Roland McGrath.
411 Tue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
413         * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
414         !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
416 Mon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
418         * Makefile.in (install-src):
419         Install libintl.inst instead of libintl.h.install.
421 Sat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
423         * cat-compat.c (textdomain):
424         Reverse order in which files are tried you load.  First
425         try local file, when this failed absolute path.
427 Wed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
429         * cat-compat.c (bindtextdomain): Add missing { }.
431 Sun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
433         * libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
435         * Makefile.in:
436         Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
438 Sat Nov 25 16:12:01 1995  Franc,ois Pinard  <pinard@iro.umontreal.ca>
440         * hash-string.h: Capitalize arguments of macros.
442 Sat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
444         * Makefile.in (DISTFILES): Prevent files names longer than 13
445         characters.  libintl.h.glibc->libintl.glibc,
446         libintl.h.install->libintl.inst.  Reported by Joshua R. Poulson.
448 Sat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
450         * dcgettext.c: Fix bug in preprocessor conditionals.
452 Sat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
454         * libgettext.h: Solaris cc does not understand
455          #if !SYMBOL1 && !SYMBOL2.  Sad but true.
457 Thu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
459         * hash-string.h (hash_string):
460         Fix for machine with >32 bit `unsigned long's.
462         * dcgettext.c (DCGETTEXT):
463         Fix horrible bug in loop for alternative translation.
465 Thu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
467         * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
468         Some further simplifications in message number generation.
470 Mon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
472         * libintl.h.glibc: Use __const instead of const in prototypes.
474         * Makefile.in (install-src):
475         Install libintl.h.install instead of libintl.h.  This
476         is a stripped-down version.  Suggested by Peter Miller.
478         * libintl.h.install, libintl.h.glibc: Initial revision.
480         * localealias.c (_nl_expand_alias, read_alias_file):
481         Protect prototypes in type casts by __P.
483 Tue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
485         * hash-string.h: Correct prototype for hash_string.
487 Sun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
489         * hash-string.h (hash_string): Add prototype.
491         * gettextP.h: Fix copyright.
492         (SWAP): Add prototype.
494 Wed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
496         * localealias.c (read_alias_file): Forgot sizeof.
497         Avoid calling *printf function.  This introduces a big overhead.
498         Patch by Roland McGrath.
500 Tue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
502         * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
504         * finddomain.c (stpcpy):
505         Define substitution function local.  The macro was to flaky.
507         * cat-compat.c: Fix typo.
509         * xopen-msg.sed, linux-msg.sed:
510         While bringing message number to right place only accept digits.
512         * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
513         leading 0s we don't need to remove them.  Reported by Marcus
514         Daniels.
516         * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
517         dependency.  Reported by Marcus Daniels.
519         * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
520         Generally cleanup using #if instead of #ifndef.
522         * Makefile.in: Correct typos in comment.  By Franc,ois Pinard.
524 Mon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
526         * Makefile.in (install-src): Don't install libintl.h and libintl.a
527         if we use an available gettext implementation.
529 Sun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
531         * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
532         by Franc,ois Pinard.
534         * libgettext.h: Use #if instead of #ifdef/#ifndef.
536         * finddomain.c:
537         Comments describing what has to be done should start with FIXME.
539 Sun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
541         * Makefile.in (DISTFILES): Split.  Use DISTFILES with normal meaning.
542         DISTFILES.common names the files common to both dist goals.
543         DISTFILES.gettext are the files only distributed in GNU gettext.
545 Sun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
547         * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
548         This was necessary since a change in _nl_find_msg several weeks
549         ago.  I really don't know this is still not fixed.
551 Sun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
553         * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
554         might mark a special condition.
556         * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
558         * Makefile.in (dist): Suppress error message when ln failed.
559         Get files from $(srcdir) explicitly.
561         * libgettext.h (gettext_const): Rename to gettext_noop.
563 Fri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
565         * finddomain.c (make_entry_rec):
566         Protect against wrong locale names by testing mask.
568         * libgettext.h (gettext_const): Add macro definition.
569         Capitalize macro arguments.
571 Thu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
573         * finddomain.c (_nl_find_domain):
574         Test for pointer != NULL before accessing value.
575         Reported by Tom Tromey.
577         * gettext.c (NULL):
578         Define as (void*)0 instad of 0.  Reported by Franc,ois Pinard.
580 Mon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
582         * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
584 Sat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
586         * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
588         * localealias.c (alias_compare):
589         Peter Miller reported that tolower in some systems is
590         even dumber than I thought.  Protect call by `isupper'.
592 Fri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
594         * Makefile.in (libdir, includedir): New variables.
595         (install-src): Install libintl.a and libintl.h in correct dirs.
597 Fri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
599         * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
601         * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
603         * localealias.c:
604         Fix typo and superflous test.  Reported by Christian von Roques.
606 Fri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
608         * finddomain.c (_nl_find_domain):
609         Correct some remainder from the pre-CEN syntax.  Now
610         we don't have a constant number of successors anymore.
612 Wed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
614         * Makefile.in (DISTFILES): Add libintl.h.glibc.
616         * Makefile.in (dist-libc): Add goal for packing sources for glibc.
617         (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
619         * loadmsgcat.c: Forget to continue #if line.
621         * localealias.c:
622         [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
623         space clean.
625         * dcgettext.c, finddomain.c: Better comment to last change.
627         * loadmsgcat.c:
628         [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
629         __fstat, __open, __close, __read, __mmap, and __munmap resp
630         to keep ANSI C name space clean.
632         * finddomain.c:
633         [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
635         * dcgettext.c:
636         [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
637         keep ANSI C name space clean.
639         * libgettext.h:
640         Include sys/types.h for those old SysV systems out there.
641         Reported by Francesco Potorti`.
643         * loadmsgcat.c (use_mmap): Define if compiled for glibc.
645         * bindtextdom.c: Include all those standard headers
646         unconditionally if _LIBC is defined.
648         * finddomain.c: Fix 2 times defiend -> defined.
650         * textdomain.c: Include libintl.h instead of libgettext.h when
651         compiling for glibc.  Include all those standard headers
652         unconditionally if _LIBC is defined.
654         * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
656         * gettext.c:
657         Include libintl.h instead of libgettext.h when compiling for glibc.
658         Get NULL from stddef.h if we compile for glibc.
660         * finddomain.c: Include libintl.h instead of libgettext.h when
661         compiling for glibc.  Include all those standard headers
662         unconditionally if _LIBC is defined.
664         * dcgettext.c: Include all those standard headers unconditionally
665         if _LIBC is defined.
667         * dgettext.c: If compiled in glibc include libintl.h instead of
668         libgettext.h.
669         (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
671         * dcgettext.c: If compiled in glibc include libintl.h instead of
672         libgettext.h.
673         (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
675         * bindtextdom.c:
676         If compiled in glibc include libintl.h instead of libgettext.h.
678 Mon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
680         * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
681         Reported by Marcus Daniels.
683         * cat-compat.c (bindtextdomain):
684         String used in putenv must not be recycled.
685         Reported by Marcus Daniels.
687         * libgettext.h (__USE_GNU_GETTEXT):
688         Additional symbol to signal that we use GNU gettext
689         library.
691         * cat-compat.c (bindtextdomain):
692         Fix bug with the strange stpcpy replacement.
693         Reported by Nelson Beebe.
695 Sat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
697         * cat-compat.c: Include <string.h> for stpcpy prototype.
699         * localealias.c (read_alias_file):
700         While expand strdup code temporary variable `cp' hided
701         higher level variable with same name.  Rename to `tp'.
703         * textdomain.c (textdomain):
704         Avoid warning by using temporary variable in strdup code.
706         * finddomain.c (_nl_find_domain): Remove unused variable `application'.
708 Thu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
710         * localealias.c (alias_compare):
711         Use strcasecmp() only if available.  Else use
712         implementation in place.
714         * intl-compat.c:
715         Wrapper functions now call *__ functions instead of __*.
717         * libgettext.h: Declare prototypes for *__ functions instead for __*.
719         * cat-compat.c, loadmsgcat.c:
720         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
721         of the standard libc and so prevent libintl.a from being used
722         standalone.
724         * bindtextdom.c:
725         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
726         of the standard libc and so prevent libintl.a from being used
727         standalone.
728         Rename to bindtextdomain__ if not used in GNU C Library.
730         * dgettext.c:
731         Rename function to dgettext__ if not used in GNU C Library.
733         * gettext.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         Functions now called gettext__ if not used in GNU C Library.
739         * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
740         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
741         of the standard libc and so prevent libintl.a from being used
742         standalone.
744 Sun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
746         * finddomain.c: Correct some bugs in handling of CEN standard
747         locale definitions.
749 Thu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
751         * finddomain.c: Implement CEN syntax.
753         * gettextP.h (loaded_domain): Extend number of successors to 31.
755 Sat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
757         * Makefile.in (aliaspath): Remove path to X11 locale dir.
759         * Makefile.in: Make install-src depend on install.  This helps
760         gettext to install the sources and other packages can use the
761         install goal.
763 Sat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
765         * Makefile.in (uninstall): Remove stuff installed by install-src.
767 Tue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
769         * VERSION.in: Initial revision.
771         * Makefile.in (DISTFILES):
772         Add VERSION file.  This is not necessary for gettext, but
773         for other packages using this library.
775 Tue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
777         * gettextP.h (_nl_find_domain):
778         New prototype after changing search strategy.
780         * finddomain.c (_nl_find_domain):
781         We now try only to find a specified catalog.  Fall back to other
782         catalogs listed in the locale list is now done in __dcgettext.
784         * dcgettext.c (__dcgettext):
785         Now we provide message fall back even to different languages.
786         I.e. if a message is not available in one language all the other
787         in the locale list a tried.  Formerly fall back was only possible
788         within one language.  Implemented by moving one loop from
789         _nl_find_domain to here.
791 Mon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
793         * Makefile.in (gettextsrcdir):
794         Directory where source of GNU gettext library are made
795         available.
796         (INSTALL, INSTALL_DATA): Programs used for installing sources.
797         (gettext-src): New.  Rule to install GNU gettext sources for use in
798         gettextize shell script.
800 Sun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
802         * loadmsgcat.c (_nl_load_domain):
803         Use mmap for loading only when munmap function is
804         also available.
806         * Makefile.in (install): Depend on `all' goal.
808 Wed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
810         * localealias.c (read_alias_file):
811         Do not overwrite '\n' when terminating alias value string.
813         * localealias.c (read_alias_file):
814         Handle long lines.  Ignore the rest not fitting in
815         the buffer after the initial `fgets' call.
817 Wed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
819         * gettextP.h (_nl_load_domain):
820         Add prototype, replacing prototype for _nl_load_msg_cat.
822         * finddomain.c (_nl_find_domain):
823         Remove unneeded variable filename and filename_len.
824         (expand_alias): Remove prototype because functions does not
825         exist anymore.
827         * localealias.c (read_alias_file):
828         Change type of fname_len parameter to int.
829         (xmalloc): Add prototype.
831         * loadmsgcat.c: Better prototypes for xmalloc.
833 Tue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
835         * finddomain.c (_nl_find_domain):
836         Allow alias name to be constructed from the four components.
838         * Makefile.in (aliaspath): New variable.  Set to preliminary value.
839         (SOURCES): Add localealias.c.
840         (OBJECTS): Add localealias.o.
842         * gettextP.h: Add prototype for _nl_expand_alias.
844         * finddomain.c: Aliasing handled in intl/localealias.c.
846         * localealias.c: Aliasing for locale names.
848         * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
850 Mon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
852         * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
854         * cat-compat.c (bindtextdomain):
855         Correct implementation.  dirname parameter was not used.
856         Reported by Marcus Daniels.
858         * gettextP.h (loaded_domain):
859         New fields `successor' and `decided' for oo, lazy
860         message handling implementation.
862         * dcgettext.c:
863         Adopt for oo, lazy message handliing.
864         Now we can inherit translations from less specific locales.
865         (find_msg): New function.
867         * loadmsgcat.c, finddomain.c:
868         Complete rewrite.  Implement oo, lazy message handling :-).
869         We now have an additional environment variable `LANGUAGE' with
870         a higher priority than LC_ALL for the LC_MESSAGE locale.
871         Here we can set a colon separated list of specifications each
872         of the form `language[_territory[.codeset]][@modifier]'.
874 Sat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
876         * finddomain.c (unistd.h):
877         Include to get _PC_PATH_MAX defined on system having it.
879 Fri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
881         * finddomain.c (stpcpy): Include prototype.
883         * Makefile.in (dist): Remove `copying instead' message.
885 Wed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
887         * Makefile.in (ID, TAGS): Do not use $^.
889 Tue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
891         * Makefile.in (TAGS, ID): Use $^ as command argument.
892         (TAGS): Give etags -o option t write to current directory,
893         not $(srcdir).
894         (ID): Use $(srcdir) instead os $(top_srcdir)/src.
895         (distclean): Remove ID.
897 Sun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
899         * Makefile.in (gnulocaledir):
900         New variable, always using share/ for data directory.
901         (DEFS): Add GNULOCALEDIR, used in finddomain.c.
903         * finddomain.c (_nl_default_dirname):
904         Set to GNULOCALEDIR, because it always has to point
905         to the directory where GNU gettext Library writes it to.
907         * intl-compat.c (textdomain, bindtextdomain):
908         Undefine macros before function definition.
910 Sat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
912         * libgettext.h (_LIBINTL_H):
913         Protect definition in case where this file is included as
914         libgettext.h on Solaris machines.  Add comment about this.
916 Wed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
918         * intl-compat.c (textdomain): Correct typo.
920 Wed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
922         * dcgettext.c (dcgettext): Function now called __dcgettext.
924         * dgettext.c (dgettext): Now called __dgettext and calls
925         __dcgettext.
927         * gettext.c (gettext):
928         Function now called __gettext and calls __dgettext.
930         * textdomain.c (textdomain): Function now called __textdomain.
932         * bindtextdom.c (bindtextdomain): Function now called
933         __bindtextdomain.
935         * intl-compat.c: Initial revision.
937         * Makefile.in (SOURCES): Add intl-compat.c.
938         (OBJECTS): We always compile the GNU gettext library functions.
939         OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
940         and intl-compat.o.
941         (GETTOBJS): Contains now only intl-compat.o.
943         * libgettext.h:
944         Re-include protection matches dualistic character of libgettext.h.
945         For all functions in GNU gettext library define __ counter part.
947         * finddomain.c (strchr): Define as index if not found in C library.
948         (_nl_find_domain): For relative paths paste / in between.
950 Tue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
952         * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
954         * xopen-msg.sed: Fix bug with `msgstr ""' lines.
955         A little bit better comments.
957 Tue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
959         * Makefile.in:
960         po-mode.el, makelinks, combine-sh are now found in ../misc.
962         * po-mode.el, makelinks, combine-sh, elisp-comp:
963         Moved to ../misc/.
965         * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
967 Sun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
969         * Makefile.in (INSTALL, INSTALL_DATA): New variables.
970         (install-data, uninstall): Install/uninstall .elc file.
972         * po-mode.el (Installation comment):
973         Add .pox as possible extension of .po files.
975 Sun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
977         * elisp-comp: Complete new version by Franc,ois: This does not
978         fail when not compiling in the source directory.
980 Sun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
982         * Makefile.in (../po/cat-id-tbl.o):
983         Use $(MAKE) instead of make for recursive make.
985         * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
986         (install-exec): Add missing dummy goal.
987         (install-data, uninstall): @ in multi-line shell command at
988         beginning, not in front of echo.  Reported by Eric Backus.
990 Sat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
992         * Makefile.in (DISTFILES):
993         Rename libgettext.perl to gettext.perl to fit in 14 chars
994         file systems.
996         * gettext.perl:
997         Rename to gettext.perl to fit in 14 chars file systems.
999 Thu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
1001         * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
1003 Thu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
1005         * po2tbl.sed.in: Pretty printing.
1007         * linux-msg.sed, xopen-msg.sed:
1008         Correct bugs with handling substitute flags in branches.
1010         * hash-string.h (hash_string):
1011         Old K&R compilers don't under stand `unsigned char'.
1013         * gettext.h (nls_uint32):
1014         Some old K&R compilers (eg HP) don't understand `unsigned int'.
1016         * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1018 Thu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
1020         * Makefile.in (ELCFILES): New variable.
1021         (DISTFILES): Add elisp-comp.
1022         Add implicit rule for .el -> .elc compilation.
1023         (install-data): install $ELCFILES
1024         (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1026         * elisp-comp: Initial revision
1028 Wed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
1030         * Makefile.in:
1031         cat-id-tbl.c is now found in po/.  This enables us to use an identical
1032         intl/ directory in all packages.
1034         * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1036         * textdomain.c: fix typo (#if def -> #if defined)
1038 Tue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
1040         * Makefile.in (stamp-cat-id): use top_srcdir to address source files
1041         (DISTFILES,distclean): move tupdate.perl to src/
1043         * po-to-tbl.sed.in:
1044         add additional jump to clear change flag to recognize multiline strings
1046 Tue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
1048         * textdomain.c: Protect inclusion of stdlib.h and string.h.
1050         * loadmsgcat.c: Protect inclusion of stdlib.h.
1052         * libgettext.h: Protect inclusion of locale.h.
1053         Allow use in C++ programs.
1054         Define NULL is not happened already.
1056         * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1057         po-to-tbl.sed.
1058         (distclean): remove po-to-tbl.sed and tupdate.perl.
1060         * tupdate.perl.in: Substitute Perl path even in exec line.
1061         Don't include entries without translation from old .po file.
1063 Tue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
1065         * tupdate.perl.in: use "Updated: " in msgid "".
1067         * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1068         Define getenv if !__STDC__.
1070         * bindtextdom.c: Protect stdlib.h and string.h inclusion.
1071         Define free if !__STDC__.
1073         * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1074         Define free if !__STDC__.
1076         * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1078 Mon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
1080         * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1081         Remove unneeded $(srcdir) from Makefile.in dependency.
1083         * makelinks: Add copyright and short description.
1085         * po-mode.el: Last version for 0.7.
1087         * tupdate.perl.in: Fix die message.
1089         * dcgettext.c: Protect include of string.h.
1091         * gettext.c: Protect include of stdlib.h and further tries to get NULL.
1093         * finddomain.c: Some corrections in includes.
1095         * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1097         * po-to-tbl.sed: Adopt for new .po file format.
1099         * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1101 Sun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
1103         * tupdate.perl.in: Complete rewrite for new .po file format.
1105 Sun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
1107         * First official release.  This directory contains all the code
1108         needed to internationalize own packages.  It provides functions
1109         which allow to use the X/Open catgets function with an interface
1110         like the Uniforum gettext function.  For system which does not
1111         have neither of those a complete implementation is provided.