| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|
|
|
|
|
| |
Build is broken on Android.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|
|
|
|
|
| |
* gettext-runtime/intl/Makefile.in: Revert LTV_CURRENT and increment
LTV_REVISION.
* gettext-tools/libgettextpo/Makefile.am: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gettext-runtime/po/eo.po: Update from Felipe Castro <fefcas@gmail.com>
* gettext-runtime/po/hr.po: Update from Božidar Putanec <bozidarp@yahoo.com>
* gettext-runtime/po/sv.po: Update from Göran Uddeborg <goeran@uddeborg.se>
* gettext-tools/examples/po/eo.po: Update from Felipe Castro <fefcas@gmail.com>
* gettext-tools/examples/po/hr.po: Update from Božidar Putanec <bozidarp@yahoo.com>
* gettext-tools/examples/po/sv.po: Update from Göran Uddeborg <goeran@uddeborg.se>
* gettext-tools/po/bg.po: Update from Roumen Petrov <transl@roumenpetrov.info>
* gettext-tools/po/es.po: Update from Antonio Ceballos <aceballos@gmail.com>
* gettext-tools/po/fr.po: Update from Stéphane Aulery <lkppo@free.fr>
* gettext-tools/po/ja.po: Update from Masahito Yamaga <ma@yama-ga.com>
* gettext-tools/po/ko.po: Update from Changwoo Ryu <cwryu@debian.org>
* gettext-tools/po/nl.po: Update from Benno Schulenberg <benno@vertaalt.nl>
* gettext-tools/po/pl.po: Update from Rafał Maszkowski <rzm@icm.edu.pl>
* gettext-tools/po/sk.po: Update from Marcel Telka <marcel@telka.sk>
* gettext-tools/po/sr.po: Update from Мирослав Николић <miroslavnikolic@rocketmail.com>
* gettext-tools/po/sv.po: Update from Göran Uddeborg <goeran@uddeborg.se>
* gettext-tools/po/tr.po: Update from Nilgün Belma Bugüner <nilgun@buguner.name.tr>
* gettext-tools/po/uk.po: Update from Yuri Chornoivan <yurchor@ukr.net>
* gettext-tools/po/vi.po: Update from Trần Ngọc Quân <vnwildman@gmail.com>
|
| |
|
|
|
|
|
| |
* gettext-tools/tests/*: Use Exit instead of exit, as suggested by
init.sh.
|
|
|
|
|
| |
* gettext-tools/tests/sentence-1-prg.c (main): Check input buffer
overflow, while it is not possible with the current test case.
|
|
|
|
|
| |
* gettext-tools/tests/sentence-1: Use NO-BREAK SPACE instead of
IDEOGRAPHIC SPACE.
|
|
|
|
|
| |
* gettext-tools/tests/Makefile.am (CHECKER): Use $(abs_srcdir) instead
of $(srcdir).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For consistency with other tests. Also it fixes a test failure when
built with --disable-shared, since LOG_COMPILER set to $(SHELL) doesn't
recognize binary executable.
* gettext-tools/tests/Makefile.am (TESTS): Rename 'sentence' to
'sentence-1'.
(check_PROGRAMS): Rename 'sentence' to 'sentence-1-prg'.
(sentence_1_prg_SOURCES): Rename from 'sentence_SOURCES'.
(sentence_1_prg_CPPFLAGS): Rename from 'sentence_CPPFLAGS'.
(sentence_1_prg_LDADD): Rename from 'sentence_LDADD'.
* gettext-tools/tests/sentence-1: New file.
* gettext-tools/tests/sentence-1-prg.c: Rename from sentence.c, move the
test data to sentence-1.
* gettext-tools/tests/.gitignore: Ignore sentence-1-prg.
|
| |
|
|
|
|
| |
* gettext-tools/src/xgettext.c (usage): Mention 'bullet-unicode' check.
|
|
|
|
|
|
| |
* gettext-tools/src/read-desktop.h: Add "extern" to each function
declaration.
Possibly related to: https://savannah.gnu.org/bugs/?45896
|
|
|
|
|
|
| |
* gettext-tools/src/read-desktop.c (desktop_lex): Don't access memory
deallocated with realloc(). Reported in:
http://savannah.gnu.org/bugs/?47991
|
|
|
|
|
|
|
| |
* gettext-tools/tests/format-javascript-1: Add test for multiple uses of
same argument.
* gettext-tools/tests/format-javascript-2: Use proper flag to activate
javascript format checker.
|
|
|
|
|
| |
* gettext-tools/src/format-javascript.c (format_check): Check if the two
argument types are the same.
|
|
|
|
|
| |
* gettext-tools/tests/Makefile.am (TESTS): Add new test.
* gettext-tools/tests/xgettext-its-2: New file.
|
|
|
|
|
| |
* gettext-tools/src/search-path.c (foreach_elements): Append "gettext"
suffix to each element from XDG_DATA_DIRS.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gettext-tools/src/search-path.c (foreach_function_ty): New typedef.
(path_array_ty): New struct.
(foreach_components, increment, fill): New functions.
(get_search_path): Rewrite using those functions. Relocate
GETTEXTDATADIR here.
* gettext-tools/src/search-path.h (get_search_path): Update documentation.
* gettext-tools/src/msgfmt.c (main): Don't relocate directories in ITS
search path.
* gettext-tools/src/xgettext.c (main): Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Explicitly pull 'gettext',
as the module is now marked as obsolete.
* gnulib-local/Makefile.am (EXTRA_DIST): Remove m4/hard-locale.m4.diff.
* gnulib-local/m4/hard-locale.m4.diff: Remove, as it is no longer
needed.
* gettext-tools/gnulib-lib/.gitignore: Ignore files brought by gnulib-tool.
* gettext-tools/gnulib-tests/.gitignore: Likewise.
* gettext-tools/libgettextpo/.gitignore: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Suggested in https://savannah.gnu.org/bugs/?47123
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add 'xmemdup0'.
* gettext-tools/gnulib-lib/.gitignore: Ignore files brought by gnulib-tool.
* gettext-tools/gnulib-tests/.gitignore: Likewise.
* gettext-tools/src/search-path.c: New file.
* gettext-tools/src/search-path.h: New file.
* gettext-tools/src/Makefile.am (noinst_HEADERS): Add search-path.h.
(libgettextsrc_la_SOURCES): Add search-path.c.
* gettext-tools/src/msgfmt.c: Include "search-path.h".
(main): Use get_search_path to locate ITS directories.
* gettext-tools/src/xgettext.c: Include "search-path.h".
(main): Use get_search_path to locate ITS directories.
|
|
|
|
|
| |
* gettext-tools/src/format-javascript.c (format_check): Fix
loop initialization. Spotted by clang-analyzer.
|
|
|
|
|
|
|
| |
* gettext-tools/src/x-lua.c (string_end): Allocate a room for
terminating NUL. Reported in: http://savannah.gnu.org/bugs/?4753
Copyright-paperwork-exempt: yes
|
|
|
|
|
|
|
|
|
| |
* gettext-tools/src/format-python-brace.c (parse_directive): Recognize
chained getattr/getitem expressions.
* gettext-tools/tests/format-python-brace-1: Add test for the case where
both getattr and getitem are used.
Reported by Paul Franklin in:
https://lists.gnu.org/archive/html/bug-gettext/2016-03/msg00017.html
|
|
|
|
|
|
| |
* gettext-tools/doc/gettext.texi (Plural forms): Fix positional argument
syntax in the C example. Reported by Jonathan Leffler in:
http://lists.gnu.org/archive/html/bug-gettext/2016-03/msg00002.html
|
|
|
|
|
|
|
| |
* gettext-tools/src/format-javascript.c (format_parse): Fix numbered_arg
allocation for the unnumbered case.
Reported by Roger Mc Murtrie in: <http://savannah.gnu.org/bugs/?47492>.
|
|
|
|
| |
* gettext-tools/gnulib-lib/.gitignore: Sort lines.
|
|
|
|
|
| |
* gettext-tools/src/xgettext.c (usage): Move --its=FILE option under
"Language specific options" from "Output details".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gettext-tools/src/xgettext.c (main): Generalize --check option
handling.
* gettext-tools/src/message.h (enum syntax_check_type): New enum value
sc_bullet_unicode.
(NSYNTAXCHECKS): Increment.
* gettext-tools/src/message.c (syntax_check_name): Add name for
sc_bullet_unicode.
* gettext-tools/src/msgl-check.c (struct bullet_ty, struct
bullet_stack_ty): New struct.
(bullet_stack): New variable.
(syntax_check_bullet_unicode): New function.
(sc_funcs): Register syntax_check_bullet_unicode as a check function for
sc_bullet_unicode.
* gettext-tools/tests/xgettext-14: Add tests for --check=bullet-unicode
|
|
|
|
|
|
| |
* gettext-tools/doc/gettext.texi (Preparing ITS Rules): Add footnote
explaining the matching behavior if the input file name has the .in
suffix. Suggested by Jan Synacek.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Gjs has had support for numbered arguments in format strings since 1.40.
Recognize it as well in format-javascript, so msgfmt -c doesn't fail
when numbered arguments are in msgstr. Reported by Sean Burke in:
https://lists.gnu.org/archive/html/bug-gettext/2015-10/msg00002.html
* gettext-tools/src/format-javascript.c (struct numbered_arg): New
struct.
(struct spec): Rename format_args_count to numbered_arg_count. Add
NUMBERED field in place of FORMAT_ARGS. All callers changed.
(numbered_arg_compare): New function.
(format_parse): Handle numbered arguments. Based on format-awk.c.
(format_check): Add check for numbered arguments.
* gettext-tools/tests/format-javascript-1: Add tests for numbered
arguments.
* gettext-tools/tests/lang-javascript: Use numbered argument in format
strings. Add check for Gjs version >= 1.40.
|
|
|
|
|
|
|
|
|
|
|
|
| |
OS/2 does not support a DLL name longer than 8 characters.
* gettext-tools/configure.ac (OS2): Define on OS/2.
* gettext-tools/gnulib-lib/Makefile.am (libgettextlib_la_LDFLAGS):
Set a DLL name to gtlib on OS/2.
* gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_LDFLAGS):
Set a DLL name to gtpo on OS/2.
* gettext-tools/src/Makefile.am (libgettextsrc_la_LDFLAGS): Set a DLL
name to gtsrc on OS/2.
|
|
|
|
|
|
|
| |
* gettext-tools/src/msgfmt.c (main): Initialize 'byteswap' so as to
produce little-endian .mo files by default.
* gettext-tools/doc/gettext.texi: Update documentation.
* gettext-tools/doc/msgfmt.texi (--endianness): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some test programs started failing after mass update of copyright notice
for year 2016 (commit 7fa0c277), because of embedded test data with
fixed copyright dates. Revert the commit for those files.
Reported by Bruno Haible.
* .x-update-copyright: Exclude test programs embedding copyright date.
* gettext-tools/tests/msgcomm-22: Revert the last change.
* gettext-tools/tests/msgfilter-sr-latin-1: Likewise.
* gettext-tools/tests/msggrep-1: Likewise.
* gettext-tools/tests/msggrep-2: Likewise.
* gettext-tools/tests/msggrep-3: Likewise.
* gettext-tools/tests/msggrep-4: Likewise.
* gettext-tools/tests/msggrep-5: Likewise.
* gettext-tools/tests/msggrep-9: Likewise.
* gettext-tools/tests/msggrep-11: Likewise.
* gettext-tools/tests/msgmerge-14: Likewise.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gettext-runtime/po/fr.po: Update from Stéphane Aulery <lkppo@free.fr>.
* gettext-runtime/po/nb.po: Update from Johnny A. Solbu <johnny@solbu.net>.
* gettext-runtime/po/pt_BR.po: Update from Rafael Ferreira <rffontenelle@gmail.com>.
* gettext-runtime/po/sr.po: Update from Мирослав Николић <miroslavnikolic@rocketmail.com>.
* gettext-runtime/po/zh_TW.po: Update from Wei-Lun Chao <bluebat@member.fsf.org>.
* gettext-tools/examples/po/fr.po: Update from Stéphane Aulery <lkppo@free.fr>.
* gettext-tools/examples/po/nb.po: Update from Johnny A. Solbu <johnny@solbu.net>.
* gettext-tools/examples/po/pt_BR.po: Update from Rafael Ferreira <rffontenelle@gmail.com>.
* gettext-tools/examples/po/sr.po: Update from Мирослав Николић <miroslavnikolic@rocketmail.com>.
* gettext-tools/examples/po/zh_TW.po: Update from Wei-Lun Chao <bluebat@member.fsf.org>.
* gettext-tools/po/bg.po: Update from Roumen Petrov <transl@roumenpetrov.info>.
* gettext-tools/po/es.po: Update from Antonio Ceballos <aceballos@gmail.com>.
* gettext-tools/po/fr.po: Update from Stéphane Aulery <lkppo@free.fr>.
* gettext-tools/po/ja.po: Update from Masahito Yamaga <ma@yama-ga.com>.
* gettext-tools/po/nl.po: Update from Benno Schulenberg <benno@vertaalt.nl>.
* gettext-tools/po/pt_BR.po: Update from Rafael Fontenelle <rffontenelle@gmail.com>.
* gettext-tools/po/sk.po: Update from Marcel Telka <marcel@telka.sk>.
* gettext-tools/po/sl.po: Update from Primoz PETERLIN <primozz.peterlin@gmail.com>.
* gettext-tools/po/sr.po: Update from Мирослав Николић <miroslavnikolic@rocketmail.com>.
* gettext-tools/po/uk.po: Update from Yuri Chornoivan <yurchor@ukr.net>.
* gettext-tools/po/vi.po: Update from Trần Ngọc Quân <vnwildman@gmail.com>.
|
| |
|
|
|
|
|
| |
* gettext-tools/gnulib-tests/.gitignore: Ignore file brought by
gnulib-tool.
|
|
|
|
|
|
| |
* gettext-tools/src/cldr-plurals.c (extract_rules): Add extra null
checks for NODE and BUFFER. Don't add NUL byte to the end of buffer
manually.
|
|
|
|
|
| |
* gettext-tools/src/its.c (its_rule_list_is_translatable): Don't return
false on CDATA and comments.
|
|
|
|
| |
* gettext-tools/its/gsettings.its: Fix typo in escape rule.
|
|
|
|
|
|
|
|
| |
* gettext-tools/gnulib-lib/.gitignore: Ignore files brought by
gnulib-tool.
* gettext-tools/gnulib-tests/.gitignore: Likewise.
* gnulib-local/modules/libxml (Depends-on): Add 'pow', 'log10', and
'fabs'.
|
|
|
|
|
|
|
|
|
|
|
| |
* gettext-tools/gnulib-lib/.gitignore: Ignore files brought by
gnulib-tool.
* gettext-tools/gnulib-tests/.gitignore: Likewise.
* gnulib-local/lib/libxml/triodef.h: Remove.
* gnulib-local/lib/libxml/trionan.c: Replace it with Gnulib functions.
* gnulib-local/lib/libxml/trionan.h: Remove.
* gnulib-local/modules/libxml (Depends-on): Add 'isinf', 'isnan', and
'signbit'.
|
|
|
|
| |
* gettext-tools/po/POTFILES.in: Add newly added files.
|
|
|
|
|
|
|
|
|
| |
* gettext-tools/its/glade2.its: Mark "comments" attribute as
escape="no".
* gettext-tools/its/gsettings.its: Mark "context" attribute as
escape="no".
* gettext-tools/its/gtkbuilder.its: Mark "comments" attribute as
escape="no".
|
|
|
|
|
|
| |
* gettext-tools/src/its.c (its_rule_list_extract_text): Check for
"escape" value for an attribute node.
* gettext-tools/tests/xgettext-its-1: Add tests for gt:escapeRule.
|
|
|
|
|
|
|
|
|
|
|
| |
kLIBC does not need os2compat.[ch]
* gettext-runtime/configure.ac (AH_BOTTOM): Do not include
intl/os2compat.h on kLIBC.
* gettext-runtime/intl/osdep.c: Do not include os2compat.c on kLIBC.
* gettext-tools/configure.ac (AH_BOTTOM): Do not include
intl/os2compat.h on kLIBC.
Copyright-paperwork-exempt: yes
|
|
|
|
|
| |
* gettext-tools/src/format-kde-kuit.c (format_parse): Return NULL if
xmlReadMemory returns NULL.
|
|
|
|
|
|
|
| |
* gettext-tools/doc/xgettext.texi (Output details): Mention --its
option.
* gettext-tools/src/xgettext.c (long_options): Add --its option.
(main): Handle --its option. Suggested by Sébastien Wilmet.
|