Commit Graph

279 Commits

Author SHA1 Message Date
Daiki Ueno 7fa0c2779d maint: Update copyright year 2016-01-02 18:58:05 +09:00
Daiki Ueno c9215f6f6b Prepare for 0.19.7 2015-12-28 07:58:08 +09:00
Daiki Ueno 614ff78da5 build: Remove ChangeLogs
Generate ChangeLog files at "make dist" time, using
gitlog-to-changelog.  We still keep ChangeLog files under "po" and
"intl" directories, since those files are copied as part of gettext
infrastructure and it is still meaningful to have them there.
* .gitignore: Add ChangeLog files.
* Admin/release-steps: Remove mention of running update-changelog
script.
* Admin/update-changelog: Remove.
* Makefile.am (gen-ChangeLog): New rule.
* autogen.sh: Copy gitlog-to-changelog from gnulib.  Create empty
ChangeLog files to suppress Automake errors.
* gettext-tools/doc/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/man/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/src/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gettext-tools/tests/Makefile.am (EXTRA_DIST): Remove ChangeLog.0.
* gnulib-local/Makefile.am (EXTRA_DIST): Remove ChangeLog files.
* */ChangeLog: Rename to ChangeLog.0 or ChangeLog.1.
* HACKING: Add brief guideline to submit patches.
2015-10-14 15:00:09 +09:00
Daiki Ueno c00302c3b2 Release 0.19.6 2015-09-11 12:03:07 +09:00
Daiki Ueno 2a8f15846f Prepare for 0.19.6 2015-09-11 11:49:14 +09:00
Daiki Ueno 50eae3f047 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.
2015-08-21 15:42:48 +09:00
Daiki Ueno 712d677050 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.
2015-07-28 14:36:34 +09:00
Daiki Ueno 71073669ae 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.
2015-07-27 15:09:40 +09:00
Peter Eisentraut 6e86bd9b14 po-mode: Fix to accept four-part msgfmt version number 2015-07-27 12:21:55 +09:00
Daiki Ueno 1ec1eb9e73 Release 0.19.5 2015-07-10 15:04:12 +09:00
Daiki Ueno 19d95e4b5c autopoint: Update for 0.19.5
* autopoint.in: Update for 0.19.5.
2015-06-24 16:58:19 +09:00
Daiki Ueno 4a22b2df2b maint: Update copyright year 2015-06-05 16:11:39 +09:00
Manuel Uberti 83c8410bbd po-mode: Add option to keep .mo when validating
* gettext-tools/misc/po-mode.el (po-keep-mo-file): New user option.
(po-validate): Respect po-keep-mo-file.  Fix comment indentation.
2015-04-24 17:36:38 +09:00
Peter Eisentraut 1f4f6a3294 po-mode: Better C format string highlighting
* po-mode.el (po-font-lock-keywords): Support all possible length
modifiers in C89/C99 format strings.
2015-01-21 16:49:33 +09:00
Daiki Ueno 92097b86a1 Release 0.19.4 2014-12-24 15:33:18 +09:00
Daiki Ueno bae5495f84 Prepare for 0.19.4 2014-12-24 15:32:05 +09:00
Daiki Ueno f4b41ad3a5 Release 0.19.3 2014-10-15 18:37:28 +09:00
Daiki Ueno b4b34c7204 Prepare for 0.19.3 2014-10-15 18:37:28 +09:00
Eric Blake d75090f27c 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.
2014-10-10 07:33:35 +09:00
Daiki Ueno 761098f612 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>.
2014-09-01 07:34:54 +09:00
Daiki Ueno 29a9384c6a Release 0.19.2 2014-07-14 14:29:05 +09:00
Daiki Ueno fea08dbb8c Prepare for 0.19.2 2014-07-14 14:28:48 +09:00
Daiki Ueno db326c5ade 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.
2014-07-14 06:13:40 +09:00
Daiki Ueno e52c4a802b 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.
2014-07-14 06:13:12 +09:00
Daiki Ueno e1bd11a11b 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.
2014-07-14 05:37:57 +09:00
Daiki Ueno 676d4f13a2 Release 0.19.1 2014-06-10 12:16:06 +09:00
Daiki Ueno e06bdc21ef Prepare for 0.19.1 2014-06-10 12:15:56 +09:00
Daiki Ueno ae7df91c4f Release 0.19 2014-06-02 09:57:11 +09:00
Daiki Ueno 688b4fd209 Prepare for 0.19. 2014-06-02 08:07:28 +09:00
Daiki Ueno d70724a34c autopoint: Unset variables known to interfere with common tools
Reported by Jan Cholasta at:
<https://bugzilla.redhat.com/show_bug.cgi?id=801374>.
* autopoint.in: Unset CDPATH, CLICOLOR_FORCE, and GREP_OPTIONS.
* gettextize.in: Unset CLICOLOR_FORCE and GREP_OPTIONS.
2014-04-23 11:57:14 +09:00
Daiki Ueno 534f854777 Update .gitignore 2014-04-22 14:50:36 +09:00
Daiki Ueno ff18897068 autopoint: Rename gettext_dir to gettext_datadir 2014-04-21 12:06:22 +09:00
Daiki Ueno 6a0f39f4dd autopoint: Remove useless comments 2014-03-27 18:37:49 +09:00
Daiki Ueno 58cccf8252 autopoint: Use SED-based trace for non-standard Autoconf macros 2014-03-27 18:21:14 +09:00
Daiki Ueno d9dc7f9fd4 autopoint: Allow user to specify gettext_dir through envvar 2014-03-26 16:11:40 +09:00
Daiki Ueno 3343f038f7 autopoint: Allow user to specify custom autom4te executable
* autopoint.in (func_trace): Allow user to specify autom4te
executable name through $AUTOM4TE envvar.
* gettextize.in (func_trace): Likewise.
Suggested by Eric Blake at
<https://lists.gnu.org/archive/html/bug-gettext/2013-12/msg00006.html>.
2013-12-05 18:47:46 +09:00
Daiki Ueno 4142e63b88 autopoint: disable m4_include and m4_esyscmd when tracing
* autopoint.in (func_trace): Disable m4_include and m4_esyscmd.
* gettextize.in (func_trace): Likewise.
Reported by Bernhard Voelker in
<https://lists.gnu.org/archive/html/bug-gettext/2013-11/msg00011.html>
and suggested by Eric Blake at <https://savannah.gnu.org/bugs/?40083>.
2013-12-04 19:15:05 +09:00
Daiki Ueno 38aa888cc8 autopoint: use 'm4' as the fallback macro directory 2013-10-16 16:34:48 +09:00
Daiki Ueno 1de46f193e autopoint: discard stderr of autom4te 2013-09-24 14:17:00 +09:00
Daiki Ueno c97f0cb8c7 autopoint: recognize multiple arguments of AM_GNU_GETTEXT when tracing 2013-09-24 12:51:16 +09:00
Daiki Ueno eea2dddde3 autopoint: make macro trace in autom4te robuster 2013-08-12 16:33:54 +02:00
Jan Djärv c5b6ac2588 po-mode: don't include uncompressed translations when sending 2013-07-29 09:13:41 +09:00
Daiki Ueno c0d3ce9120 autopoint: fix copying intl/ directory
* autopoint.in (omitintl): Don't set it 'no' when no
AM_GNU_GETTEXT call is found.
Reported by Sebastien Helleu in <http://savannah.gnu.org/bugs/?39536>.
2013-07-21 08:18:01 +09:00
Daiki Ueno b4531e3439 Prepare for 0.18.3. 2013-07-07 18:14:39 +09:00
Daiki Ueno a54a5d345a Refactor Autoconf trace in autopoint.in. 2013-05-02 14:51:41 +09:00
Daiki Ueno 34d5181d89 po-mode: Properly highlight C format strings with parameter positions 2013-03-05 16:04:45 +09:00
Ævar Arnfjörð Bjarmason 72147b5f4e po-mode: make (po-check-file-header) optional (bug #30835)
po-mode would always overwrite the PO Header Entry when editing *.po
files. This isn't always desired behavior as noted in bug #30835 so
it's now customizable.

It can be customized through the po-auto-update-file-header variable,
which can be t, nil or 'ask. It's t by default to preserve the old
default behavior.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2013-03-05 12:30:04 +09:00
Daiki Ueno 989529926b autopoint: extract macro directories from configure.ac 2013-03-05 07:57:16 +09:00
Daiki Ueno e9fe70eeb1 gettextize: Use autoconf trace to detect auxdir and m4dir 2013-03-05 07:56:28 +09:00
Daiki Ueno ef7d9bcac7 Fix the last commit. 2013-03-04 17:51:51 +09:00