2 months agomhl and mhbuild ignore to long lines master
Philipp Takacs [Sun, 17 Sep 2023 16:35:35 +0000 (18:35 +0200)]
mhl and mhbuild ignore to long lines

2 months agomhbuild implement header folding
Philipp Takacs [Fri, 25 Aug 2023 18:28:55 +0000 (20:28 +0200)]
mhbuild implement header folding

2 months agoAdded charstring "class"
Philipp Takacs [Thu, 21 Sep 2023 10:27:02 +0000 (12:27 +0200)]
Added charstring "class"

manual cherry-picked from nmh
Author: David Levine <>
commit c61294eca5edf4f245c2d8818bf53d3bdc3d80c1

2 months agoadd some gcc hint defines
Philipp Takacs [Thu, 21 Sep 2023 10:18:34 +0000 (12:18 +0200)]
add some gcc hint defines

The defines can help the compiler to produce better warnings
and errors.

This is manual cherrypicked from nmh

3 months agosend fix signed of length variable
Philipp Takacs [Sun, 20 Aug 2023 07:50:29 +0000 (09:50 +0200)]
send fix signed of length variable

3 months agosend use m_getfld2
Philipp Takacs [Sun, 20 Aug 2023 07:49:46 +0000 (09:49 +0200)]
send use m_getfld2

6 months agofix threadid NULL deref
Philipp Takacs [Sun, 14 May 2023 00:12:49 +0000 (02:12 +0200)]
fix threadid NULL deref

strchr returns NULL if the character is not found.

14 months agoFix recipient counting in spost
Philipp Takacs [Mon, 3 Oct 2022 23:27:19 +0000 (01:27 +0200)]
Fix recipient counting in spost

The wrong variable was added to the recipient count. This could
lead to a to small **argv for exec.

3 years agoremove duplicate definition of tmp in uip/mhbuild.c
Philipp Takacs [Fri, 21 Aug 2020 15:42:07 +0000 (17:42 +0200)]
remove duplicate definition of tmp in uip/mhbuild.c

The tmp variable is already defined in uip/mhparse.c.
This fixes a build error on FreeBSD 13

3 years agoadd irc channel to README
Philipp Takacs [Wed, 13 May 2020 21:15:44 +0000 (23:15 +0200)]
add irc channel to README

3 years agoclear msgflags in folder_delmsg
Philipp Takacs [Sun, 29 Mar 2020 16:20:12 +0000 (18:20 +0200)]
clear msgflags in folder_delmsg

If a message is moved or deleted the msgflags are cleared now. Therefore
the .mh_sequences file will get updated on refile/rmm.

3 years agouse scandir in folder_read
Philipp Takacs [Thu, 19 Mar 2020 01:50:51 +0000 (02:50 +0100)]
use scandir in folder_read

3 years agouse memset to clear the msgstats in folder_realloc
Philipp Takacs [Wed, 18 Mar 2020 20:46:30 +0000 (21:46 +0100)]
use memset to clear the msgstats in folder_realloc

3 years agodon't manuall clear the message flags
Philipp Takacs [Wed, 18 Mar 2020 19:02:19 +0000 (20:02 +0100)]
don't manuall clear the message flags

because we use calloc the message flags are cleared
after the allocation.

3 years agoset SEQMOD if clear_msg_flags change the flags
Philipp Takacs [Wed, 18 Mar 2020 18:53:44 +0000 (19:53 +0100)]
set SEQMOD if clear_msg_flags change the flags

This fixes a bug in folder_addmsg. If the sequences file containes
the new msgnum, seq_save won't override this.

3 years agoseq_read and seq_list also recognise msg which don't exist
Philipp Takacs [Wed, 18 Mar 2020 18:53:25 +0000 (19:53 +0100)]
seq_read and seq_list also recognise msg which don't exist

This allows better handling of raceconditions, like a new mail gets
deliverd while a unreed mail is shown.

3 years agoupdate unseen sequence after display
Philipp Takacs [Sun, 15 Dec 2019 13:44:57 +0000 (14:44 +0100)]
update unseen sequence after display

before this patch, if messages are displaied with a pager and during
that time a new message comes to the folder. The new message is added
to the unseen sequence. But after closing the pager the unseen sequence
gets overwritten and the new message is removed from the unseen

Now the sequence file gets reread before remove the shown messages
from the unseen sequenece.

3 years agoremove Previus-Sequence support
Philipp Takacs [Sun, 8 Dec 2019 16:54:29 +0000 (17:54 +0100)]
remove Previus-Sequence support

The Previus-Sequence was racy and introduce a lot of write accesses.
Also most use cases can solved better with shell history and command
line editing.

4 years agoremove unused defines in uip/pick.c
Philipp Takacs [Mon, 10 Jun 2019 11:55:02 +0000 (13:55 +0200)]
remove unused defines in uip/pick.c

These defines were used for the old pattern matching.
Since we use regex(3) they aren't used.

4 years agoindentation fix in uip/pick.c
Philipp Takacs [Mon, 10 Jun 2019 11:42:53 +0000 (13:42 +0200)]
indentation fix in uip/pick.c

use tab instand of spaces

4 years agopick matching rework
Philipp Takacs [Mon, 10 Jun 2019 01:17:36 +0000 (03:17 +0200)]
pick matching rework

the last rewrite of the matching implementation was a bit overcomplex.
Now the structures are better to read and without function pointers.

Also now the -not switch is working again.
The early return true in the last version causes this.
Now the leafs of the matching tree remeber, if the message has matched.

4 years agomhshow: properly treat unknown multipart subtypes as "mixed"
Paul Fox [Fri, 7 Dec 2012 15:27:52 +0000 (10:27 -0500)]
mhshow:  properly treat unknown multipart subtypes as "mixed"

Use default method to display this multipart content.  Even
unknown types are displayable, since they're treated as mixed
per RFC 2046.

4 years agoEnsure that message boundaries generated by mhsign are ascii-only
Dmitry Bogatov [Sun, 5 May 2019 19:41:06 +0000 (19:41 +0000)]
Ensure that message boundaries generated by mhsign are ascii-only

mhsign sometimes generates boundary separators in multipart messages
with non-ascii symbols in it. Use the C locale while generating the
separator fix this bug.

4 years agoman fix hyphen usage in repl(1)
Dmitry Bogatov [Thu, 15 Feb 2018 20:16:13 +0000 (23:16 +0300)]
man fix hyphen usage in repl(1)

the file etc/mhl.reply is included in repl(1).

4 years agoFix spelling errors in manpages
Dmitry Bogatov [Thu, 31 Jan 2019 20:31:10 +0000 (21:31 +0100)]
Fix spelling errors in manpages

4 years agofix logic bug in getthreadid
Philipp Takacs [Fri, 11 Jan 2019 01:28:29 +0000 (02:28 +0100)]
fix logic bug in getthreadid

getthreadid now early exit the m_getfld2 loop, if the message-id _and_
the references field is found. Without this the wrong thread-id may
found if the message-id field is before the references field.
Thanks c_14 for reporting

4 years agoThis is mmh-0.4 mmh-0.4
Philipp Takacs [Sun, 6 Jan 2019 11:21:08 +0000 (12:21 +0100)]
This is mmh-0.4

4 years agoinclude libgen.h in pick.c
Philipp Takacs [Sun, 6 Jan 2019 17:31:19 +0000 (18:31 +0100)]
include libgen.h in pick.c

libgen.h provides basename(). basename() is used for
the error message introduced ec2171174c019bdc83002cc29d06357e30b4b90d

4 years agoremove dtimep.c only in distclean
Philipp Takacs [Sun, 6 Jan 2019 11:27:37 +0000 (12:27 +0100)]
remove dtimep.c only in distclean

this avoids flex dependency for the tarball

4 years agoautomitc set the owner/group in release tar
Philipp Takacs [Sun, 6 Jan 2019 02:13:04 +0000 (03:13 +0100)]
automitc set the owner/group in release tar

4 years agodepricate whatnow
Philipp Takacs [Sat, 5 Jan 2019 19:35:50 +0000 (20:35 +0100)]
depricate whatnow

Now a depricated warning is printed at the usage of whatnow.
Also add a BUG section to the manpage.

4 years agofail in pick if a massage of -thread has no thread-id
Philipp Takacs [Sat, 5 Jan 2019 13:30:57 +0000 (14:30 +0100)]
fail in pick if a massage of -thread has no thread-id

If pick -thread is used with a message without a message-id
or a references header field pick now fails. This prevents
falling back to all messages as default.

4 years agopick fix segfault
Philipp Takacs [Wed, 2 Jan 2019 15:14:21 +0000 (16:14 +0100)]
pick fix segfault

pick now copy the static memory which is later freed.
Also fix the access to uninitialized variable in getthreadid().
Thanks c_14 for reporting.

4 years agorename whatnow2 tests
Philipp Takacs [Mon, 31 Dec 2018 11:42:01 +0000 (12:42 +0100)]
rename whatnow2 tests

the testsystem require the format test-* for tests

4 years agowhatnow2 save metainformation in the draft itself
Philipp Takacs [Mon, 31 Dec 2018 01:54:23 +0000 (02:54 +0100)]
whatnow2 save metainformation in the draft itself

by default meta information like last editor or altmsg is stored in
the draft ifself. This can be overritten by the profile entry

4 years agoh/mh.h remove comma at the end of enum state
Philipp Takacs [Sun, 30 Dec 2018 02:11:53 +0000 (03:11 +0100)]
h/mh.h remove comma at the end of enum state

This is a C99 feature and mmh stick to C98.
Just to stop the noise from the compiler ;-)

4 years agoMerge branch 'pick' into master
Philipp Takacs [Sun, 30 Dec 2018 01:37:25 +0000 (02:37 +0100)]
Merge branch 'pick' into master

scan and pick is merged and pick matching is streamlined

4 years agomerge pick and scan manpage pick
Philipp Takacs [Sun, 30 Dec 2018 00:51:06 +0000 (01:51 +0100)]
merge pick and scan manpage

Now only one manpage for scan and pick is dokumentating
the usage of pick/scan.

5 years agoadd raw option to mhl
Philipp Takacs [Mon, 26 Nov 2018 00:02:53 +0000 (01:02 +0100)]
add raw option to mhl

raw allows to output a header as in the input, no changes are done
by mhl. This is written for whatnow2. whatnow2 shall safe some data
in the draft and use mhl with ignore to remove this data. Also other tools can
use mhl to filter some header fields out of a message without changing the
message itself.

5 years agowhatnow2 handle mhuse
Philipp Takacs [Wed, 21 Nov 2018 01:34:56 +0000 (02:34 +0100)]
whatnow2 handle mhuse

If mhuse is set don't write new envirement to the metafile. mhuse
is set, when comp -use is used.

5 years agostrict use "" in whatnow2
Philipp Takacs [Wed, 21 Nov 2018 01:26:49 +0000 (02:26 +0100)]
strict use "" in whatnow2

5 years agomhl implement simple globbing
Philipp Takacs [Mon, 10 Jul 2017 14:34:45 +0000 (16:34 +0200)]
mhl implement simple globbing

ignores now supports simple globbing

5 years agofix indention in uip/mhl.c
Philipp Takacs [Fri, 23 Nov 2018 00:41:06 +0000 (01:41 +0100)]
fix indention in uip/mhl.c

5 years agoTrailing withspace handling in mhl
Philipp Takacs [Mon, 19 Nov 2018 02:04:12 +0000 (03:04 +0100)]
Trailing withspace handling in mhl

If a component has trailing whitespace, e.g., body:component="> ", mhl
now trims that whitespace off when filtering blank text lines. Also add
a rtrim flag to mhl. This flag removes trailing whitespace in filtert text.

The implementation was done by David Levine <> for nmh
commit ea0a6d8112a918809bd03d8126411040d22f2bb8
commit 1aa8f3e11e6d83ee4806abaa132ab9466f02ca5f

5 years agoread the defaultfolder from the profile
Philipp Takacs [Fri, 26 Oct 2018 19:53:36 +0000 (21:53 +0200)]
read the defaultfolder from the profile

context_read now creates the inbox specified in the profile,
instand of create the compiletime default.

5 years agopick implement rfc2047
Philipp Takacs [Wed, 21 Nov 2018 22:25:54 +0000 (23:25 +0100)]
pick implement rfc2047

5 years agofix logic bug in pick GREPaction
Philipp Takacs [Wed, 21 Nov 2018 22:23:10 +0000 (23:23 +0100)]
fix logic bug in pick GREPaction

GREPaction now check the header field correct

5 years agoremove free of static memory
Philipp Takacs [Wed, 21 Nov 2018 21:06:22 +0000 (22:06 +0100)]
remove free of static memory

5 years agoFix blind list alias expansion
David Levine [Mon, 15 Oct 2012 00:27:17 +0000 (19:27 -0500)]
Fix blind list alias expansion

The first alias contained in a blind list is now expanded. The
mh-alias(5) man page was updated to show that blind lists must not be
terminated with, or contain, a trailing semicolon [Bug #15604].

5 years agoFix test/tests/show/test-longlines
markus schnalke [Sun, 4 Nov 2018 13:11:01 +0000 (14:11 +0100)]
Fix test/tests/show/test-longlines

Although it worked correct on the server, it did not in terminals
which have a number of columns set, like those connected to a screen.
The test now sets `-width 2000' for mhl(1) via the test config.

5 years agoFix test/tests/send/test-mimeify
markus schnalke [Sun, 4 Nov 2018 13:07:43 +0000 (14:07 +0100)]
Fix test/tests/send/test-mimeify

The size differences came from generated values of the Content-ID
headers. They depend on the hostname and thus vary in length. leading
to different MIME part sizes. The solution is replacing all
Content-IDs with static values. The helper function replace_contentid()
is added to

5 years agoAdd test for empty sequence patch by c_14
markus schnalke [Wed, 31 Oct 2018 10:32:39 +0000 (11:32 +0100)]
Add test for empty sequence patch by c_14

i.e. for commit 850190587ff71010fc63e44ca01a93a44c96f58e

5 years agoIgnore folders with an empty sequence in new
c_14 [Mon, 1 Oct 2018 14:01:52 +0000 (16:01 +0200)]
Ignore folders with an empty sequence in new

This solves the issue where `new' lists folders that have an empty
sequence (e.g. the unseen sequence), this also prevents `fnext' and
`fprev' from navigating to such folders.

5 years agoUse the same mh_hostname() function from test/common.h in mhsign(1)
Vasilii Kolobkov [Thu, 19 Jul 2018 16:55:57 +0000 (18:55 +0200)]
Use the same mh_hostname() function from test/common.h in mhsign(1)

5 years agoFix tests to run on OpenBSD
Vasilii Kolobkov [Thu, 19 Jul 2018 16:54:07 +0000 (18:54 +0200)]
Fix tests to run on OpenBSD

  Use a hardcoded sequence for there's no seq(1) in OpenBSD.

  awk(1) doesn't support interval regular expression syntax ({n,m})
  on some BSDs.

  hostname(1) has no -f flag on OpenBSD and. Try it first and
  fallback to `uname -n`.

  Omit explicit template in mktemp(1) call.

5 years agoRemove tests/inc/test-eom-align
Vasilii Kolobkov [Thu, 19 Jul 2018 09:56:11 +0000 (11:56 +0200)]
Remove tests/inc/test-eom-align

Reimplemented m_getfld2() makes it obsolete.

5 years agoExtend test for long lines with CRLF
markus schnalke [Sun, 15 Jul 2018 11:41:17 +0000 (13:41 +0200)]
Extend test for long lines with CRLF

5 years agospost accept body lines with 998 characters
Philipp Takacs [Sat, 14 Jul 2018 11:41:09 +0000 (13:41 +0200)]
spost accept body lines with 998 characters

5 years agocheck for crlf in m_getfld2
Philipp Takacs [Sat, 14 Jul 2018 09:24:36 +0000 (11:24 +0200)]
check for crlf in m_getfld2

now header fields witch lines 998 chars and crlf
are accepted.

5 years agoAdd test to check for correct handling of long lines
markus schnalke [Sun, 15 Jul 2018 11:28:13 +0000 (13:28 +0200)]
Add test to check for correct handling of long lines

5 years agoAccept header lines of exactly 998 characters
Vasilii Kolobkov [Wed, 11 Jul 2018 11:21:16 +0000 (13:21 +0200)]
Accept header lines of exactly 998 characters

5 years agoFix parallel `make install'
c_14 [Mon, 7 May 2018 16:48:33 +0000 (18:48 +0200)]
Fix parallel `make install'

Prior to this commit, running make install with -j > 1 caused an (easily
reproducible) race condition where make tried linking commands that
hadn't been installed yet.

5 years agoBetter wording in README concerning compatibility
markus schnalke [Sun, 18 Feb 2018 09:33:02 +0000 (10:33 +0100)]
Better wording in README concerning compatibility

6 years agofix install of scan
Philipp Takacs [Sat, 22 Jul 2017 19:35:44 +0000 (21:35 +0200)]
fix install of scan

now scan is removed bevore it is linked

found by Jan <>

6 years agoAdd example to pick.1 for handling empty result set in the shell
markus schnalke [Sat, 8 Jul 2017 12:34:04 +0000 (14:34 +0200)]
Add example to pick.1 for handling empty result set in the shell

This commit bases on a patch provided by Vasily Kolobkov
<>. Actually, he also brought the
topic up on the mailing list. Thanks!

Also adjust the man page from nmh's special sequence name `all'
to mmh's name `a' for it.

6 years agofix undefined behavior in fmt_trim()
Philipp Takacs [Fri, 16 Jun 2017 12:12:24 +0000 (14:12 +0200)]
fix undefined behavior in fmt_trim()

It now writes the output in the input char *. This is only a temporaly

6 years agocpstripped: Add braces to make code more legible.
c_14 [Tue, 16 May 2017 16:13:52 +0000 (18:13 +0200)]
cpstripped: Add braces to make code more legible.

6 years agoadd a test to test-scan-multibyte
c_14 [Mon, 22 May 2017 21:56:12 +0000 (23:56 +0200)]
add a test to test-scan-multibyte

Tests for splitting within a multibyte character.

6 years agofmt_scan: support multibyte characters in putstr decoding
c_14 [Tue, 16 May 2017 16:13:27 +0000 (18:13 +0200)]
fmt_scan: support multibyte characters in putstr decoding

Fixes an issue where the string output by scan with a putstr format is
truncated within a multibyte character causing terminal corruption

6 years agoreplace scan with pick
Philipp Takacs [Sun, 28 May 2017 12:58:38 +0000 (14:58 +0200)]
replace scan with pick

6 years agoport -file switch to pick
Philipp Takacs [Sun, 28 May 2017 12:49:52 +0000 (14:49 +0200)]
port -file switch to pick

now scan can full replaced by pick

6 years agopick option -thread
Philipp Takacs [Sun, 26 Feb 2017 19:28:06 +0000 (20:28 +0100)]
pick option -thread

The -thread option allows to pick mails of a specific thread. The
thread is choosen by a mail in the option argument.

6 years agocomplete rewrite of pick
Philipp Takacs [Sun, 2 Apr 2017 21:15:19 +0000 (23:15 +0200)]
complete rewrite of pick

this make the code cleaner and removes the
regex implementation. The mail itself is now read
by pick and the match functions only check if the
field match.

6 years agomh_xstrdup arguments now const
Philipp Takacs [Sun, 2 Apr 2017 21:13:42 +0000 (23:13 +0200)]
mh_xstrdup arguments now const

this is better to avoid errors and required
by my pick rewrite

6 years agoadd -format to pick
Philipp Takacs [Fri, 9 Sep 2016 21:06:37 +0000 (23:06 +0200)]
add -format to pick

this leads to remove scan

6 years agodecode rfc2047 header in mhparse
Philipp Takacs [Mon, 19 Sep 2016 16:23:39 +0000 (18:23 +0200)]
decode rfc2047 header in mhparse

attachment filenames are mostly rfc2047 encoded. Now all
mime header are decoded to avoid problems.

6 years agomhpgp: use trusted header field copies to replace original header fields
markus schnalke [Mon, 17 Apr 2017 21:52:26 +0000 (23:52 +0200)]
mhpgp: use trusted header field copies to replace original header fields

Enigmail provides so called ``protected-headers'', which are copies
of some main mail header fields to protect them from forgery.

Mhpgp(1) works in a rough way and simply adds this MIME part
to the main header, and this resulted in a doubling of those header

Now those original headers are removed if trusted copies are
provided within the encrpyted MIME part.

6 years agoFix `anno -delete': preserve newline in folded header fields
markus schnalke [Mon, 17 Apr 2017 21:41:55 +0000 (23:41 +0200)]
Fix `anno -delete': preserve newline in folded header fields

6 years agoFix mhsign for gpg2: Expiry date format
markus schnalke [Mon, 17 Apr 2017 17:35:21 +0000 (19:35 +0200)]
Fix mhsign for gpg2: Expiry date format

Gnupg2 uses --fixed-list-mode by default for --with-colons.
Gnupg1 needs this option explicitly to generate the same output
format (timestamps) for expiry dates.

Thanks to Jan Unterbrink for reporting the bug.

6 years agofix oldstyle whom
Philipp Takacs [Wed, 8 Mar 2017 14:31:37 +0000 (15:31 +0100)]
fix oldstyle whom

Check if msg struct have selected messages before
accessing a message.

6 years agoFix uip/whom.c for C89 compatibility
markus schnalke [Wed, 8 Mar 2017 12:44:12 +0000 (13:44 +0100)]
Fix uip/whom.c for C89 compatibility

6 years agoFix sbr/parse_msgs.c for C89 compatibility
markus schnalke [Wed, 8 Mar 2017 12:31:31 +0000 (13:31 +0100)]
Fix sbr/parse_msgs.c for C89 compatibility

6 years agoadd() first parameter (s2) is now const
Philipp Takacs [Sun, 5 Mar 2017 16:55:31 +0000 (17:55 +0100)]
add() first parameter (s2) is now const

6 years agoallow msgs as parameters for whom
Philipp Takacs [Sun, 5 Mar 2017 16:55:00 +0000 (17:55 +0100)]
allow msgs as parameters for whom

now you can write ``whom c'' instand of ``whom `mhpath c`''

6 years agoquote path variables in
Philipp Takacs [Fri, 17 Feb 2017 15:05:57 +0000 (16:05 +0100)]
quote path variables in

without qoutes this causes error with spaces or other
special charecter in the path or filename.

6 years agomake dateparsing case insensitive
Philipp Takacs [Sun, 1 Jan 2017 20:57:07 +0000 (21:57 +0100)]
make dateparsing case insensitive

Acourding to RFC 5322 and 5234 the date field
is case insenitive

6 years agomhparse add support for CRLF
Philipp Takacs [Fri, 25 Nov 2016 12:38:04 +0000 (13:38 +0100)]
mhparse add support for CRLF

multipart mime content wasn't able to parse, if the
mail use CRLF line endings.

6 years agoAccept binary encoding for messages/*
Philipp Takacs [Tue, 22 Nov 2016 16:15:58 +0000 (17:15 +0100)]
Accept binary encoding for messages/*

Acording to RFC 2046 binary encoding is allowed for messages/*.
Also ignore other encodings.

6 years agomhsign manpage: mention hostname bug [Thu, 5 Jan 2017 15:35:22 +0000 (08:35 -0700)]
mhsign manpage: mention hostname bug

6 years agowhatnow2: remove get_attachmentheader()
Dmitry Bogatov [Fri, 16 Sep 2016 12:22:28 +0000 (15:22 +0300)]
whatnow2: remove get_attachmentheader()

6 years agoRemove unused code
Dmitry Bogatov [Thu, 8 Sep 2016 10:03:52 +0000 (13:03 +0300)]
Remove unused code

The unsude code is: struct zone, macro strbase64, macro isatom,
function unset_unseen(), function pref_encoding(), function cpydgst(),
macro base64len

6 years agoGrammer and layout fixes anno.man1
Larry Hynes [Tue, 13 Dec 2016 20:14:12 +0000 (20:14 +0000)]
Grammer and layout fixes anno.man1

6 years agoGrammer and layout fixes in ali.man1
Larry Hynes [Tue, 13 Dec 2016 20:14:12 +0000 (20:14 +0000)]
Grammer and layout fixes in ali.man1

7 years agofix bug in whatnow2 attach
Philipp Takacs [Sun, 25 Sep 2016 20:40:46 +0000 (22:40 +0200)]
fix bug in whatnow2 attach

7 years agoredesign version string
Philipp Takacs [Sun, 4 Sep 2016 12:12:00 +0000 (14:12 +0200)]
redesign version string

Now we have two version nummbers one for the tool
and one for the lib. Also the version number is changed
everytime the object is rebuild.

7 years agoFix segfault in mhstore
markus schnalke [Mon, 12 Sep 2016 12:54:17 +0000 (14:54 +0200)]
Fix segfault in mhstore

The bug was introduced by 6306992cd580d47c217edb1ae98d58b24d5be8c9
It didn't handle MIME parts without Content-Disposition headers.

7 years agoFix repllistcomps: use the correct header
markus schnalke [Thu, 8 Sep 2016 06:54:52 +0000 (08:54 +0200)]
Fix repllistcomps: use the correct header

7 years agoNo need to define the month and day names a second time
markus schnalke [Wed, 7 Sep 2016 20:59:21 +0000 (22:59 +0200)]
No need to define the month and day names a second time

... just use the definition that already is available.

7 years agoAdd support for simplified ISO 8601/RFC 3339 dates
markus schnalke [Wed, 7 Sep 2016 20:41:06 +0000 (22:41 +0200)]
Add support for simplified ISO 8601/RFC 3339 dates

It is now possible to use:
pick -after 2016-02-15 -and -before 2016-08-31T16:30:00+02:00

At the same time drop support for the highly ambiguous date format

7 years agoReplace lookup tables for obscure hashes with more readable code
markus schnalke [Wed, 7 Sep 2016 14:31:58 +0000 (16:31 +0200)]
Replace lookup tables for obscure hashes with more readable code

Time-performance doesn't matter here. If you think differently,
demonstrate it convincingly!