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