Lines Matching +refs:po +refs:string +refs:buffer

23 	* po-error.h (po_error, po_error_at_line): Use format attribute only
45 * read-po.h (input_format_po): Mark as DLL_VARIABLE.
48 * write-po.h (output_format_po): Likewise.
54 * gettext-po.h.in: Move to ../libgettextpo/.
55 * gettext-po.c: Move to ../libgettextpo/.
61 (EXTRA_DIST, BUILT_SOURCES, CLEANFILES): Remove gettext-po.h support.
62 (gettext-po.h): Remove rule.
66 * po-error.h (__attribute__, __format__, __printf__): New macros.
67 (po_error, po_error_at_line): Declare format string argument.
68 * po-lex.h (__attribute__, __format__, __printf__): New macros.
69 (po_gram_error, po_gram_error_at_line): Declare format string argument.
76 * read-stringtable.c (stringtable_parse): Pass a mutable string as
78 * write-po.c (msgdomain_list_print_po): Avoid "gcc -Wwrite-strings"
80 * xgettext.c (remember_a_message_plural): Free a temporary string
99 * read-po.h: New file.
100 * read-po.c: New file, extracted from read-catalog-abstract.c.
101 * msgattrib.c: Include read-po.h, read-properties.h, read-stringtable.h.
104 * msgcat.c: Include read-po.h, read-properties.h, read-stringtable.h.
107 * msgcmp.c: Include read-po.h, read-properties.h, read-stringtable.h.
111 * msgcomm.c: Include read-po.h, read-properties.h, read-stringtable.h.
114 * msgconv.c: Include read-po.h, read-properties.h, read-stringtable.h.
117 * msgen.c: Include read-po.h, read-properties.h, read-stringtable.h.
120 * msgexec.c: Include read-po.h, read-properties.h, read-stringtable.h.
123 * msgfilter.c: Include read-po.h, read-properties.h, read-stringtable.h.
126 * msgfmt.c: Include read-po.h, read-properties.h, read-stringtable.h.
130 * msggrep.c: Include read-po.h, read-properties.h, read-stringtable.h.
133 * msginit.c: Include read-po.h, read-properties.h, read-stringtable.h.
137 * msgmerge.c: Include read-po.h, read-properties.h, read-stringtable.h.
142 * msguniq.c: Include read-po.h, read-properties.h, read-stringtable.h.
145 * read-catalog-abstract.c: Don't include po-gram.h, read-properties.h,
151 * read-csharp.c: Include read-po.h.
153 * read-java.c: Include read-po.h.
159 * read-resources.c: Include read-po.h.
165 * read-tcl.c: Include read-po.h.
167 * x-po.c: Include read-po.h, read-properties.h, read-stringtable.h.
170 * xgettext.c: Include read-po.h.
172 * gettext-po.c: Include read-po.h.
175 * Makefile.am (noinst_HEADERS): Add read-po.h.
176 (COMMON_SOURCE): Add read-po.c.
240 * po-gram-gen.y: Update.
278 * x-po.c: Update.
284 * gettext-po.c: Update.
287 * read-catalog-abstract.h: Renamed from read-po-abstract.h.
288 * read-catalog-abstract.c: Renamed from read-po-abstract.c.
289 * read-catalog.h: Renamed from read-po.h.
290 * read-catalog.c: Renamed from read-po.c.
291 * open-catalog.h: Renamed from open-po.h.
292 * open-catalog.c: Renamed from open-po.c.
299 * write-catalog.c: New file, mostly extracted from write-po.c.
300 * write-po.h (message_page_width_set): Move declaration to
309 * write-po.c: Don't include fwriteerror.h, error-progname.h.
383 * gettext-po.c: Include write-catalog.h.
422 * po-lex.c (po_lex_previous): New variable.
428 * po-gram-gen.y (do_callback_message): Add prev_msgctxt, prev_msgid,
438 * read-po-abstract.h (struct abstract_po_reader_class_ty): Add
443 * read-po-abstract.c (call_directive_message, po_callback_message): Add
445 * read-po.h (struct default_po_reader_class_ty): Add prev_msgctxt,
449 * read-po.c (call_add_message, default_directive_message,
456 * x-po.c (extract_add_message): Add prev_msgctxt, prev_msgid,
459 * write-po.c (wrap): Add extra_indent argument.
477 * gettext-po.c (po_message_prev_msgctxt, po_message_set_prev_msgctxt,
496 * gettext-po.h.in (LIBGETTEXTPO_VERSION): Bump version number.
589 * po-charset.c: Include c-strstr.h instead of strstr.h.
591 * write-po.c: Include c-strstr.h instead of strstr.h.
641 * gettext-po.h.in (LIBGETTEXTPO_VERSION): Bump version number.
696 string.
720 * Makefile.am (CLEANFILES): Add gettext-po.h.
726 (arglist_parser_done): Fix a format string.
750 * gettext-po.h.in: Renamed from gettext-po.h.
755 (BUILT_SOURCES): Add gettext-po.h.
756 (EXTRA_DIST): Add gettext-po.h.in.
757 (gettext-po.h): New rule.
815 * po-xerror.c: Likewise.
834 * open-po.c: Likewise.
835 * po-charset.c: Likewise.
836 * po-lex.c: Likewise.
837 * po-time.c: Likewise.
838 * read-po-abstract.c: Likewise.
841 * write-po.c: Likewise.
937 * msgfilter.c: Include filters.h, msgl-iconv.h, po-charset.h.
1035 * po-charset.h: Include stddef.h.
1038 * po-charset.c (char_iterator, euc_character_iterator,
1046 * msgmerge.c: Include po-charset.h, msgl-fsearch.h.
1101 don't mark a string as c-format that is already known to be a qt-format
1286 * gettext-po.c (po_message_check_format): Update.
1307 * gettext-po.c (po_file_check_all, po_message_check_all): Call
1314 * gettext-po.c (po_file_check_all, po_message_check_all,
1322 * gettext-po.c (po_file_check_all, po_message_check_all,
1576 * write-po.c (message_print): Warn if some msgctxt has non-ASCII
1583 * po-lex.c: Include message.h.
1585 (po_gram_lex): Bail out if a string contains the EOT character.
1586 * read-po-abstract.h (struct abstract_po_reader_class_ty): Add msgctxt
1589 * read-po-abstract.c (call_directive_message, po_callback_message): Add
1591 * po-gram-gen.y (do_callback_message): Add msgctxt argument. Use
1599 * read-po.h (struct default_po_reader_class_ty): Add msgctxt argument
1602 * read-po.c (call_add_message, default_directive_message,
1656 * x-po.c (extract_add_message): Add msgctxt argument. Update.
1658 * gettext-po.h (po_message_msgctxt, po_message_set_msgctxt): New
1660 * gettext-po.c (po_file_domain_header): Use is_header macro.
1688 * write-po.c (message_print_obsolete): Also print the extracted
1705 (buffer, bufmax, buflen): Remove variables.
1730 string literal.
1768 * gettext-po.c: Include msgl-check.h.
1772 * gettext-po.h (po_file_check_all, po_message_check_all): New
1775 stdarg.h, po-xerror.h, format.h, plural-exp.h, plural-table.h,
1789 * gettext-po.h (PO_SEVERITY_WARNING, PO_SEVERITY_ERROR,
1796 * gettext-po.c: Include po-xerror.h.
1810 * po-xerror.h: New file.
1811 * po-xerror.c: New file.
1812 * open-po.c: Include xerror.h, po-xerror.h, not error.h.
1814 * po-charset.c: Include po-xerror.h, not po-error.h.
1816 * po-lex.c: Include xerror.h, po-error.h, po-xerror.h.
1821 * po-lex.h: Don't include po-error.h.
1823 * read-po-abstract.c: Include xerror.h, po-xerror.h.
1825 * read-po.c: Include po-xerror.h.
1828 * read-properties.c: Include xerror.h, po-xerror.h, not exit.h.
1830 * read-stringtable.c: Include xerror.h, po-xerror.h, not exit.h.
1833 * write-po.c: Include po-xerror.h, not exit.h, po-error.h.
1841 * msgl-iconv.c: Include xerror.h, po-xerror.h, not error.h, exit.h.
1847 * msgfmt.c: Include po-xerror.h.
1866 * Makefile.am (noinst_HEADERS): Add po-xerror.h.
1867 (COMMON_SOURCE): Add po-xerror.c.
1871 * gettext-po.c (po_file_read): Set gram_max_allowed_errors to a large
1930 * po-lex.c (mb_width): Remove gcc warnings on platform with unsigned
1948 * write-po.c (wrap): Output \a and \v as an escape sequence, like
1954 * Makefile.am (msgfmt_SOURCES): Add hash-string.c.
1955 * Makefile.msvc (msgfmt_OBJECTS): Add hash-string.obj.
1956 (hash-string.obj): New rule.
1957 * Makefile.vms (msgfmt_OBJECTS): Add hash-string.obj.
1958 (hash-string.obj): New rule.
1984 * po-lex.h (po_gram_error, po_gram_error_at_line): Test for
1987 * po-lex.c (po_gram_error, po_gram_error_at_line): Likewise.
2002 * gettext-po.h (LIBGETTEXTPO_VERSION): Bump version number.
2021 * gettext-po.h (LIBGETTEXTPO_VERSION): Bump version number.
2041 * gettext-po.h (LIBGETTEXTPO_VERSION): Bump version number.
2049 * gettext-po.h (LIBGETTEXTPO_VERSION): Bump version number.
2084 * gettext-po.h (po_header_set_field): New declaration.
2085 * gettext-po.c (po_header_set_field): New function.
2090 * gettext-po.h (LIBGETTEXTPO_VERSION): New macro.
2092 * gettext-po.c (libgettextpo_version): New variable.
2096 * gettext-po.h (po_message_remove_filepos, po_message_add_filepos): New
2098 * gettext-po.c (po_message_remove_filepos, po_message_add_filepos): New
2104 * gettext-po.h (po_message_set_extracted_comments): New declaration.
2105 * gettext-po.c (po_message_set_extracted_comments): New function.
2116 * po-charset.c: Include c-strcase.h instead of strcase.h.
2137 * po-hash.h: Remove file.
2138 * po-hash-gen.y: Remove file.
2139 * read-po-abstract.c: Don't include po-hash.h.
2144 * read-stringtable.c: Don't include po-hash.h.
2145 * Makefile.am (noinst_HEADERS): Remove po-hash.h, po-hash-gen.h.
2146 (COMMON_SOURCE): Remove po-hash-gen.y.
2147 (BUILT_SOURCES): Remove po-hash-gen.c, po-hash-gen.h.
2148 * Makefile.msvc (OBJECTS): Remove po-hash-gen.obj.
2149 (po-hash-gen.obj): Remove rule.
2150 * Makefile.vms (OBJECTS): Remove po-hash-gen.obj.
2151 (po-hash-gen.obj): Remove rule.
2210 pattern string, and of 'i' to set a boolean. Compile the patterns.
2226 * x-po.c (header_charset): New variable.
2250 * write-po.c (msgdomain_list_print): Likewise.
2275 * gettext-po.c (po_file_read): Interpret "-" and "/dev/stdin" as
2300 forms for messages that don't occur in the Def.po file.
2333 * gettext-po.h (po_message_check_format): New declaration.
2334 * gettext-po.c (po_error_logger, po_message_check_format): New
2339 * po-error.h: New file.
2340 * po-error.c: New file.
2341 * po-charset.c: Include po-error.h.
2344 * po-lex.h: Include po-error.h.
2347 * po-lex.c (po_gram_error): Use po_error instead of error.
2350 * read-po-abstract.c (po_scan): Likewise.
2351 * write-po.c: Include po-error.h instead of error.h.
2361 * gettext-po.h (po_filepos_t): New type.
2372 * gettext-po.c (po_file_create): New function.
2388 * Makefile.am (noinst_HEADERS): Add po-error.h.
2389 (COMMON_SOURCE): Add po-error.c.
2390 * Makefile.msvc (OBJECTS): Add po-error.obj.
2391 (po-error.obj): New rule.
2392 * Makefile.vms (OBJECTS): Add po-error.obj.
2393 (po-error.obj): New rule.
2712 (phase1_ungetc): Verify that the pushback buffer's size is sufficient.
2718 (phase1_ungetc): Verify that the pushback buffer's size is sufficient.
2724 (phase1_ungetc): Verify that the pushback buffer's size is sufficient.
2728 (phase1_ungetc): Verify that the pushback buffer's size is sufficient.
2731 (phase1_ungetc): Verify that the pushback buffer's size is sufficient.
2734 (phase2_unget): Verify that the pushback buffer's size is sufficient.
2736 (phase1_ungetc): Verify that the pushback buffer's size is sufficient.
2739 (phase2_unget): Verify that the pushback buffer's size is sufficient.
2778 * po-charset.c: Include xallocsa.h.
2787 * write-po.c: Include xallocsa.h.
2984 * read-po-abstract.h (enum input_syntax_ty): New item
2988 * read-po-abstract.c: Include read-stringtable.h.
2993 * read-po.c (read_po): Set mdlp->encoding for syntax_stringtable too.
2994 * po-gram-gen.y: Update po_callback_comment_dispatcher call.
2998 * write-po.h (make_format_description_string, significant_format_p):
3001 * write-po.c: Include write-stringtable.h.
3055 * x-po.c: Include x-stringtable.h.
3146 * gettext-po.c: Likewise.
3158 * open-po.c: Likewise.
3159 * po-gram-gen.y: Likewise.
3160 * po-hash-gen.y: Likewise.
3161 * po-lex.c: Likewise.
3163 * read-po-abstract.c: Likewise.
3164 * read-po.c: Likewise.
3169 * write-po.c: Likewise.
3181 * x-po.c: Likewise.
3227 * write-po.c (make_format_description_string): Likewise.
3301 (x_c_lex): For token_type_name, put the string into the resulting
3382 * x-po.h (SCANNERS_PO): Update.
3386 * x-po.c (extract_po): Add argument flag_table.
3442 * po-lex.c (mbfile_getc, control_sequence): Remove explicit marking of
3507 * gettext-po.h (po_file_domain_header, po_header_field,
3510 * gettext-po.c (po_file_domain_header, po_header_field,
3518 * x-po.c: Include x-properties.h.
3525 * po-lex.c (mbfile_getc, control_sequence): Mark some strings as
3535 * po-lex.c (mbfile_getc): Diagnose read errors also in the middle of
3546 * write-po.c: Include fwriterror.h.
3608 * write-po.c (msgdomain_list_print): Don't fclose (stdout) here.
3612 * po-lex.c (mbfile_getc): Handle unexpected return value of
3622 * po-lex.c: Test HAVE_DECL_GETC_UNLOCKED instead of HAVE_GETC_UNLOCKED.
3623 * write-po.c: Test HAVE_DECL_PUTC_UNLOCKED instead of
3724 * po-charset.h (po_charset_ascii, po_charset_utf8, po_lex_charset,
3726 * po-lex.h (gram_pos, gram_pos_column, gram_max_allowed_errors,
3728 * read-po.h (line_comment, allow_duplicates, input_syntax): Likewise.
3730 * Makefile.am (po-gram-gen2.h): Likewise.
3734 * Makefile.msvc (gettext-po.obj, gettextpo.lib, gettextpo.res): New
3737 (install, installdirs, uninstall): Install/uninstall gettext-po.h,
3739 * Makefile.vms (gettext-po.obj, gettextpo.olb): New rules.
3741 (install, installdirs, uninstall): Install/uninstall gettext-po.h,
3756 * open-po.h: Likewise.
3757 * po-charset.h: Likewise.
3758 * po-lex.h: Likewise.
3759 * po-time.h: Likewise.
3760 * read-po-abstract.h: Likewise.
3762 * write-po.h: Likewise.
3764 * read-po.h: Likewise.
3784 * po-lex.h: Likewise.
3786 * write-po.c: Likewise.
3809 * po-lex.c: Include error-progname.h and pos.h.
3871 * x-perl.c: Include po-charset.h.
3878 (extract_variable): Tell remember_a_message to not convert the string.
3881 to not convert the string.
3989 string parser.
3998 * x-po.h (SCANNERS_PO): Update.
4011 lineno while processing the string. Use is_whitespace.
4016 line_number+1, not line_number. Fix buffer overrun in <<XYZ handling.
4164 * msgl-iconv.c (iconv_string): Don't return -1 just because the string
4170 * po-lex.h (po_gram_error): Don't use ISO C 99 feature on DEC C.
4171 * po-lex.c (po_gram_error): LIkewise.
4184 * read-po-abstract.h (abstract_po_reader_class_ty): In
4189 * read-po-abstract.c (call_directive_message, po_callback_message):
4195 * read-po.h (default_po_reader_class_ty): In add_message field, add
4200 * read-po.c (call_add_message): Add force_fuzzy argument.
4205 * po-gram-gen.y: Pass force_fuzzy = false.
4208 * po-lex.c (lex_end): Move error_message_count handling away.
4211 * write-po.h (message_print_syntax_properties): New declaration.
4212 * write-po.c (use_syntax_properties): New variable.
4276 * x-po.c (extract_add_message): Add force_fuzzy argument.
4280 * xgettext.h: Include read-po.h.
4301 * read-po-abstract.h (po_scan_file): Remove declaration.
4302 * read-po-abstract.c (po_scan_file): Remove function.
4303 * read-po.c (read_po_file): Call read_po.
4311 * open-po.h (open_po_file): Add argument 'exit_on_error'.
4312 * open-po.c (try_open_po_file): Renamed from open_po_file.
4314 * po-lex.h (lex_end): Change return type to void.
4316 * po-lex.c (lex_end): Change return type to void.
4318 * read-po-abstract.c (po_scan_file): Inline lex_open and lex_close.
4323 * hostname.c (usage): Split strings: use one string per option
4345 * read-po-abstract.h: Renamed from po.h.
4351 * read-po-abstract.c: Renamed from po.c.
4362 * read-po.h: Include read-po-abstract.h.
4371 * read-po.c (default_po_reader_ty): Renamed from readall_class_ty.
4396 * msgfmt.c: Include read-po.h instead of po.h.
4411 * x-po.c: Include read-po.h instead of po.h.
4419 * xgettext.c: Include read-po-abstract.h instead of po.h.
4422 * msgcmp.c: Don't include po.h.
4424 * po-gram-gen.y: Include read-po-abstract.h instead of po.h.
4425 * po-hash-gen.y: Likewise.
4427 * po-hash.h (po_parse_comment_filepos): Renamed from po_hash.
4428 * Makefile.am (noinst_HEADERS): Remove po.h, add read-po-abstract.h.
4429 (COMMON_SOURCE): Remove po.c, add read-po-abstract.c.
4430 * Makefile.msvc (OBJECTS): Remove po.obj, add read-po-abstract.obj.
4431 (read-po-abstract.obj): Renamed from po.obj.
4432 * Makefile.vms (OBJECTS): Remove po.obj, add read-po-abstract.obj.
4433 (read-po-abstract.obj): Renamed from po.obj.
4437 * read-po.c (readall_directive_message): Separate accumulation and
4439 * x-po.c (extract_directive_message): Likewise.
4443 * write-po.h (message_print_comment, message_print_comment_dot,
4446 * write-po.c: Reorder functions.
4460 * po.h (po_scan_start, po_scan_end): New declarations.
4461 * po.c: Reorder functions.
4480 * po-lex.c (mbfile_getc): Change element type of scatchbuf to
4491 * Makefile.am (noinst_HEADERS): Add po-gram-gen2.h.
4492 (BUILT_SOURCES): Add po-gram-gen2.h.
4493 (DISTCLEANFILES): Remove po-gram-gen2.h.
4494 (po-gram-gen2.h): Simplify rule.