summaryrefslogtreecommitdiff
path: root/libtextstyle
Commit message (Collapse)AuthorAgeFilesLines
* libtextstyle: Turn off hyperlinks on the Solaris console.Bruno Haible2023-02-131-1/+10
| | | | | | | | The Solaris 11 console prints garbage when a hyperlink is output. Tested on Solaris 11.4/x86 and Solaris 11 OmniOS/x86. * libtextstyle/gnulib-local/lib/term-ostream.oo.c (should_enable_hyperlinks): Return false for the Solaris console.
* libtextstyle: Fix .gitignore.Bruno Haible2023-02-111-48/+48
|
* libtextstyle: Fix compilation error on Android.Bruno Haible2023-02-112-3/+13
| | | | | | | | * libtextstyle/gnulib-local/m4/libglib.m4 (gl_LIBGLIB): Test whether struct lconv has a 'decimal_point' field. * libtextstyle/gnulib-local/lib/glib/gstrfuncs.c (g_ascii_strtod, g_ascii_formatd): If struct lconv does not have a 'decimal_point' field, use "." instead.
* Update after gnulib changed.Bruno Haible2023-02-111-1/+10
| | | | | | | | | | | * gettext-runtime/intl/configure.ac: Test also REPLACE_TWALK. * gettext-tools/src/po-xerror.c: Don't include "getprogname.h". * gnulib-local/lib/xerror.c: Likewise. * gnulib-local/lib/error-progname.c: Include <stdlib.h> instead of getprogname.h. * gnulib-local/lib/error.in.h.diff: Renamed from gnulib-local/lib/error.h.diff. * gnulib-local/Makefile.am (EXTRA_DIST): Update. * gnulib-local/modules/gettext-tools-misc (Makefile.am): Update comment.
* Update after release 0.21.1 has been made.Bruno Haible2023-02-031-1/+1
| | | | * libtextstyle/NEWS: Update next version number.
* In 'trap' commands, prefer symbolic to numeric signal names.Bruno Haible2022-11-261-1/+1
| | | | | * libtextstyle/gnulib-local/tests/test-term-ostream-xterm.sh: Use symbolic signal names.
* Merge from 0.21.x branch: Prepare for 0.21.1 release.Bruno Haible2022-10-102-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gettext-runtime/doc/matrix.texi: Update from TP. * gettext-runtime/doc/nls.texi (STATUS): Update. * gettext-runtime/intl/libgnuintl.in.h (LIBINTL_VERSION): Bump. * gettext-tools/libgettextpo/gettext-po.in.h (LIBGETTEXTPO_VERSION): Bump. * libtextstyle/version.sh: Update VERSION_NUMBER, RELEASE_DATE. * NEWS, gettext-runtime/NEWS: Update. * libtextstyle/lib/Makefile.am (LTV_*): Bump to 1:2:1. * gettext-runtime/intl/Makefile.am (LTV_*): Bump to 11:0:3. * gettext-tools/libgettextpo/Makefile.am (LTV_*): Bump to 5:8:5. * gettext-runtime/src/envsubst.c: Update copyright years of the --version output. * gettext-runtime/src/gettext.c: Likewise. * gettext-runtime/src/gettext.sh.in: Likewise. * gettext-runtime/src/ngettext.c: Likewise. * gettext-tools/misc/autopoint.in: Likewise. * gettext-tools/misc/convert-archive.in: Likewise. * gettext-tools/misc/gettextize.in: Likewise. * gettext-tools/src/cldr-plurals.c: Likewise. * gettext-tools/src/hostname.c: Likewise. * gettext-tools/src/msgattrib.c: Likewise. * gettext-tools/src/msgcat.c: Likewise. * gettext-tools/src/msgcmp.c: Likewise. * gettext-tools/src/msgcomm.c: Likewise. * gettext-tools/src/msgconv.c: Likewise. * gettext-tools/src/msgen.c: Likewise. * gettext-tools/src/msgexec.c: Likewise. * gettext-tools/src/msgfilter.c: Likewise. * gettext-tools/src/msgfmt.c: Likewise. * gettext-tools/src/msggrep.c: Likewise. * gettext-tools/src/msginit.c: Likewise. * gettext-tools/src/msgmerge.c: Likewise. * gettext-tools/src/msgunfmt.c: Likewise. * gettext-tools/src/msguniq.c: Likewise. * gettext-tools/src/recode-sr-latin.c: Likewise. * gettext-tools/src/urlget.c: Likewise. * gettext-tools/src/xgettext.c: Likewise. * gettext-tools/configure.ac (ARCHIVE_VERSION): Bump to 0.21.1. * gettext-tools/misc/autopoint.in: Allow version 0.21.1.
* Move gnulib-tool invocation back from autopull.sh to autogen.sh.Bruno Haible2022-07-184-80/+98
| | | | | | | | * autogen.sh: Revert most of last change. Improve comments. * autopull.sh: Only call 'gitsub.sh pull', fetch archive.dir.tar, and recurse. * libtextstyle/autogen.sh: Revert most of last change. Improve comments. * libtextstyle/autopull.sh: Only call 'gitsub.sh pull', fetch texinfo.tex. * libtextstyle/m4/init-package-version.m4: Revert last change.
* Split autogen.sh into autopull.sh and autogen.sh.Bruno Haible2022-07-175-110/+120
| | | | | | | | | | | | * autopull.sh: New file, based on autogen.sh. * autogen.sh: Remove code that was moved to autopull.sh. Remove --skip-gnulib option. * HACKING: Mention autopull.sh. * libtextstyle/autopull.sh: New file, based on libtextstyle/autogen.sh. * libtextstyle/autogen.sh: Remove code that was moved to libtextstyle/autopull.sh. Remove --skip-gnulib option. * libtextstyle/HACKING: Mention autopull.sh. * libtextstyle/m4/init-package-version.m4: Update comment.
* Update after gnulib changed.Bruno Haible2022-02-0413-1921/+3
| | | | | | | | | | | | | | | * libtextstyle/gnulib-local/lib/termcap.h: Remove file (moved to gnulib). * libtextstyle/gnulib-local/lib/terminfo.h: Remove file (moved to gnulib). * libtextstyle/gnulib-local/lib/tparm.c: Remove file (moved to gnulib). * libtextstyle/gnulib-local/lib/tputs.c: Remove file (moved to gnulib). * libtextstyle/gnulib-local/m4/termcap.m4: Remove file (moved to gnulib). * libtextstyle/gnulib-local/m4/terminfo.m4: Remove file (moved to gnulib). * libtextstyle/gnulib-local/m4/curses.m4: Remove file (moved to gnulib). * libtextstyle/gnulib-local/modules/termcap: Remove file (moved to gnulib). * libtextstyle/gnulib-local/modules/termcap-h: Remove file (moved to gnulib). * libtextstyle/gnulib-local/modules/terminfo: Remove file (moved to gnulib). * libtextstyle/gnulib-local/modules/terminfo-h: Remove file (moved to gnulib). * libtextstyle/Makefile.am (EXTRA_DIST): Remove these files.
* libtextstyle: Fix a comment.Bruno Haible2022-01-301-1/+1
| | | | | * libtextstyle/gnulib-local/lib/term-ostream.oo.c (term_ostream_create): Fix typo in comment.
* libtextstyle: Consider setupterm return code.Bruno Haible2022-01-301-1/+1
| | | | | * libtextstyle/gnulib-local/lib/term-ostream.oo.c (term_ostream_create): Don't bother retrieving values if $TERM is an unknown terminal type.
* libtextstyle: Try harder to avoid buffer overflow.Bruno Haible2022-01-301-3/+10
| | | | | * libtextstyle/gnulib-local/lib/term-ostream.oo.c (term_ostream_create): Double the size of termcapbuf and termentrybuf.
* Update after gnulib changed.Bruno Haible2021-12-201-0/+1
|
* libtextstyle: Clarify rationale for gl_INIT_PACKAGE.Bruno Haible2021-12-071-1/+23
| | | | * libtextstyle/m4/init-package-version.m4: Add more comments.
* Improve DEPENDENCIES and HACKING files.Bruno Haible2021-08-211-1/+37
| | | | | | * DEPENDENCIES: Update mono runtime package name. * HACKING: Add pre-built package names. Recommend TeX Live instead of teTeX. * libtextstyle/HACKING: Likewise.
* libtextstyle: Make gl_INIT_PACKAGE work with Automake >= 1.16.4.Bruno Haible2021-08-081-4/+8
| | | | | | | | Reported and analyzed by Nicole Mazzuca <mazzucan@outlook.com> in <https://lists.gnu.org/archive/html/bug-libunistring/2021-08/msg00002.html>. * m4/init-package-version.m4 (gl_INIT_PACKAGE): Use a new macro gl_INIT_EMPTY. (gl_INIT_DUMMY): Expand to empty in two steps, via a new macro gl_INIT_DUMMY2.
* .gitignore: Ignore the generated config.cache files.Bruno Haible2021-07-251-0/+3
|
* libtextstyle: Fix comment.Bruno Haible2021-06-201-2/+1
| | | | * libtextstyle/lib/Makefile.am: Fix outdated comment.
* Improve conflict resolution between gnulib and textstyle.h.Bruno Haible2021-06-201-3/+5
| | | | | * libtextstyle/lib/textstyle.h (libtextstyle_isatty): Don't override a Gnulib override.
* Update to the newest gnulib.Bruno Haible2021-06-202-3/+10
| | | | | | | | | | * gnulib-local/lib/localename.c.diff: Remove file. * gnulib-local/lib/localename-table.h.diff: Remove file. * gnulib-local/lib/tsearch.c.diff: Remove file. * gnulib-local/modules/tsearch.diff: Remove file. * gnulib-local/Makefile.am (EXTRA_DIST): Remove them. * libtextstyle/configure.ac: Update for changed naming convention of module indicator variables.
* libtextstyle: Fix build in locales other than the C locale (regression ↵Bruno Haible2021-06-201-1/+1
| | | | | | 2021-04-07). * libtextstyle/lib/Makefile.am (config.h): Invoke join-v-1 in the C locale.
* libtextstyle: Fix the set of exported symbols on Alpine Linux.Bruno Haible2021-04-073-3/+47
| | | | | | * libtextstyle/build-aux/join-v-1: New file, from GNU libunistring. * libtextstyle/Makefile.am (EXTRA_DIST): Add it. * libtextstyle/lib/Makefile.am (config.h): Use it instead of 'join -v 1'.
* Use xalloc module from gnulib.Bruno Haible2021-04-042-4/+2
| | | | | | | | | | | * gnulib-local/lib/xalloc.h: Remove file. * gnulib-local/lib/xmalloc.c: Remove file. * gnulib-local/lib/xstrdup.c: Remove file. * gnulib-local/modules/xalloc: Remove file. * gnulib-local/modules/xalloc-die: Remove file. * gnulib-local/Makefile.am (EXTRA_DIST): Remove them. * libtextstyle/lib/misc.c (xmalloc_exit_failure): Remove declaration. (libtextstyle_set_failure_exit_code): Don't set xmalloc_exit_failure.
* Update DEPENDENCIES.Bruno Haible2021-03-011-10/+29
| | | | | | | * DEPENDENCIES: Update info regarding libiconv. List pre-built package names. Add awk as a normal dependency of a package with an Autoconf-generated configure file. * libtextstyle/DEPENDENCIES: Likewise.
* Switch to autoconf-2.71.Bruno Haible2021-02-211-2/+2
| | | | * libtextstyle/autogen.sh: Update comments.
* Update after gnulib changed.Bruno Haible2020-12-251-0/+1
| | | | | * libtextstyle/configure.ac: Set GNULIB_MDA_ISATTY. This fixes a link error on native Windows.
* libtextstyle: Add accessor functions.Bruno Haible2020-12-1522-32/+453
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libtextstyle/gnulib-local/lib/fd-ostream.oo.h (fd_ostream): New methods get_descriptor, get_filename, is_buffered. * libtextstyle/gnulib-local/lib/fd-ostream.oo.c (fd_ostream::get_descriptor, fd_ostream::get_filename, fd_ostream::is_buffered): New functions. * libtextstyle/gnulib-local/lib/file-ostream.oo.h (file_ostream): New method get_stdio_stream. * libtextstyle/gnulib-local/lib/file-ostream.oo.c (file_ostream::get_stdio_stream): New function. * libtextstyle/gnulib-local/lib/html-ostream.oo.h (html_ostream): New method get_destination. * libtextstyle/gnulib-local/lib/html-ostream.oo.c (html_ostream::get_destination): New function. * libtextstyle/gnulib-local/lib/html-styled-ostream.oo.h: Include html-ostream.h. (html_styled_ostream): New methods get_destination, get_html_destination, get_css_filename. * libtextstyle/gnulib-local/lib/html-styled-ostream.oo.c (html_styled_ostream): Add field 'css_filename'. (html_styled_ostream::free): Free it. (html_styled_ostream_create): Initialize it. (html_styled_ostream::get_destination, html_styled_ostream::get_html_destination, html_styled_ostream::get_css_filename): New functions. * libtextstyle/gnulib-local/lib/iconv-ostream.oo.h (iconv_ostream): New methods get_from_encoding, get_to_encoding, get_destination. * libtextstyle/gnulib-local/lib/iconv-ostream.oo.c (iconv_ostream::get_from_encoding, iconv_ostream::get_to_encoding, iconv_ostream::get_destination): New functions. * libtextstyle/gnulib-local/lib/noop-styled-ostream.oo.h (noop_styled_ostream): New methods get_destination, is_owning_destination. * libtextstyle/gnulib-local/lib/noop-styled-ostream.oo.c (noop_styled_ostream::get_destination, noop_styled_ostream::is_owning_destination): New functions. * libtextstyle/gnulib-local/lib/term-ostream.oo.h (term_ostream): New methods get_descriptor, get_filename, get_tty_control, get_effective_tty_control. * libtextstyle/gnulib-local/lib/term-ostream.oo.c (term_ostream): Add field 'tty_control'. (term_ostream_create): Initialize it. (term_ostream::get_descriptor, term_ostream::get_filename, term_ostream::get_tty_control, term_ostream::get_effective_tty_control): New functions. * libtextstyle/gnulib-local/lib/term-styled-ostream.oo.h (term_styled_ostream): New methods get_destination, get_css_filename. * libtextstyle/gnulib-local/lib/term-styled-ostream.oo.c (term_styled_ostream): Add field 'css_filename'. (term_styled_ostream::free): Free it. (term_styled_ostream_create): Initialize it. (term_styled_ostream::get_destination, term_styled_ostream::get_css_filename): New functions. * libtextstyle/lib/textstyle.h (file_ostream_get_stdio_stream, fd_ostream_get_descriptor, fd_ostream_get_filename, fd_ostream_is_buffered, term_ostream_get_descriptor, term_ostream_get_filename, term_ostream_get_tty_control, term_ostream_get_effective_tty_control, iconv_ostream_get_from_encoding, iconv_ostream_get_to_encoding, iconv_ostream_get_destination, html_ostream_get_destination, term_styled_ostream_get_destination, term_styled_ostream_get_css_filename, html_styled_ostream_get_destination, html_styled_ostream_get_html_destination, html_styled_ostream_get_css_filename, noop_styled_ostream_get_destination, noop_styled_ostream_is_owning_destination): New declarations. * libtextstyle/tests/test-accessors.c: New file. * libtextstyle/tests/Makefile.am: Arrange to compile it. * libtextstyle/doc/libtextstyle.texi (Accessors): New subsection. * libtextstyle/NEWS: Mention the new functions.
* libtextstyle: Doc update.Bruno Haible2020-12-151-0/+10
| | | | | * libtextstyle/doc/libtextstyle.texi (The output stream hierarchy): Add is_instance_of_* functions to the index.
* libtextstyle: Add is_instance_of_* predicates.Bruno Haible2020-12-1426-20/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libtextstyle/gnulib-local/lib/fd-ostream.oo.h (is_instance_of_fd_ostream): New declaration. * libtextstyle/gnulib-local/lib/fd-ostream.oo.c (is_instance_of_fd_ostream): New function. * libtextstyle/gnulib-local/lib/file-ostream.oo.h (is_instance_of_file_ostream): New declaration. * libtextstyle/gnulib-local/lib/file-ostream.oo.c (is_instance_of_file_ostream): New function. * libtextstyle/gnulib-local/lib/html-ostream.oo.h (is_instance_of_html_ostream): New declaration. * libtextstyle/gnulib-local/lib/html-ostream.oo.c (is_instance_of_html_ostream): New function. * libtextstyle/gnulib-local/lib/html-styled-ostream.oo.h (is_instance_of_html_styled_ostream): New declaration. * libtextstyle/gnulib-local/lib/html-styled-ostream.oo.c (is_instance_of_html_styled_ostream): New function. * libtextstyle/gnulib-local/lib/iconv-ostream.oo.h (is_instance_of_iconv_ostream): New declaration. * libtextstyle/gnulib-local/lib/iconv-ostream.oo.c (is_instance_of_iconv_ostream): New function. * libtextstyle/gnulib-local/lib/memory-ostream.oo.h (is_instance_of_memory_ostream): New declaration. * libtextstyle/gnulib-local/lib/memory-ostream.oo.c (is_instance_of_memory_ostream): New function. * libtextstyle/gnulib-local/lib/noop-styled-ostream.oo.h (is_instance_of_noop_styled_ostream): New declaration. * libtextstyle/gnulib-local/lib/noop-styled-ostream.oo.c (is_instance_of_noop_styled_ostream): New function. * libtextstyle/gnulib-local/lib/styled-ostream.oo.h (is_instance_of_styled_ostream): New declaration. * libtextstyle/gnulib-local/lib/styled-ostream.oo.c (is_instance_of_styled_ostream): New function. * libtextstyle/gnulib-local/lib/term-ostream.oo.h (is_instance_of_term_ostream): New declaration. * libtextstyle/gnulib-local/lib/term-ostream.oo.c (is_instance_of_term_ostream): New function. * libtextstyle/gnulib-local/lib/term-styled-ostream.oo.h (is_instance_of_term_styled_ostream): New declaration. * libtextstyle/gnulib-local/lib/term-styled-ostream.oo.c (is_instance_of_term_styled_ostream): New function. * libtextstyle/lib/textstyle.h (is_instance_of_styled_ostream, is_instance_of_file_ostream, is_instance_of_fd_ostream, is_instance_of_term_ostream, is_instance_of_memory_ostream, is_instance_of_iconv_ostream, is_instance_of_html_ostream, is_instance_of_term_styled_ostream, is_instance_of_html_styled_ostream, is_instance_of_noop_styled_ostream): New declarations. * libtextstyle/tests/test-instanceof.c: New file. * libtextstyle/tests/Makefile.am: Arrange to compile it. * libtextstyle/doc/libtextstyle.texi (The output stream hierarchy): Mention the is_instance_of_* predicates. * libtextstyle/NEWS: Mention the new functions.
* build: Allow building with Autoconf 2.70.Bruno Haible2020-12-091-1/+1
| | | | * libtextstyle/autogen.sh: Update comment.
* build: Fix warnings emitted by autoconf-2.69d.Bruno Haible2020-11-145-234/+295
| | | | | | | | | | | | | | | | | | | * gettext-tools/configure.ac: Use AC_LINK_IFELSE instead of AC_TRY_LINK. Don't invoke AC_FUNC_VFORK. * gettext-tools/m4/exported.m4 (gt_GLOBAL_SYMBOL_PIPE): Require LT_PATH_NM instead of AC_PROG_NM. * gnulib-local/m4/libxml.m4 (gl_LIBXML): Use AC_LINK_IFELSE instead of AC_TRY_LINK. Use AC_PREPROC_IFELSE instead of AC_TRY_CPP. * libtextstyle/configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER. * libtextstyle/gnulib-local/m4/libcroco.m4 (gl_LIBCROCO): Use AC_LINK_IFELSE instead of AC_TRY_LINK. * libtextstyle/gnulib-local/m4/libglib.m4 (gl_LIBGLIB): Use AC_LINK_IFELSE instead of AC_TRY_LINK. Require AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE. * libtextstyle/gnulib-local/m4/termcap.m4 (gl_TERMCAP_BODY): Use AC_LINK_IFELSE instead of AC_TRY_LINK. * libtextstyle/gnulib-local/m4/terminfo.m4 (gl_TERMINFO_BODY): Use AC_LINK_IFELSE instead of AC_TRY_LINK. * m4/woe32-dll.m4 (gl_WOE32_DLL): Use AC_LINK_IFELSE instead of AC_TRY_LINK.
* Fix "warning: unannotated fall-through between switch labels".Bruno Haible2020-10-042-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autogen.sh (GNULIB_MODULES_RUNTIME_FOR_SRC, GNULIB_MODULES_TOOLS_FOR_SRC, GNULIB_MODULES_LIBGETTEXTPO): Add 'attribute'. * libtextstyle/autogen.sh (GNULIB_MODULES): Likewise. * gettext-runtime/intl/plural.y: Include attribute.h. Use FALLTHROUGH annotated empty statements instead of /* FALLTHROUGH */ comments. * gettext-runtime/src/gettext.c: Likewise. * gettext-runtime/src/ngettext.c: Likewise. * gettext-tools/src/format-boost.c: Likewise. * gettext-tools/src/read-stringtable.c: Likewise. * gettext-tools/src/write-csharp.c: Likewise. * gettext-tools/src/write-java.c: Likewise. * gettext-tools/src/write-po.c: Likewise. * gettext-tools/src/x-awk.c: Likewise. * gettext-tools/src/x-c.c: Likewise. * gettext-tools/src/x-csharp.c: Likewise. * gettext-tools/src/x-elisp.c: Likewise. * gettext-tools/src/x-java.c: Likewise. * gettext-tools/src/x-javascript.c: Likewise. * gettext-tools/src/x-librep.c: Likewise. * gettext-tools/src/x-lisp.c: Likewise. * gettext-tools/src/x-perl.c: Likewise. * gettext-tools/src/x-php.c: Likewise. * gettext-tools/src/x-python.c: Likewise. * gettext-tools/src/x-scheme.c: Likewise. * gettext-tools/src/x-sh.c: Likewise. * gettext-tools/src/x-smalltalk.c: Likewise. * gettext-tools/src/x-tcl.c: Likewise. * gettext-tools/src/x-vala.c: Likewise. * gettext-tools/src/x-ycp.c: Likewise. * gettext-tools/tests/tstgettext.c: Likewise. * gettext-tools/tests/tstngettext.c: Likewise. * libtextstyle/gnulib-local/lib/tparm.c: Likewise. * gettext-runtime/src/escapes.h: Use FALLTHROUGH annotated empty statements instead of /* FALLTHROUGH */ comments.
* Fix "warning: cast from 'const void *' to 'char *' drops const qualifier".Bruno Haible2020-10-041-2/+2
| | | | | * libtextstyle/gnulib-local/lib/iconv-ostream.oo.c (iconv_ostream::write_mem): Add 'const'.
* Fix "warning: cast from 'const void *' to 'char *' drops const qualifier".Bruno Haible2020-10-041-2/+2
| | | | | * libtextstyle/gnulib-local/lib/html-ostream.oo.c (html_ostream::write_mem): Add 'const'.
* Fix "warning: cast from 'const void *' to 'char *' drops const qualifier".Bruno Haible2020-10-041-4/+4
| | | | | * libtextstyle/gnulib-local/lib/fd-ostream.oo.c (fd_ostream::write_mem): Add 'const'.
* Update after gnulib changed.Bruno Haible2020-09-062-2/+3
| | | | | | | | | * configure.ac (AC_PREREQ): Bump minimum Autoconf version to 2.64. * gettext-runtime/configure.ac (AC_PREREQ): Likewise. * gettext-runtime/libasprintf/configure.ac (AC_PREREQ): Likewise. * libtextstyle/configure.ac (AC_PREREQ): Likewise. * gettext-tools/configure.ac (AC_PREREQ): Likewise. * gettext-tools/examples/configure.ac (AC_PREREQ): Likewise.
* Prepare for 0.21 release.Bruno Haible2020-07-263-4/+4
| | | | | | | | | | | | | | | * gettext-runtime/doc/matrix.texi: Update from TP. * gettext-runtime/doc/nls.texi (STATUS): Update. * gettext-runtime/intl/libgnuintl.in.h (LIBINTL_VERSION): Bump. * gettext-tools/libgettextpo/gettext-po.in.h (LIBGETTEXTPO_VERSION): Bump. * libtextstyle/version.sh: Update VERSION_NUMBER, RELEASE_DATE. * gettext-runtime/po/Makefile.in.in: Bump Origin version. * NEWS, libtextstyle/NEWS, gettext-runtime/NEWS: Update. * libtextstyle/lib/Makefile.am (LTV_*): Bump to 1:1:1. * gettext-runtime/intl/Makefile.am (LTV_*): Bump to 10:0:2. * gettext-tools/libgettextpo/Makefile.am (LTV_*): Bump to 5:7:5. * gettext-tools/configure.ac (ARCHIVE_VERSION): Bump to 0.21. * gettext-tools/misc/autopoint.in: Allow version 0.21.
* Update after gnulib changed.Bruno Haible2020-07-261-2/+0
| | | | | | | | * gettext-runtime/m4/intl.m4 (gt_INTL_SUBDIR_CORE): Don't require gt_INTTYPES_PRI. * gettext-runtime/m4/inttypes-pri.m4: Remove file. * gettext-runtime/m4/Makefile.am (EXTRA_DIST): Remove it. * Makefile.am (distcheck-hook): Don't compare inttypes-pri.m4. * gettext-runtime/m4/size_max.m4: Update from gnulib.
* Update after gnulib changed.Bruno Haible2020-07-051-0/+11
| | | | | | | | * gnulib-local/lib/clean-temp.c.diff: Remove file. * gnulib-local/Makefile.am (EXTRA_DIST): Remove it. * gettext-tools/src/write-csharp.c (msgdomain_write_csharp): Update fopen_temp invocation. * gettext-tools/src/write-java.c (msgdomain_write_java): Likewise.
* Remove some now unneeded gnulib-tool --avoid options.Bruno Haible2020-07-051-1/+1
| | | | | * autogen.sh: Remove some --avoid=*-tests options. * libtextstyle/autogen.sh: Likewise.
* Avoid a module name and include file name collision with gnulib.Bruno Haible2020-07-043-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnulib-local/lib/mem-hash-map.h: Renamed from gnulib-local/lib/hash.h. * gnulib-local/lib/mem-hash-map.c: Renamed from gnulib-local/lib/hash.c. Include mem-hash-map.h instead of hash.h. * gnulib-local/modules/mem-hash-map: Renamed from gnulib-local/modules/hash. Update. * gnulib-local/Makefile.am (EXTRA_DIST): Update. * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC, GNULIB_MODULES_LIBGETTEXTPO): Update. * libtextstyle/gnulib-local/modules/term-styled-ostream (Depends-on): Likewise. * gettext-tools/src/its.c: Include mem-hash-map.h instead of hash.h. * gettext-tools/src/locating-rule.c: Likewise. * gettext-tools/src/message.c: Likewise. * gettext-tools/src/message.h: Likewise. * gettext-tools/src/read-desktop.h: Likewise. * gettext-tools/src/write-mo.c: Likewise. * gettext-tools/src/write-qt.c: Likewise. * gettext-tools/src/x-c.c: Likewise. * gettext-tools/src/x-csharp.c: Likewise. * gettext-tools/src/x-desktop.c: Likewise. * gettext-tools/src/x-elisp.c: Likewise. * gettext-tools/src/x-java.c: Likewise. * gettext-tools/src/x-librep.c: Likewise. * gettext-tools/src/x-lisp.c: Likewise. * gettext-tools/src/x-scheme.c: Likewise. * gettext-tools/src/x-sh.c: Likewise. * gettext-tools/src/x-tcl.c: Likewise. * gettext-tools/src/x-vala.c: Likewise. * gettext-tools/src/xg-arglist-callshape.h: Likewise. * gettext-tools/src/xg-arglist-context.h: Likewise. * libtextstyle/gnulib-local/lib/term-styled-ostream.oo.c: Likewise.
* Update after gnulib changed.Bruno Haible2020-06-271-0/+6
| | | | | | | | | | | | | | | * gnulib-local/modules/fnmatch.diff: Remove file. * gnulib-local/lib/fnmatch.c.diff: Remove file. * gnulib-local/lib/fnmatch_loop.c.diff: Remove file. * gnulib-local/Makefile.am (EXTRA_DIST): Remove them. * gettext-tools/src/read-properties.c (properties_parse): Update the fread_file invocation. * gettext-tools/po/POTFILES.in: Remove gnulib-lib/copy-acl.c, gnulib-lib/set-acl.c. * gettext-runtime/intl/localename.c: Update from gnulib. * gettext-runtime/intl/relocatable.c: Likewise. * gettext-runtime/intl/verify.h: Likewise. * gettext-runtime/intl/windows-rwlock.c: Likewise.
* Reduce explicit use of __attribute__.Bruno Haible2020-05-091-0/+1
| | | | | | * gnulib-local/lib/xalloc.h: Include noreturn.h. (xalloc_die): Use _GL_NORETURN_FUNC. * gnulib-local/modules/xalloc (Depends-on): Add noreturn.
* Update after gnulib changed.Bruno Haible2020-05-081-0/+1
| | | | * gnulib-local/modules/fnmatch.diff: Update.
* libtextstyle: Fix a memory leak.Bruno Haible2020-04-141-1/+2
| | | | | | | Reported by José E. Marchesi <jemarch@gnu.org>. * libtextstyle/gnulib-local/lib/term-ostream.oo.c (term_ostream::free): Free also the stream's attrbuffer.
* Update NEWS files after version 0.20.2 was released.Bruno Haible2020-04-141-0/+2
|
* libtextstyle: Update .gitignore after 2019-12-24 change.Bruno Haible2020-04-111-1/+2
|
* Update after gnulib changed.Bruno Haible2020-03-282-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gnulib-local/lib/regex_internal.h.diff: Update. * gnulib-local/lib/unistd.in.h.diff: Update. * gettext-runtime/intl/filename.h: New file, from gnulib. * gettext-runtime/intl/dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH, IS_PATH_WITH_DIR): Remove macros. Instead, include filename.h. (IS_ABSOLUTE_FILE_NAME, IS_RELATIVE_FILE_NAME, IS_FILE_NAME_WITH_DIR): New macros. (DCIGETTEXT): Use IS_RELATIVE_FILE_NAME, IS_FILE_NAME_WITH_DIR. * gettext-runtime/intl/l10nflist.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH): Remove macros. Instead, include filename.h. (IS_ABSOLUTE_FILE_NAME, IS_RELATIVE_FILE_NAME): New macros. (_nl_make_l10nflist): Use IS_RELATIVE_FILE_NAME. * gettext-runtime/intl/Makefile.am (EXTRA_DIST): Add filename.h. (l10nflist.lo, dcigettext.lo): Depend on it. * Makefile.am (distcheck-hook): Check also gettext-runtime/intl/filename.h. * gettext-runtime/intl/lock.c: Update from gnulib. * gettext-runtime/intl/lock.h: Likewise. * gettext-runtime/intl/relocatable.c: Likewise. * gettext-tools/src/locating-rule.c (locating_rule_list_locate): Use IS_RELATIVE_FILE_NAME instead of IS_ABSOLUTE_PATH. * gettext-tools/src/open-catalog.c (try_open_catalog_file): Likewise. * gettext-tools/src/xgettext.c (main, xgettext_open): Likewise. * libtextstyle/lib/color.c (style_file_lookup): Use IS_FILE_NAME_WITH_DIR instead of IS_PATH_WITH_DIR.
* libtextstyle: Prepare intermediate release 0.20.5.Bruno Haible2020-01-213-6/+7
| | | | | | | * libtextstyle/version.sh: Update version number. * libtextstyle/lib/Makefile.am (LTV_*): Bump to 1:0:1. * libtextstyle/NEWS: Update. * NEWS: Likewise.