about summary refs log tree commit diff
path: root/mthread.c
Commit message (Collapse)AuthorAgeFilesLines
* mthread: reduce memory usageJulian Rother2022-03-131-5/+2
| | | | | | | | mthread keeps header data of all messages in memory until it exits without ever using it. With this change it frees the header data of each message right after processing it. Closes: #222 [via git-merge-pr]
* pledge(2) all programsTim Kuijsten2020-09-061-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]
* mthread: remove count outputLeah Neukirchen2020-05-161-5/+2
| | | | Closes #174.
* mthread: comment depth conventionLeah Neukirchen2020-05-041-0/+3
|
* mthread: add -p to only add parent messages via -SLeah Neukirchen2020-05-041-3/+6
|
* mthread: add -r to reverse top-level orderLeah Neukirchen2020-05-041-3/+12
|
* mthread: make malloc failure fatalLeah Neukirchen2019-05-031-0/+6
|
* mthread: keep toplevel thread date-order when pruningLeah Neukirchen2018-08-211-1/+2
| | | | | | Else this could result in a toplevel thread getting pruned, but its child has an older date than was calculated by newest(), messing up the order.
* mthread: avoid truncating internal bufferLeah Neukirchen2018-08-151-1/+1
|
* mthread: thread: fix small leakLeah Neukirchen2018-01-111-0/+2
|
* blaze822: blaze822_loop: use long as return typeLeah Neukirchen2018-01-071-2/+3
|
* styleLeah Neukirchen2017-08-311-11/+11
|
* mthread: add optional message supportLeah Neukirchen2017-06-301-3/+33
|
* mthread: fix infinite recursionLeah Neukirchen2017-06-301-0/+4
| | | | | | | | | | | | | This fixes: References: <5> <4> <6> Message-ID: <3> References: <6> Message-ID: <5> References: <3> <2> Message-ID: <1>
* mthread: ignore sequence indentation, to allow rethreadingLeah Neukirchen2017-06-291-0/+3
|
* mthread: add usageChristian Neukirchen2016-07-261-1/+1
|
* mthread: use blaze822_loop1Christian Neukirchen2016-07-231-5/+3
|
* mthread: -v to not pruneChristian Neukirchen2016-07-201-4/+16
|
* mthread: default to all messages when interactive w/o argsChristian Neukirchen2016-07-201-1/+7
|
* mthread: rename from threadChristian Neukirchen2016-07-201-0/+375