summaryrefslogtreecommitdiffstats
path: root/gettext-runtime
Commit message (Collapse)AuthorAgeFilesLines
* m4: Rely less on internal symbolsDaiki Ueno2016-05-271-7/+22
| | | | | | | | | | | | | * gettext-runtime/m4/gettext.m4 (AM_GNU_GETTEXT): Skip checks for the internal symbols _nl_msg_cat_cntr, _nl_domain_bindings, and _nl_expand_alias, if __GNU_GETTEXT_SUPPORTED_REVISION is defined. Problem reported and fix suggested by Masanori Ogino in: https://lists.gnu.org/archive/html/bug-gettext/2016-04/msg00000.html The rationale behind this is: (1) those symbol checks are for detecting certain broken implementations, namely NetBSD and Solaris 7, and (2) __GNU_GETTEXT_SUPPORTED_REVISION is not defined in those implementations, while it is defined on compatible implementations, such as musl-libc which doesn't have those internal symbols.
* intl: Pacify pre-C99 compilersDaiki Ueno2016-05-252-3/+15
| | | | | | | | | | | | * gettext-runtime/intl/plural-exp.h (HAVE_STRUCT_INITIALIZER): New macro, based on the check previously in plural-exp.c. Also add check for __SUNPRO_C for Solaris Studio C compiler. (GERMANIC_PLURAL): Define as 'struct expression' not 'const struct expression' if struct/union initializers are not supported by the compiler. * gettext-runtime/intl/plural-exp.c: Use HAVE_STRUCT_INITIALIZER. Reported by Dagobert Michelsen and investigated by pan7 in: https://savannah.gnu.org/support/?108743
* Update after Gnulib changedDaiki Ueno2016-05-192-1/+2
| | | | | | * gnulib-local/lib/gettext.h: Update from gnulib. * gettext-runtime/m4/extern-inline.m4: Likewise. * gettext-runtime/m4/intdiv0.m4: Likewise.
* libasprintf: Build a shared library on OS/2KO Myung-Hun2016-01-201-1/+1
| | | | | * gettext-runtime/libasprintf/configure.ac (LTNOUNDEF): Set to -no-undefined on OS/2.
* intl: Support UNIXROOT in BINDTEXTDOMAIN () on EMXKO Myung-Hun2016-01-201-0/+26
| | | | | | | $UNIXROOT is a drive on which a root of FHS is. * gettext-runtime/intl/bindtextdom.c (BINDTEXTDOMAIN): Prepend $UNIXROOT to dirname if it is started '/' or it is an empty string.
* maint: Update copyright yearDaiki Ueno2016-01-02121-133/+127
|
* Update translationsDaiki Ueno2015-12-285-708/+576
| | | | | | | | | | | | | | | | | | | | | | | | * 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>.
* Prepare for 0.19.7Daiki Ueno2015-12-282-2/+2
|
* doc: Regenerate translation matrixDaiki Ueno2015-12-282-210/+155
| | | | | * gettext-runtime/ABOUT-NLS: Regenerate for 0.19.7. * gettext-runtime/doc/matrix.texi: Regenerate for 0.19.7.
* po: Prefer to use host tools when cross compilingDaiki Ueno2015-12-172-2/+7
| | | | | | | * gettext-runtime/po/Makefile.in.in (CROSS_COMPILING): New substitute variable. (.nop.po-update): Don't prepend ../src to $PATH when cross compiling. * gettext-runtime/po/Rules-quot (.insert-header.po-update-en): Likewise.
* intl: Fix name resolution failures on kLIBCKO Myung-Hun2015-12-102-1/+4
| | | | | | | | | | | kLIBC already has _nl_default_dirname and _nl_msg_cat_cntr in its own gettext implmenetation. * gettext-runtime/intl/dcigettext.c: Do not declare _nl_default_dirname on kLIBC. * gettext-runtime/intl/gettextP.h: Define _nl_msg_cat_cntr to libintl_nl_msg_cat_cntr on kLIBC. Copyright-paperwork-exempt: yes
* build: Do not include os2compat.[ch]KO Myung-Hun2015-12-102-2/+2
| | | | | | | | | | | 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
* test-lock: Do not include sched.h on kLIBCKO Myung-Hun2015-12-101-1/+5
| | | | | | | * gettext-runtime/tests/test-lock.c: Do not include sched.h on kLIBC, since kLIBC does not have sched.h. Copyright-paperwork-exempt: yes
* build: Fix texi2html failure with perl 5.22Daiki Ueno2015-12-081-2/+2
| | | | | | * gettext-runtime/libasprintf/texi2html (update_sec_num): Don't use "defined" against an array ref. * gettext-tools/doc/texi2html (update_sec_num): Likewise.
* m4: Fix typo in usage commentDaiki Ueno2015-10-298-16/+16
| | | | | | | | | | | | | * gettext-runtime/m4/gettext.m4: Remove duplicate words. * 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/progtest.m4: Likewise. Reported by Jakub Wilk in: https://lists.gnu.org/archive/html/bug-gettext/2015-10/msg00026.html.
* build: Generate ChangeLogs for intl and poDaiki Ueno2015-10-152-0/+0
| | | | | | | | | * autogen.sh: Create empty ChangeLog files under intl and po. * Makefile.am (gen-ChangeLogs): Rename from gen-ChangeLog. Generate ChangeLog files for */intl and */po as well as top-level. * gettext-runtime/intl/ChangeLog.0: Rename from ChangeLog. * gettext-runtime/po/ChangeLog.0: Rename from ChangeLog. * gettext-tools/po/ChangeLog.1: Rename from ChangeLog.
* tests: use check_PROGRAMSMike Frysinger2015-10-141-1/+1
| | | | | | | | | The noinst_xxx targets will be compiled all the time. For test programs, the check_xxx targets make more sense as they'll only be built when the user runs `make check`. * gettext-runtime/tests/Makefile.am (noinst_PROGRAMS): Rename to ... (check_PROGRAMS): ... this.
* intl/localename: control langinfo.h inclusionMike Frysinger2015-10-142-1/+12
| | | | | | | | | This header is only used to work around buggy behavior in old versions of glibc, so do not include it all the time. Otherwise we get build failures on systems that do not provide langinfo.h. * gettext-runtime/intl/localename.c: Wrap langinfo.h include with same ifdefs used in the source later on.
* build: Remove ChangeLogsDaiki Ueno2015-10-149-0/+0
| | | | | | | | | | | | | | | | | | | | | 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.
* build: Fix the last commitDaiki Ueno2015-10-011-1/+1
|
* build: Fix the last commitDaiki Ueno2015-09-301-4/+4
|
* build: Avoid file name length limitation of tarDaiki Ueno2015-09-308-10/+20
| | | | | | | | | | "csharpdoc" is a bit too long to accommodate long file names with the version returned from git-version-gen: tar: gettext-0.19.6.4-1e74e4/.../csharpdoc/...: file name is too long (max 99); not dumped * gettext-runtime/intl-csharp/doc: Rename from csharpdoc. * gettext-runtime/intl-cshap/Makefile.am (doc, DOC_FILES): Adjust to the directory name change.
* build: Regenerate ABOUT-NLSDaiki Ueno2015-09-301-81/+77
|
* build: Fix ABOUT-NLS generation with newer TexinfoDaiki Ueno2015-09-302-1/+6
|
* Release 0.19.6Daiki Ueno2015-09-1111-0/+44
|
* Update translationsDaiki Ueno2015-09-116-141/+181
|
* Prepare for 0.19.6Daiki Ueno2015-09-113-3/+3
|
* doc: Regenerate translation matrixDaiki Ueno2015-09-112-530/+530
| | | | | * gettext-runtime/ABOUT-NLS: Regenerate for 0.19.6. * gettext-runtime/doc/matrix.texi: Regenerate for 0.19.6.
* po: Support reading header comments from fileDaiki Ueno2015-09-012-0/+10
| | | | | * Makefile.in.in ($(DOMAIN).pot-update): Replace header comment with the content of $(DOMAIN).pot-header, if exists.
* intl: fix memory leak in _nl_load_domainPaul Eggert2015-08-272-2/+10
| | | | | | * loadmsgcat.c (_nl_load_domain): Free data after a read failure. See: https://sourceware.org/bugzilla/show_bug.cgi?id=18871
* autopoint: Respect AM_GNU_GETTEXT_REQUIRE_VERSIONDaiki Ueno2015-08-212-1/+10
| | | | | | | | | | * 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.
* intl: Pacify compilation with pre-C99 compilersDaiki Ueno2015-08-212-1/+11
| | | | | | | | | * 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>.
* Release 0.19.5Daiki Ueno2015-07-1011-0/+44
|
* Update translationsDaiki Ueno2015-07-1019-2632/+761
|
* intl: Check for getlocalename_lDaiki Ueno2015-07-102-1/+12
| | | | | * intl.m4 (gt_INTL_SUBDIR_CORE): Check also for getlocalename_l. Bump serial to 29.
* intl: Update from gnulibDaiki Ueno2015-07-102-2/+7
| | | | * localename.c: Update from gnulib.
* maint: Add more files to .gitignoreDaiki Ueno2015-06-251-0/+1
|
* m4, help2man: Update from gnulibDaiki Ueno2015-06-2311-11/+32
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Prepare for 0.19.5Daiki Ueno2015-06-232-2/+2
|
* intl: Update locale.aliasDaiki Ueno2015-06-232-2/+23
| | | | | | | | | | | | * 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.
* doc: Regenerate translation matrixDaiki Ueno2015-06-234-2017/+2277
| | | | | * gettext-runtime/ABOUT-NLS: Regenerate for 0.19.5. * gettext-runtime/doc/matrix.texi: Regenerate for 0.19.5.
* maint: Make Matrix.java more flexibleDaiki Ueno2015-06-232-44/+42
| | | | | * gettext-runtime/doc/Admin/Matrix.java (Matrix): Group teams considering the actual table width, instead of using a hard-coded rule.
* maint: Update copyright yearDaiki Ueno2015-06-0567-67/+95
|
* po: When doing msgmerge --version, no other options are needed.Benno Schulenberg2015-06-022-1/+6
| | | | | | | * 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>
* intl: Update from gnulibDaiki Ueno2015-03-125-9/+27
| | | | | | * gettext-runtime/intl/localename.c, gettext-runtime/intl/vasnprintf.c: Update from gnulib. * gettext-runtime/libasprintf/vasnprintf.c: Update from gnulib.
* po: Clarify license noticeDaiki Ueno2015-02-182-6/+10
| | | | | | * gettext-runtime/po/Makefile.in.in: Replace our own wording of licensing with GNU All-Permissive License. Reported by Riley Baird in: <https://lists.debian.org/debian-legal/2015/01/msg00048.html>.
* intl: Update from gnulibDaiki Ueno2015-01-2234-53/+177
| | | | | | | | | | | | * config.charset, localcharset.c, relocatable.c, vasnprintf.c: Update from gnulib. * codeset.m4, extern-inline.m4, fcntl-o.m4, gettext.m4, glibc2.m4: * glibc21.m4, iconv.m4, intdiv0.m4, intldir.m4, intlmacosx.m4: * intmax.m4, inttypes-pri.m4, inttypes_h.m4, lcmessage.m4, lock.m4: * longlong.m4, nls.m4, printf-posix.m4, progtest.m4: * size_max.m4, stdint_h.m4, threadlib.m4, uintmax_t.m4: * visibility.m4, wchar_t.m4, wint_t.m4, xsize.m4: Update copyright year.
* intl: Merge from glibcWill Newton2015-01-2127-52/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bindtextdom.c: Update copyright to use year ranges. * dcgettext.c: Update copyright to use year ranges. [_LIBC]: Use libc_hidden_def instead of INTDEF. * dcigettext.c: Update copyright to use year ranges. Test HAVE_TSEARCH with #ifdef rather than #if. (DCIGETTEXT) [_LIBC]: Use __current_locale_name instead of _current_locale_name. * dcngettext.c: Update copyright to use year ranges. * dgettext.c: Update copyright to use year ranges. [_LIBC]: Remove use of INTUSE macro. * dngettext.c: Update copyright to use year ranges. * explodename.c: Likewise. * finddomain.c: Update copyright to use year ranges. (_nl_finddomain_subfreeres): Use void in no-arguments function definition. * gettext.c: Update copyright to use year ranges. [_LIBC]: Remove use of INTUSE macro. * gettextP.h: Update copyright to use year ranges. [_LIBC]: Forward declaration of struct loaded_domain. * gmo.h: Update copyright to use year ranges. * hash-string.c: Likewise. * hash-string.h: Likewise. * l10nflist.c: Update copyright to use year ranges. [_LIBC]: Remove use of INTUSE macro. Wrap pop function in [!ARCH_POP]. * loadinfo.h: Update copyright to use year ranges. * loadmsgcat.c: Likewise. * localealias.c: Update copyright to use year ranges. Test ENABLE_RELOCATABLE with #ifdef rather than #if. [_LIBC]: Use __strcasecmp_l for strcasecmp. [_LIBC]: Use __fgets_unlocked for FGETS. Test HAVE_DECL_FGETS_UNLOCKED with #ifdef rather than #if. Test HAVE_DECL_FEOF_UNLOCKED with #ifdef rather than #if. (read_alias_file) [_LIBC]: Open file with O_CLOEXEC. (extend_alias_table): Use void in no-arguments function definition. * ngettext.c: Update copyright to use year ranges. * plural-exp.c: Update copyright to use year ranges. Test __APPLE_CC__ with #ifdef rather than #if. (GERMANIC_PLURAL): Make const. (init_germanic_plural): Use void in no-arguments function definition. * plural-exp.h: Update copyright to use year ranges. (GERMANIC_PLURAL): Make const. * plural.y: Update copyright to use year ranges. * textdomain.c: Likewise.
* intl: Add missing libintl.h dependency from pluralx.$loVáclav Slavík2015-01-042-1/+10
| | | | | | | | plural(x).c depends on libintl.h if ENABLE_NLS, but the makefile didn't have corresponding dependency for pluralx.c, because d2d04ba forgot to add it. Fix by using $(PLURAL_OBJECT) for the dependency rule too. * Makefile.in ($(PLURAL_OBJECT)): Depend on libintl.h.
* Release 0.19.4Daiki Ueno2014-12-2411-0/+44
|