Stamp ChangeLogs for release
[official-gcc.git] / texinfo / intl / ChangeLog
blob8beb4adf1f9dbc767ea3d89d4e33c5fb19b6f44e
1 Mon Aug 16 01:29:24 PDT 1999 Jeff Law  (law@cygnus.com)
3         * gcc-2.95.1 Released.
5 Wed Jul 28 21:39:31 PDT 1999 Jeff Law  (law@cygnus.com)
7         * gcc-2.95 Released.
9 Sun Jul 25 23:40:51 PDT 1999 Jeff Law  (law@cygnus.com)
11         * gcc-2.95 Released.
13 1997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
15         * intlh.inst.in: Reformat copyright.
17 1997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
19         * dcgettext.c (DCGETTEXT): Remove wrong comment.
21 1997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
23         * Makefile.in (install-data): Don't change directory to install.
25 1997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
27         * cat-compat.c: Fix copyright.
29         * localealias.c: Don't define strchr unless !HAVE_STRCHR.
31         * loadmsgcat.c: Update copyright.  Fix typos.
33         * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
34         (_nl_make_l10nflist): Handle sponsor and revision correctly.
36         * gettext.c: Update copyright.
37         * gettext.h: Likewise.
38         * hash-string.h: Likewise.
40         * finddomain.c: Remoave dead code.  Define strchr only if
41         !HAVE_STRCHR.
43         * explodename.c: Include <sys/types.h>.
45         * explodename.c: Reformat copyright text.
46         (_nl_explode_name): Fix typo.
48         * dcgettext.c: Define and use __set_errno.
49         (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
50         not defined.
52         * bindtextdom.c: Pretty printing.
54 1997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
56         * dcgettext.c (guess_category_value): Don't depend on
57         HAVE_LC_MESSAGES.  We don't need the macro here.
58         Patch by Bruno Haible <haible@ilog.fr>.
60         * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
61         macro.  Instead use HAVE_LOCALE_NULL and define it when using
62         glibc, as in dcgettext.c.
63         Patch by Bruno Haible <haible@ilog.fr>.
65         * Makefile.in (CPPFLAGS): New variable.  Reported by Franc,ois
66         Pinard.
68 Mon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
70         * Makefile.in: Implement handling of libtool.
72         * gettextP.h: Change data structures for use of generic lowlevel
73         i18n file handling.
75 Wed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
77         * textdomain.c: Put parentheses around arguments of memcpy macro
78         definition.
79         * localealias.c: Likewise.
80         * l10nflist.c: Likewise.
81         * finddomain.c: Likewise.
82         * bindtextdom.c: Likewise.
83         Reported by Thomas Esken.
85 Mon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
87         * textdomain.c: Move definition of `memcpy` macro to right
88         position.
90 Fri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
92         * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
93         bcopy if not already defined.  Reported by Thomas Esken.
94         * bindtextdom.c: Likewise.
95         * l10nflist.c: Likewise.
96         * localealias.c: Likewise.
97         * textdomain.c: Likewise.
99 Tue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
101         * Makefile.in (libdir): Change to use exec_prefix instead of
102         prefix.  Reported by Knut-HĂ„vardAksnes <etokna@eto.ericsson.se>.
104 Sat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
106         * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
107         so don't prepend uppercase `ISO' for only numeric arg.
109 Fri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
111         * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
112         definition of _GNU_SOURCE.  Patch by Roland McGrath.
114         * Makefile.in (uninstall): Fix another bug with `for' loop and
115         empty arguments.  Patch by Jim Meyering.  Correct name os
116         uninstalled files: no intl- prefix anymore.
118         * Makefile.in (install-data): Again work around shells which
119         cannot handle mpty for list.  Reported by Jim Meyering.
121 Sat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
123         * Makefile.in (install): Split goal.  Now depend on install-exec
124         and install-data.
125         (install-exec, install-data): New goals.  Created from former
126         install goal.
127         Reported by Karl Berry.
129 Sat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
131         * Makefile.in (MKINSTALLDIRS): New variable.  Path to
132         mkinstalldirs script.
133         (install): use MKINSTALLDIRS variable or if the script is not present
134         try to find it in the $top_scrdir).
136 Wed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
138         * l10nflist.c: Linux libc *partly* includes the argz_* functions.
139         Grr.  Work around by renaming the static version and use macros
140         for renaming.
142 Tue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
144         * l10nflist.c: Correct presence test macros of __argz_* functions.
146         * l10nflist.c: Include <argz.h> based on test of it instead when
147         __argz_* functions are available.
148         Reported by Andreas Schwab.
150 Thu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
152         * explodename.c, l10nflist.c: Define NULL for dumb systems.
154 Tue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
156         * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
157         result to __result to prevent name clash.
159         * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
160         get prototype for stpcpy and strcasecmp.
162         * intlh.inst.in, libgettext.h: Move declaration of
163         `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
164         from gcc's -Wnested-extern option.
166 Fri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
168         * Makefile.in (install): Remove comment.
170 Thu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
172         * Makefile.in (install): Work around for another Buglix stupidity.
173         Always use an `else' close for `if's.  Reported by Nelson Beebe.
175         * Makefile.in (intlh.inst): Correct typo in phony rule.
176         Reported by Nelson Beebe.
178 Thu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
180         * dcgettext.c (read_alias_file): Rename variable alloca_list to
181         block_list as the macro calls assume.
182         Patch by Eric Backus.
184         * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
185         malloc.
186         (read_alias_file): Rename varriabe alloca_list to block_list as the
187         macro calls assume.
188         Patch by Eric Backus.
190         * l10nflist.c: Correct conditional for <argz.h> inclusion.
191         Reported by Roland McGrath.
193         * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
194         all-@USE_NLS@.
196         * Makefile.in (install): intlh.inst comes from local dir, not
197         $(srcdir).
199         * Makefile.in (intlh.inst): Special handling of this goal.  If
200         used in gettext, this is really a rul to construct this file.  If
201         used in any other package it is defined as a .PHONY rule with
202         empty body.
204         * finddomain.c: Extract locale file information handling into
205         l10nfile.c.  Rename local stpcpy__ function to stpcpy.
207         * dcgettext.c (stpcpy): Add local definition.
209         * l10nflist.c: Solve some portability problems.  Patches partly by
210         Thomas Esken.  Add local definition of stpcpy.
212 Tue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
214         * intlh.inst.in: Don't depend including <locale.h> on
215         HAVE_LOCALE_H.  Instead configure must rewrite this fiile
216         depending on the result of the configure run.
218         * Makefile.in (install): libintl.inst is now called intlh.inst.
219         Add rules for updating intlh.inst from intlh.inst.in.
221         * libintl.inst: Renamed to intlh.inst.in.
223         * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
224         because gcc has __buitlin_alloca.
225         Reported by Roland McGrath.
227 Mon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
229         * Makefile.in (installcheck): New goal to fulfill needs of
230         automake's distcheck.
232         * Makefile.in (install): Reorder commands so that VERSION is
233         found.
235         * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
236         @datadir@/gettext.
237         (COMSRCS): Add l10nfile.c.
238         (OBJECTS): Add l10nfile.o.
239         (DISTFILES): Rename to DISTFILE.normal.  Remove $(DISTFILES.common).
240         (DISTFILE.gettext): Remove $(DISTFILES.common).
241         (all-gettext): Remove goal.
242         (install): If $(PACKAGE) = gettext install, otherwose do nothing.  No
243         package but gettext itself should install libintl.h + headers.
244         (dist): Extend goal to work for gettext, too.
245         (dist-gettext): Remove goal.
247         * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
249 Sun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
251         * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
252         find_l10nfile.
254 Sat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
256         * l10nflist.c (__argz_next): Add definition.
258         * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
259         code.  Use new l10nfile handling.
261         * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
262         alloca code.
264         * l10nflist.c: Initial revision.
266 Tue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
268         * Makefile.in (all-gettext): New goal.  Same as all-yes.
270 Thu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
272         * Makefile.in (gettextsrcdir): Define using @datadir@.
274 Tue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
276         * finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
278 Sat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
280         * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
281         with external declaration.
283 Sat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
285         * Makefile.in (all-no): Rename from all_no.
287 Sat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
289         * gettextP.h [loaded_domain]: Array `successor' must now contain up
290         to 63 elements (because of codeset name normalization).
292         * finddomain.c: Implement codeset name normalization.
294 Thu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
296         * Makefile.in (all): Define to `all-@USE_NLS@'.
297         (all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
298         is former all.
300 Mon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
302         * localealias.c (alias_compare): Increment string pointers in loop
303         of strcasecmp replacement.
305 Fri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
307         * Makefile.in (install-src): Who commented this goal out ? :-)
309 Fri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
311         * dcgettext.c (DCGETTEXT): Save `errno'.  Failing system calls
312         should not effect it because a missing catalog is no error.
313         Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
315 Tue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
317         * Makefile.in (Makefile): Explicitly use $(SHELL) for running
318         shell scripts.
320 Fri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
322         * Makefile.in (install-src): Only install library and header when
323         we use the own implementation.  Don't do it when using the
324         system's gettext or catgets functions.
326         * dcgettext.c (find_msg): Must not swap domain->hash_size here.
328 Sat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
330         * localealias.c, libintl.inst, libgettext.h, hash-string.h,
331         gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
332         Use PARAMS instead of __P.  Suggested by Roland McGrath.
334 Tue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
336         * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
337         !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
339 Mon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
341         * Makefile.in (install-src):
342         Install libintl.inst instead of libintl.h.install.
344 Sat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
346         * cat-compat.c (textdomain):
347         Reverse order in which files are tried you load.  First
348         try local file, when this failed absolute path.
350 Wed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
352         * cat-compat.c (bindtextdomain): Add missing { }.
354 Sun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
356         * libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
358         * Makefile.in:
359         Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
361 Sat Nov 25 16:12:01 1995  Franc,ois Pinard  <pinard@iro.umontreal.ca>
363         * hash-string.h: Capitalize arguments of macros.
365 Sat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
367         * Makefile.in (DISTFILES): Prevent files names longer than 13
368         characters.  libintl.h.glibc->libintl.glibc,
369         libintl.h.install->libintl.inst.  Reported by Joshua R. Poulson.
371 Sat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
373         * dcgettext.c: Fix bug in preprocessor conditionals.
375 Sat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
377         * libgettext.h: Solaris cc does not understand
378          #if !SYMBOL1 && !SYMBOL2.  Sad but true.
380 Thu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
382         * hash-string.h (hash_string):
383         Fix for machine with >32 bit `unsigned long's.
385         * dcgettext.c (DCGETTEXT):
386         Fix horrible bug in loop for alternative translation.
388 Thu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
390         * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
391         Some further simplifications in message number generation.
393 Mon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
395         * libintl.h.glibc: Use __const instead of const in prototypes.
397         * Makefile.in (install-src):
398         Install libintl.h.install instead of libintl.h.  This
399         is a stripped-down version.  Suggested by Peter Miller.
401         * libintl.h.install, libintl.h.glibc: Initial revision.
403         * localealias.c (_nl_expand_alias, read_alias_file):
404         Protect prototypes in type casts by __P.
406 Tue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
408         * hash-string.h: Correct prototype for hash_string.
410 Sun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
412         * hash-string.h (hash_string): Add prototype.
414         * gettextP.h: Fix copyright.
415         (SWAP): Add prototype.
417 Wed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
419         * localealias.c (read_alias_file): Forgot sizeof.
420         Avoid calling *printf function.  This introduces a big overhead.
421         Patch by Roland McGrath.
423 Tue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
425         * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
427         * finddomain.c (stpcpy):
428         Define substitution function local.  The macro was to flaky.
430         * cat-compat.c: Fix typo.
432         * xopen-msg.sed, linux-msg.sed:
433         While bringing message number to right place only accept digits.
435         * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
436         leading 0s we don't need to remove them.  Reported by Marcus
437         Daniels.
439         * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
440         dependency.  Reported by Marcus Daniels.
442         * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
443         Generally cleanup using #if instead of #ifndef.
445         * Makefile.in: Correct typos in comment.  By Franc,ois Pinard.
447 Mon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
449         * Makefile.in (install-src): Don't install libintl.h and libintl.a
450         if we use an available gettext implementation.
452 Sun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
454         * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
455         by Franc,ois Pinard.
457         * libgettext.h: Use #if instead of #ifdef/#ifndef.
459         * finddomain.c:
460         Comments describing what has to be done should start with FIXME.
462 Sun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
464         * Makefile.in (DISTFILES): Split.  Use DISTFILES with normal meaning.
465         DISTFILES.common names the files common to both dist goals.
466         DISTFILES.gettext are the files only distributed in GNU gettext.
468 Sun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
470         * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
471         This was necessary since a change in _nl_find_msg several weeks
472         ago.  I really don't know this is still not fixed.
474 Sun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
476         * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
477         might mark a special condition.
479         * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
481         * Makefile.in (dist): Suppress error message when ln failed.
482         Get files from $(srcdir) explicitly.
484         * libgettext.h (gettext_const): Rename to gettext_noop.
486 Fri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
488         * finddomain.c (make_entry_rec):
489         Protect against wrong locale names by testing mask.
491         * libgettext.h (gettext_const): Add macro definition.
492         Capitalize macro arguments.
494 Thu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
496         * finddomain.c (_nl_find_domain):
497         Test for pointer != NULL before accessing value.
498         Reported by Tom Tromey.
500         * gettext.c (NULL):
501         Define as (void*)0 instad of 0.  Reported by Franc,ois Pinard.
503 Mon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
505         * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
507 Sat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
509         * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
511         * localealias.c (alias_compare):
512         Peter Miller reported that tolower in some systems is
513         even dumber than I thought.  Protect call by `isupper'.
515 Fri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
517         * Makefile.in (libdir, includedir): New variables.
518         (install-src): Install libintl.a and libintl.h in correct dirs.
520 Fri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
522         * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
524         * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
526         * localealias.c:
527         Fix typo and superflous test.  Reported by Christian von Roques.
529 Fri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
531         * finddomain.c (_nl_find_domain):
532         Correct some remainder from the pre-CEN syntax.  Now
533         we don't have a constant number of successors anymore.
535 Wed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
537         * Makefile.in (DISTFILES): Add libintl.h.glibc.
539         * Makefile.in (dist-libc): Add goal for packing sources for glibc.
540         (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
542         * loadmsgcat.c: Forget to continue #if line.
544         * localealias.c:
545         [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
546         space clean.
548         * dcgettext.c, finddomain.c: Better comment to last change.
550         * loadmsgcat.c:
551         [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
552         __fstat, __open, __close, __read, __mmap, and __munmap resp
553         to keep ANSI C name space clean.
555         * finddomain.c:
556         [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
558         * dcgettext.c:
559         [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
560         keep ANSI C name space clean.
562         * libgettext.h:
563         Include sys/types.h for those old SysV systems out there.
564         Reported by Francesco Potorti`.
566         * loadmsgcat.c (use_mmap): Define if compiled for glibc.
568         * bindtextdom.c: Include all those standard headers
569         unconditionally if _LIBC is defined.
571         * finddomain.c: Fix 2 times defiend -> defined.
573         * textdomain.c: Include libintl.h instead of libgettext.h when
574         compiling for glibc.  Include all those standard headers
575         unconditionally if _LIBC is defined.
577         * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
579         * gettext.c:
580         Include libintl.h instead of libgettext.h when compiling for glibc.
581         Get NULL from stddef.h if we compile for glibc.
583         * finddomain.c: Include libintl.h instead of libgettext.h when
584         compiling for glibc.  Include all those standard headers
585         unconditionally if _LIBC is defined.
587         * dcgettext.c: Include all those standard headers unconditionally
588         if _LIBC is defined.
590         * dgettext.c: If compiled in glibc include libintl.h instead of
591         libgettext.h.
592         (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
594         * dcgettext.c: If compiled in glibc include libintl.h instead of
595         libgettext.h.
596         (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
598         * bindtextdom.c:
599         If compiled in glibc include libintl.h instead of libgettext.h.
601 Mon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
603         * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
604         Reported by Marcus Daniels.
606         * cat-compat.c (bindtextdomain):
607         String used in putenv must not be recycled.
608         Reported by Marcus Daniels.
610         * libgettext.h (__USE_GNU_GETTEXT):
611         Additional symbol to signal that we use GNU gettext
612         library.
614         * cat-compat.c (bindtextdomain):
615         Fix bug with the strange stpcpy replacement.
616         Reported by Nelson Beebe.
618 Sat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
620         * cat-compat.c: Include <string.h> for stpcpy prototype.
622         * localealias.c (read_alias_file):
623         While expand strdup code temporary variable `cp' hided
624         higher level variable with same name.  Rename to `tp'.
626         * textdomain.c (textdomain):
627         Avoid warning by using temporary variable in strdup code.
629         * finddomain.c (_nl_find_domain): Remove unused variable `application'.
631 Thu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
633         * localealias.c (alias_compare):
634         Use strcasecmp() only if available.  Else use
635         implementation in place.
637         * intl-compat.c:
638         Wrapper functions now call *__ functions instead of __*.
640         * libgettext.h: Declare prototypes for *__ functions instead for __*.
642         * cat-compat.c, loadmsgcat.c:
643         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
644         of the standard libc and so prevent libintl.a from being used
645         standalone.
647         * bindtextdom.c:
648         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
649         of the standard libc and so prevent libintl.a from being used
650         standalone.
651         Rename to bindtextdomain__ if not used in GNU C Library.
653         * dgettext.c:
654         Rename function to dgettext__ if not used in GNU C Library.
656         * gettext.c:
657         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
658         of the standard libc and so prevent libintl.a from being used
659         standalone.
660         Functions now called gettext__ if not used in GNU C Library.
662         * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
663         Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
664         of the standard libc and so prevent libintl.a from being used
665         standalone.
667 Sun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
669         * finddomain.c: Correct some bugs in handling of CEN standard
670         locale definitions.
672 Thu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
674         * finddomain.c: Implement CEN syntax.
676         * gettextP.h (loaded_domain): Extend number of successors to 31.
678 Sat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
680         * Makefile.in (aliaspath): Remove path to X11 locale dir.
682         * Makefile.in: Make install-src depend on install.  This helps
683         gettext to install the sources and other packages can use the
684         install goal.
686 Sat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
688         * Makefile.in (uninstall): Remove stuff installed by install-src.
690 Tue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
692         * VERSION.in: Initial revision.
694         * Makefile.in (DISTFILES):
695         Add VERSION file.  This is not necessary for gettext, but
696         for other packages using this library.
698 Tue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
700         * gettextP.h (_nl_find_domain):
701         New prototype after changing search strategy.
703         * finddomain.c (_nl_find_domain):
704         We now try only to find a specified catalog.  Fall back to other
705         catalogs listed in the locale list is now done in __dcgettext.
707         * dcgettext.c (__dcgettext):
708         Now we provide message fall back even to different languages.
709         I.e. if a message is not available in one language all the other
710         in the locale list a tried.  Formerly fall back was only possible
711         within one language.  Implemented by moving one loop from
712         _nl_find_domain to here.
714 Mon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
716         * Makefile.in (gettextsrcdir):
717         Directory where source of GNU gettext library are made
718         available.
719         (INSTALL, INSTALL_DATA): Programs used for installing sources.
720         (gettext-src): New.  Rule to install GNU gettext sources for use in
721         gettextize shell script.
723 Sun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
725         * loadmsgcat.c (_nl_load_domain):
726         Use mmap for loading only when munmap function is
727         also available.
729         * Makefile.in (install): Depend on `all' goal.
731 Wed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
733         * localealias.c (read_alias_file):
734         Do not overwrite '\n' when terminating alias value string.
736         * localealias.c (read_alias_file):
737         Handle long lines.  Ignore the rest not fitting in
738         the buffer after the initial `fgets' call.
740 Wed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
742         * gettextP.h (_nl_load_domain):
743         Add prototype, replacing prototype for _nl_load_msg_cat.
745         * finddomain.c (_nl_find_domain):
746         Remove unneeded variable filename and filename_len.
747         (expand_alias): Remove prototype because functions does not
748         exist anymore.
750         * localealias.c (read_alias_file):
751         Change type of fname_len parameter to int.
752         (xmalloc): Add prototype.
754         * loadmsgcat.c: Better prototypes for xmalloc.
756 Tue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
758         * finddomain.c (_nl_find_domain):
759         Allow alias name to be constructed from the four components.
761         * Makefile.in (aliaspath): New variable.  Set to preliminary value.
762         (SOURCES): Add localealias.c.
763         (OBJECTS): Add localealias.o.
765         * gettextP.h: Add prototype for _nl_expand_alias.
767         * finddomain.c: Aliasing handled in intl/localealias.c.
769         * localealias.c: Aliasing for locale names.
771         * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
773 Mon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
775         * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
777         * cat-compat.c (bindtextdomain):
778         Correct implementation.  dirname parameter was not used.
779         Reported by Marcus Daniels.
781         * gettextP.h (loaded_domain):
782         New fields `successor' and `decided' for oo, lazy
783         message handling implementation.
785         * dcgettext.c:
786         Adopt for oo, lazy message handliing.
787         Now we can inherit translations from less specific locales.
788         (find_msg): New function.
790         * loadmsgcat.c, finddomain.c:
791         Complete rewrite.  Implement oo, lazy message handling :-).
792         We now have an additional environment variable `LANGUAGE' with
793         a higher priority than LC_ALL for the LC_MESSAGE locale.
794         Here we can set a colon separated list of specifications each
795         of the form `language[_territory[.codeset]][@modifier]'.
797 Sat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
799         * finddomain.c (unistd.h):
800         Include to get _PC_PATH_MAX defined on system having it.
802 Fri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
804         * finddomain.c (stpcpy): Include prototype.
806         * Makefile.in (dist): Remove `copying instead' message.
808 Wed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
810         * Makefile.in (ID, TAGS): Do not use $^.
812 Tue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
814         * Makefile.in (TAGS, ID): Use $^ as command argument.
815         (TAGS): Give etags -o option t write to current directory,
816         not $(srcdir).
817         (ID): Use $(srcdir) instead os $(top_srcdir)/src.
818         (distclean): Remove ID.
820 Sun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
822         * Makefile.in (gnulocaledir):
823         New variable, always using share/ for data directory.
824         (DEFS): Add GNULOCALEDIR, used in finddomain.c.
826         * finddomain.c (_nl_default_dirname):
827         Set to GNULOCALEDIR, because it always has to point
828         to the directory where GNU gettext Library writes it to.
830         * intl-compat.c (textdomain, bindtextdomain):
831         Undefine macros before function definition.
833 Sat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
835         * libgettext.h (_LIBINTL_H):
836         Protect definition in case where this file is included as
837         libgettext.h on Solaris machines.  Add comment about this.
839 Wed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
841         * intl-compat.c (textdomain): Correct typo.
843 Wed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
845         * dcgettext.c (dcgettext): Function now called __dcgettext.
847         * dgettext.c (dgettext): Now called __dgettext and calls
848         __dcgettext.
850         * gettext.c (gettext):
851         Function now called __gettext and calls __dgettext.
853         * textdomain.c (textdomain): Function now called __textdomain.
855         * bindtextdom.c (bindtextdomain): Function now called
856         __bindtextdomain.
858         * intl-compat.c: Initial revision.
860         * Makefile.in (SOURCES): Add intl-compat.c.
861         (OBJECTS): We always compile the GNU gettext library functions.
862         OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
863         and intl-compat.o.
864         (GETTOBJS): Contains now only intl-compat.o.
866         * libgettext.h:
867         Re-include protection matches dualistic character of libgettext.h.
868         For all functions in GNU gettext library define __ counter part.
870         * finddomain.c (strchr): Define as index if not found in C library.
871         (_nl_find_domain): For relative paths paste / in between.
873 Tue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
875         * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
877         * xopen-msg.sed: Fix bug with `msgstr ""' lines.
878         A little bit better comments.
880 Tue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
882         * Makefile.in:
883         po-mode.el, makelinks, combine-sh are now found in ../misc.
885         * po-mode.el, makelinks, combine-sh, elisp-comp:
886         Moved to ../misc/.
888         * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
890 Sun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
892         * Makefile.in (INSTALL, INSTALL_DATA): New variables.
893         (install-data, uninstall): Install/uninstall .elc file.
895         * po-mode.el (Installation comment):
896         Add .pox as possible extension of .po files.
898 Sun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
900         * elisp-comp: Complete new version by Franc,ois: This does not
901         fail when not compiling in the source directory.
903 Sun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
905         * Makefile.in (../po/cat-id-tbl.o):
906         Use $(MAKE) instead of make for recursive make.
908         * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
909         (install-exec): Add missing dummy goal.
910         (install-data, uninstall): @ in multi-line shell command at
911         beginning, not in front of echo.  Reported by Eric Backus.
913 Sat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
915         * Makefile.in (DISTFILES):
916         Rename libgettext.perl to gettext.perl to fit in 14 chars
917         file systems.
919         * gettext.perl:
920         Rename to gettext.perl to fit in 14 chars file systems.
922 Thu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
924         * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
926 Thu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
928         * po2tbl.sed.in: Pretty printing.
930         * linux-msg.sed, xopen-msg.sed:
931         Correct bugs with handling substitute flags in branches.
933         * hash-string.h (hash_string):
934         Old K&R compilers don't under stand `unsigned char'.
936         * gettext.h (nls_uint32):
937         Some old K&R compilers (eg HP) don't understand `unsigned int'.
939         * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
941 Thu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
943         * Makefile.in (ELCFILES): New variable.
944         (DISTFILES): Add elisp-comp.
945         Add implicit rule for .el -> .elc compilation.
946         (install-data): install $ELCFILES
947         (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
949         * elisp-comp: Initial revision
951 Wed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
953         * Makefile.in:
954         cat-id-tbl.c is now found in po/.  This enables us to use an identical
955         intl/ directory in all packages.
957         * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
959         * textdomain.c: fix typo (#if def -> #if defined)
961 Tue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
963         * Makefile.in (stamp-cat-id): use top_srcdir to address source files
964         (DISTFILES,distclean): move tupdate.perl to src/
966         * po-to-tbl.sed.in:
967         add additional jump to clear change flag to recognize multiline strings
969 Tue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
971         * textdomain.c: Protect inclusion of stdlib.h and string.h.
973         * loadmsgcat.c: Protect inclusion of stdlib.h.
975         * libgettext.h: Protect inclusion of locale.h.
976         Allow use in C++ programs.
977         Define NULL is not happened already.
979         * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
980         po-to-tbl.sed.
981         (distclean): remove po-to-tbl.sed and tupdate.perl.
983         * tupdate.perl.in: Substitute Perl path even in exec line.
984         Don't include entries without translation from old .po file.
986 Tue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
988         * tupdate.perl.in: use "Updated: " in msgid "".
990         * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
991         Define getenv if !__STDC__.
993         * bindtextdom.c: Protect stdlib.h and string.h inclusion.
994         Define free if !__STDC__.
996         * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
997         Define free if !__STDC__.
999         * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1001 Mon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
1003         * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1004         Remove unneeded $(srcdir) from Makefile.in dependency.
1006         * makelinks: Add copyright and short description.
1008         * po-mode.el: Last version for 0.7.
1010         * tupdate.perl.in: Fix die message.
1012         * dcgettext.c: Protect include of string.h.
1014         * gettext.c: Protect include of stdlib.h and further tries to get NULL.
1016         * finddomain.c: Some corrections in includes.
1018         * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1020         * po-to-tbl.sed: Adopt for new .po file format.
1022         * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1024 Sun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
1026         * tupdate.perl.in: Complete rewrite for new .po file format.
1028 Sun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
1030         * First official release.  This directory contains all the code
1031         needed to internationalize own packages.  It provides functions
1032         which allow to use the X/Open catgets function with an interface
1033         like the Uniforum gettext function.  For system which does not
1034         have neither of those a complete implementation is provided.