]> git.ipfire.org Git - thirdparty/gettext.git/log
thirdparty/gettext.git
10 years agointl: Make the LCOV workaround non-intrusive
Daiki Ueno [Thu, 4 Dec 2014 02:59:53 +0000 (11:59 +0900)] 
intl: Make the LCOV workaround non-intrusive

* gettext-runtime/intl/Makefile.in (PLURAL_OBJECT): New variable.
(OBJECTS): Refer to $(PLURAL_OBJECT) instead of plural.$lo.
(pluralx.c, pluralx.lo): New rule.
(mostlyclean): Remove pluralx.c.
* gettext-tools/configure.ac: Replace PLURAL_OBJECT in intl/Makefile.

10 years agoUpdate after Gnulib changed
Daiki Ueno [Wed, 3 Dec 2014 07:42:09 +0000 (16:42 +0900)] 
Update after Gnulib changed

* extern-inline.m4, iconv.m4: Update from Gnulib.

10 years agotests: Fix data file location for msgunfmt-3
Daiki Ueno [Wed, 3 Dec 2014 07:40:29 +0000 (16:40 +0900)] 
tests: Fix data file location for msgunfmt-3

* msgunfmt-3: Locate overflow.mo in $abs_srcdir instead of '..'.

10 years agoUpdate gnulib
Daiki Ueno [Wed, 3 Dec 2014 07:12:02 +0000 (16:12 +0900)] 
Update gnulib

10 years agointl: Work around LCOV relative base directory resolution
Daiki Ueno [Wed, 3 Dec 2014 06:14:44 +0000 (15:14 +0900)] 
intl: Work around LCOV relative base directory resolution

* gettext-runtime/intl/Makefile.in (plural.lo): Resolve relative
source file name given with '#line' directive, when $(srcdir) !=
$(builddir).
(mostlyclean): Remove plural.c generated in the 'plural.lo' rule.
* gettext-tools/src/plural-exp.c: Include "../intl/plural.c" instead
of "../../gettext-runtime/intl/plural.c".

10 years agoautogen.sh: Fix typo
Daiki Ueno [Wed, 3 Dec 2014 06:05:35 +0000 (15:05 +0900)] 
autogen.sh: Fix typo

* autogen.sh: Fix typo: geneating -> generating.

10 years agoc: Minor cleanup of the previous commit
Daiki Ueno [Tue, 2 Dec 2014 11:43:28 +0000 (20:43 +0900)] 
c: Minor cleanup of the previous commit

* x-c.c (phase5_get): Remove redundant check of is_prefix; fit
lines to 80 column.

10 years agoNEWS: Mention C++11 string literals support
Daiki Ueno [Tue, 2 Dec 2014 08:26:26 +0000 (17:26 +0900)] 
NEWS: Mention C++11 string literals support

10 years agotests: Add test for C++11 string literals
Daiki Ueno [Tue, 2 Dec 2014 06:12:57 +0000 (15:12 +0900)] 
tests: Add test for C++11 string literals

* xgettext-c-20: New file.
* Makefile.am (TESTS): Add new test.

10 years agoc: Support C++11 string literals
Daiki Ueno [Tue, 2 Dec 2014 06:11:26 +0000 (15:11 +0900)] 
c: Support C++11 string literals

* x-c.c (phase5_get): Recognize C++ string literals, defined in
ISO/IEC 9899:2011.  Reported at:
<https://savannah.gnu.org/bugs/?39499>.

10 years agoNEWS: Mention C# surrogate pair support
Daiki Ueno [Mon, 1 Dec 2014 08:19:20 +0000 (17:19 +0900)] 
NEWS: Mention C# surrogate pair support

10 years agodoc: Document placement of extracted comment blocks
Daiki Ueno [Mon, 1 Dec 2014 07:45:57 +0000 (16:45 +0900)] 
doc: Document placement of extracted comment blocks

* xgettext.texi: Mention that extracted comment blocks must be
adjacent to keyword lines.
Reported by Yves-Gwenael Bourhis at:
<https://savannah.gnu.org/bugs/index.php?42376>.

10 years agotests: Add more tests for C# Unicode handling
Daiki Ueno [Mon, 1 Dec 2014 07:14:16 +0000 (16:14 +0900)] 
tests: Add more tests for C# Unicode handling

* xgettext-csharp-1: Test verbatim string.
* xgettext-csharp-2: Test Unicode identifiers.

10 years agotests: Add test for Unicode surrogate characters in C#
Daiki Ueno [Mon, 1 Dec 2014 04:41:28 +0000 (13:41 +0900)] 
tests: Add test for Unicode surrogate characters in C#

* xgettext-csharp-8: New file.
* Makefile.am (TESTS): Add new test.

10 years agoc#: Recognize Unicode surrogate character pair
Daiki Ueno [Mon, 1 Dec 2014 04:39:30 +0000 (13:39 +0900)] 
c#: Recognize Unicode surrogate character pair

* x-csharp.c (accumulate_escaped): Change the first argument type
from 'struct string_buffer *' to 'struct mixed_string_buffer *',
for Unicode surrogate character pair handling; all callers
changed.  Reported by Petr Kadlec at:
<https://savannah.gnu.org/bugs/?32505>.

10 years agobuild: Update libtool files to 2.4.4
Daiki Ueno [Mon, 1 Dec 2014 03:18:04 +0000 (12:18 +0900)] 
build: Update libtool files to 2.4.4

* m4/libtool.m4: Update from libtool-2.4.4, with modifications.
2008-04-06  Bruno Haible  <bruno@clisp.org>
* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
to ${CONFIG_SHELL}.
* m4/ltoptions.m4: Likewise.
* m4/ltversion.m4: Likewise.
* build-aux/ltmain.sh: Likewise.

10 years agotests: Add test for empty msgstr passed to msgfilter
Daiki Ueno [Fri, 28 Nov 2014 05:44:36 +0000 (14:44 +0900)] 
tests: Add test for empty msgstr passed to msgfilter

* msgfilter-7: New file.
* Makefile.am (TESTS): Add new test.

10 years agomsgfilter: Simplify the last commit
Daiki Ueno [Fri, 28 Nov 2014 05:42:25 +0000 (14:42 +0900)] 
msgfilter: Simplify the last commit

* msgfilter.c (prepare_read): Simplify the last commit 06e206f5,
by always adding 1 to the buffer size.

10 years agomsgfilter: Fix read buffer allocation for empty input
Daiki Ueno [Fri, 28 Nov 2014 04:21:37 +0000 (13:21 +0900)] 
msgfilter: Fix read buffer allocation for empty input

* msgfilter.c (prepare_read): Increase allocated buffer size even
if the original size is < 2.
Reported by Robin McCorkell at:
<https://savannah.gnu.org/bugs/?43720>.

10 years agoNEWS: Mention portability fix on Mac OS X 10.10
Daiki Ueno [Fri, 28 Nov 2014 03:29:04 +0000 (12:29 +0900)] 
NEWS: Mention portability fix on Mac OS X 10.10

This should be fixed with the libtool infrastructure update to 2.4.3.
Reported by Lawrence Velázquez at:
<http://savannah.gnu.org/bugs/?43512>.

10 years agobuild: Update libtool files to 2.4.3
Daiki Ueno [Fri, 28 Nov 2014 03:17:06 +0000 (12:17 +0900)] 
build: Update libtool files to 2.4.3

* m4/libtool.m4: Update from libtool-2.4.3, with modifications.
2008-04-06  Bruno Haible  <bruno@clisp.org>
* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
to ${CONFIG_SHELL}.
* m4/ltoptions.m4: Likewise.
* m4/ltsuger.m4: Likewise.
* m4/ltversion.m4: Likewise.
* m4/lt~obsolete.m4: Likewise.
* build-aux/ltmain.sh: Likewise.

10 years agojavascript: Simplify Unicode character escape handling
Daiki Ueno [Thu, 27 Nov 2014 09:32:23 +0000 (18:32 +0900)] 
javascript: Simplify Unicode character escape handling

ECMA-262 only supports "\uXXXX" style Unicode character escape and
we don't need extra space for character names.
* x-javascript.c: Don't include "uniname.h".
(phase2_pushback): Decrease to 5.  Don't refer to UNINAME_MAX.

10 years agoNEWS: Add 0.19.4 entry
Daiki Ueno [Sun, 23 Nov 2014 02:20:29 +0000 (11:20 +0900)] 
NEWS: Add 0.19.4 entry

10 years agotests: Add test for integer overflow when reading MO file
Daiki Ueno [Tue, 18 Nov 2014 03:29:32 +0000 (12:29 +0900)] 
tests: Add test for integer overflow when reading MO file

* msgunfmt-3: New file.
* Makefile.am (TESTS): Add new test.
(EXTRA_DIST): Add data file for msgunfmt-3.

10 years agoread-mo: Check size_t overflow
Daiki Ueno [Tue, 18 Nov 2014 03:11:22 +0000 (12:11 +0900)] 
read-mo: Check size_t overflow

* read-mo.c: Include "xsize.h".
(get_string): Use xsum3 to avoid overflow, when checking length
and offset fields.
Reported by Jakub Wilk at:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769901>.

10 years agoUpdate gnulib.
Daiki Ueno [Sun, 23 Nov 2014 01:17:31 +0000 (10:17 +0900)] 
Update gnulib.

10 years agobuild: Fix autogen.sh --skip-gnulib after fbf4e276
Yaakov Selkowitz [Tue, 18 Nov 2014 17:25:34 +0000 (11:25 -0600)] 
build: Fix autogen.sh --skip-gnulib after fbf4e276

* Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen.

10 years agoxgettext: Allow plural extraction from a single argument function
Daiki Ueno [Tue, 28 Oct 2014 07:38:40 +0000 (16:38 +0900)] 
xgettext: Allow plural extraction from a single argument function

The commit 8137d2b4 was a wrong fix since both singular/plural
msgids may point to the same address for Qt4 plural forms.  This
reverts the commit and fix the original double-free problem in the
right way.  Thanks to Jesper Fehrlund for suggestions.
* gettext-tools/src/xgettext.c (arglist_parser_remember_literal):
Don't ignore plural argument even if ARGNUM1 equals to ARGNUM2.
(arglist_parser_done): Make a copy of best_cp->msgid_plural when
passing it to remember_a_message_plural, if it equals to
best_cp->msgid.  Also move code conversion logic earlier taking into
account of the ownership transfer of best_cp->msgid.
* gettext-tools/src/xgettext-12: Test a single argument function.

10 years agotests: Add test for same ARGNUM1/ARGNUM2 given to xgettext -k
Daiki Ueno [Tue, 28 Oct 2014 06:53:34 +0000 (15:53 +0900)] 
tests: Add test for same ARGNUM1/ARGNUM2 given to xgettext -k

* xgettext-12: New file.
* Makefile.am (TESTS): Add new test.

10 years agoxgettext: Fix double-free in singular/plural argument extraction
Daiki Ueno [Tue, 28 Oct 2014 06:51:01 +0000 (15:51 +0900)] 
xgettext: Fix double-free in singular/plural argument extraction

After commit 6aa7b7ed in 2009, xgettext assumed that ARGNUM1 and
ARGNUM2 of -k are different.  That could cause an double-free in
exceptional cases.
Reported by Johan Liljegren in:
<https://lists.gnu.org/archive/html/bug-gettext/2014-10/msg00028.html>.
* xgettext.c (arglist_parser_remember_literal): Don't assume that
ARGNUM1 and ARGNUM2 are different.

10 years agoUpdate .gitignore v0.19.3
Daiki Ueno [Thu, 16 Oct 2014 05:46:39 +0000 (14:46 +0900)] 
Update .gitignore

10 years agoList new file in term-ostream-tests module
Daiki Ueno [Wed, 15 Oct 2014 23:24:28 +0000 (08:24 +0900)] 
List new file in term-ostream-tests module

Fixes commit a843584f.

10 years agoRelease 0.19.3
Daiki Ueno [Wed, 15 Oct 2014 07:49:05 +0000 (16:49 +0900)] 
Release 0.19.3

10 years agoPrepare for 0.19.3
Daiki Ueno [Wed, 15 Oct 2014 07:33:01 +0000 (16:33 +0900)] 
Prepare for 0.19.3

10 years agoNEWS: Update 0.19.3 entry
Daiki Ueno [Wed, 15 Oct 2014 09:36:40 +0000 (18:36 +0900)] 
NEWS: Update 0.19.3 entry

10 years agoUpdate translations
Daiki Ueno [Wed, 15 Oct 2014 07:36:57 +0000 (16:36 +0900)] 
Update translations

10 years agomaint: Fix Admin/update-changelog
Daiki Ueno [Wed, 15 Oct 2014 07:47:18 +0000 (16:47 +0900)] 
maint: Fix Admin/update-changelog

10 years agomaint: Add a script to add release entry to ChangeLogs
Daiki Ueno [Wed, 15 Oct 2014 07:27:27 +0000 (16:27 +0900)] 
maint: Add a script to add release entry to ChangeLogs

10 years agotests: Support newer ncurses with italic caps in xterm terminfo
Daiki Ueno [Wed, 15 Oct 2014 03:37:45 +0000 (12:37 +0900)] 
tests: Support newer ncurses with italic caps in xterm terminfo

* tests/test-term-ostream-xterm-basic-italic.out: New file.
* tests/test-term-ostream-xterm: Use it as possible test result.
* Makefile.am (EXTRA_DIST): Add new files.
Needed for ncurses >= 5.9-20140906 that defines sitm/ritm in the
xterm-basic terminfo definition.

10 years agotests: Avoid sed error on Mac OS X when dealing with binary input
Daiki Ueno [Sun, 12 Oct 2014 00:26:21 +0000 (09:26 +0900)] 
tests: Avoid sed error on Mac OS X when dealing with binary input

Reported by Ramsey Dow in:
<http://lists.gnu.org/archive/html/bug-gettext/2014-07/msg00002.html>.
* msgmerge-compendium-6: Run sed with LC_ALL=C, to avoid 'illegal
byte sequence' error on Mac OS X.
* format-sh-1: Likewise.

10 years agotests: Add test for Debian bug#764580
Daiki Ueno [Fri, 10 Oct 2014 03:56:42 +0000 (12:56 +0900)] 
tests: Add test for Debian bug#764580

* gettext-tools/tests/autopoint-2: Check if m4_assert is properly
redefined while tracing.

10 years agoautopoint: Fix infinite recursion when tracing configure.ac
Eric Blake [Thu, 9 Oct 2014 22:31:46 +0000 (07:31 +0900)] 
autopoint: Fix infinite recursion when tracing configure.ac

Reported by Andreas Henriksson at:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764580>
* autopoint.in (func_trace_autoconf): Temporarily redefine
built-in macros, instead of undefining.
* gettextize.in: Likewise.

10 years agomsgunfmt: Error on incomplete multibyte sequence at EOF
Daiki Ueno [Wed, 8 Oct 2014 07:12:35 +0000 (16:12 +0900)] 
msgunfmt: Error on incomplete multibyte sequence at EOF

* write-po.c (wrap): Report error on incomplete multibyte sequence
at the end of input bytes.
Reported by Jakub Wilk at:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763820>.

10 years agoNEWS: Mention MSGINIT_OPTIONS change
Daiki Ueno [Wed, 8 Oct 2014 06:28:32 +0000 (15:28 +0900)] 
NEWS: Mention MSGINIT_OPTIONS change

10 years agopo: Make it possible to pass custom options to msginit
Daiki Ueno [Wed, 8 Oct 2014 06:17:08 +0000 (15:17 +0900)] 
po: Make it possible to pass custom options to msginit

* Makevars (MSGINIT_OPTIONS): New variable.
* Rules-quot: Use it when invoking msginit.
If one wants to use '--no-wrap' in MSGMERGE_OPTIONS and
XGETTEXT_OPTIONS, there should be a way to pass the option to
msginit.  Reported by Ludovic Courtès in:
<https://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00004.html>.

10 years agotests: Improve test coverage of C and Vala scanners
Daiki Ueno [Wed, 8 Oct 2014 03:00:51 +0000 (12:00 +0900)] 
tests: Improve test coverage of C and Vala scanners

* xgettext-c-4: Check more trigraphs.
* xgettext-c-2: Check floating point literal.
* xgettext-c-19: Check out-of-range Unicode character, "\U"
character escape, incomplete "\u" escape, and surrogates.
* xgettext-vala-1: Check unterminated regexp literal, floating
point literal, string template, "/=" operator, multi-line
comments, and backslash-escaped character inside regexp literal.

10 years agotests: Check if CXX is "no", not ":"
Daiki Ueno [Fri, 3 Oct 2014 08:01:36 +0000 (17:01 +0900)] 
tests: Check if CXX is "no", not ":"

* lang-c++: Check if CXX is "no", not ":".  See commit e854d2c7 for
the rationale.

10 years agoFix C++ compiler check to auto-disable building libasprintf
Daiki Ueno [Thu, 2 Oct 2014 08:44:41 +0000 (17:44 +0900)] 
Fix C++ compiler check to auto-disable building libasprintf

* gettext-runtime/configure.ac: To automatically disable building
libasprintf when no C++ is found, check if CXX is "no", not ":".  This
seems to be a left over of commit 09963c23.  Reported by Assaf Gordon in:
<https://lists.gnu.org/archive/html/bug-gettext/2014-10/msg00003.html>.

10 years agotests: Fix autopoint-3 tests with older Automake
Daiki Ueno [Thu, 2 Oct 2014 08:21:30 +0000 (17:21 +0900)] 
tests: Fix autopoint-3 tests with older Automake

* autopoint-3: Invoke AC_CONFIG_MACRO_DIR after AC_INIT, not
before.

10 years agoNEWS: Add 0.19.3 entries
Daiki Ueno [Wed, 1 Oct 2014 08:44:15 +0000 (17:44 +0900)] 
NEWS: Add 0.19.3 entries

10 years agotests: Adjust textdomain directory for Solaris 11 v0.19.2.1
Daiki Ueno [Wed, 1 Oct 2014 05:40:08 +0000 (14:40 +0900)] 
tests: Adjust textdomain directory for Solaris 11

Solaris 11 doesn't strip the CODESET part from the locale name,
when looking for a message catalog.  Create a directory link with
CODESET, to work around this.

10 years agotests: Stop redundant textdomain directory creation
Daiki Ueno [Wed, 1 Oct 2014 04:25:03 +0000 (13:25 +0900)] 
tests: Stop redundant textdomain directory creation

This was introduced by commit 3533f6cc when we didn't use separate
test directory for each test.  Now that we switched to init.sh, we
don't need to worry about filename conflicts.

10 years agoUpdate after Gnulib changed
Daiki Ueno [Tue, 30 Sep 2014 10:09:38 +0000 (19:09 +0900)] 
Update after Gnulib changed

10 years agoUpdate gnulib
Daiki Ueno [Tue, 30 Sep 2014 09:44:47 +0000 (18:44 +0900)] 
Update gnulib

10 years agoFix gettext-runtime compilation error on Solaris 10
Paul Eggert [Tue, 30 Sep 2014 09:24:06 +0000 (18:24 +0900)] 
Fix gettext-runtime compilation error on Solaris 10

* gettext-runtime/configure.ac: Invoke AM_PROG_CC_C_O so that the
system stdbool.h will be used on Solaris.  Suggested by Paul Eggert in:
<https://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00053.html>.

10 years agotests: Don't use non-portable "grep -q"
Daiki Ueno [Tue, 30 Sep 2014 09:18:31 +0000 (18:18 +0900)] 
tests: Don't use non-portable "grep -q"

10 years agotests: Test octal character escape in xgettext C tests
Daiki Ueno [Mon, 29 Sep 2014 23:27:22 +0000 (08:27 +0900)] 
tests: Test octal character escape in xgettext C tests

10 years agoc: Fix octal character escape handling
Daiki Ueno [Mon, 29 Sep 2014 23:25:44 +0000 (08:25 +0900)] 
c: Fix octal character escape handling

* gettext-tools/src/x-c.c (literalstring_parse): Fix octal character
escape handling.
Reported by Kjartan Maraas at:
<https://bugzilla.redhat.com/show_bug.cgi?id=1147535>.

10 years agopython: Fix invalid memory access when concatenating strings with +
Daiki Ueno [Wed, 24 Sep 2014 09:04:17 +0000 (18:04 +0900)] 
python: Fix invalid memory access when concatenating strings with +

* gettext-tools/src/x-python.c (x_python_lex): Move 'token3' variable
declaration out of the internal block.

10 years agotests: Make iconv invocation more portable
Daiki Ueno [Wed, 24 Sep 2014 08:49:46 +0000 (17:49 +0900)] 
tests: Make iconv invocation more portable

* gettext-tools/tests/xgettext-c-19: Use iconv -f/-t instead of
non-portable --from/--to.

10 years agomsgfilter: Don't use non-portable character escape
Daiki Ueno [Wed, 24 Sep 2014 08:43:41 +0000 (17:43 +0900)] 
msgfilter: Don't use non-portable character escape

* gettext-tools/src/filter-quote.c (BOLD_START, BOLD_END): Don't use
non-portable character escape "\e".

10 years agotests: Use libtool in autopoint-3 test
Daiki Ueno [Fri, 5 Sep 2014 06:36:25 +0000 (15:36 +0900)] 
tests: Use libtool in autopoint-3 test

10 years agotests: Improve error handling in autopoint tests
Daiki Ueno [Fri, 5 Sep 2014 06:14:04 +0000 (15:14 +0900)] 
tests: Improve error handling in autopoint tests

10 years agogettext-tools: Make convert-archive more portable
Daiki Ueno [Sun, 31 Aug 2014 22:34:54 +0000 (07:34 +0900)] 
gettext-tools: Make convert-archive more portable

* convert-archive.in: Don't use non-portable 'if ! COMMAND'.
Reported by Stefano Lattarini in:
<https://lists.gnu.org/archive/html/bug-gettext/2011-07/msg00002.html>.

10 years agoPrint a uid_t value portably
Jonas 'Sortie' Termansen [Wed, 27 Aug 2014 10:07:29 +0000 (12:07 +0200)] 
Print a uid_t value portably

10 years agoFix printing of size_t values
Jonas 'Sortie' Termansen [Tue, 26 Aug 2014 14:41:12 +0000 (16:41 +0200)] 
Fix printing of size_t values

10 years agoAdd missing #if HAVE_SYS_PARAM_H
Jonas 'Sortie' Termansen [Tue, 26 Aug 2014 14:41:11 +0000 (16:41 +0200)] 
Add missing #if HAVE_SYS_PARAM_H

11 years agoUpdate Gnulib
Daiki Ueno [Wed, 16 Jul 2014 06:52:32 +0000 (15:52 +0900)] 
Update Gnulib

11 years agointl: Consolidate fallback _GL_* macro definitions into intl.m4
Daiki Ueno [Wed, 16 Jul 2014 06:19:30 +0000 (15:19 +0900)] 
intl: Consolidate fallback _GL_* macro definitions into intl.m4

We had defined _GL_* macros used by libintl itself in the corresponding
C files.  However, it will increase divergence between Gnulib and gettext.
This patch moves the fallback macro definitions into M4 and emit them only
when the project is not using Gnulib.

* gettext-runtime/m4/intl.m4 (gt_GL_ATTRIBUTE): New macro.
(AM_INTL_SUBDIR): Require gt_GL_ATTRIBUTE.
* gettext-runtime/intl/localename.c: Update from Gnulib.
2014-07-10  Assaf Gordon  <assafgordon@gmail.com>
    localename: avoid -Wsuggest-attribute={const,pure} warnings
    * lib/localename.c (string_hash): Tag internal function as pure.
* gettext-runtime/intl/xsize.c (XSIZE_INLINE): Remove _GL_UNUSED definition.
It will be set through intl.m4.
* Makefile.am (distcheck-hook): Add back localename.c check.

11 years agoAdd missing gettext-tools/src/Makefile.am change in commit c3e1f8e3
Daiki Ueno [Tue, 15 Jul 2014 04:16:18 +0000 (13:16 +0900)] 
Add missing gettext-tools/src/Makefile.am change in commit c3e1f8e3

11 years agoRelease 0.19.2 v0.19.2
Daiki Ueno [Mon, 14 Jul 2014 03:08:37 +0000 (12:08 +0900)] 
Release 0.19.2

11 years agoPrepare for 0.19.2
Daiki Ueno [Mon, 14 Jul 2014 03:27:32 +0000 (12:27 +0900)] 
Prepare for 0.19.2

11 years agointl: Remove intl/VERSION for gettext packages
Daiki Ueno [Mon, 14 Jul 2014 05:27:06 +0000 (14:27 +0900)] 
intl: Remove intl/VERSION for gettext packages

* Makefile.in (distclean): Remove intl/VERSION for gettext-runtime
and gettext-tools packages.

11 years agobuild: Work around undefined _GL_ATTRIBUTE_PURE in libintl
Daiki Ueno [Mon, 14 Jul 2014 04:23:07 +0000 (13:23 +0900)] 
build: Work around undefined _GL_ATTRIBUTE_PURE in libintl

* Makefile.am (distcheck-hook): Ignore the difference between our
localename.c and the latest Gnulib's, which utilizes
_GL_ATTRIBUTE_PURE not available from libintl.  This is a
temporary fix for the 0.19.2 release and should be reverted once
it is fixed either in gettext or Gnulib.

11 years agoUpdate after Gnulib changed
Daiki Ueno [Mon, 14 Jul 2014 03:56:48 +0000 (12:56 +0900)] 
Update after Gnulib changed

11 years agoUpdate Gnulib
Daiki Ueno [Mon, 14 Jul 2014 03:42:54 +0000 (12:42 +0900)] 
Update Gnulib

11 years agoUpdate translations from Translation Project
Daiki Ueno [Mon, 14 Jul 2014 03:34:53 +0000 (12:34 +0900)] 
Update translations from Translation Project

11 years agotests: Test empty literals in Vala test
Daiki Ueno [Mon, 14 Jul 2014 02:57:34 +0000 (11:57 +0900)] 
tests: Test empty literals in Vala test

* xgettext-vala-1: Test empty literals that do not affect the
following lines.

11 years agovala: Fix empty string literal handling
Daiki Ueno [Mon, 14 Jul 2014 02:55:01 +0000 (11:55 +0900)] 
vala: Fix empty string literal handling

Similar to the commit 7b2d8d61 on July 11.
* x-vala.c (phase3_get): Add missing memory allocation for empty
string literal.

11 years agoNEWS: Add 0.19.2 entries
Daiki Ueno [Mon, 14 Jul 2014 02:39:28 +0000 (11:39 +0900)] 
NEWS: Add 0.19.2 entries

11 years agobuild: Fix race in post-install removal of *.a
Daiki Ueno [Mon, 14 Jul 2014 02:24:30 +0000 (11:24 +0900)] 
build: Fix race in post-install removal of *.a

There was an implicit dependency between the prerequisites of
install-exec-local, which may have caused error with make -jN.
Use install-exec-hook to remove the dependency.
Reported by Christian Weisgerber in:
<https://lists.gnu.org/archive/html/bug-gettext/2014-07/msg00008.html>.
* Makefile.am (install-exec-local): Remove.
(install-exec-hook): New rule, depend on install-exec-clean.

11 years agomaint: Update Admin/plans
Daiki Ueno [Sun, 13 Jul 2014 21:44:41 +0000 (06:44 +0900)] 
maint: Update Admin/plans

11 years agoautopoint: Fix the last change
Daiki Ueno [Sun, 13 Jul 2014 21:13:40 +0000 (06:13 +0900)] 
autopoint: Fix the last change

* autopoint.in: Use func_trace_sed for AM_GNU_GETTEXT and
AM_GNU_GETTEXT_VERSION, as they are not an Autoconf trace.

11 years agoautopoint: Fix the last change
Daiki Ueno [Sun, 13 Jul 2014 21:13:12 +0000 (06:13 +0900)] 
autopoint: Fix the last change

* autopoint.in: Use func_trace_sed for AM_GNU_GETTEXT and
AM_GNU_GETTEXT_VERSION, as they are not an Autoconf trace.

11 years agotests: Test for AC_CONFIG_AUX_DIR usage in autopoint test
Daiki Ueno [Sun, 13 Jul 2014 20:40:18 +0000 (05:40 +0900)] 
tests: Test for AC_CONFIG_AUX_DIR usage in autopoint test

* autopoint-2: Check if build-aux/config.rpath is created if
AC_CONFIG_AUX_DIR([build-aux]) is called.

11 years agoautopoint: Select macro tracing method by Autoconf version
Daiki Ueno [Sun, 13 Jul 2014 20:37:57 +0000 (05:37 +0900)] 
autopoint: Select macro tracing method by Autoconf version
Reported and analyzed by Pádraig Brady in:
<http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00071.html>.

* autopoint.in (func_trace_autoconf): Rename from func_trace.
($func_trace): Set to func_trace_autoconf if Autoconf >= 2.69 is
availabl, otherwise to func_trace_sed.
* gettextize.in: Likewise.

11 years agotests: Test empty literals in C test
Daiki Ueno [Sun, 13 Jul 2014 20:36:44 +0000 (05:36 +0900)] 
tests: Test empty literals in C test

* xgettext-c-2: Test empty literals that do not affect the
following lines.

11 years agoc: Fix empty string literal handling
Daiki Ueno [Fri, 11 Jul 2014 14:30:52 +0000 (23:30 +0900)] 
c: Fix empty string literal handling

Problem reported by Bernhard Voelker in:
<http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00059.html>.
* x-c.c (phase5_get): Add missing memory allocation for empty
string literal.

11 years agointl: Sync up loadmsgcat.c with glibc
Siddhesh Poyarekar [Thu, 3 Jul 2014 08:43:09 +0000 (17:43 +0900)] 
intl: Sync up loadmsgcat.c with glibc

* loadmsgcat.c [_LIBC]: Define PRI_MACROS_BROKEN unconditionally.

11 years agointl: Sync up loadmsgcat.c with glibc
Siddhesh Poyarekar [Thu, 3 Jul 2014 08:14:40 +0000 (17:14 +0900)] 
intl: Sync up loadmsgcat.c with glibc

* loadmsgcat.c: Include assert.h.
(_nl_load_domain): Add semicolon to end of line.
(_nl_load_domain)[HAVE_MMAP]: Use MAP_FAILED and assert that
it is (void *) -1.
(_nl_load_domain)[_LIBC]: Call __libc_rwlock_init instead of
gl_rwlock_init.
(_nl_unload_domain): Cast convd->encoding to non-const.

11 years agointl: Add back ChangeLog to gettext-runtime distribution
Daiki Ueno [Tue, 17 Jun 2014 02:42:23 +0000 (11:42 +0900)] 
intl: Add back ChangeLog to gettext-runtime distribution

* Makefile.in (DISTFILES.gettext): Add ChangeLog.

11 years agotests: Test "make dist" in autopoint test
Daiki Ueno [Mon, 16 Jun 2014 08:42:25 +0000 (17:42 +0900)] 
tests: Test "make dist" in autopoint test

* autopoint-3: Run "make dist" after "make"; add a workaround for
a bug in 0.19 and 0.19.1, where intl/ChangeLog is required but
missing in the archive.

11 years agointl: Stop installing ChangeLog.inst
Daiki Ueno [Mon, 16 Jun 2014 07:48:33 +0000 (16:48 +0900)] 
intl: Stop installing ChangeLog.inst

After the git-version-gen migration (commit fbf4e276), the
creation of gettext-tools/intl/ChangeLog.inst in configure.ac was
removed because we lost access to $RELEASE_DATE.  Given that
intl/VERSION provides enough information, simply drop the
ChangeLog file.
Problem reported by Bruce Korb in
<https://lists.gnu.org/archive/html/bug-gettext/2014-06/msg00022.html>.
* Makefile.in (install-data): Don't install ChangeLog.inst.
(distclean): Don't remove ChangeLog.inst.
(uninstall): Don't remove ChangeLog under $(gettextsrcdir)/intl.
(dist): Don't include ChangeLog in the distribution.

11 years agodoc: Update licenses from GNU
Daiki Ueno [Thu, 12 Jun 2014 08:56:23 +0000 (17:56 +0900)] 
doc: Update licenses from GNU

* gpl.texi, lgpl.texi, fdl.texi: Update from GNU.
* gettext.texi (GNU GPL, GNU LGPL, GNU LGPL): Define nodes here,
instead of in those license documents.

11 years agoRelease 0.19.1 v0.19.1
Daiki Ueno [Tue, 10 Jun 2014 02:14:43 +0000 (11:14 +0900)] 
Release 0.19.1

11 years agoPrepare for 0.19.1
Daiki Ueno [Tue, 10 Jun 2014 02:16:23 +0000 (11:16 +0900)] 
Prepare for 0.19.1

11 years agomaint: Mention updating autopoint tests in Admin/release-steps
Daiki Ueno [Tue, 10 Jun 2014 03:13:25 +0000 (12:13 +0900)] 
maint: Mention updating autopoint tests in Admin/release-steps

11 years agoTemporarily add Language: field to all PO file headers
Daiki Ueno [Tue, 10 Jun 2014 01:57:05 +0000 (10:57 +0900)] 
Temporarily add Language: field to all PO file headers

Due to a bug in 0.19, the Language: field is considered mandatory.
This was fixed in commit 31744906, but better avoid error when
building with 0.19 at the moment.  This should be overwritten with the
next translations update.

11 years agomaint: Mention how to update translations from Translation Project
Daiki Ueno [Mon, 9 Jun 2014 07:42:19 +0000 (16:42 +0900)] 
maint: Mention how to update translations from Translation Project

11 years agoUpdate translations from Translation Project
Daiki Ueno [Mon, 9 Jun 2014 07:20:07 +0000 (16:20 +0900)] 
Update translations from Translation Project