Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes to support CJKCodecs as per SF bug #852347. Actually, this | Barry Warsaw | 2003-12-30 | 1 | -19/+16 |
| | | | | | | | | | | | patch removes dependencies on the old unsupported KoreanCodecs package and the alternative JapaneseCodecs package. Since both of those provide aliases for their codecs, this removal just makes the generic codec names work. We needed to make slight changes to __init__() as well. This will be backported to Python 2.3 when its branch freeze is over. | ||||
* | Bump version number to 2.5.5 | Barry Warsaw | 2003-12-30 | 1 | -1/+1 |
| | |||||
* | __init__(): The docstring was incorrect regarding how header wrapping | Barry Warsaw | 2003-11-19 | 1 | -5/+4 |
| | | | | | | gets done when maxheaderlen <> 0. The header really gets wrapped via the email.Header.Header class, which has a more sophisticated algorithm than just splitting on semi-colons. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -1/+1 |
| | | | | (From SF patch #810751) | ||||
* | test_get_param_with_semis_in_quotes(): Test case for SF bug #794466. | Barry Warsaw | 2003-09-03 | 1 | -0/+7 |
| | | | | Backport candidate. | ||||
* | A fix for parsing parameters when there are semicolons inside the | Barry Warsaw | 2003-09-03 | 1 | -1/+18 |
| | | | | | | | | | | | quotes. Fixes SF bug #794466, with the essential patch provided by Stuart D. Gathman. Specifically, _parseparam(), _get_params_preserve(): Use the parsing function that takes quotes into account, as given (essentially) in the bug report's test program. Backport candidate. | ||||
* | Bump the version number for the standalone mimelib package. | Barry Warsaw | 2003-08-19 | 1 | -1/+1 |
| | |||||
* | test_rfc2231_no_language_or_charset_in_filename(), | Barry Warsaw | 2003-08-19 | 1 | -0/+37 |
| | | | | | | | | | test_rfc2231_no_language_or_charset_in_boundary(), test_rfc2231_no_language_or_charset_in_charset(): New tests for proper decoding of some RFC 2231 headers. Backport candidate (as was the Utils.py 1.25 change) to both Python 2.3.1 and 2.2.4 -- will do momentarily. | ||||
* | get_param(): Update the docstring to explain how CHARSET and LANGUAGE | Barry Warsaw | 2003-08-19 | 1 | -7/+12 |
| | | | | | | | | | | can be None, and what to do in that situation. get_filename(), get_boundary(), get_content_charset(): Make sure these handle RFC 2231 headers without a CHARSET field. Backport candidate (as was the Utils.py 1.25 change) to both Python 2.3.1 and 2.2.4 -- will do momentarily. | ||||
* | decode_rfc2231(): We need to urllib.unquote() the value even if the | Barry Warsaw | 2003-08-19 | 1 | -1/+1 |
| | | | | | | charset and language fields are not present, e.g. as in: title*0="This%20is%20encoded" | ||||
* | _make_boundary(): A minor optimization suggested by the Timbot. | Barry Warsaw | 2003-06-24 | 1 | -1/+1 |
| | |||||
* | AddressList.__str__(): Get rid of useless, and broken method. Closes | Barry Warsaw | 2003-06-13 | 1 | -3/+0 |
| | | | | SF #753617. Back port candidate (but low priority). | ||||
* | get_payload(): Improve the TypeError message when the payload isn't of | Barry Warsaw | 2003-06-10 | 1 | -1/+1 |
| | | | | the expected type. In response to SF #751451. | ||||
* | _make_boundary(): Fix for SF bug #745478, broken boundary calculation | Barry Warsaw | 2003-05-29 | 2 | -3/+7 |
| | | | | | | | | | in some locales. This code simplifies the boundary algorithm to use randint() which is what we wanted anyway. Bump package version to 2.5.3. Backport candidate for Python 2.2.3 | ||||
* | Bump version number | Barry Warsaw | 2003-05-08 | 1 | -1/+1 |
| | |||||
* | A couple of new parsedate test cases. | Barry Warsaw | 2003-05-08 | 1 | -0/+10 |
| | |||||
* | parsedate_tz(): Be slightly more lenient when there's no day of the | Barry Warsaw | 2003-05-08 | 1 | -3/+2 |
| | | | | | | | week. Patch given by Daniel Berlin in SF bug # 732761. Also closes SF bug # 727719. Backport candidate. | ||||
* | Get rid of some hard coded tabs | Barry Warsaw | 2003-04-24 | 1 | -3/+3 |
| | |||||
* | as_string(): Added some text to the docstring to make it clear that | Barry Warsaw | 2003-04-18 | 1 | -0/+4 |
| | | | | | it's a convenience only and give hints on what to do for more flexibility. | ||||
* | Fix a comment | Barry Warsaw | 2003-04-02 | 1 | -1/+1 |
| | |||||
* | Bump to version 2.5.1 | Barry Warsaw | 2003-03-30 | 1 | -1/+1 |
| | |||||
* | test_whitespace_eater_unicode_2(): Test case for SF bug #710498. | Barry Warsaw | 2003-03-30 | 1 | -0/+9 |
| | |||||
* | __unicode__(): Fix the logic for calculating whether to add a | Barry Warsaw | 2003-03-30 | 1 | -3/+3 |
| | | | | | separating space or not between encoded chunks. Closes SF bug #710498. | ||||
* | Temporary bump of the version number. | Barry Warsaw | 2003-03-26 | 1 | -1/+1 |
| | |||||
* | typed_subpart_iterator(): Fix these to use non-deprecated APIs, | Barry Warsaw | 2003-03-26 | 1 | -3/+10 |
| | | | | | | i.e. get_content_maintype() and get_content_subtype(). Also, add True, False for Python 2.2.x where x < 2 compatibility. | ||||
* | typed_subpart_iterator(): Fix these to use non-deprecated APIs, | Barry Warsaw | 2003-03-26 | 1 | -2/+2 |
| | | | | i.e. get_content_maintype() and get_content_subtype(). | ||||
* | Email version 2.5 -- I will now backport this to Python 2.2.3. | Barry Warsaw | 2003-03-21 | 1 | -1/+1 |
| | |||||
* | _encode_chunks(): Throw out empty chunks. | Barry Warsaw | 2003-03-17 | 1 | -0/+2 |
| | |||||
* | test_long_lines_with_different_header(): Another test from Jason. | Barry Warsaw | 2003-03-17 | 1 | -0/+16 |
| | |||||
* | test_getaddresses_nasty(): A test for mimelib SF bug # 697641. | Barry Warsaw | 2003-03-17 | 1 | -0/+10 |
| | |||||
* | getaddrlist(): Make sure this consumes all the data, and if there is | Barry Warsaw | 2003-03-17 | 1 | -2/+2 |
| | | | | | | | no address there (perhaps because of invalid characters, it appends ('', '') to the result set. Closes mimelib SF bug # 697641. | ||||
* | test_whitespace_eater_unicode(): Make this test Python 2.1 compatible. | Barry Warsaw | 2003-03-12 | 1 | -1/+4 |
| | |||||
* | Python 2.1 doesn't have True and False | Barry Warsaw | 2003-03-12 | 1 | -0/+3 |
| | |||||
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -2/+0 |
| | | | | argument. | ||||
* | beta 1 | Barry Warsaw | 2003-03-11 | 1 | -1/+1 |
| | |||||
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -11/+7 |
| | | | | argument. | ||||
* | __init__(): Don't add a newline to _text if it doesn't already end in | Barry Warsaw | 2003-03-11 | 1 | -4/+1 |
| | | | | one. Possibly controversial. | ||||
* | body_line_iterator(): Accept optional decode argument, pass through to | Barry Warsaw | 2003-03-11 | 2 | -6/+12 |
| | | | | Message.get_payload(). | ||||
* | get_payload(): Teach this about various uunencoded | Barry Warsaw | 2003-03-11 | 1 | -10/+21 |
| | | | | Content-Transfer-Encodings | ||||
* | test_get_decoded_uu_payload(): A new test for | Barry Warsaw | 2003-03-11 | 1 | -0/+11 |
| | | | | Content-Transfer-Encoding: x-uuencode | ||||
* | specialsre, escapesre: In SF bug #663369, Matthew Woodcraft points out | Barry Warsaw | 2003-03-10 | 1 | -2/+2 |
| | | | | that backslashes must be escaped in character sets. | ||||
* | test_escape_backslashes(): A test for SF bug #663369 by Matthew Woodcraft. | Barry Warsaw | 2003-03-10 | 1 | -0/+8 |
| | |||||
* | _bdecode(): Remove redundant check. | Barry Warsaw | 2003-03-10 | 1 | -2/+0 |
| | |||||
* | Fix base class | Barry Warsaw | 2003-03-10 | 1 | -1/+1 |
| | |||||
* | Use ndiffAssertEqual in a couple of places for better error reporting. | Barry Warsaw | 2003-03-10 | 1 | -3/+6 |
| | |||||
* | get_payload(): If we get a low-level binascii.Error when base64 | Barry Warsaw | 2003-03-10 | 1 | -5/+12 |
| | | | | decoding the payload, just return it as-is. | ||||
* | test_broken_base64_payload(): Test for crash in low-level binascii | Barry Warsaw | 2003-03-10 | 1 | -0/+8 |
| | | | | module when decoding a message with broken base64. | ||||
* | _split_ascii() [method and function]: Don't join the lines just to | Barry Warsaw | 2003-03-10 | 1 | -10/+11 |
| | | | | | | split them again. Simply return them as chunk lists. _encode_chunks(): Don't add more folding whitespace than necessary. | ||||
* | test_another_long_multiline_header(): Yet another formatting test. | Barry Warsaw | 2003-03-10 | 1 | -0/+12 |
| | |||||
* | _split_ascii(): lstrip the individual lines in the ascii split lines, | Barry Warsaw | 2003-03-07 | 1 | -0/+3 |
| | | | | since we'll be adding our own continuation whitespace later. |