39
78
* Release of E2fsprogs 1.19
41
1998-04-29 Ulrich Drepper <drepper@cygnus.com>
43
* intl/localealias.c (read_alias_file): Use unsigned char for
44
local variables. Remove unused variable tp.
45
* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
46
for type of codeset. For losing Solaris systems.
47
* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
48
* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
50
Patches by Jim Meyering.
52
1998-04-28 Ulrich Drepper <drepper@cygnus.com>
54
* loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
55
mmap is not supported.
57
* hash-string.h: Don't include <values.h>.
59
1998-04-27 Ulrich Drepper <drepper@cygnus.com>
61
* textdomain.c: Use strdup is available.
63
* localealias.c: Define HAVE_MEMPCPY so that we can use this
64
function. Define and use semapahores to protect modfication of
65
global objects when compiling for glibc. Add code to allow
68
* l10nflist.c: Don't assume stpcpy not being a macro.
70
* gettextP.h: Define internal_function macri if not already done.
71
Use glibc byte-swap macros instead of defining SWAP when compiled
73
(struct loaded_domain): Add elements to allow unloading.
75
* Makefile.in (distclean): Don't remove libintl.h here.
77
* bindtextdomain.c: Carry over changes from glibc. Use strdup if
80
* dcgettext.c: Don't assume stpcpy not being a macro. Mark internal
81
functions. Add memory freeing code for glibc.
83
* dgettext.c: Update copyright.
85
* explodename.c: Include stdlib.h and string.h only if they exist.
86
Use strings.h eventually.
88
* finddomain.c: Mark internal functions. Use strdup if available.
89
Add memory freeing code for glibc.
91
1997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com>
93
* libgettext.h: Fix dummy textdomain and bindtextdomain macros.
94
They should return reasonable values.
95
Reported by Tom Tromey <tromey@cygnus.com>.
97
1997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com>
99
* libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
100
* intlh.inst.in: Likewise.
101
Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
103
* libintl.glibc: Update from current glibc version.
105
1997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com>
107
* intlh.inst.in: Reformat copyright.
109
1997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com>
111
* dcgettext.c (DCGETTEXT): Remove wrong comment.
113
1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com>
115
* Makefile.in (install-data): Don't change directory to install.
117
1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com>
119
* cat-compat.c: Fix copyright.
121
* localealias.c: Don't define strchr unless !HAVE_STRCHR.
123
* loadmsgcat.c: Update copyright. Fix typos.
125
* l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
126
(_nl_make_l10nflist): Handle sponsor and revision correctly.
128
* gettext.c: Update copyright.
129
* gettext.h: Likewise.
130
* hash-string.h: Likewise.
132
* finddomain.c: Remoave dead code. Define strchr only if
135
* explodename.c: Include <sys/types.h>.
137
* explodename.c: Reformat copyright text.
138
(_nl_explode_name): Fix typo.
140
* dcgettext.c: Define and use __set_errno.
141
(guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
144
* bindtextdom.c: Pretty printing.
146
1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com>
148
* dcgettext.c (guess_category_value): Don't depend on
149
HAVE_LC_MESSAGES. We don't need the macro here.
150
Patch by Bruno Haible <haible@ilog.fr>.
152
* cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
153
macro. Instead use HAVE_LOCALE_NULL and define it when using
154
glibc, as in dcgettext.c.
155
Patch by Bruno Haible <haible@ilog.fr>.
157
* Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois
160
Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com>
162
* Makefile.in: Implement handling of libtool.
164
* gettextP.h: Change data structures for use of generic lowlevel
167
Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com>
169
* textdomain.c: Put parentheses around arguments of memcpy macro
171
* localealias.c: Likewise.
172
* l10nflist.c: Likewise.
173
* finddomain.c: Likewise.
174
* bindtextdom.c: Likewise.
175
Reported by Thomas Esken.
177
Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com>
179
* textdomain.c: Move definition of `memcpy` macro to right
182
Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com>
184
* finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
185
bcopy if not already defined. Reported by Thomas Esken.
186
* bindtextdom.c: Likewise.
187
* l10nflist.c: Likewise.
188
* localealias.c: Likewise.
189
* textdomain.c: Likewise.
191
Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com>
193
* Makefile.in (libdir): Change to use exec_prefix instead of
194
prefix. Reported by Knut-Hļæ½vardAksnes <etokna@eto.ericsson.se>.
196
Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com>
198
* l10nflist.c (_nl_normalize_codeset): We convert to lower case,
199
so don't prepend uppercase `ISO' for only numeric arg.
201
Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
203
* l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
204
definition of _GNU_SOURCE. Patch by Roland McGrath.
206
* Makefile.in (uninstall): Fix another bug with `for' loop and
207
empty arguments. Patch by Jim Meyering. Correct name os
208
uninstalled files: no intl- prefix anymore.
210
* Makefile.in (install-data): Again work around shells which
211
cannot handle mpty for list. Reported by Jim Meyering.
213
Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com>
215
* Makefile.in (install): Split goal. Now depend on install-exec
217
(install-exec, install-data): New goals. Created from former
219
Reported by Karl Berry.
221
Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com>
223
* Makefile.in (MKINSTALLDIRS): New variable. Path to
224
mkinstalldirs script.
225
(install): use MKINSTALLDIRS variable or if the script is not present
226
try to find it in the $top_scrdir).
228
Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com>
230
* l10nflist.c: Linux libc *partly* includes the argz_* functions.
231
Grr. Work around by renaming the static version and use macros
234
Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com>
236
* l10nflist.c: Correct presence test macros of __argz_* functions.
238
* l10nflist.c: Include <argz.h> based on test of it instead when
239
__argz_* functions are available.
240
Reported by Andreas Schwab.
242
Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com>
244
* explodename.c, l10nflist.c: Define NULL for dumb systems.
246
Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com>
248
* intlh.inst.in, libgettext.h (dcgettext): Rename local variable
249
result to __result to prevent name clash.
251
* l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
252
get prototype for stpcpy and strcasecmp.
254
* intlh.inst.in, libgettext.h: Move declaration of
255
`_nl_msg_cat_cntr' outside __extension__ block to prevent warning
256
from gcc's -Wnested-extern option.
258
Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com>
260
* Makefile.in (install): Remove comment.
262
Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com>
264
* Makefile.in (install): Work around for another Buglix stupidity.
265
Always use an `else' close for `if's. Reported by Nelson Beebe.
267
* Makefile.in (intlh.inst): Correct typo in phony rule.
268
Reported by Nelson Beebe.
270
Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com>
272
* dcgettext.c (read_alias_file): Rename variable alloca_list to
273
block_list as the macro calls assume.
274
Patch by Eric Backus.
276
* localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
278
(read_alias_file): Rename varriabe alloca_list to block_list as the
280
Patch by Eric Backus.
282
* l10nflist.c: Correct conditional for <argz.h> inclusion.
283
Reported by Roland McGrath.
285
* Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
288
* Makefile.in (install): intlh.inst comes from local dir, not
291
* Makefile.in (intlh.inst): Special handling of this goal. If
292
used in gettext, this is really a rul to construct this file. If
293
used in any other package it is defined as a .PHONY rule with
296
* finddomain.c: Extract locale file information handling into
297
l10nfile.c. Rename local stpcpy__ function to stpcpy.
299
* dcgettext.c (stpcpy): Add local definition.
301
* l10nflist.c: Solve some portability problems. Patches partly by
302
Thomas Esken. Add local definition of stpcpy.
304
Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com>
306
* intlh.inst.in: Don't depend including <locale.h> on
307
HAVE_LOCALE_H. Instead configure must rewrite this fiile
308
depending on the result of the configure run.
310
* Makefile.in (install): libintl.inst is now called intlh.inst.
311
Add rules for updating intlh.inst from intlh.inst.in.
313
* libintl.inst: Renamed to intlh.inst.in.
315
* localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
316
because gcc has __buitlin_alloca.
317
Reported by Roland McGrath.
319
Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com>
321
* Makefile.in (installcheck): New goal to fulfill needs of
322
automake's distcheck.
324
* Makefile.in (install): Reorder commands so that VERSION is
327
* Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
329
(COMSRCS): Add l10nfile.c.
330
(OBJECTS): Add l10nfile.o.
331
(DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common).
332
(DISTFILE.gettext): Remove $(DISTFILES.common).
333
(all-gettext): Remove goal.
334
(install): If $(PACKAGE) = gettext install, otherwose do nothing. No
335
package but gettext itself should install libintl.h + headers.
336
(dist): Extend goal to work for gettext, too.
337
(dist-gettext): Remove goal.
339
* dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
341
Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com>
343
* loadmsgcat.c (_nl_load_domain): Parameter is now comes from
346
Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com>
348
* l10nflist.c (__argz_next): Add definition.
350
* dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
351
code. Use new l10nfile handling.
353
* localealias.c [!HAVE_ALLOCA]: Add code for handling missing
356
* l10nflist.c: Initial revision.
358
Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware>
360
* Makefile.in (all-gettext): New goal. Same as all-yes.
362
Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de>
364
* Makefile.in (gettextsrcdir): Define using @datadir@.
366
Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware>
368
* finddomain.c: Include <ctype.h>. Reported by Roland McGrath.
370
Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware>
372
* finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
373
with external declaration.
375
Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware>
377
* Makefile.in (all-no): Rename from all_no.
379
Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware>
381
* gettextP.h [loaded_domain]: Array `successor' must now contain up
382
to 63 elements (because of codeset name normalization).
384
* finddomain.c: Implement codeset name normalization.
386
Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware>
388
* Makefile.in (all): Define to `all-@USE_NLS@'.
389
(all-yes, all_no): New goals. `all-no' is noop, `all-yes'
392
Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com>
394
* localealias.c (alias_compare): Increment string pointers in loop
395
of strcasecmp replacement.
397
Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware>
399
* Makefile.in (install-src): Who commented this goal out ? :-)
401
Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware>
403
* dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls
404
should not effect it because a missing catalog is no error.
405
Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
407
Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware>
409
* Makefile.in (Makefile): Explicitly use $(SHELL) for running
412
Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
414
* Makefile.in (install-src): Only install library and header when
415
we use the own implementation. Don't do it when using the
416
system's gettext or catgets functions.
418
* dcgettext.c (find_msg): Must not swap domain->hash_size here.
420
Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware>
422
* localealias.c, libintl.inst, libgettext.h, hash-string.h,
423
gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
424
Use PARAMS instead of __P. Suggested by Roland McGrath.
426
Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu>
428
* libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
429
!_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
431
Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware>
433
* Makefile.in (install-src):
434
Install libintl.inst instead of libintl.h.install.
436
Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu>
438
* cat-compat.c (textdomain):
439
Reverse order in which files are tried you load. First
440
try local file, when this failed absolute path.
442
Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
444
* cat-compat.c (bindtextdomain): Add missing { }.
446
Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware>
448
* libintl.inst: Add missing __P definition. Reported by Nelson Beebe.
451
Add dummy `all' and `dvi' goals. Reported by Tom Tromey.
453
Sat Nov 25 16:12:01 1995 Franc,ois Pinard <pinard@iro.umontreal.ca>
455
* hash-string.h: Capitalize arguments of macros.
457
Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware>
459
* Makefile.in (DISTFILES): Prevent files names longer than 13
460
characters. libintl.h.glibc->libintl.glibc,
461
libintl.h.install->libintl.inst. Reported by Joshua R. Poulson.
463
Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com>
465
* dcgettext.c: Fix bug in preprocessor conditionals.
467
Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
469
* libgettext.h: Solaris cc does not understand
470
#if !SYMBOL1 && !SYMBOL2. Sad but true.
472
Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware>
474
* hash-string.h (hash_string):
475
Fix for machine with >32 bit `unsigned long's.
477
* dcgettext.c (DCGETTEXT):
478
Fix horrible bug in loop for alternative translation.
480
Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware>
482
* po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
483
Some further simplifications in message number generation.
485
Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware>
487
* libintl.h.glibc: Use __const instead of const in prototypes.
489
* Makefile.in (install-src):
490
Install libintl.h.install instead of libintl.h. This
491
is a stripped-down version. Suggested by Peter Miller.
493
* libintl.h.install, libintl.h.glibc: Initial revision.
495
* localealias.c (_nl_expand_alias, read_alias_file):
496
Protect prototypes in type casts by __P.
498
Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware>
500
* hash-string.h: Correct prototype for hash_string.
502
Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware>
504
* hash-string.h (hash_string): Add prototype.
506
* gettextP.h: Fix copyright.
507
(SWAP): Add prototype.
509
Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware>
511
* localealias.c (read_alias_file): Forgot sizeof.
512
Avoid calling *printf function. This introduces a big overhead.
513
Patch by Roland McGrath.
515
Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware>
517
* finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
519
* finddomain.c (stpcpy):
520
Define substitution function local. The macro was to flaky.
522
* cat-compat.c: Fix typo.
524
* xopen-msg.sed, linux-msg.sed:
525
While bringing message number to right place only accept digits.
527
* linux-msg.sed, xopen-msg.sed: Now that the counter does not have
528
leading 0s we don't need to remove them. Reported by Marcus
531
* Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
532
dependency. Reported by Marcus Daniels.
534
* cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
535
Generally cleanup using #if instead of #ifndef.
537
* Makefile.in: Correct typos in comment. By Franc,ois Pinard.
539
Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware>
541
* Makefile.in (install-src): Don't install libintl.h and libintl.a
542
if we use an available gettext implementation.
544
Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware>
546
* libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported
549
* libgettext.h: Use #if instead of #ifdef/#ifndef.
552
Comments describing what has to be done should start with FIXME.
554
Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware>
556
* Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning.
557
DISTFILES.common names the files common to both dist goals.
558
DISTFILES.gettext are the files only distributed in GNU gettext.
560
Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware>
562
* dcgettext.c (DCGETTEXT): Correct searching in derived locales.
563
This was necessary since a change in _nl_find_msg several weeks
564
ago. I really don't know this is still not fixed.
566
Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware>
568
* loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This
569
might mark a special condition.
571
* finddomain.c (make_entry_rec): Don't make illegal entry as decided.
573
* Makefile.in (dist): Suppress error message when ln failed.
574
Get files from $(srcdir) explicitly.
576
* libgettext.h (gettext_const): Rename to gettext_noop.
578
Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware>
580
* finddomain.c (make_entry_rec):
581
Protect against wrong locale names by testing mask.
583
* libgettext.h (gettext_const): Add macro definition.
584
Capitalize macro arguments.
586
Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware>
588
* finddomain.c (_nl_find_domain):
589
Test for pointer != NULL before accessing value.
590
Reported by Tom Tromey.
593
Define as (void*)0 instad of 0. Reported by Franc,ois Pinard.
595
Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware>
597
* po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
599
Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware>
601
* libgettext.h: Disable dcgettext optimization for Solaris 2.3.
603
* localealias.c (alias_compare):
604
Peter Miller reported that tolower in some systems is
605
even dumber than I thought. Protect call by `isupper'.
607
Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware>
609
* Makefile.in (libdir, includedir): New variables.
610
(install-src): Install libintl.a and libintl.h in correct dirs.
612
Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware>
614
* Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
616
* po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
619
Fix typo and superflous test. Reported by Christian von Roques.
621
Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware>
623
* finddomain.c (_nl_find_domain):
624
Correct some remainder from the pre-CEN syntax. Now
625
we don't have a constant number of successors anymore.
627
Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware>
629
* Makefile.in (DISTFILES): Add libintl.h.glibc.
631
* Makefile.in (dist-libc): Add goal for packing sources for glibc.
632
(COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
634
* loadmsgcat.c: Forget to continue #if line.
637
[_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
640
* dcgettext.c, finddomain.c: Better comment to last change.
643
[_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
644
__fstat, __open, __close, __read, __mmap, and __munmap resp
645
to keep ANSI C name space clean.
648
[_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
651
[_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
652
keep ANSI C name space clean.
655
Include sys/types.h for those old SysV systems out there.
656
Reported by Francesco Potorti`.
658
* loadmsgcat.c (use_mmap): Define if compiled for glibc.
660
* bindtextdom.c: Include all those standard headers
661
unconditionally if _LIBC is defined.
663
* finddomain.c: Fix 2 times defiend -> defined.
665
* textdomain.c: Include libintl.h instead of libgettext.h when
666
compiling for glibc. Include all those standard headers
667
unconditionally if _LIBC is defined.
669
* localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
672
Include libintl.h instead of libgettext.h when compiling for glibc.
673
Get NULL from stddef.h if we compile for glibc.
675
* finddomain.c: Include libintl.h instead of libgettext.h when
676
compiling for glibc. Include all those standard headers
677
unconditionally if _LIBC is defined.
679
* dcgettext.c: Include all those standard headers unconditionally
682
* dgettext.c: If compiled in glibc include libintl.h instead of
684
(locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
686
* dcgettext.c: If compiled in glibc include libintl.h instead of
688
(getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
691
If compiled in glibc include libintl.h instead of libgettext.h.
693
Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware>
695
* localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
696
Reported by Marcus Daniels.
698
* cat-compat.c (bindtextdomain):
699
String used in putenv must not be recycled.
700
Reported by Marcus Daniels.
702
* libgettext.h (__USE_GNU_GETTEXT):
703
Additional symbol to signal that we use GNU gettext
706
* cat-compat.c (bindtextdomain):
707
Fix bug with the strange stpcpy replacement.
708
Reported by Nelson Beebe.
710
Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware>
712
* cat-compat.c: Include <string.h> for stpcpy prototype.
714
* localealias.c (read_alias_file):
715
While expand strdup code temporary variable `cp' hided
716
higher level variable with same name. Rename to `tp'.
718
* textdomain.c (textdomain):
719
Avoid warning by using temporary variable in strdup code.
721
* finddomain.c (_nl_find_domain): Remove unused variable `application'.
723
Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware>
725
* localealias.c (alias_compare):
726
Use strcasecmp() only if available. Else use
727
implementation in place.
730
Wrapper functions now call *__ functions instead of __*.
732
* libgettext.h: Declare prototypes for *__ functions instead for __*.
734
* cat-compat.c, loadmsgcat.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
740
Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
741
of the standard libc and so prevent libintl.a from being used
743
Rename to bindtextdomain__ if not used in GNU C Library.
746
Rename function to dgettext__ if not used in GNU C Library.
749
Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
750
of the standard libc and so prevent libintl.a from being used
752
Functions now called gettext__ if not used in GNU C Library.
754
* dcgettext.c, localealias.c, textdomain.c, finddomain.c:
755
Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
756
of the standard libc and so prevent libintl.a from being used
759
Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware>
761
* finddomain.c: Correct some bugs in handling of CEN standard
764
Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware>
766
* finddomain.c: Implement CEN syntax.
768
* gettextP.h (loaded_domain): Extend number of successors to 31.
770
Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware>
772
* Makefile.in (aliaspath): Remove path to X11 locale dir.
774
* Makefile.in: Make install-src depend on install. This helps
775
gettext to install the sources and other packages can use the
778
Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware>
780
* Makefile.in (uninstall): Remove stuff installed by install-src.
782
Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware>
784
* VERSION.in: Initial revision.
786
* Makefile.in (DISTFILES):
787
Add VERSION file. This is not necessary for gettext, but
788
for other packages using this library.
790
Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware>
792
* gettextP.h (_nl_find_domain):
793
New prototype after changing search strategy.
795
* finddomain.c (_nl_find_domain):
796
We now try only to find a specified catalog. Fall back to other
797
catalogs listed in the locale list is now done in __dcgettext.
799
* dcgettext.c (__dcgettext):
800
Now we provide message fall back even to different languages.
801
I.e. if a message is not available in one language all the other
802
in the locale list a tried. Formerly fall back was only possible
803
within one language. Implemented by moving one loop from
804
_nl_find_domain to here.
806
Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware>
808
* Makefile.in (gettextsrcdir):
809
Directory where source of GNU gettext library are made
811
(INSTALL, INSTALL_DATA): Programs used for installing sources.
812
(gettext-src): New. Rule to install GNU gettext sources for use in
813
gettextize shell script.
815
Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware>
817
* loadmsgcat.c (_nl_load_domain):
818
Use mmap for loading only when munmap function is
821
* Makefile.in (install): Depend on `all' goal.
823
Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware>
825
* localealias.c (read_alias_file):
826
Do not overwrite '\n' when terminating alias value string.
828
* localealias.c (read_alias_file):
829
Handle long lines. Ignore the rest not fitting in
830
the buffer after the initial `fgets' call.
832
Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware>
834
* gettextP.h (_nl_load_domain):
835
Add prototype, replacing prototype for _nl_load_msg_cat.
837
* finddomain.c (_nl_find_domain):
838
Remove unneeded variable filename and filename_len.
839
(expand_alias): Remove prototype because functions does not
842
* localealias.c (read_alias_file):
843
Change type of fname_len parameter to int.
844
(xmalloc): Add prototype.
846
* loadmsgcat.c: Better prototypes for xmalloc.
848
Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware>
850
* finddomain.c (_nl_find_domain):
851
Allow alias name to be constructed from the four components.
853
* Makefile.in (aliaspath): New variable. Set to preliminary value.
854
(SOURCES): Add localealias.c.
855
(OBJECTS): Add localealias.o.
857
* gettextP.h: Add prototype for _nl_expand_alias.
859
* finddomain.c: Aliasing handled in intl/localealias.c.
861
* localealias.c: Aliasing for locale names.
863
* bindtextdom.c: Better prototypes for xmalloc and xstrdup.
865
Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware>
867
* Makefile.in (DISTFILES): gettext.perl is now found in misc/.
869
* cat-compat.c (bindtextdomain):
870
Correct implementation. dirname parameter was not used.
871
Reported by Marcus Daniels.
873
* gettextP.h (loaded_domain):
874
New fields `successor' and `decided' for oo, lazy
875
message handling implementation.
878
Adopt for oo, lazy message handliing.
879
Now we can inherit translations from less specific locales.
880
(find_msg): New function.
882
* loadmsgcat.c, finddomain.c:
883
Complete rewrite. Implement oo, lazy message handling :-).
884
We now have an additional environment variable `LANGUAGE' with
885
a higher priority than LC_ALL for the LC_MESSAGE locale.
886
Here we can set a colon separated list of specifications each
887
of the form `language[_territory[.codeset]][@modifier]'.
889
Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware>
891
* finddomain.c (unistd.h):
892
Include to get _PC_PATH_MAX defined on system having it.
894
Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware>
896
* finddomain.c (stpcpy): Include prototype.
898
* Makefile.in (dist): Remove `copying instead' message.
900
Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware>
902
* Makefile.in (ID, TAGS): Do not use $^.
904
Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware>
906
* Makefile.in (TAGS, ID): Use $^ as command argument.
907
(TAGS): Give etags -o option t write to current directory,
909
(ID): Use $(srcdir) instead os $(top_srcdir)/src.
910
(distclean): Remove ID.
912
Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware>
914
* Makefile.in (gnulocaledir):
915
New variable, always using share/ for data directory.
916
(DEFS): Add GNULOCALEDIR, used in finddomain.c.
918
* finddomain.c (_nl_default_dirname):
919
Set to GNULOCALEDIR, because it always has to point
920
to the directory where GNU gettext Library writes it to.
922
* intl-compat.c (textdomain, bindtextdomain):
923
Undefine macros before function definition.
925
Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware>
927
* libgettext.h (_LIBINTL_H):
928
Protect definition in case where this file is included as
929
libgettext.h on Solaris machines. Add comment about this.
931
Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware>
933
* intl-compat.c (textdomain): Correct typo.
935
Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware>
937
* dcgettext.c (dcgettext): Function now called __dcgettext.
939
* dgettext.c (dgettext): Now called __dgettext and calls
942
* gettext.c (gettext):
943
Function now called __gettext and calls __dgettext.
945
* textdomain.c (textdomain): Function now called __textdomain.
947
* bindtextdom.c (bindtextdomain): Function now called
950
* intl-compat.c: Initial revision.
952
* Makefile.in (SOURCES): Add intl-compat.c.
953
(OBJECTS): We always compile the GNU gettext library functions.
954
OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
956
(GETTOBJS): Contains now only intl-compat.o.
959
Re-include protection matches dualistic character of libgettext.h.
960
For all functions in GNU gettext library define __ counter part.
962
* finddomain.c (strchr): Define as index if not found in C library.
963
(_nl_find_domain): For relative paths paste / in between.
965
Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware>
967
* loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
969
* xopen-msg.sed: Fix bug with `msgstr ""' lines.
970
A little bit better comments.
972
Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware>
975
po-mode.el, makelinks, combine-sh are now found in ../misc.
977
* po-mode.el, makelinks, combine-sh, elisp-comp:
980
* libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
982
Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware>
984
* Makefile.in (INSTALL, INSTALL_DATA): New variables.
985
(install-data, uninstall): Install/uninstall .elc file.
987
* po-mode.el (Installation comment):
988
Add .pox as possible extension of .po files.
990
Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware>
992
* elisp-comp: Complete new version by Franc,ois: This does not
993
fail when not compiling in the source directory.
995
Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware>
997
* Makefile.in (../po/cat-id-tbl.o):
998
Use $(MAKE) instead of make for recursive make.
1000
* Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
1001
(install-exec): Add missing dummy goal.
1002
(install-data, uninstall): @ in multi-line shell command at
1003
beginning, not in front of echo. Reported by Eric Backus.
1005
Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware>
1007
* Makefile.in (DISTFILES):
1008
Rename libgettext.perl to gettext.perl to fit in 14 chars
1012
Rename to gettext.perl to fit in 14 chars file systems.
1014
Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware>
1016
* cat-compat.c: If !STDC_HEADERS try to include malloc.h.
1018
Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware>
1020
* po2tbl.sed.in: Pretty printing.
1022
* linux-msg.sed, xopen-msg.sed:
1023
Correct bugs with handling substitute flags in branches.
1025
* hash-string.h (hash_string):
1026
Old K&R compilers don't under stand `unsigned char'.
1028
* gettext.h (nls_uint32):
1029
Some old K&R compilers (eg HP) don't understand `unsigned int'.
1031
* cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1033
Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware>
1035
* Makefile.in (ELCFILES): New variable.
1036
(DISTFILES): Add elisp-comp.
1037
Add implicit rule for .el -> .elc compilation.
1038
(install-data): install $ELCFILES
1039
(clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1041
* elisp-comp: Initial revision
1043
Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware>
1046
cat-id-tbl.c is now found in po/. This enables us to use an identical
1047
intl/ directory in all packages.
1049
* dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1051
* textdomain.c: fix typo (#if def -> #if defined)
1053
Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware>
1055
* Makefile.in (stamp-cat-id): use top_srcdir to address source files
1056
(DISTFILES,distclean): move tupdate.perl to src/
1059
add additional jump to clear change flag to recognize multiline strings
1061
Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware>
1063
* textdomain.c: Protect inclusion of stdlib.h and string.h.
1065
* loadmsgcat.c: Protect inclusion of stdlib.h.
1067
* libgettext.h: Protect inclusion of locale.h.
1068
Allow use in C++ programs.
1069
Define NULL is not happened already.
1071
* Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1073
(distclean): remove po-to-tbl.sed and tupdate.perl.
1075
* tupdate.perl.in: Substitute Perl path even in exec line.
1076
Don't include entries without translation from old .po file.
1078
Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware>
1080
* tupdate.perl.in: use "Updated: " in msgid "".
1082
* cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1083
Define getenv if !__STDC__.
1085
* bindtextdom.c: Protect stdlib.h and string.h inclusion.
1086
Define free if !__STDC__.
1088
* finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1089
Define free if !__STDC__.
1091
* cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1093
Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware>
1095
* Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1096
Remove unneeded $(srcdir) from Makefile.in dependency.
1098
* makelinks: Add copyright and short description.
1100
* po-mode.el: Last version for 0.7.
1102
* tupdate.perl.in: Fix die message.
1104
* dcgettext.c: Protect include of string.h.
1106
* gettext.c: Protect include of stdlib.h and further tries to get NULL.
1108
* finddomain.c: Some corrections in includes.
1110
* Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1112
* po-to-tbl.sed: Adopt for new .po file format.
1114
* linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1116
Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware>
1118
* tupdate.perl.in: Complete rewrite for new .po file format.
1120
Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware>
1122
* First official release. This directory contains all the code
1123
needed to internationalize own packages. It provides functions
1124
which allow to use the X/Open catgets function with an interface
1125
like the Uniforum gettext function. For system which does not
1126
have neither of those a complete implementation is provided.