]> git.phdru.name Git - mimedecode.git/log
mimedecode.git
6 years agoCleanup: Fix flake8 E402 module level import not at top of file
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E402 module level import not at top of file

6 years agoCleanup: Fix flake8 E401 multiple imports on one line
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E401 multiple imports on one line

6 years agoCleanup: Fix flake8 E306 expected 1 blank line before a nested definition, found 0
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E306 expected 1 blank line before a nested definition, found 0

6 years agoCleanup: Fix flake8 E305 expected 2 blank lines after class, found 1
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E305 expected 2 blank lines after class, found 1

6 years agoCleanup: Fix flake8 E302 expected 2 blank lines, found 1
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E302 expected 2 blank lines, found 1

6 years agoCleanup: Fix flake8 E261 at least two spaces before inline comment
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E261 at least two spaces before inline comment

6 years agoDocs: update
Oleg Broytman [Sun, 15 Oct 2017 14:12:04 +0000 (17:12 +0300)]
Docs: update

6 years agoCleanup: Fix flake8 E251 unexpected spaces around keyword / parameter equals
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E251 unexpected spaces around keyword / parameter equals

6 years agoCleanup: Fix flake8 E225 missing whitespace around operator
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E225 missing whitespace around operator

6 years agoCleanup: Fix flake8 E128 continuation line under-indented for visual indent
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E128 continuation line under-indented for visual indent

6 years agoCleanup: Fix flake8 E127 continuation line over-indented for visual indent
Oleg Broytman [Sun, 15 Oct 2017 13:26:58 +0000 (16:26 +0300)]
Cleanup: Fix flake8 E127 continuation line over-indented for visual indent

6 years agoDoc: Python 3
Oleg Broytman [Sun, 27 Aug 2017 17:06:45 +0000 (20:06 +0300)]
Doc: Python 3

6 years agoFix: Recode text from mailcap command from default encoding to charset
Oleg Broytman [Sun, 27 Aug 2017 17:04:33 +0000 (20:04 +0300)]
Fix: Recode text from mailcap command from default encoding to charset

6 years agoUse subprocess.Popen instead of os.popen
Oleg Broytman [Wed, 23 Aug 2017 19:22:54 +0000 (22:22 +0300)]
Use subprocess.Popen instead of os.popen

6 years agoFix(setup): Fix keywords and platforms
Oleg Broytman [Sat, 19 Aug 2017 16:46:03 +0000 (19:46 +0300)]
Fix(setup): Fix keywords and platforms

6 years agoFeat(tests): Use tox for testing
Oleg Broytman [Mon, 31 Jul 2017 21:46:01 +0000 (00:46 +0300)]
Feat(tests): Use tox for testing

6 years agoFixed last problems with Python 3
Oleg Broytman [Wed, 14 Jun 2017 22:17:25 +0000 (01:17 +0300)]
Fixed last problems with Python 3

6 years agoTODO: Move mimedecode into a separate subdirectory
Oleg Broytman [Sat, 13 May 2017 17:33:13 +0000 (20:33 +0300)]
TODO: Move mimedecode into a separate subdirectory

6 years agoUpdate ANNOUNCE and ChangeLog
Oleg Broytman [Sat, 13 May 2017 12:03:41 +0000 (15:03 +0300)]
Update ANNOUNCE and ChangeLog

6 years agoUpdate(ANNOUNCE): Document test requirements separately
Oleg Broytman [Sat, 13 May 2017 12:02:41 +0000 (15:02 +0300)]
Update(ANNOUNCE): Document test requirements separately

6 years agoFix(Python2): Do not decode bytes to unicode
Oleg Broytman [Sat, 13 May 2017 11:54:49 +0000 (14:54 +0300)]
Fix(Python2): Do not decode bytes to unicode

6 years agoTODO: Split mimedecode.py into a library and a small script
Oleg Broytman [Sat, 13 May 2017 10:37:19 +0000 (13:37 +0300)]
TODO: Split mimedecode.py into a library and a small script

6 years agoTODO: Use tox. Create installers.
Oleg Broytman [Fri, 12 May 2017 20:35:20 +0000 (23:35 +0300)]
TODO: Use tox. Create installers.

6 years agoTODO: Change priorities
Oleg Broytman [Fri, 12 May 2017 19:09:11 +0000 (22:09 +0300)]
TODO: Change priorities

First, update for Py3. Then cleanup code according to flake8.
Everything else after that.

6 years agoReplace email.message._formatparam with _formatparam from Python 2.7
Oleg Broytman [Fri, 12 May 2017 18:30:06 +0000 (21:30 +0300)]
Replace email.message._formatparam with _formatparam from Python 2.7

Avoid re-encoding non-ascii params.

6 years agoStop supporting Python 2.6
Oleg Broytman [Sun, 7 May 2017 17:20:18 +0000 (20:20 +0300)]
Stop supporting Python 2.6

6 years agoMove requirements.txt to devscripts/
Oleg Broytman [Sun, 7 May 2017 12:07:37 +0000 (15:07 +0300)]
Move requirements.txt to devscripts/

Rename requirements_dev.txt to requirements_test.txt.

6 years agoMove get-commit-message.vim and mk-git-aliases to devscripts/
Oleg Broytman [Sat, 29 Apr 2017 03:25:40 +0000 (06:25 +0300)]
Move get-commit-message.vim and mk-git-aliases to devscripts/

6 years agoMove README.html to gitweb/
Oleg Broytman [Fri, 28 Apr 2017 19:47:51 +0000 (22:47 +0300)]
Move README.html to gitweb/

6 years agoTODO: GitHub, Travis, AppVeyor, PyPI
Oleg Broytman [Thu, 27 Apr 2017 16:36:33 +0000 (19:36 +0300)]
TODO: GitHub, Travis, AppVeyor, PyPI

6 years agoVersion 2.7.0 2.7.0
Oleg Broytman [Wed, 26 Apr 2017 19:12:02 +0000 (22:12 +0300)]
Version 2.7.0

6 years agoCopyright 2017
Oleg Broytman [Wed, 26 Apr 2017 19:09:52 +0000 (22:09 +0300)]
Copyright 2017

6 years agoUpdate installation instructions for virtual envs
Oleg Broytman [Wed, 26 Apr 2017 19:05:14 +0000 (22:05 +0300)]
Update installation instructions for virtual envs

6 years agoUpdate installation instructions: use trusted host
Oleg Broytman [Wed, 26 Apr 2017 19:05:14 +0000 (22:05 +0300)]
Update installation instructions: use trusted host

6 years agoUse m_lib.defenc instead of m_lib; install it from PyPI
Oleg Broytman [Wed, 26 Apr 2017 19:04:07 +0000 (22:04 +0300)]
Use m_lib.defenc instead of m_lib; install it from PyPI

7 years agoRemove update script
Oleg Broytman [Mon, 17 Apr 2017 19:51:00 +0000 (22:51 +0300)]
Remove update script

7 years agoUpdate installation instructions: prefer pip
Oleg Broytman [Sun, 16 Apr 2017 08:02:34 +0000 (11:02 +0300)]
Update installation instructions: prefer pip

7 years agoFix pip's --install-option: --compile is default and I prefer -O2
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

7 years agoRemove deprecated ez_setup.py
Oleg Broytman [Mon, 30 Jan 2017 10:45:40 +0000 (13:45 +0300)]
Remove deprecated ez_setup.py

7 years agoUpgrade ez_setup.py
Oleg Broytman [Wed, 23 Nov 2016 17:01:02 +0000 (20:01 +0300)]
Upgrade ez_setup.py

7 years agoIgnore mimedecode.egg-info directory
Oleg Broytman [Thu, 29 Sep 2016 19:49:05 +0000 (22:49 +0300)]
Ignore mimedecode.egg-info directory

7 years agoUpdate get-commit-message.vim
Oleg Broytman [Sat, 3 Sep 2016 16:15:07 +0000 (19:15 +0300)]
Update get-commit-message.vim

7 years agoRadically simplify MANIFEST.in by using global-include
Oleg Broytman [Sun, 28 Aug 2016 15:03:34 +0000 (18:03 +0300)]
Radically simplify MANIFEST.in by using global-include

7 years agoAdd requirements.txt to sdist; add [egg_info] to setup.cfg
Oleg Broytman [Tue, 23 Aug 2016 20:18:46 +0000 (23:18 +0300)]
Add requirements.txt to sdist; add [egg_info] to setup.cfg

7 years agoRun tests with python2 and python3
Oleg Broytman [Tue, 23 Aug 2016 20:18:06 +0000 (23:18 +0300)]
Run tests with python2 and python3

7 years agoRemove directory 'save' on clean up
Oleg Broytman [Tue, 23 Aug 2016 20:17:15 +0000 (23:17 +0300)]
Remove directory 'save' on clean up

7 years agoTODO: Process message/delivery-status and text/rfc822-headers
Oleg Broytman [Thu, 11 Aug 2016 06:37:10 +0000 (09:37 +0300)]
TODO: Process message/delivery-status and text/rfc822-headers

7 years agoRename mk-git-alias -> mk-git-aliases, add commit-with-message alias
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

7 years agoRename tag.vim -> get-commit-message.vim
Oleg Broytman [Wed, 10 Aug 2016 17:39:21 +0000 (20:39 +0300)]
Rename tag.vim -> get-commit-message.vim

7 years agoRename mk-tag-alias -> mk-git-alias
Oleg Broytman [Wed, 10 Aug 2016 17:35:19 +0000 (20:35 +0300)]
Rename mk-tag-alias -> mk-git-alias

7 years agoRename tag-with-version to tag-with-message
Oleg Broytman [Wed, 10 Aug 2016 17:29:55 +0000 (20:29 +0300)]
Rename tag-with-version to tag-with-message

7 years agoUpdate test
Oleg Broytman [Thu, 4 Aug 2016 22:31:19 +0000 (01:31 +0300)]
Update test

7 years agoTest and report mailcap filter's errors
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.

7 years agoConvert body to the current charset for mailcap filter
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.

7 years agoPass setup.py install option --optimize
Oleg Broytman [Wed, 3 Aug 2016 14:21:59 +0000 (17:21 +0300)]
Pass setup.py install option --optimize

7 years agoMake tag-with-version alias
Oleg Broytman [Tue, 2 Aug 2016 16:21:02 +0000 (19:21 +0300)]
Make tag-with-version alias

7 years agoReport test errors
Oleg Broytman [Mon, 1 Aug 2016 22:21:17 +0000 (01:21 +0300)]
Report test errors

7 years agoDecode parameters on output
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.

7 years agoRefactor _decode_header
Oleg Broytman [Mon, 1 Aug 2016 22:19:26 +0000 (01:19 +0300)]
Refactor _decode_header

7 years agoRequire m_lib >= 3.0.1 for Python 3
Oleg Broytman [Mon, 1 Aug 2016 19:01:51 +0000 (22:01 +0300)]
Require m_lib >= 3.0.1 for Python 3

7 years agoEncode/decode str/bytes for compatibility with Python 3
Oleg Broytman [Mon, 1 Aug 2016 18:58:53 +0000 (21:58 +0300)]
Encode/decode str/bytes for compatibility with Python 3

7 years agoRemove excessive indent
Oleg Broytman [Mon, 1 Aug 2016 17:51:49 +0000 (20:51 +0300)]
Remove excessive indent

7 years agoUse sudo for pip install
Oleg Broytman [Sun, 31 Jul 2016 22:24:01 +0000 (01:24 +0300)]
Use sudo for pip install

7 years agoUpgrade ez_setup.py
Oleg Broytman [Sat, 30 Jul 2016 22:55:09 +0000 (01:55 +0300)]
Upgrade ez_setup.py

7 years agoDifferent requirements for Py2 and Py3
Oleg Broytman [Fri, 29 Jul 2016 20:24:57 +0000 (23:24 +0300)]
Different requirements for Py2 and Py3

7 years agoUse bytes.decode() for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:14:45 +0000 (01:14 +0300)]
Use bytes.decode() for Python 3 compatibility

7 years agoImport email.header for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:13:39 +0000 (01:13 +0300)]
Import email.header for Python 3 compatibility

7 years agoUse 'key in dict' 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

7 years agoUse raise Exception() for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:12:27 +0000 (01:12 +0300)]
Use raise Exception() for Python 3 compatibility

7 years agoUse != instead of <> for Python 3 compatibility
Oleg Broytman [Thu, 28 Jul 2016 22:11:45 +0000 (01:11 +0300)]
Use != instead of <> for Python 3 compatibility

7 years agoUse print function for Python 3 compatibility
Oleg Broytman [Mon, 25 Jul 2016 21:32:39 +0000 (00:32 +0300)]
Use print function for Python 3 compatibility

7 years agoAdd keywords and classifiers
Oleg Broytman [Mon, 25 Jul 2016 15:31:35 +0000 (18:31 +0300)]
Add keywords and classifiers

7 years agoTODO: Python 3
Oleg Broytman [Mon, 25 Jul 2016 14:47:38 +0000 (17:47 +0300)]
TODO: Python 3

7 years agoAdd pip requirements file
Oleg Broytman [Sat, 4 Jun 2016 13:24:20 +0000 (16:24 +0300)]
Add pip requirements file

7 years agoCompile to pyc and pyo after installation
Oleg Broytman [Sat, 4 Jun 2016 13:23:40 +0000 (16:23 +0300)]
Compile to pyc and pyo after installation

8 years agoExport given treeish or HEAD
Oleg Broytman [Sun, 27 Dec 2015 16:42:42 +0000 (19:42 +0300)]
Export given treeish or HEAD

8 years agoFix current/origin directories
Oleg Broytman [Mon, 6 Jul 2015 15:54:30 +0000 (18:54 +0300)]
Fix current/origin directories

8 years agoRefactor update script
Oleg Broytman [Fri, 5 Jun 2015 18:58:31 +0000 (21:58 +0300)]
Refactor update script

9 years agoUpdate TODO
Oleg Broytman [Mon, 5 Jan 2015 20:14:53 +0000 (23:14 +0300)]
Update TODO

9 years agoMake options --save-* to save multipart subparts
Oleg Broytman [Mon, 5 Jan 2015 20:14:14 +0000 (23:14 +0300)]
Make options --save-* to save multipart subparts

9 years agoFix release date
Oleg Broytman [Sun, 8 Jun 2014 14:39:16 +0000 (18:39 +0400)]
Fix release date

9 years agoVersion 2.6.0 v2.6.0
Oleg Broytman [Sun, 8 Jun 2014 14:25:44 +0000 (18:25 +0400)]
Version 2.6.0

9 years agoAdd option -I to completely ignore a part
Oleg Broytman [Sun, 8 Jun 2014 14:20:53 +0000 (18:20 +0400)]
Add option -I to completely ignore a part

9 years agoFix entry: open all **OUTPUT** files in binary mode
Oleg Broytman [Sun, 8 Jun 2014 13:37:46 +0000 (17:37 +0400)]
Fix entry: open all **OUTPUT** files in binary mode

9 years agoMake option -e to work with multipart messages
Oleg Broytman [Sun, 8 Jun 2014 13:30:01 +0000 (17:30 +0400)]
Make option -e to work with multipart messages

9 years agoMake option -i 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

9 years agoAllow saving a message or a subpart to more than one file
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

9 years agoFix parameters(s) => parameter(s)
Oleg Broytman [Sun, 8 Jun 2014 12:56:21 +0000 (16:56 +0400)]
Fix parameters(s) => parameter(s)

9 years agoOpen all files in binary mode
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'.

9 years agoAllow the script to be run only in the origin directory
Oleg Broytman [Tue, 20 May 2014 00:58:08 +0000 (04:58 +0400)]
Allow the script to be run only in the origin directory

9 years agoAdd update script
Oleg Broytman [Mon, 19 May 2014 17:22:38 +0000 (21:22 +0400)]
Add update script

10 years agoFix a minor misspelling
Oleg Broytman [Mon, 31 Mar 2014 09:05:00 +0000 (13:05 +0400)]
Fix a minor misspelling

10 years agoAdd TODO to source distributive
Oleg Broytman [Mon, 17 Mar 2014 23:32:06 +0000 (03:32 +0400)]
Add TODO to source distributive

10 years agoReleased 2.5.0
Oleg Broytman [Mon, 17 Mar 2014 23:15:35 +0000 (03:15 +0400)]
Released 2.5.0

10 years agoVersion 2.5.0 v2.5.0
Oleg Broytman [Mon, 17 Mar 2014 23:12:57 +0000 (03:12 +0400)]
Version 2.5.0

10 years agoAvoid calling get_content_maintype, just split ctype instead
Oleg Broytman [Mon, 17 Mar 2014 23:08:01 +0000 (03:08 +0400)]
Avoid calling get_content_maintype, just split ctype instead

10 years agoGuess filename extension for --save-* from the content type
Oleg Broytman [Mon, 17 Mar 2014 19:40:25 +0000 (23:40 +0400)]
Guess filename extension for --save-* from the content type

10 years agoUpdate documentation
Oleg Broytman [Mon, 17 Mar 2014 16:19:29 +0000 (20:19 +0400)]
Update documentation

10 years agoDocument cp -p mimedecode.docbook
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.

10 years agoTODO: no boundary (-I)
Oleg Broytman [Sun, 16 Mar 2014 19:32:56 +0000 (23:32 +0400)]
TODO: no boundary (-I)