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