summaryrefslogtreecommitdiffstats
path: root/gettext-tools/libgettextpo/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove expat dependencyDaiki Ueno2015-12-091-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * DEPENDENCIES: Suggest libxml2 instead of expat. * gnulib-local/lib/markup.c: New file. * gnulib-local/lib/markup.h: New file. * gnulib-local/modules/markup: New file. * autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Add markup module. * gettext-tools/configure.ac: Remove checks for expat. * gettext-tools/gnulib-lib/.gitignore: Ignore modules pulled by gnulib-tool due to the markup module usage. * gettext-tools/gnulib-tests/.gitignore: Likewise. * gettext-tools/libgettextpo/.gitignore: Likewise. * gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_AUXSOURCES): Remove ../src/libexpat-compat.c. (libgettextpo_la_LDFLAGS): Remove @LTLIBEXPAT@. * gettext-tools/src/Makefile.am (noinst_HEADERS): Remove libexpat-compat.h. (libgettextsrc_la_SOURCES): Remove libexpat-compat.c. (libgettextsrc_la_LDFLAGS): Remove @LTLIBEXPAT@. * gettext-tools/src/format-kde-kuit.c: Use functions from markup.h, when the file is being compiled as part of libgettextpo. Otherwise use libxml2. * gettext-tools/src/libexpat-compat.c: Remove. * gettext-tools/src/libexpat-compat.h: Remove.
* maint: Update copyright yearDaiki Ueno2015-06-051-1/+2
|
* format-kde: Recognize KUIT markupDaiki Ueno2015-03-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Chusslove Illich in: https://lists.gnu.org/archive/html/bug-gettext/2015-01/msg00017.html * gettext-tools/src/format.h (formatstring_kde_kuit): New variable declaration. * gettext-tools/src/format.c (formatstring_parsers): Register formatstring_kde_kuitas a format string parser. * gettext-tools/src/format-kde-kuit.c: New file. * gettext-tools/src/message.h (NFORMATS): Increment. (enum format_type): New enum value format_kde_kuit. * gettext-tools/src/xgettext.c (xgettext_record_flag): Handle format_kde_kuit. * gettext-tools/src/Makefile.am (xgettext_SOURCES): Move libexpat-compat.c to... (libgettextsrc_la_SOURCES): ...here. (xgettext_LDADD): Move @LTLIBEXPAT@ to... (libgettextsrc_la_LDFLAGS): ...here. (FORMAT_SOURCE): Add format-kde-kuit.c. * gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_AUXSOURCES): Add ../src/format-kde-kuit.c and ../src/libexpat-compat.c. (libgettextpo_la_LDFLAGS): Add @LTLIBEXPAT@. * gettext-tools/tests/format-kde-kuit-1: New file. * gettext-tools/tests/format-kde-kuit-2: New file. * gettext-tools/tests/Makefile.am (TESTS): Add new tests. * gettext-tools/doc/gettext.texi (kde-kuit-format): New subsection. * NEWS: Mention KUIT format string support.
* xgettext: Support message syntax checksDaiki Ueno2015-03-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, xgettext could report common syntactic problems in extracted strings. The current built-in checks are ellipsis-unicode, space-ellipsis, and quote-unicode. Those checks can be enabled with --check option of xgettext and disabled with special "xgettext:" comment in source files. Feature suggested by Philip Withnall in: https://savannah.gnu.org/bugs/?44098 * gettext-tools/src/message.h (enum syntax_check_type): New enum. (NSYNTAXCHECKS): New constant. (enum is_syntax_check): New enum. (struct message_ty): New field 'do_syntax_check'. (syntax_check_name): New variable declaration. * gettext-tools/src/message.c (syntax_check_name): New variable. * gettext-tools/src/msgl-cat.c (catenate_msgdomain_list): Propagate mp->do_syntax_check. * gettext-tools/src/msgmerge.c (message_merge): Propagate ref->do_syntax_check. * gettext-tools/src/msgl-check.h (syntax_check_message_list): New declaration. * gettext-tools/src/msgl-check.c (sentence_end): New function. (syntax_check_ellipsis_unicode): New function. (syntax_check_space_ellipsis): New function. (syntax_check_quote_unicode): New function. (syntax_check_message): New function. (syntax_check_message_list): New function. * gettext-tools/src/read-catalog-abstract.h (po_parse_comment_special): Adjust function declaration. * gettext-tools/src/read-catalog-abstract.c (po_parse_comment_special): Add new argument SCP for syntax checking; all callers changed. * gettext-tools/src/read-catalog.h (DEFAULT_CATALOG_READER_TY): New field 'do_syntax_check'. * gettext-tools/src/read-catalog.c (default_constructor): Initialize this->do_syntax_check. (default_copy_comment_state): Propagate this->do_syntax_check. * gettext-tools/src/xgettext.c (long_options): Add --check option. (main): Handle --check option. (usage): Document --check option. (remember_a_message): Propagate do_syntax_check value. * gettext-tools/tests/xgettext-14: New file. * gettext-tools/tests/sentence.c: New file. * gettext-tools/tests/Makefile.am (TESTS): Add new test. (noinst_PROGRAMS): Add 'sentence'. (sentence_SOURCES): New variable. (sentence_CPPFLAGS): New variable. (sentence_LDADD): New variable. * gettext-tools/doc/xgettext.texi: Document --check option.
* Prepare for 0.19.4Daiki Ueno2014-12-241-1/+1
|
* build: Use Automake 'subdir-objects' optionRoumen Petrov2014-04-221-1/+1
| | | | | | | * gettext-runtime/tests/Makefile.am (AUTOMAKE_OPTIONS): Add 'subdir-objects'. * gettext-tools/libgettextpo/Makefile.am (AUTOMAKE_OPTIONS): Likewise. * gettext-tools/libgrep/Makefile.am (AUTOMAKE_OPTIONS): Likewise. * gettext-tools/src/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* Support Python brace format.Daiki Ueno2013-04-261-0/+1
|
* Support for JavaScript.Andreas Stricker2013-04-171-0/+1
|
* Support for Lua.Ľubomír Remák2013-04-111-0/+1
|
* Prepare for 0.18.2.Daiki Ueno2012-12-251-1/+1
|
* Rename gettext-po.h.in to gettext-po.in.h.Bruno Haible2011-06-071-4/+4
|
* Rely more on libtool.Bruno Haible2011-06-071-2/+2
|
* Avoid link error in programs that use libgettextpo.Bruno Haible2010-06-061-1/+1
|
* Prepare for 0.18.1.Bruno Haible2010-06-041-1/+1
|
* Prepare for version 0.18.Bruno Haible2010-05-091-3/+3
|
* Add necessary variable.Guido Flohr2009-12-011-0/+1
|
* Compile also format-gfc-internal.c and format-qt-plural.c.Bruno Haible2009-08-111-0/+2
|
* Update MOSTLYCLEANFILES after last commit.Bruno Haible2009-06-231-1/+1
|
* Fix the handling of Windows resources in shared libraries.Bruno Haible2009-06-231-6/+6
|
* Distribute gnulib-m4/gnulib-cache.m4.Bruno Haible2009-06-231-1/+4
|
* Bump version numbers.Bruno Haible2009-06-231-2/+2
|
* Switch the license of the programs from GPLv2 to GPLv3.Bruno Haible2009-06-231-5/+4
|
* Distribute libgettextpo.rc.Bruno Haible2009-06-231-0/+1
|
* Support for KDE format strings.Bruno Haible2009-06-231-0/+1
|
* Fix last commit.Bruno Haible2009-06-231-2/+1
|
* Support for Windows resource file.Bruno Haible2009-06-231-1/+12
|
* moopp requires GNU sed.Bruno Haible2009-06-231-0/+1
|
* Fix build failures after config.h generation failed once.Bruno Haible2009-06-231-1/+1
|
* Support for VPATH builds.Bruno Haible2009-06-231-1/+2
|
* Fix for parallel makes.Bruno Haible2009-06-231-3/+2
|
* Make the config.h rule more robust.Bruno Haible2009-06-231-4/+10
|
* Fix -I options for VPATH builds on cygwin or mingw.Bruno Haible2009-06-231-0/+1
|
* Remove useless -I options.Bruno Haible2009-06-231-1/+0
|
* Update obstack_free hack.Bruno Haible2009-06-231-1/+1
|
* Fix "make dist".Bruno Haible2009-06-231-2/+2
|
* Fix the build of libgettextpo with a separate gnulib checkout.Bruno Haible2009-06-231-1/+13
|
* Makefile for the libgettextpo library.Bruno Haible2009-06-231-0/+152