• Home
  • Raw
  • Download

Lines Matching +refs:po +refs:msgfmt +refs:program

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.
202 * msgfmt.c (main, usage, add_mo_suffix, new_domain, is_nonobsolete,
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.
513 * urlget.c (fetch): Also try invoking the 'curl' program.
561 * msgfmt.c (format_directive_message): Copy the is_format array.
598 * po-lex.c (mbfile_getc): Handle the case where iconv converts
615 * msgfmt.c (install_sigfpe_handler): Assume the signal is always
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__.
758 * msgfmt.c: Include write-tcl.h.
787 * msgfmt.c (check_pair): Don't count "&&" as an accelerator designator,
792 * po-lex.c: Include libstdarg.h.
860 * msgfmt.c (check_header_entry): Terminate the error strings with
869 * msgfmt.c: Include plural-table.h.
949 * msgfmt.c (check_header_entry): Emit error messages including the
954 * open-po.c (open_po_file): Use 'size_t' instead of 'int'.
980 * msgfmt.c (main): Likewise.
990 * write-po.c: Include po-charset.h.
994 * msgfmt.c (install_sigfpe_handler, uninstall_sigfpe_handler): On AIX,
999 * msgfmt.c (USE_SIGINFO): New macro.
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,
1108 * msgfmt.c: Include exit.h, stpcpy.h instead of system.h. Don't
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
1139 system.h. Don't include msgfmt.h.
1174 * msgfmt.c: Likewise.
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.
1263 * msgfmt.c (check_plural): Use ngettext for two messages.
1283 * msgfmt.c (check_pair): Check messages with plural forms as well.
1295 * x-po.c (extract_directive_message): Update.
1360 * msgfmt.c (check_pair): Pass noisy=true.
1398 * msgfmt.c (struct msgfmt_class_ty): New field
1435 program failed, try wget or lynx.
1446 * msgfmt.c (is_nonobsolete): New function.
1458 * po.c (po_callback_message): Ignore obsolete header entries, for
1464 * msgfmt.c (struct msg_domain): Remove symbol_tab field.
1489 * msgfmt.c (new_domain): Allocate a message list with hash table.
1495 * read-po.c (readall_constructor): Allocate a message list with hash
1510 * read-po.c (readall_constructor, readall_directive_message): Likewise.
1514 * msgfmt.c (format_directive_message): Finish 2001-08-30 patch.
1518 * msgfmt.c (accelerator_char): New variable.
1536 * msgfmt.c (check_accelerators): New variable.
1592 * msgfmt.c (check_plural_eval): Fix #if mistake.
1624 * po-charset.c (po_lex_charset_set): Fix syntax error.
1650 (po-lex.lo): Depend on po-gram-gen2.h.
1670 * msgfmt.c (check_pair): Use an 'unsigned int' variable instead of
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.
1808 * msgfmt.c: Include plural-exp.h.
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
1923 * msgfmt.c: Likewise.
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.
1966 * msgfmt.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.
2055 * msgfmt.h: Don't include message.h.
2056 * open-po.h: Include <stdio.h>, for FILE.
2074 * msgfmt.c: Include write-java.h.
2101 * x-po.h (EXTENSIONS_PO, SCANNERS_PO): Likewise.
2162 * msgfmt.h (struct hashtable_entry): Remove type.
2164 * msgfmt.c (msg_domain): Add a message list field.
2182 * msgfmt.h: New file, extracted from msgfmt.c.
2183 * write-mo.h: New file, extracted from msgfmt.c.
2184 * write-mo.c: New file, extracted from msgfmt.c.
2187 * msgfmt.c (struct id_str_pair): Move to write-mo.c.
2188 (struct hashtable_entry): Move to msgfmt.h.
2198 * Makefile.am (noinst_HEADERS): Add msgfmt.h, write-mo.h.
2203 * write-po.c (msgdomain_list_print): Before fclose, check for ferror.
2213 Reorganize msgfmt checking options.
2214 * msgfmt.c: Include limits.h.
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
2272 * msgfmt.c: Include format.h instead of printf.h.
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.
2346 * msgfmt.c (grammar): Likewise.
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.
2462 * msgfmt.c (usage): 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.
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.
2668 * msgfmt.c (struct msgfmt_class_ty): Change type of fields 'is_fuzzy',
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
2916 * msgfmt.c: Likewise.
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.
2940 * msgfmt.c: Change the --strict option to not apply to domain
2963 * msgfmt.c (main): Likewise.
2972 * gettext.c (usage): Add description of what the program does.
2979 * msgfmt.c (usage): Likewise.
2991 * po-charset.c: Don't include stdio.h, stdlib.h, mbswidth.h. Include
2995 * msgfmt.c: Include xerror.h.
3000 Prefix most error messages with the program name, except those
3002 * po-lex.h: Include progname.h.
3006 * po-lex.c (po_gram_error): Likewise.
3016 * msgfmt.c: Include progname.h.
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
3052 * msgfmt.c (format_directive_message): Likewise.
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.
3113 * msgfmt.c (usage): Restructure usage message.
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.
3146 * msgfmt.c: Don't include ctype.h.
3151 * po.h (PO_BASE_TY): Remove next_is_fuzzy field.
3152 * po.c (po_alloc): Don't reset next_is_fuzzy.
3156 * msgfmt.c (format_directive_message): Ignore fuzziness of the header
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.
3219 * msgfmt.c (check_pair): In error message, count format
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.
3272 * msgfmt.c (main): Likewise.
3276 * po.c (po_callback_message): Cast %*s argument from size_t to int.
3277 * msgfmt.c (format_debrief): Likewise.
3284 * msgfmt.c (main): Likewise.
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
3308 * msgfmt.c (main): Use SET_BINARY instead of setmode.
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.
3348 * msgfmt.c (format_directive_message): Remove check of charset in
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.
3406 * msgfmt.c (main): Open the output file in binary mode.
3432 * msgfmt.c: Likewise.
3435 * open-po.c: Likewise.
3436 * po-gram-gen.y: Likewise.
3437 * po-lex.c: Likewise.
3448 * msgfmt.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',
3515 * msgfmt.c (SIZEOF): New macro.
3551 * msgfmt.c (format_directive_message): Pass to insert_entry and
3568 * msgfmt.c: Incorporate it here. Don't include "domain.h".
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".
3594 * msgfmt.c (msgfmt_class_ty): Change type of do_wrap field.
3602 * po-lex.h: Include it.
3604 * message,h: Include pos.h instead of po-lex.h.
3607 * po.h: Add comments.
3625 * msgfmt.c (write_table): Pass additional argument &id_len to
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.
3768 * msgfmt.c: Fix typo in --help text.
3784 * msgfmt.c: Use extra braces in if to shut up gcc.
3785 * po-lex.h: Don't declare function po_gram_error and
3794 * msgfmt.c: Likewise.
3803 * msgfmt.c (format_directive_message): Count fuzzy messages as
3815 * msgfmt.c: Change DEFAULT_ALIGNMENT to DEFAULT_OUTPUT_ALIGNMENT
3829 * msgfmt.c: Likewise.
3839 * msgfmt.c (main): Likewise.
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
3871 * msgfmt.c (format_directive_message): If messages are duplicated
3900 * msgfmt.c: Likewise.
3912 * msgfmt.c (usage): Likewise.
3917 * msgfmt.c (check_pair): Fix error messages.
3925 * msgfmt.c (usage): Likewise.
3935 * msgfmt.c: Major change: msgfmt now does not write fuzzy messages
3955 * msgfmt.c (check_pair): Correct English in Message.
3964 * msgfmt.c: Implement --statistics.
3967 * msgfmt.c: and change message checking so that tests for leading
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.
4027 * gettextp.c, msgcmp.c, msgfmt.c, msgmerge.c, msgunfmt.c,
4030 * msgcmp.c: Implement --directory to specify search path for .po
4035 * msgfmt.c: Implement --width option to specify width for which
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.
4081 * Makefile.am (msgfmt_SOURCES): Fix typo: msgfmt.o -> msgfmt.c.
4115 * msgfmt.c (format_directive_message): Better test for unchanged
4162 * msgfmt.c (format_directive_message): When testing header entry
4176 * msgfmt.c (format_directive_message): Check for standard header
4185 * msgfmt.c (format_debrief): New function. Warn if no header
4191 * msgfmt.c (format_constructor): New function. Initialize
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
4261 * message.h, msgmerge.c, xgettext.c, message.c, msgfmt.c:
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.
4340 * msgunfmt.c (main): Make program by default read from stdin and
4344 * msgfmt.c (format_directive_domain): Only check for correct
4347 * msgfmt.c: Use sizeof instead of strlen to determine length of
4416 * po.c (po_callback_comment): Short by one bug in special comment
4419 * po.c (po_callback_comment): Handle special comments. Separate
4425 * Makefile.in: msgjoin program is not anymore generated.
4428 handling. The program now recognizes the file type by the file
4431 files make the msgjoin program obsolete.
4435 * msgfmt.c (verbose): Rename to verbose_level.
4446 * msgfmt.c (format_comment_special): Be prepared that special
4456 * po-hash.h (po_hash): Change __P to PARAMS in prototype.
4460 * msgfmt.c (main): Set error_one_per_line to 1 to prevent more
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
4503 * msgfmt.c (main): Make lexer pass comments up.
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,
4542 msgjoin.c, msgfmt.c, msgcmp.c, message.h, message.c, gettextp.c:
4547 * Makefile.in (PROGRAMS): Add definitions for new msgjoin program.
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.
4639 * msgfmt.c (check_pair): Correctly pair comparisons.
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.
4674 * msgfmt.c: Adopt for new interface to parser.
4710 (po-gram.gen.c): Don't use $< in non-implicit rule.
4721 * xgettext.c, msgfmt.c:
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):
4750 * msgfmt.c (main): Don't free fname when no suffix was added.
4758 * msgfmt.c: New option --strict: Only if this is given the .mo
4761 * msgfmt.c (message_directive):
4764 * msgfmt.c (message_directive):
4767 * Makefile.in (po-gram.gen.c):
4773 * po-gram.h:
4778 * Makefile.in (po-gram.gen.c):
4780 only portable way to get more than one parser in the same program.
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):
4831 * msgfmt.c (add_mo_suffix): Fix typo.
4833 * po-lex.h: Include <sys/types.h>.
4836 * msgfmt.c (add_mo_suffix):
4841 * po-gram.y, po-lex.c: Include error.h.
4843 * open-po.c (open_po_file):
4856 * msgfmt.c, xgettext.c (exit_status):
4857 New variables. Contains exit status for the case the program
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.
4881 * msgfmt.c (add_mo_suffix): Really check for not .mo suffix.
4886 * po-gram.y (grammar):
4896 (msgcmp): Rule to construct program.
4900 * msgfmt.c (grammar): Close comment so that function is seen.
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):
4913 * msgfmt.c (grammar):
4915 with the msgcmp program.
4917 * msgfmt.c (domain_directive): Free memory of NAME if not needed.
4920 * msgfmt.c (message_directive):
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.
4934 * po-lex.c (lex_open):
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.
4949 Add rules for new files and add to dependency list for msgfmt.
4951 * po-lex.c, po-gram.y: Initial revision
4956 * msgfmt.c:
4957 Rewrite .po file handling. Use Peter Millers .po file Yacc grammar.
4959 * open-po.c: Remove handling of input path.
5024 * msgfmt.c (write_table):
5033 * msgfmt.c (main): Fix typo: me -> we.
5035 * msgfmt.c (output_file_open): Remove this unused variable.
5051 * msgfmt.c (usage):
5072 * msgfmt.c (process_po_file):
5083 * msgfmt.c (process_po_file): Correct problem with empty lines.
5087 * msgfmt.c (process_po_file):
5116 * msgfmt.c: Don't include malloc.h because it will be done in
5145 * open-po.c (xstrdup): Protect prototype with __P.
5147 * msgfmt.c (usage, new_domain, process_po_file, compare_id,
5178 gencat program.
5180 * msgfmt.c (printf.h): Include always
5189 * Makefile.in: msgfmt.o depends on ../lib/printf.h.
5191 * msgfmt.c: protect inclusion of malloc.h and stdlib.h.
5195 * open-po.c: Protect inclusion of string.h and stdlib.h.
5210 * xgettext.c, msgfmt.c: Better comment.
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