~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to intl/ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2002-04-10 13:17:42 UTC
  • Revision ID: james.westby@ubuntu.com-20020410131742-npf89tsaygdolprj
Tags: upstream-0.10.40
ImportĀ upstreamĀ versionĀ 0.10.40

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2001-09-13  Bruno Haible  <haible@clisp.cons.org>
 
2
 
 
3
        * gettext-0.10.40 released.
 
4
 
 
5
2001-07-11  Ulrich Drepper  <drepper@redhat.com>
 
6
 
 
7
        * locale.alias: Use he language code for hebrew, not iw.
 
8
 
 
9
2001-09-13  Bruno Haible  <haible@clisp.cons.org>
 
10
 
 
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.
 
18
 
 
19
2001-07-24  Bruno Haible  <haible@clisp.cons.org>
 
20
 
 
21
        * gettext-0.10.39 released.
 
22
 
 
23
2001-06-24  Bruno Haible  <haible@clisp.cons.org>
 
24
 
 
25
        * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
 
26
        Change canonical name of SJIS to SHIFT_JIS.
 
27
 
 
28
2001-06-12  Bruno Haible  <haible@clisp.cons.org>
 
29
 
 
30
        * dcigettext.c (DCIGETTEXT): Release the lock before returning.
 
31
 
 
32
2001-04-30  Bruno Haible  <haible@clisp.cons.org>
 
33
 
 
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 *'.
 
37
 
 
38
2001-05-23  Bruno Haible  <haible@clisp.cons.org>
 
39
 
 
40
        * gettext-0.10.38 released.
 
41
 
 
42
2001-05-22  Bruno Haible  <haible@clisp.cons.org>
 
43
 
 
44
        * Makefile.in (install-data): Install plural.c as well.
 
45
        (uninstall): Uninstall plural.c as well.
 
46
 
 
47
2001-05-18  Bruno Haible  <haible@clisp.cons.org>
 
48
 
 
49
        * Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute
 
50
        file in either current directory or $(srcdir), whichever exists.
 
51
 
 
52
2001-05-11  Bruno Haible  <haible@clisp.cons.org>
 
53
 
 
54
        * Makefile.in (install-exec): Don't install charset.alias on glibc 2.1
 
55
        systems.
 
56
 
 
57
2001-04-30  Bruno Haible  <haible@clisp.cons.org>
 
58
 
 
59
        * dcigettext.c (getuid, getgid, geteuid, getegid): Provide default
 
60
        definitions. Needed for mingw32.
 
61
 
 
62
2001-04-19  Bruno Haible  <haible@clisp.cons.org>
 
63
 
 
64
        * gettext-0.10.37 released.
 
65
 
 
66
2001-04-19  Bruno Haible <haible@clisp.cons.org>
 
67
 
 
68
        * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0.
 
69
 
 
70
2001-04-19  Bruno Haible <haible@clisp.cons.org>
 
71
 
 
72
        * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when
 
73
        the libiconv version is smaller than 1.5.
 
74
 
 
75
2001-04-09  Bruno Haible <haible@clisp.cons.org>
 
76
 
 
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.
 
80
 
 
81
2001-04-07  Bruno Haible <haible@clisp.cons.org>
 
82
 
 
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.
 
105
 
 
106
2001-04-09  Bruno Haible  <haible@clisp.cons.org>
 
107
 
 
108
        * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2
 
109
        (Linux libc5).
 
110
 
 
111
2001-04-04  Bruno Haible  <haible@clisp.cons.org>
 
112
 
 
113
        * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
 
114
 
 
115
2001-04-04  Bruno Haible  <haible@clisp.cons.org>
 
116
 
 
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@.
 
120
 
 
121
2001-03-29  Bruno Haible  <haible@clisp.cons.org>
 
122
 
 
123
        * gettext-0.10.36 released.
 
124
 
 
125
2001-03-25  Bruno Haible  <haible@clisp.cons.org>
 
126
 
 
127
        * Makefile.in (install-data): Set execution bits on installed
 
128
        config.charset.
 
129
 
 
130
2001-03-23  Bruno Haible  <haible@clisp.cons.org>
 
131
 
 
132
        * Makefile.in (YACC): Use @INTLBISON@ instead of bison.
 
133
 
 
134
2001-03-21  Bruno Haible  <haible@clisp.cons.org>
 
135
 
 
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.
 
139
 
 
140
2001-03-20  Bruno Haible  <haible@clisp.cons.org>
 
141
 
 
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.
 
147
 
 
148
2001-03-20  Bruno Haible  <haible@clisp.cons.org>
 
149
 
 
150
        * Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate
 
151
        the files to be distributed through a recursive 'make' call.
 
152
 
 
153
2001-03-17  Bruno Haible  <haible@clisp.cons.org>
 
154
 
 
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 '!'.
 
164
        (CMPOP2): New token.
 
165
        (ADDOP2): New token, replaces '+' and '-'.
 
166
        (MULOP2): New token, replaces '*', '/' and '%'.
 
167
        ('!'): New token.
 
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):
 
174
        Update.
 
175
        * dcigettext.c (_nl_find_msg): Optimize for space.
 
176
        (plural_eval): Recognize comparison and '!' operators. Optimize for
 
177
        space.
 
178
 
 
179
        * dcigettext.c (transcmp): New declaration.
 
180
 
 
181
2001-03-10  Bruno Haible  <haible@clisp.cons.org>
 
182
 
 
183
        * Makefile.in (libintl.la): Pass -liconv and flag -no-undefined.
 
184
        Needed on platforms like BeOS.
 
185
 
 
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.
 
189
 
 
190
        * localcharset.c (locale_charset): Allow wildcard syntax. Resolve
 
191
        alias also if codeset is empty.
 
192
        * config.charset (BeOS): Use wildcard syntax.
 
193
 
 
194
        * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL
 
195
        any more.
 
196
 
 
197
2001-03-09  Bruno Haible  <haible@clisp.cons.org>
 
198
 
 
199
        * config.charset: Update from libiconv-1.6.
 
200
        * localcharset.c: Likewise.
 
201
 
 
202
2001-02-25  Ulrich Drepper  <drepper@redhat.com>
 
203
 
 
204
        * locale.alias: Don't use nb_NO but define aliases for it.
 
205
 
 
206
2001-01-26  Ulrich Drepper  <drepper@redhat.com>
 
207
 
 
208
        * loadmsgcat.c: Include <locale.h> for _LIBC.
 
209
 
 
210
2001-03-09  Bruno Haible  <haible@clisp.cons.org>
 
211
 
 
212
        * dcigettext.c (transmem_block_t): Change to unsigned char, to avoid
 
213
        compiler warning.
 
214
        (_nl_find_msg): Add casts to avoid compiler warnings.
 
215
 
 
216
2001-03-09  Bruno Haible  <haible@clisp.cons.org>
 
217
 
 
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.
 
225
 
 
226
2001-03-04  Bruno Haible  <haible@clisp.cons.org>
 
227
 
 
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.
 
236
 
 
237
2001-03-06  Bruno Haible  <haible@clisp.cons.org>
 
238
 
 
239
        * libgnuintl.h (LC_MESSAGES): Don't define on Solaris.
 
240
 
 
241
2001-02-24  Bruno Haible  <haible@clisp.cons.org>
 
242
 
 
243
        * dcigettext.c: Update comment about HAVE_LOCALE_NULL.
 
244
 
 
245
2001-02-05  Bruno Haible  <haible@clisp.cons.org>
 
246
 
 
247
        * libgnuintl.h (LC_MESSAGES): Provide a default value.
 
248
 
 
249
2001-01-30  Bruno Haible  <haible@clisp.cons.org>
 
250
 
 
251
        * config.charset: Update for FreeBSD 4.2.
 
252
 
 
253
2001-01-21  Bruno Haible  <haible@clisp.cons.org>
 
254
 
 
255
        Use libtool.
 
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.
 
265
 
 
266
2001-01-20  Bruno Haible  <haible@clisp.cons.org>
 
267
 
 
268
        * loadmsgcat.c (O_BINARY): Define on platforms that don't have it.
 
269
        (_nl_load_domain): Open the catalog file in binary mode.
 
270
 
 
271
2001-01-24  Bruno Haible  <haible@clisp.cons.org>
 
272
 
 
273
        * gettextP.h (SWAP): Remove declaration, to work around a compilation
 
274
        failure on alphaev5-cray-unicosmk2.0.5.X.
 
275
 
 
276
2001-01-15  Bruno Haible  <haible@clisp.cons.org>
 
277
 
 
278
        * dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid
 
279
        a warning.
 
280
 
 
281
2001-01-07  Bruno Haible  <haible@clisp.cons.org>
 
282
 
 
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.
 
288
 
 
289
2001-01-07  Bruno Haible  <haible@clisp.cons.org>
 
290
 
 
291
        * libgnuintl.h: Renamed from intlh.inst.in.
 
292
        Remove comment about __builtin_constant_p.
 
293
        (gettext): Use NULL.
 
294
        * libgettext.h: Completely rewritten. Now a conditional wrapper around
 
295
        <libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove
 
296
        everything else.
 
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
 
311
        include gettext.h.
 
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
 
320
        gettextP.h.
 
321
        * gettext.c: Likewise.
 
322
        * intl-compat.c: Likewise.
 
323
        * localealias.c: Don't include gettext.h.
 
324
        * plural.y: Likewise.
 
325
 
 
326
2001-01-07  Bruno Haible  <haible@clisp.cons.org>
 
327
 
 
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.
 
344
 
 
345
2001-01-06  Bruno Haible  <haible@clisp.cons.org>
 
346
 
 
347
        Remove catgets fallback code.
 
348
        - It does not handle message clash prevention through domains and
 
349
          dgettext().
 
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
 
367
        !HAVE_CATGETS.
 
368
 
 
369
2001-01-04  Ulrich Drepper  <drepper@redhat.com>
 
370
 
 
371
        * plural.y (yylex): Minimal improvement in number scanner.
 
372
 
 
373
2001-01-02  Ulrich Drepper  <drepper@redhat.com>
 
374
 
 
375
        * dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value
 
376
        is ignored if the selected locale is the C locale.
 
377
 
 
378
2000-11-20  Ulrich Drepper  <drepper@redhat.com>
 
379
 
 
380
        * dcigettext.c (transcmp): Make s1 and s2 const.
 
381
        * loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to
 
382
        avoid warning.
 
383
 
 
384
2000-11-09  Ulrich Drepper  <drepper@redhat.com>
 
385
 
 
386
        * locale.alias: Add thai.
 
387
        Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
 
388
 
 
389
2001-01-05  Bruno Haible  <haible@clisp.cons.org>
 
390
 
 
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
 
398
        syntax.
 
399
        * bindtextdom.c (offsetof): Provide fallback for platforms that lack
 
400
        it, like SunOS4.
 
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().
 
414
        (freea): New macro.
 
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.
 
419
        (freea): New macro.
 
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.
 
428
 
 
429
2001-01-01  Bruno Haible  <haible@clisp.cons.org>
 
430
 
 
431
        * Makefile.in (mostlyclean): Remove intlh.inst, charset.alias,
 
432
        ref-add.sed, ref-del.sed.
 
433
        (distclean): In the gettext package, remove VERSION.
 
434
 
 
435
2001-01-01  Bruno Haible  <haible@clisp.cons.org>
 
436
 
 
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
 
452
        argument.
 
453
        * loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
 
454
 
 
455
        * intl-compat.c (dcngettext, dngettext, ngettext): New functions.
 
456
        * libgettext.h (ngettext__, dngettext__, dcngettext__): New
 
457
        declarations.
 
458
        (ngettext, dngettext): Add missing macro argument.
 
459
 
 
460
        * intlh.inst.in (ngettext, dngettext): Add missing macro argument.
 
461
 
 
462
2000-12-31  Bruno Haible  <haible@clisp.cons.org>
 
463
 
 
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.
 
472
 
 
473
        * config.charset: Update from libiconv-1.5.1.
 
474
        * localcharset.c: Likewise.
 
475
 
 
476
2000-12-30  Bruno Haible  <haible@clisp.cons.org>
 
477
 
 
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.
 
482
 
 
483
2000-10-30  Ulrich Drepper  <drepper@redhat.com>
 
484
 
 
485
        * dcigettext.c (guess_category_value): For libc always use the
 
486
        setlocale() method.
 
487
 
 
488
2000-10-20  Ulrich Drepper  <drepper@redhat.com>
 
489
 
 
490
        * libintl.glibc (ngettext macro): Add missing parameter.
 
491
        (dngettext macro): Likewise.
 
492
 
 
493
2000-10-14  Ulrich Drepper  <drepper@redhat.com>
 
494
 
 
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>.
 
498
 
 
499
2000-08-31  Ulrich Drepper  <drepper@redhat.com>
 
500
 
 
501
        * loadmsgcat.c: Use *stat64 instead of *stat internally.
 
502
 
 
503
        * dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings
 
504
        list.
 
505
 
 
506
2000-08-27  Ulrich Drepper  <drepper@redhat.com>
 
507
 
 
508
        * dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to
 
509
        determine invalid locale name.
 
510
 
 
511
2000-08-20  Ulrich Drepper  <drepper@redhat.com>
 
512
 
 
513
        * dcigettext.c: Unify use of function aliases to make more compact
 
514
        PLT.
 
515
 
 
516
        * loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
 
517
        Pretty printing.
 
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.
 
522
 
 
523
2000-07-14  Bruno Haible  <haible@clisp.cons.org>
 
524
 
 
525
        * dcigettext.c (dcigettext): Call plural_eval on all platforms, not
 
526
        only those having tsearch.
 
527
 
 
528
2000-06-30  Ulrich Drepper  <drepper@redhat.com>
 
529
 
 
530
        * dcigettext.c (_nl_find_msg): Correct reallocation of buffers in
 
531
        case the translation is too large.  Remember allocated memory blocks
 
532
        in a list.
 
533
        (free_mem): Free memory for translations.
 
534
 
 
535
2000-06-16  Ulrich Drepper  <drepper@redhat.com>
 
536
 
 
537
        * loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new
 
538
        parameter to always enable transliteration.
 
539
 
 
540
1998-10-20  Paul Eggert  <eggert@twinsun.com>
 
541
 
 
542
        * po2tbl.sin: Escape trigraphs.
 
543
 
 
544
2000-10-12  Bruno Haible  <haible@clisp.cons.org>
 
545
 
 
546
        * finddomain.c: Remove unneeded includes.
 
547
 
 
548
2000-10-12  Bruno Haible  <haible@clisp.cons.org>
 
549
 
 
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>.
 
557
 
 
558
2000-09-29  Bruno Haible  <haible@clisp.cons.org>
 
559
 
 
560
        * libintl.glibc: Update from current glibc version.
 
561
 
 
562
2000-09-18  Bruno Haible  <haible@clisp.cons.org>
 
563
 
 
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.
 
568
 
 
569
2000-07-31  Bruno Haible  <haible@clisp.cons.org>
 
570
 
 
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.
 
575
 
 
576
2000-07-28  Bruno Haible  <haible@clisp.cons.org>
 
577
 
 
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.
 
582
 
 
583
2000-07-28  Bruno Haible  <haible@clisp.cons.org>
 
584
 
 
585
        * xopen-msg.sed: Renamed to ...
 
586
        * po2msg.sin: ... here.
 
587
        * linux-msg.sed: Remove file.
 
588
        * Makefile.in (DISTFILES.common): Update.
 
589
 
 
590
2000-07-28  Bruno Haible  <haible@clisp.cons.org>
 
591
 
 
592
        * po2tbl.sed.in: Renamed to ...
 
593
        * po2tbl.sin: ... here.
 
594
        * Makefile.in (DISTFILES.common): Update.
 
595
 
 
596
2000-07-28  Bruno Haible  <haible@clisp.cons.org>
 
597
 
 
598
        * Makefile.in (uninstall): Synchronize with the install target.
 
599
        Really remove charset.alias when its reference count drops to 0.
 
600
 
 
601
2000-07-28  Bruno Haible  <haible@clisp.cons.org>
 
602
 
 
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.
 
607
 
 
608
2000-07-26  Bruno Haible  <haible@clisp.cons.org>
 
609
 
 
610
        * Makefile.in (install-exec, install-data): Use $(SHELL) for calling
 
611
        $(MKINSTALLDIRS), don't rely on its execution permissions.
 
612
 
 
613
        * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables.
 
614
        (libintl.la): Use them.
 
615
 
 
616
        * Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR
 
617
        support, as recommended by GNU standards. Fix misapplied 2000-06-16
 
618
        patch.
 
619
 
 
620
2000-06-16  Bruno Haible  <haible@clisp.cons.org>
 
621
 
 
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.
 
633
 
 
634
        * intlh.inst.in (bind_textdomain_codeset): New declaration.
 
635
        * libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__):
 
636
        New declarations.
 
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.
 
640
 
 
641
        * libgettext.h (ngettext, dngettext, dcngettext): New
 
642
        declarations.
 
643
        (dcgettext): Remove macro definition.
 
644
        (textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument.
 
645
        * intlh.inst.in (ngettext, dngettext, dcngettext): New
 
646
        declarations.
 
647
        (dcgettext): Remove macro definition.
 
648
 
 
649
        * *.h, *.c, *.y: Change copyright notice from LGPL to GPL.
 
650
 
 
651
2000-05-21  Ulrich Drepper  <drepper@redhat.com>
 
652
 
 
653
        * dcigettext.c: Fix typo in comment.
 
654
 
 
655
2000-05-08  Andreas Jaeger  <aj@suse.de>
 
656
 
 
657
        * bindtextdom.c (set_binding_values): Add prototype.
 
658
 
 
659
2000-05-05  Bruno Haible  <haible@clisp.cons.org>
 
660
 
 
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
 
664
        freemem_size to 0.
 
665
 
 
666
2000-05-05  Bruno Haible  <haible@clisp.cons.org>
 
667
 
 
668
        * dcigettext.c (dcigettext): Fix interpretation of tsearch
 
669
        return value.
 
670
 
 
671
2000-05-06  Ulrich Drepper  <drepper@redhat.com>
 
672
 
 
673
        * dcigettext.c (DCIGETTEXT): Always define local variable `index'.
 
674
        (mempcpy): Correct typo in parameter list.
 
675
 
 
676
        * hash-string.h: Don't include <values.h>.
 
677
 
 
678
        * *.c, *.h, *.y: Update from glibc version.
 
679
 
 
680
1998-04-29  Paul Eggert  <eggert@twinsun.com>
 
681
 
 
682
        * Makefile.in (aliaspath): Don't put `.' at the end.
 
683
 
 
684
1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
 
685
 
 
686
        * localealias.c (read_alias_file): Undo last change.
 
687
        * l10nflist.c (_nl_normalize_codeset): Likewise.
 
688
        * loadinfo.h: Likewise.
 
689
 
 
690
1998-05-23  Ulrich Drepper  <drepper@cygnus.com>
 
691
 
 
692
        * dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined.
 
693
 
 
694
1998-05-01 08:47  Ulrich Drepper  <drepper@cygnus.com>
 
695
 
 
696
        * gettext-0.10.35 released.
 
697
 
 
698
1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
 
699
 
 
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
 
706
        len if not needed.
 
707
        Patches by Jim Meyering.
 
708
 
 
709
1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
 
710
 
 
711
        * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
 
712
        mmap is not supported.
 
713
 
 
714
        * hash-string.h: Don't include <values.h>.
 
715
 
 
716
1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
 
717
 
 
718
        * textdomain.c: Use strdup is available.
 
719
 
 
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
 
723
        freeing alias table.
 
724
 
 
725
        * l10nflist.c: Don't assume stpcpy not being a macro.
 
726
 
 
727
        * gettextP.h: Define internal_function macri if not already done.
 
728
        Use glibc byte-swap macros instead of defining SWAP when compiled
 
729
        for glibc.
 
730
        (struct loaded_domain): Add elements to allow unloading.
 
731
 
 
732
        * Makefile.in (distclean): Don't remove libintl.h here.
 
733
 
 
734
        * bindtextdomain.c: Carry over changes from glibc.  Use strdup if
 
735
        available.
 
736
 
 
737
        * dcgettext.c: Don't assume stpcpy not being a macro.  Mark internal
 
738
        functions.  Add memory freeing code for glibc.
 
739
 
 
740
        * dgettext.c: Update copyright.
 
741
 
 
742
        * explodename.c: Include stdlib.h and string.h only if they exist.
 
743
        Use strings.h eventually.
 
744
 
 
745
        * finddomain.c: Mark internal functions.  Use strdup if available.
 
746
        Add memory freeing code for glibc.
 
747
 
 
748
1997-10-10 20:00  Ulrich Drepper  <drepper@cygnus.com>
 
749
 
 
750
        * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
 
751
        They should return reasonable values.
 
752
        Reported by Tom Tromey <tromey@cygnus.com>.
 
753
 
 
754
1997-09-16 03:33  Ulrich Drepper  <drepper@cygnus.com>
 
755
 
 
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>.
 
759
 
 
760
        * libintl.glibc: Update from current glibc version.
 
761
 
 
762
1997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
 
763
 
 
764
        * intlh.inst.in: Reformat copyright.
 
765
 
 
766
1997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
 
767
 
 
768
        * dcgettext.c (DCGETTEXT): Remove wrong comment.
 
769
 
 
770
1997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
 
771
 
 
772
        * Makefile.in (install-data): Don't change directory to install.
 
773
 
 
774
1997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
 
775
 
 
776
        * cat-compat.c: Fix copyright.
 
777
 
 
778
        * localealias.c: Don't define strchr unless !HAVE_STRCHR.
 
779
 
 
780
        * loadmsgcat.c: Update copyright.  Fix typos.
 
781
 
 
782
        * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
 
783
        (_nl_make_l10nflist): Handle sponsor and revision correctly.
 
784
 
 
785
        * gettext.c: Update copyright.
 
786
        * gettext.h: Likewise.
 
787
        * hash-string.h: Likewise.
 
788
 
 
789
        * finddomain.c: Remoave dead code.  Define strchr only if
 
790
        !HAVE_STRCHR.
 
791
 
 
792
        * explodename.c: Include <sys/types.h>.
 
793
 
 
794
        * explodename.c: Reformat copyright text.
 
795
        (_nl_explode_name): Fix typo.
 
796
 
 
797
        * dcgettext.c: Define and use __set_errno.
 
798
        (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
 
799
        not defined.
 
800
 
 
801
        * bindtextdom.c: Pretty printing.
 
802
 
 
803
1997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
 
804
 
 
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>.
 
808
 
 
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>.
 
813
 
 
814
        * Makefile.in (CPPFLAGS): New variable.  Reported by Franc,ois
 
815
        Pinard.
 
816
 
 
817
Mon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
 
818
 
 
819
        * Makefile.in: Implement handling of libtool.
 
820
 
 
821
        * gettextP.h: Change data structures for use of generic lowlevel
 
822
        i18n file handling.
 
823
 
 
824
Wed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
 
825
 
 
826
        * textdomain.c: Put parentheses around arguments of memcpy macro
 
827
        definition.
 
828
        * localealias.c: Likewise.
 
829
        * l10nflist.c: Likewise.
 
830
        * finddomain.c: Likewise.
 
831
        * bindtextdom.c: Likewise.
 
832
        Reported by Thomas Esken.
 
833
 
 
834
Mon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
 
835
 
 
836
        * textdomain.c: Move definition of `memcpy` macro to right
 
837
        position.
 
838
 
 
839
Fri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
 
840
 
 
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.
 
847
 
 
848
Tue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
 
849
 
 
850
        * Makefile.in (libdir): Change to use exec_prefix instead of
 
851
        prefix.  Reported by Knut-Hļæ½vardAksnes <etokna@eto.ericsson.se>.
 
852
 
 
853
Sat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
 
854
 
 
855
        * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
 
856
        so don't prepend uppercase `ISO' for only numeric arg.
 
857
 
 
858
Fri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
 
859
 
 
860
        * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
 
861
        definition of _GNU_SOURCE.  Patch by Roland McGrath.
 
862
 
 
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.
 
866
 
 
867
        * Makefile.in (install-data): Again work around shells which
 
868
        cannot handle mpty for list.  Reported by Jim Meyering.
 
869
 
 
870
Sat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
 
871
 
 
872
        * Makefile.in (install): Split goal.  Now depend on install-exec
 
873
        and install-data.
 
874
        (install-exec, install-data): New goals.  Created from former
 
875
        install goal.
 
876
        Reported by Karl Berry.
 
877
 
 
878
Sat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
 
879
 
 
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).
 
884
 
 
885
Wed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
 
886
 
 
887
        * l10nflist.c: Linux libc *partly* includes the argz_* functions.
 
888
        Grr.  Work around by renaming the static version and use macros
 
889
        for renaming.
 
890
 
 
891
Tue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
 
892
 
 
893
        * l10nflist.c: Correct presence test macros of __argz_* functions.
 
894
 
 
895
        * l10nflist.c: Include <argz.h> based on test of it instead when
 
896
        __argz_* functions are available.
 
897
        Reported by Andreas Schwab.
 
898
 
 
899
Thu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
 
900
 
 
901
        * explodename.c, l10nflist.c: Define NULL for dumb systems.
 
902
 
 
903
Tue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
 
904
 
 
905
        * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
 
906
        result to __result to prevent name clash.
 
907
 
 
908
        * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
 
909
        get prototype for stpcpy and strcasecmp.
 
910
 
 
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.
 
914
 
 
915
Fri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
 
916
 
 
917
        * Makefile.in (install): Remove comment.
 
918
 
 
919
Thu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
 
920
 
 
921
        * Makefile.in (install): Work around for another Buglix stupidity.
 
922
        Always use an `else' close for `if's.  Reported by Nelson Beebe.
 
923
 
 
924
        * Makefile.in (intlh.inst): Correct typo in phony rule.
 
925
        Reported by Nelson Beebe.
 
926
 
 
927
Thu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
 
928
 
 
929
        * dcgettext.c (read_alias_file): Rename variable alloca_list to
 
930
        block_list as the macro calls assume.
 
931
        Patch by Eric Backus.
 
932
 
 
933
        * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
 
934
        malloc.
 
935
        (read_alias_file): Rename varriabe alloca_list to block_list as the
 
936
        macro calls assume.
 
937
        Patch by Eric Backus.
 
938
 
 
939
        * l10nflist.c: Correct conditional for <argz.h> inclusion.
 
940
        Reported by Roland McGrath.
 
941
 
 
942
        * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
 
943
        all-@USE_NLS@.
 
944
 
 
945
        * Makefile.in (install): intlh.inst comes from local dir, not
 
946
        $(srcdir).
 
947
 
 
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
 
951
        empty body.
 
952
 
 
953
        * finddomain.c: Extract locale file information handling into
 
954
        l10nfile.c.  Rename local stpcpy__ function to stpcpy.
 
955
 
 
956
        * dcgettext.c (stpcpy): Add local definition.
 
957
 
 
958
        * l10nflist.c: Solve some portability problems.  Patches partly by
 
959
        Thomas Esken.  Add local definition of stpcpy.
 
960
 
 
961
Tue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
 
962
 
 
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.
 
966
 
 
967
        * Makefile.in (install): libintl.inst is now called intlh.inst.
 
968
        Add rules for updating intlh.inst from intlh.inst.in.
 
969
 
 
970
        * libintl.inst: Renamed to intlh.inst.in.
 
971
 
 
972
        * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
 
973
        because gcc has __buitlin_alloca.
 
974
        Reported by Roland McGrath.
 
975
 
 
976
Mon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
 
977
 
 
978
        * Makefile.in (installcheck): New goal to fulfill needs of
 
979
        automake's distcheck.
 
980
 
 
981
        * Makefile.in (install): Reorder commands so that VERSION is
 
982
        found.
 
983
 
 
984
        * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
 
985
        @datadir@/gettext.
 
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.
 
995
 
 
996
        * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
 
997
 
 
998
Sun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
 
999
 
 
1000
        * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
 
1001
        find_l10nfile.
 
1002
 
 
1003
Sat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
 
1004
 
 
1005
        * l10nflist.c (__argz_next): Add definition.
 
1006
 
 
1007
        * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
 
1008
        code.  Use new l10nfile handling.
 
1009
 
 
1010
        * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
 
1011
        alloca code.
 
1012
 
 
1013
        * l10nflist.c: Initial revision.
 
1014
 
 
1015
Tue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
 
1016
 
 
1017
        * Makefile.in (all-gettext): New goal.  Same as all-yes.
 
1018
 
 
1019
Thu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
 
1020
 
 
1021
        * Makefile.in (gettextsrcdir): Define using @datadir@.
 
1022
 
 
1023
Tue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
 
1024
 
 
1025
        * finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
 
1026
 
 
1027
Sat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
 
1028
 
 
1029
        * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
 
1030
        with external declaration.
 
1031
 
 
1032
Sat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
 
1033
 
 
1034
        * Makefile.in (all-no): Rename from all_no.
 
1035
 
 
1036
Sat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
 
1037
 
 
1038
        * gettextP.h [loaded_domain]: Array `successor' must now contain up
 
1039
        to 63 elements (because of codeset name normalization).
 
1040
 
 
1041
        * finddomain.c: Implement codeset name normalization.
 
1042
 
 
1043
Thu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
 
1044
 
 
1045
        * Makefile.in (all): Define to `all-@USE_NLS@'.
 
1046
        (all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
 
1047
        is former all.
 
1048
 
 
1049
Mon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
 
1050
 
 
1051
        * localealias.c (alias_compare): Increment string pointers in loop
 
1052
        of strcasecmp replacement.
 
1053
 
 
1054
Fri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
 
1055
 
 
1056
        * Makefile.in (install-src): Who commented this goal out ? :-)
 
1057
 
 
1058
Fri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
 
1059
 
 
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>.
 
1063
 
 
1064
Tue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
 
1065
 
 
1066
        * Makefile.in (Makefile): Explicitly use $(SHELL) for running
 
1067
        shell scripts.
 
1068
 
 
1069
Fri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
1070
 
 
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.
 
1074
 
 
1075
        * dcgettext.c (find_msg): Must not swap domain->hash_size here.
 
1076
 
 
1077
Sat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
 
1078
 
 
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.
 
1082
 
 
1083
Tue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
 
1084
 
 
1085
        * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
 
1086
        !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
 
1087
 
 
1088
Mon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
 
1089
 
 
1090
        * Makefile.in (install-src):
 
1091
        Install libintl.inst instead of libintl.h.install.
 
1092
 
 
1093
Sat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
 
1094
 
 
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.
 
1098
 
 
1099
Wed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
 
1100
 
 
1101
        * cat-compat.c (bindtextdomain): Add missing { }.
 
1102
 
 
1103
Sun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
 
1104
 
 
1105
        * libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
 
1106
 
 
1107
        * Makefile.in:
 
1108
        Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
 
1109
 
 
1110
Sat Nov 25 16:12:01 1995  Franc,ois Pinard  <pinard@iro.umontreal.ca>
 
1111
 
 
1112
        * hash-string.h: Capitalize arguments of macros.
 
1113
 
 
1114
Sat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
 
1115
 
 
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.
 
1119
 
 
1120
Sat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
 
1121
 
 
1122
        * dcgettext.c: Fix bug in preprocessor conditionals.
 
1123
 
 
1124
Sat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
 
1125
 
 
1126
        * libgettext.h: Solaris cc does not understand
 
1127
         #if !SYMBOL1 && !SYMBOL2.  Sad but true.
 
1128
 
 
1129
Thu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
 
1130
 
 
1131
        * hash-string.h (hash_string):
 
1132
        Fix for machine with >32 bit `unsigned long's.
 
1133
 
 
1134
        * dcgettext.c (DCGETTEXT):
 
1135
        Fix horrible bug in loop for alternative translation.
 
1136
 
 
1137
Thu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
 
1138
 
 
1139
        * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
 
1140
        Some further simplifications in message number generation.
 
1141
 
 
1142
Mon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
 
1143
 
 
1144
        * libintl.h.glibc: Use __const instead of const in prototypes.
 
1145
 
 
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.
 
1149
 
 
1150
        * libintl.h.install, libintl.h.glibc: Initial revision.
 
1151
 
 
1152
        * localealias.c (_nl_expand_alias, read_alias_file):
 
1153
        Protect prototypes in type casts by __P.
 
1154
 
 
1155
Tue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
 
1156
 
 
1157
        * hash-string.h: Correct prototype for hash_string.
 
1158
 
 
1159
Sun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
 
1160
 
 
1161
        * hash-string.h (hash_string): Add prototype.
 
1162
 
 
1163
        * gettextP.h: Fix copyright.
 
1164
        (SWAP): Add prototype.
 
1165
 
 
1166
Wed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
 
1167
 
 
1168
        * localealias.c (read_alias_file): Forgot sizeof.
 
1169
        Avoid calling *printf function.  This introduces a big overhead.
 
1170
        Patch by Roland McGrath.
 
1171
 
 
1172
Tue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
 
1173
 
 
1174
        * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
 
1175
 
 
1176
        * finddomain.c (stpcpy):
 
1177
        Define substitution function local.  The macro was to flaky.
 
1178
 
 
1179
        * cat-compat.c: Fix typo.
 
1180
 
 
1181
        * xopen-msg.sed, linux-msg.sed:
 
1182
        While bringing message number to right place only accept digits.
 
1183
 
 
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
 
1186
        Daniels.
 
1187
 
 
1188
        * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
 
1189
        dependency.  Reported by Marcus Daniels.
 
1190
 
 
1191
        * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
 
1192
        Generally cleanup using #if instead of #ifndef.
 
1193
 
 
1194
        * Makefile.in: Correct typos in comment.  By Franc,ois Pinard.
 
1195
 
 
1196
Mon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
 
1197
 
 
1198
        * Makefile.in (install-src): Don't install libintl.h and libintl.a
 
1199
        if we use an available gettext implementation.
 
1200
 
 
1201
Sun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
 
1202
 
 
1203
        * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
 
1204
        by Franc,ois Pinard.
 
1205
 
 
1206
        * libgettext.h: Use #if instead of #ifdef/#ifndef.
 
1207
 
 
1208
        * finddomain.c:
 
1209
        Comments describing what has to be done should start with FIXME.
 
1210
 
 
1211
Sun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
 
1212
 
 
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.
 
1216
 
 
1217
Sun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
 
1218
 
 
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.
 
1222
 
 
1223
Sun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
 
1224
 
 
1225
        * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
 
1226
        might mark a special condition.
 
1227
 
 
1228
        * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
 
1229
 
 
1230
        * Makefile.in (dist): Suppress error message when ln failed.
 
1231
        Get files from $(srcdir) explicitly.
 
1232
 
 
1233
        * libgettext.h (gettext_const): Rename to gettext_noop.
 
1234
 
 
1235
Fri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
 
1236
 
 
1237
        * finddomain.c (make_entry_rec):
 
1238
        Protect against wrong locale names by testing mask.
 
1239
 
 
1240
        * libgettext.h (gettext_const): Add macro definition.
 
1241
        Capitalize macro arguments.
 
1242
 
 
1243
Thu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
 
1244
 
 
1245
        * finddomain.c (_nl_find_domain):
 
1246
        Test for pointer != NULL before accessing value.
 
1247
        Reported by Tom Tromey.
 
1248
 
 
1249
        * gettext.c (NULL):
 
1250
        Define as (void*)0 instad of 0.  Reported by Franc,ois Pinard.
 
1251
 
 
1252
Mon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
 
1253
 
 
1254
        * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
 
1255
 
 
1256
Sat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
 
1257
 
 
1258
        * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
 
1259
 
 
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'.
 
1263
 
 
1264
Fri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
 
1265
 
 
1266
        * Makefile.in (libdir, includedir): New variables.
 
1267
        (install-src): Install libintl.a and libintl.h in correct dirs.
 
1268
 
 
1269
Fri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
 
1270
 
 
1271
        * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
 
1272
 
 
1273
        * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
 
1274
 
 
1275
        * localealias.c:
 
1276
        Fix typo and superflous test.  Reported by Christian von Roques.
 
1277
 
 
1278
Fri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
 
1279
 
 
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.
 
1283
 
 
1284
Wed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
 
1285
 
 
1286
        * Makefile.in (DISTFILES): Add libintl.h.glibc.
 
1287
 
 
1288
        * Makefile.in (dist-libc): Add goal for packing sources for glibc.
 
1289
        (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
 
1290
 
 
1291
        * loadmsgcat.c: Forget to continue #if line.
 
1292
 
 
1293
        * localealias.c:
 
1294
        [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
 
1295
        space clean.
 
1296
 
 
1297
        * dcgettext.c, finddomain.c: Better comment to last change.
 
1298
 
 
1299
        * loadmsgcat.c:
 
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.
 
1303
 
 
1304
        * finddomain.c:
 
1305
        [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
 
1306
 
 
1307
        * dcgettext.c:
 
1308
        [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
 
1309
        keep ANSI C name space clean.
 
1310
 
 
1311
        * libgettext.h:
 
1312
        Include sys/types.h for those old SysV systems out there.
 
1313
        Reported by Francesco Potorti`.
 
1314
 
 
1315
        * loadmsgcat.c (use_mmap): Define if compiled for glibc.
 
1316
 
 
1317
        * bindtextdom.c: Include all those standard headers
 
1318
        unconditionally if _LIBC is defined.
 
1319
 
 
1320
        * finddomain.c: Fix 2 times defiend -> defined.
 
1321
 
 
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.
 
1325
 
 
1326
        * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
 
1327
 
 
1328
        * gettext.c:
 
1329
        Include libintl.h instead of libgettext.h when compiling for glibc.
 
1330
        Get NULL from stddef.h if we compile for glibc.
 
1331
 
 
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.
 
1335
 
 
1336
        * dcgettext.c: Include all those standard headers unconditionally
 
1337
        if _LIBC is defined.
 
1338
 
 
1339
        * dgettext.c: If compiled in glibc include libintl.h instead of
 
1340
        libgettext.h.
 
1341
        (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
 
1342
 
 
1343
        * dcgettext.c: If compiled in glibc include libintl.h instead of
 
1344
        libgettext.h.
 
1345
        (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
 
1346
 
 
1347
        * bindtextdom.c:
 
1348
        If compiled in glibc include libintl.h instead of libgettext.h.
 
1349
 
 
1350
Mon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
 
1351
 
 
1352
        * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
 
1353
        Reported by Marcus Daniels.
 
1354
 
 
1355
        * cat-compat.c (bindtextdomain):
 
1356
        String used in putenv must not be recycled.
 
1357
        Reported by Marcus Daniels.
 
1358
 
 
1359
        * libgettext.h (__USE_GNU_GETTEXT):
 
1360
        Additional symbol to signal that we use GNU gettext
 
1361
        library.
 
1362
 
 
1363
        * cat-compat.c (bindtextdomain):
 
1364
        Fix bug with the strange stpcpy replacement.
 
1365
        Reported by Nelson Beebe.
 
1366
 
 
1367
Sat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
 
1368
 
 
1369
        * cat-compat.c: Include <string.h> for stpcpy prototype.
 
1370
 
 
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'.
 
1374
 
 
1375
        * textdomain.c (textdomain):
 
1376
        Avoid warning by using temporary variable in strdup code.
 
1377
 
 
1378
        * finddomain.c (_nl_find_domain): Remove unused variable `application'.
 
1379
 
 
1380
Thu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
 
1381
 
 
1382
        * localealias.c (alias_compare):
 
1383
        Use strcasecmp() only if available.  Else use
 
1384
        implementation in place.
 
1385
 
 
1386
        * intl-compat.c:
 
1387
        Wrapper functions now call *__ functions instead of __*.
 
1388
 
 
1389
        * libgettext.h: Declare prototypes for *__ functions instead for __*.
 
1390
 
 
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
 
1394
        standalone.
 
1395
 
 
1396
        * bindtextdom.c:
 
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
 
1399
        standalone.
 
1400
        Rename to bindtextdomain__ if not used in GNU C Library.
 
1401
 
 
1402
        * dgettext.c:
 
1403
        Rename function to dgettext__ if not used in GNU C Library.
 
1404
 
 
1405
        * gettext.c:
 
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
 
1408
        standalone.
 
1409
        Functions now called gettext__ if not used in GNU C Library.
 
1410
 
 
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
 
1414
        standalone.
 
1415
 
 
1416
Sun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
 
1417
 
 
1418
        * finddomain.c: Correct some bugs in handling of CEN standard
 
1419
        locale definitions.
 
1420
 
 
1421
Thu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
 
1422
 
 
1423
        * finddomain.c: Implement CEN syntax.
 
1424
 
 
1425
        * gettextP.h (loaded_domain): Extend number of successors to 31.
 
1426
 
 
1427
Sat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
 
1428
 
 
1429
        * Makefile.in (aliaspath): Remove path to X11 locale dir.
 
1430
 
 
1431
        * Makefile.in: Make install-src depend on install.  This helps
 
1432
        gettext to install the sources and other packages can use the
 
1433
        install goal.
 
1434
 
 
1435
Sat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
 
1436
 
 
1437
        * Makefile.in (uninstall): Remove stuff installed by install-src.
 
1438
 
 
1439
Tue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
 
1440
 
 
1441
        * VERSION.in: Initial revision.
 
1442
 
 
1443
        * Makefile.in (DISTFILES):
 
1444
        Add VERSION file.  This is not necessary for gettext, but
 
1445
        for other packages using this library.
 
1446
 
 
1447
Tue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
 
1448
 
 
1449
        * gettextP.h (_nl_find_domain):
 
1450
        New prototype after changing search strategy.
 
1451
 
 
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.
 
1455
 
 
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.
 
1462
 
 
1463
Mon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
 
1464
 
 
1465
        * Makefile.in (gettextsrcdir):
 
1466
        Directory where source of GNU gettext library are made
 
1467
        available.
 
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.
 
1471
 
 
1472
Sun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
 
1473
 
 
1474
        * loadmsgcat.c (_nl_load_domain):
 
1475
        Use mmap for loading only when munmap function is
 
1476
        also available.
 
1477
 
 
1478
        * Makefile.in (install): Depend on `all' goal.
 
1479
 
 
1480
Wed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
 
1481
 
 
1482
        * localealias.c (read_alias_file):
 
1483
        Do not overwrite '\n' when terminating alias value string.
 
1484
 
 
1485
        * localealias.c (read_alias_file):
 
1486
        Handle long lines.  Ignore the rest not fitting in
 
1487
        the buffer after the initial `fgets' call.
 
1488
 
 
1489
Wed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
 
1490
 
 
1491
        * gettextP.h (_nl_load_domain):
 
1492
        Add prototype, replacing prototype for _nl_load_msg_cat.
 
1493
 
 
1494
        * finddomain.c (_nl_find_domain):
 
1495
        Remove unneeded variable filename and filename_len.
 
1496
        (expand_alias): Remove prototype because functions does not
 
1497
        exist anymore.
 
1498
 
 
1499
        * localealias.c (read_alias_file):
 
1500
        Change type of fname_len parameter to int.
 
1501
        (xmalloc): Add prototype.
 
1502
 
 
1503
        * loadmsgcat.c: Better prototypes for xmalloc.
 
1504
 
 
1505
Tue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
 
1506
 
 
1507
        * finddomain.c (_nl_find_domain):
 
1508
        Allow alias name to be constructed from the four components.
 
1509
 
 
1510
        * Makefile.in (aliaspath): New variable.  Set to preliminary value.
 
1511
        (SOURCES): Add localealias.c.
 
1512
        (OBJECTS): Add localealias.o.
 
1513
 
 
1514
        * gettextP.h: Add prototype for _nl_expand_alias.
 
1515
 
 
1516
        * finddomain.c: Aliasing handled in intl/localealias.c.
 
1517
 
 
1518
        * localealias.c: Aliasing for locale names.
 
1519
 
 
1520
        * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
 
1521
 
 
1522
Mon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
 
1523
 
 
1524
        * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
 
1525
 
 
1526
        * cat-compat.c (bindtextdomain):
 
1527
        Correct implementation.  dirname parameter was not used.
 
1528
        Reported by Marcus Daniels.
 
1529
 
 
1530
        * gettextP.h (loaded_domain):
 
1531
        New fields `successor' and `decided' for oo, lazy
 
1532
        message handling implementation.
 
1533
 
 
1534
        * dcgettext.c:
 
1535
        Adopt for oo, lazy message handliing.
 
1536
        Now we can inherit translations from less specific locales.
 
1537
        (find_msg): New function.
 
1538
 
 
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]'.
 
1545
 
 
1546
Sat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
 
1547
 
 
1548
        * finddomain.c (unistd.h):
 
1549
        Include to get _PC_PATH_MAX defined on system having it.
 
1550
 
 
1551
Fri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
 
1552
 
 
1553
        * finddomain.c (stpcpy): Include prototype.
 
1554
 
 
1555
        * Makefile.in (dist): Remove `copying instead' message.
 
1556
 
 
1557
Wed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
 
1558
 
 
1559
        * Makefile.in (ID, TAGS): Do not use $^.
 
1560
 
 
1561
Tue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
 
1562
 
 
1563
        * Makefile.in (TAGS, ID): Use $^ as command argument.
 
1564
        (TAGS): Give etags -o option t write to current directory,
 
1565
        not $(srcdir).
 
1566
        (ID): Use $(srcdir) instead os $(top_srcdir)/src.
 
1567
        (distclean): Remove ID.
 
1568
 
 
1569
Sun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
 
1570
 
 
1571
        * Makefile.in (gnulocaledir):
 
1572
        New variable, always using share/ for data directory.
 
1573
        (DEFS): Add GNULOCALEDIR, used in finddomain.c.
 
1574
 
 
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.
 
1578
 
 
1579
        * intl-compat.c (textdomain, bindtextdomain):
 
1580
        Undefine macros before function definition.
 
1581
 
 
1582
Sat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
 
1583
 
 
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.
 
1587
 
 
1588
Wed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
 
1589
 
 
1590
        * intl-compat.c (textdomain): Correct typo.
 
1591
 
 
1592
Wed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
 
1593
 
 
1594
        * dcgettext.c (dcgettext): Function now called __dcgettext.
 
1595
 
 
1596
        * dgettext.c (dgettext): Now called __dgettext and calls
 
1597
        __dcgettext.
 
1598
 
 
1599
        * gettext.c (gettext):
 
1600
        Function now called __gettext and calls __dgettext.
 
1601
 
 
1602
        * textdomain.c (textdomain): Function now called __textdomain.
 
1603
 
 
1604
        * bindtextdom.c (bindtextdomain): Function now called
 
1605
        __bindtextdomain.
 
1606
 
 
1607
        * intl-compat.c: Initial revision.
 
1608
 
 
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,
 
1612
        and intl-compat.o.
 
1613
        (GETTOBJS): Contains now only intl-compat.o.
 
1614
 
 
1615
        * libgettext.h:
 
1616
        Re-include protection matches dualistic character of libgettext.h.
 
1617
        For all functions in GNU gettext library define __ counter part.
 
1618
 
 
1619
        * finddomain.c (strchr): Define as index if not found in C library.
 
1620
        (_nl_find_domain): For relative paths paste / in between.
 
1621
 
 
1622
Tue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
 
1623
 
 
1624
        * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
 
1625
 
 
1626
        * xopen-msg.sed: Fix bug with `msgstr ""' lines.
 
1627
        A little bit better comments.
 
1628
 
 
1629
Tue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
 
1630
 
 
1631
        * Makefile.in:
 
1632
        po-mode.el, makelinks, combine-sh are now found in ../misc.
 
1633
 
 
1634
        * po-mode.el, makelinks, combine-sh, elisp-comp:
 
1635
        Moved to ../misc/.
 
1636
 
 
1637
        * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
 
1638
 
 
1639
Sun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
 
1640
 
 
1641
        * Makefile.in (INSTALL, INSTALL_DATA): New variables.
 
1642
        (install-data, uninstall): Install/uninstall .elc file.
 
1643
 
 
1644
        * po-mode.el (Installation comment):
 
1645
        Add .pox as possible extension of .po files.
 
1646
 
 
1647
Sun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
 
1648
 
 
1649
        * elisp-comp: Complete new version by Franc,ois: This does not
 
1650
        fail when not compiling in the source directory.
 
1651
 
 
1652
Sun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
 
1653
 
 
1654
        * Makefile.in (../po/cat-id-tbl.o):
 
1655
        Use $(MAKE) instead of make for recursive make.
 
1656
 
 
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.
 
1661
 
 
1662
Sat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
 
1663
 
 
1664
        * Makefile.in (DISTFILES):
 
1665
        Rename libgettext.perl to gettext.perl to fit in 14 chars
 
1666
        file systems.
 
1667
 
 
1668
        * gettext.perl:
 
1669
        Rename to gettext.perl to fit in 14 chars file systems.
 
1670
 
 
1671
Thu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
 
1672
 
 
1673
        * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
 
1674
 
 
1675
Thu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
 
1676
 
 
1677
        * po2tbl.sed.in: Pretty printing.
 
1678
 
 
1679
        * linux-msg.sed, xopen-msg.sed:
 
1680
        Correct bugs with handling substitute flags in branches.
 
1681
 
 
1682
        * hash-string.h (hash_string):
 
1683
        Old K&R compilers don't under stand `unsigned char'.
 
1684
 
 
1685
        * gettext.h (nls_uint32):
 
1686
        Some old K&R compilers (eg HP) don't understand `unsigned int'.
 
1687
 
 
1688
        * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
 
1689
 
 
1690
Thu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
 
1691
 
 
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.
 
1697
 
 
1698
        * elisp-comp: Initial revision
 
1699
 
 
1700
Wed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
 
1701
 
 
1702
        * Makefile.in:
 
1703
        cat-id-tbl.c is now found in po/.  This enables us to use an identical
 
1704
        intl/ directory in all packages.
 
1705
 
 
1706
        * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
 
1707
 
 
1708
        * textdomain.c: fix typo (#if def -> #if defined)
 
1709
 
 
1710
Tue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
 
1711
 
 
1712
        * Makefile.in (stamp-cat-id): use top_srcdir to address source files
 
1713
        (DISTFILES,distclean): move tupdate.perl to src/
 
1714
 
 
1715
        * po-to-tbl.sed.in:
 
1716
        add additional jump to clear change flag to recognize multiline strings
 
1717
 
 
1718
Tue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
 
1719
 
 
1720
        * textdomain.c: Protect inclusion of stdlib.h and string.h.
 
1721
 
 
1722
        * loadmsgcat.c: Protect inclusion of stdlib.h.
 
1723
 
 
1724
        * libgettext.h: Protect inclusion of locale.h.
 
1725
        Allow use in C++ programs.
 
1726
        Define NULL is not happened already.
 
1727
 
 
1728
        * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
 
1729
        po-to-tbl.sed.
 
1730
        (distclean): remove po-to-tbl.sed and tupdate.perl.
 
1731
 
 
1732
        * tupdate.perl.in: Substitute Perl path even in exec line.
 
1733
        Don't include entries without translation from old .po file.
 
1734
 
 
1735
Tue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
 
1736
 
 
1737
        * tupdate.perl.in: use "Updated: " in msgid "".
 
1738
 
 
1739
        * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
 
1740
        Define getenv if !__STDC__.
 
1741
 
 
1742
        * bindtextdom.c: Protect stdlib.h and string.h inclusion.
 
1743
        Define free if !__STDC__.
 
1744
 
 
1745
        * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
 
1746
        Define free if !__STDC__.
 
1747
 
 
1748
        * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
 
1749
 
 
1750
Mon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
 
1751
 
 
1752
        * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
 
1753
        Remove unneeded $(srcdir) from Makefile.in dependency.
 
1754
 
 
1755
        * makelinks: Add copyright and short description.
 
1756
 
 
1757
        * po-mode.el: Last version for 0.7.
 
1758
 
 
1759
        * tupdate.perl.in: Fix die message.
 
1760
 
 
1761
        * dcgettext.c: Protect include of string.h.
 
1762
 
 
1763
        * gettext.c: Protect include of stdlib.h and further tries to get NULL.
 
1764
 
 
1765
        * finddomain.c: Some corrections in includes.
 
1766
 
 
1767
        * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
 
1768
 
 
1769
        * po-to-tbl.sed: Adopt for new .po file format.
 
1770
 
 
1771
        * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
 
1772
 
 
1773
Sun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
 
1774
 
 
1775
        * tupdate.perl.in: Complete rewrite for new .po file format.
 
1776
 
 
1777
Sun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
 
1778
 
 
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.