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