summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl
Commit message (Collapse)AuthorAgeFilesLines
* 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-0256-60/+57
|
* Prepare for 0.19.7Daiki Ueno2015-12-281-1/+1
|
* 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-101-1/+1
| | | | | | | | | | | 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
* build: Generate ChangeLogs for intl and poDaiki Ueno2015-10-151-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.
* 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.
* Release 0.19.6Daiki Ueno2015-09-111-0/+4
|
* Prepare for 0.19.6Daiki Ueno2015-09-112-2/+2
|
* 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
* 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-101-0/+4
|
* intl: Update from gnulibDaiki Ueno2015-07-102-2/+7
| | | | * localename.c: Update from gnulib.
* Prepare for 0.19.5Daiki Ueno2015-06-231-1/+1
|
* 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.
* maint: Update copyright yearDaiki Ueno2015-06-0531-31/+43
|
* intl: Update from gnulibDaiki Ueno2015-03-123-5/+19
| | | | | | * gettext-runtime/intl/localename.c, gettext-runtime/intl/vasnprintf.c: Update from gnulib. * gettext-runtime/libasprintf/vasnprintf.c: Update from gnulib.
* intl: Update from gnulibDaiki Ueno2015-01-225-19/+136
| | | | | | | | | | | | * 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-241-0/+4
|
* Prepare for 0.19.4Daiki Ueno2014-12-243-2/+7
|
* intl: Make the LCOV workaround non-intrusiveDaiki Ueno2014-12-042-8/+22
| | | | | | | | * gettext-runtime/intl/Makefile.in (PLURAL_OBJECT): New variable. (OBJECTS): Refer to $(PLURAL_OBJECT) instead of plural.$lo. (pluralx.c, pluralx.lo): New rule. (mostlyclean): Remove pluralx.c. * gettext-tools/configure.ac: Replace PLURAL_OBJECT in intl/Makefile.
* intl: Work around LCOV relative base directory resolutionDaiki Ueno2014-12-032-1/+14
| | | | | | | | | * gettext-runtime/intl/Makefile.in (plural.lo): Resolve relative source file name given with '#line' directive, when $(srcdir) != $(builddir). (mostlyclean): Remove plural.c generated in the 'plural.lo' rule. * gettext-tools/src/plural-exp.c: Include "../intl/plural.c" instead of "../../gettext-runtime/intl/plural.c".
* Release 0.19.3Daiki Ueno2014-10-151-0/+4
|
* Prepare for 0.19.3Daiki Ueno2014-10-152-1/+5
|
* Update after Gnulib changedDaiki Ueno2014-09-304-103/+216
|
* intl: Consolidate fallback _GL_* macro definitions into intl.m4Daiki Ueno2014-07-163-15/+10
| | | | | | | | | | | | | | | | | We had defined _GL_* macros used by libintl itself in the corresponding C files. However, it will increase divergence between Gnulib and gettext. This patch moves the fallback macro definitions into M4 and emit them only when the project is not using Gnulib. * gettext-runtime/m4/intl.m4 (gt_GL_ATTRIBUTE): New macro. (AM_INTL_SUBDIR): Require gt_GL_ATTRIBUTE. * gettext-runtime/intl/localename.c: Update from Gnulib. 2014-07-10 Assaf Gordon <assafgordon@gmail.com> localename: avoid -Wsuggest-attribute={const,pure} warnings * lib/localename.c (string_hash): Tag internal function as pure. * gettext-runtime/intl/xsize.c (XSIZE_INLINE): Remove _GL_UNUSED definition. It will be set through intl.m4. * Makefile.am (distcheck-hook): Add back localename.c check.
* Release 0.19.2Daiki Ueno2014-07-141-0/+4
|
* Prepare for 0.19.2Daiki Ueno2014-07-141-1/+1
|
* intl: Remove intl/VERSION for gettext packagesDaiki Ueno2014-07-142-0/+10
| | | | | * Makefile.in (distclean): Remove intl/VERSION for gettext-runtime and gettext-tools packages.
* intl: Sync up loadmsgcat.c with glibcSiddhesh Poyarekar2014-07-032-3/+6
| | | | * loadmsgcat.c [_LIBC]: Define PRI_MACROS_BROKEN unconditionally.
* intl: Sync up loadmsgcat.c with glibcSiddhesh Poyarekar2014-07-032-3/+21
| | | | | | | | | | * loadmsgcat.c: Include assert.h. (_nl_load_domain): Add semicolon to end of line. (_nl_load_domain)[HAVE_MMAP]: Use MAP_FAILED and assert that it is (void *) -1. (_nl_load_domain)[_LIBC]: Call __libc_rwlock_init instead of gl_rwlock_init. (_nl_unload_domain): Cast convd->encoding to non-const.
* intl: Add back ChangeLog to gettext-runtime distributionDaiki Ueno2014-06-172-1/+6
| | | | * Makefile.in (DISTFILES.gettext): Add ChangeLog.
* intl: Stop installing ChangeLog.instDaiki Ueno2014-06-162-8/+17
| | | | | | | | | | | | | | After the git-version-gen migration (commit fbf4e276), the creation of gettext-tools/intl/ChangeLog.inst in configure.ac was removed because we lost access to $RELEASE_DATE. Given that intl/VERSION provides enough information, simply drop the ChangeLog file. Problem reported by Bruce Korb in <https://lists.gnu.org/archive/html/bug-gettext/2014-06/msg00022.html>. * Makefile.in (install-data): Don't install ChangeLog.inst. (distclean): Don't remove ChangeLog.inst. (uninstall): Don't remove ChangeLog under $(gettextsrcdir)/intl. (dist): Don't include ChangeLog in the distribution.
* Release 0.19.1Daiki Ueno2014-06-101-0/+4
|
* Prepare for 0.19.1Daiki Ueno2014-06-101-1/+1
|
* Release 0.19Daiki Ueno2014-06-021-0/+4
|
* Prepare for 0.19.Daiki Ueno2014-06-021-1/+1
|
* Update .gitignoreDaiki Ueno2014-05-141-0/+2
|
* intl: Define possibly undefined _GL_UNUSED in xsize.cDaiki Ueno2014-05-112-0/+18
|
* Update after Gnulib changed.Daiki Ueno2014-05-101-1/+1
|
* intl: Define PRI_MACROS_BROKEN if undefinedSteve Ellcey2014-04-302-0/+11
| | | | | * loadmsgcat.c (PRI_MACROS_BROKEN) [_LIBC]: Define to 0, if undefined.
* intl: Remove generated plural.c from the repositoryDaiki Ueno2014-04-241-1959/+0
|
* intl: Support older Bison versionsDaiki Ueno2014-04-241-1/+2
| | | | | * gettext-runtime/intl/plural.y: Use %lex-param / %parse-param instead of %param, which is only available in Bison 3.0.1 or later.
* intl: Port to Bison 3.0Daiki Ueno2014-04-233-12/+20
| | | | | | | | * gettext-runtime/intl/plural.y: Don't use removed YYLEX_PARAM and YYPARSE_PARAM macros; replace deprecated %pure_parser with '%define api.pure full'; adjust yylex/yyerror arglist. * gettext-runtime/intl/plural-exp.h (PLURAL_PARSE): Use explicit type 'struct parse_args *arg' for ARG.
* Update .gitignoreDaiki Ueno2014-04-221-0/+1
|
* Update after Gnulib changed.Daiki Ueno2014-04-222-53/+88
|
* libintl: Fix pointer use after free and make error handling robusterCarlos O'Donell2013-09-063-7/+42
| | | | | | | | Previously, _nl_find_msg had a use of pointer after free'd. Also, some callers of the function didn't check the failure. Merge changes from glibc. Reported by Carlos O'Donell in <https://savannah.gnu.org/bugs/?38930>.
* Prepare for 0.18.3.Daiki Ueno2013-07-071-1/+1
|