path: root/po
diff options
authorSergey Poznyakoff <>2017-05-31 11:37:22 +0300
committerSergey Poznyakoff <>2017-05-31 12:15:30 +0300
commita79ec559859084cfe8a357bf9076d472fefbeeee (patch)
tree22e2a8b8b9002c7570651e2048bdf1ec118410db /po
parentd2952d1c8f6ca4edc65e3c61a47c7a7154f5353b (diff)
Improve mimeview
Old short option '-t' renamed to '-f' for consistency (-f stands for --file in most other utilities). Thus, 'mimevief -f my.types' reads the file 'my.types'. The '-t' option is reused as a short equivalent of the new '--lint' option, which instructs the tool to check the syntax of the mime.types file and exit, ignoring any surplus command line arguments. Added support for priority and regex functions. Improved debugging output. * mimeview/mimetypes.l: Rewrite lexer in a cleaner way. * mimeview/mimetypes.y: Rewrite parser. Track locations. Add line information to nodes and rules. Improve debugging * mimeview/mimeview.c: Remove the debug configuration statement. Using debug { level } provides the same functionality. Use mu_debug for debugging. New option -t (--lint). Rename the -t short option to -f. * mimeview/mimeview.h: Define lexer and parser macros for location tracking. * NEWS: Document changes to mimeview utility. * doc/texinfo/programs.texi: Document changes to mimeview utility. * lib/mailcap.c: Use standart mu_debug calls for debugging. * lib/mailcap.h (display_stream_mailcap): Change last argument: take a mu_debug_handle_t * libmailutils/diag/debcat (app): New category. Application-specific debug * mail/decode.c (display_submessage): Change invocation of display_stream_mailcap. * mail/mailvar.c: Setting "verbose" enables app.trace7, unsetting it clears app.*
Diffstat (limited to 'po')
1 files changed, 1 insertions, 0 deletions
diff --git a/po/.gitignore b/po/.gitignore
index 67d6c1100..5ae495e4d 100644
--- a/po/.gitignore
+++ b/po/.gitignore
@@ -1,3 +1,4 @@

Return to:

Send suggestions and report system problems to the System administrator.