]>
git.phdru.name Git - mimedecode.git/log
Oleg Broytman [Sun, 16 Apr 2017 08:02:34 +0000 (11:02 +0300)]
Update installation instructions: prefer pip
Oleg Broytman [Sun, 12 Mar 2017 02:55:05 +0000 (05:55 +0300)]
Fix pip's --install-option: --compile is default and I prefer -O2
Oleg Broytman [Mon, 30 Jan 2017 10:45:40 +0000 (13:45 +0300)]
Remove deprecated ez_setup.py
Oleg Broytman [Wed, 23 Nov 2016 17:01:02 +0000 (20:01 +0300)]
Upgrade ez_setup.py
Oleg Broytman [Thu, 29 Sep 2016 19:49:05 +0000 (22:49 +0300)]
Ignore mimedecode.egg-info directory
Oleg Broytman [Sat, 3 Sep 2016 16:15:07 +0000 (19:15 +0300)]
Update get-commit-message.vim
Oleg Broytman [Sun, 28 Aug 2016 15:03:34 +0000 (18:03 +0300)]
Radically simplify MANIFEST.in by using global-include
Oleg Broytman [Tue, 23 Aug 2016 20:18:46 +0000 (23:18 +0300)]
Add requirements.txt to sdist; add [egg_info] to setup.cfg
Oleg Broytman [Tue, 23 Aug 2016 20:18:06 +0000 (23:18 +0300)]
Run tests with python2 and python3
Oleg Broytman [Tue, 23 Aug 2016 20:17:15 +0000 (23:17 +0300)]
Remove directory 'save' on clean up
Oleg Broytman [Thu, 11 Aug 2016 06:37:10 +0000 (09:37 +0300)]
TODO: Process message/delivery-status and text/rfc822-headers
Oleg Broytman [Wed, 10 Aug 2016 18:01:56 +0000 (21:01 +0300)]
Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias
Oleg Broytman [Wed, 10 Aug 2016 17:39:21 +0000 (20:39 +0300)]
Rename tag.vim -> get-commit-message.vim
Oleg Broytman [Wed, 10 Aug 2016 17:35:19 +0000 (20:35 +0300)]
Rename mk-tag-alias -> mk-git-alias
Oleg Broytman [Wed, 10 Aug 2016 17:29:55 +0000 (20:29 +0300)]
Rename tag-with-version to tag-with-message
Oleg Broytman [Thu, 4 Aug 2016 22:31:19 +0000 (01:31 +0300)]
Update test
Oleg Broytman [Wed, 3 Aug 2016 15:24:31 +0000 (18:24 +0300)]
Test and report mailcap filter's errors
Test if the mailcap filters' return code is 0 (success); if not - report
it in the X-MIME-Autoconverted header.
Oleg Broytman [Wed, 3 Aug 2016 15:22:45 +0000 (18:22 +0300)]
Convert body to the current charset for mailcap filter
Convert text body from mail charset to the current locale's charset
before passing it to the mailcap filter.
Oleg Broytman [Wed, 3 Aug 2016 14:21:59 +0000 (17:21 +0300)]
Pass setup.py install option --optimize
Oleg Broytman [Tue, 2 Aug 2016 16:21:02 +0000 (19:21 +0300)]
Make tag-with-version alias
Oleg Broytman [Mon, 1 Aug 2016 22:21:17 +0000 (01:21 +0300)]
Report test errors
Oleg Broytman [Mon, 1 Aug 2016 22:20:10 +0000 (01:20 +0300)]
Decode parameters on output
Python3's email doesn't allow to store non-unicode header parameters so
decode parameters on output.
Oleg Broytman [Mon, 1 Aug 2016 22:19:26 +0000 (01:19 +0300)]
Refactor _decode_header
Oleg Broytman [Mon, 1 Aug 2016 19:01:51 +0000 (22:01 +0300)]
Require m_lib >= 3.0.1 for Python 3
Oleg Broytman [Mon, 1 Aug 2016 18:58:53 +0000 (21:58 +0300)]
Encode/decode str/bytes for compatibility with Python 3
Oleg Broytman [Mon, 1 Aug 2016 17:51:49 +0000 (20:51 +0300)]
Remove excessive indent
Oleg Broytman [Sun, 31 Jul 2016 22:24:01 +0000 (01:24 +0300)]
Use sudo for pip install
Oleg Broytman [Sat, 30 Jul 2016 22:55:09 +0000 (01:55 +0300)]
Upgrade ez_setup.py
Oleg Broytman [Fri, 29 Jul 2016 20:24:57 +0000 (23:24 +0300)]
Different requirements for Py2 and Py3
Oleg Broytman [Thu, 28 Jul 2016 22:14:45 +0000 (01:14 +0300)]
Use bytes.decode() for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:13:39 +0000 (01:13 +0300)]
Import email.header for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:12:59 +0000 (01:12 +0300)]
Use 'key in dict' for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:12:27 +0000 (01:12 +0300)]
Use raise Exception() for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:11:45 +0000 (01:11 +0300)]
Use != instead of <> for Python 3 compatibility
Oleg Broytman [Mon, 25 Jul 2016 21:32:39 +0000 (00:32 +0300)]
Use print function for Python 3 compatibility
Oleg Broytman [Mon, 25 Jul 2016 15:31:35 +0000 (18:31 +0300)]
Add keywords and classifiers
Oleg Broytman [Mon, 25 Jul 2016 14:47:38 +0000 (17:47 +0300)]
TODO: Python 3
Oleg Broytman [Sat, 4 Jun 2016 13:24:20 +0000 (16:24 +0300)]
Add pip requirements file
Oleg Broytman [Sat, 4 Jun 2016 13:23:40 +0000 (16:23 +0300)]
Compile to pyc and pyo after installation
Oleg Broytman [Sun, 27 Dec 2015 16:42:42 +0000 (19:42 +0300)]
Export given treeish or HEAD
Oleg Broytman [Mon, 6 Jul 2015 15:54:30 +0000 (18:54 +0300)]
Fix current/origin directories
Oleg Broytman [Fri, 5 Jun 2015 18:58:31 +0000 (21:58 +0300)]
Refactor update script
Oleg Broytman [Mon, 5 Jan 2015 20:14:53 +0000 (23:14 +0300)]
Update TODO
Oleg Broytman [Mon, 5 Jan 2015 20:14:14 +0000 (23:14 +0300)]
Make options --save-* to save multipart subparts
Oleg Broytman [Sun, 8 Jun 2014 14:39:16 +0000 (18:39 +0400)]
Fix release date
Oleg Broytman [Sun, 8 Jun 2014 14:25:44 +0000 (18:25 +0400)]
Version 2.6.0
Oleg Broytman [Sun, 8 Jun 2014 14:20:53 +0000 (18:20 +0400)]
Add option -I to completely ignore a part
Oleg Broytman [Sun, 8 Jun 2014 13:37:46 +0000 (17:37 +0400)]
Fix entry: open all **OUTPUT** files in binary mode
Oleg Broytman [Sun, 8 Jun 2014 13:30:01 +0000 (17:30 +0400)]
Make option -e to work with multipart messages
Oleg Broytman [Sun, 8 Jun 2014 13:15:56 +0000 (17:15 +0400)]
Make option -i to work with multipart messages
Oleg Broytman [Sun, 8 Jun 2014 12:58:26 +0000 (16:58 +0400)]
Allow saving a message or a subpart to more than one file
Oleg Broytman [Sun, 8 Jun 2014 12:56:21 +0000 (16:56 +0400)]
Fix parameters(s) => parameter(s)
Oleg Broytman [Sun, 25 May 2014 13:03:18 +0000 (17:03 +0400)]
Open all files in binary mode
Output os.linesep instead of '\n'.
Oleg Broytman [Tue, 20 May 2014 00:58:08 +0000 (04:58 +0400)]
Allow the script to be run only in the origin directory
Oleg Broytman [Mon, 19 May 2014 17:22:38 +0000 (21:22 +0400)]
Add update script
Oleg Broytman [Mon, 31 Mar 2014 09:05:00 +0000 (13:05 +0400)]
Fix a minor misspelling
Oleg Broytman [Mon, 17 Mar 2014 23:32:06 +0000 (03:32 +0400)]
Add TODO to source distributive
Oleg Broytman [Mon, 17 Mar 2014 23:15:35 +0000 (03:15 +0400)]
Released 2.5.0
Oleg Broytman [Mon, 17 Mar 2014 23:12:57 +0000 (03:12 +0400)]
Version 2.5.0
Oleg Broytman [Mon, 17 Mar 2014 23:08:01 +0000 (03:08 +0400)]
Avoid calling get_content_maintype, just split ctype instead
Oleg Broytman [Mon, 17 Mar 2014 19:40:25 +0000 (23:40 +0400)]
Guess filename extension for --save-* from the content type
Oleg Broytman [Mon, 17 Mar 2014 16:19:29 +0000 (20:19 +0400)]
Update documentation
Oleg Broytman [Mon, 17 Mar 2014 15:02:36 +0000 (19:02 +0400)]
Document cp -p mimedecode.docbook
Copy mimedecode.docbook with timestamp to avoid rebuilding.
Oleg Broytman [Sun, 16 Mar 2014 19:32:56 +0000 (23:32 +0400)]
TODO: no boundary (-I)
Oleg Broytman [Sat, 15 Mar 2014 20:27:42 +0000 (00:27 +0400)]
Copy mimedecode.docbook
Copy mimedecode.docbook preserving its timestamp to avoid forcing users
to rebuild docs.
Oleg Broytman [Sat, 15 Mar 2014 20:23:58 +0000 (00:23 +0400)]
Add tests for --save-*
Oleg Broytman [Sat, 15 Mar 2014 20:22:56 +0000 (00:22 +0400)]
Do not recode filename if it isn't recoded yet
Oleg Broytman [Sat, 15 Mar 2014 17:43:16 +0000 (21:43 +0400)]
Check filenames for --save-* for forbidden characters
Oleg Broytman [Sat, 15 Mar 2014 15:34:42 +0000 (19:34 +0400)]
Add more details about -Bbeit options
Oleg Broytman [Thu, 13 Mar 2014 21:29:41 +0000 (01:29 +0400)]
Update TODO
Oleg Broytman [Thu, 13 Mar 2014 21:29:06 +0000 (01:29 +0400)]
Create the directory for the output files
Create the directory for the output files (-O) if it doesn't exits.
Oleg Broytman [Thu, 13 Mar 2014 21:17:02 +0000 (01:17 +0400)]
open_output_file
Oleg Broytman [Thu, 13 Mar 2014 00:05:01 +0000 (04:05 +0400)]
Use set_header to replace header's value in-place
Oleg Broytman [Thu, 13 Mar 2014 00:02:54 +0000 (04:02 +0400)]
Inline _decode_header_param
Oleg Broytman [Thu, 13 Mar 2014 00:00:59 +0000 (04:00 +0400)]
Inline recode
Oleg Broytman [Wed, 12 Mar 2014 23:52:40 +0000 (03:52 +0400)]
Raise error after saving the part
Oleg Broytman [Wed, 12 Mar 2014 23:00:26 +0000 (03:00 +0400)]
Allow -t 'text/*' -b 'image/*' -B '*/*'
Oleg Broytman [Wed, 12 Mar 2014 19:14:26 +0000 (23:14 +0400)]
Documentation update
Oleg Broytman [Wed, 12 Mar 2014 19:00:48 +0000 (23:00 +0400)]
Better description for --save-message
--save-message saves headers + body.
Oleg Broytman [Wed, 12 Mar 2014 18:59:20 +0000 (22:59 +0400)]
Better description for -b
Unlike -B, -b performs content-transfer-decoding.
Oleg Broytman [Tue, 11 Mar 2014 16:52:14 +0000 (20:52 +0400)]
Change plans
Oleg Broytman [Tue, 11 Mar 2014 16:46:25 +0000 (20:46 +0400)]
Document that the directory for -O must exist
Oleg Broytman [Tue, 11 Mar 2014 16:41:06 +0000 (20:41 +0400)]
Report actual content type; do not use quotes
Oleg Broytman [Tue, 11 Mar 2014 16:39:11 +0000 (20:39 +0400)]
Add options --save-headers/body/message
Oleg Broytman [Tue, 11 Mar 2014 15:46:30 +0000 (19:46 +0400)]
Document -o more clearly
Document that -o saves output to the file related to the destination
directory from option -O.
Oleg Broytman [Mon, 10 Mar 2014 20:36:47 +0000 (00:36 +0400)]
Add option -O to set the destination directory
Oleg Broytman [Mon, 10 Mar 2014 20:21:58 +0000 (00:21 +0400)]
Rename gopts to g
Oleg Broytman [Mon, 10 Mar 2014 20:20:27 +0000 (00:20 +0400)]
Rename get_opt to get_opts
Oleg Broytman [Mon, 10 Mar 2014 17:26:16 +0000 (21:26 +0400)]
Fix a minor bug
If a multipart message (or a subpart) lacks any textual content -
avoid putting an excessive newline.
Oleg Broytman [Mon, 10 Mar 2014 16:22:36 +0000 (20:22 +0400)]
Remove str() calls
No need to convert payloads to strings - non-multipart payloads are
always strings.
Oleg Broytman [Mon, 10 Mar 2014 16:06:14 +0000 (20:06 +0400)]
Add option -B to skip content-transfer-decoding
Oleg Broytman [Mon, 10 Mar 2014 15:24:07 +0000 (19:24 +0400)]
The header for --set-param must exist
Oleg Broytman [Sun, 9 Mar 2014 12:54:51 +0000 (16:54 +0400)]
Add option --set-param=header:param=value
Add option --set-param=header:param=value to set header parameter's value
(only at the top level).
Oleg Broytman [Sun, 9 Mar 2014 12:42:00 +0000 (16:42 +0400)]
Add option --set-header=header:value
Add option --set-header=header:value to set header's value (only at the
top level).
Oleg Broytman [Sat, 8 Mar 2014 22:28:41 +0000 (02:28 +0400)]
TODO: add option --save-as='%format'
Oleg Broytman [Sat, 8 Mar 2014 18:50:36 +0000 (22:50 +0400)]
Version 2.4.0
Oleg Broytman [Sat, 8 Mar 2014 18:48:37 +0000 (22:48 +0400)]
Publish docs in html format
Oleg Broytman [Sat, 8 Mar 2014 18:26:59 +0000 (22:26 +0400)]
Fix lists of parameters
Oleg Broytman [Sat, 8 Mar 2014 18:21:40 +0000 (22:21 +0400)]
Change option -R to accept lists of headers and parameters
Change option -R to accept lists of headers and parameters:
-R h1,h2,h3:p1,p2,p3
-R h1,h2,h3:*,-p1,-p2,-p3
-R *,-h1,-h2,-h3:p1,p2,p3
-R *,-h1,-h2,-h3:*,-p1,-p2,-p3
Oleg Broytman [Sat, 8 Mar 2014 17:14:01 +0000 (21:14 +0400)]
Remove option --remove-params