diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-26 17:38:59 -0800 |
|---|---|---|
| committer | Brock Mammen <brockmammen@gmail.com> | 2020-02-04 12:20:52 -0600 |
| commit | 09016d979b1f83fcf6d3b5d08b81eef2212650f7 (patch) | |
| tree | e6ba874edb7cde3145a01b75a780121e1413c166 /runtime/lua/vim | |
| parent | ead61e5a52abcdff60d3b534bd32f43c61c0221a (diff) | |
| download | rneovim-09016d979b1f83fcf6d3b5d08b81eef2212650f7.tar.gz rneovim-09016d979b1f83fcf6d3b5d08b81eef2212650f7.tar.bz2 rneovim-09016d979b1f83fcf6d3b5d08b81eef2212650f7.zip | |
deps: gettext 0.20.1
fix https://github.com/neovim/neovim/pull/8163
The `gettext-Fix-compilation-on-a-system-without-alloca.patch`
patch is included in gettext 0.20.1, so we can remove that file and
the associated PATCH_COMMAND in `BuildGettext.cmake`.
changes (abbreviated) since 0.19.8.1:
2019-05-12 Bruno Haible <bruno@clisp.org>
intl: Fix wrong libtool versioning information.
Reported by Ken Takata <ktakata65536@gmail.com>
in <https://savannah.gnu.org/bugs/?56305>.
2019-05-11 Bruno Haible <bruno@clisp.org>
intl: Remove obsolete code.
Update after gnulib changed.
* autogen.sh: Don't copy intl.m4.
intl.m4, intmax.m4, printf-posix.m4, uintmax_t.m4, visibility.m4.
Update to newest gnulib.
2019-05-09 Bruno Haible <bruno@clisp.org>
Update release steps.
2019-05-08 Bruno Haible <bruno@clisp.org>
examples: Use infrastructure from gettext version 0.20.
version 0.20.
Update translations (from the TP).
Prepare for 0.20 release.
* libtextstyle/version.sh: Update RELEASE_DATE.
2019-05-07 Bruno Haible <bruno@clisp.org>
libtextstyle: examples: Enable --color=html, for debuggability.
Reported by Akim Demaille.
* libtextstyle/examples/color-hello/hello.c (main): Handle color_html case.
* libtextstyle/examples/color-filter/filter.c (main): Likewise.
2019-05-05 Bruno Haible <bruno@clisp.org>
examples: hello-c++-widgets: Update build infrastructure.
Gnulib changed on 2018-11-11: asm-underscore.m4 is no longer needed for havelib.
asm-underscore.m4.
asm-underscore.m4.
2019-05-05 Bruno Haible <bruno@clisp.org>
(check_PROGRAMS): Add intl-version-prg.
(intl_version_prg_SOURCES, intl_version_prg_LDADD): New variables.
2019-05-05 Bruno Haible <bruno@clisp.org>
msginit: Avoid error messages when run on mingw.
Reported by Michele Locati <michele@locati.it>.
language_team_address): Don't even attempt to run the shell script.
2019-05-05 Bruno Haible <bruno@clisp.org>
libtextstyle: Document debugging tricks.
Reported by Akim Demaille <akim@lrde.epita.fr>.
* libtextstyle/doc/libtextstyle.texi (Debugging style files): New subsection.
(Debugging the styling code): New section.
2019-05-01 Bruno Haible <bruno@clisp.org>
msginit: Fix invocation of helper programs on Windows.
Reported by Michele Locati <michele@locati.it>
in <https://lists.gnu.org/archive/html/bug-gettext/2019-04/msg00058.html>.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add configmake.
(main): Add BINDIR to the PATH.
2019-05-01 Bruno Haible <bruno@clisp.org>
msginit: Improvements for Cygwin and Android.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add sh-filename.
language_team_address): Use BOURNE_SHELL instead of hardcoding /bin/sh.
2019-04-29 Bruno Haible <bruno@clisp.org>
libtextstyle: Document one more terminal emulator.
* libtextstyle/doc/libtextstyle.texi (Terminal emulators): Mention QTerminal.
2019-04-28 Bruno Haible <bruno@clisp.org>
"cldr-plurals.exe", not "cldr-plurals".
2019-04-28 Bruno Haible <bruno@clisp.org>
In the POT files, talk about the "GNU gettext package".
Reported by Benno Schulenberg <coordinator@translationproject.org>.
2019-04-28 Bruno Haible <bruno@clisp.org>
XGETTEXT_OPTIONS and the XGETTEXT_EXTRA_OPTIONS after all other options.
Likewise.
($(DOMAIN).pot-update): Likewise.
2019-04-28 Bruno Haible <bruno@clisp.org>
The xterm description on these platforms includes support for italics.
Reported by Nelson H. F. Beebe.
New file.
expected result.
2019-04-28 Bruno Haible <bruno@clisp.org>
libxml: Avoid gcc warnings.
Avoids "warning: too many arguments for format".
* gnulib-local/lib/libxml/xmlerror.in.h (__xmlSimpleError): Remove
LIBXML_ATTR_FORMAT annotation, because this function may be called with a
NULL msg.
2019-04-28 Bruno Haible <bruno@clisp.org>
libxml: Avoid build failure due to "implicit declaration of function".
* gnulib-local/lib/libxml/libxml.h: Include xmlstring.h only after config.h is
included.
libxml: Update included libxml2 to version 2.9.9.
* gnulib-local/lib/libxml/*: Update from libxml2 2.9.9.
Update to newest gnulib.
2019-04-28 Bruno Haible <bruno@clisp.org>
Reported by Nelson H. F. Beebe.
allow an expected result in UTF-8 encoding.
2019-04-28 Bruno Haible <bruno@clisp.org>
Reported by Nelson H. F. Beebe.
2019-04-28 Bruno Haible <bruno@clisp.org>
Reported by Nelson H. F. Beebe.
2019-04-28 Bruno Haible <bruno@clisp.org>
The master copy lives in gnulib now.
2019-04-28 Bruno Haible <bruno@clisp.org>
2019-04-28 Bruno Haible <bruno@clisp.org>
Reported by Nelson H. F. Beebe.
"automake -a -c".
2019-04-28 Bruno Haible <bruno@clisp.org>
Reported by Nelson H. F. Beebe.
2019-04-28 Bruno Haible <bruno@clisp.org>
Update after gnulib changed.
Update to newest gnulib.
2019-04-27 Bruno Haible <bruno@clisp.org>
intl: Use the lookup optimization also on platforms without per-thread locales.
This bug was introduced on 2007-01-27.
2019-04-27 Bruno Haible <bruno@clisp.org>
po-mode: Fix warning.
libgettextpo: Don't rely on the undocumented variable libgettextpo_program_name.
* gnulib-local/lib/xerror.c: If IN_LIBGETTEXTPO is defined, include
getprogname.h instead of progname.h and define program_name as a macro.
* gnulib-local/lib/error-progname.c: Likewise.
* autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Remove progname.
Pass --avoid=progname to gnulib-tool invocation for libgettextpo.
libgettextpo: Fix crash when iconv() does not support the PO file's encoding.
defined, don't use program_name.
libgettextpo: Fix gcc warnings.
evaluate the classname argument.
Fix a gcc warning.
USEJAVA is 0.
Fix a gcc warning on mingw.
set.
(get_user_fullname): Don't call get_user_pwd if HAVE_PWD_H is not set.
Fix gcc warnings on mingw and IRIX 6.5.
supports %zu.
Fix gcc warnings on mingw.
Fix a gcc warning (regression from 2017-05-04).
search-path.c: Improve code style.
(foreach_elements): Fix comment.
(get_search_path): Improve comments. Perform each getenv() only once. Reduce
scope of variables. Fix gcc warning.
libxml: Fix width of fprintf argument on native Windows.
* gnulib-local/lib/libxml/timsort.h (TIM_SORT_RESIZE): Cast fprintf argument to
'unsigned long'.
intl: Fix a gcc warning.
data as BYTE array, not char array.
2019-04-26 Bruno Haible <bruno@clisp.org>
Reported by Michele Locati <michele@locati.it>
in <https://lists.gnu.org/archive/html/bug-gettext/2019-04/msg00052.html>.
symbol.
2019-04-26 Bruno Haible <bruno@clisp.org>
Document the OUTPUT_CHARSET environment variable.
Reported by Václav Slavík <vaclav@slavik.io>
via Michele Locati <michele@locati.it>.
2019-04-14 Bruno Haible <bruno@clisp.org>
Update translations (from the TP).
Prepare for 0.20 release.
(GETTEXT_MACRO_VERSION): Bump to 0.20.
output.
* libtextstyle/version.sh: Use version number 0.20 here as well.
autopoint: Reject AM_GNU_GETTEXT without 'external' for versions >= 0.20.
specified with a gettext version >= 0.20.
--with-included-gettext. Don't use libtoolize.
* check-copyright-headers (func_check_file): Succeed for the archive.dir.tar
file.
Update to newest gnulib.
2019-04-13 Bruno Haible <bruno@clisp.org>
assume that fprintf supports %zu.
* autogen.sh: Copy x-to-1.in from gnulib.
libtextstyle/lib.
(textstyle.h): New rule.
(BUILT_SOURCES, MOSTLYCLEANFILES): Add textstyle.h and textstyle/*.h.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add openmp-init. Remove openmp.
Update to newest gnulib.
2019-04-12 Bruno Haible <bruno@clisp.org>
msgfmt: Fix another buffer overrun.
Reported and patch by Joshua Root <jmr@macports.org>
at <https://savannah.gnu.org/bugs/?56126>.
trailing NUL byte as well.
2019-04-11 Bruno Haible <bruno@clisp.org>
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add localtime, unsetenv.
gl_array_list_implementation, styled_ostream_typeinfo.
color_test_mode, style_file_name.
modules.
* libtextstyle/autogen.sh: Pass a --macro-prefix option to gnulib-tool.
* libtextstyle/configure.ac: Update accordingly.
libtextstyle: Fix build failure on mingw (regression from 2019-03-17).
isatty.c defines the symbol 'libtextstyle_isatty', not 'isatty'.
2019-04-11 Bruno Haible <bruno@clisp.org>
For some reason, Automake puts a definition of CXXLD in
2019-04-10 Bruno Haible <bruno@clisp.org>
msgfmt: Fix a buffer overrun.
Reported by Tobi Schäfer at <https://trac.macports.org/ticket/58323>,
via Ryan Schmidt <@ryandesign.com> at <https://savannah.gnu.org/bugs/?56112>.
Patch proposed by Joshua Root.
trailing NUL byte as well.
2019-04-09 Bruno Haible <bruno@clisp.org>
of HAVE_USELOCALE.
msgmerge: Fix crash on 32-bit AIX 7.2.
(main): Invoke openmp_init().
Update to newest gnulib.
2019-04-08 Bruno Haible <bruno@clisp.org>
Make sure that libintl.h declares the *wprintf overrides on Windows.
Update to newest gnulib.
2019-04-08 Bruno Haible <bruno@clisp.org>
autopoint: Don't risk failing because of user or system git configurations.
Reported by Jamie Kirkpatrick <jkp@kirkconsulting.co.uk>
in <https://savannah.gnu.org/support/?107689>.
does not read the user's git configuration nor the system's git configuration.
2019-04-08 Bruno Haible <bruno@clisp.org>
xgettext: Recognize ECMAScript-262 6th edition template literals.
Reported by Philip Chimento <philip.chimento@gmail.com>
in <https://savannah.gnu.org/bugs/index.php?50920>.
(enum token_type_ty): Add token_type_template, token_type_ltemplate,
token_type_mtemplate, token_type_rtemplate.
(free_token): Treat token_type_template like token_type_string.
(phase7_getuc): Add support for backquote quote_char.
(brace_depth, template_literal_depth): New variables.
(phase5_get): Parse template literals.
(x_javascript_lex): Treat token_type_template like token_type_string. Handle the
combination of symbol followed by template.
(extract_balanced): Treat token_type_template like token_type_string, and
token_type_ltemplate, token_type_mtemplate, token_type_rtemplate like
token_type_other.
(extract_javascript): Initialize brace_depth, template_literal_depth.
syntax for strings.
2019-04-08 Bruno Haible <bruno@clisp.org>
xgettext: Make JavaScript parser more robust.
inside_embedded_js_in_xml.
2019-04-07 Bruno Haible <bruno@clisp.org>
* check-copyright-headers: New file.
(distcheck-hook): Run check-copyright-headers and fail if it fails.
2019-04-07 Bruno Haible <bruno@clisp.org>
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.
2019-04-07 Bruno Haible <bruno@clisp.org>
* build-aux/texi2html: Moved to here from libtextstyle/build-aux/texi2html.
* libtextstyle/autogen.sh: Copy texi2html.
(EXTRA_DIST): Remove texi2html.
(EXTRA_DIST): Remove texi2html.
(distcheck-hook): Update.
2019-04-07 Bruno Haible <bruno@clisp.org>
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.
libunistring/build-aux/texi2html and then in libtextstyle/build-aux/texi2html.
processing.
-no-sec-nav -no-menu -toc-links.
(gettext_toc.html): Likewise. Pull out generated files out of subdirectory.
2019-04-07 Bruno Haible <bruno@clisp.org>
libasprintf: Use a version of texi2html which is under a good license.
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.
changes made in libunistring/build-aux/texi2html and then in
libtextstyle/build-aux/texi2html.
gettext-tools/doc/fdl.texi.
gnulib/doc/gpl-2.0.texi.
gnulib/doc/lgpl-2.1.texi.
Top node during texi2html processing.
(Licenses): New appendix.
(MAKEINFOFLAGS): Use it.
(autosprintf_TEXINFOS): New variable.
(autosprintf_all.html): Depend on it. Use texi2html options -no-sec-nav -no-menu
-toc-links.
2019-04-07 Bruno Haible <bruno@clisp.org>
libtextstyle: Tweak style of HTML documentation.
* libtextstyle/build-aux/texi2html (BIG_RULE): Set to empty.
2019-04-07 Bruno Haible <bruno@clisp.org>
Add copyright notices in several files.
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.
by Gora Mohanty <gora_mohanty@yahoo.co.in> through private email on 2004-11-13.
file is meant to be copied and renamed to 'Makevars'.
notice.
2019-04-04 Bruno Haible <bruno@clisp.org>
Reduce ABOUT-NLS to just a hyperlink.
The common way to distribute information, nowadays, is through the web,
not by including files in tarballs of packages. Also, the current
contents of ABOUT-NLS is outdated.
Reported by Samuel Thibault in <https://savannah.gnu.org/bugs/?54809>.
documentation.
(all-local, ABOUT-NLS): Remove rules.
instead of the ABOUT-NLS file.
ABOUT-NLS file.
2019-04-04 Bruno Haible <bruno@clisp.org>
'Translation Intro'. Turn into a section. Mark section as historical.
matrix.texi.
2019-04-04 Bruno Haible <bruno@clisp.org>
Add copyright notices in several files.
Reported by <ineiev@gnu.org> in <https://savannah.gnu.org/bugs/?54809>.
* windows/windres-options: Likewise.
in Rules-quot.
2019-04-03 Bruno Haible <bruno@clisp.org>
Mention the support for Java 11.
This support was added in gnulib on 2018-09-26.
2019-04-03 Bruno Haible <bruno@clisp.org>
libtextstyle: Clean up old TODO item.
2019-04-02 Bruno Haible <bruno@clisp.org>
libtextstyle: Distribute two more files.
gnulib-local/lib/libxml/xmlversion.in.h.diff, gnulib-local/modules/libxml.diff.
* libtextstyle/gnulib-local/*: Many files moved to here from gnulib-local/*.
* libtextstyle/gnulib-local/modules/libglib: Apply diff.
* libtextstyle/gnulib-local/modules/libglib.diff: Remove file.
* libtextstyle/gnulib-local/modules/libcroco: Apply diff.
* libtextstyle/gnulib-local/modules/libcroco.diff: Remove file.
* libtextstyle/gnulib-local/modules/term-styled-ostream: Apply diff.
* libtextstyle/gnulib-local/modules/term-styled-ostream.diff: Remove file.
* libtextstyle/gnulib-local/modules/html-styled-ostream: Apply diff.
* libtextstyle/gnulib-local/modules/html-styled-ostream.diff: Remove file.
* libtextstyle/gnulib-local/modules/noop-styled-ostream: Apply diff.
* libtextstyle/gnulib-local/modules/noop-styled-ostream.diff: Remove file.
* libtextstyle/woe32dll/c++term-styled-ostream.cc: Remove file.
* libtextstyle/woe32dll/c++html-styled-ostream.cc: Remove file.
* libtextstyle/woe32dll/c++noop-styled-ostream.cc: Remove file.
libtextstyle/gnulib-local/. Add build-aux/moopp.
libgettextpo: Avoid closing a FILE stream when it will still be used.
ostream_free if we're using the dummy <textstyle.h>.
libgettextpo: Use a dummy replacement for libtextstyle.
* gnulib-local/modules/libtextstyle-dummy: New file, based on gnulib's
modules/libtextstyle-optional.
* autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Add libtextstyle-dummy. Remove
file-ostream, ostream.
Link the msg* and xgettext programs against libtextstyle.
* libtextstyle/autogen.sh: Don't generate lib/color.h and lib/color.c.
* libtextstyle/lib/color.h: Moved to here from gettext-tools/src/color.h.
* libtextstyle/lib/color.c: Moved to here from gettext-tools/src/color.c.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Remove fd-ostream, file-ostream,
html-styled-ostream, ostream, styled-ostream, term-styled-ostream. Add libxml.
customization.
(AM_CPPFLAGS): Add -I directives to the libtextstyle/lib directory.
(libgettextsrc_la_SOURCES): Remove color.c.
(libgettextsrc_la_LDFLAGS): Link with libtextstyle.la.
and *-ostream.h.
(msgdomain_list_print): Use styled_ostream_create and
noop_styled_ostream_create.
(is_stylable): Remove function.
(begin_css_class, end_css_class): Update. Mark as inline.
ostream.h.
libtextstyle: Generalize fd-styled-ostream to noop-styled-ostream.
* gnulib-local/lib/noop-styled-ostream.oo.h: New file, based on
gnulib-local/lib/fd-styled-ostream.oo.h.
* gnulib-local/lib/noop-styled-ostream.oo.c: New file, based on
gnulib-local/lib/fd-styled-ostream.oo.c.
* gnulib-local/modules/noop-styled-ostream: New file, based on
gnulib-local/modules/fd-styled-ostream.
and modules/fd-styled-ostream. Add lib/noop-styled-ostream.oo.[hc] and
modules/noop-styled-ostream.
* libtextstyle/woe32dll/c++noop-styled-ostream.cc: New file, based on
libtextstyle/woe32dll/c++fd-styled-ostream.cc.
* libtextstyle/gnulib-local/modules/noop-styled-ostream.diff: New file, based
on libtextstyle/gnulib-local/modules/fd-styled-ostream.diff.
* gnulib-local/lib/fd-styled-ostream.oo.h: Remove file.
* gnulib-local/lib/fd-styled-ostream.oo.c: Remove file.
* gnulib-local/modules/fd-styled-ostream: Remove file.
* libtextstyle/woe32dll/c++fd-styled-ostream.cc: Remove file.
* libtextstyle/gnulib-local/modules/fd-styled-ostream.diff: Remove file.
* libtextstyle/autogen.sh (GNULIB_MODULES): Add noop-styled-ostream. Remove
fd-styled-ostream.
* libtextstyle/lib/misc.c: Include noop-styled-ostream.h, fd-ostream.h.
(styled_ostream_create): Call fd_ostream_create and noop_styled_ostream_create
instead of fd_styled_ostream_create.
* libtextstyle/lib/textstyle.h (noop_styled_ostream_t): New type.
(noop_styled_ostream_*): New declarations.
* libtextstyle/doc/libtextstyle.texi (The noop_styled_ostream class): New
subsection.
* autogen.sh: Recurse into libtextstyle directory.
* configure.ac: Likewise.
* DEPENDENCIES: Mention that libiconv and ncurses are also used by libtextstyle.
* PACKAGING: Recommend to ship libtextstyle as a third binary package.
* gitsub.sh: New file, from gnulib.
* autogen.sh: Remove all git operations and the --no-git option. Look at the
GNULIB_SRCDIR environment variable. Ignore the GNULIB_TOOL environment variable.
* HACKING: Explain when to use gitsub.sh.
libtextstyle: Bump version number.
2019-04-01 Daiki Ueno <ueno@gnu.org>
desktop: Fix whitespace handling around '='
While the spec only allows spaces before and after '=',
xgettext/msgfmt previously accepted all whitespaces including '\n'.
That was causing unwanted concatenation of desktop lines.
Reported by Bastien Nocera in:
https://lists.gnu.org/archive/html/bug-gettext/2019-03/msg00017.html
space characters before and after '='.
2019-04-01 Bruno Haible <bruno@clisp.org>
libtextstyle: Bump version number.
2019-03-31 Bruno Haible <bruno@clisp.org>
libtextstyle: Add support for true-color terminals.
* gnulib-local/lib/term-ostream.oo.c (colormodel_t): Add cm_xtermrgb.
(rgb_to_color_xtermrgb): New function.
(attributes_t): Extend the color fields to 25 bits.
(struct term_ostream): New fields active_attr_color, active_attr_bgcolor.
(out_color_change, out_bgcolor_change, term_ostream::rgb_to_color): Handle
cm_xtermrgb.
(out_attr_change): Set also active_attr_color, active_attr_bgcolor.
(async_set_attributes_from_default): Fetch also active_attr_color,
active_attr_bgcolor.
(term_ostream_create): Accept all $TERM values that end in -direct.
* libtextstyle/doc/libtextstyle.texi (Terminal emulators): Document the
prerequisites for true-color support.
maint: Make code more "git diff"-friendly.
non-whitespace character.
libtextstyle: Improve documentation regarding the TERM value.
* libtextstyle/doc/libtextstyle.texi (The TERM variable): Many more details.
(Terminal emulators, Consoles): New subsections.
libtextstyle: Support for terminal types with 256 colors.
* gnulib-local/lib/term-ostream.oo.c (term_ostream_create): Accept all $TERM
values that end in -16color or -256 color (such as Eterm-256color,
mlterm-256color, or putty-256color).
2019-03-30 Takesi Ayanokoji <ayanokoji.takesi@gmail.com>
po-mode: Enable highlighting of #, lines.
2019-03-30 Bruno Haible <bruno@clisp.org>
po-mode: Remove support for Emacs versions < 22.
Emacs 22 is the oldest version still in use, see
<https://repology.org/project/emacs/versions>.
(po-rehighlight): Remove function.
(po-check-all-pending-edits, po-check-for-pending-edit): Update.
2019-03-30 Bruno Haible <bruno@clisp.org>
po-mode: Remove support for XEmacs.
Update after gnulib changed.
2019-03-27 Bruno Haible <bruno@clisp.org>
libtextstyle: Add support for Windows consoles.
* gnulib-local/lib/term-ostream.oo.c: Include <windows.h>, msvc-nothrow.h,
<io.h>.
(struct term_ostream): Add fields handle, is_windows_console,
default_console_attributes, current_console_attributes.
(out_color_change, out_bgcolor_change, out_underline_change, out_attr_change,
restore, async_restore, async_set_attributes_from_default, term_ostream::flush):
Add separate code path for Windows consoles.
and initialize the new fields.
* gnulib-local/modules/term-ostream (Depends-on): Add msvc-nothrow.
libtextstyle: Make the SIGCONT handler work more reliably.
* gnulib-local/lib/term-ostream.oo.c (out_attr_change): Modify active_attr
before emitting the escape sequences, not afterwards.
libtextstyle: Mention fixes.
'term-style-control'.
libtextstyle: Small fix for last commit.
* gnulib-local/lib/term-ostream.oo.c (struct term_ostream): Mark fd volatile.
Update to newest gnulib.
2019-03-27 Bruno Haible <bruno@clisp.org>
its: Simplify code.
Suggested by Daiki Ueno.
2019-03-26 Bruno Haible <bruno@clisp.org>
boundary. Get rid of initial trim() call.
at the end of the last paragraph.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add memchr.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add strchrnul.
2019-03-24 Bruno Haible <bruno@clisp.org>
libtextstyle: Use gnulib module 'term-style-control'.
* gnulib-local/lib/term-ostream.oo.h: Include term-style-control.h.
(ttyctl_t): Remove type.
* gnulib-local/lib/term-ostream.oo.c (DEBUG_SIGNALS): Remove macro.
Don't include <signal.h>, <stdio.h>, <sys/stat.h>, fatal-signal.h,
sig-handler.h, same-inode.h.
(SIZEOF): Remove macro.
(nonintr_tcgetattr, nonintr_tcsetattr): Remove functions.
(log_message, sprintf_integer, simple_errno_string, simple_signal_string,
log_signal_handler_called): Remove functions.
(struct term_ostream): Remove fields tty_control, same_as_stderr,
non_default_active. Add control_data field instead.
(get_control_data): New function.
(BLOCK_SIGNALS_DURING_NON_DEFAULT_STYLE_OUTPUT): Remove macro.
(term_fd): Remove variable.
(pgrp_status_t): Remove type.
(pgrp_status): Remove variable.
(update_pgrp_status): Remove function.
(out_filename): Remove variable.
(out_error): Use out_stream instead of out_filename.
(restore, tcsetattr_failed): Remove functions.
(orig_lflag_set, orig_lflag): Remove variables.
(clobber_local_mode, restore_local_mode): Remove functions.
(job_control_signals): Remove variable.
(num_job_control_signals): Remove macro.
(relevant_signal_set, relevant_signal_set_initialized): Remove variables.
(init_relevant_signal_set, block_relevant_signals, unblock_relevant_signals,
is_ignored, show_signal_marker, fatal_or_stopping_signal_handler,
fatal_signal_handler, stopping_signal_handler, continuing_signal_handler,
ensure_continuing_signal_handler, ensure_other_signal_handlers): Remove
functions.
(out_attr_change): Set out_stream and out_fd.
(activate_non_default_attr, deactivate_non_default_attr): Remove functions.
(restore, async_restore, async_set_attributes_from_default): New functions.
(controller): New variable.
(activate_default_attr, output_buffer): Update.
(term_ostream::free): Invoke deactivate_term_style_controller.
(term_ostream_create): Invoke activate_term_style_controller.
* gnulib-local/modules/term-ostream (Depends-on): Add term-style-control. Remove
fatal-signal, sigaction, sigprocmask, same-inode.
moopp: Allow forward references to the <class>_representation type.
* gnulib-local/build-aux/moopp (func_version): Bump copyright year.
(func_emit_source_c): Move the <class>_representation type alias to the top
of the file.
2019-03-20 Bruno Haible <bruno@clisp.org>
libtextstyle: Fix a memory access from a signal handler.
* gnulib-local/lib/term-ostream.oo.c (struct term_ostream): Mark active_attr
field as volatile.
libtextstyle: Bump version number.
Use _GL_ASYNC_SAFE from gnulib.
(sigfpe_handler): Mark as _GL_ASYNC_SAFE.
* gnulib-local/lib/term-ostream.oo.c (ASYNC_SAFE): Remove macro.
Use _GL_ASYNC_SAFE instead.
Update to newest gnulib.
Update .gitignore after 2019-03-12 change.
2019-03-17 Bruno Haible <bruno@clisp.org>
libtextstyle: Bump version number.
libtextstyle: Bump version number.
libtextstyle: Implement reliable tty control.
* gnulib-local/lib/term-ostream.oo.c (DEBUG_SIGNALS): New macro.
Include <stdio.h>, <sys/stat.h>.
(NOFLSH): Define fallback value.
Include sig-handler.h, same-inode.h.
(ASYNC_SAFE): New macro.
(color_bgr): Mark as ASYNC_SAFE.
(nonintr_tcgetattr, nonintr_tcsetattr): New functions.
(log_message, sprintf_integer, simple_errno_string, simple_signal_string,
log_signal_handler_called): New functions.
(struct term_ostream): Add fields restore_colors, restore_weight,
restore_posture, restore_underline, tty_control, same_as_stderr.
(BLOCK_SIGNALS_DURING_NON_DEFAULT_STYLE_OUTPUT): New macro.
(term_fd): New variable.
(pgrp_status_t): New type.
(pgrp_status): New variable.
(update_pgrp_status): New function.
(out_stream): New variable.
(restore_colors, restore_weight, restore_posture, restore_underline): Remove
variables.
(out_color_change, out_bgcolor_change, out_weight_change, out_posture_change,
out_underline_change): New functions, extracted from out_attr_change.
(out_attr_change): Call these functions.
(restore): Use out_stream.
(tcsetattr_failed): New function.
(orig_lflag_set, orig_lflag): New variables.
(clobber_local_mode, restore_local_mode): New functions.
(job_control_signals): Renamed from stopping_signals. Add SIGCONT.
(num_job_control_signals): Renamed from num_stopping_signals.
(relevant_signal_set): Replaces stopping_signal_set.
(relevant_signal_set_initialized): New variable.
(init_relevant_signal_set): Replaces init_stopping_signal_set.
(block_relevant_signals): Replaces block_stopping_signals.
(unblock_relevant_signals): Replaces unblock_stopping_signals.
(is_ignored): New function.
(show_signal_marker): New function.
(fatal_or_stopping_signal_handler, fatal_signal_handler,
stopping_signal_handler, continuing_signal_handler,
ensure_continuing_signal_handler, ensure_other_signal_handlers): New functions.
(activate_non_default_attr, deactivate_non_default_attr): Rewritten.
(term_ostream::free): Unset term_fd and call update_pgrp_status.
(term_ostream_create): Initialize the fields restore_colors, restore_weight,
restore_posture, restore_underline, tty_control, same_as_stderr. Call
init_relevant_signal_set. Set term_fd and call ensure_continuing_signal_handler
and update_pgrp_status.
* gnulib-local/m4/term-ostream.m4 (gl_TERM_OSTREAM): Check for tcgetattr.
* gnulib-local/modules/term-ostream (Depends-on): Add sigaction, same-inode.
libtextstyle: Fix build failure on Cygwin (regression from 2019-03-15).
from $(srcdir)/libtextstyle.sym.
(libtextstyle.sym): New rule.
(MOSTLYCLEANFILES, MAINTAINERCLEANFILES, EXTRA_DIST): Update accordingly.
(config.h): Depend on libtextstyle.sym in the build directory.
(libtextstyle_la_LDFLAGS: Use libtextstyle.sym in the build directory.
libtextstyle: Clean up leftovers from 2019-03-13 commit.
2019-03-16 Bruno Haible <bruno@clisp.org>
libtextstyle: Complete styled_ostream_flush_to_current_style declaration.
* libtextstyle/lib/textstyle.h (term_styled_ostream_flush_to_current_style,
html_styled_ostream_flush_to_current_style): New declarations.
libtextstyle: Protect better against EINTR.
* gnulib-local/lib/fd-ostream.oo.c (nonintr_tcdrain): New function.
(fd_ostream::flush): Use it instead of tcdrain.
* gnulib-local/lib/file-ostream.oo.c: Include <errno.h>.
(nonintr_tcdrain): New function.
(file_ostream::flush): Use it instead of tcdrain.
* gnulib-local/lib/term-ostream.oo.c (nonintr_tcdrain): New function.
(term_ostream::flush): Use it instead of tcdrain.
2019-03-15 Bruno Haible <bruno@clisp.org>
libtextstyle: Reexport isatty() override from gnulib.
This is necessary for programs that are compiled for native Windows and
run in a Cygwin console.
* libtextstyle/autogen.sh (GNULIB_MODULES): Add 'isatty'.
* libtextstyle/configure.ac: Set GNULIB_ISATTY to 0.
* libtextstyle/lib/textstyle.h (libtextstyle_isatty): New declaration.
(isatty): Redirect to libtextstyle_isatty.
2019-03-14 Bruno Haible <bruno@clisp.org>
libtextstyle: Use less code from libxml.
* libtextstyle/gnulib-local/lib/libxml/xmlversion.in.h.diff: New file.
* gnulib-local/lib/libxml/save.h (xmlEncodeAttributeEntities): Declare also when
LIBXML_OUTPUT_ENABLED is 0.
libtextstyle: Fix "make clean" failure in VPATH builds.
(DISTCLEANDIRS_NOT_IN_SRCDIR): Add 'textstyle'.
libtextstyle: Make sure we get new versions also of mdate-sh.
* libtextstyle/autogen.sh: Erase more files in build-aux.
2019-03-14 Bruno Haible <bruno@clisp.org>
libtextstyle: Remove unused code for exporting variables from Windows DLLs.
Here we use the third approach listed in gettext-tools/woe32dll/export.h, not
the fourth approach.
* libtextstyle/configure.ac (false): Remove conditional.
2019-03-14 Bruno Haible <bruno@clisp.org>
libtextstyle: Add metainformation for Windows.
libtextstyle: Add metainformation for Windows.
* libtextstyle/lib/libtextstyle.rc: New file.
(WOE32_LIBADD): New variable.
(libtextstyle.res.lo): New rule.
(libtextstyle_la_LIBADD, libtextstyle_la_DEPENDENCIES): Augment.
2019-03-13 Bruno Haible <bruno@clisp.org>
libtextstyle: Don't use a C++ compiler.
* libtextstyle/gnulib-local/modules/fd-styled-ostream.diff: New file.
* libtextstyle/gnulib-local/modules/html-styled-ostream.diff: New file.
* libtextstyle/gnulib-local/modules/term-styled-ostream.diff: New file.
always.
* libtextstyle/configure.ac: Remove LT_LANG([C++]), AC_PROG_CXX, and related
invocations.
libasprintf: Add metainformation for Windows.
(WOE32_LIBADD): New variable.
(libasprintf.res.lo): New rule.
(libasprintf_la_LIBADD, libasprintf_la_DEPENDENCIES): New variables.
* windows/gettext.rc: Likewise.
libtextstyle: Bump version number.
2019-03-12 Bruno Haible <bruno@clisp.org>
libtextstyle: Bump version number.
libtextstyle: New function styled_ostream_flush_to_current_style.
* gnulib-local/lib/styled-ostream.oo.h (struct styled_ostream): Add method
flush_to_current_style.
* gnulib-local/lib/fd-styled-ostream.oo.c
(fd_styled_ostream::flush_to_current_style): New method.
* gnulib-local/lib/term-styled-ostream.oo.c
(term_styled_ostream::flush_to_current_style): New method.
* gnulib-local/lib/html-styled-ostream.oo.c
(html_styled_ostream::flush_to_current_style): New method.
* libtextstyle/lib/textstyle.h (styled_ostream_flush_to_current_style): New
declaration.
* libtextstyle/doc/libtextstyle.texi (The styled_ostream class): Document
styled_ostream_flush_to_current_style.
libtextstyle: New function html_ostream_flush_to_current_style.
* gnulib-local/lib/html-ostream.oo.h (struct html_ostream): Add method
flush_to_current_style.
* gnulib-local/lib/html-ostream.oo.c (html_ostream::flush_to_current_style): New
method.
* libtextstyle/lib/textstyle.h (html_ostream_flush_to_current_style): New
declaration.
* libtextstyle/doc/libtextstyle.texi (The html_ostream class): Document
html_ostream_flush_to_current_style.
libtextstyle: New function term_ostream_flush_to_current_style.
* gnulib-local/lib/term-ostream.oo.h (struct term_ostream): Add method
flush_to_current_style.
* gnulib-local/lib/term-ostream.oo.c (struct term_ostream): Add fields
default_attr, active_attr, non_default_active.
(out_attr_change): Remove second argument. Update active_attr.
(activate_non_default_attr, deactivate_non_default_attr, activate_default_attr):
New functions, extracted from output_buffer.
(output_buffer): Use them. Add a second argument.
(term_ostream::write_mem, term_ostream::flush): Update output_buffer calls.
(term_ostream::free): Add an assertion.
(term_ostream::flush_to_current_style): New method.
(term_ostream_create): Initialize the fields default_attr, active_attr,
non_default_active.
* libtextstyle/lib/textstyle.h (term_ostream_flush_to_current_style): New
declaration.
* libtextstyle/doc/libtextstyle.texi (The term_ostream class): Document
term_ostream_flush_to_current_style.
2019-03-12 Bruno Haible <bruno@clisp.org>
libtextstyle: Add a second argument to the 'flush' operations.
* gnulib-local/lib/ostream.oo.h (ostream_flush_scope_t): New type.
(ostream::flush): Add scope parameter.
* gnulib-local/lib/file-ostream.oo.c: Include <unistd.h>, <termios.h>.
(file_ostream::flush): Add a scope parameter.
* gnulib-local/modules/file-ostream (Depends-on): Add 'fsync'.
(configure.ac): Check for tcdrain.
* gnulib-local/lib/fd-ostream.oo.c: Include <unistd.h>, <termios.h>.
(fd_ostream::flush): Add a scope parameter.
(fd_ostream::free): Update flush call.
* gnulib-local/modules/fd-ostream (Depends-on): Add 'fsync'.
(configure.ac): Check for tcdrain.
* gnulib-local/lib/term-ostream.oo.c: Include <unistd.h>, <termios.h>.
(term_ostream::flush): Add scope parameter.
(term_ostream::free): Update flush call.
* gnulib-local/m4/term-ostream.m4 (gl_TERM_OSTREAM): Check for tcdrain.
* gnulib-local/modules/term-ostream (Depends-on): Add 'fsync'.
* gnulib-local/lib/memory-ostream.oo.c (memory_ostream::flush): Add scope
parameter.
* gnulib-local/lib/iconv-ostream.oo.c (iconv_ostream::flush): Add scope
parameter.
* gnulib-local/lib/html-ostream.oo.c (html_ostream::flush): Add scope parameter.
Emit closing </span> tags.
* gnulib-local/lib/fd-styled-ostream.oo.c (fd_styled_ostream::flush): Add scope
parameter.
* gnulib-local/lib/term-styled-ostream.oo.c (term_styled_ostream::flush): Add
scope parameter.
* gnulib-local/lib/html-styled-ostream.oo.c (html_styled_ostream::flush): Add
scope parameter.
* libtextstyle/lib/textstyle.h (ostream_flush_scope_t): New type.
(ostream_flush, styled_ostream_flush, file_ostream_flush, fd_ostream_flush,
term_ostream_flush, memory_ostream_flush, iconv_ostream_flush,
html_ostream_flush, term_styled_ostream_flush, html_styled_ostream_flush): Add
scope parameter.
* libtextstyle/doc/libtextstyle.texi (The ostream class): Add scope parameter to
flush method.
2019-03-11 Bruno Haible <bruno@clisp.org>
libtextstyle/examples/color-hello/hello.c.
libtextstyle/examples/color-hello/hello-default.css.
contains an encoding.
2019-03-10 Bruno Haible <bruno@clisp.org>
2019-03-04 Bruno Haible <bruno@clisp.org>
(libgettextlib_la_LDFLAGS): Augment for relocatable installation.
relocatable installation.
variable.
(libgettextpo_la_LDFLAGS): Augment for relocatable installation.
Update after gnulib changed.
Update to newest gnulib.
2019-02-24 Bruno Haible <bruno@clisp.org>
libintl: Fix installation with BSD 'make'.
directory first.
2019-02-16 Bruno Haible <bruno@clisp.org>
libtextstyle: Improve the way the library is built.
needed for building on older versions of AIX and useful to verify no undefined
symbols are used by mistake. Add '-export-symbols', to reduce the loading time
of the shared library.
2019-02-15 Daiki Ueno <ueno@gnu.org>
its: Avoid uninitialized variable
Fixes commit 89e7d2663bd27b8cdd300f26095f49d2c7519030.
2019-02-15 Bruno Haible <bruno@clisp.org>
@INTL_MACOSX_LIBS@ here.
libtextstyle: Don't use an external libglib.
* gnulib-local/m4/libglib.m4 (gl_LIBGLIB): Accept an optional FORCE-INCLUDED
argument.
* libtextstyle/gnulib-local/modules/libglib.diff: New file.
libtextstyle: Don't use an external libxml.
* gnulib-local/m4/libxml.m4 (gl_LIBXML): Accept an optional FORCE-INCLUDED
argument.
* libtextstyle/gnulib-local/modules/libxml.diff: New file.
libtextstyle: Don't use an external libcroco.
* gnulib-local/m4/libcroco.m4 (gl_LIBCROCO): Accept an optional FORCE-INCLUDED
argument.
* libtextstyle/gnulib-local/modules/libcroco.diff: New file.
* libtextstyle/autogen.sh: Pass another --local-dir option to gnulib-tool.
libtextstyle: Fix build error on Cygwin and mingw.
libtextstyle: Really fix hyperlinks to table of contents in HTML doc.
libtextstyle: Document when and how to turn off styling.
* libtextstyle/doc/libtextstyle.texi (Basic use): Document when and how to turn
off styling.
* gnulib-local/lib/term-styled-ostream.oo.c (term_styled_ostream_create): Handle
a NULL css_filename explicitly.
2019-02-15 Daiki Ueno <ueno@gnu.org>
its: Add new preserveSpaceRule "paragraph"
This implements a new text extraction rule preserving paragraph
boundaries, as mentioned in:
https://gitlab.gnome.org/GNOME/glib/issues/1350
(its_merge_context_merge_node): Likewise.
(normalize_whitespace): Handle "paragraph" rule.
2019-02-15 Daiki Ueno <ueno@gnu.org>
its: Make whitespace normalization logic simpler
pointers for normalizing whitespaces, instead of memmove.
Suggested by Bruno Haible.
2019-02-14 Bruno Haible <bruno@clisp.org>
libtextstyle: In the examples, actually respect the --color option.
Reported by Akim Demaille <akim.demaille@gmail.com>.
* libtextstyle/examples/color-filter/filter.c (main): Set style_file_name to
NULL when styling should be disabled.
* libtextstyle/examples/color-hello/hello.c (main): Likewise.
2019-02-14 Bruno Haible <bruno@clisp.org>
libtextstyle: Assume that the texinfo sources are in the source dir.
libtextstyle_toc.html): Lookup libunistring.texi in $(srcdir).
2019-02-14 Bruno Haible <bruno@clisp.org>
libtextstyle: Fix hyperlinks to table of contents in HTML doc.
Reported by Akim Demaille <akim.demaille@gmail.com>.
libtextstyle.html with references to libtextstyle_toc.html.
2019-02-14 Bruno Haible <bruno@clisp.org>
libtextstyle: Document the link options more precisely.
* libtextstyle/doc/libtextstyle.texi (Link options): Document the link
dependencies.
libtextstyle: Fix build failure on mingw.
* gnulib-local/modules/html-styled-ostream (Depends-on): Add 'close'.
libtextstyle: Add support for VPATH builds with OpenBSD 'make'.
prefix the target file names with '$(srcdir)/'.
2019-02-13 Bruno Haible <bruno@clisp.org>
libtextstyle: Put the .sym file in the source directory.
directory.
(config.h): Update rule.
2019-02-12 Bruno Haible <bruno@clisp.org>
libtextstyle: Fix configuration of the example programs.
Reported by Akim Demaille <akim.demaille@gmail.com>.
2019-02-12 Bruno Haible <bruno@clisp.org>
libtextstyle: Bump version number.
* libtextstyle/version.sh (VERSION): Set to 0.6.
2019-02-10 Bruno Haible <bruno@clisp.org>
libtextstyle: New project.
* libtextstyle/AUTHORS: New file, extracted from gettext/AUTHORS.
* libtextstyle/COPYING: New file, copied from gettext/COPYING.
* libtextstyle/DEPENDENCIES: New file, based on gettext/DEPENDENCIES.
* libtextstyle/HACKING: New file, based on gettext/HACKING.
* libtextstyle/INSTALL: New file, copied from gettext/INSTALL.
* libtextstyle/autogen.sh: New file, based on libunistring/autogen.sh.
* libtextstyle/configure.ac: New file, based on libunistring/configure.ac.
* libtextstyle/build-aux/texi2html: New file, copied from
libunistring/build-aux/texi2html.
* libtextstyle/doc/fdl.texi: New file, copied from gnulib/doc/fdl.texi.
* libtextstyle/doc/gpl.texi: New file, copied from gnulib/doc/gpl-3.0.texi.
* libtextstyle/doc/libtextstyle.texi: New file, partially based on
gettext/gettext-tools/doc/gettext.texi.
* libtextstyle/examples/color-filter/INSTALL: New file, based on
gettext/gettext-tools/examples/hello-c/INSTALL.
* libtextstyle/examples/color-filter/autoclean.sh: New file, based on
gettext/gettext-tools/examples/hello-c/autoclean.sh.
* libtextstyle/examples/color-filter/autogen.sh: New file, based on
gettext/gettext-tools/examples/hello-c/autogen.sh.
* libtextstyle/examples/color-filter/configure.ac: New file.
* libtextstyle/examples/color-filter/filter.c: New file.
* libtextstyle/examples/color-filter/filter-default.css: New file.
* libtextstyle/examples/color-hello/INSTALL: New file, based on
gettext/gettext-tools/examples/hello-c/INSTALL.
* libtextstyle/examples/color-hello/autoclean.sh: New file, based on
gettext/gettext-tools/examples/hello-c/autoclean.sh.
* libtextstyle/examples/color-hello/autogen.sh: New file, based on
gettext/gettext-tools/examples/hello-c/autogen.sh.
* libtextstyle/examples/color-hello/configure.ac: New file.
* libtextstyle/examples/color-hello/hello.c: New file.
* libtextstyle/examples/color-hello/hello-default.css: New file.
* libtextstyle/examples/color-hello/names.c: New file.
* libtextstyle/lib/misc.h: New file.
* libtextstyle/lib/misc.c: New file.
* libtextstyle/lib/notinline.h: New file, based on
libunistring/lib/unistring-notinline.h.
* libtextstyle/lib/stdbool.mini.h: New file, based on
libunistring/lib/stdbool.mini.h.
* libtextstyle/lib/textstyle.h: New file, based on
gnulib-local/lib/*ostream.oo.h.
* libtextstyle/lib/textstyle/version.in.h: New file, based on
libunistring/lib/unistring/version.in.h.
* libtextstyle/lib/textstyle/woe32dll.in.h: New file, based on
libunistring/lib/unistring/woe32dll.in.h.
* libtextstyle/lib/version.c: New file, based on libunistring/lib/version.c.
* libtextstyle/m4/init-package-version.m4: New file, copied from
libunistring/m4/init-package-version.m4.
* libtextstyle/version.sh: New file, based on libunistring/version.sh.
* libtextstyle/woe32dll/c++fd-styled-ostream.cc: New file.
* libtextstyle/woe32dll/c++html-styled-ostream.cc: New file.
* libtextstyle/woe32dll/c++term-styled-ostream.cc: New file.
* gnulib-local/lib/glib/gstring.c (g_string_append_c): In libtextstyle, honor a
macro definition.
* gnulib-local/lib/libxml/elfgcchack.h: In libtextstyle, make this entire file a
no-op.
* gnulib-local/lib/libxml/globals.in.h (docbDefaultSAXHandler,
htmlDefaultSAXHandler, oldXMLWDcompatibility, xmlBufferAllocScheme,
xmlDefaultBufferSize, xmlDefaultSAXHandler, xmlDefaultSAXLocator,
xmlDoValidityCheckingDefaultValue, xmlFree, xmlGenericError, xmlStructuredError,
xmlGenericErrorContext, xmlStructuredErrorContext, xmlGetWarningsDefaultValue,
xmlIndentTreeOutput, xmlTreeIndentString, xmlKeepBlanksDefaultValue,
xmlLineNumbersDefaultValue, xmlLoadExtDtdDefaultValue, xmlMalloc,
xmlMallocAtomic, xmlMemStrdup, xmlParserDebugEntities, xmlParserVersion,
xmlPedanticParserDefaultValue, xmlRealloc, xmlSaveNoEmptyTags,
xmlSubstituteEntitiesDefaultValue, xmlRegisterNodeDefaultValue,
xmlDeregisterNodeDefaultValue, xmlLastError,
xmlParserInputBufferCreateFilenameValue, xmlOutputBufferCreateFilenameValue): In
libtextstyle, honor a macro definition.
* gnulib-local/lib/libxml/globals.c (xmlFree, xmlMalloc, xmlMallocAtomic,
xmlMemStrdup, xmlRealloc, docbDefaultSAXHandler, htmlDefaultSAXHandler,
oldXMLWDcompatibility, xmlBufferAllocScheme, xmlDefaultBufferSize,
xmlDefaultSAXHandler, xmlDefaultSAXLocator, xmlDoValidityCheckingDefaultValue,
xmlGenericError, xmlStructuredError, xmlGenericErrorContext,
xmlStructuredErrorContext, xmlGetWarningsDefaultValue, xmlIndentTreeOutput,
xmlTreeIndentString, xmlKeepBlanksDefaultValue, xmlLineNumbersDefaultValue,
xmlLoadExtDtdDefaultValue, xmlParserDebugEntities, xmlParserVersion,
xmlPedanticParserDefaultValue, xmlSaveNoEmptyTags,
xmlSubstituteEntitiesDefaultValue, xmlRegisterNodeDefaultValue,
xmlDeregisterNodeDefaultValue, xmlLastError,
xmlParserInputBufferCreateFilenameValue, xmlOutputBufferCreateFilenameValue):
Likewise.
* gnulib-local/lib/libxml/xmlmemory.c (xmlMalloc): Likewise.
gnulib-local: New module 'fd-styled-ostream'.
* gnulib-local/lib/fd-styled-ostream.oo.h: New file.
* gnulib-local/lib/fd-styled-ostream.oo.c: New file.
* gnulib-local/modules/fd-styled-ostream: New file.
term-ostream: Remove the need for an exit handler.
* gnulib-local/lib/term-ostream.oo.c (output_buffer): Delay the error() call
until the default state has been restored.
term-ostream: Prepare for robustness through signal handling.
* gnulib-local/lib/term-ostream.oo.h (ttyctl_t): New type.
(term_ostream_create): Add tty_control argument.
* gnulib-local/lib/term-ostream.oo.c (term_ostream_create): Likewise.
* gnulib-local/lib/term-styled-ostream.oo.h: Include term-ostream.h.
(term_styled_ostream_create): Add tty_control argument.
* gnulib-local/lib/term-styled-ostream.oo.c (term_styled_ostream_create):
Likewise.
libasprintf: Tweak documentation formatting.
way.
2019-02-09 Bruno Haible <bruno@clisp.org>
Update copyright years.
Remove automatically generated files from version control.
html-styled-ostream: Fix memory leak.
* gnulib-local/lib/html-styled-ostream.oo.c (html_styled_ostream::free): Free
the stream.
html-ostream: Fix memory leak.
* gnulib-local/lib/html-ostream.oo.c: Include minmax.h.
(verify_invariants, shrink_class_stack): New functions.
(emit_pending_spans): Use them.
(html_ostream::write_mem): Shrink class stack during newline processing.
(html_ostream::free, html_ostream::begin_span): Verify invariants.
(html_ostream::end_span): Likewise. Shrink class stack.
* gnulib-local/modules/html-ostream (Depends-on): Add 'minmax'.
2019-02-08 Bruno Haible <bruno@clisp.org>
examples: Fix build failure when building from git (regression from 2018-10-23).
color: Make color.c package-neutral.
(style_file_lookup): Add stylesdir_after_install argument.
(style_file_prepare): Add arguments.
(GETTEXTSTYLESDIR): New macro.
(msgdomain_list_print): Update style_file_prepare calls.
term-ostream: Accommodate a shell that is not in /bin/sh.
accordingly.
libglib: Fix list of files to clean.
* gnulib-local/modules/libglib (MOSTLYCLEANFILES): Add glib.h-t, glibconfig.h-t.
* autogen.sh: Make it clear that 'touch config.h.in' is tied to autoheader.
2019-02-05 Bruno Haible <bruno@clisp.org>
Remove left-over empty directories in 'make distclean'.
2019-02-04 Bruno Haible <bruno@clisp.org>
Fix copyright years.
2019-01-25 Bruno Haible <bruno@clisp.org>
Reported by Nathaniel M. Beaver <nathanielmbeaver@gmail.com>
in <https://savannah.gnu.org/bugs/?55573>.
--style options are applicable to many programs.
2019-01-21 Bruno Haible <bruno@clisp.org>
msginit: Update for current shape of Translation Project.
Reported by Karl Ove Hufthammer <karl@huftis.org>
in <https://lists.gnu.org/archive/html/bug-gettext/2019-01/msg00014.html>.
structure of teams page.
2019-01-06 Bruno Haible <bruno@clisp.org>
Make cldr-plurals program more robust.
(main): Arrange to invoke close_stdout at program exit.
Assume setlocale function.
Likewise.
exists.
Update after gnulib changed.
Update to newest gnulib.
2018-12-17 Bruno Haible <bruno@clisp.org>
Fix compilation error on HP-UX with gcc.
* gnulib-local/lib/libxml/trionan.c: Include <float.h>.
2018-12-16 Bruno Haible <bruno@clisp.org>
Add comment regarding HP-UX cc in C99 mode.
* gnulib-local/lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Update
comment.
2018-11-25 Bruno Haible <bruno@clisp.org>
intl: Really uninstall the intl/ subdir sources.
Fix compilation error (regression from today).
* autogen.sh (GNULIB_MODULES_RUNTIME_FOR_SRC): Add 'unistd'.
PACKAGE_IS_GETTEXT_TOOLS, PRELOADABLE_LIBINTL): New conditionals.
(distclean): Simplify accordingly.
* autogen.sh: Copy wchar_t.m4 and wint_t.m4 for libasprintf.
(OBJECTS): Use plural.lo always.
($(srcdir)/plural.c): New rule.
(.y.c, pluralx.c, pluralx.lo): Remove rules.
(mostlyclean): Delete the temporary file of the plural.c rule.
(maintainer-clean): Delete plural.c.
Automake .y.c rule.
(po-gram-gen.h, cldr-plural.h): Remove separate target.
(po-gram-gen2.h): Generate in the source directory.
maint: Add write-up of how to do code coverage.
2018-11-25 Bruno Haible <bruno@clisp.org>
libasprintf: On mingw, really use our vasprintf function, not mingw_vasprintf.
mingw now has a definition of 'vasprintf' in <stdio.h> that redirects to
mingw_vasprintf, which does not support argument reordering (i.e.
HAVE_POSIX_PRINTF is not defined). Make sure to avoid this function and use
the one defined in our lib-asprintf.c instead.
redirecting to libasprintf_asprintf.
(vasprintf): Define as macro redirecting to libasprintf_vasprintf.
and libasprintf_vasprin