Imported Upstream version 0.18.1.1
[platform/upstream/gettext.git] / gnulib-local / ChangeLog
1 2010-06-04  Bruno Haible  <bruno@clisp.org>
2
3         * gettext-0.18.1 released.
4
5 2010-05-19  Bruno Haible  <bruno@clisp.org>
6
7         Link with libunistring, if it exists.
8         * modules/gettext-tools-misc (lib_LDFLAGS): Add LTLIBUNISTRING.
9
10 2010-05-24  Bruno Haible  <bruno@clisp.org>
11
12         Use the newest regex module from gnulib.
13         * modules/gettext-tools-misc (Files): Remove m4/mbrtowc.m4 and
14         m4/memchr.m4.
15
16 2010-05-24  Bruno Haible  <bruno@clisp.org>
17
18         Use regex module without dependency on 'malloc'.
19         * lib/regex_internal.h.diff: New file.
20         * lib/regexec.c.diff: New file.
21         * modules/regex.diff: New file.
22         * Makefile.am (EXTRA_DIST): Add them.
23
24 2010-05-23  Bruno Haible  <bruno@clisp.org>
25
26         Do regex matching purely with regex, not regex + dfa + kwset.
27         * modules/gettext-tools-misc (Files): Remove m4/hard-locale.m4.
28
29 2010-05-09  Bruno Haible  <bruno@clisp.org>
30
31         * gettext-0.18 released.
32
33 2010-05-09  Bruno Haible  <bruno@clisp.org>
34
35         Avoid test suite failure on mingw.
36         * tests/test-term-ostream-xterm: Convert CR/LF to LF before comparing.
37
38 2010-05-09  Bruno Haible  <bruno@clisp.org>
39
40         Export rpl_optind, rpl_optarg from DLL depending on platform.
41         * modules/gettext-tools-misc (AM_CPPFLAGS): Augment by
42         GETTEXTLIB_EXPORTS_FLAGS.
43
44 2010-05-09  Bruno Haible  <bruno@clisp.org>
45
46         Avoid compilation error in libgettextpo directory on Solaris 8.
47         * lib/unistd.in.h.diff: New file.
48         * Makefile.am (EXTRA_DIST): Add it.
49
50 2010-03-28  Bruno Haible  <bruno@clisp.org>
51
52         * modules/closeout (Depends-on): Add stdlib, remove exit.
53         * modules/fd-ostream (Depends-on): Likewise.
54         * modules/html-styled-ostream (Depends-on): Likewise.
55         * modules/iconv-ostream (Depends-on): Likewise.
56         * modules/memory-ostream (Depends-on): Likewise.
57         * modules/term-ostream (Depends-on): Likewise.
58         * modules/xalloc (Depends-on): Likewise.
59
60 2010-03-06  Bruno Haible  <bruno@clisp.org>
61
62         * m4/exitfail.m4.diff: Remove file.
63         * modules/exitfail.diff: Remove file.
64         * Makefile.am (EXTRA_DIST): Remove them.
65
66 2010-02-19  Bruno Haible  <bruno@clisp.org>
67
68         * modules/wait-process.diff: Remove trailing space.
69
70 2010-01-14  Bruno Haible  <bruno@clisp.org>
71
72         Use full 'vasnprintf' module from gnulib. The reduced one did not
73         support NULL arguments.
74         * lib/vasprintf.c: Remove file.
75         * m4/vasprintf.m4: Remove file.
76         * modules/vasprintf.diff: Remove file.
77         * Makefile.am (EXTRA_DIST): Remove them.
78         Reported by LRN at <http://savannah.gnu.org/bugs/?28593>.
79
80 2010-01-11  Bruno Haible  <bruno@clisp.org>
81
82         * modules/html-ostream (Depends-on): Remove utf8-ucs4. Instead add
83         unistr/u8-mbtouc.
84
85 2009-12-25  Bruno Haible  <bruno@clisp.org>
86
87         * lib/html-ostream.oo.c: Include gl_xlist.h instead of gl_list.h.
88         * modules/html-ostream (Depends-on): Add xlist. Remove list.
89
90 2009-12-12  Bruno Haible  <bruno@clisp.org>
91
92         * lib/*.h, lib/*.c: Untabify.
93         * m4/unionwait.m4: Untabify.
94         * tests/*.c: Untabify.
95
96 2009-12-12  Bruno Haible  <bruno@clisp.org>
97
98         * lib/fnmatch_loop.c.diff: Update after gnulib changed.
99
100 2009-08-15  Bruno Haible  <bruno@clisp.org>
101
102         Stop using gnulib module 'strdup'.
103         * modules/gettext-tools-misc (Files): Remove m4/strdup.m4.
104
105 2009-08-10  Bruno Haible  <bruno@clisp.org>
106
107         Avoid gcc warning on Cygwin.
108         * lib/html-ostream.oo.c (html_ostream::write_mem): Change type of local
109         variable 'uc'.
110
111 2009-05-23  Bruno Haible  <bruno@clisp.org>
112
113         Avoid gcc warning "cast from pointer to integer of different size".
114         * lib/glibconfig.in.h (GPOINTER_TO_INT, GINT_TO_POINTER): Cast through
115         intptr_t.
116         (GPOINTER_TO_UINT, GUINT_TO_POINTER: Cast through uintptr_t.
117
118 2009-05-01  Bruno Haible  <bruno@clisp.org>
119
120         Avoid compiler warnings when redefining macros defined by <libintl.h>.
121         * lib/gettext.h [!ENABLE_NLS] (gettext, dgettext, dcgettext, ngettext,
122         dngettext, dcngettext, textdomain, bindtextdomain,
123         bind_textdomain_codeset): Undefine before redefining.
124
125 2009-03-25  Bruno Haible  <bruno@clisp.org>
126
127         * m4/quotearg.m4.diff: Update after gnulib changed.
128
129 2008-12-18  Bruno Haible  <bruno@clisp.org>
130
131         * modules/gettext-tools-misc (Files): Add m4/locale-ja.m4.
132
133 2008-12-07  Bruno Haible  <bruno@clisp.org>
134
135         Avoid gcc -Wmissing-prototypes warnings.
136         * lib/html-ostream.oo.c: Mark all method implementations as static.
137         * lib/term-ostream.oo.c: Likewise.
138
139 2008-12-07  Bruno Haible  <bruno@clisp.org>
140
141         Avoid gcc -Wmissing-prototypes warnings.
142         * build-aux/moopp (func_emit_source_c): Emit a prototype before the
143         synthetized functions.
144
145 2008-09-14  Bruno Haible  <bruno@clisp.org>
146
147         * modules/libxml: Use $(mkdir_p) to create the libxml directory.
148         * modules/libglib: Use $(mkdir_p) to create the glib directory.
149         Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
150
151 2008-09-14  Bruno Haible  <bruno@clisp.org>
152
153         * modules/libglib (Depends-on): Add strerror.
154
155 2008-08-16  Bruno Haible  <bruno@clisp.org>
156
157         Recognize installed libxml2 version 2.6.x.
158         * m4/libxml.m4 (gl_LIBXML): Determine libxml2_include_dir by looking
159         for <libxml/xmlexports.h> as well.
160         Reported by Steve Trotman <steve_trotman@hotmail.com>
161         via <http://savannah.gnu.org/bugs/?22831>.
162
163 2008-05-18  Bruno Haible  <bruno@clisp.org>
164
165         * modules/propername: Remove file, moved to gnulib.
166         * lib/propername.h: Remove file, moved to gnulib.
167         * lib/propername.c: Remove file, moved to gnulib.
168         * Makefile.am (EXTRA_DIST): Remove them.
169
170 2008-05-18  Bruno Haible  <bruno@clisp.org>
171
172         * lib/propername.c: Include <stdbool.h>, <ctype.h>, trim.h, mbchar.h,
173         mbuiter.h. Don't include c-strstr.h.
174         (mbsstr_trimmed_wordbounded): New function.
175         (proper_name, proper_name_utf8): Use it instead of mbsstr or c_strstr.
176         * modules/propername (Depends-on): Add stdbool, trim, mbchar, mbuiter.
177         Remove c-strstr.
178         Reported by Paul Eggert <eggert@cs.ucla.edu>.
179
180 2008-05-18  Bruno Haible  <bruno@clisp.org>
181
182         * modules/propername (Notice): New field.
183         (configure.ac): Invoke AM_GETTEXT_OPTION.
184         * lib/propername.h: Add more comments.
185         Reported by Ben Pfaff <blp@cs.stanford.edu>.
186
187 2008-05-11  Bruno Haible  <bruno@clisp.org>
188
189         * lib/gen-lbrkprop.c: Move to gnulib as lib/unilbrk/gen-lbrk.c.
190         * lib/3level.h: Remove file.
191         * modules/gen-lbrkprop: Move to gnulib as modules/unilbrk/gen-lbrk.
192         * Makefile.am (EXTRA_DIST): Remove lib/gen-lbrkprop.c, lib/3level.h,
193         modules/gen-lbrkprop.
194
195 2008-05-11  Bruno Haible  <bruno@clisp.org>
196
197         * lib/gen-lbrkprop.c (output_lbp): Output to two different streams.
198         (output_tables): Accept two filename arguments.
199         (main): Generate lbrkprop1.h and lbrkprop2.h instead of lbrkprop.h.
200
201         * lib/gen-lbrkprop.c (unicode_combining): Remove variable.
202         (fill_combining): Remove function.
203         (main): Take one argument less.
204         * lib/Combining.txt: Remove file.
205         * modules/gen-lbrkprop (Files): Remove Combining.txt.
206         * Makefile.am (EXTRA_DIST): Likewise.
207
208         * lib/gen-lbrkprop.c: Change copyright to GPLv3+.
209         (output_tables): Emit a GPLv3+ header.
210
211 2008-05-10  Bruno Haible  <bruno@clisp.org>
212
213         * lib/linebreak.c.diff: Remove file.
214         * Makefile.am (EXTRA_DIST): Remove it.
215
216 2008-01-13  Bruno Haible  <bruno@clisp.org>
217
218         New configure option --disable-curses.
219         * m4/curses.m4: New file.
220         * m4/termcap.m4 (gl_TERMCAP_BODY): Require gl_CURSES and consider its
221         result.
222         * m4/terminfo.m4 (gl_TERMINFO_BODY): Likewise.
223         * modules/termcap (Files): Add m4/curses.m4.
224         * modules/terminfo (Files): Likewise.
225         * Makefile.am (EXTRA_DIST): Add m4/curses.m4.
226
227 2007-11-09  Bruno Haible  <bruno@clisp.org>
228
229         * m4/libglib.m4 (gl_LIBGLIB): Ensure that the <glib.h> is from a glib
230         version >= 2.0.
231         Reported by Paul Eggert <eggert@cs.ucla.edu>.
232
233 2007-11-07  Bruno Haible  <bruno@clisp.org>
234
235         * gettext-0.17 released.
236
237 2007-10-27  Bruno Haible  <bruno@clisp.org>
238
239         * modules/libcroco (Makefile.am): When using the preinstalled libcroco,
240         add INCCROCO to AM_CPPFLAGS.
241         * lib/term-styled-ostream.oo.c: Work around broken double-inclusion
242         guard in libcroco-0.6.1.
243
244 2007-10-27  Bruno Haible  <bruno@clisp.org>
245
246         * modules/gettext-tools-misc (Makefile.am): Use @LTLIBC@ instead of
247         hardcoding -lc. Needed for HP-UX 11.
248
249 2007-10-27  Bruno Haible  <bruno@clisp.org>
250
251         * tests/test-term-ostream-xterm-linux-debian.out: New file.
252         * tests/test-term-ostream-xterm-linux-mandriva.out: New file.
253         * tests/test-term-ostream-xterm: Use them as possible test results.
254         * modules/term-ostream-tests (Files): Add the new files.
255         * Makefile.am (EXTRA_DIST): Add the new files.
256         Needed on Mandriva Linux Corporate Server release 2006.0 and
257         Debian 4.0.0.
258
259 2007-10-27  Bruno Haible  <bruno@clisp.org>
260
261         * tests/test-term-ostream-xterm-netbsd3.out: New file.
262         * tests/test-term-ostream-xterm: Use it as possible test result.
263         * modules/term-ostream-tests (Files): Add it.
264         * Makefile.am (EXTRA_DIST): Add it.
265
266 2007-10-26  Bruno Haible  <bruno@clisp.org>
267
268         * modules/libxml (Depends-on): Add snprintf, vsnprintf. Needed for
269         OSF/1 4.0.
270
271 2007-10-25  Bruno Haible  <bruno@clisp.org>
272
273         * tests/test-term-ostream-xterm: Redirect stderr into a pipe.
274         * tests/test-term-ostream-xterm-aix51.out: Remove padding.
275
276 2007-10-21  Bruno Haible  <bruno@clisp.org>
277
278         * tests/test-term-ostream-xterm-solaris10.out: New file.
279         * tests/test-term-ostream-xterm-aix51.out: New file.
280         * tests/test-term-ostream-xterm-osf51.out: New file.
281         * tests/test-term-ostream-xterm-irix65.out: New file.
282         * tests/test-term-ostream-xterm-mingw.out: New file.
283         * tests/test-term-ostream-xterm: Use them as possible test results.
284         * modules/term-ostream-tests (Files): Add the new files.
285         * Makefile.am (EXTRA_DIST): Add the new files.
286
287 2007-10-17  Bruno Haible  <bruno@clisp.org>
288
289         * lib/gl_array_list.h.diff: New file.
290         * lib/gl_linkedhash_list.h.diff: New file.
291         * Makefile.am (EXTRA_DIST): Add them.
292
293 2007-10-07  Bruno Haible  <bruno@clisp.org>
294
295         * build-aux/moopp (func_version): In the --version output, say GPLv3+.
296
297 2007-10-06  Bruno Haible  <bruno@clisp.org>
298
299         * tests/test-term-ostream-xterm-r6.out: New file.
300         * tests/test-term-ostream-xterm-xf86-v32.out: New file.
301         * tests/test-term-ostream-xterm-basic.out: New file.
302         * tests/test-term-ostream-xterm-8bit.out: New file.
303         * tests/test-term-ostream-xterm.out: Remove file.
304         * tests/test-term-ostream-xterm: Test against 4 possible expected
305         results.
306         * modules/term-ostream-tests (Files): Replace
307         tests/test-term-ostream-xterm.out with
308         tests/test-term-ostream-xterm-*.out.
309         * Makefile.am (EXTRA_DIST): Update.
310
311 2007-03-30  Bruno Haible  <bruno@clisp.org>
312
313         * alloca.in.h: Change prefix of double-inclusion guard macro to _GL_.
314
315 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
316
317         * alloca.in.h (alloca) [defined alloca]: Don't define or declare.
318
319 2007-10-04  Bruno Haible  <bruno@clisp.org>
320
321         * lib/libxml/c14n.in.h: Renamed from lib/libxml/c14n_.h.
322         * lib/libxml/catalog.in.h: Renamed from lib/libxml/catalog_.h.
323         * lib/libxml/chvalid.in.h: Renamed from lib/libxml/chvalid_.h.
324         * lib/libxml/debugXML.in.h: Renamed from lib/libxml/debugXML_.h.
325         * lib/libxml/dict.in.h: Renamed from lib/libxml/dict_.h.
326         * lib/libxml/DOCBparser.in.h: Renamed from lib/libxml/DOCBparser_.h.
327         * lib/libxml/encoding.in.h: Renamed from lib/libxml/encoding_.h.
328         * lib/libxml/entities.in.h: Renamed from lib/libxml/entities_.h.
329         * lib/libxml/globals.in.h: Renamed from lib/libxml/globals_.h.
330         * lib/libxml/hash.in.h: Renamed from lib/libxml/hash_.h.
331         * lib/libxml/HTMLparser.in.h: Renamed from lib/libxml/HTMLparser_.h.
332         * lib/libxml/HTMLtree.in.h: Renamed from lib/libxml/HTMLtree_.h.
333         * lib/libxml/list.in.h: Renamed from lib/libxml/list_.h.
334         * lib/libxml/nanoftp.in.h: Renamed from lib/libxml/nanoftp_.h.
335         * lib/libxml/nanohttp.in.h: Renamed from lib/libxml/nanohttp_.h.
336         * lib/libxml/parser.in.h: Renamed from lib/libxml/parser_.h.
337         * lib/libxml/parserInternals.in.h: Renamed from lib/libxml/parserInternals_.h.
338         * lib/libxml/pattern.in.h: Renamed from lib/libxml/pattern_.h.
339         * lib/libxml/relaxng.in.h: Renamed from lib/libxml/relaxng_.h.
340         * lib/libxml/SAX2.in.h: Renamed from lib/libxml/SAX2_.h.
341         * lib/libxml/SAX.in.h: Renamed from lib/libxml/SAX_.h.
342         * lib/libxml/schemasInternals.in.h: Renamed from lib/libxml/schemasInternals_.h.
343         * lib/libxml/schematron.in.h: Renamed from lib/libxml/schematron_.h.
344         * lib/libxml/threads.in.h: Renamed from lib/libxml/threads_.h.
345         * lib/libxml/tree.in.h: Renamed from lib/libxml/tree_.h.
346         * lib/libxml/uri.in.h: Renamed from lib/libxml/uri_.h.
347         * lib/libxml/valid.in.h: Renamed from lib/libxml/valid_.h.
348         * lib/libxml/xinclude.in.h: Renamed from lib/libxml/xinclude_.h.
349         * lib/libxml/xlink.in.h: Renamed from lib/libxml/xlink_.h.
350         * lib/libxml/xmlautomata.in.h: Renamed from lib/libxml/xmlautomata_.h.
351         * lib/libxml/xmlerror.in.h: Renamed from lib/libxml/xmlerror_.h.
352         * lib/libxml/xmlexports.in.h: Renamed from lib/libxml/xmlexports_.h.
353         * lib/libxml/xmlIO.in.h: Renamed from lib/libxml/xmlIO_.h.
354         * lib/libxml/xmlmemory.in.h: Renamed from lib/libxml/xmlmemory_.h.
355         * lib/libxml/xmlmodule.in.h: Renamed from lib/libxml/xmlmodule_.h.
356         * lib/libxml/xmlreader.in.h: Renamed from lib/libxml/xmlreader_.h.
357         * lib/libxml/xmlregexp.in.h: Renamed from lib/libxml/xmlregexp_.h.
358         * lib/libxml/xmlsave.in.h: Renamed from lib/libxml/xmlsave_.h.
359         * lib/libxml/xmlschemas.in.h: Renamed from lib/libxml/xmlschemas_.h.
360         * lib/libxml/xmlschemastypes.in.h: Renamed from lib/libxml/xmlschemastypes_.h.
361         * lib/libxml/xmlstring.in.h: Renamed from lib/libxml/xmlstring_.h.
362         * lib/libxml/xmlunicode.in.h: Renamed from lib/libxml/xmlunicode_.h.
363         * lib/libxml/xmlversion.in.h: Renamed from lib/libxml/xmlversion_.h.
364         * lib/libxml/xmlwriter.in.h: Renamed from lib/libxml/xmlwriter_.h.
365         * lib/libxml/xpath.in.h: Renamed from lib/libxml/xpath_.h.
366         * lib/libxml/xpathInternals.in.h: Renamed from lib/libxml/xpathInternals_.h.
367         * lib/libxml/xpointer.in.h: Renamed from lib/libxml/xpointer_.h.
368         * modules/libxml (Files, Makefile.am): Update.
369         * Makefile.am (EXTRA_DIST): Update.
370
371         * lib/glib/ghash.in.h: Renamed from lib/glib/ghash_.h.
372         * lib/glib/glist.in.h: Renamed from lib/glib/glist_.h.
373         * lib/glib/gprimes.in.h: Renamed from lib/glib/gprimes_.h.
374         * lib/glib/gstrfuncs.in.h: Renamed from lib/glib/gstrfuncs_.h.
375         * lib/glib/gstring.in.h: Renamed from lib/glib/gstring_.h.
376         * lib/glib/gtypes.in.h: Renamed from lib/glib/gtypes_.h.
377         * lib/glib.in.h: Renamed from lib/glib_.h.
378         * lib/glibconfig.in.h: Renamed from lib/glibconfig_.h.
379         * modules/libglib (Files, Makefile.am): Update.
380         * Makefile.am (EXTRA_DIST): Update.
381
382         * lib/getopt.in.h.diff: Renamed from lib/getopt_.h.diff.
383         * Makefile.am (EXTRA_DIST): Update.
384
385         * lib/alloca.in.h: Renamed from lib/alloca_.h.
386         * Makefile.am (EXTRA_DIST): Update.
387
388 2007-10-01  Bruno Haible  <bruno@clisp.org>
389
390         * tests/test-term-ostream-xterm.out: Update expected result after
391         code changes on 2006-12-23.
392
393 2007-09-29  Bruno Haible  <bruno@clisp.org>
394
395         * modules/fnmatch.diff: Update.
396
397 2007-09-26  Bruno Haible  <bruno@clisp.org>
398
399         * lib/vasprintf.c (int_vasprintf): Pass the args as a va_list,
400         not as a 'va_list *'. Needed on x86_64-linux, where va_list is an
401         array type: taking the address of a parameter of type va_list does
402         not yield a 'va_list *'. We have to assume that platforms where
403         passing a va_list by reference is useful (either because va_end is
404         not a no-op or because sizeof(va_list) is large) have already defined
405         va_list to an array type; no need to try to enforce passing by
406         reference.
407         Reported by Cristian Baboi <cristi@ot.onrc.ro>.
408
409 2007-09-24  Bruno Haible  <bruno@clisp.org>
410
411         * lib/vasprintf.c (int_vasprintf): Use va_copy and va_end.
412         * modules/vasprintf.diff: Add dependency to stdarg.
413         Reported by Cristian Baboi <cristi@ot.onrc.ro>.
414
415 2007-09-01  Bruno Haible  <bruno@clisp.org>
416
417         * lib/linebreak.c.diff: Update.
418
419 2007-08-18  Bruno Haible  <bruno@clisp.org>
420
421         * modules/fstrcmp: Remove file, moved to gnulib.
422         * lib/fstrcmp.h: Remove file, moved to gnulib.
423         * lib/fstrcmp.c: Remove file, moved to gnulib.
424         * lib/diffseq.h: Remove file, moved to gnulib.
425         * Makefile.am (EXTRA_DIST): Remove them.
426
427 2007-07-01  Bruno Haible  <bruno@clisp.org>
428
429         * build-aux/moopp (func_version): Use the standard --version output,
430         see
431         <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00302.html>.
432
433 2007-05-13  Bruno Haible  <bruno@clisp.org>
434
435         * m4/vasprintf.m4 (gl_REPLACE_VASPRINTF, gl_PREREQ_VASPRINTF_H): New
436         macros, partially copied from gnulib.
437         (gl_FUNC_VASPRINTF): Copied from gnulib.
438
439 2007-05-13  Bruno Haible  <bruno@clisp.org>
440
441         * lib/vasprintf.c: Include stdio.h instead of vasprintf.h.
442         * lib/glibconfig_.h: Likewise.
443
444 2007-05-13  Bruno Haible  <bruno@clisp.org>
445
446         * modules/vasprintf.diff: Update.
447         * lib/linebreak.c.diff: Update.
448
449 2007-05-01  Bruno Haible  <bruno@clisp.org>
450
451         * lib/term-ostream.oo.c: Don't include sigprocmask.h.
452
453 2007-03-24  Bruno Haible  <bruno@clisp.org>
454
455         * lib/html-ostream.oo.c: Include unistr.h instead of utf8-ucs4.h.
456
457 2007-03-16  Bruno Haible  <bruno@clisp.org>
458
459         * lib/html-ostream.oo.c (html_ostream_create): Update after signature
460         of gl_list_create_empty changed.
461
462 2007-03-04  Bruno Haible  <bruno@clisp.org>
463
464         * lib/propername.c (proper_name, proper_name_utf8): Use mbsstr instead
465         of strstr.
466         * modules/propername (Depends-on): Remove strstr. Add mbsstr.
467
468 2007-03-04  Bruno Haible  <bruno@clisp.org>
469
470         Moved --enable-relocatable infrastructure to gnulib.
471         * modules/gettext-tools-libgettextpo-misc: Remove file.
472         * modules/progreloc: Remove file.
473         * modules/relocatable: Remove file.
474         * modules/relocwrapper: Remove file.
475         * lib/strerror.c.diff: Remove file.
476         * Makefile.am (EXTRA_DIST): Remove these files.
477
478 2007-02-28  Bruno Haible  <bruno@clisp.org>
479
480         Move relocatability infrastructure to gnulib.
481         * lib/relocatable.c: Remove file.
482         * lib/relocatable.h: Remove file.
483         * lib/relocwrapper.c: Remove file.
484         * m4/relocatable.m4: Remove file.
485         * Makefile.am (EXTRA_DIST): Remove these files.
486
487 2007-02-28  Bruno Haible  <bruno@clisp.org>
488
489         Move module xreadlink to gnulib.
490         * modules/xreadlink: Remove file.
491         * lib/xreadlink.h: Remove file.
492         * lib/xreadlink.c: Remove file.
493         * m4/xreadlink.m4: Remove file.
494         * Makefile.am (EXTRA_DIST): Remove these files.
495
496 2007-02-19  Bruno Haible  <bruno@clisp.org>
497
498         * lib/closeout.c: Include <stdlib.h> instead of exit.h.
499         * lib/fd-ostream.oo.c: Don't include exit.h.
500         * lib/html-styled-ostream.oo.c: Include <stdlib.h> instead of exit.h.
501         * lib/iconv-ostream.oo.c: Don't include exit.h.
502         * lib/memory-ostream.oo.c: Likewise.
503         * lib/term-ostream.oo.c: Likewise.
504         * lib/xmalloc.c: Likewise.
505
506 2007-02-12  Bruno Haible  <bruno@clisp.org>
507
508         * modules/gettext-tools-misc (Files): Add m4/locale-fr.m4.
509
510 2007-02-01  Bruno Haible  <bruno@clisp.org>
511
512         * modules/gettext-tools-misc (Makefile.am): Add @LIB_ACL@ to
513         lib_LDFLAGS.
514         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
515
516 2007-01-28  Bruno Haible  <bruno@clisp.org>
517
518         * lib/linebreak.c.diff: Update.
519
520 2007-01-27  Bruno Haible  <bruno@clisp.org>
521
522         Move a patch to gnulib.
523         * lib/javacomp.c.diff: Remove file.
524         * modules/javacomp.diff: Remove file.
525         * Makefile.am (EXTRA_DIST): Remove them.
526
527 2007-01-26  Bruno Haible  <bruno@clisp.org>
528
529         * lib/propername.c: Don't include strstr.h, use <string.h> instead.
530
531 2007-01-12  Bruno Haible  <bruno@clisp.org>
532
533         * lib/xreadlink.c (xreadlink): Handle an ERANGE error. Needed for
534         AIX and HP-UX. Based on a gnulib patch from Paul Eggert on 2004-11-03.
535
536 2006-12-23  Bruno Haible  <bruno@clisp.org>
537
538         * term-ostream.oo.c (out_attr_change): Consider the side effects of
539         exit_attribute_mode: Turn off all attributes before turning on others.
540         Also re-enable the colors after turning off attributes.
541
542 2006-12-23  Bruno Haible  <bruno@clisp.org>
543
544         * build-aux/moopp (func_emit_source_h, func_emit_source_c): Accept the
545         newfile_base as second argument. Emit #line directives without a
546         directory.
547
548 2006-12-22  Bruno Haible  <bruno@clisp.org>
549
550         * modules/html-styled-ostream (Makefile.am) [WOE32DLL]: Use a C++
551         wrapper file.
552         * modules/term-styled-ostream (Makefile.am) [WOE32DLL]: Likewise.
553
554 2006-12-22  Bruno Haible  <bruno@clisp.org>
555
556         Test for CC=c++ at configure-time.
557         * m4/moo.m4: New file.
558         * build-aux/moopp: Emit test of IS_CPLUSPLUS instead of __cplusplus.
559         * modules/moo (Files): Add m4/moo.m4.
560         (configure.ac): Set to gl_MOO.
561         * Makefile.am (EXTRA_DIST): Add m4/moo.m4.
562
563 2006-12-23  Bruno Haible  <bruno@clisp.org>
564
565         Support platforms with neither terminfo nor termcap functions, like
566         mingw.
567         * lib/tputs.c: New file.
568
569         * modules/termcap (Files): Add lib/tputs.c.
570         * m4/termcap.m4 (gl_TERMCAP): Add tputs replacement.
571         (gl_TERMCAP_BODY): Define HAVE_TERMCAP if tgetent is available.
572         * lib/termcap.h (tgetent, tgetnum, tgetflag, tgetstr): Declare only
573         if HAVE_TERMCAP.
574         (tgoto): Declare only if HAVE_TERMCAP || HAVE_TERMINFO.
575
576         * modules/terminfo (Files): Add lib/tputs.c.
577         * m4/terminfo.m4 (gl_TERMINFO): Add tputs replacement.
578         (gl_TERMINFO_BODY): Define HAVE_TERMCAP if tgetent is available.
579         * lib/terminfo.h (tgetent, tgetnum, tgetflag, tgetstr): Declare only
580         if HAVE_TERMCAP.
581         (tgoto): Declare only if HAVE_TERMINFO || HAVE_TERMCAP.
582
583         * lib/term-ostream.oo.c (term_ostream_create): Use ANSI color escape
584         sequences when neither terminfo nor termcap functions exist.
585         * Makefile.am (EXTRA_DIST): Add lib/tputs.c.
586
587 2006-12-23  Bruno Haible  <bruno@clisp.org>
588
589         Improve cross-compilation support.
590         * m4/gcj.m4 (gt_GCJ): Use AC_CHECK_TOOL instead of AC_CHECK_PROGS.
591
592 2006-12-23  Bruno Haible  <bruno@clisp.org>
593
594         * lib/term-ostream.oo.c (term_ostream_create): Fix up the
595         no_color_video value for cygwin.
596
597 2006-12-22  Bruno Haible  <bruno@clisp.org>
598
599         Move no-c++ module to gnulib.
600         * modules/no-c++: Remove file.
601         * m4/no-c++.m4: Remove file.
602         * Makefile.am (EXTRA_DIST): Remove them.
603
604 2006-12-21  Bruno Haible  <bruno@clisp.org>
605
606         * modules/gettext-tools-misc (Makefile.am): Move modifications of
607         AUTOMAKE_OPTIONS, AM_CPPFLAGS and settings of gettextsrcdir,
608         gettextsrc_DATA, pkgdatadir to ../gettext-tools/gnulib-lib/Makefile.am.
609
610 2006-12-21  Bruno Haible  <bruno@clisp.org>
611
612         * build-aux/moopp (func_usage, func_version): New functions.
613         (dllexports): New variable.
614         Parse command-line options.
615         (func_emit_source_h): Emit DLL_VARIABLE marks if the class is to be
616         exported.
617
618 2006-12-21  Bruno Haible  <bruno@clisp.org>
619
620         * modules/moo (Makefile.am): Declare MOOPPFLAGS.
621         * modules/moo-tests (Makefile.am): Pass the MOOPPFLAGS to every moopp
622         invocation.
623         * modules/ostream (Makefile.am): Likewise.
624         * modules/fd-ostream (Makefile.am): Likewise.
625         * modules/file-ostream (Makefile.am): Likewise.
626         * modules/html-ostream (Makefile.am): Likewise.
627         * modules/iconv-ostream (Makefile.am): Likewise.
628         * modules/memory-ostream (Makefile.am): Likewise.
629         * modules/term-ostream (Makefile.am): Likewise.
630         * modules/styled-ostream (Makefile.am): Likewise.
631         * modules/html-styled-ostream (Makefile.am): Likewise.
632         * modules/term-styled-ostream (Makefile.am): Likewise.
633
634 2006-12-21  Bruno Haible  <bruno@clisp.org>
635
636         * lib/diffseq.h (diag, compareseq): Use the EQUAL macro.
637
638 2006-12-19  Bruno Haible  <bruno@clisp.org>
639
640         * m4/libxml.m4 (gl_LIBXML): Check for arpa/nameser.h and resolv.h
641         with some prerequisite headers. Needed for AIX 4.3.2.
642
643 2006-12-19  Bruno Haible  <bruno@clisp.org>
644
645         * lib/term-ostream.oo.c (term_ostream_create): Add color information
646         about xterm if the platform lacks it.
647
648 2006-12-19  Bruno Haible  <bruno@clisp.org>
649
650         * lib/term-ostream.oo.c: Include terminfo.h instead of termcap.h.
651         * modules/term-ostream (Depends-on): Add terminfo-h, remove termcap-h.
652
653 2006-12-19  Bruno Haible  <bruno@clisp.org>
654
655         * lib/terminfo.h: New file.
656         * modules/terminfo-h: New file.
657         * Makefile.am (EXTRA_DIST): Add them.
658
659 2006-12-19  Bruno Haible  <bruno@clisp.org>
660
661         * m4/terminfo.m4: New file.
662         * modules/terminfo: New file.
663         * Makefile.am (EXTRA_DIST): Add them.
664
665 2006-12-19  Bruno Haible  <bruno@clisp.org>
666
667         * m4/termcap.m4 (gl_TERMCAP, gl_TERMCAP_BODY): Rename cache variables.
668
669 2006-12-17  Bruno Haible  <bruno@clisp.org>
670
671         * lib/diffseq.h: New file, extracted from fstrcmp.c and GNU diff's
672         analyze.c.
673         * lib/fstrcmp.c: Use it.
674         * modules/fstrcmp (Files): Add lib/diffseq.h.
675
676 2006-12-17  Bruno Haible  <bruno@clisp.org>
677
678         * lib/fstrcmp.c: Make generic.
679         (EXTRA_CONTEXT_FIELDS, NOTE_DELETE, NOTE_INSERT): New macros.
680
681 2006-10-07  Bruno Haible  <bruno@clisp.org>
682
683         * lib/fstrcmp.c: Include minmax.h.
684         * modules/fstrcmp (Depends-on): Add minmax.
685
686         * lib/fstrcmp.c (IF_LINT): New macro.
687
688         * lib/fstrcmp.c: Make comments and variable syntax closer to GNU
689         diff's analyze.c.
690
691         * lib/fstrcmp.c: Fix FSF address in copyright header.
692
693         * lib/fstrcmp.c: Rename macro MINUS_H_FLAG to USE_HEURISTIC. Use bool.
694
695         * lib/fstrcmp.c: Update comments. Talk about vectors instead of
696         strings, and about elements instead of characters.
697
698         * lib/fstrcmp.c: Make generic.
699         (OFFSET_MAX): New macro.
700
701         * lib/fstrcmp.c: Modernize the coding style.
702
703         * lib/fstrcmp.c: Include <stdbool.h>. Use bool where appropriate.
704         Rename 'minimal' to 'find_minimal'.
705
706         * lib/fstrcmp.c: Make generic.
707         (ELEMENT, EQUAL, OFFSET): New macros.
708
709 2006-12-17  Bruno Haible  <bruno@clisp.org>
710
711         * lib/fstrcmp.c (diag): Change return type to void.
712         (compareseq): Remove verification that the change count is > 1.
713
714 2006-12-16  Bruno Haible  <bruno@clisp.org>
715
716         * m4/termcap.m4 (gl_TERMCAP_BODY): Also test for the terminfo
717         functions.
718         * lib/termcap.h (setupterm, tigetnum, tigetflag, tigetstr): New
719         declarations.
720         * lib/term-ostream.oo.c (xstrdup0) [HAVE_TERMINFO]: Handle (char*)-1
721         return value from tigetstr.
722         (term_ostream_create) [HAVE_TERMINFO]: Prefer the terminfo API.
723
724 2006-12-16  Bruno Haible  <bruno@clisp.org>
725
726         * lib/term-ostream.oo.c (term_ostream_create): Fix tgetstr argument
727         for stream->no_color_video.
728
729 2006-12-16  Bruno Haible  <bruno@clisp.org>
730
731         * lib/term-ostream.oo.c (term_ostream_create): Don't ignore tgetent's
732         return value.
733
734 2006-12-16  Bruno Haible  <bruno@clisp.org>
735
736         * lib/libcroco/cr-style.h (enum CRPositionType): Remove trailing
737         comma. Needed for compilation on AIX with xlc.
738
739 2006-12-16  Bruno Haible  <bruno@clisp.org>
740
741         * modules/libxml (Depends-on): Add stdarg.
742         * m4/libxml.m4 (gl_LIBXML): Define VA_COPY, needed for xmlwriter.c.
743
744 2006-12-16  Bruno Haible  <bruno@clisp.org>
745
746         * lib/libxml/xmlwriter.c: Include libxml.h first, not after string.h.
747
748 2006-12-13  Bruno Haible  <bruno@clisp.org>
749
750         * build-aux/moopp: Add check for GNU sed. Generate the 4 files in the
751         source directory, not in the current directory.
752         * modules/ostream (Makefile.am): Test for the .h file in the source
753         directory, not in the current directory. Augment MAINTAINERCLEANFILES
754         and EXTRA_DIST, not CLEANFILES.
755         * modules/fd-ostream (Makefile.am): Likewise.
756         * modules/file-ostream (Makefile.am): Likewise.
757         * modules/html-ostream (Makefile.am): Likewise.
758         * modules/iconv-ostream (Makefile.am): Likewise.
759         * modules/memory-ostream (Makefile.am): Likewise.
760         * modules/term-ostream (Makefile.am): Likewise.
761         * modules/styled-ostream (Makefile.am): Likewise.
762         * modules/html-styled-ostream (Makefile.am): Likewise.
763         * modules/term-styled-ostream (Makefile.am): Likewise.
764
765 2006-12-13  Bruno Haible  <bruno@clisp.org>
766
767         Avoid crash on NetBSD.
768         * lib/term-ostream.oo.c (term_ostream_create): Pass a non-NULL area
769         pointer to tgetstr.
770
771 2006-12-13  Bruno Haible  <bruno@clisp.org>
772
773         * lib/tparm.c: New file, based on a public-domain implementation part
774         of Cygwin.
775         * m4/termcap.m4 (gl_TERMCAP): AC_LIBOBJ of tparm.c if needed.
776         (gl_TERMCAP_BODY): Test whether the system has tparm().
777         * modules/termcap (Files): Add lib/tparm.c.
778         (Depends-on): Add c-ctype.
779         * Makefile.am (EXTRA_DIST): Add lib/tparm.c.
780
781 2006-12-13  Bruno Haible  <bruno@clisp.org>
782
783         * modules/termcap-h (Include): Add termcap.h.
784
785 2006-12-13  Bruno Haible  <bruno@clisp.org>
786
787         * build-aux/moopp (sed_remove_comments): Fix handling of character
788         constants. Example:  '"' /* comment */ '"'
789         (sed_remove_comments_ERE): New variable.
790
791 2006-12-13  Bruno Haible  <bruno@clisp.org>
792
793         * modules/ostream (Makefile.am): List all generated files in the moopp
794         rule.
795         * modules/fd-ostream (Makefile.am): Likewise.
796         * modules/file-ostream (Makefile.am): Likewise.
797         * modules/html-ostream (Makefile.am): Likewise.
798         * modules/iconv-ostream (Makefile.am): Likewise.
799         * modules/memory-ostream (Makefile.am): Likewise.
800         * modules/term-ostream (Makefile.am): Likewise.
801         * modules/styled-ostream (Makefile.am): Likewise.
802         * modules/html-styled-ostream (Makefile.am): Likewise.
803         * modules/term-styled-ostream (Makefile.am): Likewise.
804
805 2006-12-12  Bruno Haible  <bruno@clisp.org>
806
807         Fix moopp rules for parallel make.
808         * build-aux/moopp: Generate source.h first and source.c last.
809         * modules/ostream (Makefile.am): Rewrite the moopp rule so that all
810         generated files depend on the generated .h file.
811         * modules/fd-ostream (Makefile.am): Likewise.
812         * modules/file-ostream (Makefile.am): Likewise.
813         * modules/html-ostream (Makefile.am): Likewise.
814         * modules/iconv-ostream (Makefile.am): Likewise.
815         * modules/memory-ostream (Makefile.am): Likewise.
816         * modules/term-ostream (Makefile.am): Likewise.
817         * modules/styled-ostream (Makefile.am): Likewise.
818         * modules/html-styled-ostream (Makefile.am): Likewise.
819         * modules/term-styled-ostream (Makefile.am): Likewise.
820         Reported by Ralf Wildenhues.
821
822 2006-12-12  Bruno Haible  <bruno@clisp.org>
823
824         * build-aux/moopp (func_emit_priv_h, func_emit_vt_h,
825         func_emit_source_h, func_emit_source_c): New functions.
826
827 2006-12-02  Bruno Haible  <bruno@clisp.org>
828
829         Support 'text-decoration: underline' in terminal mode.
830         * lib/term-styled-ostream.oo.c: Include cr-string.h.
831         (enum CRXTextDecorationType): New type.
832         (CRXStyle): New type.
833         (crx_style_new, crx_style_destroy, crx_sel_eng_get_matched_style): New
834         functions.
835         (style_compute_text_underline_value): Take a CRXStyle as argument.
836         (match): Build a chain of CRXStyle instead of CRStyle.
837
838 2006-12-01  Bruno Haible  <bruno@clisp.org>
839
840         * modules/term-styled-ostream: New file.
841         * lib/term-styled-ostream.oo.c: New file.
842         * lib/term-styled-ostream.oo.h: New file.
843         * Makefile.am (EXTRA_DIST): Add the new files.
844
845 2006-12-01  Bruno Haible  <bruno@clisp.org>
846
847         * modules/html-styled-ostream: New file.
848         * lib/html-styled-ostream.oo.c: New file.
849         * lib/html-styled-ostream.oo.h: New file.
850         * Makefile.am (EXTRA_DIST): Add the new files.
851
852 2006-12-01  Bruno Haible  <bruno@clisp.org>
853
854         * modules/styled-ostream: New file.
855         * lib/styled-ostream.oo.c: New file.
856         * lib/styled-ostream.oo.h: New file.
857         * Makefile.am (EXTRA_DIST): Add the new files.
858
859 2006-12-11  Bruno Haible  <bruno@clisp.org>
860
861         Portability to BeOS.
862         * lib/term-ostream.oo.c (term_ostream_create) [BeOS]: Correct the
863         values of stream->set_a_foreground and stream->set_a_background.
864
865 2006-12-11  Bruno Haible  <bruno@clisp.org>
866
867         Portability to systems with GNU termcap.
868         * m4/termcap.m4 (gl_TERMCAP_BODY): Also test for the tparam function.
869         * lib/termcap.h (tparam): New declaration.
870         * lib/term-ostream.oo.c (tparambuf): New variable.
871         (tparm): Define in terms of tparam when tparam exists.
872
873 2006-12-01  Bruno Haible  <bruno@clisp.org>
874
875         * modules/term-ostream: Depend on termcap-h, not termcap.
876         * lib/term-ostream.oo.c: Include termcap.h.
877         (tgetent, tgetnum, tgetflag, tgetstr, tparm, tgoto, tputs): Remove
878         declarations.
879
880         Move termcap function declarations to a header file.
881         * modules/termcap-h: New file.
882         * lib/termcap.h: New file.
883         * Makefile.am (EXTRA_DIST): Add the new files.
884
885 2006-12-01  Bruno Haible  <bruno@clisp.org>
886
887         * modules/moo-tests: New file.
888         * tests/test-moo-aroot.oo.c: New file.
889         * tests/test-moo-aroot.oo.h: New file.
890         * tests/test-moo-assign.c: New file.
891         * tests/test-moo-asub1.oo.c: New file.
892         * tests/test-moo-asub1.oo.h: New file.
893         * tests/test-moo-root.oo.c: New file.
894         * tests/test-moo-root.oo.h: New file.
895         * tests/test-moo-sub1.oo.c: New file.
896         * tests/test-moo-sub1.oo.h: New file.
897         * tests/test-moo-sub2.oo.c: New file.
898         * tests/test-moo-sub2.oo.h: New file.
899         * Makefile.am (EXTRA_DIST): Add the new files.
900
901 2006-12-01  Bruno Haible  <bruno@clisp.org>
902
903         * modules/term-ostream-tests: New file.
904         * tests/test-term-ostream.c: New file.
905         * tests/test-term-ostream-xterm: New file.
906         * tests/test-term-ostream-xterm.out: New file.
907         * tests/test-term-ostream-xterm-16color.out: New file.
908         * tests/test-term-ostream-xterm-88color.out: New file.
909         * tests/test-term-ostream-xterm-256color.out: New file.
910         * Makefile.am (EXTRA_DIST): Add the new files.
911
912 2006-12-02  Bruno Haible  <bruno@clisp.org>
913
914         * lib/term-ostream.oo.c (term_ostream_create): Recognize also the
915         terminal types rxvt[-16color] and konsole[-16color].
916
917 2006-12-01  Bruno Haible  <bruno@clisp.org>
918
919         Preserve the hue of bright colors.
920         * lib/term-ostream.oo.c (colors_of_common8): New variable.
921         (rgb_to_color_common8): Rewritten.
922         (colors_of_xterm8): New variable.
923         (rgb_to_color_xterm8): Rewritten.
924
925 2006-12-01  Bruno Haible  <bruno@clisp.org>
926
927         * lib/term-ostream.oo.c (out_attr_change): Fix typo.
928
929 2006-11-30  Bruno Haible  <bruno@clisp.org>
930
931         Add special color support for xterm-16color, xterm-88color,
932         xterm-256color.
933         * lib/term-ostream.oo.h (term_color_t): Define as int.
934         (COLOR_BLACK, COLOR_BLUE, COLOR_GREEN, COLOR_CYAN, COLOR_RED,
935         COLOR_MAGENTA, COLOR_YELLOW, COLOR_WHITE): Remove enum items.
936         (term_ostream): Add method rgb_to_color.
937         * lib/term-ostream.oo.c (rgb_t, hsv_t): New types.
938         (rgb_to_hsv, color_distance, nearest_color, color_luminance): New
939         functions.
940         (colormodel_t): New type.
941         (rgb_to_color_monochrome): New function.
942         (rgb_to_color_common8): New function.
943         (rgb_to_color_xterm8): New function.
944         (colors_of_xterm16): New variable.
945         (rgb_to_color_xterm16): New function.
946         (colors_of_xterm88): New variable.
947         (rgb_to_color_xterm88): New function.
948         (colors_of_xterm256): New variable.
949         (rgb_to_color_xterm256): New function.
950         (attributes_t): Reserve more bits for the colors.
951         (term_ostream): Add colormodel field.
952         (out_error): New function.
953         (out_char): Use it.
954         (out_attr_change): Add support for the xterm color models.
955         (term_ostream::rgb_to_color): New function.
956         (term_ostream_create): Initialize the colormodel field.
957
958 2006-11-28  Bruno Haible  <bruno@clisp.org>
959
960         * lib/term-ostream.oo.c (out_attr_change): Fix uses of color_bgr.
961
962 2006-11-28  Bruno Haible  <bruno@clisp.org>
963
964         Guard against interruption with Ctrl-Z.
965         * lib/term-ostream.oo.c: Include also signal.h and sigprocmask.h.
966         (SIZEOF): New macro.
967         (stopping_signals): New variable.
968         (num_stopping_signals): New macro.
969         (stopping_signal_set): New variable.
970         (init_stopping_signal_set): New function.
971         (block_stopping_signals, unblock_stopping_signals): New functions.
972         (output_buffer): Use them.
973         * modules/term-ostream (Depends-on): Add sigprocmask.
974
975 2006-11-28  Bruno Haible  <bruno@clisp.org>
976
977         * lib/libcroco/cr-fonts.h: Fix double-inclusion guard.
978
979 2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
980             Bruno Haible  <bruno@clisp.org>
981
982         * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to 0
983         if compiling with "gcc -ansi".
984
985 2006-11-26  Bruno Haible  <bruno@clisp.org>
986
987         Build the imported libraries with a C compiler, even when CC=g++.
988
989         * modules/libcroco (Depends-on): Add no-c++.
990         (Makefile.am): Define libcroco_rpl_la_SOURCES,
991         libcroco_rpl_la_CPPFLAGS.
992         Augment lib_LIBADD, lib_DEPENDENCIES, noinst_LTLIBRARIES.
993         * m4/libcroco.m4 (gl_LIBCROCO): Don't use AC_LIBOBJ.
994
995         * modules/libglib (Depends-on): Add no-c++.
996         (Makefile.am): Define libglib_rpl_la_SOURCES, libglib_rpl_la_CPPFLAGS.
997         Augment lib_LIBADD, lib_DEPENDENCIES, noinst_LTLIBRARIES.
998         * m4/libglib.m4 (gl_LIBGLIB): Don't use AC_LIBOBJ. New condition
999         INCLUDED_LIBGLIB.
1000
1001         * modules/libxml (Depends-on): Add no-c++.
1002         (Makefile.am): Define libxml_rpl_la_SOURCES, libxml_rpl_la_CPPFLAGS.
1003         Augment lib_LIBADD, lib_DEPENDENCIES, noinst_LTLIBRARIES.
1004         * m4/libxml.m4 (gl_LIBXML): Don't use AC_LIBOBJ. New condition
1005         INCLUDED_LIBXML.
1006
1007 2006-11-26  Bruno Haible  <bruno@clisp.org>
1008
1009         libcroco uses vasprintf.h, which requires <config.h>.
1010         * lib/libcroco/cr-additional-sel.c: Include <config.h>.
1011         * lib/libcroco/cr-attr-sel.c: Likewise.
1012         * lib/libcroco/cr-cascade.c: Likewise.
1013         * lib/libcroco/cr-declaration.c: Likewise.
1014         * lib/libcroco/cr-doc-handler.c: Likewise.
1015         * lib/libcroco/cr-enc-handler.c: Likewise.
1016         * lib/libcroco/cr-fonts.c: Likewise.
1017         * lib/libcroco/cr-input.c: Likewise.
1018         * lib/libcroco/cr-num.c: Likewise.
1019         * lib/libcroco/cr-om-parser.c: Likewise.
1020         * lib/libcroco/cr-parser.c: Likewise.
1021         * lib/libcroco/cr-parsing-location.c: Likewise.
1022         * lib/libcroco/cr-prop-list.c: Likewise.
1023         * lib/libcroco/cr-pseudo.c: Likewise.
1024         * lib/libcroco/cr-rgb.c: Likewise.
1025         * lib/libcroco/cr-sel-eng.c: Likewise.
1026         * lib/libcroco/cr-selector.c: Likewise.
1027         * lib/libcroco/cr-simple-sel.c: Likewise.
1028         * lib/libcroco/cr-statement.c: Likewise.
1029         * lib/libcroco/cr-string.c: Likewise.
1030         * lib/libcroco/cr-style.c: Likewise.
1031         * lib/libcroco/cr-stylesheet.c: Likewise.
1032         * lib/libcroco/cr-term.c: Likewise.
1033         * lib/libcroco/cr-tknzr.c: Likewise.
1034         * lib/libcroco/cr-token.c: Likewise.
1035         * lib/libcroco/cr-utils.c: Likewise.
1036
1037 2006-11-26  Bruno Haible  <bruno@clisp.org>
1038
1039         * modules/no-c++: New file.
1040         * m4/no-c++.m4: New file.
1041         * Makefile.am (EXTRA_DIST): Add them.
1042
1043 2006-11-26  Bruno Haible  <bruno@clisp.org>
1044
1045         Support for VPATH builds.
1046         * modules/libglib (glib/*.h): Create the glib directory if necessary.
1047         * modules/libxml (libxml/*.h): Create the libxml directory if
1048         necessary.
1049
1050 2006-11-26  Bruno Haible  <bruno@clisp.org>
1051
1052         * lib/xalloc.h (xmemdup): Add a typesafe C++ template variant.
1053         Based on a patch from Paul Eggert in gnulib.
1054
1055 2006-11-26  Bruno Haible  <bruno@clisp.org>
1056
1057         Optimize IS_INSTANCE.
1058         * build-aux/moopp: Emit also a classname_SUPERCLASSES_LENGTH macro.
1059         * lib/moo.h (IS_INSTANCE): Use the value of this macro, known at
1060         compile time.
1061         (IS_INSTANCE_PRIVATE): Remove macro.
1062
1063 2006-11-26  Bruno Haible  <bruno@clisp.org>
1064
1065         * lib/moo.h (IS_INSTANCE): Fix reference to vtable.
1066
1067 2006-11-26  Bruno Haible  <bruno@clisp.org>
1068
1069         * build-aux/moopp: In the C++ class definition, add 'operator ==',
1070         'operator !=' members, and add constructors for downcasting.
1071
1072 2006-11-25  Bruno Haible  <bruno@clisp.org>
1073
1074         * lib/glibconfig_.h (g_return_if_fail, g_return_val_if_fail,
1075         g_return_if_reached, g_return_val_if_reached): Return instead of
1076         calling abort().
1077
1078 2006-11-12  Bruno Haible  <bruno@clisp.org>
1079
1080         * modules/libcroco: New file.
1081         * m4/libcroco.m4: New file.
1082         * lib/libcroco/cr-additional-sel.c: New file, from libcroco-0.6.1.
1083         * lib/libcroco/cr-additional-sel.h: New file, from libcroco-0.6.1.
1084         * lib/libcroco/cr-attr-sel.c: New file, from libcroco-0.6.1.
1085         * lib/libcroco/cr-attr-sel.h: New file, from libcroco-0.6.1.
1086         * lib/libcroco/cr-cascade.c: New file, from libcroco-0.6.1.
1087         * lib/libcroco/cr-cascade.h: New file, from libcroco-0.6.1.
1088         * lib/libcroco/cr-declaration.c: New file, from libcroco-0.6.1.
1089         * lib/libcroco/cr-declaration.h: New file, from libcroco-0.6.1.
1090         * lib/libcroco/cr-doc-handler.c: New file, from libcroco-0.6.1.
1091         * lib/libcroco/cr-doc-handler.h: New file, from libcroco-0.6.1.
1092         * lib/libcroco/cr-enc-handler.c: New file, from libcroco-0.6.1.
1093         * lib/libcroco/cr-enc-handler.h: New file, from libcroco-0.6.1.
1094         * lib/libcroco/cr-fonts.c: New file, from libcroco-0.6.1.
1095         * lib/libcroco/cr-fonts.h: New file, from libcroco-0.6.1.
1096         * lib/libcroco/cr-input.c: New file, from libcroco-0.6.1.
1097         * lib/libcroco/cr-input.h: New file, from libcroco-0.6.1.
1098         * lib/libcroco/cr-num.c: New file, from libcroco-0.6.1.
1099         * lib/libcroco/cr-num.h: New file, from libcroco-0.6.1.
1100         * lib/libcroco/cr-om-parser.c: New file, from libcroco-0.6.1.
1101         * lib/libcroco/cr-om-parser.h: New file, from libcroco-0.6.1.
1102         * lib/libcroco/cr-parser.c: New file, from libcroco-0.6.1.
1103         * lib/libcroco/cr-parser.h: New file, from libcroco-0.6.1.
1104         * lib/libcroco/cr-parsing-location.c: New file, from libcroco-0.6.1.
1105         * lib/libcroco/cr-parsing-location.h: New file, from libcroco-0.6.1.
1106         * lib/libcroco/cr-prop-list.c: New file, from libcroco-0.6.1.
1107         * lib/libcroco/cr-prop-list.h: New file, from libcroco-0.6.1.
1108         * lib/libcroco/cr-pseudo.c: New file, from libcroco-0.6.1.
1109         * lib/libcroco/cr-pseudo.h: New file, from libcroco-0.6.1.
1110         * lib/libcroco/cr-rgb.c: New file, from libcroco-0.6.1.
1111         * lib/libcroco/cr-rgb.h: New file, from libcroco-0.6.1.
1112         * lib/libcroco/cr-sel-eng.c: New file, from libcroco-0.6.1.
1113         * lib/libcroco/cr-sel-eng.h: New file, from libcroco-0.6.1.
1114         * lib/libcroco/cr-selector.c: New file, from libcroco-0.6.1.
1115         * lib/libcroco/cr-selector.h: New file, from libcroco-0.6.1.
1116         * lib/libcroco/cr-simple-sel.c: New file, from libcroco-0.6.1.
1117         * lib/libcroco/cr-simple-sel.h: New file, from libcroco-0.6.1.
1118         * lib/libcroco/cr-statement.c: New file, from libcroco-0.6.1.
1119         * lib/libcroco/cr-statement.h: New file, from libcroco-0.6.1.
1120         * lib/libcroco/cr-string.c: New file, from libcroco-0.6.1.
1121         * lib/libcroco/cr-string.h: New file, from libcroco-0.6.1.
1122         * lib/libcroco/cr-style.c: New file, from libcroco-0.6.1.
1123         * lib/libcroco/cr-style.h: New file, from libcroco-0.6.1.
1124         * lib/libcroco/cr-stylesheet.c: New file, from libcroco-0.6.1.
1125         * lib/libcroco/cr-stylesheet.h: New file, from libcroco-0.6.1.
1126         * lib/libcroco/cr-term.c: New file, from libcroco-0.6.1.
1127         * lib/libcroco/cr-term.h: New file, from libcroco-0.6.1.
1128         * lib/libcroco/cr-tknzr.c: New file, from libcroco-0.6.1.
1129         * lib/libcroco/cr-tknzr.h: New file, from libcroco-0.6.1.
1130         * lib/libcroco/cr-token.c: New file, from libcroco-0.6.1.
1131         * lib/libcroco/cr-token.h: New file, from libcroco-0.6.1.
1132         * lib/libcroco/cr-utils.c: New file, from libcroco-0.6.1.
1133         * lib/libcroco/cr-utils.h: New file, from libcroco-0.6.1.
1134         * lib/libcroco/libcroco-config.h: New file, from libcroco-0.6.1.
1135         * lib/libcroco/libcroco.h: New file, from libcroco-0.6.1.
1136         * Makefile.am (EXTRA_DIST): Add the new files.
1137
1138 2006-11-12  Bruno Haible  <bruno@clisp.org>
1139
1140         * modules/libglib: New file.
1141         * m4/libglib.m4: New file.
1142         * lib/glib_.h: New file, from glib-2.12.4 with modifications.
1143         * lib/glibconfig_.h: New file, based on glib-2.12.4.
1144         * lib/glib/ghash.c: New file, from glib-2.12.4 with modifications.
1145         * lib/glib/ghash_.h: New file, from glib-2.12.4 with modifications.
1146         * lib/glib/glist.c: New file, from glib-2.12.4 with modifications.
1147         * lib/glib/glist_.h: New file, from glib-2.12.4 with modifications.
1148         * lib/glib/gmessages.c: New file.
1149         * lib/glib/gprimes.c: New file, from glib-2.12.4 with modifications.
1150         * lib/glib/gprimes_.h: New file, from glib-2.12.4 with modifications.
1151         * lib/glib/gstrfuncs.c: New file, from glib-2.12.4 with modifications.
1152         * lib/glib/gstrfuncs_.h: New file, from glib-2.12.4 with modifications.
1153         * lib/glib/gstring.c: New file, from glib-2.12.4 with modifications.
1154         * lib/glib/gstring_.h: New file, from glib-2.12.4 with modifications.
1155         * lib/glib/gtypes_.h: New file, from glib-2.12.4 with modifications.
1156         * Makefile.am (EXTRA_DIST): Add the new files.
1157
1158 2006-11-12  Bruno Haible  <bruno@clisp.org>
1159
1160         * modules/xalloc (Depends-on): Add error, gettext-h, exit.
1161
1162 2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1163
1164         * lib/gettext.h (dgettext, dcgettext, ngettext) [! ENABLE_NLS]:
1165         (dngettext, dcngettext, bindtextdomain) [! ENABLE_NLS]:
1166         (bind_textdomain_codeset) [! ENABLE_NLS]:
1167         Evaluate all the arguments.  That way, callers get compatible behavior
1168         if the arguments have side effects.  Also, it avoids some GCC
1169         diagnostics in some cases; Joel E. Denny reported problems when Bison
1170         was configured with --enable-gcc-warnigs.
1171
1172 2006-11-05  Bruno Haible  <bruno@clisp.org>
1173
1174         Include libxml2 as a fallback.
1175         * modules/libxml: New file.
1176         * m4/libxml.m4: New file.
1177         * lib/libxml/elfgcchack.h: New empty file.
1178         * lib/libxml/xmlversion_.h: New file, from libxml2-2.6.27 with
1179         modifications.
1180         * lib/libxml/libxml.h: New file, from libxml2-2.6.27.
1181         * lib/libxml/COPYING: New file, from libxml2-2.6.27.
1182         * lib/libxml/DOCBparser.c: New file, from libxml2-2.6.27.
1183         * lib/libxml/DOCBparser_.h: New file, from libxml2-2.6.27.
1184         * lib/libxml/HTMLparser.c: New file, from libxml2-2.6.27.
1185         * lib/libxml/HTMLparser_.h: New file, from libxml2-2.6.27.
1186         * lib/libxml/HTMLtree.c: New file, from libxml2-2.6.27.
1187         * lib/libxml/HTMLtree_.h: New file, from libxml2-2.6.27.
1188         * lib/libxml/SAX.c: New file, from libxml2-2.6.27.
1189         * lib/libxml/SAX2.c: New file, from libxml2-2.6.27.
1190         * lib/libxml/SAX2_.h: New file, from libxml2-2.6.27.
1191         * lib/libxml/SAX_.h: New file, from libxml2-2.6.27.
1192         * lib/libxml/c14n.c: New file, from libxml2-2.6.27.
1193         * lib/libxml/c14n_.h: New file, from libxml2-2.6.27.
1194         * lib/libxml/catalog.c: New file, from libxml2-2.6.27.
1195         * lib/libxml/catalog_.h: New file, from libxml2-2.6.27.
1196         * lib/libxml/chvalid.c: New file, from libxml2-2.6.27.
1197         * lib/libxml/chvalid_.h: New file, from libxml2-2.6.27.
1198         * lib/libxml/debugXML.c: New file, from libxml2-2.6.27.
1199         * lib/libxml/debugXML_.h: New file, from libxml2-2.6.27.
1200         * lib/libxml/dict.c: New file, from libxml2-2.6.27.
1201         * lib/libxml/dict_.h: New file, from libxml2-2.6.27.
1202         * lib/libxml/encoding.c: New file, from libxml2-2.6.27.
1203         * lib/libxml/encoding_.h: New file, from libxml2-2.6.27.
1204         * lib/libxml/entities.c: New file, from libxml2-2.6.27.
1205         * lib/libxml/entities_.h: New file, from libxml2-2.6.27.
1206         * lib/libxml/error.c: New file, from libxml2-2.6.27.
1207         * lib/libxml/globals.c: New file, from libxml2-2.6.27.
1208         * lib/libxml/globals_.h: New file, from libxml2-2.6.27.
1209         * lib/libxml/hash.c: New file, from libxml2-2.6.27.
1210         * lib/libxml/hash_.h: New file, from libxml2-2.6.27.
1211         * lib/libxml/legacy.c: New file, from libxml2-2.6.27.
1212         * lib/libxml/list.c: New file, from libxml2-2.6.27.
1213         * lib/libxml/list_.h: New file, from libxml2-2.6.27.
1214         * lib/libxml/nanoftp.c: New file, from libxml2-2.6.27.
1215         * lib/libxml/nanoftp_.h: New file, from libxml2-2.6.27.
1216         * lib/libxml/nanohttp.c: New file, from libxml2-2.6.27.
1217         * lib/libxml/nanohttp_.h: New file, from libxml2-2.6.27.
1218         * lib/libxml/parser.c: New file, from libxml2-2.6.27.
1219         * lib/libxml/parserInternals.c: New file, from libxml2-2.6.27.
1220         * lib/libxml/parserInternals_.h: New file, from libxml2-2.6.27.
1221         * lib/libxml/parser_.h: New file, from libxml2-2.6.27.
1222         * lib/libxml/pattern.c: New file, from libxml2-2.6.27.
1223         * lib/libxml/pattern_.h: New file, from libxml2-2.6.27.
1224         * lib/libxml/relaxng.c: New file, from libxml2-2.6.27.
1225         * lib/libxml/relaxng_.h: New file, from libxml2-2.6.27.
1226         * lib/libxml/schemasInternals_.h: New file, from libxml2-2.6.27.
1227         * lib/libxml/schematron.c: New file, from libxml2-2.6.27.
1228         * lib/libxml/schematron_.h: New file, from libxml2-2.6.27.
1229         * lib/libxml/threads.c: New file, from libxml2-2.6.27.
1230         * lib/libxml/threads_.h: New file, from libxml2-2.6.27.
1231         * lib/libxml/tree.c: New file, from libxml2-2.6.27.
1232         * lib/libxml/tree_.h: New file, from libxml2-2.6.27.
1233         * lib/libxml/uri.c: New file, from libxml2-2.6.27.
1234         * lib/libxml/uri_.h: New file, from libxml2-2.6.27.
1235         * lib/libxml/valid.c: New file, from libxml2-2.6.27.
1236         * lib/libxml/valid_.h: New file, from libxml2-2.6.27.
1237         * lib/libxml/xinclude.c: New file, from libxml2-2.6.27.
1238         * lib/libxml/xinclude_.h: New file, from libxml2-2.6.27.
1239         * lib/libxml/xlink.c: New file, from libxml2-2.6.27.
1240         * lib/libxml/xlink_.h: New file, from libxml2-2.6.27.
1241         * lib/libxml/xmlIO.c: New file, from libxml2-2.6.27.
1242         * lib/libxml/xmlIO_.h: New file, from libxml2-2.6.27.
1243         * lib/libxml/xmlautomata_.h: New file, from libxml2-2.6.27.
1244         * lib/libxml/xmlerror_.h: New file, from libxml2-2.6.27.
1245         * lib/libxml/xmlexports_.h: New file, from libxml2-2.6.27.
1246         * lib/libxml/xmlmemory.c: New file, from libxml2-2.6.27.
1247         * lib/libxml/xmlmemory_.h: New file, from libxml2-2.6.27.
1248         * lib/libxml/xmlmodule.c: New file, from libxml2-2.6.27.
1249         * lib/libxml/xmlmodule_.h: New file, from libxml2-2.6.27.
1250         * lib/libxml/xmlreader.c: New file, from libxml2-2.6.27.
1251         * lib/libxml/xmlreader_.h: New file, from libxml2-2.6.27.
1252         * lib/libxml/xmlregexp.c: New file, from libxml2-2.6.27.
1253         * lib/libxml/xmlregexp_.h: New file, from libxml2-2.6.27.
1254         * lib/libxml/xmlsave.c: New file, from libxml2-2.6.27.
1255         * lib/libxml/xmlsave_.h: New file, from libxml2-2.6.27.
1256         * lib/libxml/xmlschemas.c: New file, from libxml2-2.6.27.
1257         * lib/libxml/xmlschemas_.h: New file, from libxml2-2.6.27.
1258         * lib/libxml/xmlschemastypes.c: New file, from libxml2-2.6.27.
1259         * lib/libxml/xmlschemastypes_.h: New file, from libxml2-2.6.27.
1260         * lib/libxml/xmlstring.c: New file, from libxml2-2.6.27.
1261         * lib/libxml/xmlstring_.h: New file, from libxml2-2.6.27.
1262         * lib/libxml/xmlunicode.c: New file, from libxml2-2.6.27.
1263         * lib/libxml/xmlunicode_.h: New file, from libxml2-2.6.27.
1264         * lib/libxml/xmlwriter.c: New file, from libxml2-2.6.27.
1265         * lib/libxml/xmlwriter_.h: New file, from libxml2-2.6.27.
1266         * lib/libxml/xpath.c: New file, from libxml2-2.6.27.
1267         * lib/libxml/xpathInternals_.h: New file, from libxml2-2.6.27.
1268         * lib/libxml/xpath_.h: New file, from libxml2-2.6.27.
1269         * lib/libxml/xpointer.c: New file, from libxml2-2.6.27.
1270         * lib/libxml/xpointer_.h: New file, from libxml2-2.6.27.
1271         * Makefile.am (EXTRA_DIST): Add the new files.
1272
1273 2006-11-05  Bruno Haible  <bruno@clisp.org>
1274
1275         * modules/term-ostream: New file.
1276         * m4/term-ostream.m4: New file.
1277         * lib/term-ostream.oo.h: New file.
1278         * lib/term-ostream.oo.c: New file.
1279         * Makefile.am (EXTRA_DIST): Add them.
1280
1281         * modules/termcap: New file.
1282         * m4/termcap.m4: New file.
1283         * Makefile.am (EXTRA_DIST): Add them.
1284
1285         * modules/memory-ostream: New file.
1286         * lib/memory-ostream.oo.h: New file.
1287         * lib/memory-ostream.oo.c: New file.
1288         * Makefile.am (EXTRA_DIST): Add them.
1289
1290         * modules/iconv-ostream: New file.
1291         * lib/iconv-ostream.oo.h: New file.
1292         * lib/iconv-ostream.oo.c: New file.
1293         * Makefile.am (EXTRA_DIST): Add them.
1294
1295         * modules/html-ostream: New file.
1296         * lib/html-ostream.oo.h: New file.
1297         * lib/html-ostream.oo.c: New file.
1298         * Makefile.am (EXTRA_DIST): Add them.
1299
1300         * modules/file-ostream: New file.
1301         * lib/file-ostream.oo.h: New file.
1302         * lib/file-ostream.oo.c: New file.
1303         * Makefile.am (EXTRA_DIST): Add them.
1304
1305         * modules/fd-ostream: New file.
1306         * lib/fd-ostream.oo.h: New file.
1307         * lib/fd-ostream.oo.c: New file.
1308         * Makefile.am (EXTRA_DIST): Add them.
1309
1310         * modules/ostream: New file.
1311         * lib/ostream.oo.h: New file.
1312         * lib/ostream.oo.c: New file.
1313         * Makefile.am (EXTRA_DIST): Add them.
1314
1315         * modules/moo: New file.
1316         * build-aux/moopp: New file.
1317         * lib/moo.h: New file.
1318         * Makefile.am (EXTRA_DIST): Add them.
1319
1320 2006-11-06  Bruno Haible  <bruno@clisp.org>
1321
1322         * lib/xalloc.h (xcharalloc): New macro.
1323         (xmemdup): New declaration.
1324         * lib/xstrdup.c (xmemdup): New function.
1325
1326 2006-11-03  Bruno Haible  <bruno@clisp.org>
1327
1328         * lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): New macros.
1329         (xnboundedmalloc): New inline function.
1330         * lib/fstrcmp.c (fstrcmp): Use xnmalloc instead of xmalloc.
1331         * lib/hash.c (hash_init, resize): Use XCALLOC instead of xcalloc.
1332         * lib/propername.c (proper_name, proper_name_utf8): Use XNMALLOC
1333         instead of xmalloc.
1334         * lib/xgetcwd.c (xgetcwd): Use XNMALLOC instead of xmalloc.
1335         * lib/xstrdup.c (xstrdup): Likewise.
1336
1337 2006-11-06  Bruno Haible  <bruno@clisp.org>
1338
1339         * lib/getopt_.h.diff: Update.
1340
1341 2006-11-06  Bruno Haible  <bruno@clisp.org>
1342
1343         Moved canonicalize to gnulib.
1344         * modules/canonicalize: Remove file.
1345         * lib/canonicalize.h: Remove file.
1346         * lib/canonicalize.c: Remove file.
1347         * m4/canonicalize.m4: Remove file.
1348         * Makefile.am (EXTRA_DIST): Remove these files.
1349         * modules/progreloc (Depends-on): Replace 'canonicalize' with
1350         'canonicalize-lgpl'.
1351
1352 2006-11-06  Bruno Haible  <bruno@clisp.org>
1353
1354         * lib/canonicalize.h (canonicalize_file_name): Fix wrong comment
1355         borrowed from glibc.
1356
1357 2006-11-02  Bruno Haible  <bruno@clisp.org>
1358
1359         * lib/xalloc.h (xnmalloc): New declaration. From gnulib xalloc.h.
1360         * lib/xmalloc.c (fixup_null_alloc): Write NULL, not 0.
1361         (xnmalloc): New function.
1362
1363 2006-10-29  Bruno Haible  <bruno@clisp.org>
1364
1365         * lib/fstrcmp.h: Wrap declarations in extern "C".
1366
1367 2006-10-29  Bruno Haible  <bruno@clisp.org>
1368
1369         Make it compile in C++ mode.
1370         * lib/backupfile.c (find_backup_file_name): Cast malloc result.
1371         * lib/xalloc.h (xrealloc): Define as template with appropriate return
1372         type.
1373         * lib/xstrdup.c (xstrdup): Cast xmalloc result.
1374
1375 2006-11-27  Bruno Haible  <bruno@clisp.org>
1376
1377         * gettext-0.16.1 released.
1378
1379 2006-10-26  Bruno Haible  <bruno@clisp.org>
1380
1381         * gettext-0.16 released.
1382
1383 2006-10-26  Bruno Haible  <bruno@clisp.org>
1384
1385         * modules/canonicalize (Makefile.am): Remove EXTRA_DIST. Now done by
1386         gnulib-tool.
1387         * modules/relocatable (Makefile.am): Likewise.
1388         * modules/relocwrapper (Makefile.am): Likewise.
1389
1390 2006-10-25  Bruno Haible  <bruno@clisp.org>
1391
1392         * m4/relocatable.m4 (AC_RELOCATABLE_BODY): Renamed from AC_RELOCATABLE,
1393         without the AC_LIBOBJ invocation.
1394         (AC_RELOCATABLE): New macro. Invoke AC_LIBOBJ here.
1395         * modules/relocwrapper (configure.ac): Invoke AC_RELOCATABLE instead
1396         of requiring it.
1397         * modules/gettext-tools-libgettextpo-misc: New file.
1398         * Makefile.am (EXTRA_DIST): Add it.
1399
1400 2006-10-25  Bruno Haible  <bruno@clisp.org>
1401
1402         * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to
1403         false for non-gcc C++ compilers.
1404         Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
1405
1406 2006-10-24  Bruno Haible  <bruno@clisp.org>
1407
1408         * modules/gettext-tools-misc (Makefile.am): Add also $(top_srcdir) to
1409         AM_CPPFLAGS. Needed so that woe32dll/export.h is found while compiling
1410         gettextlib-exports.c in a VPATH build.
1411         Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
1412
1413 2006-10-24  Bruno Haible  <bruno@clisp.org>
1414
1415         * modules/gettext-tools/misc (Makefile.am): Use rm -f instead of
1416         $(RM).
1417
1418 2006-10-24  Bruno Haible  <bruno@clisp.org>
1419
1420         * lib/fstrcmp.c (keys_init_once): Remove semicolon after
1421         gl_once_define invocation.
1422
1423 2006-10-23  Bruno Haible  <bruno@clisp.org>
1424
1425         Moved last change to gnulib.
1426         * lib/obstack.h.diff: Undo last change.
1427         * lib/obstack.c.diff: Remove file.
1428         * Makefile.am (EXTRA_DIST): Remove it.
1429
1430 2006-10-20  Bruno Haible  <bruno@clisp.org>
1431
1432         * lib/obstack.h.diff: Use _obstack_free instead of obstack_free, but
1433         define _obstack_free to obstack_free by default.
1434         * lib/obstack.c.diff: New file.
1435         * Makefile.am (EXTRA_DIST): Add it.
1436
1437 2006-10-17  Bruno Haible  <bruno@clisp.org>
1438
1439         * lib/gettext.h (gettext, ngettext, pgettext, npgettext): Define
1440         differently if DEFAULT_TEXT_DOMAIN is set.
1441
1442 2006-10-16  Bruno Haible  <bruno@clisp.org>
1443
1444         Use newer modules from gnulib.
1445         * lib/getline.h: Remove file.
1446         * lib/getline.c: Remove file.
1447         * m4/getline.m4: Remove file.
1448         * modules/getline: Remove file.
1449         * lib/getndelim2.h: Remove file.
1450         * lib/getndelim2.c: Remove file.
1451         * m4/getndelim2.m4: Remove file.
1452         * modules/getndelim2: Remove file.
1453         * Makefile.am (EXTRA_DIST): Remove them.
1454
1455 2006-10-13  Bruno Haible  <bruno@clisp.org>
1456
1457         * modules/exitfail.diff: Update.
1458         * modules/quote.diff: Update.
1459         * modules/quotearg.diff: Update.
1460
1461 2006-10-12  Bruno Haible  <bruno@clisp.org>
1462
1463         * modules/exitfail: Update.
1464         * modules/quote: Update.
1465         * modules/quotearg: Update.
1466
1467 2006-10-12  Bruno Haible  <bruno@clisp.org>
1468
1469         * modules/canonicalize (Makefile.am): Distribute all files in lib/
1470         through EXTRA_DIST.
1471         * modules/getline (Makefile.am): Likewise.
1472         * modules/getndelim2 (Makefile.am): Likewise.
1473         * modules/relocatable (Makefile.am): Likewise.
1474
1475 2006-10-02  Bruno Haible  <bruno@clisp.org>
1476
1477         * modules/gettext-runtime-misc (Makefile.am): Add no-dependencies to
1478         AUTOMAKE_OPTIONS.
1479         * modules/gettext-tools-misc (Makefile.am): Likewise.
1480
1481 2006-09-29  Bruno Haible  <bruno@clisp.org>
1482
1483         * lib/closeout.c (close_stdout_status): Remove function.
1484         (close_stdout): Inline it. Call fwriteerror_no_ebadf instead of
1485         fwriteerror. Also close stderr.
1486
1487 2006-09-14  Bruno Haible  <bruno@clisp.org>
1488
1489         * lib/addext.c: Include <config.h> unconditionally.
1490         * lib/backupfile.c: Likewise.
1491         * lib/basename.c: Likewise.
1492         * lib/canonicalize.c: Likewise.
1493         * lib/closeout.c: Likewise.
1494         * lib/error-progname.c: Likewise.
1495         * lib/fstrcmp.c: Likewise.
1496         * lib/getline.c: Likewise.
1497         * lib/getndelim2.c: Likewise.
1498         * lib/hash.c: Likewise.
1499         * lib/propername.c: Likewise.
1500         * lib/relocatable.c: Likewise.
1501         * lib/relocwrapper.c: Likewise.
1502         * lib/vasprintf.c: Likewise.
1503         * lib/xerror.c: Likewise.
1504         * lib/xgetcwd.c: Likewise.
1505         * lib/xmalloc.c: Likewise.
1506         * lib/xreadlink.c: Likewise.
1507         * lib/xstrdup.c: Likewise.
1508
1509 2006-09-09  Bruno Haible  <bruno@clisp.org>
1510
1511         * modules/gettext-tools-misc (Makefile.am): Augment lib_LDFLAGS
1512         instead of setting it.
1513
1514 2006-09-06  Bruno Haible  <bruno@clisp.org>
1515
1516         * modules/iconvstring: Remove file.
1517         * lib/iconvstring.h: Remove file.
1518         * lib/iconvstring.c: Remove file.
1519         * Makefile.am (EXTRA_DIST): Remove modules/iconvstring,
1520         lib/iconvstring.h, lib/iconvstring.c.
1521
1522         * lib/propername.c: Include xstriconv.h instead of iconvstring.h.
1523         (convert_name): Remove function.
1524         (proper_name_utf8): Use xstr_iconv instead of convert_name.
1525         * modules/propername: Depend on xstriconv instead of iconvstring.
1526
1527 2006-08-30  Bruno Haible  <bruno@clisp.org>
1528
1529         * lib/xerror.h: Don't include error.h.
1530         * lib/xerror.c: Include error.h here.
1531
1532 2006-08-28  Bruno Haible  <bruno@clisp.org>
1533
1534         * modules/c-strstr: Remove file, now in gnulib.
1535         * lib/c-strstr.h: Remove file, now in gnulib.
1536         * lib/c-strstr.c: Remove file, now in gnulib.
1537         * Makefile.am (EXTRA_DIST): Remove them.
1538
1539 2006-08-22  Bruno Haible  <bruno@clisp.org>
1540
1541         * modules/pathmax.diff: Remove file.
1542         * modules/unlocked-io.diff: Remove file.
1543         * modules/exitfail.diff: Update.
1544         * modules/quote.diff: Update.
1545         * modules/quotearg.diff: Update.
1546         * m4/pathmax.m4.diff: Remove file.
1547         * m4/strdup.m4.diff: Remove file.
1548         * m4/unlocked-io.m4.diff: Remove file.
1549         * m4/exitfail.m4.diff: Update.
1550         * m4/hard-locale.m4.diff: Update.
1551         * m4/quote.m4.diff: Update.
1552         * m4/quotearg.m4.diff: Update.
1553         * Makefile.am (EXTRA_DIST): Remove the removed files.
1554
1555 2006-08-22  Bruno Haible  <bruno@clisp.org>
1556
1557         * modules/gettext-tools-misc (Makefile.am): New variable
1558         lib_LTLIBRARIES.
1559
1560 2006-08-18  Bruno Haible  <bruno@clisp.org>
1561
1562         * modules/bison-i18n: Remove file. Now taken from gnulib.
1563         * m4/bison-i18n.m4: Remove file. Now taken from gnulib.
1564         * Makefile.am (EXTRA_DIST): Remove them.
1565
1566 2006-08-16  Bruno Haible  <bruno@clisp.org>
1567
1568         * modules/gettext-tools-misc (Files): Remove m4/restrict.m4, no longer
1569         in gnulib.
1570
1571 2006-07-31  Bruno Haible  <bruno@clisp.org>
1572
1573         * lib/propername.c: Remove temporary hack.
1574
1575 2006-07-31  Bruno Haible  <bruno@clisp.org>
1576
1577         * modules/gettext-runtime-misc: New file.
1578         * Makefile.am (EXTRA_DIST): Add it.
1579
1580 2006-08-02  Bruno Haible  <bruno@clisp.org>
1581
1582         * Makefile.am: New file.
1583
1584 2006-07-30  Bruno Haible  <bruno@clisp.org>
1585
1586         * lib/argmatch.h.diff: New file.
1587         * lib/error.h.diff: New file.
1588         * lib/exitfail.h.diff: New file.
1589         * lib/fnmatch.c.diff: New file.
1590         * lib/fnmatch_loop.c.diff: New file.
1591         * lib/getopt_.h.diff: New file.
1592         * lib/javacomp.c.diff: New file.
1593         * lib/linebreak.c.diff: New file.
1594         * lib/obstack.h.diff: New file.
1595         * lib/progname.h.diff: New file.
1596         * lib/strerror.c.diff: New file.
1597         * m4/exitfail.m4.diff: New file.
1598         * m4/hard-locale.m4.diff: New file.
1599         * m4/pathmax.m4.diff: New file.
1600         * m4/quote.m4.diff: New file.
1601         * m4/quotearg.m4.diff: New file.
1602         * m4/strdup.m4.diff: New file.
1603         * m4/unlocked-io.m4.diff: New file.
1604         * m4/vasprintf.m4: New file.
1605         * modules/backupfile: New file.
1606         * modules/basename: New file.
1607         * modules/bison-i18n: New file.
1608         * modules/c-strstr: New file.
1609         * modules/canonicalize: New file.
1610         * modules/closeout: New file.
1611         * modules/error-progname: New file.
1612         * modules/exitfail.diff: New file.
1613         * modules/fnmatch.diff: New file.
1614         * modules/fstrcmp: New file.
1615         * modules/gcj: New file.
1616         * modules/gen-lbrkprop: New file.
1617         * modules/getline: New file.
1618         * modules/getndelim2: New file.
1619         * modules/gettext-tools-misc: New file.
1620         * modules/hash: New file.
1621         * modules/iconvstring: New file.
1622         * modules/java: New file.
1623         * modules/javacomp.diff: New file.
1624         * modules/pathmax.diff: New file.
1625         * modules/progreloc: New file.
1626         * modules/propername: New file.
1627         * modules/quote.diff: New file.
1628         * modules/quotearg.diff: New file.
1629         * modules/relocatable: New file.
1630         * modules/relocwrapper: New file.
1631         * modules/unlocked-io.diff: New file.
1632         * modules/vasprintf.diff: New file.
1633         * modules/wait-process.diff: New file.
1634         * modules/xalloc: New file.
1635         * modules/xalloc-die: New file.
1636         * modules/xerror: New file.
1637         * modules/xgetcwd: New file.
1638         * modules/xreadlink: New file.
1639