From: Menno Smits Date: Mon, 27 Jul 2015 23:51:17 +0000 (+1200) Subject: Merged TLS fork X-Git-Tag: 1.0.0~1^2~57 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e7d2d21ed8b35f9c5265748c97bcd2be7f8855bd;p=imapclient.git Merged TLS fork Hooray \o/ This work is mosttly done and the differences from trunk were starting to become annoying. --- e7d2d21ed8b35f9c5265748c97bcd2be7f8855bd diff --cc NEWS.rst index d9be8aa,9e29a1e..9830000 --- a/NEWS.rst +++ b/NEWS.rst @@@ -2,17 -2,10 +2,21 @@@ 1.0.0 ======= + XXX TLS support + XXX Removed kwargs support from constructor - replaced by ssl_context + XXX livetest config file change re DEFAULT + +Performance optimsation for parsing message id lists +---------------------------------------------------- +A short circuit is now used when parsing a list of message ids which +greatly speeds up parsing time. + +Other +----- + * Perform quoting of Gmail labels. Thanks to Pawel Sz for the fix. + + + ====== 0.13 ====== diff --cc imapclient/imapclient.py index 4e7bcf6,79339ac..71fc8c5 --- a/imapclient/imapclient.py +++ b/imapclient/imapclient.py @@@ -20,9 -21,10 +21,10 @@@ except ImportError oauth_module = None from . import response_lexer + from . import tls from .datetime_util import datetime_to_INTERNALDATE from .imap_utf7 import encode as encode_utf7, decode as decode_utf7 -from .response_types import SearchIds +from .response_parser import parse_response, parse_message_list, parse_fetch_response from .six import moves, iteritems, text_type, integer_types, PY3, binary_type, string_types xrange = moves.xrange diff --cc imapclient/livetest.py index 5596d52,e572452..7974892 --- a/imapclient/livetest.py +++ b/imapclient/livetest.py @@@ -16,9 -16,9 +16,9 @@@ from datetime import datetim from email.utils import make_msgid from .fixed_offset import FixedOffset -from .imapclient import IMAPClient, DELETED, to_unicode, to_bytes, normalise_untagged_responses +from .imapclient import IMAPClient, DELETED, RECENT, to_unicode, to_bytes, normalise_untagged_responses from .response_types import Envelope, Address - from .six import binary_type, text_type, PY3 + from .six import binary_type, text_type, PY3, iteritems from .test.util import unittest from .config import parse_config_file, create_client_from_config