2006-12-13 Bruno Haible Avoid crash on NetBSD. * lib/term-ostream.oo.c (term_ostream_create): Pass a non-NULL area pointer to tgetstr. 2006-12-13 Bruno Haible * lib/tparm.c: New file, based on a public-domain implementation part of Cygwin. * m4/termcap.m4 (gl_TERMCAP): AC_LIBOBJ of tparm.c if needed. (gl_TERMCAP_BODY): Test whether the system has tparm(). * modules/termcap (Files): Add lib/tparm.c. (Depends-on): Add c-ctype. 2006-12-13 Bruno Haible * modules/termcap-h (Include): Add termcap.h. 2006-12-13 Bruno Haible * build-aux/moopp (sed_remove_comments): Fix handling of character constants. Example: '"' /* comment */ '"' (sed_remove_comments_ERE): New variable. 2006-12-13 Bruno Haible * modules/ostream (Makefile.am): List all generated files in the moopp rule. * modules/fd-ostream (Makefile.am): Likewise. * modules/file-ostream (Makefile.am): Likewise. * modules/html-ostream (Makefile.am): Likewise. * modules/iconv-ostream (Makefile.am): Likewise. * modules/memory-ostream (Makefile.am): Likewise. * modules/term-ostream (Makefile.am): Likewise. * modules/styled-ostream (Makefile.am): Likewise. * modules/html-styled-ostream (Makefile.am): Likewise. * modules/term-styled-ostream (Makefile.am): Likewise. 2006-12-12 Bruno Haible Fix moopp rules for parallel make. * build-aux/moopp: Generate source.h first and source.c last. * modules/ostream (Makefile.am): Rewrite the moopp rule so that all generated files depend on the generated .h file. * modules/fd-ostream (Makefile.am): Likewise. * modules/file-ostream (Makefile.am): Likewise. * modules/html-ostream (Makefile.am): Likewise. * modules/iconv-ostream (Makefile.am): Likewise. * modules/memory-ostream (Makefile.am): Likewise. * modules/term-ostream (Makefile.am): Likewise. * modules/styled-ostream (Makefile.am): Likewise. * modules/html-styled-ostream (Makefile.am): Likewise. * modules/term-styled-ostream (Makefile.am): Likewise. Reported by Ralf Wildenhues. 2006-12-12 Bruno Haible * build-aux/moopp (func_emit_priv_h, func_emit_vt_h, func_emit_source_h, func_emit_source_c): New functions. 2006-12-02 Bruno Haible Support 'text-decoration: underline' in terminal mode. * lib/term-styled-ostream.oo.c: Include cr-string.h. (enum CRXTextDecorationType): New type. (CRXStyle): New type. (crx_style_new, crx_style_destroy, crx_sel_eng_get_matched_style): New functions. (style_compute_text_underline_value): Take a CRXStyle as argument. (match): Build a chain of CRXStyle instead of CRStyle. 2006-12-01 Bruno Haible * modules/term-styled-ostream: New file. * lib/term-styled-ostream.oo.c: New file. * lib/term-styled-ostream.oo.h: New file. * Makefile.am (EXTRA_DIST): Add the new files. 2006-12-01 Bruno Haible * modules/html-styled-ostream: New file. * lib/html-styled-ostream.oo.c: New file. * lib/html-styled-ostream.oo.h: New file. * Makefile.am (EXTRA_DIST): Add the new files. 2006-12-01 Bruno Haible * modules/styled-ostream: New file. * lib/styled-ostream.oo.c: New file. * lib/styled-ostream.oo.h: New file. * Makefile.am (EXTRA_DIST): Add the new files. 2006-12-11 Bruno Haible Portability to BeOS. * lib/term-ostream.oo.c (term_ostream_create) [BeOS]: Correct the values of stream->set_a_foreground and stream->set_a_background. 2006-12-11 Bruno Haible Portability to systems with GNU termcap. * m4/termcap.m4 (gl_TERMCAP_BODY): Also test for the tparam function. * lib/termcap.h (tparam): New declaration. * lib/term-ostream.oo.c (tparambuf): New variable. (tparm): Define in terms of tparam when tparam exists. 2006-12-01 Bruno Haible * modules/term-ostream: Depend on termcap-h, not termcap. * lib/term-ostream.oo.c: Include termcap.h. (tgetent, tgetnum, tgetflag, tgetstr, tparm, tgoto, tputs): Remove declarations. Move termcap function declarations to a header file. * modules/termcap-h: New file. * lib/termcap.h: New file. * Makefile.am (EXTRA_DIST): Add the new files. 2006-12-01 Bruno Haible * modules/moo-tests: New file. * tests/test-moo-aroot.oo.c: New file. * tests/test-moo-aroot.oo.h: New file. * tests/test-moo-assign.c: New file. * tests/test-moo-asub1.oo.c: New file. * tests/test-moo-asub1.oo.h: New file. * tests/test-moo-root.oo.c: New file. * tests/test-moo-root.oo.h: New file. * tests/test-moo-sub1.oo.c: New file. * tests/test-moo-sub1.oo.h: New file. * tests/test-moo-sub2.oo.c: New file. * tests/test-moo-sub2.oo.h: New file. * Makefile.am (EXTRA_DIST): Add the new files. 2006-12-01 Bruno Haible * modules/term-ostream-tests: New file. * tests/test-term-ostream.c: New file. * tests/test-term-ostream-xterm: New file. * tests/test-term-ostream-xterm.out: New file. * tests/test-term-ostream-xterm-16color.out: New file. * tests/test-term-ostream-xterm-88color.out: New file. * tests/test-term-ostream-xterm-256color.out: New file. * Makefile.am (EXTRA_DIST): Add the new files. 2006-12-02 Bruno Haible * lib/term-ostream.oo.c (term_ostream_create): Recognize also the terminal types rxvt[-16color] and konsole[-16color]. 2006-12-01 Bruno Haible Preserve the hue of bright colors. * lib/term-ostream.oo.c (colors_of_common8): New variable. (rgb_to_color_common8): Rewritten. (colors_of_xterm8): New variable. (rgb_to_color_xterm8): Rewritten. 2006-12-01 Bruno Haible * lib/term-ostream.oo.c (out_attr_change): Fix typo. 2006-11-30 Bruno Haible Add special color support for xterm-16color, xterm-88color, xterm-256color. * lib/term-ostream.oo.h (term_color_t): Define as int. (COLOR_BLACK, COLOR_BLUE, COLOR_GREEN, COLOR_CYAN, COLOR_RED, COLOR_MAGENTA, COLOR_YELLOW, COLOR_WHITE): Remove enum items. (term_ostream): Add method rgb_to_color. * lib/term-ostream.oo.c (rgb_t, hsv_t): New types. (rgb_to_hsv, color_distance, nearest_color, color_luminance): New functions. (colormodel_t): New type. (rgb_to_color_monochrome): New function. (rgb_to_color_common8): New function. (rgb_to_color_xterm8): New function. (colors_of_xterm16): New variable. (rgb_to_color_xterm16): New function. (colors_of_xterm88): New variable. (rgb_to_color_xterm88): New function. (colors_of_xterm256): New variable. (rgb_to_color_xterm256): New function. (attributes_t): Reserve more bits for the colors. (term_ostream): Add colormodel field. (out_error): New function. (out_char): Use it. (out_attr_change): Add support for the xterm color models. (term_ostream::rgb_to_color): New function. (term_ostream_create): Initialize the colormodel field. 2006-11-28 Bruno Haible * lib/term-ostream.oo.c (out_attr_change): Fix uses of color_bgr. 2006-11-28 Bruno Haible Guard against interruption with Ctrl-Z. * lib/term-ostream.oo.c: Include also signal.h and sigprocmask.h. (SIZEOF): New macro. (stopping_signals): New variable. (num_stopping_signals): New macro. (stopping_signal_set): New variable. (init_stopping_signal_set): New function. (block_stopping_signals, unblock_stopping_signals): New functions. (output_buffer): Use them. * modules/term-ostream (Depends-on): Add sigprocmask. 2006-11-28 Bruno Haible * lib/libcroco/cr-fonts.h: Fix double-inclusion guard. 2006-11-27 Paul Eggert Bruno Haible * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to 0 if compiling with "gcc -ansi". 2006-11-26 Bruno Haible Build the imported libraries with a C compiler, even when CC=g++. * modules/libcroco (Depends-on): Add no-c++. (Makefile.am): Define libcroco_rpl_la_SOURCES, libcroco_rpl_la_CPPFLAGS. Augment lib_LIBADD, lib_DEPENDENCIES, noinst_LTLIBRARIES. * m4/libcroco.m4 (gl_LIBCROCO): Don't use AC_LIBOBJ. * modules/libglib (Depends-on): Add no-c++. (Makefile.am): Define libglib_rpl_la_SOURCES, libglib_rpl_la_CPPFLAGS. Augment lib_LIBADD, lib_DEPENDENCIES, noinst_LTLIBRARIES. * m4/libglib.m4 (gl_LIBGLIB): Don't use AC_LIBOBJ. New condition INCLUDED_LIBGLIB. * modules/libxml (Depends-on): Add no-c++. (Makefile.am): Define libxml_rpl_la_SOURCES, libxml_rpl_la_CPPFLAGS. Augment lib_LIBADD, lib_DEPENDENCIES, noinst_LTLIBRARIES. * m4/libxml.m4 (gl_LIBXML): Don't use AC_LIBOBJ. New condition INCLUDED_LIBXML. 2006-11-26 Bruno Haible libcroco uses vasprintf.h, which requires . * lib/libcroco/cr-additional-sel.c: Include . * lib/libcroco/cr-attr-sel.c: Likewise. * lib/libcroco/cr-cascade.c: Likewise. * lib/libcroco/cr-declaration.c: Likewise. * lib/libcroco/cr-doc-handler.c: Likewise. * lib/libcroco/cr-enc-handler.c: Likewise. * lib/libcroco/cr-fonts.c: Likewise. * lib/libcroco/cr-input.c: Likewise. * lib/libcroco/cr-num.c: Likewise. * lib/libcroco/cr-om-parser.c: Likewise. * lib/libcroco/cr-parser.c: Likewise. * lib/libcroco/cr-parsing-location.c: Likewise. * lib/libcroco/cr-prop-list.c: Likewise. * lib/libcroco/cr-pseudo.c: Likewise. * lib/libcroco/cr-rgb.c: Likewise. * lib/libcroco/cr-sel-eng.c: Likewise. * lib/libcroco/cr-selector.c: Likewise. * lib/libcroco/cr-simple-sel.c: Likewise. * lib/libcroco/cr-statement.c: Likewise. * lib/libcroco/cr-string.c: Likewise. * lib/libcroco/cr-style.c: Likewise. * lib/libcroco/cr-stylesheet.c: Likewise. * lib/libcroco/cr-term.c: Likewise. * lib/libcroco/cr-tknzr.c: Likewise. * lib/libcroco/cr-token.c: Likewise. * lib/libcroco/cr-utils.c: Likewise. 2006-11-26 Bruno Haible * modules/no-c++: New file. * m4/no-c++.m4: New file. * Makefile.am (EXTRA_DIST): Add them. 2006-11-26 Bruno Haible Support for VPATH builds. * modules/libglib (glib/*.h): Create the glib directory if necessary. * modules/libxml (libxml/*.h): Create the libxml directory if necessary. 2006-11-26 Bruno Haible * lib/xalloc.h (xmemdup): Add a typesafe C++ template variant. Based on a patch from Paul Eggert in gnulib. 2006-11-26 Bruno Haible Optimize IS_INSTANCE. * build-aux/moopp: Emit also a classname_SUPERCLASSES_LENGTH macro. * lib/moo.h (IS_INSTANCE): Use the value of this macro, known at compile time. (IS_INSTANCE_PRIVATE): Remove macro. 2006-11-26 Bruno Haible * lib/moo.h (IS_INSTANCE): Fix reference to vtable. 2006-11-26 Bruno Haible * build-aux/moopp: In the C++ class definition, add 'operator ==', 'operator !=' members, and add constructors for downcasting. 2006-11-25 Bruno Haible * lib/glibconfig_.h (g_return_if_fail, g_return_val_if_fail, g_return_if_reached, g_return_val_if_reached): Return instead of calling abort(). 2006-11-12 Bruno Haible * modules/libcroco: New file. * m4/libcroco.m4: New file. * lib/libcroco/cr-additional-sel.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-additional-sel.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-attr-sel.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-attr-sel.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-cascade.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-cascade.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-declaration.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-declaration.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-doc-handler.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-doc-handler.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-enc-handler.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-enc-handler.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-fonts.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-fonts.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-input.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-input.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-num.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-num.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-om-parser.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-om-parser.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-parser.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-parser.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-parsing-location.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-parsing-location.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-prop-list.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-prop-list.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-pseudo.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-pseudo.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-rgb.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-rgb.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-sel-eng.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-sel-eng.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-selector.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-selector.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-simple-sel.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-simple-sel.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-statement.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-statement.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-string.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-string.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-style.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-style.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-stylesheet.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-stylesheet.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-term.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-term.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-tknzr.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-tknzr.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-token.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-token.h: New file, from libcroco-0.6.1. * lib/libcroco/cr-utils.c: New file, from libcroco-0.6.1. * lib/libcroco/cr-utils.h: New file, from libcroco-0.6.1. * lib/libcroco/libcroco-config.h: New file, from libcroco-0.6.1. * lib/libcroco/libcroco.h: New file, from libcroco-0.6.1. * Makefile.am (EXTRA_DIST): Add the new files. 2006-11-12 Bruno Haible * modules/libglib: New file. * m4/libglib.m4: New file. * lib/glib_.h: New file, from glib-2.12.4 with modifications. * lib/glibconfig_.h: New file, based on glib-2.12.4. * lib/glib/ghash.c: New file, from glib-2.12.4 with modifications. * lib/glib/ghash_.h: New file, from glib-2.12.4 with modifications. * lib/glib/glist.c: New file, from glib-2.12.4 with modifications. * lib/glib/glist_.h: New file, from glib-2.12.4 with modifications. * lib/glib/gmessages.c: New file. * lib/glib/gprimes.c: New file, from glib-2.12.4 with modifications. * lib/glib/gprimes_.h: New file, from glib-2.12.4 with modifications. * lib/glib/gstrfuncs.c: New file, from glib-2.12.4 with modifications. * lib/glib/gstrfuncs_.h: New file, from glib-2.12.4 with modifications. * lib/glib/gstring.c: New file, from glib-2.12.4 with modifications. * lib/glib/gstring_.h: New file, from glib-2.12.4 with modifications. * lib/glib/gtypes_.h: New file, from glib-2.12.4 with modifications. * Makefile.am (EXTRA_DIST): Add the new files. 2006-11-12 Bruno Haible * modules/xalloc (Depends-on): Add error, gettext-h, exit. 2006-11-09 Paul Eggert * lib/gettext.h (dgettext, dcgettext, ngettext) [! ENABLE_NLS]: (dngettext, dcngettext, bindtextdomain) [! ENABLE_NLS]: (bind_textdomain_codeset) [! ENABLE_NLS]: Evaluate all the arguments. That way, callers get compatible behavior if the arguments have side effects. Also, it avoids some GCC diagnostics in some cases; Joel E. Denny reported problems when Bison was configured with --enable-gcc-warnigs. 2006-11-05 Bruno Haible Include libxml2 as a fallback. * modules/libxml: New file. * m4/libxml.m4: New file. * lib/libxml/elfgcchack.h: New empty file. * lib/libxml/xmlversion_.h: New file, from libxml2-2.6.27 with modifications. * lib/libxml/libxml.h: New file, from libxml2-2.6.27. * lib/libxml/COPYING: New file, from libxml2-2.6.27. * lib/libxml/DOCBparser.c: New file, from libxml2-2.6.27. * lib/libxml/DOCBparser_.h: New file, from libxml2-2.6.27. * lib/libxml/HTMLparser.c: New file, from libxml2-2.6.27. * lib/libxml/HTMLparser_.h: New file, from libxml2-2.6.27. * lib/libxml/HTMLtree.c: New file, from libxml2-2.6.27. * lib/libxml/HTMLtree_.h: New file, from libxml2-2.6.27. * lib/libxml/SAX.c: New file, from libxml2-2.6.27. * lib/libxml/SAX2.c: New file, from libxml2-2.6.27. * lib/libxml/SAX2_.h: New file, from libxml2-2.6.27. * lib/libxml/SAX_.h: New file, from libxml2-2.6.27. * lib/libxml/c14n.c: New file, from libxml2-2.6.27. * lib/libxml/c14n_.h: New file, from libxml2-2.6.27. * lib/libxml/catalog.c: New file, from libxml2-2.6.27. * lib/libxml/catalog_.h: New file, from libxml2-2.6.27. * lib/libxml/chvalid.c: New file, from libxml2-2.6.27. * lib/libxml/chvalid_.h: New file, from libxml2-2.6.27. * lib/libxml/debugXML.c: New file, from libxml2-2.6.27. * lib/libxml/debugXML_.h: New file, from libxml2-2.6.27. * lib/libxml/dict.c: New file, from libxml2-2.6.27. * lib/libxml/dict_.h: New file, from libxml2-2.6.27. * lib/libxml/encoding.c: New file, from libxml2-2.6.27. * lib/libxml/encoding_.h: New file, from libxml2-2.6.27. * lib/libxml/entities.c: New file, from libxml2-2.6.27. * lib/libxml/entities_.h: New file, from libxml2-2.6.27. * lib/libxml/error.c: New file, from libxml2-2.6.27. * lib/libxml/globals.c: New file, from libxml2-2.6.27. * lib/libxml/globals_.h: New file, from libxml2-2.6.27. * lib/libxml/hash.c: New file, from libxml2-2.6.27. * lib/libxml/hash_.h: New file, from libxml2-2.6.27. * lib/libxml/legacy.c: New file, from libxml2-2.6.27. * lib/libxml/list.c: New file, from libxml2-2.6.27. * lib/libxml/list_.h: New file, from libxml2-2.6.27. * lib/libxml/nanoftp.c: New file, from libxml2-2.6.27. * lib/libxml/nanoftp_.h: New file, from libxml2-2.6.27. * lib/libxml/nanohttp.c: New file, from libxml2-2.6.27. * lib/libxml/nanohttp_.h: New file, from libxml2-2.6.27. * lib/libxml/parser.c: New file, from libxml2-2.6.27. * lib/libxml/parserInternals.c: New file, from libxml2-2.6.27. * lib/libxml/parserInternals_.h: New file, from libxml2-2.6.27. * lib/libxml/parser_.h: New file, from libxml2-2.6.27. * lib/libxml/pattern.c: New file, from libxml2-2.6.27. * lib/libxml/pattern_.h: New file, from libxml2-2.6.27. * lib/libxml/relaxng.c: New file, from libxml2-2.6.27. * lib/libxml/relaxng_.h: New file, from libxml2-2.6.27. * lib/libxml/schemasInternals_.h: New file, from libxml2-2.6.27. * lib/libxml/schematron.c: New file, from libxml2-2.6.27. * lib/libxml/schematron_.h: New file, from libxml2-2.6.27. * lib/libxml/threads.c: New file, from libxml2-2.6.27. * lib/libxml/threads_.h: New file, from libxml2-2.6.27. * lib/libxml/tree.c: New file, from libxml2-2.6.27. * lib/libxml/tree_.h: New file, from libxml2-2.6.27. * lib/libxml/uri.c: New file, from libxml2-2.6.27. * lib/libxml/uri_.h: New file, from libxml2-2.6.27. * lib/libxml/valid.c: New file, from libxml2-2.6.27. * lib/libxml/valid_.h: New file, from libxml2-2.6.27. * lib/libxml/xinclude.c: New file, from libxml2-2.6.27. * lib/libxml/xinclude_.h: New file, from libxml2-2.6.27. * lib/libxml/xlink.c: New file, from libxml2-2.6.27. * lib/libxml/xlink_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlIO.c: New file, from libxml2-2.6.27. * lib/libxml/xmlIO_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlautomata_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlerror_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlexports_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlmemory.c: New file, from libxml2-2.6.27. * lib/libxml/xmlmemory_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlmodule.c: New file, from libxml2-2.6.27. * lib/libxml/xmlmodule_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlreader.c: New file, from libxml2-2.6.27. * lib/libxml/xmlreader_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlregexp.c: New file, from libxml2-2.6.27. * lib/libxml/xmlregexp_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlsave.c: New file, from libxml2-2.6.27. * lib/libxml/xmlsave_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlschemas.c: New file, from libxml2-2.6.27. * lib/libxml/xmlschemas_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlschemastypes.c: New file, from libxml2-2.6.27. * lib/libxml/xmlschemastypes_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlstring.c: New file, from libxml2-2.6.27. * lib/libxml/xmlstring_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlunicode.c: New file, from libxml2-2.6.27. * lib/libxml/xmlunicode_.h: New file, from libxml2-2.6.27. * lib/libxml/xmlwriter.c: New file, from libxml2-2.6.27. * lib/libxml/xmlwriter_.h: New file, from libxml2-2.6.27. * lib/libxml/xpath.c: New file, from libxml2-2.6.27. * lib/libxml/xpathInternals_.h: New file, from libxml2-2.6.27. * lib/libxml/xpath_.h: New file, from libxml2-2.6.27. * lib/libxml/xpointer.c: New file, from libxml2-2.6.27. * lib/libxml/xpointer_.h: New file, from libxml2-2.6.27. * Makefile.am (EXTRA_DIST): Add the new files. 2006-11-05 Bruno Haible * modules/term-ostream: New file. * m4/term-ostream.m4: New file. * lib/term-ostream.oo.h: New file. * lib/term-ostream.oo.c: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/termcap: New file. * m4/termcap.m4: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/memory-ostream: New file. * lib/memory-ostream.oo.h: New file. * lib/memory-ostream.oo.c: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/iconv-ostream: New file. * lib/iconv-ostream.oo.h: New file. * lib/iconv-ostream.oo.c: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/html-ostream: New file. * lib/html-ostream.oo.h: New file. * lib/html-ostream.oo.c: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/file-ostream: New file. * lib/file-ostream.oo.h: New file. * lib/file-ostream.oo.c: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/fd-ostream: New file. * lib/fd-ostream.oo.h: New file. * lib/fd-ostream.oo.c: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/ostream: New file. * lib/ostream.oo.h: New file. * lib/ostream.oo.c: New file. * Makefile.am (EXTRA_DIST): Add them. * modules/moo: New file. * build-aux/moopp: New file. * lib/moo.h: New file. * Makefile.am (EXTRA_DIST): Add them. 2006-11-06 Bruno Haible * lib/xalloc.h (xcharalloc): New macro. (xmemdup): New declaration. * lib/xstrdup.c (xmemdup): New function. 2006-11-03 Bruno Haible * lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): New macros. (xnboundedmalloc): New inline function. * lib/fstrcmp.c (fstrcmp): Use xnmalloc instead of xmalloc. * lib/hash.c (hash_init, resize): Use XCALLOC instead of xcalloc. * lib/propername.c (proper_name, proper_name_utf8): Use XNMALLOC instead of xmalloc. * lib/xgetcwd.c (xgetcwd): Use XNMALLOC instead of xmalloc. * lib/xstrdup.c (xstrdup): Likewise. 2006-11-06 Bruno Haible * lib/getopt_.h.diff: Update. 2006-11-06 Bruno Haible Moved canonicalize to gnulib. * modules/canonicalize: Remove file. * lib/canonicalize.h: Remove file. * lib/canonicalize.c: Remove file. * m4/canonicalize.m4: Remove file. * Makefile.am (EXTRA_DIST): Remove these files. * modules/progreloc (Depends-on): Replace 'canonicalize' with 'canonicalize-lgpl'. 2006-11-06 Bruno Haible * lib/canonicalize.h (canonicalize_file_name): Fix wrong comment borrowed from glibc. 2006-11-02 Bruno Haible * lib/xalloc.h (xnmalloc): New declaration. From gnulib xalloc.h. * lib/xmalloc.c (fixup_null_alloc): Write NULL, not 0. (xnmalloc): New function. 2006-10-29 Bruno Haible * lib/fstrcmp.h: Wrap declarations in extern "C". 2006-10-29 Bruno Haible Make it compile in C++ mode. * lib/backupfile.c (find_backup_file_name): Cast malloc result. * lib/xalloc.h (xrealloc): Define as template with appropriate return type. * lib/xstrdup.c (xstrdup): Cast xmalloc result. 2006-11-27 Bruno Haible * gettext-0.16.1 released. 2006-10-26 Bruno Haible * gettext-0.16 released. 2006-10-26 Bruno Haible * modules/canonicalize (Makefile.am): Remove EXTRA_DIST. Now done by gnulib-tool. * modules/relocatable (Makefile.am): Likewise. * modules/relocwrapper (Makefile.am): Likewise. 2006-10-25 Bruno Haible * m4/relocatable.m4 (AC_RELOCATABLE_BODY): Renamed from AC_RELOCATABLE, without the AC_LIBOBJ invocation. (AC_RELOCATABLE): New macro. Invoke AC_LIBOBJ here. * modules/relocwrapper (configure.ac): Invoke AC_RELOCATABLE instead of requiring it. * modules/gettext-tools-libgettextpo-misc: New file. * Makefile.am (EXTRA_DIST): Add it. 2006-10-25 Bruno Haible * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to false for non-gcc C++ compilers. Reported by Nelson H. F. Beebe . 2006-10-24 Bruno Haible * modules/gettext-tools-misc (Makefile.am): Add also $(top_srcdir) to AM_CPPFLAGS. Needed so that woe32dll/export.h is found while compiling gettextlib-exports.c in a VPATH build. Reported by Charles Wilson . 2006-10-24 Bruno Haible * modules/gettext-tools/misc (Makefile.am): Use rm -f instead of $(RM). 2006-10-24 Bruno Haible * lib/fstrcmp.c (keys_init_once): Remove semicolon after gl_once_define invocation. 2006-10-23 Bruno Haible Moved last change to gnulib. * lib/obstack.h.diff: Undo last change. * lib/obstack.c.diff: Remove file. * Makefile.am (EXTRA_DIST): Remove it. 2006-10-20 Bruno Haible * lib/obstack.h.diff: Use _obstack_free instead of obstack_free, but define _obstack_free to obstack_free by default. * lib/obstack.c.diff: New file. * Makefile.am (EXTRA_DIST): Add it. 2006-10-17 Bruno Haible * lib/gettext.h (gettext, ngettext, pgettext, npgettext): Define differently if DEFAULT_TEXT_DOMAIN is set. 2006-10-16 Bruno Haible Use newer modules from gnulib. * lib/getline.h: Remove file. * lib/getline.c: Remove file. * m4/getline.m4: Remove file. * modules/getline: Remove file. * lib/getndelim2.h: Remove file. * lib/getndelim2.c: Remove file. * m4/getndelim2.m4: Remove file. * modules/getndelim2: Remove file. * Makefile.am (EXTRA_DIST): Remove them. 2006-10-13 Bruno Haible * modules/exitfail.diff: Update. * modules/quote.diff: Update. * modules/quotearg.diff: Update. 2006-10-12 Bruno Haible * modules/exitfail: Update. * modules/quote: Update. * modules/quotearg: Update. 2006-10-12 Bruno Haible * modules/canonicalize (Makefile.am): Distribute all files in lib/ through EXTRA_DIST. * modules/getline (Makefile.am): Likewise. * modules/getndelim2 (Makefile.am): Likewise. * modules/relocatable (Makefile.am): Likewise. 2006-10-02 Bruno Haible * modules/gettext-runtime-misc (Makefile.am): Add no-dependencies to AUTOMAKE_OPTIONS. * modules/gettext-tools-misc (Makefile.am): Likewise. 2006-09-29 Bruno Haible * lib/closeout.c (close_stdout_status): Remove function. (close_stdout): Inline it. Call fwriteerror_no_ebadf instead of fwriteerror. Also close stderr. 2006-09-14 Bruno Haible * lib/addext.c: Include unconditionally. * lib/backupfile.c: Likewise. * lib/basename.c: Likewise. * lib/canonicalize.c: Likewise. * lib/closeout.c: Likewise. * lib/error-progname.c: Likewise. * lib/fstrcmp.c: Likewise. * lib/getline.c: Likewise. * lib/getndelim2.c: Likewise. * lib/hash.c: Likewise. * lib/propername.c: Likewise. * lib/relocatable.c: Likewise. * lib/relocwrapper.c: Likewise. * lib/vasprintf.c: Likewise. * lib/xerror.c: Likewise. * lib/xgetcwd.c: Likewise. * lib/xmalloc.c: Likewise. * lib/xreadlink.c: Likewise. * lib/xstrdup.c: Likewise. 2006-09-09 Bruno Haible * modules/gettext-tools-misc (Makefile.am): Augment lib_LDFLAGS instead of setting it. 2006-09-06 Bruno Haible * modules/iconvstring: Remove file. * lib/iconvstring.h: Remove file. * lib/iconvstring.c: Remove file. * Makefile.am (EXTRA_DIST): Remove modules/iconvstring, lib/iconvstring.h, lib/iconvstring.c. * lib/propername.c: Include xstriconv.h instead of iconvstring.h. (convert_name): Remove function. (proper_name_utf8): Use xstr_iconv instead of convert_name. * modules/propername: Depend on xstriconv instead of iconvstring. 2006-08-30 Bruno Haible * lib/xerror.h: Don't include error.h. * lib/xerror.c: Include error.h here. 2006-08-28 Bruno Haible * modules/c-strstr: Remove file, now in gnulib. * lib/c-strstr.h: Remove file, now in gnulib. * lib/c-strstr.c: Remove file, now in gnulib. * Makefile.am (EXTRA_DIST): Remove them. 2006-08-22 Bruno Haible * modules/pathmax.diff: Remove file. * modules/unlocked-io.diff: Remove file. * modules/exitfail.diff: Update. * modules/quote.diff: Update. * modules/quotearg.diff: Update. * m4/pathmax.m4.diff: Remove file. * m4/strdup.m4.diff: Remove file. * m4/unlocked-io.m4.diff: Remove file. * m4/exitfail.m4.diff: Update. * m4/hard-locale.m4.diff: Update. * m4/quote.m4.diff: Update. * m4/quotearg.m4.diff: Update. * Makefile.am (EXTRA_DIST): Remove the removed files. 2006-08-22 Bruno Haible * modules/gettext-tools-misc (Makefile.am): New variable lib_LTLIBRARIES. 2006-08-18 Bruno Haible * modules/bison-i18n: Remove file. Now taken from gnulib. * m4/bison-i18n.m4: Remove file. Now taken from gnulib. * Makefile.am (EXTRA_DIST): Remove them. 2006-08-16 Bruno Haible * modules/gettext-tools-misc (Files): Remove m4/restrict.m4, no longer in gnulib. 2006-07-31 Bruno Haible * lib/propername.c: Remove temporary hack. 2006-07-31 Bruno Haible * modules/gettext-runtime-misc: New file. * Makefile.am (EXTRA_DIST): Add it. 2006-08-02 Bruno Haible * Makefile.am: New file. 2006-07-30 Bruno Haible * lib/argmatch.h.diff: New file. * lib/error.h.diff: New file. * lib/exitfail.h.diff: New file. * lib/fnmatch.c.diff: New file. * lib/fnmatch_loop.c.diff: New file. * lib/getopt_.h.diff: New file. * lib/javacomp.c.diff: New file. * lib/linebreak.c.diff: New file. * lib/obstack.h.diff: New file. * lib/progname.h.diff: New file. * lib/strerror.c.diff: New file. * m4/exitfail.m4.diff: New file. * m4/hard-locale.m4.diff: New file. * m4/pathmax.m4.diff: New file. * m4/quote.m4.diff: New file. * m4/quotearg.m4.diff: New file. * m4/strdup.m4.diff: New file. * m4/unlocked-io.m4.diff: New file. * m4/vasprintf.m4: New file. * modules/backupfile: New file. * modules/basename: New file. * modules/bison-i18n: New file. * modules/c-strstr: New file. * modules/canonicalize: New file. * modules/closeout: New file. * modules/error-progname: New file. * modules/exitfail.diff: New file. * modules/fnmatch.diff: New file. * modules/fstrcmp: New file. * modules/gcj: New file. * modules/gen-lbrkprop: New file. * modules/getline: New file. * modules/getndelim2: New file. * modules/gettext-tools-misc: New file. * modules/hash: New file. * modules/iconvstring: New file. * modules/java: New file. * modules/javacomp.diff: New file. * modules/pathmax.diff: New file. * modules/progreloc: New file. * modules/propername: New file. * modules/quote.diff: New file. * modules/quotearg.diff: New file. * modules/relocatable: New file. * modules/relocwrapper: New file. * modules/unlocked-io.diff: New file. * modules/vasprintf.diff: New file. * modules/wait-process.diff: New file. * modules/xalloc: New file. * modules/xalloc-die: New file. * modules/xerror: New file. * modules/xgetcwd: New file. * modules/xreadlink: New file.