OSDN Git Service

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