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