Duncaen
b57c2d9b09
mpick: make message numbers starting at one
...
fixes #29
2017-04-27 23:49:12 +02:00
Leah Neukirchen
b21daa47d6
mscan: squeeze slashes for %F
...
Fixes #30 .
2017-04-27 13:54:10 +02:00
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]
2017-04-22 13:55:32 +02:00
Duncaen
9bec745dde
mpick: allow string expressions on any header
2017-04-17 03:01:57 +02:00
Leah Neukirchen
2895704eee
mcom: only generate multipart mime mails when using attachments
2017-04-16 19:38:51 +02:00
Leah Neukirchen
ad9fe95761
filter: simplify clean up logic
2017-04-14 20:00:25 +02:00
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.
2017-04-14 19:52:58 +02:00
Leah Neukirchen
b78cf918db
filter: use sigtimedwait with zero wait time
...
Else it will block until SIGPIPE comes.
2017-04-14 02:22:12 +02:00
Leah Neukirchen
6fae889a13
filter: block SIGPIPE during filtering
2017-04-14 02:11:03 +02:00
Leah Neukirchen
07a60a3908
mrep: don't put our own addresses into Cc:
...
Closes #26 .
2017-04-09 22:49:17 +02:00
Leah Neukirchen
36faf7f114
rfc2047: blaze822_decode_rfc2047: ignore RFC 2231 language tag
2017-04-06 22:55:00 +02:00
Leah Neukirchen
dc20c8248b
rfc2231: fix warning
2017-04-06 22:32:08 +02:00
Leah Neukirchen
bbbde2616b
mshow: safely print filenames
2017-04-06 22:31:27 +02:00
Leah Neukirchen
f8a305f441
Makefile: ensure to build object files
2017-04-06 22:15:14 +02:00
Leah Neukirchen
b2ecbde0a3
contrib/msendmail: add script to compose MIME mail noninteractively
2017-04-06 22:04:32 +02:00
Leah Neukirchen
93bfc9cf5f
mshow: use blaze822_mime2231_parameter for filenames
2017-04-06 21:02:16 +02:00
Leah Neukirchen
c6480f4785
rfc2231: add RFC 2231 mime parameter parsing
2017-04-06 21:02:16 +02:00
Leah Neukirchen
da907f0045
mmime.1: cite RFC 2231
2017-04-06 21:02:16 +02:00
Leah Neukirchen
d75c446aff
mmime: use RFC2231 for Content-Disposition when needed
2017-04-06 21:02:16 +02:00
Leah Neukirchen
935f4bf5b9
mshow: render_mime: don't access invalid addresses when no output was generated
2017-04-06 21:02:16 +02:00
Leah Neukirchen
9e8e0d38c9
filter: free buffer on failure
2017-04-06 21:02:16 +02:00
Duncaen
b0f5662c5f
t: add maddr and minc tests
2017-04-02 18:06:11 +02:00
Duncaen
537282d6af
seq: fix selecting subthreads at the end of sequences and add test cases
2017-04-01 17:17:09 +02:00
Duncaen
b960d5e3cc
t: add check_test
2017-03-31 16:10:47 +02:00
Duncaen
08ea54953f
mflag: check if curfile is set before using it
2017-03-31 01:46:20 +02:00
Duncaen
2287e89631
t: add mseq and mflag tests
2017-03-31 01:40:34 +02:00
Duncaen
617e494ec0
t: minor fixes for mpick and mscan tests
2017-03-30 20:45:50 +02:00
Duncaen
fe58e376bc
t: add mscan and msort tests
2017-03-30 20:29:01 +02:00
Larry Hynes
e7d9d3a922
mpick: prent -> parent
...
Closes : #23 [via git-merge-pr]
2017-03-30 20:29:01 +02:00
Duncaen
94448994ee
mpick: fix subject caching
2017-03-30 20:29:01 +02:00
Duncaen
2ed0a0ea60
mpick: fix flags
...
fixes #21
2017-03-30 20:29:01 +02:00
Duncaen
0200d437d6
t: add msed tests
2017-03-30 20:29:01 +02:00
Duncaen
59900bed95
t: add magrep tests
2017-03-30 20:29:01 +02:00
Larry Hynes
0c7acf21bb
mpick: fall-trough -> fall-through
2017-03-30 20:29:01 +02:00
Duncaen
d2677046dc
add .travis.yml
2017-03-30 20:29:01 +02:00
Duncaen
914c0d744b
mpick: add missing :R msglist type
2017-03-30 20:28:27 +02:00
Duncaen
79d5047cde
mpick: open mail file only if necessary
2017-03-30 17:07:28 +02:00
Leah Neukirchen
4088f9f70b
t/1000-mmime.t: wc -L is a gnuism
2017-03-30 16:44:00 +02:00
Leah Neukirchen
2c1ecbe4a6
t: beginnings of a test suite
2017-03-30 15:46:47 +02:00
Leah Neukirchen
d73a3a748a
mmime: gen_file: append newline to error message
2017-03-30 15:40:05 +02:00
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 .
2017-03-28 01:03:40 +02:00
Leah Neukirchen
6d492539d6
mquote: use printf
2017-03-26 20:44:10 +02:00
Leah Neukirchen
f771d062a5
mcom: use printf instead of echo
...
Fixes #19 .
2017-03-26 20:43:15 +02:00
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 .
2017-03-26 19:21:33 +02:00
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.
2017-03-26 19:03:16 +02:00
Leah Neukirchen
d21ab392e9
safe_u8putstr: actually transcode assumed latin1 into valid utf8
2017-03-13 17:32:13 +01:00
Leah Neukirchen
53c6a3b37e
mblaze.7: small edits
2017-03-13 16:12:31 +01:00
Leah Neukirchen
04b29f4e30
mscan: kill stray tab in format string
2017-03-13 15:59:18 +01:00
Leah Neukirchen
9733c2b65c
mshow.1: document dangerous output
2017-03-13 15:55:29 +01:00
Leah Neukirchen
564bb223ef
mshow: print plain text safely
2017-03-13 15:54:52 +01:00