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