X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=d1d07591d0e5cce9b5e8ee86b71a75186c8c3e89;hb=d87c3078783074c7c5f0950ba857931fd142575c;hp=863f92c03ff16675840f5eced61905eb4203f7af;hpb=0a403f7adfdd3a7fcc019b84affa602e8e934169;p=mimedecode.git diff --git a/TODO b/TODO index 863f92c..d1d0759 100644 --- a/TODO +++ b/TODO @@ -1,57 +1,37 @@ -Change option -r to accept a list of headers: -r h1,h2,h3,... +Python 3. -Change option -r to remove all headers and accept a list of exceptions: --r *,-h1,-h2,... +tox. -Change option -R to accept lists of headers and parameters: --R h1,h2,h3:p1,p2,p3 -Allow * and exceptions: --R h1,h2,h3:*,-p1,-p2,-p3 --R *,-h1,-h2,-h3:p1,p2,p3 --R *,-h1,-h2,-h3:*,-p1,-p2,-p3 +flake8. -Remove option --remove-params. +GitHub, Travis, AppVeyor, PyPI. -Publish docs in html format. +Split mimedecode.py into a library and a small script. +Move formatparam_27.py and mimedecode_version.py to the library. +Rename mimedecode_version.py to __version__.py. -Release 2.4.0. +Installers. -Add option -s to save decoded headers/bodies/messages of parts to files. +Process message/delivery-status and text/rfc822-headers subparts. -Add option -O to set the destination directory. +Never decode subparts of multipart/encrypted and multipart/signed messages but +allow processing of headers of the top-level part, ignoring the top-level part +with -I, aborting it with -e or saving the part or subparts with --save-*. -Add an option -B to skip content-transfer-decoding binary attachments (leave it -as base64 or such). - -Release 2.5.0. +Convert dates to the current locale and timezone (with an option?) Allow -d and -p accept shell-like patterns and/or regular expressions: -d content-*,-content-*-encoding -Add an option -I to completely skip (remove) subparts -- no headers, no body, -nothing. - - -Never touch multipart/encrypted and multipart/signed. - - -Release 2.6.0. - - -Extend options -eIi to multipart subparts. - - -Add an option to convert dates to the current locate and timezone. - - -Release 2.7.0. +Add option --save-as='%format' to generate names for --save-* files. Develop +a DSL to conditionally use values of headers, parameters and the counter.