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