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