Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | blaze822: keep a pointer to the original header, if we have it anyway | Christian Neukirchen | 2016-08-06 | 1 | -1/+9 |
| | |||||
* | blaze822: blaze822_chdr: downcase header | Christian Neukirchen | 2016-08-01 | 1 | -0/+4 |
| | |||||
* | blaze822: blaze822_hdr_: off-by-one for first header | Christian Neukirchen | 2016-07-29 | 1 | -2/+4 |
| | |||||
* | blaze822: blaze822_file: allocate enough space for read | Christian Neukirchen | 2016-07-29 | 1 | -3/+4 |
| | |||||
* | cleanups | Christian Neukirchen | 2016-07-26 | 1 | -16/+5 |
| | |||||
* | blaze822: blaze822_file: allow unknown file size (e.g. pipes) | Christian Neukirchen | 2016-07-26 | 1 | -9/+48 |
| | |||||
* | import musl memmem | Christian Neukirchen | 2016-07-26 | 1 | -10/+7 |
| | |||||
* | blaze822: blaze822_addr: return 0 when no address is found | Christian Neukirchen | 2016-07-25 | 1 | -9/+8 |
| | | | | Also return null pointers instead of empty strings. | ||||
* | blaze822: fix header finding with CRLF | Christian Neukirchen | 2016-07-21 | 1 | -3/+6 |
| | |||||
* | blaze822: forgot to free | Christian Neukirchen | 2016-07-21 | 1 | -0/+1 |
| | | | | Found by clang-analyzer. | ||||
* | blaze822: fix months. duh | Christian Neukirchen | 2016-07-18 | 1 | -2/+2 |
| | |||||
* | clean up header includes | Christian Neukirchen | 2016-07-18 | 1 | -8/+8 |
| | |||||
* | seq: import most parts of mseq, make blaze822_loop resolve ranges | Christian Neukirchen | 2016-07-18 | 1 | -24/+0 |
| | |||||
* | blaze822: add blaze822_headerlen | Christian Neukirchen | 2016-07-16 | 1 | -0/+6 |
| | |||||
* | blaze822: add blaze822_chdr to search for a header passed as C string | Christian Neukirchen | 2016-07-16 | 1 | -0/+9 |
| | |||||
* | blaze822: iterate over headers | Christian Neukirchen | 2016-07-14 | 1 | -0/+17 |
| | |||||
* | blaze822: add mmap-based mail reader | Christian Neukirchen | 2016-07-14 | 1 | -3/+54 |
| | |||||
* | blaze822: remaining fixes in new loop | Christian Neukirchen | 2016-07-14 | 1 | -5/+5 |
| | |||||
* | blaze822: avoid overflow in blaze822_hdr_ | Christian Neukirchen | 2016-07-14 | 1 | -1/+1 |
| | |||||
* | blaze822: rewrite inner loop | Christian Neukirchen | 2016-07-13 | 1 | -44/+58 |
| | | | | | Do nul and crlf clean up first, only when required. Replace line-detection loop with strchr. | ||||
* | blaze822: allow freeing of null pointers | Christian Neukirchen | 2016-07-13 | 1 | -0/+2 |
| | |||||
* | blaze822: blaze822_mem: use body=bodyend instead of body=0 | Christian Neukirchen | 2016-07-13 | 1 | -1/+2 |
| | | | | | Else we lose track of where we are during multipart when there is no body (really a body of length 0). | ||||
* | blaze822: detect too short/empty headers | Christian Neukirchen | 2016-07-13 | 1 | -0/+3 |
| | |||||
* | blaze822: compression fixes | Christian Neukirchen | 2016-07-13 | 1 | -2/+4 |
| | |||||
* | blaze822: give in and actually unfold the lines | Christian Neukirchen | 2016-07-13 | 1 | -10/+22 |
| | |||||
* | blaze822: free line in blaze822_loop | Christian Neukirchen | 2016-07-13 | 1 | -0/+1 |
| | |||||
* | blaze822: off by one in blaze822_mem | Christian Neukirchen | 2016-07-13 | 1 | -1/+1 |
| | |||||
* | blaze822: fix blaze822_mem body start | Christian Neukirchen | 2016-07-13 | 1 | -6/+9 |
| | |||||
* | blaze822: fix blaze822_file return value on error | Christian Neukirchen | 2016-07-13 | 1 | -1/+1 |
| | |||||
* | blaze822_priv.h: macro cleanup | Christian Neukirchen | 2016-07-13 | 1 | -6/+0 |
| | |||||
* | blaze822: api refactoring | Christian Neukirchen | 2016-07-13 | 1 | -50/+39 |
| | |||||
* | blaze822: don't prefix first header with nul bytes | Christian Neukirchen | 2016-07-13 | 1 | -111/+73 |
| | | | | | Instead, look for the first header as a special case. This allows us to parse a header as-is without shifting in memory. | ||||
* | blaze822: parsing of in-memory messages | Christian Neukirchen | 2016-07-13 | 1 | -0/+130 |
| | |||||
* | blaze822: header cleanup | Christian Neukirchen | 2016-07-13 | 1 | -6/+4 |
| | |||||
* | blaze822: hackfix | Christian Neukirchen | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | blaze822: default to 0 seconds when none given | Christian Neukirchen | 2016-07-12 | 1 | -0/+2 |
| | |||||
* | blaze822: only increment end if we found the a header separator | Christian Neukirchen | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | blaze822: avoid tolower | Christian Neukirchen | 2016-07-12 | 1 | -1/+4 |
| | |||||
* | add show | Christian Neukirchen | 2016-07-11 | 1 | -0/+16 |
| | |||||
* | extract main loop | Christian Neukirchen | 2016-07-11 | 1 | -18/+10 |
| | |||||
* | make blaze822 a library | Christian Neukirchen | 2016-07-11 | 1 | -48/+61 |
| | |||||
* | various code that may end up as a mail client | Christian Neukirchen | 2016-07-10 | 1 | -0/+373 |