Commit Graph

755 Commits

Author SHA1 Message Date
Christian Neukirchen
d0d371114c blaze822: compression fixes 2016-07-13 20:32:44 +02:00
Christian Neukirchen
d687378b62 blaze822: give in and actually unfold the lines 2016-07-13 18:00:09 +02:00
Christian Neukirchen
91e83c5ee8 show: free message at end 2016-07-13 17:18:16 +02:00
Christian Neukirchen
a96fb5c5ee scan: free message at end 2016-07-13 17:18:06 +02:00
Christian Neukirchen
6e6d1993a2 rfc2047: free all things in blaze822_decode_rfc2047 2016-07-13 17:17:43 +02:00
Christian Neukirchen
00954008cc blaze822: free line in blaze822_loop 2016-07-13 17:17:18 +02:00
Christian Neukirchen
39006b8c89 blaze822: off by one in blaze822_mem 2016-07-13 17:02:29 +02:00
Christian Neukirchen
5e149c5732 show: better iterator 2016-07-13 17:02:17 +02:00
Christian Neukirchen
d3080b92d3 scan: print line number 2016-07-13 16:47:24 +02:00
Christian Neukirchen
797ddf96dc next: plain numbers are now absolute, use +/- prefix for relative 2016-07-13 16:47:06 +02:00
Christian Neukirchen
105f520c7e thread: try to keep relative order from input 2016-07-13 16:13:29 +02:00
Christian Neukirchen
435d5a5a89 rfc2045: fix crlf after boundary 2016-07-13 16:05:31 +02:00
Christian Neukirchen
5b84593e78 blaze822: fix blaze822_mem body start 2016-07-13 16:03:35 +02:00
Christian Neukirchen
6b639da842 blaze822: fix blaze822_file return value on error 2016-07-13 16:03:16 +02:00
Christian Neukirchen
b32ef0fd5a blaze822_priv.h: add isfws 2016-07-13 16:00:20 +02:00
Christian Neukirchen
8ba55bae99 blaze822_priv.h: macro cleanup 2016-07-13 15:56:50 +02:00
Christian Neukirchen
01c1c0d970 add rfc2045 and multipart decoding 2016-07-13 15:53:27 +02:00
Christian Neukirchen
0e892a5d83 show: fix api usage 2016-07-13 15:52:52 +02:00
Christian Neukirchen
17355dbe63 blaze822: api refactoring 2016-07-13 15:52:39 +02:00
Christian Neukirchen
7c0663e0e5 blaze822: don't prefix first header with nul bytes
Instead, look for the first header as a special case.
This allows us to parse a header as-is without shifting in memory.
2016-07-13 15:22:47 +02:00
Christian Neukirchen
0552c3708e scan: tweak date formatting 2016-07-13 15:04:04 +02:00
Christian Neukirchen
dab7da7bbc blaze822: parsing of in-memory messages 2016-07-13 15:01:38 +02:00
Christian Neukirchen
19ba414abc blaze822: header cleanup 2016-07-13 15:01:09 +02:00
Christian Neukirchen
5bc288f1aa blaze822: hackfix 2016-07-12 21:11:18 +02:00
Christian Neukirchen
9418394d14 next: add offset, also negative 2016-07-12 20:43:44 +02:00
Christian Neukirchen
663dc56d8f scan: indent with two spaces 2016-07-12 20:17:21 +02:00
Christian Neukirchen
918f226657 scan: tweak output 2016-07-12 20:14:38 +02:00
Christian Neukirchen
a538437df3 thread: remove debugging output 2016-07-12 20:10:40 +02:00
Christian Neukirchen
597a035dbf list: only show index line if any filter applied 2016-07-12 19:32:26 +02:00
Christian Neukirchen
698789336d list: count summary with -i 2016-07-12 19:20:26 +02:00
Christian Neukirchen
89e5dedf8b add list 2016-07-12 17:51:34 +02:00
Christian Neukirchen
9b2a97416d rfc2047: detect iconv_open error properly 2016-07-12 16:23:51 +02:00
Christian Neukirchen
56a30a4068 rfc2047: suppress common error messages 2016-07-12 16:15:22 +02:00
Christian Neukirchen
3d40dedd96 rfc2047: consistency 2016-07-12 16:15:00 +02:00
Christian Neukirchen
4bd036232d rfc2047: better base64 memory bound 2016-07-12 16:12:44 +02:00
Christian Neukirchen
a123eaf619 scan: fix u8putstr to print the whole glyph at the end 2016-07-12 16:12:12 +02:00
Christian Neukirchen
bd1ab50db8 rfc2047: avoid tolower 2016-07-12 15:16:56 +02:00
Christian Neukirchen
d299649b0c scan: show invalid dates 2016-07-12 15:14:27 +02:00
Christian Neukirchen
4805ef9cce blaze822: default to 0 seconds when none given 2016-07-12 15:11:01 +02:00
Christian Neukirchen
44f781db44 blaze822: only increment end if we found the a header separator 2016-07-12 15:00:46 +02:00
Christian Neukirchen
a59445e614 blaze822: avoid tolower 2016-07-12 15:00:35 +02:00
Christian Neukirchen
cd510df51d rfc2047: handle uint properly 2016-07-12 14:08:31 +02:00
Christian Neukirchen
41a993c953 scan: use subject default value when not found 2016-07-12 13:38:44 +02:00
Christian Neukirchen
3ce49fb460 fix unsigned computation 2016-07-12 13:37:51 +02:00
Christian Neukirchen
3bb5452964 add rfc2047 decoder 2016-07-11 23:40:00 +02:00
Christian Neukirchen
d548547d99 add show 2016-07-11 21:50:04 +02:00
Christian Neukirchen
6d98e06592 thread: slay a few loops 2016-07-11 16:52:04 +02:00
Christian Neukirchen
aa08ae31a0 extract main loop 2016-07-11 16:28:22 +02:00
Christian Neukirchen
a0bdb93c68 thread fixes 2016-07-11 16:12:12 +02:00
Christian Neukirchen
3d70bd5927 add hdr 2016-07-11 16:11:52 +02:00