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
Leah Neukirchen
14a12635bd
mscan: don't print C0 control symbols
2017-03-13 15:49:30 +01:00
Duncaen
0370a28d49
msed: prefix error messages
2017-02-24 15:10:56 +01:00
Duncaen
73c833847e
msed: error out on invalid expressions
2017-02-24 15:09:06 +01:00
Duncaen
8cd560fd42
magrep: use printf string precision to print matches instead of strndup
2017-02-23 20:47:38 +01:00
Duncaen
d3f14eaa55
mpick.1: improve EXAMPLES
2017-02-23 20:35:15 +01:00
Duncaen
5eea6f4efb
mpick: fix warnings found by clang-analyze
2017-02-23 20:35:14 +01:00
Duncaen
24e3291723
magrep: continue matching mime parts in -p and or -o mode
2017-02-23 20:35:14 +01:00
Duncaen
10ed969f06
magrep: match body line by line if -p is specified without -c, -v and -o
2017-02-23 20:35:14 +01:00