mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
9337fff8aa
209 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Christian Clason
|
aba397991b
|
build(deps): bump luarocks to 3.7.0 #15740
Besides bugfixes, this brings `XDG_*` compliance and improved
robustness, especially for network errors.
See https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md
- fixup: set LIBUV_LIBDIR to workaround
|
||
Christian Clason
|
9cbebcb247 | chore(deps): bump libuv and luv to 1.42.0 | ||
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. |
||
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. |
||
Jan Edmund Lazo
|
94583483f9
|
deps(curl): v7.77.0 (#14961)
https://github.com/neovim/neovim/issues/14078#issuecomment-870882357
|
||
Christian Clason
|
836c310321 | feat(ts): bump tree-sitter to v0.20.0 | ||
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> |
||
Thomas Vigouroux
|
3085788a3e
|
deps(treesitter): bump to 0.19.5+
This fixes a bunch of issues with queries. |
||
Jan Edmund Lazo
|
dc18c1e3ee
|
win/package: update wintools.zip for curl v7.76.1 (#14570)
https://github.com/neovim/neovim/issues/14078 |
||
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 |
||
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 |
||
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 |
||
Mathias Fussenegger
|
3c2bc05f94 | treesitter: Update to 0.19.4+2 | ||
Björn Linse
|
e8a0ff001f
|
Merge pull request #14076 from mfussenegger/treesitter019
treesitter: Update to 0.19.3 |
||
Raymond W. Ko
|
097ec71bd8
|
aarch64/linux: fix build by updating LuaJIT (#14096) | ||
Mathias Fussenegger
|
b73e653703 | treesitter: Update to 0.19.3 | ||
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. |
||
Tae Won Ha
|
12709c475b
|
Use the latest luajit for arm64 Mac compatibility. | ||
Thomas Vigouroux
|
9e9137ef04
|
deps(tree-sitter): dump to 0.17.3
Also test the the bundling works correctly. |
||
Thomas Vigouroux
|
823cc66509
|
deps(treesitter): bump up to 0.17.1 | ||
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 |
||
Christian Clason
|
7de276b877 | bump libvterm to 0.1.4 | ||
John Gehrig
|
5f0a1b04c1
|
neovim-qt: bump to version 0.2.16 (#12508) | ||
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 |
||
Thomas Vigouroux
|
e10f9151dc | treesitter: remove utf8proc dependency | ||
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. |
||
Björn Linse
|
120a4c8e25
|
Merge pull request #11757 from bfredl/treesitter_runtime
treesitter: add standard search path for parsers + bundle c parser properly |
||
Björn Linse
|
64807303df | build: include tree-sitter-c parser in bundled build | ||
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
|
||
Daniel Hahler
|
e8d61005dc
|
third-party: upgrade libvterm to v0.1.3 (#11678) | ||
Matthieu Coudron
|
ad17ef118a | deps: update libtermkey to 0.22 #11429 | ||
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 |
||
Justin M. Keyes
|
726c8c7d74
|
win/dist: nvim-qt v0.2.15 #11295 | ||
Daniel Hahler
|
f2ad93168b
|
third-party: upgrade libvterm to 0.1.2 (#11177) | ||
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 |
||
Daniel Hahler
|
b0f5441c5e
|
bundle: upgrade LuaJIT to latest v2.1 (#10321) | ||
Björn Linse
|
b871100be7 |
Create BuildUtf8proc.cmake and FindUtf8proc.cmake
Using advanced search and replace technology |
||
Björn Linse
|
cd10096386 | tree-sitter: initial tree-sitter support | ||
Daniel Hahler
|
227ef71621 | third-party: update libuv to v1.31.0 | ||
Justin M. Keyes
|
4b7d8e6b87
|
win/dist: nvim-qt v0.2.14 #11008 | ||
Björn Linse
|
2a590e2293 | bump libvterm to 0.1 + memleak patch | ||
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:
|
||
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. |
||
Daniel Hahler
|
4aabe4a0d5
|
build: GetBinaryDeps: move include, fix doc (#10579) | ||
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' |
||
Damian Malarczyk
|
be949d6c9d | build: propagate sysroot to C++ deps (gperf) #10491 | ||
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 |
||
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. |
||
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 |
||
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. |