From: Menno Smits Date: Tue, 28 Apr 2009 23:15:18 +0000 (+0100) Subject: Updated docs for version 0.5 X-Git-Tag: 0.7~83 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7b50d7787d6a35218870b600bd69986ed38ea94c;p=imapclient.git Updated docs for version 0.5 --- diff --git a/NEWS b/NEWS index 0f6f35c..311dfce 100644 --- a/NEWS +++ b/NEWS @@ -1,15 +1,21 @@ -#XXX standard format? -#XXX should this be NEWS? +Version 0.5 +----------- +Folder names are now encoded and decoded transparently if required (using +modified UTF-7). This means that any methods that return folder names may +return unicode objects as well as normal strings [API CHANGE]. Additionally, +any method that takes a folder name now accepts unicode object too. Use the +folder_encode attribute to control whether encode/decoding is performed. -folder name quoting bugs +Unquoted folder names in server responses are now handled correctly. Thanks +to Neil Martinsen-Burrell for reporting this bug. -transparent internationalised folder name handling +Fixed a bug with handling of unusual characters in folder names. -timezone handling fixed - -more tests - -includes mock.py +Timezones are now handled correctly for datetimes passed as input and for +server responses. This fixes a number of bugs with timezones. Returned +datetimes are always in the client's local timezone [API CHANGE]. +Many more unit tests, some using Michael Foord's excellent mock.py. +(http://www.voidspace.org.uk/python/mock/) diff --git a/README b/README index ee39334..6ac4a41 100644 --- a/README +++ b/README @@ -4,17 +4,17 @@ IMAPClient aims to be a easy-to-use, Pythonic and complete IMAP client library with no dependencies outside the Python standard library. Features: - - Arguments and return values are natural Python types. - - IMAP server responses are fully parsed and readily useable. - - IMAP unique message IDs (UIDs) are handled transparently. There is no - need to call different methods to use UIDs. - - Escaping for internationalized mailbox names is transparently handled. - Unicode mailbox names may be passed as input where-ever a folder name is - accepted. - - Time zones are transparently handled including when the server and client - are in different zones. - - Convenience methods are provided for commonly used functionality. - - Exceptions are raised when errors occur. +- Arguments and return values are natural Python types. +- IMAP server responses are fully parsed and readily useable. +- IMAP unique message IDs (UIDs) are handled transparently. There is no + need to call different methods to use UIDs. +- Escaping for internationalised mailbox names is transparently handled. + Unicode mailbox names may be passed as input wherever a folder name is + accepted. +- Time zones are transparently handled including when the server and client + are in different zones. +- Convenience methods are provided for commonly used functionality. +- Exceptions are raised when errors occur. Why IMAPClient? --------------- @@ -83,5 +83,5 @@ Send the type and version of the IMAP server. Unit Tests ---------- There are fairly comprehensive unit tests for the FETCH response parser and -related code in test_FetchParser.py. These tests use unittest and can be run -using "python setup.py test" or "python run_tests.py". +a growing number of other parts of the code. These tests use unittest and can +be run using "python setup.py test" or "python run_tests.py". diff --git a/TODO b/TODO index 99ae360..135b225 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,3 @@ -- update docs & web site: - - transparent folder escaping - - update NEWS - ----- release 0.5 ---- - email JP Calderone re use of his code - a bunch of stuff doesn't work with gmail's IMAP (see livetest.py)