Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mpick: use function pointer type for callback | Michael Forney | 2020-09-25 | 1 | -1/+1 |
| | | | | | | | | Though POSIX requires this conversion to work correctly (for dlsym), it is not valid in ISO C, so it is better to just uses the appropriate function pointer type. Closes: #185 [via git-merge-pr] | ||||
* | mpick: relax pledge for redirects | Leah Neukirchen | 2020-09-06 | 1 | -1/+1 |
| | | | | | This allows mpick to create files and run popen. In the future, we can only pledge this if these features are actually used. | ||||
* | pledge(2) all programs | Tim Kuijsten | 2020-09-06 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | All programs except mshow have a very tight set of promises. mshow has a broad set of promises and might be a good future candidate to further restrict using unveil(2). This patch is based on commit 0300a112 by Alex Holst (dated 2017-12-07), which was proposed in GH PR #79. * pledged mpick, mflow and mdate so that now all programs are pledged * removed some unneeded promises and added some missing promises * move err.h include and OpenBSD ifdef into a new xpledge.h * cleaned up code aligning and whitespace Closes: #179 [via git-merge-pr] | ||||
* | mpick: breaking cmdline options | Duncan Overbruck | 2020-07-30 | 1 | -127/+18 |
| | | | | | | | 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 | ||||
* | mpick: fixed freeing pointer returned from getenv | Julian Rother | 2020-06-07 | 1 | -1/+2 |
| | | | | Closes: #177 [via git-merge-pr] | ||||
* | mpick: improve unknown binding error and add test case | Duncan Overbruck | 2020-05-15 | 1 | -3/+3 |
| | |||||
* | mpick: fix memory leaks | Duncan Overbruck | 2020-05-15 | 1 | -8/+24 |
| | |||||
* | mpick: use slurp instead of mmaping files | Duncaen | 2020-05-15 | 1 | -14/+7 |
| | |||||
* | mpick: fix memory leak in parse_dur | Duncaen | 2020-05-15 | 1 | -14/+15 |
| | |||||
* | mpick: always point to malloc memory in parse_string | Duncaen | 2020-05-15 | 1 | -2/+2 |
| | |||||
* | mpick: add header decodeop for better address matching | Duncaen | 2020-05-15 | 1 | -72/+104 |
| | |||||
* | mpick: add let expressions | Duncaen | 2020-05-15 | 1 | -4/+110 |
| | |||||
* | mpick: better error for missing ) over multiple lines | Duncaen | 2020-05-15 | 1 | -6/+7 |
| | |||||
* | mpick: allow reading expressions from files i.e. using #!/bin/mpick | Duncaen | 2020-05-15 | 1 | -5/+40 |
| | |||||
* | mpick: minor cleanups/memleak fixes for parse_msglist | Duncaen | 2020-05-15 | 1 | -8/+6 |
| | |||||
* | mpick: refactor mailfile handling | Duncaen | 2020-05-15 | 1 | -65/+66 |
| | | | | | | - fix some memory leaks - fix handling of unexisting files/mthread containers - in oneline mode use one mailinfo struct for each line | ||||
* | mpick: add support for multiline expressions and comments | Duncaen | 2020-05-15 | 1 | -12/+57 |
| | |||||
* | mpick: add xcalloc and xstrdup | Duncaen | 2020-05-15 | 1 | -28/+38 |
| | |||||
* | mpick: add freeexpr | Duncaen | 2020-05-15 | 1 | -0/+46 |
| | |||||
* | mpick: add ternary (conditional) operator | Duncaen | 2020-05-15 | 1 | -5/+33 |
| | |||||
* | mpick: add skip expression | Duncaen | 2020-05-15 | 1 | -0/+5 |
| | |||||
* | mpick: add pipes and file redirection | Duncaen | 2020-05-15 | 1 | -5/+109 |
| | |||||
* | mpick: fix off-by-one in parse_string (expression parsing) v0.5 | Duncaen | 2019-02-08 | 1 | -1/+1 |
| | |||||
* | mpick: add -v to usage | Duncaen | 2018-09-25 | 1 | -1/+1 |
| | |||||
* | mpick: add -v flag | Duncaen | 2018-09-25 | 1 | -2/+6 |
| | | | | Closes: #137 [via git-merge-pr] | ||||
* | mpick: Increase buffer for decoded header field | Marcin Niestroj | 2018-08-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | When using: $ mlist maildir | mpick -t '"cc" ~~ "*vger.kernel.org*"' with a maildir containing mails from Linux Mailing List, not all messages were picked correctly. It turned out that the reason was small (100 bytes) buffer for header fields. Increase header field buffer to 4096, which is the most commonly used value. Closes: #133 [via git-merge-pr] | ||||
* | mpick: don't allow EXPR_ANYSET with unmatched operator | Duncaen | 2018-02-05 | 1 | -2/+2 |
| | |||||
* | mpick: add negations | Duncaen | 2017-10-26 | 1 | -0/+20 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 1 | -13/+13 |
| | |||||
* | mpick: make message numbers starting at one | Duncaen | 2017-04-27 | 1 | -0/+1 |
| | | | | fixes #29 | ||||
* | mpick: allow string expressions on any header | Duncaen | 2017-04-17 | 1 | -17/+19 |
| | |||||
* | mpick: prent -> parent | Larry Hynes | 2017-03-30 | 1 | -1/+1 |
| | | | | Closes: #23 [via git-merge-pr] | ||||
* | mpick: fix subject caching | Duncaen | 2017-03-30 | 1 | -7/+12 |
| | |||||
* | mpick: fix flags | Duncaen | 2017-03-30 | 1 | -6/+5 |
| | | | | fixes #21 | ||||
* | mpick: fall-trough -> fall-through | Larry Hynes | 2017-03-30 | 1 | -4/+4 |
| | |||||
* | mpick: add missing :R msglist type | Duncaen | 2017-03-30 | 1 | -0/+1 |
| | |||||
* | mpick: open mail file only if necessary | Duncaen | 2017-03-30 | 1 | -4/+9 |
| | |||||
* | mpick: fix warnings found by clang-analyze | Duncaen | 2017-02-23 | 1 | -11/+19 |
| | |||||
* | mpick: add msglist from address support | Duncaen | 2017-01-20 | 1 | -1/+21 |
| | | | | Fixes #9 | ||||
* | mpick: add kept expression | Duncaen | 2017-01-20 | 1 | -0/+4 |
| | |||||
* | mpick: fix reuse of num | Duncaen | 2017-01-20 | 1 | -13/+13 |
| | |||||
* | mpick: shuffle for OpenBSD/FreeBSD | Christian Neukirchen | 2016-09-05 | 1 | -2/+4 |
| | |||||
* | mpick: fix subject expression, broke while normalizing style | Duncaen | 2016-07-30 | 1 | -2/+2 |
| | |||||
* | mpick: fixes | Duncaen | 2016-07-29 | 1 | -2/+2 |
| | |||||
* | mpick: fix date expressions | Duncaen | 2016-07-29 | 1 | -1/+2 |
| | |||||
* | mpick: add 'cur' variable to number expressions | Duncaen | 2016-07-29 | 1 | -14/+43 |
| | |||||
* | mpick: add to and from string expressions | Duncaen | 2016-07-28 | 1 | -26/+56 |
| | |||||
* | mpick: add info expression for message ids without files | Duncaen | 2016-07-28 | 1 | -0/+9 |
| | | | | and mark them seen by default | ||||
* | mpick: drop const | Christian Neukirchen | 2016-07-28 | 1 | -9/+9 |
| | |||||
* | mpick: add mmsg(7) style ranges to msglist | Christian Neukirchen | 2016-07-28 | 1 | -2/+2 |
| |