Lines Matching +refs:po +refs:search +refs:path
3 * gettext-po.h: New file.
4 * gettext-po.c: New file.
20 * po-gram.h: Don't include <sys/types.h>.
63 * po-charset.c: Likewise.
67 * write-po.c: Likewise.
76 * write-po.c (wrap): Add an assertion, to protect against Solaris 2.9
81 * po-charset.c (po_lex_charset_set): Work around Solaris 2.9 iconv()
83 * write-po.c (wrap): Likewise.
93 * po-hash-gen.y (last_was_colon): New variable.
241 * open-po.h (open_po_file): Likewise.
242 * open-po.c (open_po_file): Likewise.
243 * po-charset.h (po_charset_canonicalize, po_charset_ascii_compatible,
246 * po-charset.c (po_charset_canonicalize, po_charset_ascii_compatible,
249 * po-gram.h (po_gram_parse): Likewise.
250 * po-hash-gen.y (yyerror, yylex, po_hash): Likewise.
251 * po-hash.h (po_hash): Likewise.
252 * po-lex.h (lex_start, lex_end, lex_open, lex_close, po_gram_lex,
255 * po-lex.c: Include <stdarg.h> instead of libstdarg.h.
264 * po-time.h (po_strftime): Likewise.
265 * po-time.c (difftm, po_strftime): Likewise.
266 * po.h (struct po_method_ty, po_alloc, po_scan, po_scan_file, po_free,
270 * po.c (po_alloc, po_free, po_parse_brief, po_parse_debrief, po_scan,
281 * read-po.h (read_po, read_po_file): Likewise.
282 * read-po.c (readall_constructor, readall_destructor,
306 * write-po.h (message_page_width_set, message_page_width_ignore,
311 * write-po.c (message_page_width_set, message_print_style_escape,
378 * x-po.h (extract_po): Likewise.
379 * x-po.c (extract_constructor, extract_directive_domain,
417 * po-charset.h (po_charset_utf8): New declaration.
418 * po-charset.c (utf8, po_charset_utf8): New variables.
445 * write-po.c (message_print, message_print_obsolete): Don't warn about
456 * msgcmp.c: Include read-po.h.
598 * po-lex.c (mbfile_getc): Handle the case where iconv converts
652 * write-po.c (wrap): Canonicalize the charset. Handle the case when
658 * po-charset.c (po_charset_canonicalize): Add ISO-8859-14, KOI8-T,
678 * write-po.h (message_page_width_ignore): New declaration.
679 * write-po.c (wrap_strings): New variable.
704 * po-lex.h (po_gram_error): Treat Apple's version of GCC like non-GCC.
705 * po-lex.c (po_gram_error): Likewise.
710 * po-lex.h (po_gram_error): Use __VA_ARGS__ + 0 instead of __VA_ARGS__.
792 * po-lex.c: Include libstdarg.h.
954 * open-po.c (open_po_file): Use 'size_t' instead of 'int'.
990 * write-po.c: Include po-charset.h.
1046 * po-charset.h (po_is_charset_weird): New declaration.
1049 * po-charset.c (po_is_charset_weird): New function, extracted from
1057 * po-lex.c (mbfile_getc): If po_lex_weird_cjk is set, possibly return
1059 * write-po.c (wrap): Call po_is_charset_weird_cjk. If it returns true,
1118 * write-po.c: Likewise.
1123 * open-po.c: Include pathname.h, xmalloc.h instead of system.h.
1125 * po-charset.c: Include liballoca.h, string.h, strcase.h instead of
1128 * po-gram-gen.y: Include <string.h>.
1129 * po-hash-gen.y: Include <string.h>.
1130 * po-lex.c: Include exit.h instead of system.h. Don't include
1184 * open-po.c: Likewise.
1185 * po-charset.c: Likewise.
1186 * po-gram-gen.y: Likewise.
1187 * po-lex.c: Likewise.
1190 * read-po.c: Likewise.
1194 * write-po.c: Likewise.
1198 * x-po.c: Likewise.
1215 * po-lex.c (mb_iseq, mb_setascii): Likewise.
1216 * po-hash-gen.y: alloca fix for AIX 3.
1295 * x-po.c (extract_directive_message): Update.
1458 * po.c (po_callback_message): Ignore obsolete header entries, for
1495 * read-po.c (readall_constructor): Allocate a message list with hash
1510 * read-po.c (readall_constructor, readall_directive_message): Likewise.
1624 * po-charset.c (po_lex_charset_set): Fix syntax error.
1650 (po-lex.lo): Depend on po-gram-gen2.h.
1672 * po-lex.h (po_gram_error): Cast line number to 'unsigned long'.
1673 * po-lex.c (po_gram_error): Likewise.
1700 * write-po.c (memcpy_small): New function.
1706 * write-po.c (putc): Define as putc_unlocked if available.
1710 * po-lex.c (getc): Define as getc_unlocked if available.
1747 * po-time.h: New file.
1748 * po-time.c: New file, extracted from xgettext.c.
1749 * xgettext.c: Include po-time.h.
1750 (difftm): Move to po-time.c.
1751 (construct_header): Move some code to po-time.c. Call po_strftime.
1752 * Makefile.am (noinst_HEADERS): Add po-time.h.
1753 (xgettext_SOURCES): Add po-time.c.
1801 * x-po.h (SCANNERS_PO): Use extract_po instead of scan_po_file.
1835 * x-po.c (extract_directive_message): Don't throw the header entry
1840 * write-po.c (msgdomain_list_print): Treat charset=CHARSET as if it
1852 mode, compare old and new message lists, backup the def.po file, and
1853 overwrite the def.po file.
1856 (merge): Also return def.po message list. Don't share messages between
1863 * po-hash-gen.y (number): Change type from 'int' to 'size_t'.
1866 * po.h (po_method_ty): In field comment_filepos, change line's type
1870 * read-po.c (readall_comment_filepos): Likewise.
1871 * x-po.c (extract_comment_filepos): Likewise.
1872 * po.c (po_comment_filepos): Likewise.
1885 * write-po.c (message_print): Don't print the line number if it is
1932 * po-charset.c: Include <stdlib.h> and basename.h.
1952 * read-po.c: Likewise.
1953 * x-po.c: Likewise.
1962 * po-lex.c: Likewise.
1967 * write-po.c: Likewise.
1971 * po-charset.c: Likewise.
1972 * po-gram-gen.y: Include stdlib.h, xmalloc.h instead of system.h.
1973 * po-hash-gen.y: Likewise.
1975 * po.c: Include string.h, xmalloc.h instead of system.h.
1983 * po-lex.c (mb_iseq): Compare the byte sequence, not the Unicode
1998 * read-po.h (read_po): New declaration.
1999 * read-po.c (read_po): New function.
2005 (msgunfmt_SOURCES): Add open-po.c, po-gram-gen.y, po-hash-gen.y,
2006 po-charset.c, po-lex.c, po.c, read-po.c, dir-list.c, read-java.c.
2046 * open-po.c: Likewise.
2047 * po.c: Likewise.
2048 * po-gram-gen.y: Likewise.
2049 * po-hash-gen.y: Likewise.
2050 * po-lex.c: Likewise.
2051 * read-po.c: Likewise.
2054 * write-po.c: Likewise.
2056 * open-po.h: Include <stdio.h>, for FILE.
2101 * x-po.h (EXTENSIONS_PO, SCANNERS_PO): Likewise.
2203 * write-po.c (msgdomain_list_print): Before fclose, check for ferror.
2257 * po.h (po_parse_comment_special): New declaration.
2258 * po.c (po_parse_comment_special): New function.
2260 * read-po.c (struct readall_class_ty): Change field 'is_c_format' to
2266 * write-po.c (make_format_description_string): Renamed from
2281 * x-po.c (struct extract_class_ty): Change field 'is_c_format' to
2288 * x-po.h (SCANNERS_PO): Add NULL formatstring reference.
2328 * po-lex.c: Include c-ctype.h instead of <ctype.h>.
2334 * po-lex.h (lex_start, lex_end): New declarations.
2335 * po-lex.c (lex_start): New function.
2339 * open-po.h (open_po_file): Nop.
2340 * open-po.c (open_po_file): Small optimization.
2341 * po.h (po_scan): New declaration.
2343 * po.c (po_scan): New function.
2347 * read-po.c (read_po_file): Likewise.
2348 * x-po.h: New file.
2349 * x-po.c: New file.
2356 * xgettext.c: Include x-po.h.
2364 extract_methods): Move to x-po.c.
2369 * Makefile.am (noinst_HEADERS): Add x-po.h.
2370 (xgettext_SOURCES): Add x-po.c.
2449 * write-po.c: Likewise.
2482 * msgcomm.c: Don't include <sys/types.h>, <unistd.h>, po.h. Include
2483 read-po.h, msgl-cat.h instead.
2494 * Makefile.am (msgcomm_SOURCES): Add read-po.c, msgl-iconv.c,
2501 * po-charset.h (po_charset_ascii, po_charset_ascii_compatible): New
2503 * po-charset.c (po_charset_ascii): New variable.
2505 * write-po.c (has_nonascii): Remove function.
2527 * po.h: Likewise.
2528 * read-po.h: Likewise.
2529 * write-po.h: Likewise.
2543 * read-po.h (allow_duplicates): New declaration.
2544 * read-po.c (allow_duplicates): New variable.
2545 (readall_directive_message): If allow_duplicates is true, don't search
2577 * write-po.c (cmp_by_msgid): Renamed from msgid_cmp.
2598 * write-po.c (has_nonascii): New function.
2608 * po-charset.h (po_lex_charset): New declaration.
2609 * po-charset.c (po_lex_charset): Export variable.
2610 * po-lex.h: Include xerror.h.
2614 * po-lex.c: Include linebreak.h and utf8-ucs4.h.
2691 * po-gram-gen.y (string, stringlist, number, pos, rhs): Change type of
2693 * po-lex.h: Include stdbool.h.
2699 * po-lex.c (po_lex_obsolete): Change type to bool.
2709 * po.h (struct po_method_ty): Change 'obsolete' argument type of
2712 * po.c (po_directive_message): Change 'obsolete' argument type to bool.
2714 * read-po.c (struct readall_class_ty): Change type of field 'is_fuzzy'
2724 * write-po.h (message_print_style_escape, msgdomain_list_print): Change
2726 * write-po.c (make_c_format_description_string) Change argument type
2788 * po.c (po_alloc): Likewise.
2851 * read-po.h (read_po_file): Change return type to
2853 * read-po.c (readall_class_ty): Remove field domain_list, add field
2861 * write-po.h (message_list_print, message_list_sort_by_msgid,
2865 * write-po.c (message_print): Remove domain argument. Update. Assume
2919 * open-po.h: Likewise.
2920 * po-hash.h: Likewise.
2921 * po-lex.h: Likewise.
2922 * po-lex.c: Likewise.
2923 * po.h: Likewise.
2924 * po.c: Likewise.
2926 * write-po.c: Likewise.
2991 * po-charset.c: Don't include stdio.h, stdlib.h, mbswidth.h. Include
3002 * po-lex.h: Include progname.h.
3006 * po-lex.c (po_gram_error): Likewise.
3042 * po.h (struct po_method_ty): Add 'obsolete' argument to
3045 * po.c (po_directive_message): Add 'obsolete' argument. Pass it to
3048 * po-gram-gen.y (message): Pass 'obsolete' argument to
3055 * read-po.c (readall_directive_message): Likewise. Set mp->obsolete.
3065 * po-gram-gen.y Include str-list.h.
3074 * po-lex.c: Include str-list.h.
3090 * read-po.h: New file.
3091 * read-po.c: New file, extracted from msgmerge.c.
3092 * msgmerge.c: Don't include string.h. Include read-po.h instead.
3097 read-po.c.
3099 * Makefile.am (noinst_HEADERS): Add read-po.h.
3100 (msgmerge_SOURCES): Add read-po.c.
3106 ref.po.
3116 (usage): Restructure usage message. Talk about ref.pot, not ref.po.
3128 * po-charset.h: New file.
3129 * po-charset.c: New file, extracted from po.c. Don't warn about wrong
3131 * po-lex.h (iconv.h, po_lex_iconv): Move to po-charset.h.
3133 * po-lex.c: Include po-charset.h.
3134 (po_lex_charset, po_lex_iconv): Move to po-charset.c.
3137 * po.c: Don't include ctype.h, stdio.h, mbswidth.h, libgettext.h.
3138 Include po-charset.h instead.
3139 (program_name, _, SIZEOF, multiline_warning): Move to po-charset.c.
3140 (po_callback_message): Move charset handling to po-charset.c.
3141 * Makefile.am (noinst_HEADERS): Add po-charset.h.
3143 msgcomm_SOURCES): Add po-charset.c.
3151 * po.h (PO_BASE_TY): Remove next_is_fuzzy field.
3152 * po.c (po_alloc): Don't reset next_is_fuzzy.
3173 * write-po.c (wrap): Avoid broken EUC-KR conversion in glibc-2.1.
3185 * po.c (po_callback_message): Don't call iconv_open when the
3187 * write-po.c (wrap): Don't call iconv_open when the OLD_PO_FILE_OUTPUT
3192 * po.c: Include mbswidth.h.
3205 * write-po.c (wrap): Prohibit line breaks inside backslash escape
3214 * po.c (po_callback_message): Change message again.
3241 * po.c (po_callback_message): Change message, refer to GNU libiconv.
3266 * po.c (po_callback_message): Add comments to support translators.
3270 * po-lex.c (lex_close): Use ngettext and plural-form message.
3276 * po.c (po_callback_message): Cast %*s argument from size_t to int.
3289 * po.c (po_callback_message): Also warn if no iconv is present and
3296 * write-po.c: Include iconv.h.
3305 * open-po.c (open_po_file): Use IS_ABSOLUTE_PATH and
3314 * po-lex.h (pass_obsolete_entries): New declaration.
3316 * po-lex.c (po_lex_obsolete): New variable.
3324 * po-gram.gen.y (check_obsolete): New macro.
3339 * po.h (PO_BASE_TY): New field next_is_fuzzy.
3340 * po-lex.h: Include iconv.h.
3342 * po.c (SIZEOF): New macro.
3349 header entry, now done in po.c.
3350 * po-lex.c (po_lex_charset, po_lex_iconv): New variables.
3360 * write-po.h: New file, pieces of message.h.
3364 message_list_sort_by_filepos): Move to write-po.h.
3365 * write-po.c: New file, pieces of message.c.
3383 Move to write-po.c.
3384 * msgmerge.c: Include write-po.h.
3388 * Makefile.am (noinst_HEADERS): Add write-po.h.
3389 (msgmerge_SOURCES): Add write-po.c.
3435 * open-po.c: Likewise.
3436 * po-gram-gen.y: Likewise.
3437 * po-lex.c: Likewise.
3451 * open-po.c: Likewise.
3452 * po.c: Likewise.
3472 * Makefile.am (po-gram-gen.h): Don't use $^, not supported by the
3476 * po-lex.c (gram_max_allowed_errors): Change type to
3497 * po-lex.h (msgstr_def): New definition, taken from msgfmt.c.
3498 * po-lex.c (keyword_p): Recognize the msgid_plural keyword.
3500 * po.h (struct po_method_ty): Method 'directive_message' takes
3504 * po-hash-gen.y (yyerror): Effectively rename to po_hash_error.
3505 * po-gram-gen.y (yyerror): Effectively rename to po_gram_error,
3512 * po.c (po_directive_message): Additional arguments 'msgid_plural',
3573 * open-po.h: New file.
3574 * open-po.c: Include it.
3575 * po-lex.c: Likewise.
3576 * Makefile.am (noinst_HEADERS): Add open-po.h.
3578 * open-po.c (open_po_file): Merge duplicated code.
3580 * po-lex.h: Add comments.
3585 * po-lex.c: Add comments. Don't include "po-gram.h".
3602 * po-lex.h: Include it.
3604 * message,h: Include pos.h instead of po-lex.h.
3607 * po.h: Add comments.
3646 * po-lex.c (ALERT_CHAR): New constant macro.
3651 * po-lex.c (control_sequence): Unget character which ended \x..
3698 * Makefile.am (EXTRA_DIST): Replace po-gram.gen.h and po-hash.gen.h
3699 with po-gram-gen.h and po-hash-gen.h.
3702 (msgcmp_SOURCES): Replace dependencies on po-gram.gen.c and
3703 po-hash.gen.c with po-gram-gen.y and po-hash-gen.y.
3707 Add rule to built po-gram-gen2.h and make po-lex.o depend on it.
3708 Remove rules to generate po-gram.gen.c and po-hash.gen.c.
3711 * po-lex.c: Include "po-gram-gen2.h" instead of "po-gram.gen.h".
3738 * po-lex.c (control_sequence): Replace illegal with invalid.
3753 * po-gram.h: Likewise.
3754 * po-gram.y: Likewise.
3755 * po-hash.h: Likewise.
3756 * po-hash.y: Likewise.
3757 * po-lex.c: Likewise.
3758 * po-lex.h: Likewise.
3759 * po.c: Likewise.
3760 * po.h: Likewise.
3785 * po-lex.h: Don't declare function po_gram_error and
3859 * po-lex.c (po_gram_error): Don't count continuation lines in
3862 * po-lex.h: Likewise for macro versions.
3864 * po-hash.y: Correct typo.
3866 * msgunfmt.c: Implement --force-po option.
3868 * msgmerge.c: Implement --force-po, --no-location, and
3985 * po-lex.h, po-lex.c (gram_max_allowed_errors): Change type to
4011 * open-po.c (open_po_file): Implement search path for PO files.
4013 * xget-lex.c (xgettext_lex_open): Implement search path for PO
4021 line wrapping is done. Change --directory option implement search
4022 path instead of single directory. Patch by Peter Miller.
4030 * msgcmp.c: Implement --directory to specify search path for .po
4039 line wrapping is done. Implement --directory to specify search
4040 path for .po files. Patch by Peter Miller.
4047 * po-hash.y: Add new clause where in GNU style format the name is
4078 * Makefile.am (EXTRA_DIST): Add variable to distribute po-gram.y
4079 and po-hash.y.
4196 * xgettext.c, po-lex.h, po-lex.c, po-gram.y, msgmerge.c, msgfmt.c,
4217 * po.c (po_comment_filepos): Make definition static as declaration
4227 * po.c (po_callback_comment): For now recognize #! also as special
4234 * po-lex.c (po-gram_error, gram_error_with_loc): Use
4238 * po-lex.h (po-gram_error, gram_error_with_loc): Use
4252 * po.c (po_callback_comment): Correct handling of special
4276 * po.c (po_callback_comment): Remove unused variable string.
4288 * po-lex.h: Add prototype for po_lex_pass_obsolete_entries.
4290 * po-lex.c (po_gram_lex): Implement handling of comments for
4296 * po-lex.c (po_gram_lex): Small optimization in string collection.
4416 * po.c (po_callback_comment): Short by one bug in special comment
4419 * po.c (po_callback_comment): Handle special comments. Separate
4456 * po-hash.h (po_hash): Change __P to PARAMS in prototype.
4463 * po-lex.h (po_gram_error): Don't write source file name in fatal
4467 * po-lex.c (lex_close): Don't write source file name in fatal
4474 * po-lex.h: Use PARAMS instead of __P in header declarations.
4484 * po.h (struct po_method_ty): New field comment_special.
4489 * po.c (po_parse_brief, po_parse_debrief, po_directive_domain,
4499 * po-lex.c (lex_open): Don't set pass_comments to 0. This has to
4540 * xgettext.c, xget-lex.h, xget-lex.c, str-list.h, po.h, po.c,
4541 po-lex.c, po-hash.y, po-gram.h, open-po.c, msgunfmt.c, msgmerge.c,
4553 * open-po.c (open_po_file): Recognize /dev/stdin as name for
4590 * po-lex.c, message.c: Some more pretty printing.
4596 * po-lex.c (control_sequence): Don't support '\v'.
4611 * po.h: Fix typos. By Peter Miller.
4613 * po-lex.c (po_gram_lex): Prevent accumulation of #! comments.
4615 * po-gram.y (comments): Remove unused rule.
4654 * xgettext.c: Use string handling from str-list and .po file
4657 * xget-lex.h, xget-lex.c, str-list.h, str-list.c, po.h:
4660 * po-lex.h: Allow variable upper limit of errors.
4663 * po-lex.c: Allow variable upper limit of errors.
4666 * po.c, po-hash.y, po-hash.h: Initial revision.
4668 * po-gram.y: Add handling of comments.
4670 * po-gram.h: Remove all but one declaration.
4710 (po-gram.gen.c): Don't use $< in non-implicit rule.
4730 * po-lex.h (gram_error, gram_error_with_loc):
4734 * po-lex.c (gram_error, gram_error_with_loc):
4737 * Makefile.in (po-gram.gen.c po-gram.gen.h):
4767 * Makefile.in (po-gram.gen.c):
4773 * po-gram.h:
4778 * Makefile.in (po-gram.gen.c):
4791 * po-gram.h: Include <sys/types.h>.
4807 * po-lex.c (gram_error, gram_error_with_loc):
4814 * po-gram.h (yyparse): Add redefinition to gram_parse.
4819 * po-lex.c: Include po-gram.h to get redefinitions of yy* symbols.
4821 * po-gram.h (yylex, yylval, yyerror):
4833 * po-lex.h: Include <sys/types.h>.
4841 * po-gram.y, po-lex.c: Include error.h.
4843 * open-po.c (open_po_file):
4862 * Makefile.in (xgettext): No also link po-gram.gen.o and po-lex.o.
4864 * po-lex.c: Pretty print comments.
4875 * po-lex.c (lex_open): Argument NAME is now const.
4886 * po-gram.y (grammar):
4905 * po-gram.h (message_directive):
4908 * po-gram.h (grammar): Remove prototype. Is now locally defined.
4910 * po-lex.h (gram_error, gram_error_with_loc):
4922 Was done in po-gram.y before.
4924 * po-gram.h: Remove comment after closing #endif.
4926 * po-gram.h (grammar): Name parameter in prototype.
4930 * xgettext.c (read_po_file): We don't have a search path anymore,
4934 * po-lex.c (lex_open):
4935 We don't have a search path anymore, so third argument to
4938 * open-po.c (open_po_file): Remove unused `use_path' parameter.
4940 * Makefile.in (HEADERS): Add po-gram.h and po-lex.h.
4942 * po-gram.h, po-lex.h: Initial revision
4944 * Makefile.in (YACC, YFLAGS): New program used for .po file grammar.
4945 (SOURCES): Add po-gram.y and po-lex.c.
4948 (OBJECTS): Add po-gram.gen.o and po-lex.o.
4951 * po-lex.c, po-gram.y: Initial revision
4953 * xgettext.c: Remove input path handling.
4957 Rewrite .po file handling. Use Peter Millers .po file Yacc grammar.
4959 * open-po.c: Remove handling of input path.
5020 (lookup_2): New function. Expects the search key to be NUL
5145 * open-po.c (xstrdup): Protect prototype with __P.
5195 * open-po.c: Protect inclusion of string.h and stdlib.h.
5215 Correct dependencies of open-po.c.
5229 * open-po.c: Include system.h for EXIT_FAILURE.
5231 * msgfmt.c: Fix typo in !__STDC__ path.
5232 (process_po_file): Change for new .po file format.
5235 Update to new .po file format because Solaris' msgfmt can only