Commit Graph

76 Commits (15016ba4cac7e38ed0a99ac87c5e8e22a28a7a78)
 

Author SHA1 Message Date
Christian Neukirchen 15016ba4ca slay more warnings 8 years ago
Christian Neukirchen bc9d79606b fix printf format codes 8 years ago
Christian Neukirchen b56f2a668b add () for assignments 8 years ago
Christian Neukirchen 8c7c614bb3 Makefile: drop -Wwrite-strings 8 years ago
Christian Neukirchen 1a1f01ecf9 rfc2047: blaze822_decode_qp: check bounds 8 years ago
Christian Neukirchen 8b8f391052 hdr: use -HEADER to only display the header, else print all headers 8 years ago
Christian Neukirchen 54f695dddf blaze822: iterate over headers 8 years ago
Christian Neukirchen ff7771d4fb remove some obsolete stuff 8 years ago
Christian Neukirchen f101b728d9 blaze822: add mmap-based mail reader 8 years ago
Christian Neukirchen 13eefbba72 rfc2045: return 0 when no body is found in blaze822_mime_body 8 years ago
Christian Neukirchen 7b6436797c blaze822: remaining fixes in new loop 8 years ago
Christian Neukirchen 1ff1ff3dd0 blaze822: avoid overflow in blaze822_hdr_ 8 years ago
Christian Neukirchen 266b904897 blaze822: rewrite inner loop
Do nul and crlf clean up first, only when required.
Replace line-detection loop with strchr.
8 years ago
Christian Neukirchen aad1e02178 unmime: free some things
Not 100% precise yet.
8 years ago
Christian Neukirchen e57d1b3192 rfc2045: new parameter for blaze822_mime_body to allow freeing of new chunk 8 years ago
Christian Neukirchen 4798cb386e blaze822: allow freeing of null pointers 8 years ago
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).
8 years ago
Christian Neukirchen f122c3c7d2 rfc2045: blaze822_mime_body: zero output fields when no body is there 8 years ago
Christian Neukirchen 411c9b632a blaze822: detect too short/empty headers 8 years ago
Christian Neukirchen 11c9ce78f1 rfc2047: blaze822_decode_qp: off-by-one in qp decoding 8 years ago
Christian Neukirchen 42677a0586 rfc2045: blaze822_multipart: \0 also terminates boundary 8 years ago
Christian Neukirchen d0d371114c blaze822: compression fixes 8 years ago
Christian Neukirchen d687378b62 blaze822: give in and actually unfold the lines 8 years ago
Christian Neukirchen 91e83c5ee8 show: free message at end 8 years ago
Christian Neukirchen a96fb5c5ee scan: free message at end 8 years ago
Christian Neukirchen 6e6d1993a2 rfc2047: free all things in blaze822_decode_rfc2047 8 years ago
Christian Neukirchen 00954008cc blaze822: free line in blaze822_loop 8 years ago
Christian Neukirchen 39006b8c89 blaze822: off by one in blaze822_mem 8 years ago
Christian Neukirchen 5e149c5732 show: better iterator 8 years ago
Christian Neukirchen d3080b92d3 scan: print line number 8 years ago
Christian Neukirchen 797ddf96dc next: plain numbers are now absolute, use +/- prefix for relative 8 years ago
Christian Neukirchen 105f520c7e thread: try to keep relative order from input 8 years ago
Christian Neukirchen 435d5a5a89 rfc2045: fix crlf after boundary 8 years ago
Christian Neukirchen 5b84593e78 blaze822: fix blaze822_mem body start 8 years ago
Christian Neukirchen 6b639da842 blaze822: fix blaze822_file return value on error 8 years ago
Christian Neukirchen b32ef0fd5a blaze822_priv.h: add isfws 8 years ago
Christian Neukirchen 8ba55bae99 blaze822_priv.h: macro cleanup 8 years ago
Christian Neukirchen 01c1c0d970 add rfc2045 and multipart decoding 8 years ago
Christian Neukirchen 0e892a5d83 show: fix api usage 8 years ago
Christian Neukirchen 17355dbe63 blaze822: api refactoring 8 years ago
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.
8 years ago
Christian Neukirchen 0552c3708e scan: tweak date formatting 8 years ago
Christian Neukirchen dab7da7bbc blaze822: parsing of in-memory messages 8 years ago
Christian Neukirchen 19ba414abc blaze822: header cleanup 8 years ago
Christian Neukirchen 5bc288f1aa blaze822: hackfix 8 years ago
Christian Neukirchen 9418394d14 next: add offset, also negative 8 years ago
Christian Neukirchen 663dc56d8f scan: indent with two spaces 8 years ago
Christian Neukirchen 918f226657 scan: tweak output 8 years ago
Christian Neukirchen a538437df3 thread: remove debugging output 8 years ago
Christian Neukirchen 597a035dbf list: only show index line if any filter applied 8 years ago