]> khamidou — GitHub mirrors - imapclient.git/log
imapclient.git
13 years agoThank Erik Quaeghebeur
Menno Smits [Tue, 4 Jun 2013 23:08:33 +0000 (00:08 +0100)]
Thank Erik Quaeghebeur

13 years agoDocument tox
Menno Smits [Tue, 4 Jun 2013 22:46:43 +0000 (23:46 +0100)]
Document tox

13 years agoWork around strange Fastmail.fm errors when cleaning up test folders
Menno Smits [Tue, 4 Jun 2013 22:21:31 +0000 (23:21 +0100)]
Work around strange Fastmail.fm errors when cleaning up test folders

Seeing frequent "Mailbox already exists" errors on folder deletion.

13 years agoFixed bone-headed port handling error with interact functionality
Menno Smits [Mon, 3 Jun 2013 23:20:31 +0000 (00:20 +0100)]
Fixed bone-headed port handling error with interact functionality

When --ssl was passed without --port, port 143 was used, instead of
993!

13 years agoHIGHESTMODSEQ is now more directly accessible
Menno Smits [Thu, 30 May 2013 22:59:54 +0000 (23:59 +0100)]
HIGHESTMODSEQ is now more directly accessible

13 years agoHandle HIGHESTMODSEQ in SELECT response correctly
Menno Smits [Thu, 30 May 2013 22:25:49 +0000 (23:25 +0100)]
Handle HIGHESTMODSEQ in SELECT response correctly

And added much needed unit tests for select_folder

13 years agoUse bytes for mocked test data in order to match actual data more closely
Menno Smits [Thu, 30 May 2013 22:01:16 +0000 (23:01 +0100)]
Use bytes for mocked test data in order to match actual data more closely

13 years agoRun some folder tests without folder_encode enabled
Menno Smits [Thu, 30 May 2013 21:47:29 +0000 (22:47 +0100)]
Run some folder tests without folder_encode enabled

13 years agoDon't log in again for each test
Menno Smits [Wed, 29 May 2013 22:30:42 +0000 (23:30 +0100)]
Don't log in again for each test

This helps with some servers which impose time-based login limits. It
may also speed up test runs a little.

13 years agoHandle the same message appearing multiple times in a single FETCH response
Menno Smits [Wed, 29 May 2013 22:23:38 +0000 (23:23 +0100)]
Handle the same message appearing multiple times in a single FETCH response

This can occur when server sends unsolicited FETCH responses.

13 years agoMinor from_bytes clean ups
Menno Smits [Wed, 29 May 2013 21:13:27 +0000 (22:13 +0100)]
Minor from_bytes clean ups

13 years agobetter name for encode_quote method
Menno Smits [Wed, 29 May 2013 21:05:32 +0000 (22:05 +0100)]
better name for encode_quote method

13 years agoTidied up examples
Menno Smits [Wed, 29 May 2013 20:50:53 +0000 (21:50 +0100)]
Tidied up examples

13 years agoUse Sphinx :rfc: role where appropriate
Menno Smits [Wed, 29 May 2013 20:46:09 +0000 (21:46 +0100)]
Use Sphinx :rfc: role where appropriate

This also avoids a warning when the docs are built about multiple
references to the same RFC.

13 years agoMake it clearer where Python 3 support starts
Menno Smits [Wed, 17 Apr 2013 23:11:24 +0000 (00:11 +0100)]
Make it clearer where Python 3 support starts

13 years agoMerged Python 3 support into the main repo
Menno Smits [Wed, 17 Apr 2013 23:07:43 +0000 (00:07 +0100)]
Merged Python 3 support into the main repo

Bumped version to 0.10-alpha

13 years agoDocumentation updates relating to Python 3
Menno Smits [Wed, 17 Apr 2013 23:03:11 +0000 (00:03 +0100)]
Documentation updates relating to Python 3

13 years agoLog out secondary connnections without caring about errors
Menno Smits [Wed, 17 Apr 2013 22:48:29 +0000 (23:48 +0100)]
Log out secondary connnections without caring about errors

For some reason this is required by Fastmail.fm

13 years agoAvoid using same test folder name twice in a row in test_folders
Menno Smits [Wed, 17 Apr 2013 22:22:57 +0000 (23:22 +0100)]
Avoid using same test folder name twice in a row in test_folders

This is an attempt to avoid "Mailbox already exists" errors at folder
deletion time with Fastmail.fm.

13 years agomade mocked _simple_command return value match reality
Menno Smits [Sun, 14 Apr 2013 22:04:40 +0000 (23:04 +0100)]
made mocked _simple_command return value match reality

13 years agoFixed py3 import issue in imapclient.interact
Menno Smits [Sun, 14 Apr 2013 22:04:04 +0000 (23:04 +0100)]
Fixed py3 import issue in imapclient.interact

13 years agoRemoved unnecessary folder_encode argument to from_bytes
Menno Smits [Sun, 14 Apr 2013 21:39:41 +0000 (22:39 +0100)]
Removed unnecessary folder_encode argument to from_bytes

Also moved from_bytes from the imap_utf7 module to the main imapclient
since it no longer has anything to do with modified UTF-7 and is only
called from the imapclient module.

13 years agoIntroduced many more tests that test binary (bytes) arguments and fixed a few problem...
Menno Smits [Thu, 11 Apr 2013 22:44:08 +0000 (23:44 +0100)]
Introduced many more tests that test binary (bytes) arguments and fixed a few problems that were found.

13 years agoUpdated HACKING file name
Menno Smits [Wed, 10 Apr 2013 11:11:33 +0000 (12:11 +0100)]
Updated HACKING file name

13 years agomerge
Menno Smits [Wed, 10 Apr 2013 11:03:02 +0000 (12:03 +0100)]
merge

13 years agouse .rst extension for Restructured Text documentation files
Menno Smits [Wed, 10 Apr 2013 11:01:16 +0000 (12:01 +0100)]
use .rst extension for Restructured Text documentation files

13 years agoRestructured Text fixes
Menno Smits [Wed, 10 Apr 2013 11:00:23 +0000 (12:00 +0100)]
Restructured Text fixes

13 years agoremoved unicode literals so that live tests work under Python 3.2
Menno Smits [Sat, 6 Apr 2013 22:17:07 +0000 (23:17 +0100)]
removed unicode literals so that live tests work under Python 3.2

13 years agoMerged from Mathieu's python3 repo
Menno Smits [Sat, 6 Apr 2013 21:46:49 +0000 (22:46 +0100)]
Merged from Mathieu's python3 repo

13 years agocomment fix
Menno Smits [Sat, 6 Apr 2013 21:43:38 +0000 (22:43 +0100)]
comment fix

13 years agotox.ini for py26, py27, py32, py33
Mathieu Agopian [Fri, 5 Apr 2013 11:02:28 +0000 (13:02 +0200)]
tox.ini for py26, py27, py32, py33

13 years agoDon't test functionality that's unaffected by use_uid twice
Menno Smits [Thu, 4 Apr 2013 22:11:16 +0000 (23:11 +0100)]
Don't test functionality that's unaffected by use_uid twice

Tests that don't interact with the use_uid functionality have been
split in to their own test class and aren't run twice anymore. This
makes the test runs *much* faster.

13 years agosimplified handling of Python 2/3 class name differences
Menno Smits [Thu, 4 Apr 2013 21:37:42 +0000 (22:37 +0100)]
simplified handling of Python 2/3 class name differences

13 years agoclean up connections properly in IDLE and NOOP live tests
Menno Smits [Thu, 4 Apr 2013 21:26:49 +0000 (22:26 +0100)]
clean up connections properly in IDLE and NOOP live tests

13 years agoHandle new exception in idle_check
Menno Smits [Thu, 4 Apr 2013 21:25:57 +0000 (22:25 +0100)]
Handle new exception in idle_check

Under Python 3 IMAP4.abort might get raised by _get_line() when the
socket is in non-blocking mode.

13 years agosome clarifications
Menno Smits [Thu, 4 Apr 2013 20:49:33 +0000 (21:49 +0100)]
some clarifications

13 years agocomment fix
Menno Smits [Thu, 4 Apr 2013 20:41:47 +0000 (21:41 +0100)]
comment fix

13 years agoRemoved FolderNameError as it is no longer used
Menno Smits [Thu, 4 Apr 2013 20:40:57 +0000 (21:40 +0100)]
Removed FolderNameError as it is no longer used

13 years agoFix unittest2 deprecation warnings under Python 3
Menno Smits [Sun, 31 Mar 2013 22:43:40 +0000 (23:43 +0100)]
Fix unittest2 deprecation warnings under Python 3

13 years agoadapted recent search criteria refactoring to work under Python 3
Menno Smits [Sun, 31 Mar 2013 22:23:52 +0000 (23:23 +0100)]
adapted recent search criteria refactoring to work under Python 3

13 years agosynced the python3 repo with the main repo
Menno Smits [Sun, 31 Mar 2013 22:19:55 +0000 (23:19 +0100)]
synced the python3 repo with the main repo

There's been a significant number of changes in the main repo since
the python3 fork was created.

13 years agofolder_exists calls LIST with quoted empty string
Mathieu Agopian [Fri, 29 Mar 2013 08:24:41 +0000 (09:24 +0100)]
folder_exists calls LIST with quoted empty string

13 years agomerged from stable
Menno Smits [Thu, 28 Mar 2013 23:37:21 +0000 (23:37 +0000)]
merged from stable

13 years agoencode to modified utf7 and quote only folder names
Mathieu Agopian [Thu, 28 Mar 2013 20:34:44 +0000 (21:34 +0100)]
encode to modified utf7 and quote only folder names

13 years agoflags shouldn't be quoted nor encoded to utf7, they're atoms
Mathieu Agopian [Thu, 28 Mar 2013 18:53:46 +0000 (19:53 +0100)]
flags shouldn't be quoted nor encoded to utf7, they're atoms

13 years agoAdded tag 0.9.2 for changeset 060dfcd45820
Menno Smits [Wed, 27 Mar 2013 21:42:20 +0000 (21:42 +0000)]
Added tag 0.9.2 for changeset 060dfcd45820

--HG--
branch : stable

13 years agomerged from default 0.9.2
Menno Smits [Wed, 27 Mar 2013 21:41:30 +0000 (21:41 +0000)]
merged from default

--HG--
branch : stable

13 years agoversion bump for 0.9.2
Menno Smits [Wed, 27 Mar 2013 21:39:05 +0000 (21:39 +0000)]
version bump for 0.9.2

13 years agomerged stable
Menno Smits [Wed, 27 Mar 2013 21:37:53 +0000 (21:37 +0000)]
merged stable

13 years agoextracted search criteria normalisation
Menno Smits [Wed, 27 Mar 2013 21:29:44 +0000 (21:29 +0000)]
extracted search criteria normalisation

13 years agoAdded THREAD support
Menno Smits [Wed, 27 Mar 2013 21:06:32 +0000 (21:06 +0000)]
Added THREAD support

13 years agoEnhanced/fixed CAPABILITY handling
Menno Smits [Wed, 27 Mar 2013 20:31:48 +0000 (20:31 +0000)]
Enhanced/fixed CAPABILITY handling

13 years agoall tests (live and unit) passing for py2 and py3
Mathieu Agopian [Sun, 24 Mar 2013 18:43:06 +0000 (19:43 +0100)]
all tests (live and unit) passing for py2 and py3

13 years agolive test_idle now passes (all live tests pass but skips) also on py2
Mathieu Agopian [Sat, 23 Mar 2013 18:50:55 +0000 (19:50 +0100)]
live test_idle now passes (all live tests pass but skips) also on py2

13 years agolive test_idle now passes (all live tests pass but skips)
Mathieu Agopian [Sat, 23 Mar 2013 15:38:00 +0000 (16:38 +0100)]
live test_idle now passes (all live tests pass but skips)

13 years agoCopyright date update for 2013
Menno Smits [Sat, 23 Mar 2013 00:32:51 +0000 (00:32 +0000)]
Copyright date update for 2013

--HG--
branch : stable

13 years agoAll live tests but test_idle (and skipped) are now passing
Mathieu Agopian [Fri, 22 Mar 2013 21:56:33 +0000 (22:56 +0100)]
All live tests but test_idle (and skipped) are now passing

13 years agoonly use time.altzone if dst is active
Mathieu Agopian [Fri, 22 Mar 2013 09:15:37 +0000 (10:15 +0100)]
only use time.altzone if dst is active

13 years agouse six.next instead of six.advance_iterator
Mathieu Agopian [Thu, 21 Mar 2013 19:40:05 +0000 (20:40 +0100)]
use six.next instead of six.advance_iterator

13 years agonaive drop of u() and b()
Mathieu Agopian [Thu, 21 Mar 2013 19:36:36 +0000 (20:36 +0100)]
naive drop of u() and b()

13 years agoadd import unicode_literals from __future__ everywhere, use print function
Mathieu Agopian [Thu, 21 Mar 2013 19:14:29 +0000 (20:14 +0100)]
add import unicode_literals from __future__ everywhere, use print function

13 years agoMention HACKING closer to the rest of the documentation
Menno Smits [Thu, 21 Mar 2013 04:31:17 +0000 (04:31 +0000)]
Mention HACKING closer to the rest of the documentation

13 years agoDocument the setup.py way of running the unit tests
Menno Smits [Thu, 21 Mar 2013 04:30:01 +0000 (04:30 +0000)]
Document the setup.py way of running the unit tests

13 years agoMerged HACKING changes
Menno Smits [Tue, 19 Mar 2013 11:05:23 +0000 (11:05 +0000)]
Merged HACKING changes

13 years agoAdded documentation about how to work on IMAPClient
Menno Smits [Tue, 19 Mar 2013 11:04:13 +0000 (11:04 +0000)]
Added documentation about how to work on IMAPClient

13 years agoPackage description fixes
Menno Smits [Tue, 19 Mar 2013 01:54:52 +0000 (01:54 +0000)]
Package description fixes

13 years agoProvide custom implementation of the setup.py "test" command
Menno Smits [Tue, 19 Mar 2013 01:53:42 +0000 (01:53 +0000)]
Provide custom implementation of the setup.py "test" command

This uses unittest2's test discovery feature.

13 years agoNo need to prune doc/doctrees (eliminates warning)
Menno Smits [Tue, 19 Mar 2013 01:49:26 +0000 (01:49 +0000)]
No need to prune doc/doctrees (eliminates warning)

13 years agouse six.iteritems to make iteritems() calls Python 2 & 3 compatible
Mathieu Agopian [Sat, 16 Mar 2013 20:38:13 +0000 (21:38 +0100)]
use six.iteritems to make iteritems() calls Python 2 & 3 compatible

13 years agoreplace file() by open(), ConfigParser moved to configparser in py3
Mathieu Agopian [Sat, 16 Mar 2013 20:35:47 +0000 (21:35 +0100)]
replace file() by open(), ConfigParser moved to configparser in py3

13 years agoMany more tests passing under Python 3
Menno Smits [Thu, 13 Dec 2012 23:58:37 +0000 (23:58 +0000)]
Many more tests passing under Python 3

13 years agoBroken the back of the unicode related issues.
Menno Smits [Sun, 9 Dec 2012 01:46:43 +0000 (01:46 +0000)]
Broken the back of the unicode related issues.

The lexer code has become the bytes -> string conversion point. This
seems to work well.

Still lots of tests to update but the implementation changes might be
largely done.

14 years agoAdded tag 0.9.1 for changeset 2dfa8edda7fd
Menno Smits [Mon, 12 Nov 2012 22:35:05 +0000 (22:35 +0000)]
Added tag 0.9.1 for changeset 2dfa8edda7fd

14 years agoNEWS update and version bump for 0.9.2 0.9.1
Menno Smits [Mon, 12 Nov 2012 22:29:05 +0000 (22:29 +0000)]
NEWS update and version bump for 0.9.2

14 years agoHandle Gmail's changed new message processing
Menno Smits [Mon, 12 Nov 2012 13:01:48 +0000 (13:01 +0000)]
Handle Gmail's changed new message processing

Gmail now delays new message processing (following an APPEND or
message delivery). After NOOP is called any new messages are visible,
so the live tests now call NOOP after appending test messages when run
against Gmail.

14 years agoFixed command line handling for interact
Menno Smits [Thu, 8 Nov 2012 13:24:52 +0000 (13:24 +0000)]
Fixed command line handling for interact

14 years agoSome renaming to minimise confusion between the OAUTH v1 and v2 implementations
Menno Smits [Mon, 5 Nov 2012 00:03:24 +0000 (00:03 +0000)]
Some renaming to minimise confusion between the OAUTH v1 and v2 implementations

14 years agoAdded OAUTH2 support to livetest/interact configs
Menno Smits [Sun, 4 Nov 2012 23:58:45 +0000 (23:58 +0000)]
Added OAUTH2 support to livetest/interact configs

14 years agoCommitted Zac Witte's patch for OAUTH2 support
Menno Smits [Sun, 4 Nov 2012 23:08:56 +0000 (23:08 +0000)]
Committed Zac Witte's patch for OAUTH2 support

... and some related clean-ups.

14 years agoSupport connection to the IMAP server using an external command (i.e. IMAP4_stream)
Menno Smits [Fri, 17 Aug 2012 20:58:12 +0000 (21:58 +0100)]
Support connection to the IMAP server using an external command (i.e. IMAP4_stream)

14 years agoimap_utf7 now Python 2/3 compatible. All unit tests pass.
Menno Smits [Fri, 22 Jun 2012 21:14:22 +0000 (22:14 +0100)]
imap_utf7 now Python 2/3 compatible. All unit tests pass.

14 years agodeal with unicode literals in tests
Menno Smits [Mon, 21 May 2012 21:49:47 +0000 (22:49 +0100)]
deal with unicode literals in tests

14 years agodeal with basestring not existing in Python 3
Menno Smits [Mon, 21 May 2012 21:46:07 +0000 (22:46 +0100)]
deal with basestring not existing in Python 3

14 years agoTake care of Python 2/3 xrange/range difference
Menno Smits [Mon, 21 May 2012 21:41:19 +0000 (22:41 +0100)]
Take care of Python 2/3 xrange/range difference

14 years agoMake PushableIterator Python 2 & 3 compatible
Menno Smits [Mon, 21 May 2012 21:25:05 +0000 (22:25 +0100)]
Make PushableIterator Python 2 & 3 compatible

14 years agouse six.advance_iterator to make next() calls Python 2 & 3 compatible
Menno Smits [Mon, 21 May 2012 13:06:08 +0000 (14:06 +0100)]
use six.advance_iterator to make next() calls Python 2 & 3 compatible

14 years agoadded 'six' module
Menno Smits [Mon, 21 May 2012 13:02:28 +0000 (14:02 +0100)]
added 'six' module

14 years agotell hg to ignore the .tox directory
Menno Smits [Mon, 21 May 2012 12:19:34 +0000 (13:19 +0100)]
tell hg to ignore the .tox directory

14 years agoChanges to support installation under Python 3 - many unit tests failing
Menno Smits [Mon, 21 May 2012 12:18:26 +0000 (13:18 +0100)]
Changes to support installation under Python 3 - many unit tests failing

14 years agoAdded simple Python 2.7 and 3.2 tox.ini
Menno Smits [Mon, 21 May 2012 11:57:59 +0000 (12:57 +0100)]
Added simple Python 2.7 and 3.2 tox.ini

14 years agoAdded tag 0.9 for changeset 559cae9c89ee
Menno Smits [Wed, 16 May 2012 14:41:43 +0000 (15:41 +0100)]
Added tag 0.9 for changeset 559cae9c89ee

14 years agoversion bump and NEWS update for 0.9 0.9
Menno Smits [Wed, 16 May 2012 14:41:26 +0000 (15:41 +0100)]
version bump and NEWS update for 0.9

14 years agoadded a live test for readonly select_folder (EXAMINE)
Menno Smits [Wed, 16 May 2012 14:27:25 +0000 (15:27 +0100)]
added a live test for readonly select_folder (EXAMINE)

14 years agoExchange doesn't return an error when subscribing to a non-existent folder
Menno Smits [Thu, 10 May 2012 10:11:56 +0000 (11:11 +0100)]
Exchange doesn't return an error when subscribing to a non-existent folder

14 years agoAllow for varying expunge responses for an empty mailbox
Menno Smits [Thu, 10 May 2012 10:05:56 +0000 (11:05 +0100)]
Allow for varying expunge responses for an empty mailbox

14 years agoNEWS update re MS Exchange
Menno Smits [Wed, 9 May 2012 12:31:56 +0000 (13:31 +0100)]
NEWS update re MS Exchange

14 years agoParse STATUS responses robustly
Menno Smits [Wed, 9 May 2012 12:29:35 +0000 (13:29 +0100)]
Parse STATUS responses robustly

No more regular expressions.
This fixes folder_status() with MS Exchange.

14 years agouse a larger size in test search because Exchange reports a higher than expected...
Menno Smits [Wed, 9 May 2012 12:05:20 +0000 (13:05 +0100)]
use a larger size in test search because Exchange reports a higher than expected size for messages

14 years agoSort folders depth first when deleting test folders
Menno Smits [Wed, 9 May 2012 11:59:30 +0000 (12:59 +0100)]
Sort folders depth first when deleting test folders

14 years agoNEWS update for livetest changes
Menno Smits [Fri, 4 May 2012 21:21:03 +0000 (22:21 +0100)]
NEWS update for livetest changes