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 |
|
Christian Neukirchen
|
aad1e02178
|
unmime: free some things
Not 100% precise yet.
|
2016-07-13 21:56:47 +02:00 |
|
Christian Neukirchen
|
e57d1b3192
|
rfc2045: new parameter for blaze822_mime_body to allow freeing of new chunk
|
2016-07-13 21:56:16 +02:00 |
|
Christian Neukirchen
|
4798cb386e
|
blaze822: allow freeing of null pointers
|
2016-07-13 21:55:17 +02:00 |
|
Christian Neukirchen
|
005037e254
|
blaze822: blaze822_mem: use body=bodyend instead of body=0
Else we lose track of where we are during multipart when there is no
body (really a body of length 0).
|
2016-07-13 21:35:42 +02:00 |
|
Christian Neukirchen
|
f122c3c7d2
|
rfc2045: blaze822_mime_body: zero output fields when no body is there
|
2016-07-13 21:34:46 +02:00 |
|
Christian Neukirchen
|
411c9b632a
|
blaze822: detect too short/empty headers
|
2016-07-13 21:08:05 +02:00 |
|
Christian Neukirchen
|
11c9ce78f1
|
rfc2047: blaze822_decode_qp: off-by-one in qp decoding
|
2016-07-13 20:53:26 +02:00 |
|
Christian Neukirchen
|
42677a0586
|
rfc2045: blaze822_multipart: \0 also terminates boundary
|
2016-07-13 20:50:48 +02:00 |
|