Commit Graph

213 Commits

Author SHA1 Message Date
Christian Neukirchen
36569245d1 thread: sort subthreads by date, sort top threads by newest message 2016-07-19 17:31:49 +02:00
Christian Neukirchen
b43d535589 thread: don't prune on toplevel 2016-07-19 16:56:09 +02:00
Christian Neukirchen
606b7d1cdf scan: use wide char functions 2016-07-19 16:24:47 +02:00
Christian Neukirchen
b319493901 thread: initialize top->file 2016-07-19 14:58:16 +02:00
Christian Neukirchen
7f81aa6012 thread: prune empty messages from top with only one child 2016-07-18 19:42:25 +02:00
Christian Neukirchen
11f1ff945a thread: diagnostics on stderr 2016-07-18 18:51:38 +02:00
Christian Neukirchen
2b6de9222a show: -n to not update cur 2016-07-18 18:37:14 +02:00
Christian Neukirchen
9fc77fc4b8 seq: blaze822_loop: count file arguments too 2016-07-18 18:33:49 +02:00
Christian Neukirchen
a686b54594 seq: move map/cur to ~/.santoku 2016-07-18 18:32:12 +02:00
Christian Neukirchen
b8d16d0cfb scan: mark cur mail 2016-07-18 18:31:33 +02:00
Christian Neukirchen
69c64c21f8 scan: fix flag finding 2016-07-18 18:26:20 +02:00
Christian Neukirchen
c12aa23777 blaze822: fix months. duh 2016-07-18 18:11:41 +02:00
Christian Neukirchen
22f456a2a0 clean up header includes 2016-07-18 17:06:41 +02:00
Christian Neukirchen
4babc3e95a remove unmime 2016-07-18 17:05:15 +02:00
Christian Neukirchen
f03343c5e6 show: normalize fwrite calls 2016-07-18 16:52:11 +02:00
Christian Neukirchen
6710fd9cd5 show: iconv non-utf8 parts before output 2016-07-18 16:52:04 +02:00
Christian Neukirchen
dac8663abd show: update cur 2016-07-18 00:09:35 +02:00
Christian Neukirchen
08032f89ba seq: import most parts of mseq, make blaze822_loop resolve ranges 2016-07-18 00:09:35 +02:00
Christian Neukirchen
7e17d9d631 scan: look up mails in map instead of line numbers 2016-07-17 21:52:04 +02:00
Christian Neukirchen
796531b22d mseq: extract code into seq.c 2016-07-17 21:51:41 +02:00
Christian Neukirchen
66544292ff scan: skip leading and trailing wsp 2016-07-17 21:49:34 +02:00
Christian Neukirchen
61f3ae7d3c rfc2045: blaze822_multipart: use blaze822_mime_parameter 2016-07-16 22:27:13 +02:00
Christian Neukirchen
cf3b70ed98 Makefile: add new show deps 2016-07-16 22:25:04 +02:00
Christian Neukirchen
d87ab6386c show: rewrite with mime support, listing and extraction 2016-07-16 22:19:20 +02:00
Christian Neukirchen
248ed48727 rfc2045: add blaze822_mime_parameter 2016-07-16 22:18:46 +02:00
Christian Neukirchen
d1e4b5f503 blaze822: add blaze822_headerlen 2016-07-16 22:18:29 +02:00
Christian Neukirchen
a07d2c9d9b unmime: call external filters 2016-07-16 19:58:20 +02:00
Christian Neukirchen
963380c9f1 blaze822: add blaze822_chdr to search for a header passed as C string 2016-07-16 19:44:21 +02:00
Christian Neukirchen
9853ddb91a rfc2045: fix parsing of unquoted boundaries 2016-07-16 19:43:43 +02:00
Christian Neukirchen
aa62c73700 add mseq (replaces next) 2016-07-16 18:45:39 +02:00
Christian Neukirchen
409c80e98f next: oops 2016-07-15 17:09:19 +02:00
Christian Neukirchen
8c7e822d88 hdr: rfc2047 decode headers 2016-07-15 16:51:43 +02:00
Christian Neukirchen
54b93c8f63 rfc2047: decode ??? on errors 2016-07-15 16:51:17 +02:00
Christian Neukirchen
8629e12ee6 rfc2047: revert in blaze822_decode_b64 2016-07-15 16:39:23 +02:00
Christian Neukirchen
010458d971 rfc2047: try sliced version of blaze822_decode_b64 (no benefit in practise) 2016-07-15 16:38:48 +02:00
Christian Neukirchen
de84495a55 next: fix mmap error detection 2016-07-15 16:09:08 +02:00
Christian Neukirchen
00b0e23f1f rfc2047: blaze822_decode_b64: check bounds 2016-07-14 18:24:08 +02:00
Christian Neukirchen
15016ba4ca slay more warnings 2016-07-14 18:21:38 +02:00
Christian Neukirchen
bc9d79606b fix printf format codes 2016-07-14 18:21:07 +02:00
Christian Neukirchen
b56f2a668b add () for assignments 2016-07-14 18:20:42 +02:00
Christian Neukirchen
8c7c614bb3 Makefile: drop -Wwrite-strings 2016-07-14 18:20:12 +02:00
Christian Neukirchen
1a1f01ecf9 rfc2047: blaze822_decode_qp: check bounds 2016-07-14 17:43:09 +02:00
Christian Neukirchen
8b8f391052 hdr: use -HEADER to only display the header, else print all headers 2016-07-14 15:40:57 +02:00
Christian Neukirchen
54f695dddf blaze822: iterate over headers 2016-07-14 15:40:48 +02:00
Christian Neukirchen
ff7771d4fb remove some obsolete stuff 2016-07-14 15:25:26 +02:00
Christian Neukirchen
f101b728d9 blaze822: add mmap-based mail reader 2016-07-14 15:21:37 +02:00
Christian Neukirchen
13eefbba72 rfc2045: return 0 when no body is found in blaze822_mime_body 2016-07-14 15:20:59 +02:00
Christian Neukirchen
7b6436797c blaze822: remaining fixes in new loop 2016-07-14 14:09:50 +02:00
Christian Neukirchen
1ff1ff3dd0 blaze822: avoid overflow in blaze822_hdr_ 2016-07-14 13:27:14 +02:00
Christian Neukirchen
266b904897 blaze822: rewrite inner loop
Do nul and crlf clean up first, only when required.
Replace line-detection loop with strchr.
2016-07-13 23:50:06 +02:00