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