]> git.ipfire.org Git - thirdparty/gettext.git/log
thirdparty/gettext.git
9 years agobuild: Add missing files wip/ueno/its
Daiki Ueno [Wed, 30 Sep 2015 06:04:08 +0000 (15:04 +0900)] 
build: Add missing files

9 years agoits: Support itst:contextRule
Daiki Ueno [Wed, 30 Sep 2015 05:48:20 +0000 (14:48 +0900)] 
its: Support itst:contextRule

9 years agoxgettext: Enable ITS by default, add --itstool
Daiki Ueno [Wed, 30 Sep 2015 03:53:39 +0000 (12:53 +0900)] 
xgettext: Enable ITS by default, add --itstool

9 years agoits: Prepare for shipping ITS files
Daiki Ueno [Wed, 30 Sep 2015 01:43:15 +0000 (10:43 +0900)] 
its: Prepare for shipping ITS files

9 years agoits, locating-rule: Add messages for parse error
Daiki Ueno [Tue, 29 Sep 2015 08:53:52 +0000 (17:53 +0900)] 
its, locating-rule: Add messages for parse error

9 years agotests: Add a test case for matching by attribute
Daiki Ueno [Tue, 29 Sep 2015 08:23:49 +0000 (17:23 +0900)] 
tests: Add a test case for matching by attribute

9 years agodoc: Mention supported ITS data categories
Daiki Ueno [Tue, 29 Sep 2015 08:18:53 +0000 (17:18 +0900)] 
doc: Mention supported ITS data categories

9 years agodoc: Add documentation about ITS
Daiki Ueno [Tue, 29 Sep 2015 08:14:33 +0000 (17:14 +0900)] 
doc: Add documentation about ITS

9 years agolocating-rule: Rewrite from xlocator
Daiki Ueno [Tue, 29 Sep 2015 04:56:42 +0000 (13:56 +0900)] 
locating-rule: Rewrite from xlocator

9 years agoits: Minor refactoring
Daiki Ueno [Mon, 28 Sep 2015 10:27:32 +0000 (19:27 +0900)] 
its: Minor refactoring

9 years agotests: Add more test cases
Daiki Ueno [Mon, 28 Sep 2015 10:12:27 +0000 (19:12 +0900)] 
tests: Add more test cases

9 years agoits: Cache inherited values on child nodes
Daiki Ueno [Mon, 28 Sep 2015 10:11:36 +0000 (19:11 +0900)] 
its: Cache inherited values on child nodes

9 years agoxlocator: Support transformURI
Daiki Ueno [Mon, 28 Sep 2015 10:11:19 +0000 (19:11 +0900)] 
xlocator: Support transformURI

9 years agoits: More refactoring
Daiki Ueno [Fri, 25 Sep 2015 22:28:15 +0000 (07:28 +0900)] 
its: More refactoring

9 years agoits, xlocator: Minor refactoring
Daiki Ueno [Fri, 25 Sep 2015 08:18:31 +0000 (17:18 +0900)] 
its, xlocator: Minor refactoring

9 years agotests: Add tests for ITS support
Daiki Ueno [Fri, 25 Sep 2015 08:09:37 +0000 (17:09 +0900)] 
tests: Add tests for ITS support

9 years agoxgettext, xlocator: Fix minor issues
Daiki Ueno [Fri, 25 Sep 2015 08:09:14 +0000 (17:09 +0900)] 
xgettext, xlocator: Fix minor issues

9 years agoits: Register namespaces for locNotePointer
Daiki Ueno [Fri, 25 Sep 2015 08:08:55 +0000 (17:08 +0900)] 
its: Register namespaces for locNotePointer

9 years agoits: Output itstool marker comments
Daiki Ueno [Fri, 25 Sep 2015 06:42:37 +0000 (15:42 +0900)] 
its: Output itstool marker comments

9 years agoits: Support extracting attributes
Daiki Ueno [Fri, 25 Sep 2015 06:18:38 +0000 (15:18 +0900)] 
its: Support extracting attributes

9 years agoits: Use custom escape logic
Daiki Ueno [Fri, 25 Sep 2015 05:32:00 +0000 (14:32 +0900)] 
its: Use custom escape logic

9 years agoits: Improve whitespace handling
Daiki Ueno [Fri, 25 Sep 2015 04:41:14 +0000 (13:41 +0900)] 
its: Improve whitespace handling

9 years agoits: Output entity reference
Daiki Ueno [Thu, 24 Sep 2015 22:53:04 +0000 (07:53 +0900)] 
its: Output entity reference

9 years agoits: Support preserveSpaceRule
Daiki Ueno [Thu, 24 Sep 2015 20:16:57 +0000 (05:16 +0900)] 
its: Support preserveSpaceRule

9 years agoits: Use xmlwriter API to output XML fragments
Daiki Ueno [Thu, 24 Sep 2015 09:42:59 +0000 (18:42 +0900)] 
its: Use xmlwriter API to output XML fragments

9 years agoxlocator, its: Add more comments
Daiki Ueno [Thu, 10 Sep 2015 09:45:47 +0000 (18:45 +0900)] 
xlocator, its: Add more comments

9 years agoits: Remove dead code
Daiki Ueno [Thu, 10 Sep 2015 09:35:53 +0000 (18:35 +0900)] 
its: Remove dead code

9 years agoxlocator, its: Fix memory leaks
Daiki Ueno [Thu, 10 Sep 2015 07:38:51 +0000 (16:38 +0900)] 
xlocator, its: Fix memory leaks

9 years agoits: Support withinTextRule
Daiki Ueno [Thu, 10 Sep 2015 07:28:17 +0000 (16:28 +0900)] 
its: Support withinTextRule

9 years agoxlocator: Fix typo
Daiki Ueno [Thu, 10 Sep 2015 04:35:26 +0000 (13:35 +0900)] 
xlocator: Fix typo

9 years agoxlocator: Simplify the internal API
Daiki Ueno [Thu, 10 Sep 2015 04:27:51 +0000 (13:27 +0900)] 
xlocator: Simplify the internal API

9 years agoits: Make locNotePointer really work
Daiki Ueno [Thu, 10 Sep 2015 03:03:23 +0000 (12:03 +0900)] 
its: Make locNotePointer really work

9 years agoits: Fix typo
Daiki Ueno [Thu, 10 Sep 2015 02:33:14 +0000 (11:33 +0900)] 
its: Fix typo

9 years agoxgettext: Add support for generic XML files
Daiki Ueno [Fri, 4 Sep 2015 08:57:22 +0000 (17:57 +0900)] 
xgettext: Add support for generic XML files

* gettext-tools/src/xlocator.h: New file.
* gettext-tools/src/xlocator.c: New file.
* gettext-tools/src/its.h: New file.
* gettext-tools/src/its.c: New file.
* gettext-tools/src/xgettext.c: Include "xlocator.h" and "its.h".
(its_locators): New variable.
(long_options): Add --its option.
(extract_from_xml_file): New file.
(main): Handle --its option.
(usage): Document --its option.
* gettext-tools/src/Makefile.am (noinst_HEADERS): Add xlocator.h and its.h.
(xgettext_CPPFLAGS): Add $(INCXML).
(xgettext_SOURCES): Add xlocator.c and its.c.

9 years agoNEWS: Fix wording
Daiki Ueno [Wed, 2 Sep 2015 09:42:00 +0000 (18:42 +0900)] 
NEWS: Fix wording

9 years agoNEWS: Add 0.19.6 changes
Daiki Ueno [Tue, 1 Sep 2015 02:44:41 +0000 (11:44 +0900)] 
NEWS: Add 0.19.6 changes

9 years agopo: Support reading header comments from file
Daiki Ueno [Tue, 1 Sep 2015 02:18:17 +0000 (11:18 +0900)] 
po: Support reading header comments from file

* Makefile.in.in ($(DOMAIN).pot-update): Replace header comment
with the content of $(DOMAIN).pot-header, if exists.

9 years agointl: fix memory leak in _nl_load_domain
Paul Eggert [Wed, 26 Aug 2015 14:31:37 +0000 (07:31 -0700)] 
intl: fix memory leak in _nl_load_domain

* loadmsgcat.c (_nl_load_domain):
Free data after a read failure.  See:
https://sourceware.org/bugzilla/show_bug.cgi?id=18871

9 years agoxgettext: Replace PACKAGE placeholder if possible
Daiki Ueno [Mon, 24 Aug 2015 08:30:42 +0000 (17:30 +0900)] 
xgettext: Replace PACKAGE placeholder if possible

* xgettext.c (construct_header): Replace PACKAGE placeholder in
the header comment.

9 years agoxgettext: Add support for AppData XML files
Philip Withnall [Thu, 11 Jun 2015 18:11:42 +0000 (19:11 +0100)] 
xgettext: Add support for AppData XML files

AppData files are used to describe an application for package
management, and are described here:

http://people.freedesktop.org/~hughsient/appdata/

They may also currently be translated using intltool or itstool:

http://people.freedesktop.org/~hughsient/appdata/#translation

9 years agotests: Use check_PROGRAMS
Daiki Ueno [Fri, 21 Aug 2015 06:29:13 +0000 (15:29 +0900)] 
tests: Use check_PROGRAMS

* gettext-tools/tests/Makefile.am (check_PROGRAMS): Rename from
noinst_PROGRAMS, to defer the compilation until required.

9 years agoautopoint: Respect AM_GNU_GETTEXT_REQUIRE_VERSION
Daiki Ueno [Fri, 21 Aug 2015 06:19:21 +0000 (15:19 +0900)] 
autopoint: Respect AM_GNU_GETTEXT_REQUIRE_VERSION

* gettext-runtime/m4/gettext.m4 (AM_GNU_GETTEXT_REQUIRE_VERSION): New macro.
Bump serial to 67.
* gettext-tools/doc/autopoint.texi: Mention AM_GNU_GETTEXT_REQUIRE_VERSION.
* gettext-tools/misc/gettextize.in: Check if AM_GNU_GETTEXT_VERSION is
used.
* gettext-tools/misc/autopoint.in: Respect AM_GNU_GETTEXT_REQUIRE_VERSION.
* gettext-tools/tests/autopoint-2: Check AM_GNU_GETTEXT_REQUIRE_VERSION.

9 years agoxgettext: Allow multiple --copyright-holder
Daiki Ueno [Fri, 21 Aug 2015 05:43:30 +0000 (14:43 +0900)] 
xgettext: Allow multiple --copyright-holder

Feature requested by Francesco Poli in:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682580>.
* xgettext.c (default_copyright_holder): New constant, renamed
from copyright_holder.
(copyright_holder): Define as a variable.
(main): Allow multiple --copyright-holder options.
(construct_header): Support multiple --copyright-holder options.

9 years agointl: Pacify compilation with pre-C99 compilers
Daiki Ueno [Fri, 21 Aug 2015 01:22:01 +0000 (10:22 +0900)] 
intl: Pacify compilation with pre-C99 compilers

* loadmsgcat.c (_nl_load_domain): Move the call to
__libc_lock_define_initialized_recursive to the end of local
variable declarations to avoid extra ';' being expanded to an
empty statement.
Reported by pan7 in:
<http://savannah.gnu.org/support/?108864>.

9 years agocldr-plurals: Fix trivial resource leak
Daiki Ueno [Sat, 15 Aug 2015 01:19:45 +0000 (10:19 +0900)] 
cldr-plurals: Fix trivial resource leak

* cldr-plurals.c (main): Close FP after use.
Reported by Denis Denisov.

10 years agobuild: Substitute archive version with configure
Daiki Ueno [Tue, 28 Jul 2015 05:32:43 +0000 (14:32 +0900)] 
build: Substitute archive version with configure

* gettext-tools/configure.ac (ARCHIVE_VERSION): New substituted
variable.
* gettext-tools/misc/gettextize.in (archive_version): New variable, set
to ARCHIVE_VERSION.  Use it as the argument of AM_GNU_GETTEXT_VERSION.
* gettext-tools/tests/init-env.in (ARCHIVE_VERSION): New substituted
variable.
* gettext-tools/tests/autopoint-2: Use ARCHIVE_VERSION, instead of the
hard-coded version string.
* gettext-tools/tests/autopoint-3: Likewise.

10 years agoNEWS: Fix typo
Daiki Ueno [Mon, 27 Jul 2015 08:36:01 +0000 (17:36 +0900)] 
NEWS: Fix typo

10 years agogettextize: Use a crafted version string
Daiki Ueno [Mon, 27 Jul 2015 06:08:43 +0000 (15:08 +0900)] 
gettextize: Use a crafted version string

Reported by Max Lin in:
<https://lists.gnu.org/archive/html/bug-gettext/2015-07/msg00024.html>.
* gettextize.in: Replace AM_GNU_GETTEXT_VERSION invocation with
"$gettext_version" rather than "$version".  This makes it easier
to maintain a minor release without being affected by the actual
version number generated by git-version-gen.
(gettext_version): New variable.

10 years agopo-mode: Fix to accept four-part msgfmt version number
Peter Eisentraut [Sat, 25 Jul 2015 00:23:32 +0000 (20:23 -0400)] 
po-mode: Fix to accept four-part msgfmt version number

10 years agocldr-plurals: Fix --enable-relocatable compilation
Václav Slavík [Tue, 21 Jul 2015 11:00:32 +0000 (13:00 +0200)] 
cldr-plurals: Fix --enable-relocatable compilation

Compilation of the cldr-plurals tool was broken in the relocatable case
because of missing CPPFLAGS/LDFLAGS.  Add the same flags used by other
tools to the makefile.
* gettext-tools/src/Makefile.am (cldr_plurals_CPPFLAGS)
(cldr_plurals_LDFLAGS): Adjust for --enable-relocatable
compilation.

10 years agomaint: Add more files to .gitignore v0.19.5.1
Daiki Ueno [Wed, 15 Jul 2015 01:29:48 +0000 (10:29 +0900)] 
maint: Add more files to .gitignore

10 years agognulib-local: Fix Java compilation on mingw
Daiki Ueno [Tue, 14 Jul 2015 00:47:44 +0000 (09:47 +0900)] 
gnulib-local: Fix Java compilation on mingw

* lib/clean-temp.c.diff: New file, from m4.
Suggested by Eric Blake in:
<https://lists.gnu.org/archive/html/bug-gnulib/2013-09/msg00044.html>.

10 years agobuild: Import stpcpy as well to libgettextpo
Daiki Ueno [Sat, 11 Jul 2015 23:29:29 +0000 (08:29 +0900)] 
build: Import stpcpy as well to libgettextpo

10 years agobuild: Avoid link error on Mac OS X < 10.6
Daiki Ueno [Sat, 11 Jul 2015 22:40:55 +0000 (07:40 +0900)] 
build: Avoid link error on Mac OS X < 10.6

Reported by Ryan Schmidt in:
<http://savannah.gnu.org/bugs/?45527>.
* autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Add stpncpy.

10 years agoNEWS: Fix the release date of 0.19.5 v0.19.5
Daiki Ueno [Fri, 10 Jul 2015 06:29:16 +0000 (15:29 +0900)] 
NEWS: Fix the release date of 0.19.5

10 years agoRelease 0.19.5
Daiki Ueno [Fri, 10 Jul 2015 06:04:12 +0000 (15:04 +0900)] 
Release 0.19.5

10 years agoUpdate translations
Daiki Ueno [Fri, 10 Jul 2015 06:03:12 +0000 (15:03 +0900)] 
Update translations

10 years agotests: Update minimum version of autopoint
Daiki Ueno [Wed, 24 Jun 2015 08:09:47 +0000 (17:09 +0900)] 
tests: Update minimum version of autopoint

* gettext-tools/tests/autopoint-2 (required_gettext_version): Update to
0.19.5.
* gettext-tools/tests/autopoint-3 (required_gettext_version): Likewise.

10 years agointl: Check for getlocalename_l
Daiki Ueno [Fri, 10 Jul 2015 01:55:31 +0000 (10:55 +0900)] 
intl: Check for getlocalename_l

* intl.m4 (gt_INTL_SUBDIR_CORE): Check also for getlocalename_l.
Bump serial to 29.

10 years agointl: Update from gnulib
Daiki Ueno [Fri, 10 Jul 2015 01:35:50 +0000 (10:35 +0900)] 
intl: Update from gnulib

* localename.c: Update from gnulib.

10 years agoUpdate gnulib
Daiki Ueno [Thu, 9 Jul 2015 08:15:40 +0000 (17:15 +0900)] 
Update gnulib

10 years agoTHANKS: Update
Daiki Ueno [Mon, 29 Jun 2015 07:32:09 +0000 (16:32 +0900)] 
THANKS: Update

10 years agomsginit: Remove obsolete country codes
Daiki Ueno [Mon, 29 Jun 2015 02:44:52 +0000 (11:44 +0900)] 
msginit: Remove obsolete country codes

* gettext-tools/src/msginit.c (catalogname_for_locale): Remove sr_YU,
which were removed from ISO 3166-1:1997.  Add comment saying that
pap_AN, which were removed from ISO 3166-1:2006, can be removed in the
future.
Reported by Jakub Wilk in:
<https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00057.html>.

10 years agoxgettext: Fix the last change to literalstring
Daiki Ueno [Thu, 25 Jun 2015 12:02:47 +0000 (21:02 +0900)] 
xgettext: Fix the last change to literalstring

* gettext-tools/src/x-c.c (literalstring_parse): Bail out if C == NUL.
Also adjust the loop invariant in Unicode literal handling.
Reported by Hanno Boeck in:
<http://savannah.gnu.org/bugs/?45391>.

10 years agomaint: Add more files to .gitignore
Daiki Ueno [Thu, 25 Jun 2015 04:00:00 +0000 (13:00 +0900)] 
maint: Add more files to .gitignore

10 years agotests: Remove garbage added for debugging
Daiki Ueno [Thu, 25 Jun 2015 03:19:20 +0000 (12:19 +0900)] 
tests: Remove garbage added for debugging

10 years agotests: Fix the last commit
Daiki Ueno [Thu, 25 Jun 2015 03:18:55 +0000 (12:18 +0900)] 
tests: Fix the last commit

10 years agoxgettext: Make literal parser robust against NUL
Daiki Ueno [Thu, 25 Jun 2015 02:37:39 +0000 (11:37 +0900)] 
xgettext: Make literal parser robust against NUL

* gettext-tools/src/x-c.c (literalstring_parse): Add more NUL checks.
Change the loop invariant so that C always points to the character
previously pointed by P.
Reported by Hanno Boeck in:
<http://savannah.gnu.org/bugs/?45391>.

* gettext-tools/tests/xg-c-21.c (main): New file.
* gettext-tools/tests/xgettext-c-21 (result): New file.
* gettext-tools/tests/Makefile.am (TESTS): Add new test.
(EXTRA_DIST): Add xg-c-21.c.

10 years agobuild: Export syntax_check_name to W32
Daiki Ueno [Thu, 25 Jun 2015 01:02:53 +0000 (10:02 +0900)] 
build: Export syntax_check_name to W32

* woe32dll/gettextsrc-exports.c: Export syntax_check_name.
Reported by Michele Locati.

10 years agoxgettext: avoid out-of-bounds read in literals
Daiki Ueno [Wed, 24 Jun 2015 14:23:22 +0000 (23:23 +0900)] 
xgettext: avoid out-of-bounds read in literals

* gettext-tools/src/x-c.c (literalstring_parse): Check if the next
character of a backslash is NUL.  Reported by Hanno Boeck in:
<http://savannah.gnu.org/bugs/?45391>.

10 years agobuild: Export formatstring_kde_kuit to W32
Daiki Ueno [Wed, 24 Jun 2015 12:32:34 +0000 (21:32 +0900)] 
build: Export formatstring_kde_kuit to W32

* woe32dll/gettextsrc-exports.c: Export formatstring_kde_kuit.
Reported by Vincent Torri.

10 years agotests: Skip lang-bash test for Mac OS X's bash
Daiki Ueno [Wed, 24 Jun 2015 08:27:16 +0000 (17:27 +0900)] 
tests: Skip lang-bash test for Mac OS X's bash

* lang-bash: Skip if "bash --help" isn't localized on Mac OS X.

10 years agoFix reporter credit
Daiki Ueno [Wed, 24 Jun 2015 08:03:40 +0000 (17:03 +0900)] 
Fix reporter credit

10 years agoautopoint: Update for 0.19.5
Daiki Ueno [Wed, 24 Jun 2015 07:58:19 +0000 (16:58 +0900)] 
autopoint: Update for 0.19.5

* autopoint.in: Update for 0.19.5.

10 years agotests: Don't rely on echo -n
Daiki Ueno [Wed, 24 Jun 2015 03:04:25 +0000 (12:04 +0900)] 
tests: Don't rely on echo -n

* gettext-tools/tests/msgfilter-8: Port the "echo -n" equivalent from gettext-2.
Reported by paul zimmermann in:
<https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00019.html>.

10 years agotests: Skip CLDR tests when libexpat is missing
Daiki Ueno [Wed, 24 Jun 2015 01:53:22 +0000 (10:53 +0900)] 
tests: Skip CLDR tests when libexpat is missing

* gettext-tools/tests/cldr-plurals-1: Skip if XML is not supported.
* gettext-tools/tests/msginit-4: Likewise.

10 years agotests: Skip KUIT tests when libexpat is missing
Daiki Ueno [Wed, 24 Jun 2015 01:35:25 +0000 (10:35 +0900)] 
tests: Skip KUIT tests when libexpat is missing

* format-kde-kuit-1: Skip if KDE KUIT format is not supported.
* format-kde-kuit-2: Likewise.
Suggested by Chusslove Illich.

10 years agobuild: Fix error when expat is not available
Daiki Ueno [Tue, 23 Jun 2015 09:47:20 +0000 (18:47 +0900)] 
build: Fix error when expat is not available

* cldr-plurals.c (main): Fix unmatched braces when
!(DYNLOAD_LIBEXPAT || HAVE_LIBEXPAT).

10 years agobuild: Fix build failure on Solaris
Daiki Ueno [Tue, 23 Jun 2015 09:04:35 +0000 (18:04 +0900)] 
build: Fix build failure on Solaris

* gettext-tools/src/cldr-plurals.c: Include "basename.h".
(main): Place optind on the right hand side of the expression, to
work around build failure on Solaris.
Reported by Dagobert Michelsen in:
<https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00015.html>.

10 years agobuild: Clean leftover of "make uninstall"
Daiki Ueno [Tue, 23 Jun 2015 06:45:01 +0000 (15:45 +0900)] 
build: Clean leftover of "make uninstall"

* Makefile.am (uninstall-local): Remove cldr-plurals.

10 years agobuild: Fix test failure on VPATH build
Daiki Ueno [Tue, 23 Jun 2015 06:12:30 +0000 (15:12 +0900)] 
build: Fix test failure on VPATH build

* msginit-4: Don't check Project-Id-Version: field, since we can't
use the project-id script when $builddir != $srcdir.

10 years agobuild: Add missing headers in distribution
Daiki Ueno [Tue, 23 Jun 2015 05:14:04 +0000 (14:14 +0900)] 
build: Add missing headers in distribution

* Makefile.am (noinst_HEADERS): Add cldr-plural.h and cldr-plural-exp.h.

10 years agom4, help2man: Update from gnulib
Daiki Ueno [Tue, 23 Jun 2015 04:03:09 +0000 (13:03 +0900)] 
m4, help2man: Update from gnulib

* gettext-runtime/m4/codeset.m4: Update copyright year.
* gettext-runtime/m4/gettext.m4: Likewise.
* gettext-runtime/m4/iconv.m4: Likewise.
* gettext-runtime/m4/intl.m4: Likewise.
* gettext-runtime/m4/intldir.m4: Likewise.
* gettext-runtime/m4/intlmacosx.m4: Likewise.
* gettext-runtime/m4/lcmessage.m4: Likewise.
* gettext-runtime/m4/nls.m4: Likewise.
* gettext-runtime/m4/po.m4: Likewise.
* gettext-runtime/m4/extern-inline.m4: Likewise.  Port the following
change:
  2015-04-29  Paul Eggert  <eggert@cs.ucla.edu>
    extern-inline: no need for workaround in GCC 5.1
    * doc/extern-inline.texi (extern inline):
    * m4/extern-inline.m4 (gl_EXTERN_INLINE):
    GCC bugs 54113 and 63877 are fixed in GCC 5.1, so don't work
    around these bugs in GCC 5.1 and later.  Maybe in a decade or
    two we can remove these workarounds.
* gettext-tools/man/help2man: Update copyright year.

10 years agodoc: Update gettext-tools/ABOUT-NLS too
Daiki Ueno [Tue, 23 Jun 2015 03:43:58 +0000 (12:43 +0900)] 
doc: Update gettext-tools/ABOUT-NLS too

10 years agoPrepare for 0.19.5
Daiki Ueno [Tue, 23 Jun 2015 03:32:37 +0000 (12:32 +0900)] 
Prepare for 0.19.5

10 years agointl: Update locale.alias
Daiki Ueno [Tue, 23 Jun 2015 03:28:41 +0000 (12:28 +0900)] 
intl: Update locale.alias

* locale.alias: Update from glibc:
2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
  Remove obsolete aliases that broke 'locale -a'
  [BZ #18412]
  * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
  which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
  breaking some applications that use 'locale -a' output.
  Change the encoding of this file from Latin-1 to ASCII to avoid
  other potential problems with people grepping this file.

10 years agodoc: Regenerate translation matrix
Daiki Ueno [Tue, 23 Jun 2015 03:20:25 +0000 (12:20 +0900)] 
doc: Regenerate translation matrix

* gettext-runtime/ABOUT-NLS: Regenerate for 0.19.5.
* gettext-runtime/doc/matrix.texi: Regenerate for 0.19.5.

10 years agomaint: Make Matrix.java more flexible
Daiki Ueno [Tue, 23 Jun 2015 03:01:28 +0000 (12:01 +0900)] 
maint: Make Matrix.java more flexible

* gettext-runtime/doc/Admin/Matrix.java (Matrix): Group teams
considering the actual table width, instead of using a hard-coded rule.

10 years agoNEWS: Adjust for 0.19.5 release
Daiki Ueno [Tue, 23 Jun 2015 01:28:37 +0000 (10:28 +0900)] 
NEWS: Adjust for 0.19.5 release

10 years agotests: Add test for msginit CLDR support
Daiki Ueno [Tue, 23 Jun 2015 01:16:25 +0000 (10:16 +0900)] 
tests: Add test for msginit CLDR support

* gettext-tools/tests/msginit-4: New file.
* gettext-tools/tests/common/supplemental/plurals.xml: New data file.
* gettext-tools/tests/Makefile.am (TESTS): Add new tests.
(EXTRA_DIST): Add new data file.

10 years agoUpdate gnulib
Daiki Ueno [Tue, 23 Jun 2015 00:50:24 +0000 (09:50 +0900)] 
Update gnulib

10 years agomaint: Minor adjustment to the release steps
Daiki Ueno [Tue, 23 Jun 2015 00:49:24 +0000 (09:49 +0900)] 
maint: Minor adjustment to the release steps

10 years agoNEWS: Fix wording
Daiki Ueno [Mon, 22 Jun 2015 11:20:49 +0000 (20:20 +0900)] 
NEWS: Fix wording

10 years agomsginit: Guess plural rules from Unicode CLDR
Daiki Ueno [Thu, 21 May 2015 04:03:50 +0000 (13:03 +0900)] 
msginit: Guess plural rules from Unicode CLDR

* gettext-tools/src/Makefile.am (noinst_PROGRAMS): Add cldr-plurals.
(install-exec-local): Install cldr-plurals.
(BUILT_SOURCES): Add cldr-plural.c and cldr-plural.h.
(cldr_plural_SOURCES): New variable.
(cldr_plural_LDADD): New variable.
* gettext-tools/src/cldr-plural-exp.h: New file.
* gettext-tools/src/cldr-plural-exp.c: New file.
* gettext-tools/src/cldr-plural.y: New file.
* gettext-tools/src/cldr-plurals.c: New file.
* gettext-tools/src/msginit.c (plural_forms): Call cldr-plurals program
if the plural rule is not defined in the code.
* gettext-tools/doc/msginit.texi: More explanations about "meta
information".
* gettext-tools/doc/gettext.texi (Plural forms): Mention Unicode CLDR
support in msginit.
* gettext-tools/tests/cldr-plurals-1: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add new tests.
* NEWS: Mention msginit change.

10 years agoUpdate gnulib.
Daiki Ueno [Fri, 5 Jun 2015 22:01:25 +0000 (07:01 +0900)] 
Update gnulib.

10 years agomaint: Revert copyright year changes in test data
Daiki Ueno [Fri, 5 Jun 2015 07:37:38 +0000 (16:37 +0900)] 
maint: Revert copyright year changes in test data

10 years agoUpdate gnulib
Daiki Ueno [Fri, 5 Jun 2015 07:13:19 +0000 (16:13 +0900)] 
Update gnulib

10 years agomaint: Update copyright year
Daiki Ueno [Fri, 5 Jun 2015 07:11:39 +0000 (16:11 +0900)] 
maint: Update copyright year

10 years agopo: When doing msgmerge --version, no other options are needed.
Benno Schulenberg [Mon, 1 Jun 2015 10:46:45 +0000 (12:46 +0200)] 
po: When doing msgmerge --version, no other options are needed.

* gettext-runtime/po/Makefile.in.in: Do not use --update when simply
checking for the version, as this might fail when msgmerge is very old.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
10 years agoawk: Recognize .twjr file extension
Daiki Ueno [Mon, 1 Jun 2015 03:12:28 +0000 (12:12 +0900)] 
awk: Recognize .twjr file extension

* gettext-tools/src/x-awk.h (EXTENSIONS_AWK): Register file extensions
".gawk" and ".twjr".  Suggested by Karl Berry in:
<https://lists.gnu.org/archive/html/bug-gettext/2015-05/msg00032.html>.

* gettext-tools/doc/gettext.texi (gawk): Mention new file extensions
".gawk" and ".twjr".