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