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