Larry Hynes
289716b630
mmime.1: closing > for <expr
...
Closes : #31 [via git-merge-pr]
8 years ago
Leah Neukirchen
67c0a3b17c
mmime: print_header: only force qp-encoding for overlong lines
...
Lines SHOULD not be longer than 78 chars, and we try to fold like that,
but we only enforce qp-encoding for 7-bit safe lines if they would be
longer than 998, which they MUST not be.
8 years ago
Leah Neukirchen
f53e8dc672
mmime: check: allow up to 998 chars in header lines
8 years ago
Duncaen
b57c2d9b09
mpick: make message numbers starting at one
...
fixes #29
8 years ago
Leah Neukirchen
b21daa47d6
mscan: squeeze slashes for %F
...
Fixes #30 .
8 years ago
leovilok
1f097f28e0
mgenmid: fix fallback random generation on 32bit
...
lrand48 returns a long int, which is 32bits wide on 32bits systems
Closes : #28 [via git-merge-pr]
8 years ago
Duncaen
9bec745dde
mpick: allow string expressions on any header
8 years ago
Leah Neukirchen
2895704eee
mcom: only generate multipart mime mails when using attachments
8 years ago
Leah Neukirchen
ad9fe95761
filter: simplify clean up logic
8 years ago
Leah Neukirchen
9e49cf7561
filter: use sigpending/sigismember/sigwait instead of sigtimedwait
...
sigtimedwait is just POSIX.1-2001, which lesser operating systems don't
implement completely.
8 years ago
Leah Neukirchen
b78cf918db
filter: use sigtimedwait with zero wait time
...
Else it will block until SIGPIPE comes.
8 years ago
Leah Neukirchen
6fae889a13
filter: block SIGPIPE during filtering
8 years ago
Leah Neukirchen
07a60a3908
mrep: don't put our own addresses into Cc:
...
Closes #26 .
8 years ago
Leah Neukirchen
36faf7f114
rfc2047: blaze822_decode_rfc2047: ignore RFC 2231 language tag
8 years ago
Leah Neukirchen
dc20c8248b
rfc2231: fix warning
8 years ago
Leah Neukirchen
bbbde2616b
mshow: safely print filenames
8 years ago
Leah Neukirchen
f8a305f441
Makefile: ensure to build object files
8 years ago
Leah Neukirchen
b2ecbde0a3
contrib/msendmail: add script to compose MIME mail noninteractively
8 years ago
Leah Neukirchen
93bfc9cf5f
mshow: use blaze822_mime2231_parameter for filenames
8 years ago
Leah Neukirchen
c6480f4785
rfc2231: add RFC 2231 mime parameter parsing
8 years ago
Leah Neukirchen
da907f0045
mmime.1: cite RFC 2231
8 years ago
Leah Neukirchen
d75c446aff
mmime: use RFC2231 for Content-Disposition when needed
8 years ago
Leah Neukirchen
935f4bf5b9
mshow: render_mime: don't access invalid addresses when no output was generated
8 years ago
Leah Neukirchen
9e8e0d38c9
filter: free buffer on failure
8 years ago
Duncaen
b0f5662c5f
t: add maddr and minc tests
8 years ago
Duncaen
537282d6af
seq: fix selecting subthreads at the end of sequences and add test cases
8 years ago
Duncaen
b960d5e3cc
t: add check_test
8 years ago
Duncaen
08ea54953f
mflag: check if curfile is set before using it
8 years ago
Duncaen
2287e89631
t: add mseq and mflag tests
8 years ago
Duncaen
617e494ec0
t: minor fixes for mpick and mscan tests
8 years ago
Duncaen
fe58e376bc
t: add mscan and msort tests
8 years ago
Larry Hynes
e7d9d3a922
mpick: prent -> parent
...
Closes : #23 [via git-merge-pr]
8 years ago
Duncaen
94448994ee
mpick: fix subject caching
8 years ago
Duncaen
2ed0a0ea60
mpick: fix flags
...
fixes #21
8 years ago
Duncaen
0200d437d6
t: add msed tests
8 years ago
Duncaen
59900bed95
t: add magrep tests
8 years ago
Larry Hynes
0c7acf21bb
mpick: fall-trough -> fall-through
8 years ago
Duncaen
d2677046dc
add .travis.yml
8 years ago
Duncaen
914c0d744b
mpick: add missing :R msglist type
8 years ago
Duncaen
79d5047cde
mpick: open mail file only if necessary
8 years ago
Leah Neukirchen
4088f9f70b
t/1000-mmime.t: wc -L is a gnuism
8 years ago
Leah Neukirchen
2c1ecbe4a6
t: beginnings of a test suite
8 years ago
Leah Neukirchen
d73a3a748a
mmime: gen_file: append newline to error message
8 years ago
Leah Neukirchen
2d612ce166
mmime: print_header: refactor
...
Simplifies the code considerably. QP-header-wrapping now happens inside
gen_qp. We wrap the line in advance when this will save QP-encoding, or
splitting a QP-word into two.
Fixes #20 .
8 years ago
Leah Neukirchen
6d492539d6
mquote: use printf
8 years ago
Leah Neukirchen
f771d062a5
mcom: use printf instead of echo
...
Fixes #19 .
8 years ago
Leah Neukirchen
a27ba3370c
filter: make more robust
...
MacOS will send POLLIN for empty reads on EOF, so detect ret == 0 too.
Also poll for POLLHUP, which other systems use to message EOF.
Fixes #18 .
8 years ago
Leah Neukirchen
6b9f742d7d
mgenmid: use gettimeofday instead of clock_gettime
...
Fixes #17 .
Nanosecond precision wasn't needed, and many legacy operating systems
don't support this POSIX.1-2001 function.
We now use plain microseconds for the timestamp, which uses the range of
the 64-bit number better as well. This will result in a Year 294247 problem.
8 years ago
Leah Neukirchen
d21ab392e9
safe_u8putstr: actually transcode assumed latin1 into valid utf8
8 years ago
Leah Neukirchen
53c6a3b37e
mblaze.7: small edits
8 years ago