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