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