]> git.phdru.name Git - mimedecode.git/log
mimedecode.git
10 years agoAdd a test for option -i
Oleg Broytman [Wed, 19 Feb 2014 13:04:31 +0000 (17:04 +0400)]
Add a test for option -i

10 years agoAdd a test for option -b
Oleg Broytman [Wed, 19 Feb 2014 13:01:14 +0000 (17:01 +0400)]
Add a test for option -b

10 years agoSplit main loop into test_file
Oleg Broytman [Wed, 19 Feb 2014 12:46:41 +0000 (16:46 +0400)]
Split main loop into test_file

10 years agoRevert "Fix a bug: compare real value from the tuple"
Oleg Broytman [Wed, 19 Feb 2014 12:40:56 +0000 (16:40 +0400)]
Revert "Fix a bug: compare real value from the tuple"

This reverts commit 4e678ac9522dd6372854758bcb0c3f45d37b1df3.

10 years agoRename test target from 'run' to 'all'
Oleg Broytman [Tue, 18 Feb 2014 21:58:11 +0000 (01:58 +0400)]
Rename test target from 'run' to 'all'

10 years agoAdd tests for parameters decoding
Oleg Broytman [Tue, 18 Feb 2014 21:47:31 +0000 (01:47 +0400)]
Add tests for parameters decoding

10 years agoUpdate docs
Oleg Broytman [Tue, 18 Feb 2014 19:42:29 +0000 (23:42 +0400)]
Update docs

10 years agoDecode "To" header by default
Oleg Broytman [Tue, 18 Feb 2014 18:44:05 +0000 (22:44 +0400)]
Decode "To" header by default

10 years agoTest header decoding
Oleg Broytman [Tue, 18 Feb 2014 18:35:18 +0000 (22:35 +0400)]
Test header decoding

10 years agoChange type guessing
Oleg Broytman [Tue, 18 Feb 2014 18:28:50 +0000 (22:28 +0400)]
Change type guessing

The message or part is an RFC-822 message if it has at least one header,
not necessary Content-Type.

10 years agoFix a bug: compare real value from the tuple
Oleg Broytman [Fri, 14 Feb 2014 18:35:27 +0000 (22:35 +0400)]
Fix a bug: compare real value from the tuple

10 years agoDocument that Content-Type:name is also decoded
Oleg Broytman [Fri, 14 Feb 2014 18:04:40 +0000 (22:04 +0400)]
Document that Content-Type:name is also decoded

Document that Content-Type:name parameter is also in the list of
parameters to be decoded by default.

10 years agoReport test progress and success
Oleg Broytman [Wed, 12 Feb 2014 18:37:59 +0000 (22:37 +0400)]
Report test progress and success

10 years agoRemove tmp after successful test run
Oleg Broytman [Wed, 12 Feb 2014 18:36:02 +0000 (22:36 +0400)]
Remove tmp after successful test run

Directory tmp must be empty at that time.

10 years agoDo not test if the message is multipart
Oleg Broytman [Wed, 12 Feb 2014 18:11:00 +0000 (22:11 +0400)]
Do not test if the message is multipart

Skip the second test.

10 years agoSplit decode_message into decode_multipart
Oleg Broytman [Wed, 12 Feb 2014 00:17:15 +0000 (04:17 +0400)]
Split decode_message into decode_multipart

10 years agoVersion 2.3.4 v2.3.4
Oleg Broytman [Tue, 11 Feb 2014 18:45:44 +0000 (22:45 +0400)]
Version 2.3.4

10 years agoRefactor else+if to elif
Oleg Broytman [Mon, 10 Feb 2014 20:22:15 +0000 (00:22 +0400)]
Refactor else+if to elif

10 years agoRefactor decode_file
Oleg Broytman [Mon, 10 Feb 2014 20:18:11 +0000 (00:18 +0400)]
Refactor decode_file

Optimize recursive decoding; decode message/rfc822 subparts.

10 years agoDoc update
Oleg Broytman [Wed, 5 Feb 2014 16:42:07 +0000 (20:42 +0400)]
Doc update

Only non-multipart subparts are tested against -beit options.

10 years agoRefactoring: move subpart decoding inside decode_file
Oleg Broytman [Wed, 5 Feb 2014 16:34:33 +0000 (20:34 +0400)]
Refactoring: move subpart decoding inside decode_file

10 years agoMinor refactoring: move 'boundary' inside 'if'
Oleg Broytman [Wed, 5 Feb 2014 15:48:20 +0000 (19:48 +0400)]
Minor refactoring: move 'boundary' inside 'if'

10 years agoClose infile and outfile even after an exception
Oleg Broytman [Wed, 5 Feb 2014 15:42:28 +0000 (19:42 +0400)]
Close infile and outfile even after an exception

10 years agoMake 'output' an alias for outfile.write
Oleg Broytman [Wed, 5 Feb 2014 15:40:26 +0000 (19:40 +0400)]
Make 'output' an alias for outfile.write

10 years agoVersion 2.3.3 v2.3.3
Oleg Broytman [Sun, 2 Feb 2014 13:15:09 +0000 (17:15 +0400)]
Version 2.3.3

10 years agoFix a bug: option -o without any parameters
Oleg Broytman [Sun, 2 Feb 2014 13:07:35 +0000 (17:07 +0400)]
Fix a bug: option -o without any parameters

10 years agoTest stdin only
Oleg Broytman [Sun, 2 Feb 2014 13:02:28 +0000 (17:02 +0400)]
Test stdin only

When testing for redirects it's enough to test only stdin.
But if stdout is also at console -- it's not an error; print usage help
and exit.

10 years agoUpdate documentation
Oleg Broytman [Sat, 1 Feb 2014 19:59:18 +0000 (23:59 +0400)]
Update documentation

10 years agoInclude tests
Oleg Broytman [Sat, 1 Feb 2014 19:28:35 +0000 (23:28 +0400)]
Include tests

10 years agoDone: tests
Oleg Broytman [Sat, 1 Feb 2014 19:10:46 +0000 (23:10 +0400)]
Done: tests

10 years agoVersion 2.3.2 v2.3.2
Oleg Broytman [Sat, 1 Feb 2014 19:02:35 +0000 (23:02 +0400)]
Version 2.3.2

10 years agoAdd tests
Oleg Broytman [Sat, 1 Feb 2014 18:47:48 +0000 (22:47 +0400)]
Add tests

10 years agoFix a bug - do not generate 'From ' headers in subparts
Oleg Broytman [Sat, 1 Feb 2014 17:36:19 +0000 (21:36 +0400)]
Fix a bug - do not generate 'From ' headers in subparts

10 years agoRename recode2 => recode_if_needed
Oleg Broytman [Sat, 1 Feb 2014 17:27:19 +0000 (21:27 +0400)]
Rename recode2 => recode_if_needed

10 years agoAdd option --host
Oleg Broytman [Sat, 1 Feb 2014 17:07:17 +0000 (21:07 +0400)]
Add option --host

10 years agoRegenerate docs before making a distr
Oleg Broytman [Sat, 1 Feb 2014 17:06:23 +0000 (21:06 +0400)]
Regenerate docs before making a distr

10 years agoTODO: add tests
Oleg Broytman [Fri, 31 Jan 2014 20:15:50 +0000 (00:15 +0400)]
TODO: add tests

10 years agoVersion 2.3.1: update documentation v2.3.1
Oleg Broytman [Fri, 31 Jan 2014 19:57:47 +0000 (23:57 +0400)]
Version 2.3.1: update documentation

10 years agoMake minor clarification
Oleg Broytman [Fri, 31 Jan 2014 19:56:48 +0000 (23:56 +0400)]
Make minor clarification

10 years agoList environment variables using variablelist
Oleg Broytman [Fri, 31 Jan 2014 19:56:00 +0000 (23:56 +0400)]
List environment variables using variablelist

10 years agoMake text more descriptive
Oleg Broytman [Fri, 31 Jan 2014 19:54:57 +0000 (23:54 +0400)]
Make text more descriptive

Avoid deep Python references.

10 years agoDump html to text with no numbering and without references
Oleg Broytman [Fri, 31 Jan 2014 19:35:28 +0000 (23:35 +0400)]
Dump html to text with no numbering and without references

10 years agoChange indent
Oleg Broytman [Fri, 31 Jan 2014 19:34:54 +0000 (23:34 +0400)]
Change indent

10 years agoSplit author's name/email
Oleg Broytman [Fri, 31 Jan 2014 19:34:22 +0000 (23:34 +0400)]
Split author's name/email

10 years agoWrap URLs in ulink's
Oleg Broytman [Fri, 31 Jan 2014 19:33:42 +0000 (23:33 +0400)]
Wrap URLs in ulink's

10 years agoAdd refentryinfo
Oleg Broytman [Fri, 31 Jan 2014 19:32:50 +0000 (23:32 +0400)]
Add refentryinfo

10 years agoUpdate to DocBook 4.5; use local dtd
Oleg Broytman [Fri, 31 Jan 2014 19:32:16 +0000 (23:32 +0400)]
Update to DocBook 4.5; use local dtd

10 years agoFix: the 4 list options are no longer the last
Oleg Broytman [Fri, 31 Jan 2014 15:31:55 +0000 (19:31 +0400)]
Fix: the 4 list options are no longer the last

10 years agoChange the language to "sh"
Oleg Broytman [Fri, 31 Jan 2014 15:29:32 +0000 (19:29 +0400)]
Change the language to "sh"

Reminder: neither "sh" nor "shell" are supported by DocBook XSLT.

10 years agoANNOUNCE: forbid filtering from console to console v2.3.0
Oleg Broytman [Fri, 31 Jan 2014 11:21:35 +0000 (15:21 +0400)]
ANNOUNCE: forbid filtering from console to console

10 years agoVersion 2.3.0: add option -o and output_file argument
Oleg Broytman [Thu, 30 Jan 2014 19:26:30 +0000 (23:26 +0400)]
Version 2.3.0: add option -o and output_file argument

10 years agoSort rules by alphabetic order of the destinations
Oleg Broytman [Thu, 30 Jan 2014 19:21:39 +0000 (23:21 +0400)]
Sort rules by alphabetic order of the destinations

10 years agoForbid filtering from console to console - show usage instead
Oleg Broytman [Thu, 30 Jan 2014 19:07:40 +0000 (23:07 +0400)]
Forbid filtering from console to console - show usage instead

10 years agoPrint more descriptive error messages
Oleg Broytman [Thu, 30 Jan 2014 19:02:34 +0000 (23:02 +0400)]
Print more descriptive error messages

10 years agoAdd option -o output_file
Oleg Broytman [Thu, 30 Jan 2014 18:30:38 +0000 (22:30 +0400)]
Add option -o output_file

Useful to set the output file in case of redirected stdin:

   mimedecode.py -o output_file < input_file
   cat input_file | mimedecode.py -o output_file

10 years agoAdd an optional output file argument
Oleg Broytman [Thu, 30 Jan 2014 18:15:06 +0000 (22:15 +0400)]
Add an optional output file argument

10 years agoCreate an alias gopts for GlobalOptions
Oleg Broytman [Thu, 30 Jan 2014 17:59:15 +0000 (21:59 +0400)]
Create an alias gopts for GlobalOptions

10 years agoMinor formatting enhancement
Oleg Broytman [Fri, 24 Jan 2014 18:27:01 +0000 (22:27 +0400)]
Minor formatting enhancement

10 years agoUse \n instead of os.linesep
Oleg Broytman [Thu, 23 Jan 2014 21:13:46 +0000 (01:13 +0400)]
Use \n instead of os.linesep

10 years agoMinor refactoring
Oleg Broytman [Thu, 23 Jan 2014 21:02:14 +0000 (01:02 +0400)]
Minor refactoring

10 years agoMake indent 4 spaces
Oleg Broytman [Thu, 23 Jan 2014 20:56:43 +0000 (00:56 +0400)]
Make indent 4 spaces

10 years agoMinor refactoring
Oleg Broytman [Thu, 23 Jan 2014 20:52:57 +0000 (00:52 +0400)]
Minor refactoring

10 years agoVersion 2.2.2: upgrade docbook-xsl
Oleg Broytman [Thu, 23 Jan 2014 19:15:06 +0000 (23:15 +0400)]
Version 2.2.2: upgrade docbook-xsl

10 years agoInstallation using pip: done
Oleg Broytman [Wed, 15 Jan 2014 15:47:30 +0000 (19:47 +0400)]
Installation using pip: done

10 years agoInstallation using pip
Oleg Broytman [Wed, 15 Jan 2014 15:44:40 +0000 (19:44 +0400)]
Installation using pip

10 years agoSwitch branch before setting umask
Oleg Broytman [Wed, 15 Jan 2014 04:37:53 +0000 (08:37 +0400)]
Switch branch before setting umask

10 years agoTODO: forbid filtering stdin to stdout
Oleg Broytman [Sat, 28 Dec 2013 19:38:18 +0000 (23:38 +0400)]
TODO: forbid filtering stdin to stdout

10 years agoCreate tar.bz2 sdist
Oleg Broytman [Fri, 27 Dec 2013 21:44:10 +0000 (01:44 +0400)]
Create tar.bz2 sdist

10 years agoDo not include .git* files on export
Oleg Broytman [Tue, 24 Dec 2013 20:06:48 +0000 (00:06 +0400)]
Do not include .git* files on export

10 years agoVersion 2.2.1: add mk-distr helper
Oleg Broytman [Tue, 24 Dec 2013 15:16:18 +0000 (19:16 +0400)]
Version 2.2.1: add mk-distr helper

10 years agosetup.py installs library parts into ~/.local/lib
Oleg Broytman [Sun, 22 Dec 2013 00:17:41 +0000 (04:17 +0400)]
setup.py installs library parts into ~/.local/lib

10 years agosetup.py will try to download and install m_lib
Oleg Broytman [Sat, 21 Dec 2013 22:05:36 +0000 (02:05 +0400)]
setup.py will try to download and install m_lib

10 years agoUse find_links in setup.cfg
Oleg Broytman [Sat, 21 Dec 2013 21:56:18 +0000 (01:56 +0400)]
Use find_links in setup.cfg

Use find_links instead of dependency_links to install m_lib.

10 years agoAdd git+git URL for m_lib
Oleg Broytman [Sat, 21 Dec 2013 15:59:16 +0000 (19:59 +0400)]
Add git+git URL for m_lib

10 years agoDocument that setup.py now uses setuptools
Oleg Broytman [Sat, 21 Dec 2013 15:57:54 +0000 (19:57 +0400)]
Document that setup.py now uses setuptools

10 years agoFixed git+http URL
Oleg Broytman [Sat, 21 Dec 2013 15:56:58 +0000 (19:56 +0400)]
Fixed git+http URL

10 years agoAnnounce version 2.2.0
Oleg Broytman [Sat, 21 Dec 2013 15:11:24 +0000 (19:11 +0400)]
Announce version 2.2.0

10 years agoFixed Makefile
Oleg Broytman [Sat, 21 Dec 2013 15:10:37 +0000 (19:10 +0400)]
Fixed Makefile

__version__.py => mimedecode_version.py

10 years agoVersion 2.2.0
Oleg Broytman [Sat, 21 Dec 2013 12:49:48 +0000 (16:49 +0400)]
Version 2.2.0

10 years agoUse setuptools
Oleg Broytman [Sat, 21 Dec 2013 12:45:19 +0000 (16:45 +0400)]
Use setuptools

10 years agoRename __version__.py -> mimedecode_version.py
Oleg Broytman [Fri, 20 Dec 2013 21:41:26 +0000 (01:41 +0400)]
Rename __version__.py -> mimedecode_version.py

and install it as a module.

10 years agoTODO: Upgrade docbook-xsl
Oleg Broytman [Fri, 20 Dec 2013 19:45:31 +0000 (23:45 +0400)]
TODO: Upgrade docbook-xsl

10 years agoVersion 2.1.5 released 2013-12-18
Oleg Broytman [Wed, 18 Dec 2013 08:08:33 +0000 (12:08 +0400)]
Version 2.1.5 released 2013-12-18

10 years agoInclude INSTALL.txt and Makefile.xsltproc
Oleg Broytman [Wed, 18 Dec 2013 07:21:37 +0000 (11:21 +0400)]
Include INSTALL.txt and Makefile.xsltproc

10 years agoInclude __version__.py
Oleg Broytman [Wed, 18 Dec 2013 07:21:17 +0000 (11:21 +0400)]
Include __version__.py

10 years agoVersion 2.1.5
Oleg Broytman [Wed, 18 Dec 2013 07:10:36 +0000 (11:10 +0400)]
Version 2.1.5

10 years agoAllow installation without m_lib
Oleg Broytman [Wed, 18 Dec 2013 05:39:02 +0000 (09:39 +0400)]
Allow installation without m_lib

Move __version__ out of mimedecode.py to __version__.py.

10 years agoAllow installation without m_lib
Oleg Broytman [Tue, 17 Dec 2013 23:48:02 +0000 (03:48 +0400)]
Allow installation without m_lib

10 years agoTODO: setuptools/easy_install; pip.
Oleg Broytman [Sun, 15 Dec 2013 19:52:37 +0000 (23:52 +0400)]
TODO: setuptools/easy_install; pip.

10 years agoAdd TODO
Oleg Broytman [Tue, 10 Dec 2013 21:33:11 +0000 (01:33 +0400)]
Add TODO

10 years agoInclude INSTALL.txt into MANIFEST.in
Oleg Broytman [Tue, 10 Dec 2013 21:15:48 +0000 (01:15 +0400)]
Include INSTALL.txt into MANIFEST.in

10 years agoVersion 2.1.4: add installation instruction in INSTALL.txt
Oleg Broytman [Tue, 10 Dec 2013 20:58:16 +0000 (00:58 +0400)]
Version 2.1.4: add installation instruction in INSTALL.txt

10 years agoVersion 2.1.3: minor bugfix
Oleg Broytman [Tue, 10 Dec 2013 12:24:51 +0000 (16:24 +0400)]
Version 2.1.3: minor bugfix

10 years agoAdd an html fragment for gitweb
Oleg Broytman [Sun, 1 Dec 2013 18:54:31 +0000 (22:54 +0400)]
Add an html fragment for gitweb

11 years agoPublish via git/gitweb
Oleg Broytman [Sat, 23 Nov 2013 15:05:42 +0000 (19:05 +0400)]
Publish via git/gitweb

11 years agoVersion 2.1.2: minor fix in Makefile
Oleg Broytman [Fri, 26 Jul 2013 19:23:32 +0000 (23:23 +0400)]
Version 2.1.2: minor fix in Makefile

'all' is also a .PHONY target. Switched to git. Copyright 2013.

11 years agoall is also a .PHONY target
Oleg Broytman [Wed, 24 Jul 2013 10:53:15 +0000 (14:53 +0400)]
all is also a .PHONY target

11 years agoIgnore MANIFEST
Oleg Broytman [Sun, 21 Jul 2013 15:43:18 +0000 (19:43 +0400)]
Ignore MANIFEST

11 years agoAdd .gitignore
Oleg Broytman [Fri, 19 Jul 2013 20:55:18 +0000 (00:55 +0400)]
Add .gitignore

12 years agophdru.co.cc => phdru.cu.cc
Oleg Broytman [Sat, 17 Nov 2012 01:06:17 +0000 (01:06 +0000)]
phdru.co.cc => phdru.cu.cc

git-svn-id: file:///home/phd/archive/SVN/mimedecode@27 a778b35f-2f12-0410-a9f6-9b1356d76ba6