1 1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com>
3 * Makefile.in (install-data): Don't change directory to install.
5 1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com>
7 * cat-compat.c: Fix copyright.
9 * localealias.c: Don't define strchr unless !HAVE_STRCHR.
11 * loadmsgcat.c: Update copyright. Fix typos.
13 * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
14 (_nl_make_l10nflist): Handle sponsor and revision correctly.
16 * gettext.c: Update copyright.
17 * gettext.h: Likewise.
18 * hash-string.h: Likewise.
20 * finddomain.c: Remoave dead code. Define strchr only if
23 * explodename.c: Include <sys/types.h>.
25 * explodename.c: Reformat copyright text.
26 (_nl_explode_name): Fix typo.
28 * dcgettext.c: Define and use __set_errno.
29 (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
32 * bindtextdom.c: Pretty printing.
34 1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com>
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>.
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>.
45 * Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois
48 Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com>
50 * Makefile.in: Implement handling of libtool.
52 * gettextP.h: Change data structures for use of generic lowlevel
55 Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com>
57 * textdomain.c: Put parentheses around arguments of memcpy macro
59 * localealias.c: Likewise.
60 * l10nflist.c: Likewise.
61 * finddomain.c: Likewise.
62 * bindtextdom.c: Likewise.
63 Reported by Thomas Esken.
65 Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com>
67 * textdomain.c: Move definition of `memcpy` macro to right
70 Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com>
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.
79 Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com>
81 * Makefile.in (libdir): Change to use exec_prefix instead of
82 prefix. Reported by Knut-HĂ„vardAksnes <etokna@eto.ericsson.se>.
84 Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com>
86 * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
87 so don't prepend uppercase `ISO' for only numeric arg.
89 Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
91 * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
92 definition of _GNU_SOURCE. Patch by Roland McGrath.
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.
98 * Makefile.in (install-data): Again work around shells which
99 cannot handle mpty for list. Reported by Jim Meyering.
101 Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com>
103 * Makefile.in (install): Split goal. Now depend on install-exec
105 (install-exec, install-data): New goals. Created from former
107 Reported by Karl Berry.
109 Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com>
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).
116 Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com>
118 * l10nflist.c: Linux libc *partly* includes the argz_* functions.
119 Grr. Work around by renaming the static version and use macros
122 Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com>
124 * l10nflist.c: Correct presence test macros of __argz_* functions.
126 * l10nflist.c: Include <argz.h> based on test of it instead when
127 __argz_* functions are available.
128 Reported by Andreas Schwab.
130 Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com>
132 * explodename.c, l10nflist.c: Define NULL for dumb systems.
134 Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com>
136 * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
137 result to __result to prevent name clash.
139 * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
140 get prototype for stpcpy and strcasecmp.
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.
146 Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com>
148 * Makefile.in (install): Remove comment.
150 Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com>
152 * Makefile.in (install): Work around for another Buglix stupidity.
153 Always use an `else' close for `if's. Reported by Nelson Beebe.
155 * Makefile.in (intlh.inst): Correct typo in phony rule.
156 Reported by Nelson Beebe.
158 Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com>
160 * dcgettext.c (read_alias_file): Rename variable alloca_list to
161 block_list as the macro calls assume.
162 Patch by Eric Backus.
164 * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
166 (read_alias_file): Rename varriabe alloca_list to block_list as the
168 Patch by Eric Backus.
170 * l10nflist.c: Correct conditional for <argz.h> inclusion.
171 Reported by Roland McGrath.
173 * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
176 * Makefile.in (install): intlh.inst comes from local dir, not
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
184 * finddomain.c: Extract locale file information handling into
185 l10nfile.c. Rename local stpcpy__ function to stpcpy.
187 * dcgettext.c (stpcpy): Add local definition.
189 * l10nflist.c: Solve some portability problems. Patches partly by
190 Thomas Esken. Add local definition of stpcpy.
192 Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com>
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.
198 * Makefile.in (install): libintl.inst is now called intlh.inst.
199 Add rules for updating intlh.inst from intlh.inst.in.
201 * libintl.inst: Renamed to intlh.inst.in.
203 * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
204 because gcc has __buitlin_alloca.
205 Reported by Roland McGrath.
207 Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com>
209 * Makefile.in (installcheck): New goal to fulfill needs of
210 automake's distcheck.
212 * Makefile.in (install): Reorder commands so that VERSION is
215 * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
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.
227 * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
229 Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com>
231 * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
234 Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com>
236 * l10nflist.c (__argz_next): Add definition.
238 * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
239 code. Use new l10nfile handling.
241 * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
244 * l10nflist.c: Initial revision.
246 Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware>
248 * Makefile.in (all-gettext): New goal. Same as all-yes.
250 Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de>
252 * Makefile.in (gettextsrcdir): Define using @datadir@.
254 Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware>
256 * finddomain.c: Include <ctype.h>. Reported by Roland McGrath.
258 Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware>
260 * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
261 with external declaration.
263 Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware>
265 * Makefile.in (all-no): Rename from all_no.
267 Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware>
269 * gettextP.h [loaded_domain]: Array `successor' must now contain up
270 to 63 elements (because of codeset name normalization).
272 * finddomain.c: Implement codeset name normalization.
274 Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware>
276 * Makefile.in (all): Define to `all-@USE_NLS@'.
277 (all-yes, all_no): New goals. `all-no' is noop, `all-yes'
280 Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com>
282 * localealias.c (alias_compare): Increment string pointers in loop
283 of strcasecmp replacement.
285 Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware>
287 * Makefile.in (install-src): Who commented this goal out ? :-)
289 Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware>
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>.
295 Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware>
297 * Makefile.in (Makefile): Explicitly use $(SHELL) for running
300 Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
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.
306 * dcgettext.c (find_msg): Must not swap domain->hash_size here.
308 Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware>
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.
314 Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu>
316 * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
317 !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
319 Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware>
321 * Makefile.in (install-src):
322 Install libintl.inst instead of libintl.h.install.
324 Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu>
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.
330 Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
332 * cat-compat.c (bindtextdomain): Add missing { }.
334 Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware>
336 * libintl.inst: Add missing __P definition. Reported by Nelson Beebe.
339 Add dummy `all' and `dvi' goals. Reported by Tom Tromey.
341 Sat Nov 25 16:12:01 1995 Franc,ois Pinard <pinard@iro.umontreal.ca>
343 * hash-string.h: Capitalize arguments of macros.
345 Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware>
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.
351 Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com>
353 * dcgettext.c: Fix bug in preprocessor conditionals.
355 Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
357 * libgettext.h: Solaris cc does not understand
358 #if !SYMBOL1 && !SYMBOL2. Sad but true.
360 Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware>
362 * hash-string.h (hash_string):
363 Fix for machine with >32 bit `unsigned long's.
365 * dcgettext.c (DCGETTEXT):
366 Fix horrible bug in loop for alternative translation.
368 Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware>
370 * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
371 Some further simplifications in message number generation.
373 Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware>
375 * libintl.h.glibc: Use __const instead of const in prototypes.
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.
381 * libintl.h.install, libintl.h.glibc: Initial revision.
383 * localealias.c (_nl_expand_alias, read_alias_file):
384 Protect prototypes in type casts by __P.
386 Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware>
388 * hash-string.h: Correct prototype for hash_string.
390 Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware>
392 * hash-string.h (hash_string): Add prototype.
394 * gettextP.h: Fix copyright.
395 (SWAP): Add prototype.
397 Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware>
399 * localealias.c (read_alias_file): Forgot sizeof.
400 Avoid calling *printf function. This introduces a big overhead.
401 Patch by Roland McGrath.
403 Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware>
405 * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
407 * finddomain.c (stpcpy):
408 Define substitution function local. The macro was to flaky.
410 * cat-compat.c: Fix typo.
412 * xopen-msg.sed, linux-msg.sed:
413 While bringing message number to right place only accept digits.
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
419 * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
420 dependency. Reported by Marcus Daniels.
422 * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
423 Generally cleanup using #if instead of #ifndef.
425 * Makefile.in: Correct typos in comment. By Franc,ois Pinard.
427 Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware>
429 * Makefile.in (install-src): Don't install libintl.h and libintl.a
430 if we use an available gettext implementation.
432 Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware>
434 * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported
437 * libgettext.h: Use #if instead of #ifdef/#ifndef.
440 Comments describing what has to be done should start with FIXME.
442 Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware>
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.
448 Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware>
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.
454 Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware>
456 * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This
457 might mark a special condition.
459 * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
461 * Makefile.in (dist): Suppress error message when ln failed.
462 Get files from $(srcdir) explicitly.
464 * libgettext.h (gettext_const): Rename to gettext_noop.
466 Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware>
468 * finddomain.c (make_entry_rec):
469 Protect against wrong locale names by testing mask.
471 * libgettext.h (gettext_const): Add macro definition.
472 Capitalize macro arguments.
474 Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware>
476 * finddomain.c (_nl_find_domain):
477 Test for pointer != NULL before accessing value.
478 Reported by Tom Tromey.
481 Define as (void*)0 instad of 0. Reported by Franc,ois Pinard.
483 Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware>
485 * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
487 Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware>
489 * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
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'.
495 Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware>
497 * Makefile.in (libdir, includedir): New variables.
498 (install-src): Install libintl.a and libintl.h in correct dirs.
500 Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware>
502 * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
504 * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
507 Fix typo and superflous test. Reported by Christian von Roques.
509 Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware>
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.
515 Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware>
517 * Makefile.in (DISTFILES): Add libintl.h.glibc.
519 * Makefile.in (dist-libc): Add goal for packing sources for glibc.
520 (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
522 * loadmsgcat.c: Forget to continue #if line.
525 [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
528 * dcgettext.c, finddomain.c: Better comment to last change.
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.
536 [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
539 [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
540 keep ANSI C name space clean.
543 Include sys/types.h for those old SysV systems out there.
544 Reported by Francesco Potorti`.
546 * loadmsgcat.c (use_mmap): Define if compiled for glibc.
548 * bindtextdom.c: Include all those standard headers
549 unconditionally if _LIBC is defined.
551 * finddomain.c: Fix 2 times defiend -> defined.
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.
557 * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
560 Include libintl.h instead of libgettext.h when compiling for glibc.
561 Get NULL from stddef.h if we compile for glibc.
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.
567 * dcgettext.c: Include all those standard headers unconditionally
570 * dgettext.c: If compiled in glibc include libintl.h instead of
572 (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
574 * dcgettext.c: If compiled in glibc include libintl.h instead of
576 (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
579 If compiled in glibc include libintl.h instead of libgettext.h.
581 Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware>
583 * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
584 Reported by Marcus Daniels.
586 * cat-compat.c (bindtextdomain):
587 String used in putenv must not be recycled.
588 Reported by Marcus Daniels.
590 * libgettext.h (__USE_GNU_GETTEXT):
591 Additional symbol to signal that we use GNU gettext
594 * cat-compat.c (bindtextdomain):
595 Fix bug with the strange stpcpy replacement.
596 Reported by Nelson Beebe.
598 Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware>
600 * cat-compat.c: Include <string.h> for stpcpy prototype.
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'.
606 * textdomain.c (textdomain):
607 Avoid warning by using temporary variable in strdup code.
609 * finddomain.c (_nl_find_domain): Remove unused variable `application'.
611 Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware>
613 * localealias.c (alias_compare):
614 Use strcasecmp() only if available. Else use
615 implementation in place.
618 Wrapper functions now call *__ functions instead of __*.
620 * libgettext.h: Declare prototypes for *__ functions instead for __*.
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
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
631 Rename to bindtextdomain__ if not used in GNU C Library.
634 Rename function to dgettext__ if not used in GNU C Library.
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
640 Functions now called gettext__ if not used in GNU C Library.
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
647 Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware>
649 * finddomain.c: Correct some bugs in handling of CEN standard
652 Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware>
654 * finddomain.c: Implement CEN syntax.
656 * gettextP.h (loaded_domain): Extend number of successors to 31.
658 Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware>
660 * Makefile.in (aliaspath): Remove path to X11 locale dir.
662 * Makefile.in: Make install-src depend on install. This helps
663 gettext to install the sources and other packages can use the
666 Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware>
668 * Makefile.in (uninstall): Remove stuff installed by install-src.
670 Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware>
672 * VERSION.in: Initial revision.
674 * Makefile.in (DISTFILES):
675 Add VERSION file. This is not necessary for gettext, but
676 for other packages using this library.
678 Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware>
680 * gettextP.h (_nl_find_domain):
681 New prototype after changing search strategy.
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.
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.
694 Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware>
696 * Makefile.in (gettextsrcdir):
697 Directory where source of GNU gettext library are made
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.
703 Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware>
705 * loadmsgcat.c (_nl_load_domain):
706 Use mmap for loading only when munmap function is
709 * Makefile.in (install): Depend on `all' goal.
711 Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware>
713 * localealias.c (read_alias_file):
714 Do not overwrite '\n' when terminating alias value string.
716 * localealias.c (read_alias_file):
717 Handle long lines. Ignore the rest not fitting in
718 the buffer after the initial `fgets' call.
720 Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware>
722 * gettextP.h (_nl_load_domain):
723 Add prototype, replacing prototype for _nl_load_msg_cat.
725 * finddomain.c (_nl_find_domain):
726 Remove unneeded variable filename and filename_len.
727 (expand_alias): Remove prototype because functions does not
730 * localealias.c (read_alias_file):
731 Change type of fname_len parameter to int.
732 (xmalloc): Add prototype.
734 * loadmsgcat.c: Better prototypes for xmalloc.
736 Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware>
738 * finddomain.c (_nl_find_domain):
739 Allow alias name to be constructed from the four components.
741 * Makefile.in (aliaspath): New variable. Set to preliminary value.
742 (SOURCES): Add localealias.c.
743 (OBJECTS): Add localealias.o.
745 * gettextP.h: Add prototype for _nl_expand_alias.
747 * finddomain.c: Aliasing handled in intl/localealias.c.
749 * localealias.c: Aliasing for locale names.
751 * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
753 Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware>
755 * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
757 * cat-compat.c (bindtextdomain):
758 Correct implementation. dirname parameter was not used.
759 Reported by Marcus Daniels.
761 * gettextP.h (loaded_domain):
762 New fields `successor' and `decided' for oo, lazy
763 message handling implementation.
766 Adopt for oo, lazy message handliing.
767 Now we can inherit translations from less specific locales.
768 (find_msg): New function.
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]'.
777 Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware>
779 * finddomain.c (unistd.h):
780 Include to get _PC_PATH_MAX defined on system having it.
782 Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware>
784 * finddomain.c (stpcpy): Include prototype.
786 * Makefile.in (dist): Remove `copying instead' message.
788 Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware>
790 * Makefile.in (ID, TAGS): Do not use $^.
792 Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware>
794 * Makefile.in (TAGS, ID): Use $^ as command argument.
795 (TAGS): Give etags -o option t write to current directory,
797 (ID): Use $(srcdir) instead os $(top_srcdir)/src.
798 (distclean): Remove ID.
800 Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware>
802 * Makefile.in (gnulocaledir):
803 New variable, always using share/ for data directory.
804 (DEFS): Add GNULOCALEDIR, used in finddomain.c.
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.
810 * intl-compat.c (textdomain, bindtextdomain):
811 Undefine macros before function definition.
813 Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware>
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.
819 Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware>
821 * intl-compat.c (textdomain): Correct typo.
823 Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware>
825 * dcgettext.c (dcgettext): Function now called __dcgettext.
827 * dgettext.c (dgettext): Now called __dgettext and calls
830 * gettext.c (gettext):
831 Function now called __gettext and calls __dgettext.
833 * textdomain.c (textdomain): Function now called __textdomain.
835 * bindtextdom.c (bindtextdomain): Function now called
838 * intl-compat.c: Initial revision.
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,
844 (GETTOBJS): Contains now only intl-compat.o.
847 Re-include protection matches dualistic character of libgettext.h.
848 For all functions in GNU gettext library define __ counter part.
850 * finddomain.c (strchr): Define as index if not found in C library.
851 (_nl_find_domain): For relative paths paste / in between.
853 Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware>
855 * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
857 * xopen-msg.sed: Fix bug with `msgstr ""' lines.
858 A little bit better comments.
860 Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware>
863 po-mode.el, makelinks, combine-sh are now found in ../misc.
865 * po-mode.el, makelinks, combine-sh, elisp-comp:
868 * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
870 Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware>
872 * Makefile.in (INSTALL, INSTALL_DATA): New variables.
873 (install-data, uninstall): Install/uninstall .elc file.
875 * po-mode.el (Installation comment):
876 Add .pox as possible extension of .po files.
878 Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware>
880 * elisp-comp: Complete new version by Franc,ois: This does not
881 fail when not compiling in the source directory.
883 Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware>
885 * Makefile.in (../po/cat-id-tbl.o):
886 Use $(MAKE) instead of make for recursive make.
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.
893 Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware>
895 * Makefile.in (DISTFILES):
896 Rename libgettext.perl to gettext.perl to fit in 14 chars
900 Rename to gettext.perl to fit in 14 chars file systems.
902 Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware>
904 * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
906 Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware>
908 * po2tbl.sed.in: Pretty printing.
910 * linux-msg.sed, xopen-msg.sed:
911 Correct bugs with handling substitute flags in branches.
913 * hash-string.h (hash_string):
914 Old K&R compilers don't under stand `unsigned char'.
916 * gettext.h (nls_uint32):
917 Some old K&R compilers (eg HP) don't understand `unsigned int'.
919 * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
921 Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware>
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.
929 * elisp-comp: Initial revision
931 Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware>
934 cat-id-tbl.c is now found in po/. This enables us to use an identical
935 intl/ directory in all packages.
937 * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
939 * textdomain.c: fix typo (#if def -> #if defined)
941 Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware>
943 * Makefile.in (stamp-cat-id): use top_srcdir to address source files
944 (DISTFILES,distclean): move tupdate.perl to src/
947 add additional jump to clear change flag to recognize multiline strings
949 Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware>
951 * textdomain.c: Protect inclusion of stdlib.h and string.h.
953 * loadmsgcat.c: Protect inclusion of stdlib.h.
955 * libgettext.h: Protect inclusion of locale.h.
956 Allow use in C++ programs.
957 Define NULL is not happened already.
959 * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
961 (distclean): remove po-to-tbl.sed and tupdate.perl.
963 * tupdate.perl.in: Substitute Perl path even in exec line.
964 Don't include entries without translation from old .po file.
966 Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware>
968 * tupdate.perl.in: use "Updated: " in msgid "".
970 * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
971 Define getenv if !__STDC__.
973 * bindtextdom.c: Protect stdlib.h and string.h inclusion.
974 Define free if !__STDC__.
976 * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
977 Define free if !__STDC__.
979 * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
981 Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware>
983 * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
984 Remove unneeded $(srcdir) from Makefile.in dependency.
986 * makelinks: Add copyright and short description.
988 * po-mode.el: Last version for 0.7.
990 * tupdate.perl.in: Fix die message.
992 * dcgettext.c: Protect include of string.h.
994 * gettext.c: Protect include of stdlib.h and further tries to get NULL.
996 * finddomain.c: Some corrections in includes.
998 * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1000 * po-to-tbl.sed: Adopt for new .po file format.
1002 * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1004 Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware>
1006 * tupdate.perl.in: Complete rewrite for new .po file format.
1008 Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware>
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.