X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=4f16a3904db7a5c080bbb7b24bccf02751220320;hb=049f238d8b23e2ab7f543b33d52dd2544ffa7b22;hp=be4ebf8706de416be7ad89831e05f32a733df09b;hpb=80a7b4bb15221e54e2ff6fa3e5440019c89151c0;p=mimedecode.git diff --git a/TODO b/TODO index be4ebf8..4f16a39 100644 --- a/TODO +++ b/TODO @@ -1,37 +1,20 @@ -Change option -d to accept a list of headers: -d h1,h2,h3,... +Process message/delivery-status and text/rfc822-headers subparts. -Change option -d to decode all headers and accept a list of exceptions: --d *,-h1,-h2,... +Python 3. -Change option -p to accept lists of headers and parameters: --p h1,h2,h3:p1,p2,p3 -Allow * and exceptions: --p h1,h2,h3:*,-p1,-p2,-p3 --p *,-h1,-h2,-h3:p1,p2,p3 --p *,-h1,-h2,-h3:*,-p1,-p2,-p3 +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 option --params=header to decode all parameters for the header -#(except -p). -# -# -#Add options -#--all-headers to decode all headers (except -d) -#--all-params to decode all parameters for all headers (except -p) -#--all-headers-params to decode all header values + decode all parameters -#for all headers (except -d and -p). +Convert dates to the current locale and timezone (with an option?) -Add option -s to save decoded parts to files. - -Add option -O to set the destination directory. - - -Add an option to skip content-decoding a binary attachement (leave it as -base64 or such). +Allow -d and -p accept shell-like patterns and/or regular expressions: +-d content-*,-content-*-encoding -Allow -d and -p accept shell-like patterns and/or regular expressions: --d content-*,-content-*-exncoding +Add option --save-as='%format' to generate names for --save-* files. Develop +a DSL to conditionally use values of headers, parameters and the counter.