Leah Neukirchen
7e9e75bd88
mshow: print encoding error message to stderr
2020-08-02 14:09:56 +02:00
Leah Neukirchen
957c09909d
mshow: only set cur when there is a new current message
2020-08-02 14:00:22 +02:00
Duncan Overbruck
d9c3914924
mpick: breaking cmdline options
...
Two breaking changes which will make mpick fit more in with
all other mblaze tools by using mmsg(7) arguments:
- Use the -F flag to read script files.
- Remove msglist support
2020-07-30 22:18:21 +02:00
Leah Neukirchen
96c506085f
t: use - instead of /dev/stdin
2020-07-03 17:49:34 +02:00
Leah Neukirchen
30f3054bac
contrib/malternative: use - instead of /dev/stdin
2020-07-03 17:48:58 +02:00
Leah Neukirchen
b063294daf
mcom: use - instead of /dev/stdin
2020-07-03 17:48:39 +02:00
Leah Neukirchen
e7442fcc72
seq: - now refers to the message on stdin, use .- for previous message
2020-07-03 17:26:48 +02:00
Leah Neukirchen
54283ebeee
seq: cleanup
2020-07-03 16:41:57 +02:00
Julian Rother
db7b58f24a
mpick: fixed freeing pointer returned from getenv
...
Closes : #177 [via git-merge-pr]
2020-06-07 15:33:53 +02:00
Julian Rother
e5206792df
t/2000-mpick.t: test environment variables in expressions
2020-06-07 15:33:53 +02:00
Leah Neukirchen
282de65079
mrep: use Reply-From configuration to find From header
...
This allows replying from different addresses than Local-Mailbox
if they appear in To, Cc or Bcc.
Idea and initial patch by @nmeum.
2020-05-23 16:00:06 +02:00
Leah Neukirchen
3ea0c9c355
mrep: don't add another From: when -from is used already
...
Fixes #176 .
2020-05-23 15:41:59 +02:00
Leah Neukirchen
17fe13a95f
add contrib/mcount, a tool to count mails (possibly between pipes)
2020-05-16 21:31:12 +02:00
Leah Neukirchen
41a9a6b40d
mthread: remove count output
...
Closes #174 .
2020-05-16 21:20:41 +02:00
Leah Neukirchen
d777d370dd
t/lib.sh: work around a OpenBSD bug
...
Upstream report: https://marc.info/?i=871rnjhncc.fsf%20()%20vuxu%20!%20org
2020-05-16 18:54:39 +02:00
Leah Neukirchen
fb77179bbd
NEWS.md: update for 0.7
2020-05-15 18:52:13 +02:00
Leah Neukirchen
7cd43f4203
mlist: fix dangling else warning
2020-05-15 18:51:25 +02:00
Duncan Overbruck
b79e38b686
mpick: improve unknown binding error and add test case
2020-05-15 18:41:13 +02:00
Duncan Overbruck
0645634733
t/2000-mpick.t: check for double free with bindings
2020-05-15 18:41:13 +02:00
Duncan Overbruck
95a9c0837b
mpick: fix memory leaks
2020-05-15 18:41:13 +02:00
Duncaen
331d0e4680
mpick: use slurp instead of mmaping files
2020-05-15 18:41:13 +02:00
Duncaen
d45d1c4ff5
mpick: fix memory leak in parse_dur
2020-05-15 18:41:13 +02:00
Duncaen
d93c1e2fe4
mpick: always point to malloc memory in parse_string
2020-05-15 18:41:13 +02:00
Duncaen
aa2868822b
t/2000-mpick.t: add tests for all the new features
2020-05-15 18:41:13 +02:00
Duncaen
8ae4801dd4
mpick: add header decodeop for better address matching
2020-05-15 18:41:13 +02:00
Duncaen
32f0fcbc0d
mpick: add let expressions
2020-05-15 18:41:13 +02:00
Duncaen
d5afda072b
mpick: better error for missing ) over multiple lines
2020-05-15 18:41:13 +02:00
Duncaen
4baa330b63
mpick: allow reading expressions from files i.e. using #!/bin/mpick
2020-05-15 18:41:13 +02:00
Duncaen
d235a3e64c
mpick: minor cleanups/memleak fixes for parse_msglist
2020-05-15 18:41:13 +02:00
Duncaen
482bbffd2c
mpick: refactor mailfile handling
...
- fix some memory leaks
- fix handling of unexisting files/mthread containers
- in oneline mode use one mailinfo struct for each line
2020-05-15 18:41:13 +02:00
Duncaen
1010ae06bf
mpick: add support for multiline expressions and comments
2020-05-15 18:41:13 +02:00
Duncaen
b8cf02825a
mpick: add xcalloc and xstrdup
2020-05-15 18:41:13 +02:00
Duncaen
28d0d51e34
mpick: add freeexpr
2020-05-15 18:41:13 +02:00
Duncaen
8f0b6e2117
mpick: add ternary (conditional) operator
2020-05-15 18:41:13 +02:00
Duncaen
3968f2ef03
mpick: add skip expression
2020-05-15 18:41:13 +02:00
Duncaen
401aa88752
mpick: add pipes and file redirection
2020-05-15 18:41:13 +02:00
Duncaen
eec6a4ebfd
mdeliver.1: add mrefile to SEE ALSO
2020-05-15 18:41:13 +02:00
Leah Neukirchen
41c8fefb73
blaze822_walk_mime: limit recursion depth
2020-05-09 23:09:48 +02:00
Leah Neukirchen
61caf5a6a3
mthread: comment depth convention
2020-05-04 15:00:07 +02:00
Leah Neukirchen
4927d44d55
mthread: add -p to only add parent messages via -S
2020-05-04 14:58:58 +02:00
Leah Neukirchen
62da7c59ea
mthread: add -r to reverse top-level order
2020-05-04 14:45:07 +02:00
Leah Neukirchen
a5c77c71bc
mlist: print number of matches when message selection is in place
2020-04-30 23:45:35 +02:00
Leah Neukirchen
e4e15bb4f0
mflag: list: don't clobber f when flags and -i is used
2020-04-30 23:27:39 +02:00
Leah Neukirchen
d83860c34e
man/*: normalize references, use %T for RFC titles
2020-04-27 01:00:13 +02:00
Alyssa Ross
3663d7365b
msuck: don't init maildir until connected
...
Previously, a typo in the newsgroup name would leave an empty mailbox
for a non-existent newsgroup. This can be avoided by delaying maildir
initialization until after the NNTP server has 221ed the group.
2020-04-15 13:56:59 +02:00
Alyssa Ross
99b7d47a10
msuck: exit unsuccessfully if some groups failed
...
The failing exit status is EX_UNAVAILABLE from BSD's sysexits.h.
2020-04-15 13:31:58 +02:00
Leah Neukirchen
e56f8ad294
blaze822: blaze822_addr: null-terminate ttok at the current position before appending
2020-04-03 22:46:35 +02:00
Leah Neukirchen
3370fd5f70
blaze822: blaze822_addr: don't force add space before quoted words
2020-04-03 22:10:58 +02:00
Leah Neukirchen
8c8a4bd422
blaze822: blaze822_addr: ignore leading obs-route
2020-04-03 21:31:02 +02:00
Leah Neukirchen
d50bb5772a
maddr: add -d to only print display name.
2020-03-30 19:02:55 +02:00