1
2001-09-13 Bruno Haible <haible@clisp.cons.org>
3
* gettext-0.10.40 released.
5
2001-07-11 Ulrich Drepper <drepper@redhat.com>
7
* locale.alias: Use he language code for hebrew, not iw.
9
2001-09-13 Bruno Haible <haible@clisp.cons.org>
11
* *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL.
12
This is a reaction to a blackmail from the GNOME project which
13
threatened to distribute an LGPLed clone of libintl.
14
* COPYING.LIB-2, COPYING.LIB-2.1: New files.
15
* Makefile.in (DISTFILES.gettext): Add them.
16
(install-data): Install them.
17
(uninstall): Uninstall them.
19
2001-07-24 Bruno Haible <haible@clisp.cons.org>
21
* gettext-0.10.39 released.
23
2001-06-24 Bruno Haible <haible@clisp.cons.org>
25
* config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
26
Change canonical name of SJIS to SHIFT_JIS.
28
2001-06-12 Bruno Haible <haible@clisp.cons.org>
30
* dcigettext.c (DCIGETTEXT): Release the lock before returning.
32
2001-04-30 Bruno Haible <haible@clisp.cons.org>
34
Silence "gcc -Wall -Wwrite-strings" warnings.
35
* localcharset.c (charset_aliases): Change type to 'const char *'.
36
(get_charset_aliases): Change type of 'cp' to 'const char *'.
38
2001-05-23 Bruno Haible <haible@clisp.cons.org>
40
* gettext-0.10.38 released.
42
2001-05-22 Bruno Haible <haible@clisp.cons.org>
44
* Makefile.in (install-data): Install plural.c as well.
45
(uninstall): Uninstall plural.c as well.
47
2001-05-18 Bruno Haible <haible@clisp.cons.org>
49
* Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute
50
file in either current directory or $(srcdir), whichever exists.
52
2001-05-11 Bruno Haible <haible@clisp.cons.org>
54
* Makefile.in (install-exec): Don't install charset.alias on glibc 2.1
57
2001-04-30 Bruno Haible <haible@clisp.cons.org>
59
* dcigettext.c (getuid, getgid, geteuid, getegid): Provide default
60
definitions. Needed for mingw32.
62
2001-04-19 Bruno Haible <haible@clisp.cons.org>
64
* gettext-0.10.37 released.
66
2001-04-19 Bruno Haible <haible@clisp.cons.org>
68
* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0.
70
2001-04-19 Bruno Haible <haible@clisp.cons.org>
72
* loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when
73
the libiconv version is smaller than 1.5.
75
2001-04-09 Bruno Haible <haible@clisp.cons.org>
77
* loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined.
78
Apple's MacOS X compiler has not all the features that the regular
79
GCC with the same version number has.
81
2001-04-07 Bruno Haible <haible@clisp.cons.org>
83
* gettextP.h (struct loaded_domain): Add codeset_cntr field.
84
(struct binding): Add codeset_cntr field.
85
(_nl_load_domain): Add domainbinding argument.
86
(_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
87
(_nl_find_msg): New declaration, moved here from loadinfo.h.
88
* loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
89
(_nl_make_l10nflist): Remove domainbinding argument.
90
(_nl_find_msg): Move declaration to gettextP.h.
91
* bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0.
92
Increment it when ->codeset is changed.
93
* dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
94
(_nl_find_msg): Add domainbinding argument. Reinitialize the converter
95
if domainbinding->codeset_cntr has been incremented.
96
* finddomain.c (_nl_find_domain): Don't pass domainbinding to
97
_nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
98
* l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
99
* loadmsgcat.c (_nl_init_domain_conv): New function, extracted from
100
_nl_load_domain. Append //TRANSLIT also when using libiconv.
101
(_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
102
(_nl_load_domain): Add domainbinding argument. Call
103
_nl_init_domain_conv.
104
(_nl_unload_domain): Call _nl_free_domain_conv.
106
2001-04-09 Bruno Haible <haible@clisp.cons.org>
108
* dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2
111
2001-04-04 Bruno Haible <haible@clisp.cons.org>
113
* dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
115
2001-04-04 Bruno Haible <haible@clisp.cons.org>
117
* Makefile.in (libdir, includedir, datadir): Use the autoconf
118
determined value, in order to respect the configure arguments.
119
(gettextsrcdir): Use $(datadir), not @datadir@.
121
2001-03-29 Bruno Haible <haible@clisp.cons.org>
123
* gettext-0.10.36 released.
125
2001-03-25 Bruno Haible <haible@clisp.cons.org>
127
* Makefile.in (install-data): Set execution bits on installed
130
2001-03-23 Bruno Haible <haible@clisp.cons.org>
132
* Makefile.in (YACC): Use @INTLBISON@ instead of bison.
134
2001-03-21 Bruno Haible <haible@clisp.cons.org>
136
* dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
137
chokes on empty macro arguments.
138
* plural.y: Add #pragma for alloca on AIX 3.
140
2001-03-20 Bruno Haible <haible@clisp.cons.org>
142
* Makefile.in (DISTFILES.generated): New variable.
143
(DISTFILES.gettext): Remove plural.c.
144
(dist): Use DISTFILES.generated.
145
(YACC): Use "bison -y" instead of @YACC@.
146
Needed for "make dist" to work in normal packages.
148
2001-03-20 Bruno Haible <haible@clisp.cons.org>
150
* Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate
151
the files to be distributed through a recursive 'make' call.
153
2001-03-17 Bruno Haible <haible@clisp.cons.org>
155
* gettextP.h (struct expression): Add operators lnot, less_than,
156
greater_than, less_or_equal, greater_or_equal. Replace args2/args3
157
union by a 'nargs' counter and an 'args[]' array.
158
* plural.y: Don't include stdarg.h.
159
(new_exp): New function.
160
(new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp.
161
(new_exp_1): New function.
162
('?' ':'): Make right-associative.
163
(EQUOP2): New token, replaces '=' and '!'.
165
(ADDOP2): New token, replaces '+' and '-'.
166
(MULOP2): New token, replaces '*', '/' and '%'.
168
(exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
169
(start): Call YYABORT here.
170
(FREE_EXPRESSION): Update.
171
(yylex): Don't skip "\\n". Recognize comparison and '!' operators.
172
Update for new token symbols.
173
* loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural):
175
* dcigettext.c (_nl_find_msg): Optimize for space.
176
(plural_eval): Recognize comparison and '!' operators. Optimize for
179
* dcigettext.c (transcmp): New declaration.
181
2001-03-10 Bruno Haible <haible@clisp.cons.org>
183
* Makefile.in (libintl.la): Pass -liconv and flag -no-undefined.
184
Needed on platforms like BeOS.
186
* Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la.
187
(libgnuintl.a, libgnuintl.la): New targets. Needed for linking
188
../tests/tstgettext on systems which have gettext() in libintl.so.
190
* localcharset.c (locale_charset): Allow wildcard syntax. Resolve
191
alias also if codeset is empty.
192
* config.charset (BeOS): Use wildcard syntax.
194
* loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL
197
2001-03-09 Bruno Haible <haible@clisp.cons.org>
199
* config.charset: Update from libiconv-1.6.
200
* localcharset.c: Likewise.
202
2001-02-25 Ulrich Drepper <drepper@redhat.com>
204
* locale.alias: Don't use nb_NO but define aliases for it.
206
2001-01-26 Ulrich Drepper <drepper@redhat.com>
208
* loadmsgcat.c: Include <locale.h> for _LIBC.
210
2001-03-09 Bruno Haible <haible@clisp.cons.org>
212
* dcigettext.c (transmem_block_t): Change to unsigned char, to avoid
214
(_nl_find_msg): Add casts to avoid compiler warnings.
216
2001-03-09 Bruno Haible <haible@clisp.cons.org>
218
* Makefile.in (DISTFILES.common): Remove ChangeLog.
219
(DISTFILES.obsolete): New variable.
220
(install-data): Install ChangeLog.inst as ChangeLog. Remove the files
221
listed in DISTFILES.obsolete.
222
(uninstall): Simplify.
223
(distclean): Remove ChangeLog.inst.
224
(dist): Mention ChangeLog explicitly.
226
2001-03-04 Bruno Haible <haible@clisp.cons.org>
228
* dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH,
229
IS_PATH_WITH_DIR): New macros.
230
(DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment
231
path_max proportionally.
232
* loadinfo.h (PATH_SEPARATOR): New macro.
233
* l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'.
234
* localealias.c (_nl_expand_alias): Likewise.
235
* libgnuintl.h (gettext) [DJGPP]: Define as a macro as well.
237
2001-03-06 Bruno Haible <haible@clisp.cons.org>
239
* libgnuintl.h (LC_MESSAGES): Don't define on Solaris.
241
2001-02-24 Bruno Haible <haible@clisp.cons.org>
243
* dcigettext.c: Update comment about HAVE_LOCALE_NULL.
245
2001-02-05 Bruno Haible <haible@clisp.cons.org>
247
* libgnuintl.h (LC_MESSAGES): Provide a default value.
249
2001-01-30 Bruno Haible <haible@clisp.cons.org>
251
* config.charset: Update for FreeBSD 4.2.
253
2001-01-21 Bruno Haible <haible@clisp.cons.org>
256
* Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l.
257
(all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL
258
is 'yes', still build libintl.$la because the testsuite needs it.
259
(libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC)
260
must use all $(CFLAGS).
261
(install-exec): Use libtool to install libintl.$la.
262
(uninstall): Use libtool to uninstall libintl.$la.
263
(mostlyclean): Remove *.la and the .libs subdir.
264
* intl-compat.c: Reorder. Add comment.
266
2001-01-20 Bruno Haible <haible@clisp.cons.org>
268
* loadmsgcat.c (O_BINARY): Define on platforms that don't have it.
269
(_nl_load_domain): Open the catalog file in binary mode.
271
2001-01-24 Bruno Haible <haible@clisp.cons.org>
273
* gettextP.h (SWAP): Remove declaration, to work around a compilation
274
failure on alphaev5-cray-unicosmk2.0.5.X.
276
2001-01-15 Bruno Haible <haible@clisp.cons.org>
278
* dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid
281
2001-01-07 Bruno Haible <haible@clisp.cons.org>
283
* gettextP.h (__gettextdebug): Remove declaration.
284
(gettext_free_exp__, gettextparse__): New non-libc declarations.
285
* plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not
286
__gettextparse, __gettext_free_exp.
287
* loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
289
2001-01-07 Bruno Haible <haible@clisp.cons.org>
291
* libgnuintl.h: Renamed from intlh.inst.in.
292
Remove comment about __builtin_constant_p.
294
* libgettext.h: Completely rewritten. Now a conditional wrapper around
295
<libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove
297
* gettextP.h: Include gettext.h, for nls_uint32.
298
(gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__,
299
bind_textdomain_codeset__): New declarations, from old libgettext.h.
300
* gettext.h: Don't include <stdio.h>.
301
* Makefile.in (HEADERS): Add libgnuintl.h.
302
(DISTFILES.gettext): Remove intlh.inst.in.
303
(all-yes): Depend on libintl.h instead of intlh.inst.
304
(libintl.h): New target. Create as a copy of libgnuintl.h.
305
(intlh.inst): Remove target.
306
(install-exec): Update.
307
($(OBJECTS): Depend on libgnuintl.h, not libgettext.h.
308
(mostlyclean): Remove libintl.h instead of intlh.inst.
309
(dist-libc): Remove target.
310
* bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't
312
* dcgettext.c: Likewise.
313
* dcigettext.c: Likewise.
314
* dcngettext.c: Likewise.
315
* dngettext.c: Likewise.
316
* finddomain.c: Likewise.
317
* ngettext.c: Likewise.
318
* textdomain.c: Likewise.
319
* dgettext.c: Include libgnuintl.h instead of libgettext.h. Include
321
* gettext.c: Likewise.
322
* intl-compat.c: Likewise.
323
* localealias.c: Don't include gettext.h.
324
* plural.y: Likewise.
326
2001-01-07 Bruno Haible <haible@clisp.cons.org>
328
Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
329
* intlh.inst.in: Likewise.
330
* libgettext.h: Likewise.
331
* gettextP.h: Likewise.
332
* bindtextdom.c: Likewise.
333
* dcigettext.c: Likewise.
334
* dgettext.c: Likewise.
335
* dngettext.c: Likewise.
336
* explodename.c: Likewise.
337
* finddomain.c: Likewise.
338
* gettext.c: Likewise.
339
* l10nflist.c: Likewise.
340
* loadmsgcat.c: Likewise.
341
* localealias.c: Likewise.
342
* ngettext.c: Likewise.
343
* textdomain.c: Likewise.
345
2001-01-06 Bruno Haible <haible@clisp.cons.org>
347
Remove catgets fallback code.
348
- It does not handle message clash prevention through domains and
350
- It does not handle message catalog inheritance and the LANGUAGE
351
environment variable.
352
- It does not handle locale aliases.
353
- It does not handle automatic charset conversion.
354
- It does not handle plural form handling and ngettext().
355
- It uses a slow string to integer conversion.
356
- It is sensitive against installation problems.
357
* cat-compat.c: Remove file.
358
* po2msg.sin, po2tbl.sin: Remove files.
359
* Makefile.in (datadir): Assume DATADIRNAME = share.
360
(SOURCES): Remove cat-compat.c.
361
(DISTFILES.common): Remove po2msg.sin, po2tbl.sin.
362
(distclean): No need to remove po2msg.sed, po2tbl.sed.
363
(../po/cat-id-tbl.$lo): Remove rule.
364
* libgettext.h (_msg_ent): Remove.
365
(_msg_tbl, _msg_tbl_length): Remove declarations.
366
(gettext, dgettext, ngettext, dngettext): Don't depend on
369
2001-01-04 Ulrich Drepper <drepper@redhat.com>
371
* plural.y (yylex): Minimal improvement in number scanner.
373
2001-01-02 Ulrich Drepper <drepper@redhat.com>
375
* dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value
376
is ignored if the selected locale is the C locale.
378
2000-11-20 Ulrich Drepper <drepper@redhat.com>
380
* dcigettext.c (transcmp): Make s1 and s2 const.
381
* loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to
384
2000-11-09 Ulrich Drepper <drepper@redhat.com>
386
* locale.alias: Add thai.
387
Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
389
2001-01-05 Bruno Haible <haible@clisp.cons.org>
391
* Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib.
392
(.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o
393
rule, not the builtin .y.o rule.
394
(.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make"
395
specification. Remove $*.h explicitly: we don't need plural.h.
396
* gettextP.h: Include <stddef.h>.
397
(__gettext_free_exp, __gettextparse): Convert prototype to K&R C
399
* bindtextdom.c (offsetof): Provide fallback for platforms that lack
401
(set_binding_values): Convert prototype to K&R C syntax.
402
* cat-compat.c: Include stdlib.h, string.h whenever possible.
403
* dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a
404
must not depend on external .o files.
405
(offsetof): Provide fallback for platforms that lack it, like SunOS4.
406
(transcmp): Convert to K&R C syntax.
407
* explodename.c Include stdlib.h whenever possible.
408
(_nl_find_language): Convert to K&R C syntax.
409
* finddomain.c: Include stdlib.h whenever possible.
410
* l10nflist.c Include stdlib.h whenever possible.
411
(_nl_normalize_codeset): Use tolower, not _tolower.
412
* loadmsgcat.c: Include stdlib.h whenever possible.
413
Include headers needed for alloca().
415
(_nl_load_domain): Add fallback code for platforms lacking strtoul,
416
like SunOS4. Add fallback code for platforms lacking alloca.
417
* localealias.c: Include stdlib.h whenever possible.
418
(ADD_BLOCK, FREE_BLOCK): Remove macros.
420
(read_alias_file): Simplify fallback code for platforms lacking alloca.
421
* plural.y (new_exp_0, new_exp_2, new_exp_3): New functions.
422
(new_exp): Remove function.
423
(__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax.
424
* textdomain.c: Include stdlib.h whenever possible.
425
* gettext.c: Likewise.
426
* ngettext.c: Likewise.
427
* localcharset.c (volatile): Define to empty if not using ANSI C.
429
2001-01-01 Bruno Haible <haible@clisp.cons.org>
431
* Makefile.in (mostlyclean): Remove intlh.inst, charset.alias,
432
ref-add.sed, ref-del.sed.
433
(distclean): In the gettext package, remove VERSION.
435
2001-01-01 Bruno Haible <haible@clisp.cons.org>
437
Finish implementation of plural form handling.
438
* dcigettext.c (known_translation_t): Rename 'domain' field to
439
'domainname'. Remove 'plindex' field. Add 'domain' and
440
'translation_length' fields.
441
(transcmp): Don't compare 'plindex' fields.
442
(plural_lookup): New function.
443
(DCIGETTEXT): Change cache handing in the plural case. Don't call
444
plural_eval before the translation and its catalog file have been
445
found. Remove plindex from cache key. Add 'translation_length' and
446
'domain' to cache result.
447
(_nl_find_msg): Remove index argument, return length of translation
448
to the caller instead. Weaken comparison of string lengths, to account
449
for plural entries. Call iconv() on the entire result string, not
450
only on the portion needed so far.
451
* loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
453
* loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
455
* intl-compat.c (dcngettext, dngettext, ngettext): New functions.
456
* libgettext.h (ngettext__, dngettext__, dcngettext__): New
458
(ngettext, dngettext): Add missing macro argument.
460
* intlh.inst.in (ngettext, dngettext): Add missing macro argument.
462
2000-12-31 Bruno Haible <haible@clisp.cons.org>
464
* gettextP.h (ZERO): New macro.
465
(struct binding): Always use ZERO.
466
* bindtextdom.c (set_binding_values): Use offsetof, not sizeof.
467
Include <stddef.h> whenever possible.
468
* dcigettext.c (ZERO): Remove macro.
469
(struct transmem_list): Use ZERO.
470
(DCIGETTEXT): Use offsetof, not sizeof.
471
Include <stddef.h> whenever possible.
473
* config.charset: Update from libiconv-1.5.1.
474
* localcharset.c: Likewise.
476
2000-12-30 Bruno Haible <haible@clisp.cons.org>
478
* locale.alias: New file, moved here from ../misc/locale.alias. Add
479
"Packages using this file" line.
480
* Makefile.in (DISTFILES.common): Add locale.alias.
481
(install-exec, uninstall): Install/deinstall locale.alias.
483
2000-10-30 Ulrich Drepper <drepper@redhat.com>
485
* dcigettext.c (guess_category_value): For libc always use the
488
2000-10-20 Ulrich Drepper <drepper@redhat.com>
490
* libintl.glibc (ngettext macro): Add missing parameter.
491
(dngettext macro): Likewise.
493
2000-10-14 Ulrich Drepper <drepper@redhat.com>
495
* localealias.c (read_alias_file): Update string pointers in map[]
496
if realloc() changed the values.
497
Patch by Jakub Jelinek <jakub@redhat.com>.
499
2000-08-31 Ulrich Drepper <drepper@redhat.com>
501
* loadmsgcat.c: Use *stat64 instead of *stat internally.
503
* dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings
506
2000-08-27 Ulrich Drepper <drepper@redhat.com>
508
* dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to
509
determine invalid locale name.
511
2000-08-20 Ulrich Drepper <drepper@redhat.com>
513
* dcigettext.c: Unify use of function aliases to make more compact
516
* loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
518
* plural.y (new_exp): Take number of optional parameters in second
519
parameter. Test for correct number of parameters and free correctly
520
in case of failure. Adjust all callers.
521
(yylex): Fix handling of '\0'. Allow ';' as terminator character.
523
2000-07-14 Bruno Haible <haible@clisp.cons.org>
525
* dcigettext.c (dcigettext): Call plural_eval on all platforms, not
526
only those having tsearch.
528
2000-06-30 Ulrich Drepper <drepper@redhat.com>
530
* dcigettext.c (_nl_find_msg): Correct reallocation of buffers in
531
case the translation is too large. Remember allocated memory blocks
533
(free_mem): Free memory for translations.
535
2000-06-16 Ulrich Drepper <drepper@redhat.com>
537
* loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new
538
parameter to always enable transliteration.
540
1998-10-20 Paul Eggert <eggert@twinsun.com>
542
* po2tbl.sin: Escape trigraphs.
544
2000-10-12 Bruno Haible <haible@clisp.cons.org>
546
* finddomain.c: Remove unneeded includes.
548
2000-10-12 Bruno Haible <haible@clisp.cons.org>
550
* localealias.c (memcpy): Return first argument, just like the real
551
memcpy function does.
552
* bindtextdom.c (memcpy): Likewise.
553
* finddomain.c (memcpy): Likewise.
554
* l10nflist.c (memcpy): Likewise.
555
* textdomain.c (memcpy): Likewise.
556
From Paul Eggert <eggert@twinsun.com>.
558
2000-09-29 Bruno Haible <haible@clisp.cons.org>
560
* libintl.glibc: Update from current glibc version.
562
2000-09-18 Bruno Haible <haible@clisp.cons.org>
564
* dcigettext.c: Outside libc, use local variable names that don't
565
clash with those in libc.
566
* bindtextdom.c: Likewise.
567
* textdomain.c: Likewise.
569
2000-07-31 Bruno Haible <haible@clisp.cons.org>
571
* plural.y: Include config.h. Needed to define 'inline' away for C
572
compilers that don't support it.
573
(yylex): Don't use gcc specific case range syntax.
574
* loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers.
576
2000-07-28 Bruno Haible <haible@clisp.cons.org>
578
Simplification: In all cases where $(gnulocaledir) is used, it is
579
identical to $(localedir).
580
* Makefile.in (DEFS): Remove setting for GNULOCALEDIR.
581
* dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
583
2000-07-28 Bruno Haible <haible@clisp.cons.org>
585
* xopen-msg.sed: Renamed to ...
586
* po2msg.sin: ... here.
587
* linux-msg.sed: Remove file.
588
* Makefile.in (DISTFILES.common): Update.
590
2000-07-28 Bruno Haible <haible@clisp.cons.org>
592
* po2tbl.sed.in: Renamed to ...
593
* po2tbl.sin: ... here.
594
* Makefile.in (DISTFILES.common): Update.
596
2000-07-28 Bruno Haible <haible@clisp.cons.org>
598
* Makefile.in (uninstall): Synchronize with the install target.
599
Really remove charset.alias when its reference count drops to 0.
601
2000-07-28 Bruno Haible <haible@clisp.cons.org>
603
* Makefile.in (mkinstalldirs): New macro. Needed when configured with
604
--srcdir=<relative pathname>; then ac_aux_dir will be a relative
605
pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise.
606
(install-exec, install-data): Use it.
608
2000-07-26 Bruno Haible <haible@clisp.cons.org>
610
* Makefile.in (install-exec, install-data): Use $(SHELL) for calling
611
$(MKINSTALLDIRS), don't rely on its execution permissions.
613
* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables.
614
(libintl.la): Use them.
616
* Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR
617
support, as recommended by GNU standards. Fix misapplied 2000-06-16
620
2000-06-16 Bruno Haible <haible@clisp.cons.org>
622
* Makefile.in (COMSRCS): Add localcharset.c.
623
(OBJECTS): Add localcharset.$lo.
624
(DISTFILES.common): Add config.charset, ref-{add,del}.sin.
625
(DEFS): Add -DLIBDIR.
626
(all-yes): Add charset.alias, ref-{add,del}.sed.
627
(.SUFFIXES): Add .sin and .sed.
628
(.sin.sed, charset.alias): New rules.
629
(install-exec, uninstall): Install/deinstall charset.alias.
630
* localcharset.c: New file, from fileutils-4.0u.
631
* config.charset: New file, from fileutils-4.0u.
632
* red-add.sin, ref-del.sin: New files, from fileutils-4.0u.
634
* intlh.inst.in (bind_textdomain_codeset): New declaration.
635
* libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__):
637
(bind_textdomain_codeset) [!ENABLE_NLS]: New macro.
638
* cat-compat.c (bind_textdomain_codeset): New function.
639
* intl-compat.c (bind_textdomain_codeset): New function.
641
* libgettext.h (ngettext, dngettext, dcngettext): New
643
(dcgettext): Remove macro definition.
644
(textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument.
645
* intlh.inst.in (ngettext, dngettext, dcngettext): New
647
(dcgettext): Remove macro definition.
649
* *.h, *.c, *.y: Change copyright notice from LGPL to GPL.
651
2000-05-21 Ulrich Drepper <drepper@redhat.com>
653
* dcigettext.c: Fix typo in comment.
655
2000-05-08 Andreas Jaeger <aj@suse.de>
657
* bindtextdom.c (set_binding_values): Add prototype.
659
2000-05-05 Bruno Haible <haible@clisp.cons.org>
661
* dcigettext.c (alignof): New macro.
662
(_nl_find_msg): Use it instead of __alignof__. Pass correct output
663
buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
666
2000-05-05 Bruno Haible <haible@clisp.cons.org>
668
* dcigettext.c (dcigettext): Fix interpretation of tsearch
671
2000-05-06 Ulrich Drepper <drepper@redhat.com>
673
* dcigettext.c (DCIGETTEXT): Always define local variable `index'.
674
(mempcpy): Correct typo in parameter list.
676
* hash-string.h: Don't include <values.h>.
678
* *.c, *.h, *.y: Update from glibc version.
680
1998-04-29 Paul Eggert <eggert@twinsun.com>
682
* Makefile.in (aliaspath): Don't put `.' at the end.
684
1998-06-01 Ulrich Drepper <drepper@cygnus.com>
686
* localealias.c (read_alias_file): Undo last change.
687
* l10nflist.c (_nl_normalize_codeset): Likewise.
688
* loadinfo.h: Likewise.
690
1998-05-23 Ulrich Drepper <drepper@cygnus.com>
692
* dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined.
694
1998-05-01 08:47 Ulrich Drepper <drepper@cygnus.com>
696
* gettext-0.10.35 released.
698
1998-04-29 Ulrich Drepper <drepper@cygnus.com>
700
* intl/localealias.c (read_alias_file): Use unsigned char for
701
local variables. Remove unused variable tp.
702
* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
703
for type of codeset. For loosing Solaris systems.
704
* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
705
* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
707
Patches by Jim Meyering.
709
1998-04-28 Ulrich Drepper <drepper@cygnus.com>
711
* loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
712
mmap is not supported.
714
* hash-string.h: Don't include <values.h>.
716
1998-04-27 Ulrich Drepper <drepper@cygnus.com>
718
* textdomain.c: Use strdup is available.
720
* localealias.c: Define HAVE_MEMPCPY so that we can use this
721
function. Define and use semapahores to protect modfication of
722
global objects when compiling for glibc. Add code to allow
725
* l10nflist.c: Don't assume stpcpy not being a macro.
727
* gettextP.h: Define internal_function macri if not already done.
728
Use glibc byte-swap macros instead of defining SWAP when compiled
730
(struct loaded_domain): Add elements to allow unloading.
732
* Makefile.in (distclean): Don't remove libintl.h here.
734
* bindtextdomain.c: Carry over changes from glibc. Use strdup if
737
* dcgettext.c: Don't assume stpcpy not being a macro. Mark internal
738
functions. Add memory freeing code for glibc.
740
* dgettext.c: Update copyright.
742
* explodename.c: Include stdlib.h and string.h only if they exist.
743
Use strings.h eventually.
745
* finddomain.c: Mark internal functions. Use strdup if available.
746
Add memory freeing code for glibc.
748
1997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com>
750
* libgettext.h: Fix dummy textdomain and bindtextdomain macros.
751
They should return reasonable values.
752
Reported by Tom Tromey <tromey@cygnus.com>.
754
1997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com>
756
* libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
757
* intlh.inst.in: Likewise.
758
Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
760
* libintl.glibc: Update from current glibc version.
762
1997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com>
764
* intlh.inst.in: Reformat copyright.
766
1997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com>
768
* dcgettext.c (DCGETTEXT): Remove wrong comment.
770
1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com>
772
* Makefile.in (install-data): Don't change directory to install.
774
1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com>
776
* cat-compat.c: Fix copyright.
778
* localealias.c: Don't define strchr unless !HAVE_STRCHR.
780
* loadmsgcat.c: Update copyright. Fix typos.
782
* l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
783
(_nl_make_l10nflist): Handle sponsor and revision correctly.
785
* gettext.c: Update copyright.
786
* gettext.h: Likewise.
787
* hash-string.h: Likewise.
789
* finddomain.c: Remoave dead code. Define strchr only if
792
* explodename.c: Include <sys/types.h>.
794
* explodename.c: Reformat copyright text.
795
(_nl_explode_name): Fix typo.
797
* dcgettext.c: Define and use __set_errno.
798
(guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
801
* bindtextdom.c: Pretty printing.
803
1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com>
805
* dcgettext.c (guess_category_value): Don't depend on
806
HAVE_LC_MESSAGES. We don't need the macro here.
807
Patch by Bruno Haible <haible@ilog.fr>.
809
* cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
810
macro. Instead use HAVE_LOCALE_NULL and define it when using
811
glibc, as in dcgettext.c.
812
Patch by Bruno Haible <haible@ilog.fr>.
814
* Makefile.in (CPPFLAGS): New variable. Reported by Franc,ois
817
Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com>
819
* Makefile.in: Implement handling of libtool.
821
* gettextP.h: Change data structures for use of generic lowlevel
824
Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com>
826
* textdomain.c: Put parentheses around arguments of memcpy macro
828
* localealias.c: Likewise.
829
* l10nflist.c: Likewise.
830
* finddomain.c: Likewise.
831
* bindtextdom.c: Likewise.
832
Reported by Thomas Esken.
834
Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com>
836
* textdomain.c: Move definition of `memcpy` macro to right
839
Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com>
841
* finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
842
bcopy if not already defined. Reported by Thomas Esken.
843
* bindtextdom.c: Likewise.
844
* l10nflist.c: Likewise.
845
* localealias.c: Likewise.
846
* textdomain.c: Likewise.
848
Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com>
850
* Makefile.in (libdir): Change to use exec_prefix instead of
851
prefix. Reported by Knut-Hļæ½vardAksnes <etokna@eto.ericsson.se>.
853
Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com>
855
* l10nflist.c (_nl_normalize_codeset): We convert to lower case,
856
so don't prepend uppercase `ISO' for only numeric arg.
858
Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
860
* l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
861
definition of _GNU_SOURCE. Patch by Roland McGrath.
863
* Makefile.in (uninstall): Fix another bug with `for' loop and
864
empty arguments. Patch by Jim Meyering. Correct name os
865
uninstalled files: no intl- prefix anymore.
867
* Makefile.in (install-data): Again work around shells which
868
cannot handle mpty for list. Reported by Jim Meyering.
870
Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com>
872
* Makefile.in (install): Split goal. Now depend on install-exec
874
(install-exec, install-data): New goals. Created from former
876
Reported by Karl Berry.
878
Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com>
880
* Makefile.in (MKINSTALLDIRS): New variable. Path to
881
mkinstalldirs script.
882
(install): use MKINSTALLDIRS variable or if the script is not present
883
try to find it in the $top_scrdir).
885
Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com>
887
* l10nflist.c: Linux libc *partly* includes the argz_* functions.
888
Grr. Work around by renaming the static version and use macros
891
Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com>
893
* l10nflist.c: Correct presence test macros of __argz_* functions.
895
* l10nflist.c: Include <argz.h> based on test of it instead when
896
__argz_* functions are available.
897
Reported by Andreas Schwab.
899
Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com>
901
* explodename.c, l10nflist.c: Define NULL for dumb systems.
903
Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com>
905
* intlh.inst.in, libgettext.h (dcgettext): Rename local variable
906
result to __result to prevent name clash.
908
* l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
909
get prototype for stpcpy and strcasecmp.
911
* intlh.inst.in, libgettext.h: Move declaration of
912
`_nl_msg_cat_cntr' outside __extension__ block to prevent warning
913
from gcc's -Wnested-extern option.
915
Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com>
917
* Makefile.in (install): Remove comment.
919
Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com>
921
* Makefile.in (install): Work around for another Buglix stupidity.
922
Always use an `else' close for `if's. Reported by Nelson Beebe.
924
* Makefile.in (intlh.inst): Correct typo in phony rule.
925
Reported by Nelson Beebe.
927
Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com>
929
* dcgettext.c (read_alias_file): Rename variable alloca_list to
930
block_list as the macro calls assume.
931
Patch by Eric Backus.
933
* localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
935
(read_alias_file): Rename varriabe alloca_list to block_list as the
937
Patch by Eric Backus.
939
* l10nflist.c: Correct conditional for <argz.h> inclusion.
940
Reported by Roland McGrath.
942
* Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
945
* Makefile.in (install): intlh.inst comes from local dir, not
948
* Makefile.in (intlh.inst): Special handling of this goal. If
949
used in gettext, this is really a rul to construct this file. If
950
used in any other package it is defined as a .PHONY rule with
953
* finddomain.c: Extract locale file information handling into
954
l10nfile.c. Rename local stpcpy__ function to stpcpy.
956
* dcgettext.c (stpcpy): Add local definition.
958
* l10nflist.c: Solve some portability problems. Patches partly by
959
Thomas Esken. Add local definition of stpcpy.
961
Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com>
963
* intlh.inst.in: Don't depend including <locale.h> on
964
HAVE_LOCALE_H. Instead configure must rewrite this fiile
965
depending on the result of the configure run.
967
* Makefile.in (install): libintl.inst is now called intlh.inst.
968
Add rules for updating intlh.inst from intlh.inst.in.
970
* libintl.inst: Renamed to intlh.inst.in.
972
* localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
973
because gcc has __buitlin_alloca.
974
Reported by Roland McGrath.
976
Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com>
978
* Makefile.in (installcheck): New goal to fulfill needs of
979
automake's distcheck.
981
* Makefile.in (install): Reorder commands so that VERSION is
984
* Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
986
(COMSRCS): Add l10nfile.c.
987
(OBJECTS): Add l10nfile.o.
988
(DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common).
989
(DISTFILE.gettext): Remove $(DISTFILES.common).
990
(all-gettext): Remove goal.
991
(install): If $(PACKAGE) = gettext install, otherwose do nothing. No
992
package but gettext itself should install libintl.h + headers.
993
(dist): Extend goal to work for gettext, too.
994
(dist-gettext): Remove goal.
996
* dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
998
Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com>
1000
* loadmsgcat.c (_nl_load_domain): Parameter is now comes from
1003
Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com>
1005
* l10nflist.c (__argz_next): Add definition.
1007
* dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
1008
code. Use new l10nfile handling.
1010
* localealias.c [!HAVE_ALLOCA]: Add code for handling missing
1013
* l10nflist.c: Initial revision.
1015
Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware>
1017
* Makefile.in (all-gettext): New goal. Same as all-yes.
1019
Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de>
1021
* Makefile.in (gettextsrcdir): Define using @datadir@.
1023
Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware>
1025
* finddomain.c: Include <ctype.h>. Reported by Roland McGrath.
1027
Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware>
1029
* finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
1030
with external declaration.
1032
Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware>
1034
* Makefile.in (all-no): Rename from all_no.
1036
Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware>
1038
* gettextP.h [loaded_domain]: Array `successor' must now contain up
1039
to 63 elements (because of codeset name normalization).
1041
* finddomain.c: Implement codeset name normalization.
1043
Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware>
1045
* Makefile.in (all): Define to `all-@USE_NLS@'.
1046
(all-yes, all_no): New goals. `all-no' is noop, `all-yes'
1049
Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com>
1051
* localealias.c (alias_compare): Increment string pointers in loop
1052
of strcasecmp replacement.
1054
Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware>
1056
* Makefile.in (install-src): Who commented this goal out ? :-)
1058
Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware>
1060
* dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls
1061
should not effect it because a missing catalog is no error.
1062
Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
1064
Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware>
1066
* Makefile.in (Makefile): Explicitly use $(SHELL) for running
1069
Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1071
* Makefile.in (install-src): Only install library and header when
1072
we use the own implementation. Don't do it when using the
1073
system's gettext or catgets functions.
1075
* dcgettext.c (find_msg): Must not swap domain->hash_size here.
1077
Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware>
1079
* localealias.c, libintl.inst, libgettext.h, hash-string.h,
1080
gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
1081
Use PARAMS instead of __P. Suggested by Roland McGrath.
1083
Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu>
1085
* libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
1086
!_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
1088
Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware>
1090
* Makefile.in (install-src):
1091
Install libintl.inst instead of libintl.h.install.
1093
Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu>
1095
* cat-compat.c (textdomain):
1096
Reverse order in which files are tried you load. First
1097
try local file, when this failed absolute path.
1099
Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
1101
* cat-compat.c (bindtextdomain): Add missing { }.
1103
Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware>
1105
* libintl.inst: Add missing __P definition. Reported by Nelson Beebe.
1108
Add dummy `all' and `dvi' goals. Reported by Tom Tromey.
1110
Sat Nov 25 16:12:01 1995 Franc,ois Pinard <pinard@iro.umontreal.ca>
1112
* hash-string.h: Capitalize arguments of macros.
1114
Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware>
1116
* Makefile.in (DISTFILES): Prevent files names longer than 13
1117
characters. libintl.h.glibc->libintl.glibc,
1118
libintl.h.install->libintl.inst. Reported by Joshua R. Poulson.
1120
Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com>
1122
* dcgettext.c: Fix bug in preprocessor conditionals.
1124
Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
1126
* libgettext.h: Solaris cc does not understand
1127
#if !SYMBOL1 && !SYMBOL2. Sad but true.
1129
Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware>
1131
* hash-string.h (hash_string):
1132
Fix for machine with >32 bit `unsigned long's.
1134
* dcgettext.c (DCGETTEXT):
1135
Fix horrible bug in loop for alternative translation.
1137
Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware>
1139
* po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
1140
Some further simplifications in message number generation.
1142
Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware>
1144
* libintl.h.glibc: Use __const instead of const in prototypes.
1146
* Makefile.in (install-src):
1147
Install libintl.h.install instead of libintl.h. This
1148
is a stripped-down version. Suggested by Peter Miller.
1150
* libintl.h.install, libintl.h.glibc: Initial revision.
1152
* localealias.c (_nl_expand_alias, read_alias_file):
1153
Protect prototypes in type casts by __P.
1155
Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware>
1157
* hash-string.h: Correct prototype for hash_string.
1159
Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware>
1161
* hash-string.h (hash_string): Add prototype.
1163
* gettextP.h: Fix copyright.
1164
(SWAP): Add prototype.
1166
Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware>
1168
* localealias.c (read_alias_file): Forgot sizeof.
1169
Avoid calling *printf function. This introduces a big overhead.
1170
Patch by Roland McGrath.
1172
Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware>
1174
* finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
1176
* finddomain.c (stpcpy):
1177
Define substitution function local. The macro was to flaky.
1179
* cat-compat.c: Fix typo.
1181
* xopen-msg.sed, linux-msg.sed:
1182
While bringing message number to right place only accept digits.
1184
* linux-msg.sed, xopen-msg.sed: Now that the counter does not have
1185
leading 0s we don't need to remove them. Reported by Marcus
1188
* Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
1189
dependency. Reported by Marcus Daniels.
1191
* cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
1192
Generally cleanup using #if instead of #ifndef.
1194
* Makefile.in: Correct typos in comment. By Franc,ois Pinard.
1196
Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware>
1198
* Makefile.in (install-src): Don't install libintl.h and libintl.a
1199
if we use an available gettext implementation.
1201
Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware>
1203
* libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported
1204
by Franc,ois Pinard.
1206
* libgettext.h: Use #if instead of #ifdef/#ifndef.
1209
Comments describing what has to be done should start with FIXME.
1211
Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware>
1213
* Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning.
1214
DISTFILES.common names the files common to both dist goals.
1215
DISTFILES.gettext are the files only distributed in GNU gettext.
1217
Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware>
1219
* dcgettext.c (DCGETTEXT): Correct searching in derived locales.
1220
This was necessary since a change in _nl_find_msg several weeks
1221
ago. I really don't know this is still not fixed.
1223
Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware>
1225
* loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This
1226
might mark a special condition.
1228
* finddomain.c (make_entry_rec): Don't make illegal entry as decided.
1230
* Makefile.in (dist): Suppress error message when ln failed.
1231
Get files from $(srcdir) explicitly.
1233
* libgettext.h (gettext_const): Rename to gettext_noop.
1235
Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware>
1237
* finddomain.c (make_entry_rec):
1238
Protect against wrong locale names by testing mask.
1240
* libgettext.h (gettext_const): Add macro definition.
1241
Capitalize macro arguments.
1243
Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware>
1245
* finddomain.c (_nl_find_domain):
1246
Test for pointer != NULL before accessing value.
1247
Reported by Tom Tromey.
1250
Define as (void*)0 instad of 0. Reported by Franc,ois Pinard.
1252
Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware>
1254
* po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
1256
Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware>
1258
* libgettext.h: Disable dcgettext optimization for Solaris 2.3.
1260
* localealias.c (alias_compare):
1261
Peter Miller reported that tolower in some systems is
1262
even dumber than I thought. Protect call by `isupper'.
1264
Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware>
1266
* Makefile.in (libdir, includedir): New variables.
1267
(install-src): Install libintl.a and libintl.h in correct dirs.
1269
Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware>
1271
* Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
1273
* po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
1276
Fix typo and superflous test. Reported by Christian von Roques.
1278
Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware>
1280
* finddomain.c (_nl_find_domain):
1281
Correct some remainder from the pre-CEN syntax. Now
1282
we don't have a constant number of successors anymore.
1284
Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware>
1286
* Makefile.in (DISTFILES): Add libintl.h.glibc.
1288
* Makefile.in (dist-libc): Add goal for packing sources for glibc.
1289
(COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
1291
* loadmsgcat.c: Forget to continue #if line.
1294
[_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
1297
* dcgettext.c, finddomain.c: Better comment to last change.
1300
[_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
1301
__fstat, __open, __close, __read, __mmap, and __munmap resp
1302
to keep ANSI C name space clean.
1305
[_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
1308
[_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
1309
keep ANSI C name space clean.
1312
Include sys/types.h for those old SysV systems out there.
1313
Reported by Francesco Potorti`.
1315
* loadmsgcat.c (use_mmap): Define if compiled for glibc.
1317
* bindtextdom.c: Include all those standard headers
1318
unconditionally if _LIBC is defined.
1320
* finddomain.c: Fix 2 times defiend -> defined.
1322
* textdomain.c: Include libintl.h instead of libgettext.h when
1323
compiling for glibc. Include all those standard headers
1324
unconditionally if _LIBC is defined.
1326
* localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
1329
Include libintl.h instead of libgettext.h when compiling for glibc.
1330
Get NULL from stddef.h if we compile for glibc.
1332
* finddomain.c: Include libintl.h instead of libgettext.h when
1333
compiling for glibc. Include all those standard headers
1334
unconditionally if _LIBC is defined.
1336
* dcgettext.c: Include all those standard headers unconditionally
1337
if _LIBC is defined.
1339
* dgettext.c: If compiled in glibc include libintl.h instead of
1341
(locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
1343
* dcgettext.c: If compiled in glibc include libintl.h instead of
1345
(getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
1348
If compiled in glibc include libintl.h instead of libgettext.h.
1350
Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware>
1352
* localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
1353
Reported by Marcus Daniels.
1355
* cat-compat.c (bindtextdomain):
1356
String used in putenv must not be recycled.
1357
Reported by Marcus Daniels.
1359
* libgettext.h (__USE_GNU_GETTEXT):
1360
Additional symbol to signal that we use GNU gettext
1363
* cat-compat.c (bindtextdomain):
1364
Fix bug with the strange stpcpy replacement.
1365
Reported by Nelson Beebe.
1367
Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware>
1369
* cat-compat.c: Include <string.h> for stpcpy prototype.
1371
* localealias.c (read_alias_file):
1372
While expand strdup code temporary variable `cp' hided
1373
higher level variable with same name. Rename to `tp'.
1375
* textdomain.c (textdomain):
1376
Avoid warning by using temporary variable in strdup code.
1378
* finddomain.c (_nl_find_domain): Remove unused variable `application'.
1380
Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware>
1382
* localealias.c (alias_compare):
1383
Use strcasecmp() only if available. Else use
1384
implementation in place.
1387
Wrapper functions now call *__ functions instead of __*.
1389
* libgettext.h: Declare prototypes for *__ functions instead for __*.
1391
* cat-compat.c, loadmsgcat.c:
1392
Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1393
of the standard libc and so prevent libintl.a from being used
1397
Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1398
of the standard libc and so prevent libintl.a from being used
1400
Rename to bindtextdomain__ if not used in GNU C Library.
1403
Rename function to dgettext__ if not used in GNU C Library.
1406
Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1407
of the standard libc and so prevent libintl.a from being used
1409
Functions now called gettext__ if not used in GNU C Library.
1411
* dcgettext.c, localealias.c, textdomain.c, finddomain.c:
1412
Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
1413
of the standard libc and so prevent libintl.a from being used
1416
Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware>
1418
* finddomain.c: Correct some bugs in handling of CEN standard
1421
Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware>
1423
* finddomain.c: Implement CEN syntax.
1425
* gettextP.h (loaded_domain): Extend number of successors to 31.
1427
Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware>
1429
* Makefile.in (aliaspath): Remove path to X11 locale dir.
1431
* Makefile.in: Make install-src depend on install. This helps
1432
gettext to install the sources and other packages can use the
1435
Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware>
1437
* Makefile.in (uninstall): Remove stuff installed by install-src.
1439
Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware>
1441
* VERSION.in: Initial revision.
1443
* Makefile.in (DISTFILES):
1444
Add VERSION file. This is not necessary for gettext, but
1445
for other packages using this library.
1447
Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware>
1449
* gettextP.h (_nl_find_domain):
1450
New prototype after changing search strategy.
1452
* finddomain.c (_nl_find_domain):
1453
We now try only to find a specified catalog. Fall back to other
1454
catalogs listed in the locale list is now done in __dcgettext.
1456
* dcgettext.c (__dcgettext):
1457
Now we provide message fall back even to different languages.
1458
I.e. if a message is not available in one language all the other
1459
in the locale list a tried. Formerly fall back was only possible
1460
within one language. Implemented by moving one loop from
1461
_nl_find_domain to here.
1463
Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware>
1465
* Makefile.in (gettextsrcdir):
1466
Directory where source of GNU gettext library are made
1468
(INSTALL, INSTALL_DATA): Programs used for installing sources.
1469
(gettext-src): New. Rule to install GNU gettext sources for use in
1470
gettextize shell script.
1472
Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware>
1474
* loadmsgcat.c (_nl_load_domain):
1475
Use mmap for loading only when munmap function is
1478
* Makefile.in (install): Depend on `all' goal.
1480
Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware>
1482
* localealias.c (read_alias_file):
1483
Do not overwrite '\n' when terminating alias value string.
1485
* localealias.c (read_alias_file):
1486
Handle long lines. Ignore the rest not fitting in
1487
the buffer after the initial `fgets' call.
1489
Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware>
1491
* gettextP.h (_nl_load_domain):
1492
Add prototype, replacing prototype for _nl_load_msg_cat.
1494
* finddomain.c (_nl_find_domain):
1495
Remove unneeded variable filename and filename_len.
1496
(expand_alias): Remove prototype because functions does not
1499
* localealias.c (read_alias_file):
1500
Change type of fname_len parameter to int.
1501
(xmalloc): Add prototype.
1503
* loadmsgcat.c: Better prototypes for xmalloc.
1505
Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware>
1507
* finddomain.c (_nl_find_domain):
1508
Allow alias name to be constructed from the four components.
1510
* Makefile.in (aliaspath): New variable. Set to preliminary value.
1511
(SOURCES): Add localealias.c.
1512
(OBJECTS): Add localealias.o.
1514
* gettextP.h: Add prototype for _nl_expand_alias.
1516
* finddomain.c: Aliasing handled in intl/localealias.c.
1518
* localealias.c: Aliasing for locale names.
1520
* bindtextdom.c: Better prototypes for xmalloc and xstrdup.
1522
Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware>
1524
* Makefile.in (DISTFILES): gettext.perl is now found in misc/.
1526
* cat-compat.c (bindtextdomain):
1527
Correct implementation. dirname parameter was not used.
1528
Reported by Marcus Daniels.
1530
* gettextP.h (loaded_domain):
1531
New fields `successor' and `decided' for oo, lazy
1532
message handling implementation.
1535
Adopt for oo, lazy message handliing.
1536
Now we can inherit translations from less specific locales.
1537
(find_msg): New function.
1539
* loadmsgcat.c, finddomain.c:
1540
Complete rewrite. Implement oo, lazy message handling :-).
1541
We now have an additional environment variable `LANGUAGE' with
1542
a higher priority than LC_ALL for the LC_MESSAGE locale.
1543
Here we can set a colon separated list of specifications each
1544
of the form `language[_territory[.codeset]][@modifier]'.
1546
Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware>
1548
* finddomain.c (unistd.h):
1549
Include to get _PC_PATH_MAX defined on system having it.
1551
Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware>
1553
* finddomain.c (stpcpy): Include prototype.
1555
* Makefile.in (dist): Remove `copying instead' message.
1557
Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware>
1559
* Makefile.in (ID, TAGS): Do not use $^.
1561
Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware>
1563
* Makefile.in (TAGS, ID): Use $^ as command argument.
1564
(TAGS): Give etags -o option t write to current directory,
1566
(ID): Use $(srcdir) instead os $(top_srcdir)/src.
1567
(distclean): Remove ID.
1569
Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware>
1571
* Makefile.in (gnulocaledir):
1572
New variable, always using share/ for data directory.
1573
(DEFS): Add GNULOCALEDIR, used in finddomain.c.
1575
* finddomain.c (_nl_default_dirname):
1576
Set to GNULOCALEDIR, because it always has to point
1577
to the directory where GNU gettext Library writes it to.
1579
* intl-compat.c (textdomain, bindtextdomain):
1580
Undefine macros before function definition.
1582
Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware>
1584
* libgettext.h (_LIBINTL_H):
1585
Protect definition in case where this file is included as
1586
libgettext.h on Solaris machines. Add comment about this.
1588
Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware>
1590
* intl-compat.c (textdomain): Correct typo.
1592
Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware>
1594
* dcgettext.c (dcgettext): Function now called __dcgettext.
1596
* dgettext.c (dgettext): Now called __dgettext and calls
1599
* gettext.c (gettext):
1600
Function now called __gettext and calls __dgettext.
1602
* textdomain.c (textdomain): Function now called __textdomain.
1604
* bindtextdom.c (bindtextdomain): Function now called
1607
* intl-compat.c: Initial revision.
1609
* Makefile.in (SOURCES): Add intl-compat.c.
1610
(OBJECTS): We always compile the GNU gettext library functions.
1611
OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
1613
(GETTOBJS): Contains now only intl-compat.o.
1616
Re-include protection matches dualistic character of libgettext.h.
1617
For all functions in GNU gettext library define __ counter part.
1619
* finddomain.c (strchr): Define as index if not found in C library.
1620
(_nl_find_domain): For relative paths paste / in between.
1622
Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware>
1624
* loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
1626
* xopen-msg.sed: Fix bug with `msgstr ""' lines.
1627
A little bit better comments.
1629
Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware>
1632
po-mode.el, makelinks, combine-sh are now found in ../misc.
1634
* po-mode.el, makelinks, combine-sh, elisp-comp:
1637
* libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
1639
Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware>
1641
* Makefile.in (INSTALL, INSTALL_DATA): New variables.
1642
(install-data, uninstall): Install/uninstall .elc file.
1644
* po-mode.el (Installation comment):
1645
Add .pox as possible extension of .po files.
1647
Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware>
1649
* elisp-comp: Complete new version by Franc,ois: This does not
1650
fail when not compiling in the source directory.
1652
Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware>
1654
* Makefile.in (../po/cat-id-tbl.o):
1655
Use $(MAKE) instead of make for recursive make.
1657
* Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
1658
(install-exec): Add missing dummy goal.
1659
(install-data, uninstall): @ in multi-line shell command at
1660
beginning, not in front of echo. Reported by Eric Backus.
1662
Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware>
1664
* Makefile.in (DISTFILES):
1665
Rename libgettext.perl to gettext.perl to fit in 14 chars
1669
Rename to gettext.perl to fit in 14 chars file systems.
1671
Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware>
1673
* cat-compat.c: If !STDC_HEADERS try to include malloc.h.
1675
Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware>
1677
* po2tbl.sed.in: Pretty printing.
1679
* linux-msg.sed, xopen-msg.sed:
1680
Correct bugs with handling substitute flags in branches.
1682
* hash-string.h (hash_string):
1683
Old K&R compilers don't under stand `unsigned char'.
1685
* gettext.h (nls_uint32):
1686
Some old K&R compilers (eg HP) don't understand `unsigned int'.
1688
* cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
1690
Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware>
1692
* Makefile.in (ELCFILES): New variable.
1693
(DISTFILES): Add elisp-comp.
1694
Add implicit rule for .el -> .elc compilation.
1695
(install-data): install $ELCFILES
1696
(clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1698
* elisp-comp: Initial revision
1700
Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware>
1703
cat-id-tbl.c is now found in po/. This enables us to use an identical
1704
intl/ directory in all packages.
1706
* dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1708
* textdomain.c: fix typo (#if def -> #if defined)
1710
Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware>
1712
* Makefile.in (stamp-cat-id): use top_srcdir to address source files
1713
(DISTFILES,distclean): move tupdate.perl to src/
1716
add additional jump to clear change flag to recognize multiline strings
1718
Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware>
1720
* textdomain.c: Protect inclusion of stdlib.h and string.h.
1722
* loadmsgcat.c: Protect inclusion of stdlib.h.
1724
* libgettext.h: Protect inclusion of locale.h.
1725
Allow use in C++ programs.
1726
Define NULL is not happened already.
1728
* Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1730
(distclean): remove po-to-tbl.sed and tupdate.perl.
1732
* tupdate.perl.in: Substitute Perl path even in exec line.
1733
Don't include entries without translation from old .po file.
1735
Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware>
1737
* tupdate.perl.in: use "Updated: " in msgid "".
1739
* cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1740
Define getenv if !__STDC__.
1742
* bindtextdom.c: Protect stdlib.h and string.h inclusion.
1743
Define free if !__STDC__.
1745
* finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1746
Define free if !__STDC__.
1748
* cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1750
Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware>
1752
* Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1753
Remove unneeded $(srcdir) from Makefile.in dependency.
1755
* makelinks: Add copyright and short description.
1757
* po-mode.el: Last version for 0.7.
1759
* tupdate.perl.in: Fix die message.
1761
* dcgettext.c: Protect include of string.h.
1763
* gettext.c: Protect include of stdlib.h and further tries to get NULL.
1765
* finddomain.c: Some corrections in includes.
1767
* Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1769
* po-to-tbl.sed: Adopt for new .po file format.
1771
* linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1773
Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware>
1775
* tupdate.perl.in: Complete rewrite for new .po file format.
1777
Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware>
1779
* First official release. This directory contains all the code
1780
needed to internationalize own packages. It provides functions
1781
which allow to use the X/Open catgets function with an interface
1782
like the Uniforum gettext function. For system which does not
1783
have neither of those a complete implementation is provided.