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