about summary refs log tree commit diff
path: root/mscan.c
Commit message (Collapse)AuthorAgeFilesLines
* pledge(2) all programsTim Kuijsten2020-09-061-0/+7
| | | | | | | | | | | | | | | | 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]
* mscan: fix underrun in %F when filename doesn't contain three slashesLeah Neukirchen2020-01-171-0/+13
|
* mscan: add dottime formattingLeah Neukirchen2020-01-021-0/+28
|
* mscan: u8putstr: assume wcwidth of -1 means actually 2 (probably emojis)Leah Neukirchen2019-03-211-1/+4
|
* mscan: rename pid1 to pager_pidLeah Neukirchen2018-09-251-5/+5
|
* mscan: hide message count behind -vLeah Neukirchen2018-09-251-3/+7
| | | | Also ensure output is flushed before printing it.
* mscan: u8putstr: take length of replacement char into accountLeah Neukirchen2018-09-141-0/+1
|
* mscan: prioritize displaying trashed mail over other markersLeah Neukirchen2018-08-261-3/+3
| | | | | | Trashing is the most dangerous flag. Closes #130.
* mscan: u8putstr: factor out common codeLeah Neukirchen2018-01-111-2/+1
|
* mscan: fetch window size from /dev/ttyLeah Neukirchen2017-11-281-1/+4
| | | | Fixes mscan width inside mless.
* revamp utf-8 handling codeLeah Neukirchen2017-11-221-12/+12
|
* mscan: display TO: address decodeLeah Neukirchen2017-11-081-1/+3
|
* mscan: revert width to intLeah Neukirchen2017-10-061-3/+3
|
* use appropriate integer typesLeah Neukirchen2017-10-061-4/+4
| | | | Mainly found with clang -Wconversion -Wshorten-64-to-32.
* styleLeah Neukirchen2017-08-311-6/+6
|
* mscan: use wint_t for %lcLeah Neukirchen2017-05-311-2/+2
| | | | | | %lc arguments in fprintf are of type wint_t, not wchar_t. Reported by Léo Villeveygoux.
* mscan: spawn a pager for interactive useLeah Neukirchen2017-05-231-1/+19
|
* mscan: use %H:%M timestamp for all mails newer than 24hLeah Neukirchen2017-05-211-5/+4
|
* mscan: squeeze slashes for %FLeah Neukirchen2017-04-271-1/+4
| | | | Fixes #30.
* mscan: kill stray tab in format stringLeah Neukirchen2017-03-131-1/+1
|
* mscan: don't print C0 control symbolsLeah Neukirchen2017-03-131-0/+4
|
* clean up whitespaceLeah Neukirchen2017-01-261-4/+4
|
* mscan: fmt_from: first decode RFC2047, then parse addressLeah Neukirchen2017-01-211-10/+10
|
* mscan: styleChristian Neukirchen2016-09-071-2/+2
|
* Add $MBLAZE environment variable to set profile locationIvy Foster2016-09-011-1/+1
| | | | | As a side benefit, all callers of blaze822_home_file need only pass the filename, so the base directory is set in only one place.
* mscan: add %I for message-idChristian Neukirchen2016-08-111-1/+12
|
* mscan: make negative width in %f, %s mean "rest minus N"Christian Neukirchen2016-08-101-2/+4
|
* mscan: add %S for stripped subjectChristian Neukirchen2016-08-101-3/+24
|
* mscan: better width for %FChristian Neukirchen2016-08-091-2/+14
|
* mscan: add width to %bChristian Neukirchen2016-08-091-9/+8
|
* mscan: u8putstr: force left-alignmentChristian Neukirchen2016-08-091-0/+2
|
* mscan: fix formatting of %f without width, and for %s with widthChristian Neukirchen2016-08-091-6/+19
|
* mscan: oneline: fix flag fiddlingChristian Neukirchen2016-08-081-2/+4
|
* mscan: oneline: don't show not existing messages as unseenChristian Neukirchen2016-08-061-1/+1
|
* mscan: default %F left-alignedChristian Neukirchen2016-08-051-1/+1
|
* mscan: silence a warningChristian Neukirchen2016-08-041-1/+1
|
* mscan: actually show To: in TO:Christian Neukirchen2016-08-041-3/+3
|
* mscan: use Scan-Format from profile by defaultChristian Neukirchen2016-08-041-0/+3
|
* mscan: fmt_date: refactor, add 5-char %dChristian Neukirchen2016-08-041-24/+32
|
* mscan: silence %b when !msgChristian Neukirchen2016-08-041-3/+7
|
* mscan: fix %MChristian Neukirchen2016-08-041-1/+3
|
* mscan: adaptive iso dateChristian Neukirchen2016-08-041-0/+2
|
* mscan: look up message number when neededChristian Neukirchen2016-08-041-6/+9
|
* mscan: refactor, slight output changeChristian Neukirchen2016-08-041-93/+102
|
* mscan: support \n and \tChristian Neukirchen2016-08-041-1/+13
|
* mscan: use format stringsChristian Neukirchen2016-08-041-57/+197
|
* rename .santoku to .mblazeChristian Neukirchen2016-08-011-1/+1
|
* mscan: add -n to only print message numberChristian Neukirchen2016-07-311-3/+36
|
* mscan: keep local timeChristian Neukirchen2016-07-281-2/+0
|
* mscan: adaptive date displayChristian Neukirchen2016-07-271-7/+39
|