📄 changelog
字号:
2002-01-31 Bruno Haible <bruno@clisp.org> * gettext-0.11 released.2002-01-31 Bruno Haible <bruno@clisp.org> * eval-plural.h: Renamed from plural-eval.c. * dcigettext.c: Include eval-plural.h instead of plural-eval.c. * Makefile.in (COMHDRS): Remove plural-eval.c, add eval-plural.h. (DISTFILES.obsolete): Add plural-eval.c.2002-01-24 Bruno Haible <bruno@clisp.org> * Makefile.in (libintl.la): Use @LTLIBICONV@ instead of @LIBICONV@.2002-01-10 Andrew Zabolotny <zap@cobra.ru> Bruno Haible <bruno@clisp.org> * dcigettext.c (_nl_default_dirname): On OS/2, declare, not define. * localcharset.c: Rework OS/2 support. * config.charset: Add OS/2 support. * os2compat.c: Renamed from os2.c. (_nl_default_dirname): Define here. * os2compat.h: Moved here from ../os2/. * osdep.c: Update. * Makefile.in (COMHDRS): Add os2compat.h. (COMSRCS): Add os2compat.c, remove os2.c.2002-01-05 Bruno Haible <bruno@clisp.org> * Makefile.in (libintl.la): Add -lc. Needed on AIX.2002-01-02 Bruno Haible <bruno@clisp.org> * loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to K&R syntax.2002-01-02 Bruno Haible <bruno@clisp.org> * plural.y: Fix %expect count.2001-12-23 Bruno Haible <bruno@clisp.org> * os2.c (os2_initialize): Use LOCALEDIR_MAX macro.2001-12-21 Bruno Haible <bruno@clisp.org> * localcharset.c (ISSLASH): Provide definition for DOS-like systems.2001-12-21 Bruno Haible <bruno@clisp.org> * libgettext.h: Moved to ../lib/gettext.h. * Makefile.in (HEADERS): Remove libgettext.h. (DISTFILES.obsolete): Add libgettext.h.2001-12-21 Bruno Haible <bruno@clisp.org> * gmo.h: Renamed from gettext.h. * gettext.h: Remove file. * gettextP.h: Update accordingly. * loadmsgcat.c: Likewise. * Makefile.in (COMHDRS): Add gmo.h, remove gettext.h. (DISTFILES.obsolete): Add gettext.h. Update dependencies.2001-12-18 Bruno Haible <bruno@clisp.org> * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:0:0. Used to force an soname of at least libintl.so.2 on Solaris, which already has a different libintl.so.1 in /usr/lib.2001-12-15 Andrew Zabolotny <zap@cobra.ru> Bruno Haible <bruno@clisp.org> * osdep.c: New file. * os2.c: New file. * dcigettext.c (DCIGETTEXT): Add backward compatibility support for OS/2. * localcharset.c: Add OS/2 support. * localealias.c (_nl_expand_alias): Initialize locale_alias_path once, but not statically. * Makefile.in (COMSRCS): Add osdep.c, os2.c. (OBJECTS): Add osdep.$lo.2001-12-12 Bruno Haible <bruno@clisp.org> * libgettext.h [!ENABLE_NLS]: Cast all function results to 'const char *'. Reported by Alexandre Duret-Lutz <duret_g@lrde.epita.fr>.2001-12-03 Bruno Haible <bruno@clisp.org> * Makefile.in (install-exec): Don't create an empty libdir. (installdirs): Update accordingly.2001-11-30 Bruno Haible <bruno@clisp.org> * plural-exp.h (plural_eval): Add back declaration. * Makefile.in (OBJECTS): Remove plural-eval.$lo. (COMSRCS): Remove plural-eval.c. (COMHDRS): Add plural-eval.c. (plural-eval.$lo): Remove dependency. (dcigettext.$lo): Depend on plural-eval.c.2001-11-29 Bruno Haible <bruno@clisp.org> * gettextP.h (_nl_locale_name): Don't declare inside glibc. * localename.c (_nl_locale_name): Remove _LIBC conditional.2001-11-27 Ulrich Drepper <drepper@redhat.com> * dcigettext.c (guess_category_value): Inside glibc, use setlocale directly, not _nl_locale_name.2001-11-27 Ulrich Drepper <drepper@redhat.com> * loadmsgcat.c (_nl_init_domain_conv): Modify #if expression.2001-11-27 Ulrich Drepper <drepper@redhat.com> * plural-eval.c (plural_eval): Rename back from PLURAL_EVAL. * plural-exp.h (PLURAL_EVAL): Remove declaration. * dcigettext.c Include plural-eval.c. (plural_lookup): Call plural_eval instead of PLURAL_EVAL.2001-11-22 Bruno Haible <bruno@clisp.org> * plural-exp.h (GERMANIC_PLURAL): New declaration. * plural-exp.c (GERMANIC_PLURAL): Renamed from germanic_plural. * loadmsgcat.c (_nl_unload_domain): Update.2001-07-17 Ulrich Drepper <drepper@redhat.com> * localealias.c (read_alias_file): Disable implicit locking for the stream. Use _unlocked functions for glibc.2001-11-11 Bruno Haible <haible@clisp.cons.org> * Makefile.in (dist): Avoid using hard links, because the automake-1.5 generated toplevel 'distdir' target chmods all the distributed files.2001-11-10 Bruno Haible <haible@clisp.cons.org> * libgnuintl.h (_INTL_PARAMS): Renamed from PARAMS, to avoid polluting the user's namespace. Also test for __GNUC__, __SUNPRO_C and __PROTOTYPES because on 64-bit Solaris, we need prototypes although __STDC__ is often defined to 0. __GNUC__ covers GCC, __SUNPRO_C covers Sun cc, regardless of compilation flags. __PROTOTYPES covers other compilers when compiling programs using autoconf's AC_C_PROTOTYPES. * gettextP.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris cc needs prototypes although it defines __STDC__ to 0 by default. Also test for __cplusplus and __PROTOTYPES, just for consistency with libgnuintl.h. * hash-string.h (PARAMS): Likewise. * loadinfo.h (PARAMS): Likewise. * plural-exp.h (PARAMS): Likewise.2001-10-31 Bruno Haible <haible@clisp.cons.org> * plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.2001-10-31 Bruno Haible <haible@clisp.cons.org> * COPYING.LIB-2.0: Renamed from COPYING.LIB-2. * Makefile.in (DISTFILES.gettext, install-data, uninstall): Update. (DISTFILES.obsolete): Add COPYING.LIB-2.2001-10-09 Bruno Haible <haible@clisp.cons.org> * localcharset.c (getc): Define as getc_unlocked if available.2001-09-27 Bruno Haible <haible@clisp.cons.org> * Makefile.in (install-strip, installdirs): New rules.2001-09-24 Bruno Haible <haible@clisp.cons.org> * localename.c: New file, integrating a function from Tor Lillqvist <tml@iki.fi>. * gettextP.h: New declaration. * dcigettext.c (guess_category_value): Call _nl_locale_name. * Makefile.in (COMSRCS): Add localename.c. (OBJECTS): Add localename.$lo.2001-09-22 Bruno Haible <haible@clisp.cons.org> * plural-eval.c: New file, extracted from dcigettext.c. * plural-exp.h (PLURAL_EVAL): New declaration. * dcigettext.c (plural_eval): Remove function, moved to plural-eval.c. (plural_lookup): Call PLURAL_EVAL instead of plural_eval. * Makefile.in (COMSRCS): Add plural-eval.c. (OBJECTS): Add plural-eval.$lo.2001-09-22 Bruno Haible <haible@clisp.cons.org> * plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that don't start with a digit; nplurals must be positive.2001-10-20 Bruno Haible <haible@clisp.cons.org> Assume strchr() exists. (Without it, explodename.c wouldn't link anyway.) * dcigettext.c (strchr): Remove fallback definition; it conflicts with the variable 'index' in plural_lookup. * l10nflist.c (strchr): Likewise. * localealias.c (strchr): Likewise.2001-09-24 Bruno Haible <haible@clisp.cons.org> * loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration when building on a glibc system but outside glibc.2001-09-02 Bruno Haible <haible@clisp.cons.org> * plural-exp.h: New file, extracted from gettextP.h. * plural-exp.c: New file, extracted from loadmsgcat.c. * gettextP.h (struct expression, struct parse_args, __gettext_free_exp, __gettextparse): Move to plural-exp.h. * loadmsgcat.c: Include plural-exp.h. (PLURAL_PARSE): Move macro to plural-exp.h. (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to plural-exp.c. (_nl_load_domain): Move plural handling code to plural-exp.c. Call EXTRACT_PLURAL_EXPRESSION. * dcigettext.c: Include plural-exp.h. * plural.y: Include plural-exp.h, not gettextP.h. (FREE_EXPRESSION): Move macro to plural-exp.h. * Makefile.in (DEFS): Define IN_LIBINTL. (COMHDRS): Add plural-exp.h. (COMSRCS): Add plural-exp.c. (OBJECTS): Add plural-exp.$lo. Update dependencies.2001-07-28 Bruno Haible <haible@clisp.cons.org> * l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, isdigit, tolower argument to 'unsigned char'. * loadmsgcat.c (_nl_load_domain): Cast isspace argument to 'unsigned char'. * localealias.c (read_alias_file): Cast isspace argument to 'unsigned char'.2001-07-23 Bruno Haible <haible@clisp.cons.org> * gettext.h: Assume <limits.h> exists.2001-09-13 Bruno Haible <haible@clisp.cons.org> * gettext-0.10.40 released.2001-07-11 Ulrich Drepper <drepper@redhat.com> * locale.alias: Use he language code for hebrew, not iw.2001-09-13 Bruno Haible <haible@clisp.cons.org> * *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL. This is a reaction to a blackmail from the GNOME project which threatened to distribute an LGPLed clone of libintl. * COPYING.LIB-2, COPYING.LIB-2.1: New files. * Makefile.in (DISTFILES.gettext): Add them. (install-data): Install them. (uninstall): Uninstall them.2001-07-24 Bruno Haible <haible@clisp.cons.org> * gettext-0.10.39 released.2001-06-24 Bruno Haible <haible@clisp.cons.org> * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS. Change canonical name of SJIS to SHIFT_JIS.2001-06-12 Bruno Haible <haible@clisp.cons.org> * dcigettext.c (DCIGETTEXT): Release the lock before returning.2001-04-30 Bruno Haible <haible@clisp.cons.org> Silence "gcc -Wall -Wwrite-strings" warnings. * localcharset.c (charset_aliases): Change type to 'const char *'. (get_charset_aliases): Change type of 'cp' to 'const char *'.2001-05-23 Bruno Haible <haible@clisp.cons.org> * gettext-0.10.38 released.2001-05-22 Bruno Haible <haible@clisp.cons.org> * Makefile.in (install-data): Install plural.c as well. (uninstall): Uninstall plural.c as well.2001-05-18 Bruno Haible <haible@clisp.cons.org> * Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute file in either current directory or $(srcdir), whichever exists.2001-05-11 Bruno Haible <haible@clisp.cons.org> * Makefile.in (install-exec): Don't install charset.alias on glibc 2.1 systems.2001-04-30 Bruno Haible <haible@clisp.cons.org> * dcigettext.c (getuid, getgid, geteuid, getegid): Provide default definitions. Needed for mingw32.2001-04-19 Bruno Haible <haible@clisp.cons.org> * gettext-0.10.37 released.2001-04-19 Bruno Haible <haible@clisp.cons.org> * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0.2001-04-19 Bruno Haible <haible@clisp.cons.org> * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when the libiconv version is smaller than 1.5.2001-04-09 Bruno Haible <haible@clisp.cons.org> * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined. Apple's MacOS X compiler has not all the features that the regular GCC with the same version number has.2001-04-07 Bruno Haible <haible@clisp.cons.org> * gettextP.h (struct loaded_domain): Add codeset_cntr field. (struct binding): Add codeset_cntr field. (_nl_load_domain): Add domainbinding argument. (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. (_nl_find_msg): New declaration, moved here from loadinfo.h. * loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. (_nl_make_l10nflist): Remove domainbinding argument. (_nl_find_msg): Move declaration to gettextP.h. * bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0. Increment it when ->codeset is changed. * dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. (_nl_find_msg): Add domainbinding argument. Reinitialize the converter if domainbinding->codeset_cntr has been incremented. * finddomain.c (_nl_find_domain): Don't pass domainbinding to _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. * l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. * loadmsgcat.c (_nl_init_domain_conv): New function, extracted from _nl_load_domain. Append //TRANSLIT also when using libiconv. (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. (_nl_load_domain): Add domainbinding argument. Call _nl_init_domain_conv. (_nl_unload_domain): Call _nl_free_domain_conv.2001-04-09 Bruno Haible <haible@clisp.cons.org> * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2 (Linux libc5).2001-04-04 Bruno Haible <haible@clisp.cons.org> * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.2001-04-04 Bruno Haible <haible@clisp.cons.org> * Makefile.in (libdir, includedir, datadir): Use the autoconf determined value, in order to respect the configure arguments. (gettextsrcdir): Use $(datadir), not @datadir@.2001-03-29 Bruno Haible <haible@clisp.cons.org> * gettext-0.10.36 released.2001-03-25 Bruno Haible <haible@clisp.cons.org> * Makefile.in (install-data): Set execution bits on installed config.charset.2001-03-23 Bruno Haible <haible@clisp.cons.org> * Makefile.in (YACC): Use @INTLBISON@ instead of bison.2001-03-21 Bruno Haible <haible@clisp.cons.org> * dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc chokes on empty macro arguments. * plural.y: Add #pragma for alloca on AIX 3.2001-03-20 Bruno Haible <haible@clisp.cons.org> * Makefile.in (DISTFILES.generated): New variable. (DISTFILES.gettext): Remove plural.c. (dist): Use DISTFILES.generated.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -