Commit Graph

416 Commits

Author SHA1 Message Date
Christian Clason 9cbebcb247 chore(deps): bump libuv and luv to 1.42.0 2021-09-21 10:17:05 +02:00
comicfans 9c7e04eb3b
build(cmake): skip download if target file exists #14844) 2021-07-08 11:16:13 -07:00
Christian Clason 3de777d259
chore(deps): bump LibLUV to 1.40.0-0 (#14997)
Adds several threading, async, and gc fixes and allows building with older gcc (4.x). Minimum required version remains 1.30.1.
2021-07-07 08:24:08 +02:00
Lewis Russell a6cdfa27d5
chore(deps): bump LibLUV to 1.34.1 and lua-compat-53 to 0.9 (#14985)
This bumps the bundled LibLUV to 1.34.1 in order to make the newly introduced `uv.fs_mkstemp` available in the official builds. (The minimum required version remains at 1.30.1.)

The bump of lua-compat-53 to 0.9 is needed to build with the updated LibLUV.
2021-07-05 14:30:50 +02:00
Jan Edmund Lazo 94583483f9
deps(curl): v7.77.0 (#14961)
https://github.com/neovim/neovim/issues/14078#issuecomment-870882357
d66e306abf
2021-07-02 17:44:05 -07:00
Christian Clason 836c310321 feat(ts): bump tree-sitter to v0.20.0 2021-06-30 12:11:35 +02:00
Oliver Marriott e2bc0bf665
fix(ci): adjust DEPS_INSTALL_DIR on OpenBSD to avoid pkg-config bug (#14803)
Also bumps to OpenBSD 6.9 and updates packages.

Co-authored-by: glacambre <code@lacamb.re>
2021-06-13 14:03:47 -04:00
Thomas Vigouroux 3085788a3e
deps(treesitter): bump to 0.19.5+
This fixes a bunch of issues with queries.
2021-06-11 14:15:27 +02:00
Jan Edmund Lazo dc18c1e3ee
win/package: update wintools.zip for curl v7.76.1 (#14570)
https://github.com/neovim/neovim/issues/14078
2021-05-17 14:57:46 +02:00
Jan Edmund Lazo cd5fde6e6c
neovim-qt: v0.2.16.1 (#14514)
nvim-qt --help/version should work without $DISPLAY

https://github.com/equalsraf/neovim-qt/compare/v0.2.16...v0.2.16.1
2021-05-08 12:17:25 -04:00
Jan Edmund Lazo 02909d150e
win/package: update wintools.zip (#14408)
This does not have 7za.exe and tidy.exe.

Ref: https://github.com/neovim/neovim/issues/14078
2021-04-20 15:54:22 +02:00
Jan Edmund Lazo 7bf62ab022
win/package: remove cat,tidy (#14402)
Neovim should not bundle external tools
that are not needed in the runtime environment.

cat.exe is meant for tests only.
Install a mingw/msys2/busybox environment which bundle cat.exe.
tidy.exe was never used in tests and is not required in Neovim runtime.
busybox and tidy.exe can be installed via scoop.

Ref: https://github.com/neovim/neovim/issues/14078
2021-04-20 01:02:42 -04:00
Mathias Fussenegger 3c2bc05f94 treesitter: Update to 0.19.4+2 2021-03-26 10:23:39 +01:00
Björn Linse e8a0ff001f
Merge pull request #14076 from mfussenegger/treesitter019
treesitter: Update to 0.19.3
2021-03-15 18:06:26 +01:00
Raymond W. Ko 097ec71bd8
aarch64/linux: fix build by updating LuaJIT (#14096) 2021-03-10 18:14:14 -05:00
Mathias Fussenegger b73e653703 treesitter: Update to 0.19.3 2021-03-09 19:21:26 +01:00
Thomas Vigouroux 6d07d18f91
deps(treesitter): bump C parser and runtime
It's been a while since we bumped the C parser version, and a few ABI
versions have been realised since.
2021-01-26 15:17:10 +01:00
James McCoy 9c5b4c87e1
third-party: Always set DEPLOYMENT_TARGET when building LuaJIT on macOS
LuaJIT build now requires specifying a deployment target, so use the
same baseline as our nightly builds.

Co-authored-by: Christian Clason <christian.clason@uni-due.de>
2020-12-13 21:03:27 -05:00
Tae Won Ha 12709c475b
Use the latest luajit for arm64 Mac compatibility. 2020-12-13 21:03:19 -05:00
Daniel Hahler 4c6628a7eb deps: fix BuildLuv without bundled libuv
Fixes:

    % rm -rf .deps
    % cmake -DUSE_BUNDLED_LUV=ON -DUSE_BUNDLED=OFF -S third-party -B .deps
    % cmake --build .deps
    ...
    [ 50%] Building C object CMakeFiles/luv.dir/src/luv.c.o
    /home/daniel/Vcs/neovim/.deps/build/src/luv/src/luv.c:20:10: fatal error: c-api/compat-5.3.h: No such file or directory
       20 | #include "c-api/compat-5.3.h"
          |          ^~~~~~~~~~~~~~~~~~~~
    compilation terminated.

This was broken since 78f1eccc8, where apparently the `LUA_COMPAT53_DIR`
was defined in a wrong location.
2020-11-16 13:52:50 +01:00
erw7 05cef2f105 third-party: fix build failures in MSVC 2020-11-04 19:51:54 +09:00
Thomas Vigouroux 9e9137ef04
deps(tree-sitter): dump to 0.17.3
Also test the the bundling works correctly.
2020-11-03 13:40:44 +01:00
Thomas Vigouroux 823cc66509
deps(treesitter): bump up to 0.17.1 2020-11-03 10:39:36 +01:00
Thomas Vigouroux 3eb241d831
bundle: move tree-sitter as a bundled dep
fixup! bundle: move tree-sitter as a bundled dep

fixup! bundle: move tree-sitter as a bundled dep
2020-11-03 10:39:35 +01:00
erw7 29deb5dc31 ci/appveyor: change to update package database 2020-10-27 10:49:51 +09:00
Christian Clason 7de276b877 bump libvterm to 0.1.4 2020-08-27 20:01:14 +02:00
Christian Clason 38145b919d
build: remove duplicate empty CONFIGURE_COMMAND (#12676)
The cmake file for libvterm had an empty CONFIGURE_COMMAND "", which tells cmake to skip the configure step for this dependency (even though a later patch added another, actual, CONFIGURE_COMMAND two lines below). Evidently the recently released cmake 3.18.0 is pickier about this than previous versions, causing the build to fail. Removing this line makes the build successful again.
2020-07-24 22:39:12 +02:00
John Gehrig 5f0a1b04c1
neovim-qt: bump to version 0.2.16 (#12508) 2020-06-19 13:47:55 +02:00
erw7 bb2be0de38 deps: update libuv
https://github.com/neovim/neovim/pull/11808
https://github.com/neovim/libuv/pull/12

v1.34.2
  * darwin: stop calling SetApplicationIsDaemon() (Ben Noordhuis)
  * osx,fsevent: fix race during uv_loop_close (Jameson Nash)
  * unix: handle uv__open_cloexec return value correctly (Anna Henningsen)
v1.34.1
  * unix: fix -Wstrict-aliasing compiler warning (Ben Noordhuis)
  * unix: cache address of dlsym("mkostemp") (Ben Noordhuis)
  * win,tty: avoid regressions in utf-8 handling (Jameson Nash)
  * win: remove bad assert in uv_loop_close (Jameson Nash)
  * tty,unix: avoid affecting controlling TTY (Jameson Nash)
v1.34.0
  * unix: refactor uv__fs_copyfile() logic (cjihrig)
  * fs: handle non-functional statx system call (Milad Farazmand)
  * unix,win: add uv_sleep() (cjihrig)
  * fs: add uv_fs_mkstemp (Saúl Ibarra Corretgé)
v1.33.0
  * win: fix reading hidden env vars (Anna Henningsen)
  * unix,win: add uv_random() (Ben Noordhuis)
  * win, tty: fix problem of receiving unexpected SIGWINCH (erw7)
  * fs: use statvfs in uv__fs_statfs() for Haiku (Calvin Hill)
  * fsevents: stop using fsevents to watch files (Jameson Nash)
  * win,tty: add uv_tty_{get,set}_vterm_state (erw7)
  * unix: update uv_fs_copyfile() fallback logic (Stefan Bender)
  * win: cast setsockopt struct to const char* (Shelley Vohr)
  * unix: fix {Net,Open}BSD build
2020-05-26 14:16:09 +09:00
Thomas Vigouroux e10f9151dc treesitter: remove utf8proc dependency 2020-04-18 09:21:03 +02:00
erw7 78f1eccc86
deps: Fix luv-static build issues #11961
- Fix an issue where CMAKE_BUILD_TYPE was not reflected during
  construction.
- Remove the switch that uses the static library(-MTd, -MT) because it was
  specified in the CMakeLists.txt of luv when building on MSVC.

related: https://github.com/luvit/luv/pull/461
2020-02-29 13:47:56 -08:00
Justin M. Keyes 322b2731ed deps: lua-client 0.2.2-1 2020-02-16 17:24:21 -08:00
erw7 146598efcc
build: Fix MSVC build failure on CI #11865
clean-shared-libraries does nothing useful in MSVC build. Nevertheless,
it deletes ${DEPS_INSTALL_DIR}/lib/nvim/parser/c.dll and causes build
failure in CI.
2020-02-14 00:45:41 -08:00
Florian Walch 3f217741ec Build tree-sitter out-of-source
Avoids having CMakeCache.txt etc in https://github.com/neovim/deps, where it can cause trouble for Ubuntu PPA builds such as:

> CMake Error: The source "/<<BUILDDIR>>/neovim-0.5.0+ubuntu1+git202002090924-1f479ff-00e710e/.deps/build/src/treesitter-c/CMakeLists.txt" does not match the source "/home/travis/build/neovim/bot-ci/build/deps-src/build/src/treesitter-c/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
2020-02-10 21:52:33 +01:00
Matthieu Coudron 712298e1d3 build: allow to skip treesitter C parser install
if USE_BUNDLED_TS_PARSERS is set to off, don't try to install the
parser.
Distribs can install treesitter parsers directly into $CMAKE_LIBRARY_PATH/nvim
(and users anywhere in rtp).

Also fix the URL.
2020-02-07 20:42:27 +01:00
Björn Linse 120a4c8e25
Merge pull request #11757 from bfredl/treesitter_runtime
treesitter: add standard search path for parsers + bundle c parser properly
2020-02-07 10:41:02 +01:00
Björn Linse 64807303df build: include tree-sitter-c parser in bundled build 2020-02-07 09:22:55 +01:00
b-r-o-c-k 882f4a6f8e deps/msvc: gettext 0.20.1 2020-02-06 14:08:06 -06:00
Justin M. Keyes 09016d979b 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_vasprintf.
    2018-11-25  Bruno Haible  <bruno@clisp.org>
            msginit: On native Windows, produce same PO header as on Unix.
            envsubst: On native Windows, produce output suitable for the shell.
            * autogen.sh (GNULIB_MODULES_RUNTIME_FOR_SRC): Add 'binary-io'.
            binary mode.
            output.
            convention in the output.
            (GETTEXTDATADIR): On mingw, use native Windows syntax.
            wabs_top_srcdir instead of abs_top_srcdir.
            of gl_locale_name_environ to XPG syntax.
            Update to newest gnulib.
    2018-11-25  Bruno Haible  <bruno@clisp.org>
            This creates a bootstrapping issue, but it can be mitigated:
            If a user wants to build GNU gettext on a platform which does not have the
            GNU gettext programs installed, they first need to build and install a tarball
            of GNU gettext; then only they can build GNU gettext from the git repository.
    2018-11-25  Bruno Haible  <bruno@clisp.org>
            Amend 'Stop installing the intl/ subdir sources.' commit from 2018-11-11.
            $prefix/share/gettext/intl directory.
            Fix compilation error on mingw (regression from 2018-11-04).
            literalstring_parser initializer.
    2018-11-21  Pavel Raiskup  <praiskup@redhat.com>
            msgfmt: fix C&P issue
            Use 'end' for buffer size computation, instead of NULL 'ellipsis'.
            format-kde-kuit: really use fallback markup
            methods when FORMAT_KDE_KUIT_USE_FALLBACK_MARKUP is defined.  Also
            free buffer if there's no support for XML.
    2018-11-18  Bruno Haible  <bruno@clisp.org>
            msgmerge must produce output that is stable under msgcat.
            Reported by Ludovic Courtès <ludo@gnu.org>
            in <https://savannah.gnu.org/bugs/?51027>.
            and '*-format' flags.
    2018-11-18  Bruno Haible  <bruno@clisp.org>
            gettextize: Give more advice.
            AM_GNU_GETTEXT_INTL_SUBDIR invocations.
            Simplify Autoconf macros.
            argument. Use libtool always. Remove variables that existed only for backward
            compatibility.
            * autogen.sh: Ignore gettext.m4 and intl.m4 from gnulib.
            (libintl.a, libgnuintl.a): Remove rule.
            (.o): Remove suffix rule.
            (install-exec, installdirs, uninstall, distclean, dist, distdir): PACKAGE cannot
            be anything else than gettext-runtime and gettext-tools any more.
    2018-11-17  Bruno Haible  <bruno@clisp.org>
            Make 'make distcheck' work in a VPATH build.
            source dir, not in the build dir.
            build dir, not in the source dir.
            (SMALLPOFILES_FOR_lang): Prefix file names with $(srcdir).
            (hello-*/po/*.po): Likewise. Execute mmsmallpo.sh in $(srcdir).
    2018-11-11  Bruno Haible  <bruno@clisp.org>
            gettextize: Install also host-cpu-c-abi.m4 (needed since 2018-03-24).
            * PACKAGING: Mention host-cpu-c-abi.m4.
            Update to newest gnulib.
            Update packaging instructions.
            * PACKAGING: Update file list.
            gettextize: Require automake >= 1.9.
            automake >= 1.9 is not found. Stop installing intldir.m4, intl.m4 and its
            dependencies.
            to have automake >= 1.9.
            extern-inline.m4, fcntl-o.m4, glibc2.m4, glibc21.m4, intdiv0.m4, intl.m4,
            intl-thread-locale.m4, intldir.m4, intmax.m4, inttypes_h.m4, inttypes-pri.m4,
            lcmessage.m4, lock.m4, longlong.m4, printf-posix.m4, size_max.m4, stdint_h.m4,
            threadlib.m4, uintmax_t.m4, visibility.m4, wchar_t.m4, wint_t.m4, xsize.m4.
            * PACKAGING: Remove the *.m4 files that are no longer installed.
            Stop installing the intl/ subdir sources.
            (DISTFILES.obsolete): Remove variable.
            (install-data): Don't install nor remove anything.
            (installdirs): Don't create $(gettextsrcdir).
            archive.
            * PACKAGING: Remove mention of $prefix/share/gettext/intl/ directory.
            gettextize: Remove --intl option.
            Signal an error if the --intl option is specified.
            Simplify main code accordingly.
            directory.
            (configure.ac): Suggest to use AM_GNU_GETTEXT([external]) always. Remove mention
            of intl/ directory.
            (config.guess): Suggest them always.
            (aclocal): Shrink the list of .m4 files.
            (acconfig): Remove subsection.
            (config.h.in): Remove mention of intl/ directory.
            (AM_GNU_GETTEXT): First argument must be 'external'. Remove third argument.
            (AM_GNU_GETTEXT_INTL_SUBDIR): Remove subsection.
            (Language Implementors): Remove mention of intl/ directory. Mention that
            Solaris 11 gettext works like GNU gettext.
            (Maintainers for other Languages): Remove mention of intl/ directory.
    2018-11-09  Bruno Haible  <bruno@clisp.org>
    2018-11-08  Bruno Haible  <bruno@clisp.org>
    2018-11-05  Bruno Haible  <bruno@clisp.org>
            xgettext: C: Treat invalid escape sequences like GCC does.
            produce c, not a backslash.
            xgettext: Simplify calling convention of arglist_parser_remember.
            'msgid_comment_is_utf8' field.
            (arglist_parser_remember): Add comment_is_utf8 argument.
            arglist_parser_clone): Update.
            (arglist_parser_remember): Add comment_is_utf8 argument.
            (arglist_parser_done): Pass comment_is_utf8 value down to remember_a_message.
            xgettext_current_source_encoding around arglist_parser_remember calls.
            xgettext: Delay calls to from_current_source_encoding, part 2.
            (struct partial_call): Change type of fields msgctxt, msgid, msgid_plural to
            'mixed_string_ty *'.
            (arglist_parser_remember, arglist_parser_remember_msgctxt): Take a
            'mixed_string_ty *' argument instead of a 'char *' argument.
            accordingly.
            (arglist_parser_remember, arglist_parser_remember_msgctxt): Take a
            'mixed_string_ty *' argument.
            (arglist_parser_done): Convert the mixed_string to UTF-8 encoded 'char *' here.
            This is where from_current_source_encoding gets invoked now: immediately before
            invoking remember_a_message, that is, only when we really need to know the
            --from-source encoding.
            arglist_parser_remember. Don't set xgettext_current_source_encoding around
            arglist_parser_done calls.
            (read_object): Convert the string to a mixed_string_ty before passing it to
            arglist_parser_remember.
            (extract_parenthesized): Convert the string to a mixed_string_ty before passing
            it to arglist_parser_remember.
            (extract_balanced): Convert the string to a mixed_string_ty before passing it to
            arglist_parser_remember.
            (extract_balanced): Convert the string to a mixed_string_ty before passing it to
            arglist_parser_remember.
            (read_command): Convert the string to a mixed_string_ty before passing it to
            arglist_parser_remember.
            (read_command): Convert the string to a mixed_string_ty before passing it to
            arglist_parser_remember.
            mixed_string_ty before passing it to arglist_parser_remember. Don't set
            xgettext_current_source_encoding around arglist_parser_done calls.
            xgettext: Simplify calling convention of remember_a_message.
            remember_a_message_plural): Add is_utf8, comment_is_utf8 arguments.
            remember_a_message_plural): Likewise.
            extract_balanced): Likewise.
            xgettext: Delay calls to from_current_source_encoding, part 1.
            * xg-mixed-string.h (enum segment_type, struct mixed_string_segment,
            struct mixed_string, mixed_string_ty): New types.
            (mixed_string_alloc_simple, mixed_string_alloc_utf8, mixed_string_clone,
            mixed_string_contents, mixed_string_free, mixed_string_contents_free1,
            mixed_string_concat, mixed_string_concat_free1): New declarations.
            (struct mixed_string_buffer): Change internal representation to use segments.
            (mixed_string_buffer_result): Change return type to 'mixed_string_ty *'.
            * xg-mixed-string.c: Include flexmember.h, msgl-ascii.h, po-charset.h.
            (segment_alloc, segment_clone, mixed_string_alloc_simple,
            mixed_string_alloc_utf8, mixed_string_clone, mixed_string_contents,
            mixed_string_free, mixed_string_contents_free1, mixed_string_concat,
            mixed_string_concat_free1): New functions.
            (mixed_string_buffer_init, mixed_string_buffer_is_empty): Change to match new
            internal representation.
            (mixed_string_buffer_grow_curr_buffer): New function.
            (mixed_string_buffer_grow_utf8_buffer): Remove function.
            (mixed_string_buffer_append_to_utf8_buffer): Update accordingly.
            (mixed_string_buffer_flush_curr_buffer): Remove function.
            (mixed_string_buffer_add_segment, mixed_string_buffer_flush_curr): New
            functions.
            (mixed_string_buffer_append_char, mixed_string_buffer_append_unicode,
            mixed_string_buffer_destroy, mixed_string_buffer_result): Change to match new
            internal representation.
            * x-c.c (struct token_ty): New field 'mixed_string'.
            (free_token): Update accordingly.
            (phase5_get, phase6_get, phase8a_get): For tokens of type
            token_type_string_literal, use a mixed_string.
            (phase8_get): Use mixed_string_concat_free1.
            (struct xgettext_token_ty): New field 'mixed_string'.
            (x_c_lex, extract_parenthesized): For tokens of type
            xgettext_token_type_string_literal, use a mixed_string.
            * x-csharp.c (comment_line_end): Update.
            (struct token_ty): New field 'mixed_string'.
            (free_token): Update accordingly.
            (phase6_get): For tokens of type token_type_string_literal, use a mixed_string.
            (phase7_get): Use mixed_string_concat_free1.
            (extract_parenthesized): For tokens of type token_type_string_literal, use a
            mixed_string.
            * x-java.c (comment_line_end): Update.
            (struct token_ty): New field 'mixed_string'.
            (free_token): Update accordingly.
            (phase5_get): For tokens of type token_type_string_literal, use a mixed_string.
            (phase6_get): Use mixed_string_concat_free1.
            (extract_parenthesized): For tokens of type token_type_string_literal, use a
            mixed_string.
            * x-javascript.c (comment_line_end): Update.
            (struct token_ty): New field 'mixed_string'.
            (free_token): Update accordingly.
            (phase5_get): For tokens of type token_type_string, use a mixed_string.
            (x_javascript_lex): Use mixed_string_concat_free1.
            (extract_balanced): For tokens of type token_type_string, use a mixed_string.
            * x-python.c (comment_line_end): Update.
            (struct token_ty): New field 'mixed_string'.
            (free_token): Update accordingly.
            (phase5_get): For tokens of type token_type_string, use a mixed_string.
            (x_python_lex): Use mixed_string_concat_free1.
            (extract_balanced): For tokens of type token_type_string, use a mixed_string.
            * x-rst.c (extract_rsj): Update.
            * x-vala.c (struct token_ty): New field 'mixed_string'.
            (free_token): Update accordingly.
            (phase3_get): For tokens of type token_type_string_literal, use a mixed_string.
            For tokens of type token_type_string_template, fix a memory leak.
            (x_vala_lex): Use mixed_string_concat_free1.
            (extract_balanced): For tokens of type token_type_string_literal, use a
            mixed_string.
            xgettext: JavaScript: Make more use of mixed_string_buffer.
            (init_unicode_string_buffer, unicode_string_buffer_append_unicode_grow,
            unicode_string_buffer_append_unicode, unicode_string_buffer_result,
            free_unicode_string_buffer): Remove functions.
            (comment_buffer, comment_start, comment_at_start, comment_add,
            comment_line_end): Use mixed_string_buffer API.
            xgettext: Python: Make more use of mixed_string_buffer.
            (init_unicode_string_buffer, unicode_string_buffer_append_unicode_grow,
            unicode_string_buffer_append_unicode, unicode_string_buffer_result,
            free_unicode_string_buffer): Remove functions.
            (comment_buffer, comment_start, comment_at_start, comment_add,
            comment_line_end): Use mixed_string_buffer API.
            xgettext: Change the C# extractor to make use of mixed_string_buffer.
            (init_string_buffer, string_buffer_append_unicode_grow,
            string_buffer_append_unicode, string_buffer_result, free_string_buffer): Remove
            functions.
            (comment_buffer, comment_start, comment_at_start, comment_add,
            comment_line_end): Use mixed_string_buffer API.
            (phase6_get): Likewise.
            xgettext: Optimize away a memory allocation.
            stack, not on the heap.
            mixed_string_buffer statically, not on the heap.
            mixed_string_buffer_done): Remove declarations.
            mixed_string_buffer_done): Remove functions.
            xgettext: Change the Java extractor to make use of mixed_string_buffer.
            (mixed_string_buffer_init, mixed_string_buffer_is_empty,
            mixed_string_buffer_destroy, mixed_string_buffer_result): New declarations.
            (mixed_string_buffer_init): New function.
            (mixed_string_buffer_alloc): Invoke it.
            (mixed_string_buffer_is_empty): New function, based on comment_at_start in
            x-java.c.
            (mixed_string_buffer_append_lone_surrogate): New function, based on
            string_buffer_append_lone_surrogate in x-java.c.
            (mixed_string_buffer_flush_utf16_surr, mixed_string_buffer_append_unicode): Use
            it.
            (mixed_string_buffer_destroy, mixed_string_buffer_result): New functions.
            (mixed_string_buffer_done): Invoke mixed_string_buffer_result.
            (struct string_buffer): Remove type.
            (init_string_buffer, string_buffer_append_byte,
            string_buffer_append_unicode_grow, string_buffer_append_unicode,
            string_buffer_append_lone_surrogate, string_buffer_flush_utf16_surr,
            string_buffer_flush_curr_buffer): Remove functions.
            (mixed_string_buffer_append): Renamed from string_buffer_append. Use
            mixed_string_buffer.
            (string_buffer_result, free_string_buffer): Remove functions.
            (comment_buffer, comment_start, comment_at_start, comment_add,
            comment_line_end): Use mixed_string_buffer API.
            (accumulate_escaped, phase5_get): Likewise.
            xgettext: Share some more code among extractors.
            (xgettext_SOURCES): Add xg-pos.c.
            (real_file_name, logical_file_name, line_number): Remove variables.
            xgettext: Split source code into smaller files.
            gettext-tools/src/xgettext.h.
            gettext-tools/src/xgettext.c.
            and xg-*.h.
            (add_all_comments, comment_tag, msgstr_prefix, msgstr_suffix,
            default_syntax_check, current_formatstring_parser1,
            current_formatstring_parser2, current_formatstring_parser3): New declarations.
            (xgettext_comment, xgettext_comment_reset, savable_comment_to_xgettext_comment,
            recognize_qt_formatstrings): New declarations.
            (substring_match): Remove obsolete declaration.
            Include <iconv.h>, rc-str-list.h, xg-encoding.h, xg-arglist-context.h,
            xg-message.h. Don't include xsize.h, po-xerror.h, unistr.h.
            (add_all_comments, comment_tag, msgstr_prefix, msgstr_suffix,
            default_syntax_check): Make global.
            (split_keywordspec, insert_keyword_callshape): Moved to xg-arglist-callshape.c.
            (null_context, passthrough_context, inherited_context,
            null_context_list_iterator, passthrough_context_circular_list,
            passthrough_context_list_iterator, flag_context_list_iterator,
            flag_context_list_iterator_advance, flag_context_list_table_lookup): Move to
            xg-arglist-context.c.
            (flag_context_list_table_insert): Move bulk of body to new function
            flag_context_list_table_add in xg-arglist-context.c.
            (xgettext_comment, xgettext_comment_reset, savable_comment_to_xgettext_comment):
            Make global.
            (current_formatstring_parser1, current_formatstring_parser2,
            current_formatstring_parser3): Make global.
            (non_ascii_error_message, from_current_source_encoding): Move to xg-encoding.c.
            (CONVERT_STRING, set_format_flags_from_context, warn_format_string,
            remember_a_message, remember_a_message_plural): Move to xg-message.c.
            (arglist_parser_alloc, arglist_parser_clone, arglist_parser_remember,
            arglist_parser_remember_msgctxt, arglist_parser_decidedp, arglist_parser_done):
            Move to xg-arglist-parser.c.
            (mixed_string_buffer_alloc, mixed_string_buffer_append_to_curr_buffer,
            mixed_string_buffer_grow_utf8_buffer, mixed_string_buffer_append_to_utf8_buffer,
            mixed_string_buffer_flush_utf16_surr, mixed_string_buffer_flush_curr_buffer,
            mixed_string_buffer_append_char, mixed_string_buffer_append_unicode,
            mixed_string_buffer_done): Move to xg-mixed-string.c.
            (recognize_qt_formatstrings): New function.
            (xgettext_SOURCES): Add the new .c files.
            xgettext: Fix crash when parsing invalid \Uxxxxxxxx escape sequence.
            xgettext: Add support for C++11 raw string literals.
            xgettext: Add support for C11 string literals.
            xgettext: Vala: Improve parsing of escape sequences.
            Do recognize \$.
    2018-11-05  Bruno Haible  <bruno@clisp.org>
            xgettext: Fix result for concatenation of strings with escape sequences.
            Reported by Morten Welinder <mwelinder@gmail.com>
            in <https://lists.gnu.org/archive/html/bug-gettext/2015-12/msg00017.html>
            and <https://savannah.gnu.org/bugs/?46756>.
            Revert commits from
            2014-05-07 xgettext: Provide a way to interpret string literals lazily
            2014-05-07 c: Interpret string literals lazily
            2014-05-09 vala: Interpret string literals lazily
            2014-12-02 c: Support C++11 string literals
            and subsequent fixes of these.
            declaration.
            (enum literalstring_escape_type, struct literalstring_parser): Remove types.
            (struct partial_call): Update.
            (arglist_parser_remember_literal): Remove declaration.
            'literalstring_parser' field.
            (savable_comment_convert_encoding): Remove function.
            (current_literalstring_parser): Remove variable.
            (extract_from_file, arglist_parser_alloc, arglist_parser_clone): Update.
            (arglist_parser_remember_literal): Remove function.
            (arglist_parser_remember_msgctxt): Simplify accordingly.
            literalstring_parser.
            (phase7_getc, phase7_ungetc): Reinstantiate functions.
            (phase5_get): Simplify. Use phase7_getc.
            literalstring_parser.
            (phase7_getc, phase7_ungetc): Reinstantiate functions.
            (phase3_get): Simplify. Use phase7_getc.
            (extract_balanced): Simplify.
    2018-11-05  Bruno Haible  <bruno@clisp.org>
            (EXTRA_DIST): Add xg-c-24.c, xg-vala-2.vala.
            expected result for backslash-NUL.
    2018-11-04  Bruno Haible  <bruno@clisp.org>
            Reported by Morten Welinder <mwelinder@gmail.com>
            in <https://lists.gnu.org/archive/html/bug-gettext/2015-12/msg00017.html>
            and <https://savannah.gnu.org/bugs/?46756>.
    2018-11-04  Bruno Haible  <bruno@clisp.org>
            xgettext: JavaScript: Fix a memory leak.
            token_type_keyword.
    2018-10-28  Bruno Haible  <bruno@clisp.org>
            Verify the exit code of the xgettext invocation.
    2018-10-25  Bruno Haible  <bruno@clisp.org>
            po, examples: Change .po -> .gmo rules to consider the newest changes to the POT file.
            Reported by Claude Paroz <claude@2xlibre.net>
            in <https://savannah.gnu.org/bugs/?50910>.
            first in $PATH.
            (MSGMERGE_FOR_MSGFMT_OPTION): New variable.
            (.po.gmo): Depend on the POT file. Use msgmerge on the fly, to take into
            account the most recent POT file changes.
            update-properties, update-classes targets.
            (MSGMERGE_FOR_MSGFMT_OPTION): New variable.
            ($(STRINGSFILES)): Depend on the POT file. Use msgmerge on the fly, to take
            into account the most recent POT file changes.
    2018-10-25  Bruno Haible  <bruno@clisp.org>
            msgmerge: New option --for-msgfmt.
            (long_options): Add option --for-msgfmt.
            (main): Handle option --for-msgfmt.
            (usage): Document option --for-msgfmt.
            (match_domain): When --for-msgfmt is given, omit untranslated and fuzzy messages
            from the result.
            (merge): When --for-msgfmt is given, don't add obsolete messages to the result.
            Add ability to write PO files without translator comment lines.
            (message_print_style_comment): New function.
            (message_print_comment): Output nothing if print_comment is false.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            Improve reliability of 'make dist'.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            po, examples: Put stamp-po in the source directory.
            Talk about "version control system", not CVS.
            stamp-po file does not exist in the build dir, except when using the older
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            po: Make "make maintainer-clean" erase the .pot file.
            Rationale:
            <https://www.gnu.org/prep/standards/html_node/Standard-Targets.html>
            <https://www.gnu.org/software/automake/manual/html_node/Clean.html>
            the .pot file.
            func_check_maintainerclean_vpath): Verify the .pot file is removed after
            infrastructure.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            po, examples: Use case-insensitive search for "GNU <PACKAGE_NAME>".
            Reported by Akim Demaille <akim@lrde.epita.fr> in
            <https://lists.gnu.org/archive/html/bug-gettext/2018-10/msg00020.html>.
            case-insensitive search for "GNU <PACKAGE_NAME>".
            Likewise.
            ($(DOMAIN).pot-update): Likewise.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            (.SUFFIXES): Remove .mo.
            (.po.mo): Remove rule.
            (distclean): Don't remove *.mo files.
            (.po.mo): Remove rule.
            (DISTCLEANFILES): Remove *.mo.
            Remove .mo.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            Remove outdated DJGPP build infrastructure.
            Approved by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
            * djgpp: Remove directory.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            examples: Add support for msgmerge --previous.
            option --previous when the msgmerge program supports it.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            examples: Support reading header comments from file.
            from today.
            Replace header entry with the content of $(DOMAIN).pot-header, if exists.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            examples: Make it possible to pass custom options to msginit.
            This mirrors the Makevars change from 2014-10-08.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            examples: Add an option to claim the package as GNU/non-GNU.
            Reported by David Shea at <https://savannah.gnu.org/bugs/?40520>.
            ($(DOMAIN).pot-update): Don't search for "GNU packagename" if $(PACKAGE_GNU) is
            set.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            examples: Upgrade to newest Makevars.
            PO_DEPENDS_ON_POT, DIST_DEPENDS_ON_UPDATE_PO): New variables.
            version 0.19.8.
            files.
            func_check_maintainerclean_vpath): Allow left-over .po~ files.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            examples: Avoid grepping through monster files.
            Reported by Jim Meyering <jim@meyering.net>.
            GNU find is available, avoid grepping through monster files.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            examples: Don't create unnecessary installation directories.
            Reported by Serge Pavlovsky <pal666@gmail.com>.
            installdirs-local-yes): Remove unnecessary MKDIR_P invocations.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            po: Make the insertion of the .pot-header file more robust.
            This improves on the 2015-09-01 patch.
            command fails.
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            po: When doing msgmerge --version, use the correct msgmerge program.
            This reverts the patch from
            <https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00000.html>.
            Rationale:
            <https://lists.gnu.org/archive/html/bug-gettext/2018-10/msg00000.html>.
            not $(MSGMERGE).
    2018-10-24  Bruno Haible  <bruno@clisp.org>
            po: Make $(POFILES) target more robust.
            It was introduced on 2014-05-01.
            PO file does not yet exist. Fail if creation of the POT file fails.
    2018-10-23  Bruno Haible  <bruno@clisp.org>
            Update list of files to check with gnulib.
            intl: Improve support for per-thread locales on Solaris 11.4.
            Handle HAVE_SOLARIS114_LOCALES through Solaris specific code.
            localename-table.h.
            gettext-runtime/m4/intlsolaris.m4.
            (gt_INTL_THREAD_LOCALE_NAME): Renamed from gt_INTL_SOLARIS. Define
            HAVE_SOLARIS114_LOCALES instead of HAVE_NAMELESS_LOCALES.
            HAVE_NAMELESS_LOCALES.
            (gt_INTL_SUBDIR_CORE): Don't invoke gt_INTL_SOLARIS. Don't set
            HAVE_NAMELESS_LOCALES here.
            intlsolaris.m4.
            intlsolaris.m4.
            intlsolaris.m4.
            intlsolaris.m4.
            * PACKAGING: List intl-thread-locale.m4, not intlsolaris.m4.
            Update to newest gnulib.
            intl: Fix support for per-thread locales on Solaris 11.4.
            gettext-runtime/intl/localename-table.h.
            localename-table.h.
            (localename-table.h): New target.
            (localename.$lo, localename-table.$lo): Update dependencies.
            (mostlyclean): Remove localename-table.h.
    2018-10-23  Daiki Ueno  <ueno@gnu.org>
            xgettext: Fix compiler warning
            implicit argument.  Reported in:
            <https://savannah.gnu.org/bugs/?48404>.
    2018-10-23  Bruno Haible  <bruno@clisp.org>
            Update after gnulib changed.
            * configure.ac: Require Autoconf >= 2.63.
            Update from gnulib: Assume Autoconf >= 2.63.
            AC_USE_SYSTEM_EXTENSIONS exists.
            Autoconf < 2.61.
            Update from gnulib: Assume Automake >= 1.11.
            Eliminate uses of 'eval'.
            Update from gnulib: Make better use of Autoconf.
    2018-10-23  Bruno Haible  <bruno@clisp.org>
            intl: Add support for per-thread locales on Solaris 11.4.
            Relies on the recent changes to the 'localename' module in gnulib.
            overriding declarations.
            (SOURCES): Add localename-table.c.
            (OBJECTS): Add localename-table.$lo.
            (localename-table.lo): New target.
            (libgnuintl.h, libintl.h): Substitute also HAVE_NAMELESS_LOCALES.
            Instead, invoke gt_INTL_SOLARIS. Set HAVE_NAMELESS_LOCALES.
            gnulib.
            * PACKAGING: Add intlsolaris.m4 to the list of installed files.
    2018-10-23  Bruno Haible  <bruno@clisp.org>
            Update to newest gnulib.
            examples: Fix another build failure.
            hello.rsj.
    2018-10-21  Bruno Haible  <bruno@clisp.org>
            system's <libintl.h>.
            system's <libintl.h>.
            the system's <libintl.h> and setenv instead of xsetenv, and no fake setlocale.
            $LOCALE_FR and $LOCALE_FR_UTF8.
            and fa_IR.UTF-8.
            Update comments.
            Don't limit to fixed set of platforms.
            Don't limit to fixed set of platforms.
            Update PACKAGING documentation.
            * PACKAGING: Remove mention of charset.alias (dropped on 2018-05-19).
            Mention that libintl does not get installed on Solaris 11.
            not the gettext-runtime/src source dir, to PATH.
    2018-10-20  Bruno Haible  <bruno@clisp.org>
            Fix 'make dist' (recent regression).
            hello-pascal/hello.rst.
    2018-10-19  Bruno Haible  <bruno@clisp.org>
            examples: Modernize configure.ac.
            AM_INIT_AUTOMAKE syntax. Require automake >= 1.11.
            examples: Add a script for checking against mistakes.
            * Admin/release-steps: Mention check-examples.
            examples: hello-pascal: Fix 'make distcheck'.
            hello.rsj into $(srcdir) only if the new contents differs from the old contents.
            examples: hello-java*: Fix 'make distcheck'.
            the new .properties files in the build dir and move them to $(srcdir) only if
            the new contents differs from the old contents.
            (update-classes): Likewise, also for .class files.
    2018-10-18  Bruno Haible  <bruno@clisp.org>
            examples: hello-csharp*: Improve 'make maintainer-clean'.
            Don't list the $(RESOURCESDLLFILES) here.
            (maintainer-clean-local): Instead, remove them and their parent directories
            here.
            examples: hello-php: Fix runtime error.
            the return value of the printf function.
            examples: hello-tcl*: Fix runtime error.
            absolute file name without variable references.
            examples: hello-clisp: Fix runtime error with clisp versions >= 2.34.
            PROCESS-ID, not PROGRAM-ID.
            examples: Fix 'make dist' failures in VPATH builds.
            'stamp-po' after having done target 'update-po'.
            examples: hello-pascal: Fix 'make dist' failure in VPATH builds.
            in $(srcdir), not in the build dir.
            examples: hello-pascal: Fix 'make dist'.
            file.
            examples: hello-java*: Fix "make dist".
            and CLASSFILES to contain files in $(srcdir), not in $(top_srcdir).
            from the po/ directory.
            Add the .properties and the .class files.
            (EXTRA_DIST): Add the .properties files.
            (update-properties, update-classes): Generate the .properties and .class files
            in the po/ directory, not in the top-level directory.
            the po/ directory, not in the top-level directory.
            examples: Fix 'make dist'.
            that are brought in by 'autopoint'.
            examples: Fix 'make' failures in VPATH builds.
            MAINTAINERCLEANFILES): Remove variables.
            (hello.jar): Use two jar commands, to combine .class files from the build dir
            with .properties files from the source dir.
            update-classes): Reference the .pot file in the source dir, not in the build
            dir.
            (echo-catalogs): Include the fallback catalog.
            prefix.
            (hello$(EXEEXT)): Use -o option to specify where the object file and the
            executable file shall be created.
    2018-10-17  Bruno Haible  <bruno@clisp.org>
            examples: hello-csharp-forms: Fix 'make clean'.
            hello.net.exe.mdb.
            examples: hello-csharp: Fix 'make clean'.
            hello.net.exe.mdb.
            examples: hello-objc-gnustep: Fix 'make distclean'.
            Remove the *.lproj directories.
            Remove remove-potcdate.sed.
            examples: hello-pascal: Fix 'make maintainer-clean'.
            variable.
            examples: hello-java: Fix 'make' failure.
            examples: hello-pascal: Update.
            ppc386 is not found.
            (SUBDIRS): Proceed in current directory before recursing into po/.
            replaces hello.rst.
            examples: Correctly clean up left-over files.
            correctly.
    2018-10-15  Bruno Haible  <bruno@clisp.org>
            examples: Remove left-over files.
            examples: Clean up autoconf left-over.
            directory.
            examples: hello-c++-widgets: Update build infrastructure.
            files.
            examples: Fix "make dist" error.
            before, not after, 'aclocal'.
            examples: Update developer documentation.
            examples: Improve developer documentation.
            examples: Improve developer documentation.
            * HACKING: Mention dependency needed for examples.
            Fix list of dependencies.
            * DEPENDENCIES: Add libacl.
    2018-10-15  Bruno Haible  <bruno@clisp.org>
            gettextize: Don't redirect stderr.
            Reported by ShellCheck via Pavel Raiskup <praiskup@redhat.com>.
    2018-10-15  Bruno Haible  <bruno@clisp.org>
            autopoint: Don't redirect stderr.
            Reported by ShellCheck via Pavel Raiskup <praiskup@redhat.com>.
    2018-10-15  Bruno Haible  <bruno@clisp.org>
            Fix "make dist" error (regression from 2018-10-09).
            hello-csharp-forms/BUGS.
    2018-10-09  Bruno Haible  <bruno@clisp.org>
            C# support: Remove pnet choice.
            * DEPENDENCIES: Don't mention pnet.
            * PACKAGING: Likewise.
            Update to newest gnulib.
    2018-10-06  Bruno Haible  <bruno@clisp.org>
            Fix a build failure on mingw with -O0.
            Reported at <https://savannah.gnu.org/bugs/?36443>.
            Fix suggested by Evgeny Grin <k2k@narod.ru>
            in <https://savannah.gnu.org/bugs/?36443#comment4>.
            * gnulib-local/build-aux/moopp (func_emit_source_h): Wrap the function
            declarations in extern "C" {}.
    2018-10-05  Bruno Haible  <bruno@clisp.org>
            msgfmt: Remove outdated warning.
            (struct msgfmt_catalog_reader_ty): Remove field 'has_nonfuzzy_header_entry'.
            (msgfmt_constructor, msgfmt_frob_new_message): Update.
    2018-10-05  Bruno Haible  <bruno@clisp.org>
            Fix conflict between different uses of GETTEXTLIBDIR.
            Rationale: The programs installed in $(prefix)/lib/gettext/ are at different
            locations before installation: some are in the source tree, some are in the
            build tree.
            GETTEXTLIBDIR_SRCDIR, not GETTEXTLIBDIR.
            GETTEXTLIBDIR_BUILDDIR.
    2018-10-05  Bruno Haible  <bruno@clisp.org>
            Fix conflict between different uses of GETTEXTDATADIR.
            GETTEXTDATADIR.
            directory with just one POT file.
            cldr-plurals: Improve error handling.
            Don't assume that the error was an out-of-memory.
            Remove unnecessary trailing comma in struct initializers.
            initializer.
    2018-10-05  Bruno Haible  <bruno@clisp.org>
            Explain how to concatenate POT files.
            Reported by Hadi Farah in
            <https://lists.gnu.org/archive/html/bug-gettext/2018-09/msg00026.html>.
    2018-10-05  Bruno Haible  <bruno@clisp.org>
            Include gnulib module 'mkdir', needed for older mingw versions.
            Reported by Maarten Bosmans at <https://savannah.gnu.org/bugs/?33379>.
            * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add 'mkdir'.
    2018-10-05  Bruno Haible  <bruno@clisp.org>
            Fix link error when building with --enable-shared on mingw.
            * autogen.sh (GNULIB_MODULES_LIBGETTEXTPO_OTHER): Add 'realloc-posix'.
            in argv[0].
            Update after gnulib changed.
            Update to newest gnulib.
    2018-09-19  Bruno Haible  <bruno@clisp.org>
            In this situation, argv[0] is absolute, even though the program was invoked
            as a file name without slashes (and thus found in $PATH).
    2018-09-18  Bruno Haible  <bruno@clisp.org>
            Fix link error when building with --disable-shared on 64-bit Cygwin.
            * gnulib-local/lib/execute.c.diff: Remove file.
            * gnulib-local/lib/spawn-pipe.c.diff: Remove file.
            Fix link error when building with --disable-shared on Cygwin and mingw.
            included libxml and building with --disable-shared.
            * gnulib-local/lib/libxml/libxml.h (LIBXML_STATIC): Define to 1, not empty.
    2018-09-17  Bruno Haible  <bruno@clisp.org>
            autogen.sh: Fix use of undefined function.
            * autogen.sh: Rewrite error message code.
    2018-09-17  Bruno Haible  <bruno@clisp.org>
            Fix link error on Cygwin.
            Patch partially by Michael Haubenwallner at
            c65c9e8ee0
            * gnulib-local/lib/libxml/xmlexports.in.h: Don't assume that _WIN32 is defined
            on Cygwin.
            (XMLPUBVAR): Define as 'extern', not as empty.
    2018-09-17  Bruno Haible  <bruno@clisp.org>
            Fix "Unescaped left brace in regex is deprecated here" warnings from Perl 5.26.
            Reported and patch by Jehan <jehan@girinstud.io> <jehan@zemarmot.net> at
            <https://savannah.gnu.org/bugs/?54088>.
    2018-09-17  Bruno Haible  <bruno@clisp.org>
            Update after gnulib changed.
            * gnulib-local/modules/fnmatch.diff: Update.
            (charset.alias): Remove target.
            (install-exec): Don't install charset.alias.
            (install-data): Don't chmod config.charset.
            (installdirs): Don't create $(libdir).
            (uninstall): Don't uninstall charset.alias.
            (mostlyclean): Don't remove charset.alias.
            ref-del.sin.
            Update to newest gnulib.
            not the gettext-runtime/src source dir, to PATH.
    2018-09-16  Bruno Haible  <bruno@clisp.org>
            libintl: Improve locale handling on macOS 10.12 or newer.
            logic also work in locales such as "zh-Hans-DE".
            (libintl_setlocale): Try harder to set a locale for categories LC_CTYPE and
            LC_MESSAGES.
    2018-09-16  Bruno Haible  <bruno@clisp.org>
            Don't assume that 'sed' supports alternation in regular expressions.
            See https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Limitations-of-Usual-Tools.html
    2018-09-16  Bruno Haible  <bruno@clisp.org>
            Update list of locale names with scripts on macOS.
            tables to match Mac OS X 10.13 and recent glibc.
            Fix link error in "make check" when building with --disable-shared on macOS.
            @INTL_MACOSX_LIBS@.
            Use newer macOS APIs when possible.
            CFLocaleCopyPreferredLanguages.
            CFLocaleCopyPreferredLanguages when it exists.
            Revisit macOS specific code.
            duplication. Fix comments about Mac OS X versions.
    2018-09-16  Bruno Haible  <bruno@clisp.org>
            libintl: Fix language preferences on macOS 10.12 or newer.
            Reported by Kristian Rietveld <kris@loopnest.org> at
            <https://savannah.gnu.org/bugs/?49560>.
            preferences elements of the form "ll-CC" in a reasonable way.
    2018-09-16  Bruno Haible  <bruno@clisp.org>
            setlocale: Improve support for locales not supported by libc.
            Reported by Dapeng Gao <peter@dpgao.cc> at
            <https://savannah.gnu.org/bugs/?54479>.
            (libintl_setlocale): Use a more error-tolerant strategy when the locale to be
            set is not supported by libc: Emit warnings instead of failing.
    2018-09-16  Bruno Haible  <bruno@clisp.org>
            Fix link error when linking with libintl.a on macOS.
            macOS.
            Reduce "make dist" time by 7 minutes.
            * configure.ac (AM_INIT_AUTOMAKE): Remove dist-xz and dist-lzip options.
            * Admin/release-steps: Mention how to create the tarballs with higher
            compression after "make dist".
    2018-09-15  Bruno Haible  <bruno@clisp.org>
            Add support for translation lookup with context in shell scripts.
            Reported by Markus Gothe <nietzsche@lysator.liu.se>
            in <https://savannah.gnu.org/bugs/?49899>.
            (main): Handle option -c/--context.
            (usage): Document option -c/--context. Split usage message.
            (main): Handle option -c/--context.
            (usage): Document option -c/--context. Split usage message.
            functions.
            field.
            (arglist_parser_remember_msgctxt): New declaration.
            Update accordingly.
            (arglist_parser_remember_msgctxt): New function.
            eval_npgettext.
            (init_flag_table_sh): Set flags for eval_pgettext, eval_npgettext.
            (substring_of_word): New function.
            (read_command): Recognize and handle -c/--context argument of 'gettext' and
            'ngettext'.
            Mention the new shell functions.
            (eval_pgettext Invocation, eval_npgettext Invocation): New subsubsections.
            eval_npgettext.
    2018-08-12  Bruno Haible  <bruno@clisp.org>
            gettext-runtime/intl/setlocale.c: Add fixes from gnulib.
            2018-08-11  Bruno Haible  <bruno@clisp.org>
                    setlocale: Trivial simplification.
                    * lib/setlocale.c (setlocale_unixlike): Remove redundant #if.
            2017-04-21  Bruno Haible  <bruno@clisp.org>
                    * setlocale.c (setlocale_unixlike): Accept "POSIX" as an alias for
                    "C".
            2016-03-22  Geert Janssens  <janssens-geert@telenet.be>
                    setlocale: add "sv" to Windows language table
                    * setlocale.c (language_table) [W32]: Add "sv".
                    Reported in <https://savannah.gnu.org/bugs/?44588>.
            2012-01-04  Bruno Haible  <bruno@clisp.org>
                    Talk about "native Windows API", not "Win32".
                    * setlocale.c: Update comments to mention native Windows.
    2018-07-25  Bruno Haible  <bruno@clisp.org>
            Upgrade to newer help2man.
            Reported by Bernhard M. Wiedemann in <https://savannah.gnu.org/bugs/?54367>.
              $source ||= "$program $version";
              replaced by
              $source ||= "$package $version";
    2018-07-25  Bruno Haible  <bruno@clisp.org>
            Make it possible to copy&paste strings from the HTML-formatted man pages.
            (gt_man2html): Use it.
            (gt_man2html): Use it.
    2018-07-03  Bruno Haible  <bruno@clisp.org>
            Enable the format_arg attribute also on clang on Mac OS X.
            Reported by Tom Tromey <tom@tromey.com>
            in <https://lists.gnu.org/archive/html/bug-gettext/2018-07/msg00000.html>.
            use attribute __format_arg__ if the compiler is based on clang >= 3.0.
    2018-07-03  Bruno Haible  <bruno@clisp.org>
            Make the format_arg attribute effective also in the case _INTL_REDIRECT_INLINE.
            Reported by Tom Tromey <tom@tromey.com>
            in <https://lists.gnu.org/archive/html/bug-gettext/2018-07/msg00000.html>.
            ngettext, dngettext, dcngettext): Add attribute __format_arg__ also to the
            'static inline' functions.
    2018-05-14  Bruno Haible  <bruno@clisp.org>
            Update .gitignore.
    2018-05-14  Bruno Haible  <bruno@clisp.org>
            xgettext: Improve support for specialized vector syntax in Scheme.
            Reported by Florent Angly <Florent.Angly@cslbehring.com>.
            uninitialized token. Support recent syntax for homogeneous vector types (SRFI-4)
            and byte vectors as well.
    2018-05-12  Bruno Haible  <bruno@clisp.org>
            libintl: Ensure the *printf function overrides are POSIX compatible.
            Reported by Eli Zaretskii <eliz@gnu.org>.
            (libintl_vfprintf, libintl_vsprintf, libintl_vsnprintf, libintl_vfwprintf,
            libintl_vswprintf): Use it.
    2018-05-05  Bruno Haible  <bruno@clisp.org>
            all: Replace more http and ftp URLs by https URLs.
            * autogen.sh: Use https: URLs.
            all: Use https: URLs in --version output.
            * gnulib-local/build-aux/moopp: Likewise.
            all: Replace http URLs by https URLs in copyright notices.
            Simplify code. Drop support for Borland C++ on Windows.
            'defined _WIN32 || defined __WIN32__' to just 'defined _WIN32'.
            * gnulib-local/lib/basename.c: Likewise.
            Update after gnulib changed.
            * gnulib-local/lib/execute.c.diff: Update.
            Update to newest gnulib.
    2018-03-24  Bruno Haible  <bruno@clisp.org>
            Add support for recent Java versions.
            Reported by Emmanuel Bourg <ebourg@apache.org>
            at <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892733>
            via Santiago Vila.
            source-version 1.5 and target-version 1.6 (such as Java 6 or newer, or
            GCJ 4.3 or newer).
            source-version 1.5 (such as Java 5 or newer, or GCJ 4.3 or newer).
    2018-03-24  Bruno Haible  <bruno@clisp.org>
            Comment.
            * .dir-locals.el: Add comment.
            Update after gnulib changed.
            * gnulib-local/lib/unistd.in.h.diff: Update.
            * gnulib-local/lib/regexec.c.diff: Remove file.
            Update to newest gnulib
    2018-03-15  Bruno Haible  <bruno@clisp.org>
            Reported by Amit Chaudhuri <amit.k.chaudhuri@gmail.com>.
            * HACKING: Required minimum Bison version is now 3.0, for cldr-plural.y.
    2018-01-27  Bruno Haible  <bruno@clisp.org>
            Rename some files.
            xgettext: Support '_' in number tokens in C++.
    2018-01-07  Bruno Haible  <bruno@clisp.org>
            xgettext: Support 'p'/'P' exponent markers in number tokens also in C.
            in C.
    2018-01-07  Bruno Haible  <bruno@clisp.org>
            It's a bug in gawk 4.2.0, reported at
            https://lists.gnu.org/archive/html/bug-gawk/2018-01/msg00026.html .
    2018-01-06  Bruno Haible  <bruno@clisp.org>
            Add support for new C++ preprocessing number tokens.
            Reported by Moritz Bunkus <moritz@bunkus.org>
            at <https://savannah.gnu.org/bugs/?50117>.
            preprocessing number tokens.
    2018-01-06  Bruno Haible  <bruno@clisp.org>
            Comment fix.
            (Internationalizable Data): Moved here from chapter "Programming Languages".
            xgettext: Add support for .properties files in UTF-8 encoding.
            * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add read-file, unistr/u8-check.
            about its encoding, then start parsing it.
    2018-01-05  Bruno Haible  <bruno@clisp.org>
            Add support for .rsj files.
            (extract_rsj): New declaration.
    2018-01-05  Bruno Haible  <bruno@clisp.org>
            Fix failure of lang-javascript on Ubuntu 16.04.
            pkg-config almost never works. It is best to never use it.
            the installed gjs is appropriate.
    2018-01-04  Bruno Haible  <bruno@clisp.org>
            Use locales with the customary names.
            On glibc systems, nowadays, the German and French locales are named
            'de_DE.UTF-8' and 'fr_FR.UTF-8', respectively. This change avoids the need
            to install similar locales with different names.
    2018-01-04  Bruno Haible  <bruno@clisp.org>
            lua-gettext package.
            subsection 'Ubuntu packages' for each.
    2018-01-03  Bruno Haible  <bruno@clisp.org>
            Fix msgunfmt-3 failure (regression from 2017-09-24).
            Update dependencies list.
            * HACKING: Add Lzip (needed for "make dist" since 2014-12-24).
    2018-01-03  Bruno Haible  <bruno@clisp.org>
            Fix "make dist" of modified git checkouts.
            This fixes error messages such as
            tar: gettext-0.19.8.1.74-72e49-dirty/gettext-runtime/intl-csharp/doc/GNU_Gettext_GettextResourceManager.html: file name is too long (max 99); not dumped
            * configure.ac: Pass option 'tar-ustar' to AM_INIT_AUTOMAKE.
            (am__tar): Use 'tar' option --format=ustar.
    2018-01-02  Bruno Haible  <bruno@clisp.org>
            Clarify required bison version.
            Reported by Roger Mc Murtrie <rogermc@grapevine.com.au>
            at <https://savannah.gnu.org/bugs/?47484>.
            * HACKING: Mention minimum version of bison.
    2018-01-02  Bruno Haible  <bruno@clisp.org>
            Avoid build failures caused by parallel make.
            Reported by Andrew Stormont <andyjstormont@gmail.com>
            at <https://savannah.gnu.org/bugs/?48412>.
    2018-01-02  Bruno Haible  <bruno@clisp.org>
            Fix 'ar' invocation when cross-compiling and in 64-bit mode on AIX.
            Reported by Benedikt Morbach <bmorbach@redhat.com>
            at <https://savannah.gnu.org/bugs/?43037>.
            available. Otherwise, use AC_PROG_RANLIB and set AR and ARFLAGS.
            autoconf.
            (ARFLAGS): New variable.
            (libintl.a, libgnuintl.a): Use it.
    2018-01-02  Bruno Haible  <bruno@clisp.org>
            Don't use -lc explicitly when linking with libtool.
            libtool has logic that determines whether it should add -lc, and this logic
            works fine on all modern platforms.
            Reported by Michael Forney <mforney@mforney.org>
            at <https://savannah.gnu.org/bugs/?40192>.
            LTLIBC.
    2017-10-15  Bruno Haible  <bruno@clisp.org>
            Clarify copyright and license of some files.
            Reported by Joël Krähemann at <https://savannah.gnu.org/bugs/?52227>.
    2017-09-30  Bruno Haible  <bruno@clisp.org>
            Fix an out-of-bounds memory read.
            Reported by Jakub Wilk <jwilk@jwilk.net>.
            * gnulib-local/lib/term-ostream.oo.c (term_ostream_create): Pass the correct
            length to memcmp().
    2017-09-24  Daiki Ueno  <ueno@gnu.org>
    2017-09-24  Bruno Haible  <bruno@clisp.org>
            Verify that system dependent strings in .mo files are NUL terminated.
            Reported by Jakub Wilk <jwilk@jwilk.net> in
            <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876498>.
            system-dependent strings has a last static segment that is not NUL terminated.
    2017-09-24  Bruno Haible  <bruno@clisp.org>
            libintl: Fix pointer use after free.
            deallocation outside libc as in libc (patch from 2013-09-06).
    2017-08-29  Bruno Haible  <bruno@clisp.org>
            AppData: Update documentation.
            Mention support for file extension .metainfo.xml.
    2017-08-29  Matthias Klumpp  <matthias@tenstral.net>
            Extend the AppData "language" to also support AppStream metainfo files.
            Fixes <https://savannah.gnu.org/bugs/?50414>,
            reported by Piotr Drąg <piotrdrag@gmail.com>.
            Recognize also suffix ".metainfo.xml".
    2017-08-29  Bruno Haible  <bruno@clisp.org>
            AppData: Simplify code.
            supported extensions are now defined in the *.loc files.
    2017-08-29  Matthias Klumpp  <matthias@tenstral.net>
            Translate <developer_name> elements in AppData files.
            Fixes <https://savannah.gnu.org/bugs/?50408>,
            reported by Piotr Drąg <piotrdrag@gmail.com>.
    2017-08-22  Bruno Haible  <bruno@clisp.org>
            <xlocale.h>.
    2017-08-22  Bruno Haible  <bruno@clisp.org>
            Avoid extraneous NUL bytes in .mo files.
            Reported by Jakub Wilk <jwilk@jwilk.net> via Santiago Vila <sanvila@unex.es>
            in <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872869>.
            message_list_delete_header_field): Adjust msgstr_len when modifying msgstr.
    2017-07-15  Bruno Haible  <bruno@clisp.org>
            Get rid of autom4te.cache directories, as far as possible.
            * autogen.sh: Remove autom4te.cache directories after running autoconf,
            autoheader, automake.
    2017-07-15  Bruno Haible  <bruno@clisp.org>
            Fix bug: gettextize does not add intlmacosx.m4 file.
            Reported by Eli Zaretskii via Gavin Smith in
            <http://lists.gnu.org/archive/html/bug-texinfo/2017-07/msg00026.html>.
            when --intl option is not given.
    2017-06-15  Bruno Haible  <bruno@clisp.org>
            gettext.h: Update theoretical condition for use of variable size arrays.
            Reported by Paul Eggert.
            * gnulib-local/lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Extend
            comment to include the theoretical condition for availability of variable size
            arrays, if we could trust the value of __STDC_VERSION__.
    2017-05-22  Bruno Haible  <bruno@clisp.org>
            Fix hyperlink to CLHS.
    2017-05-19  Bruno Haible  <bruno@clisp.org>
            Fix memory leaks.
            Found by Coverity.
            before returning in out-of-memory case.
            (read_alias_file): Invoke relocate2 instead of relocate. Free the allocated
            memory.
    2017-05-19  Bruno Haible  <bruno@clisp.org>
            Fix missing unlock.
            Found by Coverity.
            free allocated memory before returning.
    2017-05-19  Bruno Haible  <bruno@clisp.org>
            Update gettext-runtime files from gnulib.
              * localcharset.c (relocate2): Define fallback.
              (get_charset_aliases): Invoke relocate2 instead of relocate. Free the
              allocated memory.
              * localcharset.c (WINDOWS_NATIVE): Don't define on Cygwin.
              * localcharset.c (locale_charset) [WINDOWS_NATIVE]: Don't use the
              return value from setlocale if it would lead to a buffer overrun.
              * localename.c [__CYGWIN__]: Include <langinfo.h>, since this is
              where NL_LOCALE_NAME is defined.
              * localename.c (WINDOWS_NATIVE): Don't define on Cygwin.
              * localename.c (gl_locale_name_thread_unsafe): Add clause for
              Cygwin.
              * localename.c (struct hash_node): Use FLEXIBLE_ARRAY_MEMBER.
              * lock.c: On glibc systems without
              PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, use the fallback
              implementation of rwlocks.
              * lock.c [USE_POSIX_THREADS]
              (glthread_rwlock_init_for_glibc): New function.
              [USE_POSIX_THREADS] (glthread_rwlock_rdlock_multithreaded): Update
              comment.
              [USE_PTH_THREADS]: New implementation of rwlocks.
              [USE_WINDOWS_THREADS] (glthread_rwlock_rdlock_func): Prefer writers over
              readers.
              * lock.h (pthread_rwlockattr_setkind_np): Don't declare
              weak on non-glibc platforms.
              * lock.h: On glibc systems without
              PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, use the fallback
              implementation of rwlocks.
              * lock.h [USE_POSIX_THREADS_WEAK]: Declare also
              pthread_rwlockattr_init, pthread_rwlockattr_setkind_np,
              pthread_rwlockattr_destroy weak.
              HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER. Use a different implementation
              of rwlock initialization on glibc systems without
              HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER. Use a different implementation
              of rwlocks altogether on non-glibc systems without
              HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER.
              [USE_PTH_THREADS]: Use a different implementation of rwlocks altogether.
              * relocatable.c (relocate2): New function.
              * relocatable.c (relocate): Assume pathname is non-NULL. Use
              ISSLASH macro consistently. Avoid dangerous string concatenation idiom.
              * relocatable.h (relocate2): New declaration/macro.
              * vasnprintf.c (FALLTHROUGH): New macro.
              Use it whenever one switch case falls through into the next.
              * vasnprintf.c (USE_MSVC__SNPRINTF): New macro.
              Everywhere, use !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF instead
              of !HAVE_SNPRINTF_RETVAL_C99.
              * vasnprintf.c (VASNPRINTF): Move comment down past two cpp
              directives, so that it takes effect once again.  This is clearly
              not a proper change, and I will revert it once this bug is fixed:
              https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817
              * vasnprintf.c (IF_LINT): Treat GCC_LINT like lint.
              * verify.h (verify) [!__GNUC__]:
              Use shorter albeit meaningless string to bypass silly compiler limits.
              * verify.h (assume): Treat GCC_LINT like lint.
            PTHREAD_IN_USE_DETECTION_HARD if configuring on Solaris 10 or newer.
            Reported by Peter Felecan at <https://savannah.gnu.org/bugs/?32087>.
              semaphores.
              (USE_NAMED_SEMAPHORE, USE_UNNAMED_SEMAPHORE): New macros.
              (atomic_int_semaphore): New macro.
              exist.
              (struct atomic_int, init_atomic_int, get_atomic_int_value,
              set_atomic_int_value) [USE_SEMAPHORE]: Define using a POSIX semaphore.
              Suggested by Torvald Riegel <triegel@redhat.com>.
    2017-05-18  Bruno Haible  <bruno@clisp.org>
            Update after gnulib changed.
            * gnulib-local/lib/fnmatch_loop.c.diff: Update.
            Update gnulib
    2017-05-16  Bruno Haible  <bruno@clisp.org>
            Update after gnulib changed.
            * gnulib-local/lib/getopt-core.h.diff: New file.
            * gnulib-local/lib/getopt.in.h.diff: Remove file.
            * gnulib-local/lib/unistd.in.h.diff: Update.
            * gnulib-local/modules/fnmatch.diff: Update.
            lib/getopt.in.h.diff.
            depend on 'hash' (because we use a different 'hash' module).
            * .gitignore: Update.
    2017-05-15  Bruno Haible  <bruno@clisp.org>
            Update gnulib
    2017-05-15  Bruno Haible  <bruno@clisp.org>
            Reported by Domingo Bernardo <domingopbernardo@gmail.com>.
            Bulgarian.
    2017-05-15  Bruno Haible  <bruno@clisp.org>
            Respect the configure option --localedir.
            Reported by Markus Gothe at https://savannah.gnu.org/bugs/index.php?49862 .
            The AC_SUBSTed variable @localedir@ is supported since Autoconf 2.60.
            by Markus Gothe <nietzsche@lysator.liu.se>.
    2017-05-04  Bruno Haible  <bruno@clisp.org>
            Remove the ability to compile the Java programs to native executables.
            This ability relied on GCJ, and GCJ was removed from GCC in version 7.1.
            * gnulib-local/modules/gcj: Remove file.
            * gnulib-local/m4/gcj.m4: Remove file.
            * gnulib-local/m4/java.m4 (gt_JAVA_CHOICE): Map value 'bytecode' to 'yes'.
            * autogen.sh (GNULIB_MODULES_TOOLS_OTHER): Remove 'gcj'.
            (GCJ, GCJFLAGS): Remove variables.
            (USEJAVA, USEJEXE): Assume BUILDJAVAEXE is false.
            (all-java-*, install-data-java-*, installdirs-java-*, uninstall-java-*): Remove
            targets that assume BUILDJAVAEXE = true. Rename remaining targets.
            (install-exec-java-*): Remove targets.
            * PACKAGING (Java support): Drop text about native executables.
            gcj.m4.
            AC_PROG_RANLIB. Remove option --enable-java-exe. Don't set BUILDJAVAEXE. Don't
            set USEJEXE.
            Remove variables.
            [USEJEXE]: Remove section.
    2017-04-22  Bruno Haible  <bruno@clisp.org>
            Avoid -Wundef warning in gettext.h.
    2017-04-19  Bruno Haible  <bruno@clisp.org>
            PO mode: Fix recognition of C and C++ modes.
            The variable 'mode-name' can contain a suffix, see
            https://www.gnu.org/software/emacs/manual/html_node/ccmode/Minor-Modes.html
            https://www.gnu.org/software/emacs/manual/html_node/emacs/Electric-C.html
            Therefore use 'major-mode' instead of 'mode-name'.
            not mode-name.
            (po-mode-version-string): Bump to 2.25.
            Reported at <https://savannah.gnu.org/bugs/index.php?50830>
            by Peter Hull <peterhull90@gmail.com>.
    2017-03-20  Bruno Haible  <bruno@clisp.org>
            Fix compilation error in <libintl.h> on Cygwin.
            Reported by Michael Haubenwallner at https://savannah.gnu.org/bugs/?50595 .
              locale_t type is not visible on Cygwin.
    2017-02-16  Bruno Haible  <bruno@clisp.org>
            Support for Automake targets install-{dvi,ps,pdf,html}.
            Reported by Eric Blake at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25690
            via Assaf Gordon.
            install-html): New empty targets.
    2017-01-10  Bruno Haible  <bruno@clisp.org>
            * DEPENDENCIES: Likewise. Point to OpenJDK instead of gcj. Point to Mono instead
            of pnet.
    2017-01-02  Bruno Haible  <bruno@clisp.org>
            (struct atomic_int): New type.
            (init_atomic_int, get_atomic_int_value, set_atomic_int_value): New
            functions.
            (lock_checker_done, rwlock_checker_done, reclock_checker_done): Define
            as 'struct atomic_int'.
            Reported by Eric Blake in
            https://www.redhat.com/archives/libvir-list/2012-March/msg00854.html
            and by Pádraig Brady in
            http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00117.html.
    2016-12-15  John Darrington  <john@darrington.wattle.id.au>
            msgfmt: Remove POT-Creation-Date field from the header in the output.
            This helps reproducible builds.
            Reported at <https://savannah.gnu.org/bugs/?49654>.
            declaration.
            msgdomain_list_set_header_field.
            (message_list_delete_header_field): New function.
            (msgdomain_write_mo): Delete the POT-Creation-Date field.
            (msgdomain_write_java): Delete the POT-Creation-Date field.
            (msgdomain_write_csharp): Delete the POT-Creation-Date field.
            (msgdomain_write_csharp_resources): Delete the POT-Creation-Date field.
            (msgdomain_write_tcl): Delete the POT-Creation-Date field.
            (msgdomain_write_qt): Delete the POT-Creation-Date field.
            (msgdomain_write_desktop): Delete the POT-Creation-Date field.
            (msgdomain_write_xml): Delete the POT-Creation-Date field.
    2016-12-12  Bruno Haible  <bruno@clisp.org>
            Fix error handling in autogen.sh.
            * autogen.sh: Don't invoke automake if aclocal, autoconf, or autoheader failed.
    2016-12-11  Bruno Haible  <bruno@clisp.org>
            Simplify .gitignore.
            Remove files deleted by "make maintainer-clean" from version control.
            Merge all .gitignore files into a single .gitignore file.
            Update and organize the .gitignore files.
    2016-12-10  Bruno Haible  <bruno@clisp.org>
            Update to newest gnulib.
    2016-12-09  Bruno Haible  <bruno@clisp.org>
            Fix crash of xgettext with --its option.
            was initialized. Fixes bug introduced on 2016-05-16.
    2016-12-05  KO Myung-Hun  <komh78-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
            intl: Fix that /@unixroot prefix is not working on OS/2 kLIBC
            OS/2 kLIBC has a feature to rewrite some path components. For example,
            '/@unixroot' is replaced with a value of $UNIXROOT if it is.
            So prepending a drive letter to the path starting with '/' makes the
            path starting with '/@unixroot' to 'x:/@unixroot' which is unexpected.
            This will breaks the behavior of some programs depending on /@unixroot
            prefix.
            dirname if it is started with '/@unixroot'.
            if it is started with '/@unixroot'.
    2016-12-05  Bruno Haible  <bruno@clisp.org>
            Fix the last commit.
            * autogen.sh: Enable the code of the last commit. Force an update of
            build-aux/ylwrap.
    2016-12-04  Bruno Haible  <bruno@clisp.org>
            Always use the newest released copies of files brought in from Automake.
            * autogen.sh: Make sure to get new versions of files brought in by automake.
            the scope of a single xgettext invocation.
            when we want to check for an error message in English.
            Fix an error message when gettextize if run with option -n.
            location where it is installed, not in $srcdir.
            Tweak installation instructions for Windows.
    2016-11-25  Guido Flohr  <guido.flohr@cantanea.com>
            Perl supports pgettext() and similar functions
    2016-11-24  Guido Flohr  <guido.flohr@cantanea.com>
            xgettext-perl: detect question mark as operator
            After an explicit function call like "somefunc()" a question mark or
            slash cannot be regex delimiters.
    2016-11-23  Bruno Haible  <bruno@clisp.org>
            Update installation instructions for Windows.
            builds. Add instructions for the MS Visual C/C++ tool chain. Revamp instructions
            for Cygwin.
            Drop the nickname "woe32".
    2016-11-14  Daiki Ueno  <ueno@gnu.org>
            intl: Fix compilation on a system without alloca
            -> 'resolved_dirname'.  Reported by Egor Pugin in:
            http://lists.gnu.org/archive/html/bug-gettext/2016-09/msg00008.html
    2016-11-02  Daiki Ueno  <ueno@gnu.org>
            * autogen.sh: Require automake >= 1.13.
            * HACKING: Require automake >= 1.13, wget, and xz.
            Reported by Karl-P. Richter and Bruno Haible in:
            https://savannah.gnu.org/bugs/?49497
    2016-10-25  Bruno Haible  <bruno@clisp.org>
            Update iconv.m4 from Gnulib.
            Add comments about the implementation of 'autosprintf::operator='.
            comments. Rename parameter.
    2016-09-15  Daiki Ueno  <ueno@gnu.org>
            xgettext: Fix crash with *.po file input
            When xgettext was given two *.po files with the same msgid_plural, it
            crashed with double-free.  Problem reported by Davlet Panech in:
            http://lists.gnu.org/archive/html/bug-gettext/2016-09/msg00001.html
            calling do_callback_message, assuming that it takes ownership.
            msgid_plural after calling message_alloc.
    2016-08-27  Akinori MUSHA  <knu@idaemons.org>
            Add autoload magic comments
            Fix elisp package headers
    2016-08-09  Daiki Ueno  <ueno@gnu.org>
            gettextize: Don't add config.rpath to EXTRA_DIST
            The file is automatically included in the distribution by Automake,
            because of an AC_REQUIRE_AUX_FILE invocation.  Reported in:
            http://savannah.gnu.org/bugs/?48729
            added_extradist.
    2016-08-03  Daiki Ueno  <ueno@gnu.org>
            po-mode: Fix po-send-mail behaviour on Emacs 25
            region markers.
            Reported by Göran Uddeborg in:
            http://lists.gnu.org/archive/html/bug-gettext/2016-07/msg00027.html
    2016-07-12  Daiki Ueno  <ueno@gnu.org>
            Update after gnulib changed
            Update gnulib
    2016-07-12  Michele Locati  <michele@locati.it>
            Better description of GETTEXTCLDRDIR for msginit
            Let's explain better where the GETTEXTCLDRDIR should point to and where the
            CLDR data could be retrieved.
    2016-07-09  Stanislav Brabec  <sbrabec@suse.com>
            Add support for msgmerge --previous
            msgmerge --previous is a very useful feature that makes adjusting of
            translation much easier when small changes in the source code are done.
            msgmerge supports it for 10 years, but it is not used by most projects,
            Use msgmerge --previous as default on all systems with gettext >= 0.16.
    2016-06-28  Daiki Ueno  <ueno@gnu.org>
            gnulib-local: Fix the last change
            gnulib-local: Add more files to distribution
            Problem reported by Xen.
    2016-06-11  Daiki Ueno  <ueno@gnu.org>
            LTV_REVISION.
2020-02-04 12:20:52 -06:00
Hye Sung Jung 14a8b3b98c
doc: fix typos [ci skip] #11787 2020-01-30 22:56:34 -08:00
erw7 4d0dfb8f75 build/MSVC: fix gettext multibyte issue #11774
Problem:  On Windows with the MSVC build, gettext-translation
          "Questa è già la" displays as "Questa <e8> gi<e0> la".
Solution: Fix iconv detection iconv when building gettext.
          So HAVE_ICONV is correctly defined when building nvim.

* fix gettext mb chars on MSVC
* fix libintl detection failure on MSVC

fixes #11749
2020-01-28 00:56:26 -08:00
Daniel Hahler e8d61005dc
third-party: upgrade libvterm to v0.1.3 (#11678) 2020-01-07 20:12:56 +01:00
Daniel Hahler b2443361ca build: DownloadAndExtractFile.cmake: retry status_code=7 #11582
Retry downloads with "Couldn't connect to server" errors.

Ref: https://lgtm.com/projects/g/neovim/neovim/logs/rev/pr-ca2f193a91f02881deb637f18694818bda49a7ed/lang:cpp/stage:Build%20master_026ba804d173c41ab99ee270c93f7975c1d6d713
2019-12-21 06:39:26 +01:00
Matthieu Coudron ad17ef118a deps: update libtermkey to 0.22 #11429 2019-11-28 19:45:43 -08:00
Daniel Hahler 629ea19994
deps: upgrade bundled LuaRocks: 2.4.4 => 3.2.1 (#10292)
Changelog: https://github.com/luarocks/luarocks/compare/v2.4.4..v3.2.1#diff-4ac32a78649ca5bdd8e0ba38b7006a1e
2019-11-19 19:10:30 +01:00
Christian Clason 1f0fc4e452 build/macOS: set -fno-stack-check for LuaJIT build #11412
Fixes LuaJIT build on macOS Catalina.
ref https://github.com/LuaJIT/LuaJIT/issues/521
ref https://github.com/Homebrew/homebrew-core/pull/46823
2019-11-17 12:55:25 -08:00
Justin M. Keyes 726c8c7d74
win/dist: nvim-qt v0.2.15 #11295 2019-10-26 13:18:14 -07:00
Daniel Hahler 2e14dffbb4
deps: pass LDFLAGS+=-static (#11138)
This is required when `build_old_libs=no` is used in `libtool`.

Fixes https://github.com/neovim/neovim/issues/11198
2019-10-14 15:16:58 +02:00
Daniel Hahler f2ad93168b
third-party: upgrade libvterm to 0.1.2 (#11177) 2019-10-09 19:44:44 +02:00
Daniel Hahler dc52458522
third-party: upgrade libluv: 1.30.0-0 => 1.30.1-1 (#11092)
Changes: https://github.com/luvit/luv/compare/1.30.0-0...1.30.1-1
2019-09-30 12:55:47 +02:00
Daniel Hahler b0f5441c5e
bundle: upgrade LuaJIT to latest v2.1 (#10321) 2019-09-30 12:50:22 +02:00
Björn Linse b871100be7 Create BuildUtf8proc.cmake and FindUtf8proc.cmake
Using advanced search and replace technology
2019-09-28 14:31:03 +02:00
Björn Linse cd10096386 tree-sitter: initial tree-sitter support 2019-09-28 14:31:03 +02:00
Daniel Hahler 227ef71621 third-party: update libuv to v1.31.0 2019-09-25 05:45:54 +02:00
Justin M. Keyes 4b7d8e6b87
win/dist: nvim-qt v0.2.14 #11008 2019-09-13 15:56:02 -07:00
Björn Linse 2a590e2293 bump libvterm to 0.1 + memleak patch 2019-09-10 20:09:37 +02:00
Daniel Hahler 71a9653194
third-party: remove msvc-compat/unistd.h (#10465)
This was upstreamed into unibilium.
2019-08-29 01:05:47 +02:00
Daniel Hahler a851090dec
build: third-party: enable CXX language earlier (#10862)
This is required for `CMAKE_CXX_COMPILER` to be set already, not only
after including third-party/cmake/BuildGperf.cmake.

Closes https://github.com/neovim/neovim/pull/10860.
Ref: 31f879983f
2019-08-27 20:55:11 +02:00
Daniel Hahler f790799474
third-party: use neovim/unibilium (#10677)
Ref: https://github.com/neovim/neovim/issues/10302
Fixes https://github.com/neovim/neovim/issues/9071.
2019-08-26 10:21:08 +02:00
Daniel Hahler 8404e8df20
third-party: download: retry (#10599)
This is meant to handle the common case of failing to download
libtermkey:

    FAILED: cd /home/travis/build/neovim/neovim/deps-downloads/libtermkey && /usr/local/cmake-3.12.4/bin/cmake -DPREFIX=/home/travis/nvim-deps/build -DDOWNLOAD_DIR=/home/travis/build/neovim/neovim/deps-downloads/libtermkey -DURL=http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.21.1.tar.gz -DEXPECTED_SHA256=cecbf737f35d18f433c8d7864f63c0f878af41f8bd0255a3ebb16010dc044d5f -DTARGET=libtermkey -DUSE_EXISTING_SRC_DIR=OFF -P /home/travis/build/neovim/neovim/third-party/cmake/DownloadAndExtractFile.cmake && /usr/local/cmake-3.12.4/bin/cmake -E touch /home/travis/nvim-deps/build/src/libtermkey-stamp/libtermkey-download
    -- file: /home/travis/build/neovim/neovim/deps-downloads/libtermkey/libtermkey-0.21.1.tar.gz
    -- downloading...
         src='http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.21.1.tar.gz'
         dst='/home/travis/build/neovim/neovim/deps-downloads/libtermkey/libtermkey-0.21.1.tar.gz'
         timeout='none'
    CMake Error at /home/travis/build/neovim/neovim/third-party/cmake/DownloadAndExtractFile.cmake:77 (message):
      error: downloading
      'http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.21.1.tar.gz' failed
        status_code: 6
        status_string: "Couldn't resolve host name"
        log: Curl_ipv4_resolve_r failed for www.leonerd.org.uk
      Couldn't resolve host 'www.leonerd.org.uk'
      Closing connection 0

Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
2019-07-24 19:11:27 +02:00
Daniel Hahler 4aabe4a0d5
build: GetBinaryDeps: move include, fix doc (#10579) 2019-07-22 20:50:30 +02:00
Daniel Hahler 6aab5715c5
third-party: busted 2.0.0-0 (#10517) 2019-07-16 09:15:50 +02:00
Daniel Hahler 31f879983f
third-party: use CXX only for BuildGperf (#10512)
This allows to build deps without g++ when not using the bundled gperf.

> make deps DEPS_CMAKE_FLAGS='-DUSE_BUNDLED_GPERF=0'
2019-07-15 22:27:29 +02:00
Damian Malarczyk be949d6c9d build: propagate sysroot to C++ deps (gperf) #10491 2019-07-15 11:34:45 +02:00
Daniel Hahler 4731027447
tests: use vim.inspect (#10485)
The inspect modules is vendored as `vim.inspect`, and therefore it makes
sense to use this in tests also.

Ref: https://github.com/neovim/neovim/issues/6580
Ref: https://github.com/neovim/neovim/commit/bb3aa824b
2019-07-13 00:50:52 +02:00
Daniel Hahler 564d415d20
build: BuildLuv: set/pass WITH_LUA_ENGINE (#10449)
Ref: https://github.com/neovim/neovim/pull/10438
2019-07-09 21:55:01 +02:00
Daniel Hahler 48a5897ec4
bundle: update libuv: v1.29.1 => v1.30.0 (#10365)
- fs: fix uv_fs_copyfile if same src and dst
- build, core, unix: add support for Haiku
- unix: make uv_cwd() report UV_ENOBUFS
- unix: make uv_fs_read() fill all buffers
2019-07-09 15:45:43 +02:00
Daniel Hahler c67315c7b5 BuildLuarocks: improve comments
I found it often irritation to see the same comment about "DEPENDS"
there all the time.  This uses the LuaRocks rock name as a comment
instead (which is hard to parse from the recipe), moves the note about
DEPENDS to the top (extended), and fixes/aligns some whitespace.
2019-07-05 04:10:30 +02:00
Daniel Hahler 8eac3f63a2 BuildLuarocks.cmake: use ROCKS_DIR
With LuaRocks 3 it will include the version, and this will make the
upgrade easier then.
It also makes sense to factor this out in general for clarity already.

Pulled out of https://github.com/neovim/neovim/pull/10292.
2019-07-05 03:55:08 +02:00
Daniel Hahler fd8d26a713
third-party: fix warning with (un)bundled libtermkey/unibilium (#10416)
Fixes warning with:

> cmake -S third-party -B .deps -DUSE_BUNDLED=OFF -DUSE_BUNDLED_UNIBILIUM=0 -DUSE_BUNDLED_LIBTERMKEY=1
> The dependency target "unibilium" of target "libtermkey" does not exist.
2019-07-04 15:17:59 +02:00
Daniel Hahler 99b870d61c
build: bundle: clean binary dir with new downloads (#10411)
This is required to (re)build e.g. libluv when the version changes
(which triggers a new download).

With `make deps`, changing the `LUV_URL`/`LUV_SHA256`, and `make deps` again:

Before:

> Up-to-date: /home/daniel/Vcs/neovim/.deps/usr/lib/libluv.a

After:

> Installing: /home/daniel/Vcs/neovim/.deps/usr/lib/libluv.a

See with https://github.com/neovim/neovim/pull/10358 - where .deps
contained libluv 1.29, the merge updates it to 1.30, but then it failed
to link because `libluv.a` is considered to be up-to-date (after
downloading the new version).

Note that header files get installed, since they have the original time
stamp, but `libluv.a` is being generated (does not use the timestamp
from the archive here, but needs to get rebuild).

It could be argued that the build system of the included project should
catch/handle this, but it seems to be good practice to clean the binary
/ build dir with a new download to start from scratch.

Ref: https://gitlab.kitware.com/cmake/cmake/issues/19452

Also fixes cmake/BuildLuv / luv-static: use name with -DTARGET for
download command, and pass (shared) `SRC_DIR` explicitly instead.
2019-07-04 02:37:29 +02:00
Björn Linse d33aaa0f5f libluv: use luv_set_callback to control callback execution
Disable the use of deferred API functions in a fast lua callback
Correctly display error messages from a fast lua callback
2019-06-30 13:13:08 +02:00
Daniel Hahler 52fced6090
build: update some test dependencies (#10339)
* build: update some test dependencies

* luacheck ignores

* BuildLua: add ${BUSTED} to depends for ${BUSTED_LUA}

This is required to rebuild it when busted gets updated.
2019-06-29 22:25:00 +02:00
Daniel Hahler c207095445
build: CMake: do not set CMP0059 to old (#10363)
Keeps using add_definitions for compatibility with older CMake.

Newer CMake (3.12) would have `add_compile_definitions`, but it is not
required, since `add_defitions` was meant to be used for
compile/preprocessor definitions initially anyway.

Ref: https://github.com/neovim/neovim/pull/4389
2019-06-29 20:37:48 +02:00
Daniel Hahler c696fcdcaa build: remove patch: luv-Add-missing-definitions-for-MinGW [skip travis] #10360
Added in 4ae7acd15 initially, but seems to not be necessary anymore,
and/or should be send upstream otherwise.
2019-06-28 13:19:47 +02:00
Daniel Hahler 31dbc6f63e
build: BuildLua: fix check for mingw [skip ci] (#10352) 2019-06-27 20:11:45 +02:00
Daniel Hahler 3e6f06f5d2
build: use main cmake modules with third-party (#10330)
This is meant to make it possible to use `find_package(LuaJit)` etc with
the third-party CMake project in general.

Followup to https://github.com/neovim/neovim/pull/10297/files#r296439576.
2019-06-25 17:34:28 +02:00
Daniel Hahler 8d4a655ace
build: CMake: remove LUAROCKS_VERSION (#10317)
This is not necessary and avoids confusion.
2019-06-24 18:04:57 +02:00
Daniel Hahler 433c136a8a
build: luarocks: fall back to luajit (#10297)
This regressed in 204ec6337.

Currently it would detect/use lua5.3 from the system, but in general
luajit is / should be preferred.

Noticed this due to nvim-client failing to build with Lua 5.3
(https://github.com/neovim/lua-client/pull/43).
2019-06-24 08:48:54 +02:00
Daniel Hahler c4739345fe
build: luajit: do not disable jit (#10318)
This was added in 4c92a0bac to help with debugging, but could also have been
just moved there instead of disabling it manually (which was done due to
issues on Travis with OSX).

Since the JIT is the main feature of luajit, we should not disable it,
especially not during compile time.
2019-06-24 04:11:33 +02:00
Daniel Hahler f96a2dabac
bundle: upgrade LuaJIT to latest v2.0 commit (#10320)
Changes: 7dbf0b05f1..61464b0a5b
2019-06-24 04:11:04 +02:00
Daniel Hahler de2e51439e
build: tests: build luv rock also with USE_BUNDLED_LUV=0 (#10307)
Followup to https://github.com/neovim/neovim/pull/10291
Ref: https://github.com/neovim/neovim/issues/10289
2019-06-23 04:17:13 +02:00
Daniel Hahler 058a8ed6ec build: USE_BUNDLED_LUV=0 with USE_BUNDLED_LUAROCKS=1 #10291
Fixes https://github.com/neovim/neovim/issues/10289
2019-06-22 03:43:31 +02:00
George Zhao c83926cd0a lua: introduce vim.loop (expose libuv event-loop) #10123
Co-authored-by: Andrey Popp <8mayday@gmail.com>

closes #9546
closes #10084
2019-06-10 14:13:18 +02:00
Justin M. Keyes 370ad05229 deps: update to libuv v1.29.1
Fixes #10101
See also 0ac1363599

Notable changes since v1.26.0:

- v1.27.0
  - linux: use statx() to obtain file birth time
- v1.28.0
  - unix,win: add uv_gettimeofday()
  - unix,win: add uv_fs_{open,read,close}dir()
  - unix: fix uv_interface_addresses()
  - fs: remove macOS-specific copyfile(3) fixes neovim/neovim#10101
  - unix: suppress EINTR/EINPROGRESS in uv_fs_close()
- v1.29.0
  - unix: fix race condition in uv_async_send()
  - linux: use O_CLOEXEC instead of EPOLL_CLOEXEC
  - linux: read free/total memory from /proc/meminfo
  - unix: don't assert on UV_PROCESS_WINDOWS_* flags
  - unix,win: add uv_get_constrained_memory()
- v1.29.1
  - linux: fix sscanf() overflows reading from /proc
2019-06-02 15:53:57 +02:00
Björn Linse 8ed54bbec3 messages: use proper multiline error message for rpcrequest and API wrappers 2019-05-26 15:42:16 +02:00
bryant 5613310538 Build gperf with configured host compiler.
This was initially added but unused in
7e2348f2b1, which led to its accidental
removal in feee814b30.
2019-04-14 03:01:14 -07:00
bryant 6222c74235 Set host C++ compiler CMake var. 2019-04-14 03:01:14 -07:00
Justin M. Keyes 980dd7c011
Merge #9638 from mhinz/update-libtermkey 2019-03-07 00:57:21 +01:00
Marco Hinz 27c3143466
third-party: libtermkey v0.20 -> v0.21.1
$ bzr log --line --forward -r v0.20..

372: Paul "LeoNerd" Evans 2017-03-30 {v0.20} Bumped VERSION to 0.20
373: Paul "LeoNerd" Evans 2017-04-10 [merge] Apply typo fixes from jamessan
374: Paul "LeoNerd" Evans 2017-11-29 Build termkey.pc by invoking a small shell script instead of sed'ing a template
375: Paul "LeoNerd" Evans 2018-03-29 Implement mouse key parsing (thanks Marc André Tanner <mat@brain-dump.org>)
376: Paul "LeoNerd" Evans 2019-01-02 Bugfix for infinite CPU spin on TERM=dumb, which has no terminfo key strings
377: Paul "LeoNerd" Evans 2019-02-14 Fix a couple of valgrind-cleanness errors in DEBUG mode
378: Paul "LeoNerd" Evans 2019-02-14 Fix valgrind uninitialised value warning
379: Paul "LeoNerd" Evans 2019-02-14 Remember to unibi_destroy() even if we never (lazily) loaded terminfo
380: Paul "LeoNerd" Evans 2019-02-14 Bugfix memory leak in TI driver on xterm
381: Paul "LeoNerd" Evans 2019-02-17 driver-ti.c does not need a separate TYPE_MOUSE node type since TERMKEY_TYPE_MOUSE already exists
382: Paul "LeoNerd" Evans 2019-02-17 Perform TI string lookup by iterating all the strings we care about, rather than iterating everything in the DB; that way a hook function can invent new strings
383: Paul "LeoNerd" Evans 2019-02-17 Avoid nonstandard \e sequence in unit tests (via neovim https://github.com/neovim/neovim/blob/master/third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.p...
384: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 lacks <unistd.h> and S_ISFIFO()
385: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 needs help to get ssize_t
386: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no <termios.h>
387: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no poll() so cannot provide termkey_waitkey()
388: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no <strings.h> and needs help getting strcasecmp()
389: Paul "LeoNerd" Evans 2019-02-17 Write the version into the .pc file at 'make install' time so we don't get@VERSION@ from source
390: Paul "LeoNerd" Evans 2019-02-19 {v0.21} Bumped VERSION to 0.21
391: Paul "LeoNerd" Evans 2019-02-19 Bugfix to missing TERMIOS support
392: Paul "LeoNerd" Evans 2019-02-19 Fix offbyone buffer overflow in sprintf calculation of key names (neovim #9630)
393: Paul "LeoNerd" Evans 2019-02-19 {v0.21.1} Remove a pointless (and warny) cast

Our local patches are now part of the libtermkey repo and get removed.
2019-02-21 22:23:54 +01:00
Justin M. Keyes 6784ed206a win/deps: update to (forked) libuv v1.26.0
ref c59aa771a6
2019-02-21 19:43:10 +01:00
Justin M. Keyes c59aa771a6 deps: update to libuv v1.26.0
Notable changes since v1.23.2:

- v1.26.0
  - uv_os_uname()
  - unix: don't attempt to invalidate invalid fd
    1ce6393a57
- v1.25.0
  - unix: better handling of unsupported F_FULLFSYNC (fixes #6725)
    6fc797c3fe
  - tty,win: fix Alt+key under WSL
    d2e59bb600
  - fsevents: really watch files with fsevents on macos 10.7+
    2d2af382ce
  - win: fix duplicate tty vt100 fn key
- v1.24.0
  - win,fs: retry if uv_fs_rename fails
    e94c184c7c
    - later [reverted](https://github.com/libuv/libuv/issues/2098) but may be useful reference
  - win: support more fine-grained windows hiding
    4c2dcca27b
2019-02-21 02:00:51 +01:00
erw7 3b56f59532 :terminal : Fix F1-F4 key codes (#9535)
fixes #9529
2019-01-23 19:51:23 +01:00
James McCoy c2343180d7
Remove support for using jemalloc instead of the system allocator
There was never any investigation done to determine whether using
jemalloc was actually a net benefit for nvim.  It has been a portability
limitation and adds another factor to consider when triaging issues.
2019-01-19 18:09:52 -05:00
Justin M. Keyes 424388c207 win/dist: nvim-qt v0.2.12 2019-01-12 23:47:05 +01:00
Justin M. Keyes c1015121ec Merge 'upstream/master' into pr-win-erw7 2018-12-27 22:49:44 +01:00
erw7 6060301558 win/TUI: SetConsoleMode() to override libuv #9094
Use uv_set_vterm_state() to override libuv's guess.
See https://github.com/libuv/libuv/pull/1873/ for discussion.

This commit uses a terminal-detection approach based on
GetProcessImageFileNameW(...), which will be reverted in the following
commit. The approach was intended to handle the case of running in
winpty (:terminal), but we will add $NVIM env var for that.

Also add some support for ConEmu, cygwin.
2018-12-27 22:35:59 +01:00
Justin M. Keyes 04c382b2ac
win/dist: nvim-qt v0.2.11 #9382 2018-12-21 09:38:52 +01:00
Justin M. Keyes 8480b74010 build/win: LibuvCMakeLists.txt: adapt to moved headers
Headers were moved in v1.21.0
99ae3edf28
2018-11-01 04:35:36 +01:00
Justin M. Keyes fc5dea02b6 deps: update to libuv v1.23.2
Remove libuv-overlapped.patch since UV_OVERLAPPED_PIPE was included in
libuv v1.21.0:
62a0f763a7

Notable changes since v1.12:
- 1.16.0
  - uv_os_getppid(): get parent PID
  - "win,tty: improve SIGWINCH support" (v1.15.0)
- 1.18.0
  - uv_os_getpid()
- 1.19.0
  - Windows: uv_kill() pid 0 now means "current process group", like unix.
    890eedaf59
- 1.20.0
  - unix,spawn: respect user stdio flags for new pipe
    c409b3fcff
2018-11-01 00:10:50 +01:00