summaryrefslogtreecommitdiff
path: root/gcc/intl
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.in (.y.c): Only enable production rule when maintaining.Loren J. Rittle2003-03-142-2/+10
| | | | | | | * Makefile.in (.y.c): Only enable production rule when maintaining. From-SVN: r64371
* Fix typo last change.Richard Henderson2002-05-261-1/+1
| | | | From-SVN: r53902
* * gettextP.h (SWAP): Change parameter type to unsigned int.Roman Lechtchinsky2002-05-252-3/+9
| | | | From-SVN: r53878
* * intl/localealias.c (strings.h): Include.Douglas B Rupp2001-12-112-0/+8
| | | | From-SVN: r47873
* Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.Douglas B Rupp2001-12-102-1/+7
| | | | | | | | | * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules. * intl/Makefile.in (OUTPUT_OPTION): Add configure variable. (.c.o): Add $(OUTPUT_OPTION). * java/Make-lang.in (jvspec.o): Add $(OUTPUT_OPTION). From-SVN: r47843
* l10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to ↵Kaveh R. Ghazi2001-11-037-14/+33
| | | | | | | | | | | | | | | `unsigned char'. * l10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to `unsigned char'. * loadmsgcat.c (_nl_load_domain): Likewise. * localealias.c (read_alias_file, alias_compare): Likewise. * localcharset.c: Include "gettextP.h". * plural.y (__attribute__): Define. (yyerror): Mark parameter with __attribute__ ((__unused__)). * plural.c: Regenerate. From-SVN: r46743
* c-common.h (struct c_common_identifier): Remove rid_code field.Zack Weinberg2001-10-242-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.h (struct c_common_identifier): Remove rid_code field. (C_RID_CODE): Use ->node.rid_code instead of ->rid_code. * c-typeck.c (constructor_designated): New local flag. (struct constructor_stack): Add "designated" field to match. (start_init): Clear it. (really_start_incremental_init, push_init_level): Push and clear it. (pop_init_level): Pop it. (set_designator): Set it. (pop_init_level): Suppress "missing initializer" warnings if constructor_designated is true. (process_init_element): Suppress warning about union initialization under traditional C, if constructor_designated is true. * intl/loadmsgcat.c (INTTYPE_SIGNED, INTTYPE_MINIMUM, INTTYPE_MAXIMUM): Clone from system.h. (_nl_load_domain): Use them when testing for overflow of size_t. Cast result of sizeof to off_t to compare to st_size value. Move side effects out of conditional for comprehensibility. * testsuite/gcc.dg/20011021-1.c: New test. From-SVN: r46472
* aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, ↵Zack Weinberg2001-10-215-33/+56
| | | | | | | | | | | | | | | | | | | | | | which does not include $LIBICONV. * aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, which does not include $LIBICONV. * Makefile.in: Use INTLDEPS in LIBDEPS. * configure: Regenerate. intl: * dcigettext.c: Don't use #elif. * gettextP.h: Prototype nls_uint32 and locale_charset here. Always define ZERO to 1 to avoid warnings (ZERO is used in flexible-array-member declarations). * loadmsgcat.c: Apply __extension__ to structure definitions using C99 designated initializer syntax. Do not prototype locale_charset here. * localcharset.c: Prototype get_charset_aliases before use. Get rid of STATIC nonsense. From-SVN: r46394
* aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL ↵Zack Weinberg2001-10-192-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | when appropriate. * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and USE_INCLUDED_LIBINTL when appropriate. * configure, config.in: Regenerate. * Makefile.in (datadir): Set to @datadir@. (intl.o): Also depend on $(CONFIG_H) and system.h. * intl.c: Factor out common gettext initialization sequence. (gcc_init_libintl): New function. * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL; otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn off NLS. Add multiple include guard. No need to #ifdef-guard an #undef. Prototype gcc_init_libintl here. * collect2.c (main), cppmain.c (general_init), gcc.c (main), gcov.c (main), protoize.c (main), toplev.c (toplev_main): Use gcc_init_libintl. intl: * Makefile.in: Don't copy libgnuintl.h anywhere. From-SVN: r46348
* ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.Zack Weinberg2001-10-1235-1872/+5625
| | | | | | | | | | | | | | | | | | | | top: * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40. * configure.in, Makefile.in: Take out obsolete check-po logic. * configure, config.in: Regenerate. intl: * Update entire directory from gettext 0.10.40. * cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed: Removed. * config.charset, dcigettext.c, dcngettext.c, libgnuintl.h, localcharset.c, locale.alias, ngettext.c, plural.c, plural.y, ref-add.sin, ref-del.sin: New. po: * Makefile.in.in: Upgrade to gettext-0.10.40. * cat-id-tbl.c: Remove file. * stamp-cat-id: Remove file. From-SVN: r46233
* * gettextP.h (SWAP): Change parameter type to unsigned int.Roman Lechtchinsky2001-07-062-3/+8
| | | | From-SVN: r43824
* * po2tbl.sed.in: Fixed typo.Rainer Orth2001-05-252-1/+5
| | | | From-SVN: r42610
* dcgettext.c: Outside libc, use local variable names that don't clash with ↵Bruno Haible2000-09-184-0/+33
| | | | | | | | | | | | | those in libc. 2000-09-18 Bruno Haible <haible@clisp.cons.org> * intl/dcgettext.c: Outside libc, use local variable names that don't clash with those in libc. * intl/bindtextdom.c: Likewise. * intl/textdomain.c: Likewise. From-SVN: r36516
* John David Anglin <dave@hiauly1.hia.nrc.ca>John David Anglin2000-09-052-12/+13
| | | | | | * gettext.h (nls_uint32): Choose via INT_MAX instead of UINT_MAX. From-SVN: r36180
* c-common.h: Prototype min_precision and c_build_qualified_type here...Zack Weinberg2000-08-023-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.h: Prototype min_precision and c_build_qualified_type here... * c-tree.h: ... not here. * errors.h: Prototype fancy_abort. * emit-rtl.c (gen_lowpart_common): Move variable 'c' into HOST_BITS_PER_WIDE_INT == 64 ifdef block. * regrename.c (regrename_optimize): Make control flow explicit. (replace_reg_in_block): Initialize reg_use to 0. * i386.c (legitimate_address_p): Rename error label to report_error to avoid namespace clash. cp: * cp-tree.h: Don't prototype min_precision here. (my_friendly_assert): Cast expression to void. * semantics.c (do_poplevel): Initialize scope_stmts. f: * expr.c (ffeexpr_finished_): Cast signed side of ?: expression to bool. java: * class.c (build_dtable_decl): Initialize dummy. intl: * dcgettext.c (find_msg): Initialize act before loop. (guess_category_value): Add dummy uses of both parameters. * localealias.c (read_alias_file): Cast arg of strchr to char *. From-SVN: r35427
* configure.in (AC_C_INLINE): Added.Philipp Thomas2000-06-067-27/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/: * configure.in (AC_C_INLINE): Added. * configure: Regenerate. gcc/java: * Makefile.in (INTLLIBS): New. (LIBS): Add above. (DEPLIBS): Ditto. gcc/f: * Makefile.in(INTLLIBS): New macro. (LIBS): Add INTLLIBS. (DEPLIBS): Likewise. gcc/ch: * Makefile.in: Changed to be processed by configure. (INTLLIBS): New macro. (LIBS): Add INTLLIBS. (DEPLIBS): Likewise. * config-lang(outputs): Specify ch/Makefile. gcc/po: * Makefile.in.in: Add --define switch for xgettext. gcc/intl: * Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches. * dcgettext.c: Define _GNU_SOURCE before any system header is included. Guard getcwd declaration with HAVE_DECL_GETCWD. * loadmsgcat.c (_nl_load_domain): Cast st.st_size in compaison to size_t. * localealias.c: Define _GNU_SOURCE before any system header is included. Don't use return value of memcpy because it could be a macro defined in terms of bcopy. (read_alias_file): Remove HAVE_MEMCPY guard and just don't use the return value of memcpy. Cast argument to fgets and strlen to char *. * explodename.c (_nl_explode_name): Cast codeset to unsigned char ** in call to _nl_normalize_codeset. * l10nflist.c: Define _GNU_SOURCE before any system header is included. From-SVN: r34423
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).Zack Weinberg2000-04-171-6/+6
| | | | | | | | | | | | | | * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]). (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of a plain file. * configure.in: Call AC_FUNC_MMAP_FILE. * configure: Regenerate. * config.in: Regenerate. * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP. * fixinc/fixincl.c: Likewise. From-SVN: r33212
* * intl/Makefile.in (uninstall): Add missing "; \".Jeffrey A Law1999-02-021-1/+1
| | | | From-SVN: r24977
* Initial revisionJeff Law1998-08-021-0/+1
| | | | From-SVN: r21528
* Initial revisionJeff Law1998-04-291-0/+1086
| | | | From-SVN: r19499
* Initial revisionJeff Law1998-04-291-0/+424
| | | | From-SVN: r19498
* Initial revisionJeff Law1998-04-291-0/+76
| | | | From-SVN: r19497
* Initial revisionJeff Law1998-04-291-0/+411
| | | | From-SVN: r19496
* Initial revisionJeff Law1998-04-291-0/+203
| | | | From-SVN: r19495
* Initial revisionJeff Law1998-04-281-0/+59
| | | | From-SVN: r19482
* Initial revisionJeff Law1998-04-281-0/+222
| | | | From-SVN: r19476
* Initial revisionJeff Law1998-04-271-0/+182
| | | | From-SVN: r19451
* Initial revisionJeff Law1998-04-271-0/+218
| | | | From-SVN: r19448
* Initial revisionJeff Law1998-04-271-0/+624
| | | | From-SVN: r19445
* Initial revisionJeff Law1998-04-271-0/+216
| | | | From-SVN: r19444
* Initial revisionJeff Law1998-04-271-0/+108
| | | | From-SVN: r19443
* Initial revisionJeff Law1998-04-271-0/+89
| | | | From-SVN: r19442
* Initial revisionJeff Law1998-04-271-0/+188
| | | | From-SVN: r19441
* Initial revisionJeff Law1998-04-271-0/+59
| | | | From-SVN: r19440
* Initial revisionJeff Law1998-04-271-0/+105
| | | | From-SVN: r19439
* Initial revisionJeff Law1998-04-271-0/+70
| | | | From-SVN: r19438
* Initial revisionPaul Eggert1997-08-011-0/+262
| | | | From-SVN: r14572
* Initial revisionPaul Eggert1995-11-233-0/+306
| | | | From-SVN: r10582
* Initial revisionPaul Eggert1995-09-211-0/+76
From-SVN: r10386