Commit Graph

70 Commits

Author SHA1 Message Date
Christian Neukirchen
1ab7bf9651 mshow: decode headers in default view 2016-07-24 22:11:52 +02:00
Christian Neukirchen
3ed3878b2b mshow: use fnmatch for extraction 2016-07-23 00:46:48 +02:00
Christian Neukirchen
6c749f9537 mshow: extract: resolve messages using loop1 2016-07-23 00:25:27 +02:00
Christian Neukirchen
6c1e0d8d56 seq: add blaze822_loop1 for easier argument overriding 2016-07-23 00:25:18 +02:00
Christian Neukirchen
8817e71e64 mshow: -t defaults to . when used interactively 2016-07-23 00:16:40 +02:00
Christian Neukirchen
bf89d5c180 mshow: render_mime: set a default mime type 2016-07-23 00:16:01 +02:00
Christian Neukirchen
61cd838785 mshow: don't crash on missing Content-Type (consider it text/plain) 2016-07-22 18:43:34 +02:00
Christian Neukirchen
87d2135104 mshow: forgot to free
Found by clang-analyzer.
2016-07-21 20:27:44 +02:00
Christian Neukirchen
396f1ed8df mshow: extract_mime: fix logic to not free filename pointing to auto var
Found by clang-analyzer.
2016-07-21 20:26:37 +02:00
Christian Neukirchen
be7d711cdf mshow: indent tree by one level 2016-07-20 23:11:48 +02:00
Christian Neukirchen
ec6bee84f6 mshow: extract file name logic 2016-07-20 23:11:13 +02:00
Christian Neukirchen
d52fa6bf4d mshow: don't extract to absolute paths
duh.
2016-07-20 23:10:35 +02:00
Christian Neukirchen
8672f495c3 mshow: check isatty for default behavior 2016-07-20 19:23:42 +02:00
Christian Neukirchen
7d693e1c7e mshow: output filename for -t 2016-07-20 18:51:41 +02:00
Christian Neukirchen
113676c48e mshow: -R to render all text/plain parts
(should be extended to text/html later if they are the only ones...)
2016-07-20 16:58:06 +02:00
Christian Neukirchen
bb25a9d8a0 mshow: fix message 2016-07-20 16:03:20 +02:00
Christian Neukirchen
6dc9eeb050 mshow: default to current message when interactive w/o args 2016-07-20 15:38:35 +02:00
Christian Neukirchen
6164428d6f mshow: export PIPE_CHARSET to filter 2016-07-20 14:48:27 +02:00
Christian Neukirchen
88855f5df0 mshow: load filters from ~/.santoku/filter 2016-07-20 14:16:04 +02:00
Christian Neukirchen
247acc1ecc mshow: rename from show 2016-07-20 14:08:37 +02:00