summary refs log tree commit diff
path: root/seq.c
Commit message (Collapse)AuthorAgeFilesLines
* use appropriate integer typesLeah Neukirchen2017-10-061-3/+3
| | | | Mainly found with clang -Wconversion -Wshorten-64-to-32.
* styleLeah Neukirchen2017-08-311-2/+2
|
* seq: use of ^ should not produce a "parse" error when parent isn't foundOliver Kiddle2017-07-031-15/+19
| | | | Closes: #57 [via git-merge-pr]
* seq: parse_relnum: initial + in stop part of a message range selects ↵Oliver Kiddle2017-07-021-3/+5
| | | | | | | | relative to the start So, e.g 4:+5 is the same as 4:9 Closes: #44 [via git-merge-pr]
* seq: parse_range: = _ and ^ default to being relative to cur instead of ↵Oliver Kiddle2017-07-021-1/+4
| | | | message 1
* seq: parse_relnum: fix for thread message syntax relative to . or $Oliver Kiddle2017-07-021-4/+5
| | | | | | | With a message such as .^ specified, strtol() was used on the caret. On Linux this worked by accident because strtol() doesn't return an error but it fails on, e.g. FreeBSD. Furthermore, it was not possible to specify relative offsets after $.
* seq: blaze822_seq_open: display error when opening the sequence failedLeah Neukirchen2017-06-291-1/+5
|
* seq: fix selecting subthreads at the end of sequences and add test casesDuncaen2017-04-011-1/+3
|
* clean up whitespaceLeah Neukirchen2017-01-261-7/+7
|
* seq: avoid infinite loop in "mscan -n ."Christian Neukirchen2016-12-311-1/+1
|
* seq: slurp the file instead of mmapChristian Neukirchen2016-10-051-13/+3
| | | | mmap is not robust when there are writes possible.
* Add $MBLAZE environment variable to set profile locationIvy Foster2016-09-011-4/+12
| | | | | 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.
* seq: blaze822_home_file: guard missing entry in /etc/passwd or empty $HOMEChristian Neukirchen2016-09-011-1/+8
|
* seq: blaze822_seq_cur: use void prototypeChristian Neukirchen2016-09-011-1/+1
|
* seq: add $MAILDOT to override the value of .Christian Neukirchen2016-08-091-0/+8
|
* seq: exit with 2 on fatal parsing errorChristian Neukirchen2016-08-081-1/+1
|
* seq: parse_parent: bump previndent sizeChristian Neukirchen2016-08-071-3/+3
|
* seq: add thread selectorsChristian Neukirchen2016-08-051-3/+126
|
* seq: fix message number reporting when using iterdirChristian Neukirchen2016-08-041-4/+8
|
* rename .santoku to .mblazeChristian Neukirchen2016-08-011-3/+3
|
* seq: don't crash when cur link doesn't existChristian Neukirchen2016-07-311-1/+2
|
* seq: blaze822_seq_next: fix mseq -n .Christian Neukirchen2016-07-281-1/+2
|
* seq: parse .: correctlyChristian Neukirchen2016-07-281-5/+12
|
* guard DT_* usageChristian Neukirchen2016-07-261-0/+2
| | | | It's a shortcut anyway, just leave it out
* seq: blaze822_seq_next: special case for plain "."Christian Neukirchen2016-07-261-0/+10
| | | | It may be outside the sequence, still resolve it.
* rename map to seqChristian Neukirchen2016-07-261-2/+2
| | | | The old terminology didn't make much sense to users.
* seq: rename iterfile to iterdirChristian Neukirchen2016-07-261-2/+2
|
* seq: fix parsing of plain .Christian Neukirchen2016-07-241-0/+2
|
* seq: add blaze822_loop1 for easier argument overridingChristian Neukirchen2016-07-231-0/+7
|
* seq: blaze822_loop: drop - for stdin (conflicts with .-1)Christian Neukirchen2016-07-221-1/+1
|
* seq: clean upChristian Neukirchen2016-07-211-1/+0
| | | | Found by clang-analyzer.
* seq: iterate over dirs and cur/ of maildirsChristian Neukirchen2016-07-201-1/+36
|
* seq: export blaze822_home_fileChristian Neukirchen2016-07-201-6/+6
|
* seq: guard misparseChristian Neukirchen2016-07-201-0/+3
|
* seq: blaze822_loop: count file arguments tooChristian Neukirchen2016-07-181-0/+1
|
* seq: move map/cur to ~/.santokuChristian Neukirchen2016-07-181-10/+40
|
* clean up header includesChristian Neukirchen2016-07-181-8/+8
|
* seq: import most parts of mseq, make blaze822_loop resolve rangesChristian Neukirchen2016-07-181-0/+198
|
* mseq: extract code into seq.cChristian Neukirchen2016-07-171-0/+101