1 2002-03-08 Daniel Jacobowitz <drow@mvista.com>
3 * Makefile.in (distclean): Remove config.h.
5 2002-03-08 Daniel Jacobowitz <drow@mvista.com>
7 * Makefile.in (distclean): Remove config.cache, stamp-h, and
10 2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
12 * linux-msg.sed: Comment typo fix.
13 * xopen-msg.sed: Likewise.
15 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
17 * intl/localealias.c (read_alias_file): Use unsigned char for
18 local variables. Remove unused variable tp.
19 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
20 for type of codeset. For loosing Solaris systems.
21 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
22 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
24 Patches by Jim Meyering.
26 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
28 * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
29 mmap is not supported.
31 * hash-string.h: Don't include <values.h>.
33 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
35 * textdomain.c: Use strdup is available.
37 * localealias.c: Define HAVE_MEMPCPY so that we can use this
38 function. Define and use semapahores to protect modfication of
39 global objects when compiling for glibc. Add code to allow
42 * l10nflist.c: Don't assume stpcpy not being a macro.
44 * gettextP.h: Define internal_function macri if not already done.
45 Use glibc byte-swap macros instead of defining SWAP when compiled
47 (struct loaded_domain): Add elements to allow unloading.
49 * Makefile.in (distclean): Don't remove libintl.h here.
51 * bindtextdomain.c: Carry over changes from glibc. Use strdup if
54 * dcgettext.c: Don't assume stpcpy not being a macro. Mark internal
55 functions. Add memory freeing code for glibc.
57 * dgettext.c: Update copyright.
59 * explodename.c: Include stdlib.h and string.h only if they exist.
60 Use strings.h eventually.
62 * finddomain.c: Mark internal functions. Use strdup if available.
63 Add memory freeing code for glibc.
65 1997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com>
67 * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
68 They should return reasonable values.
69 Reported by Tom Tromey <tromey@cygnus.com>.
71 1997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com>
73 * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
74 * intlh.inst.in: Likewise.
75 Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
77 * libintl.glibc: Update from current glibc version.
79 1997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com>
81 * intlh.inst.in: Reformat copyright.
83 1997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com>
85 * dcgettext.c (DCGETTEXT): Remove wrong comment.
87 1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com>
89 * Makefile.in (install-data): Don't change directory to install.
91 1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com>
93 * cat-compat.c: Fix copyright.
95 * localealias.c: Don't define strchr unless !HAVE_STRCHR.
97 * loadmsgcat.c: Update copyright. Fix typos.
99 * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
100 (_nl_make_l10nflist): Handle sponsor and revision correctly.
102 * gettext.c: Update copyright.
103 * gettext.h: Likewise.
104 * hash-string.h: Likewise.
106 * finddomain.c: Remoave dead code. Define strchr only if
109 * explodename.c: Include <sys/types.h>.
111 * explodename.c: Reformat copyright text.
112 (_nl_explode_name): Fix typo.
114 * dcgettext.c: Define and use __set_errno.
115 (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
118 * bindtextdom.c: Pretty printing.
120 1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com>
122 * dcgettext.c (guess_category_value): Don't depend on
123 HAVE_LC_MESSAGES. We don't need the macro here.
124 Patch by Bruno Haible <haible@ilog.fr>.
126 * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
127 macro. Instead use HAVE_LOCALE_NULL and define it when using
128 glibc, as in dcgettext.c.
129 Patch by Bruno Haible <haible@ilog.fr>.
131 * Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois
134 Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com>
136 * Makefile.in: Implement handling of libtool.
138 * gettextP.h: Change data structures for use of generic lowlevel
141 Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com>
143 * textdomain.c: Put parentheses around arguments of memcpy macro
145 * localealias.c: Likewise.
146 * l10nflist.c: Likewise.
147 * finddomain.c: Likewise.
148 * bindtextdom.c: Likewise.
149 Reported by Thomas Esken.
151 Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com>
153 * textdomain.c: Move definition of `memcpy` macro to right
156 Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com>
158 * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
159 bcopy if not already defined. Reported by Thomas Esken.
160 * bindtextdom.c: Likewise.
161 * l10nflist.c: Likewise.
162 * localealias.c: Likewise.
163 * textdomain.c: Likewise.
165 Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com>
167 * Makefile.in (libdir): Change to use exec_prefix instead of
168 prefix. Reported by Knut-HĂ„vardAksnes <etokna@eto.ericsson.se>.
170 Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com>
172 * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
173 so don't prepend uppercase `ISO' for only numeric arg.
175 Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
177 * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
178 definition of _GNU_SOURCE. Patch by Roland McGrath.
180 * Makefile.in (uninstall): Fix another bug with `for' loop and
181 empty arguments. Patch by Jim Meyering. Correct name os
182 uninstalled files: no intl- prefix anymore.
184 * Makefile.in (install-data): Again work around shells which
185 cannot handle mpty for list. Reported by Jim Meyering.
187 Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com>
189 * Makefile.in (install): Split goal. Now depend on install-exec
191 (install-exec, install-data): New goals. Created from former
193 Reported by Karl Berry.
195 Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com>
197 * Makefile.in (MKINSTALLDIRS): New variable. Path to
198 mkinstalldirs script.
199 (install): use MKINSTALLDIRS variable or if the script is not present
200 try to find it in the $top_scrdir).
202 Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com>
204 * l10nflist.c: Linux libc *partly* includes the argz_* functions.
205 Grr. Work around by renaming the static version and use macros
208 Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com>
210 * l10nflist.c: Correct presence test macros of __argz_* functions.
212 * l10nflist.c: Include <argz.h> based on test of it instead when
213 __argz_* functions are available.
214 Reported by Andreas Schwab.
216 Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com>
218 * explodename.c, l10nflist.c: Define NULL for dumb systems.
220 Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com>
222 * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
223 result to __result to prevent name clash.
225 * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
226 get prototype for stpcpy and strcasecmp.
228 * intlh.inst.in, libgettext.h: Move declaration of
229 `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
230 from gcc's -Wnested-extern option.
232 Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com>
234 * Makefile.in (install): Remove comment.
236 Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com>
238 * Makefile.in (install): Work around for another Buglix stupidity.
239 Always use an `else' close for `if's. Reported by Nelson Beebe.
241 * Makefile.in (intlh.inst): Correct typo in phony rule.
242 Reported by Nelson Beebe.
244 Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com>
246 * dcgettext.c (read_alias_file): Rename variable alloca_list to
247 block_list as the macro calls assume.
248 Patch by Eric Backus.
250 * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
252 (read_alias_file): Rename varriabe alloca_list to block_list as the
254 Patch by Eric Backus.
256 * l10nflist.c: Correct conditional for <argz.h> inclusion.
257 Reported by Roland McGrath.
259 * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
262 * Makefile.in (install): intlh.inst comes from local dir, not
265 * Makefile.in (intlh.inst): Special handling of this goal. If
266 used in gettext, this is really a rul to construct this file. If
267 used in any other package it is defined as a .PHONY rule with
270 * finddomain.c: Extract locale file information handling into
271 l10nfile.c. Rename local stpcpy__ function to stpcpy.
273 * dcgettext.c (stpcpy): Add local definition.
275 * l10nflist.c: Solve some portability problems. Patches partly by
276 Thomas Esken. Add local definition of stpcpy.
278 Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com>
280 * intlh.inst.in: Don't depend including <locale.h> on
281 HAVE_LOCALE_H. Instead configure must rewrite this fiile
282 depending on the result of the configure run.
284 * Makefile.in (install): libintl.inst is now called intlh.inst.
285 Add rules for updating intlh.inst from intlh.inst.in.
287 * libintl.inst: Renamed to intlh.inst.in.
289 * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
290 because gcc has __buitlin_alloca.
291 Reported by Roland McGrath.
293 Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com>
295 * Makefile.in (installcheck): New goal to fulfill needs of
296 automake's distcheck.
298 * Makefile.in (install): Reorder commands so that VERSION is
301 * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
303 (COMSRCS): Add l10nfile.c.
304 (OBJECTS): Add l10nfile.o.
305 (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common).
306 (DISTFILE.gettext): Remove $(DISTFILES.common).
307 (all-gettext): Remove goal.
308 (install): If $(PACKAGE) = gettext install, otherwose do nothing. No
309 package but gettext itself should install libintl.h + headers.
310 (dist): Extend goal to work for gettext, too.
311 (dist-gettext): Remove goal.
313 * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
315 Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com>
317 * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
320 Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com>
322 * l10nflist.c (__argz_next): Add definition.
324 * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
325 code. Use new l10nfile handling.
327 * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
330 * l10nflist.c: Initial revision.
332 Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware>
334 * Makefile.in (all-gettext): New goal. Same as all-yes.
336 Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de>
338 * Makefile.in (gettextsrcdir): Define using @datadir@.
340 Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware>
342 * finddomain.c: Include <ctype.h>. Reported by Roland McGrath.
344 Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware>
346 * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
347 with external declaration.
349 Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware>
351 * Makefile.in (all-no): Rename from all_no.
353 Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware>
355 * gettextP.h [loaded_domain]: Array `successor' must now contain up
356 to 63 elements (because of codeset name normalization).
358 * finddomain.c: Implement codeset name normalization.
360 Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware>
362 * Makefile.in (all): Define to `all-@USE_NLS@'.
363 (all-yes, all_no): New goals. `all-no' is noop, `all-yes'
366 Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com>
368 * localealias.c (alias_compare): Increment string pointers in loop
369 of strcasecmp replacement.
371 Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware>
373 * Makefile.in (install-src): Who commented this goal out ? :-)
375 Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware>
377 * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls
378 should not effect it because a missing catalog is no error.
379 Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
381 Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware>
383 * Makefile.in (Makefile): Explicitly use $(SHELL) for running
386 Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
388 * Makefile.in (install-src): Only install library and header when
389 we use the own implementation. Don't do it when using the
390 system's gettext or catgets functions.
392 * dcgettext.c (find_msg): Must not swap domain->hash_size here.
394 Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware>
396 * localealias.c, libintl.inst, libgettext.h, hash-string.h,
397 gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
398 Use PARAMS instead of __P. Suggested by Roland McGrath.
400 Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu>
402 * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
403 !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
405 Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware>
407 * Makefile.in (install-src):
408 Install libintl.inst instead of libintl.h.install.
410 Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu>
412 * cat-compat.c (textdomain):
413 Reverse order in which files are tried you load. First
414 try local file, when this failed absolute path.
416 Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
418 * cat-compat.c (bindtextdomain): Add missing { }.
420 Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware>
422 * libintl.inst: Add missing __P definition. Reported by Nelson Beebe.
425 Add dummy `all' and `dvi' goals. Reported by Tom Tromey.
427 Sat Nov 25 16:12:01 1995 Franc,ois Pinard <pinard@iro.umontreal.ca>
429 * hash-string.h: Capitalize arguments of macros.
431 Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware>
433 * Makefile.in (DISTFILES): Prevent files names longer than 13
434 characters. libintl.h.glibc->libintl.glibc,
435 libintl.h.install->libintl.inst. Reported by Joshua R. Poulson.
437 Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com>
439 * dcgettext.c: Fix bug in preprocessor conditionals.
441 Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
443 * libgettext.h: Solaris cc does not understand
444 #if !SYMBOL1 && !SYMBOL2. Sad but true.
446 Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware>
448 * hash-string.h (hash_string):
449 Fix for machine with >32 bit `unsigned long's.
451 * dcgettext.c (DCGETTEXT):
452 Fix horrible bug in loop for alternative translation.
454 Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware>
456 * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
457 Some further simplifications in message number generation.
459 Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware>
461 * libintl.h.glibc: Use __const instead of const in prototypes.
463 * Makefile.in (install-src):
464 Install libintl.h.install instead of libintl.h. This
465 is a stripped-down version. Suggested by Peter Miller.
467 * libintl.h.install, libintl.h.glibc: Initial revision.
469 * localealias.c (_nl_expand_alias, read_alias_file):
470 Protect prototypes in type casts by __P.
472 Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware>
474 * hash-string.h: Correct prototype for hash_string.
476 Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware>
478 * hash-string.h (hash_string): Add prototype.
480 * gettextP.h: Fix copyright.
481 (SWAP): Add prototype.
483 Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware>
485 * localealias.c (read_alias_file): Forgot sizeof.
486 Avoid calling *printf function. This introduces a big overhead.
487 Patch by Roland McGrath.
489 Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware>
491 * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
493 * finddomain.c (stpcpy):
494 Define substitution function local. The macro was to flaky.
496 * cat-compat.c: Fix typo.
498 * xopen-msg.sed, linux-msg.sed:
499 While bringing message number to right place only accept digits.
501 * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
502 leading 0s we don't need to remove them. Reported by Marcus
505 * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
506 dependency. Reported by Marcus Daniels.
508 * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
509 Generally cleanup using #if instead of #ifndef.
511 * Makefile.in: Correct typos in comment. By Franc,ois Pinard.
513 Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware>
515 * Makefile.in (install-src): Don't install libintl.h and libintl.a
516 if we use an available gettext implementation.
518 Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware>
520 * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported
523 * libgettext.h: Use #if instead of #ifdef/#ifndef.
526 Comments describing what has to be done should start with FIXME.
528 Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware>
530 * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning.
531 DISTFILES.common names the files common to both dist goals.
532 DISTFILES.gettext are the files only distributed in GNU gettext.
534 Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware>
536 * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
537 This was necessary since a change in _nl_find_msg several weeks
538 ago. I really don't know this is still not fixed.
540 Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware>
542 * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This
543 might mark a special condition.
545 * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
547 * Makefile.in (dist): Suppress error message when ln failed.
548 Get files from $(srcdir) explicitly.
550 * libgettext.h (gettext_const): Rename to gettext_noop.
552 Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware>
554 * finddomain.c (make_entry_rec):
555 Protect against wrong locale names by testing mask.
557 * libgettext.h (gettext_const): Add macro definition.
558 Capitalize macro arguments.
560 Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware>
562 * finddomain.c (_nl_find_domain):
563 Test for pointer != NULL before accessing value.
564 Reported by Tom Tromey.
567 Define as (void*)0 instad of 0. Reported by Franc,ois Pinard.
569 Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware>
571 * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
573 Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware>
575 * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
577 * localealias.c (alias_compare):
578 Peter Miller reported that tolower in some systems is
579 even dumber than I thought. Protect call by `isupper'.
581 Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware>
583 * Makefile.in (libdir, includedir): New variables.
584 (install-src): Install libintl.a and libintl.h in correct dirs.
586 Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware>
588 * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
590 * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
593 Fix typo and superflous test. Reported by Christian von Roques.
595 Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware>
597 * finddomain.c (_nl_find_domain):
598 Correct some remainder from the pre-CEN syntax. Now
599 we don't have a constant number of successors anymore.
601 Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware>
603 * Makefile.in (DISTFILES): Add libintl.h.glibc.
605 * Makefile.in (dist-libc): Add goal for packing sources for glibc.
606 (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
608 * loadmsgcat.c: Forget to continue #if line.
611 [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
614 * dcgettext.c, finddomain.c: Better comment to last change.
617 [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
618 __fstat, __open, __close, __read, __mmap, and __munmap resp
619 to keep ANSI C name space clean.
622 [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
625 [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
626 keep ANSI C name space clean.
629 Include sys/types.h for those old SysV systems out there.
630 Reported by Francesco Potorti`.
632 * loadmsgcat.c (use_mmap): Define if compiled for glibc.
634 * bindtextdom.c: Include all those standard headers
635 unconditionally if _LIBC is defined.
637 * finddomain.c: Fix 2 times defiend -> defined.
639 * textdomain.c: Include libintl.h instead of libgettext.h when
640 compiling for glibc. Include all those standard headers
641 unconditionally if _LIBC is defined.
643 * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
646 Include libintl.h instead of libgettext.h when compiling for glibc.
647 Get NULL from stddef.h if we compile for glibc.
649 * finddomain.c: Include libintl.h instead of libgettext.h when
650 compiling for glibc. Include all those standard headers
651 unconditionally if _LIBC is defined.
653 * dcgettext.c: Include all those standard headers unconditionally
656 * dgettext.c: If compiled in glibc include libintl.h instead of
658 (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
660 * dcgettext.c: If compiled in glibc include libintl.h instead of
662 (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
665 If compiled in glibc include libintl.h instead of libgettext.h.
667 Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware>
669 * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
670 Reported by Marcus Daniels.
672 * cat-compat.c (bindtextdomain):
673 String used in putenv must not be recycled.
674 Reported by Marcus Daniels.
676 * libgettext.h (__USE_GNU_GETTEXT):
677 Additional symbol to signal that we use GNU gettext
680 * cat-compat.c (bindtextdomain):
681 Fix bug with the strange stpcpy replacement.
682 Reported by Nelson Beebe.
684 Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware>
686 * cat-compat.c: Include <string.h> for stpcpy prototype.
688 * localealias.c (read_alias_file):
689 While expand strdup code temporary variable `cp' hided
690 higher level variable with same name. Rename to `tp'.
692 * textdomain.c (textdomain):
693 Avoid warning by using temporary variable in strdup code.
695 * finddomain.c (_nl_find_domain): Remove unused variable `application'.
697 Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware>
699 * localealias.c (alias_compare):
700 Use strcasecmp() only if available. Else use
701 implementation in place.
704 Wrapper functions now call *__ functions instead of __*.
706 * libgettext.h: Declare prototypes for *__ functions instead for __*.
708 * cat-compat.c, loadmsgcat.c:
709 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
710 of the standard libc and so prevent libintl.a from being used
714 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
715 of the standard libc and so prevent libintl.a from being used
717 Rename to bindtextdomain__ if not used in GNU C Library.
720 Rename function to dgettext__ if not used in GNU C Library.
723 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
724 of the standard libc and so prevent libintl.a from being used
726 Functions now called gettext__ if not used in GNU C Library.
728 * dcgettext.c, localealias.c, textdomain.c, finddomain.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
733 Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware>
735 * finddomain.c: Correct some bugs in handling of CEN standard
738 Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware>
740 * finddomain.c: Implement CEN syntax.
742 * gettextP.h (loaded_domain): Extend number of successors to 31.
744 Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware>
746 * Makefile.in (aliaspath): Remove path to X11 locale dir.
748 * Makefile.in: Make install-src depend on install. This helps
749 gettext to install the sources and other packages can use the
752 Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware>
754 * Makefile.in (uninstall): Remove stuff installed by install-src.
756 Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware>
758 * VERSION.in: Initial revision.
760 * Makefile.in (DISTFILES):
761 Add VERSION file. This is not necessary for gettext, but
762 for other packages using this library.
764 Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware>
766 * gettextP.h (_nl_find_domain):
767 New prototype after changing search strategy.
769 * finddomain.c (_nl_find_domain):
770 We now try only to find a specified catalog. Fall back to other
771 catalogs listed in the locale list is now done in __dcgettext.
773 * dcgettext.c (__dcgettext):
774 Now we provide message fall back even to different languages.
775 I.e. if a message is not available in one language all the other
776 in the locale list a tried. Formerly fall back was only possible
777 within one language. Implemented by moving one loop from
778 _nl_find_domain to here.
780 Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware>
782 * Makefile.in (gettextsrcdir):
783 Directory where source of GNU gettext library are made
785 (INSTALL, INSTALL_DATA): Programs used for installing sources.
786 (gettext-src): New. Rule to install GNU gettext sources for use in
787 gettextize shell script.
789 Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware>
791 * loadmsgcat.c (_nl_load_domain):
792 Use mmap for loading only when munmap function is
795 * Makefile.in (install): Depend on `all' goal.
797 Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware>
799 * localealias.c (read_alias_file):
800 Do not overwrite '\n' when terminating alias value string.
802 * localealias.c (read_alias_file):
803 Handle long lines. Ignore the rest not fitting in
804 the buffer after the initial `fgets' call.
806 Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware>
808 * gettextP.h (_nl_load_domain):
809 Add prototype, replacing prototype for _nl_load_msg_cat.
811 * finddomain.c (_nl_find_domain):
812 Remove unneeded variable filename and filename_len.
813 (expand_alias): Remove prototype because functions does not
816 * localealias.c (read_alias_file):
817 Change type of fname_len parameter to int.
818 (xmalloc): Add prototype.
820 * loadmsgcat.c: Better prototypes for xmalloc.
822 Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware>
824 * finddomain.c (_nl_find_domain):
825 Allow alias name to be constructed from the four components.
827 * Makefile.in (aliaspath): New variable. Set to preliminary value.
828 (SOURCES): Add localealias.c.
829 (OBJECTS): Add localealias.o.
831 * gettextP.h: Add prototype for _nl_expand_alias.
833 * finddomain.c: Aliasing handled in intl/localealias.c.
835 * localealias.c: Aliasing for locale names.
837 * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
839 Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware>
841 * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
843 * cat-compat.c (bindtextdomain):
844 Correct implementation. dirname parameter was not used.
845 Reported by Marcus Daniels.
847 * gettextP.h (loaded_domain):
848 New fields `successor' and `decided' for oo, lazy
849 message handling implementation.
852 Adopt for oo, lazy message handliing.
853 Now we can inherit translations from less specific locales.
854 (find_msg): New function.
856 * loadmsgcat.c, finddomain.c:
857 Complete rewrite. Implement oo, lazy message handling :-).
858 We now have an additional environment variable `LANGUAGE' with
859 a higher priority than LC_ALL for the LC_MESSAGE locale.
860 Here we can set a colon separated list of specifications each
861 of the form `language[_territory[.codeset]][@modifier]'.
863 Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware>
865 * finddomain.c (unistd.h):
866 Include to get _PC_PATH_MAX defined on system having it.
868 Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware>
870 * finddomain.c (stpcpy): Include prototype.
872 * Makefile.in (dist): Remove `copying instead' message.
874 Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware>
876 * Makefile.in (ID, TAGS): Do not use $^.
878 Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware>
880 * Makefile.in (TAGS, ID): Use $^ as command argument.
881 (TAGS): Give etags -o option t write to current directory,
883 (ID): Use $(srcdir) instead os $(top_srcdir)/src.
884 (distclean): Remove ID.
886 Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware>
888 * Makefile.in (gnulocaledir):
889 New variable, always using share/ for data directory.
890 (DEFS): Add GNULOCALEDIR, used in finddomain.c.
892 * finddomain.c (_nl_default_dirname):
893 Set to GNULOCALEDIR, because it always has to point
894 to the directory where GNU gettext Library writes it to.
896 * intl-compat.c (textdomain, bindtextdomain):
897 Undefine macros before function definition.
899 Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware>
901 * libgettext.h (_LIBINTL_H):
902 Protect definition in case where this file is included as
903 libgettext.h on Solaris machines. Add comment about this.
905 Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware>
907 * intl-compat.c (textdomain): Correct typo.
909 Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware>
911 * dcgettext.c (dcgettext): Function now called __dcgettext.
913 * dgettext.c (dgettext): Now called __dgettext and calls
916 * gettext.c (gettext):
917 Function now called __gettext and calls __dgettext.
919 * textdomain.c (textdomain): Function now called __textdomain.
921 * bindtextdom.c (bindtextdomain): Function now called
924 * intl-compat.c: Initial revision.
926 * Makefile.in (SOURCES): Add intl-compat.c.
927 (OBJECTS): We always compile the GNU gettext library functions.
928 OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
930 (GETTOBJS): Contains now only intl-compat.o.
933 Re-include protection matches dualistic character of libgettext.h.
934 For all functions in GNU gettext library define __ counter part.
936 * finddomain.c (strchr): Define as index if not found in C library.
937 (_nl_find_domain): For relative paths paste / in between.
939 Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware>
941 * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
943 * xopen-msg.sed: Fix bug with `msgstr ""' lines.
944 A little bit better comments.
946 Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware>
949 po-mode.el, makelinks, combine-sh are now found in ../misc.
951 * po-mode.el, makelinks, combine-sh, elisp-comp:
954 * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
956 Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware>
958 * Makefile.in (INSTALL, INSTALL_DATA): New variables.
959 (install-data, uninstall): Install/uninstall .elc file.
961 * po-mode.el (Installation comment):
962 Add .pox as possible extension of .po files.
964 Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware>
966 * elisp-comp: Complete new version by Franc,ois: This does not
967 fail when not compiling in the source directory.
969 Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware>
971 * Makefile.in (../po/cat-id-tbl.o):
972 Use $(MAKE) instead of make for recursive make.
974 * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
975 (install-exec): Add missing dummy goal.
976 (install-data, uninstall): @ in multi-line shell command at
977 beginning, not in front of echo. Reported by Eric Backus.
979 Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware>
981 * Makefile.in (DISTFILES):
982 Rename libgettext.perl to gettext.perl to fit in 14 chars
986 Rename to gettext.perl to fit in 14 chars file systems.
988 Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware>
990 * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
992 Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware>
994 * po2tbl.sed.in: Pretty printing.
996 * linux-msg.sed, xopen-msg.sed:
997 Correct bugs with handling substitute flags in branches.
999 * hash-string.h (hash_string):
1000 Old K&R compilers don't under stand `unsigned char'.
1002 * gettext.h (nls_uint32):
1003 Some old K&R compilers (eg HP) don't understand `unsigned int'.
1005 * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1007 Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware>
1009 * Makefile.in (ELCFILES): New variable.
1010 (DISTFILES): Add elisp-comp.
1011 Add implicit rule for .el -> .elc compilation.
1012 (install-data): install $ELCFILES
1013 (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1015 * elisp-comp: Initial revision
1017 Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware>
1020 cat-id-tbl.c is now found in po/. This enables us to use an identical
1021 intl/ directory in all packages.
1023 * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1025 * textdomain.c: fix typo (#if def -> #if defined)
1027 Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware>
1029 * Makefile.in (stamp-cat-id): use top_srcdir to address source files
1030 (DISTFILES,distclean): move tupdate.perl to src/
1033 add additional jump to clear change flag to recognize multiline strings
1035 Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware>
1037 * textdomain.c: Protect inclusion of stdlib.h and string.h.
1039 * loadmsgcat.c: Protect inclusion of stdlib.h.
1041 * libgettext.h: Protect inclusion of locale.h.
1042 Allow use in C++ programs.
1043 Define NULL is not happened already.
1045 * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1047 (distclean): remove po-to-tbl.sed and tupdate.perl.
1049 * tupdate.perl.in: Substitute Perl path even in exec line.
1050 Don't include entries without translation from old .po file.
1052 Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware>
1054 * tupdate.perl.in: use "Updated: " in msgid "".
1056 * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1057 Define getenv if !__STDC__.
1059 * bindtextdom.c: Protect stdlib.h and string.h inclusion.
1060 Define free if !__STDC__.
1062 * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1063 Define free if !__STDC__.
1065 * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1067 Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware>
1069 * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1070 Remove unneeded $(srcdir) from Makefile.in dependency.
1072 * makelinks: Add copyright and short description.
1074 * po-mode.el: Last version for 0.7.
1076 * tupdate.perl.in: Fix die message.
1078 * dcgettext.c: Protect include of string.h.
1080 * gettext.c: Protect include of stdlib.h and further tries to get NULL.
1082 * finddomain.c: Some corrections in includes.
1084 * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1086 * po-to-tbl.sed: Adopt for new .po file format.
1088 * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1090 Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware>
1092 * tupdate.perl.in: Complete rewrite for new .po file format.
1094 Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware>
1096 * First official release. This directory contains all the code
1097 needed to internationalize own packages. It provides functions
1098 which allow to use the X/Open catgets function with an interface
1099 like the Uniforum gettext function. For system which does not
1100 have neither of those a complete implementation is provided.