]> khamidou — GitHub mirrors - imapclient.git/log
imapclient.git
16 years agorefactored Lexer classes. Not quite working yet.
Menno Smits [Fri, 7 May 2010 12:37:02 +0000 (13:37 +0100)]
refactored Lexer classes. Not quite working yet.

16 years agoMerged new lexer code from Mark. All tests pass.
Menno Smits [Fri, 7 May 2010 11:37:40 +0000 (12:37 +0100)]
Merged new lexer code from Mark. All tests pass.

16 years agoimplement a lexer which performs 7x faster for us
Mark Hammond [Thu, 6 May 2010 09:22:19 +0000 (19:22 +1000)]
implement a lexer which performs 7x faster for us

16 years agoAlways return folder names as unicode for consistency.
Menno Smits [Wed, 5 May 2010 13:05:39 +0000 (14:05 +0100)]
Always return folder names as unicode for consistency.

Otherwise sometimes the folder names are unicode and sometimes they
are strs. This is good practice for Python 3.

16 years ago#21: High ascii bytes in folder names can break folder handling
Menno Smits [Wed, 5 May 2010 12:27:39 +0000 (13:27 +0100)]
#21: High ascii bytes in folder names can break folder handling

Don't allow characters in str based folder names that can't be
converted to unicode without knowing the encoding. The idea is that
IMAPClient's user should convert to unicode themselves.

16 years agoadded some missing simple tests
Menno Smits [Wed, 5 May 2010 11:44:51 +0000 (12:44 +0100)]
added some missing simple tests

16 years agoAdded a test for repeated UIDs (#44)
Menno Smits [Sun, 2 May 2010 15:41:38 +0000 (16:41 +0100)]
Added a test for repeated UIDs (#44)

Courier IMAP sometimes repeats the UID on each line. This broke IMAPClient
0.5.2 but doesn't break 0.6. Added a test anyway to ensure this doesn't break
in the future.

16 years ago#43: numeric folder names break list_folders
Menno Smits [Thu, 29 Apr 2010 21:49:35 +0000 (22:49 +0100)]
#43: numeric folder names break list_folders

Further hacks to the lexer to allow the response parser to
distinguish between a string with digits in it and an actual
integer. This prevents folder names comprising of just
digits from being returned as integers instead of strings.

16 years ago#42: Folder names with double quotes around them have the double quotes stripped
Menno Smits [Thu, 29 Apr 2010 21:10:51 +0000 (22:10 +0100)]
#42: Folder names with double quotes around them have the double quotes stripped

Work around an imaplib misfeature which prevents quoting when folder names
start and end with double quotes.

16 years agoCorrectly handle \" in quoted strings.
Menno Smits [Thu, 29 Apr 2010 13:01:30 +0000 (14:01 +0100)]
Correctly handle \" in quoted strings.

(As reported in comments of #28)

It turns out these were being handled twice causing them to be
incorrectly removed if a string started with a double quote.

Extended tests to cover more cases around escaped double quotes. Prior
to this the test weren't covering enough cases.

16 years agoignore the egg-info directory
Menno Smits [Thu, 29 Apr 2010 12:14:52 +0000 (13:14 +0100)]
ignore the egg-info directory

16 years ago#7: added new script for interactive sessions (interact.py)
Menno Smits [Fri, 23 Apr 2010 12:27:44 +0000 (13:27 +0100)]
#7: added new script for interactive sessions (interact.py)

Uses IPython if available.
Removed --interact from livetest.py

16 years agoAdded tests for partial fetches
Menno Smits [Wed, 17 Mar 2010 02:10:37 +0000 (02:10 +0000)]
Added tests for partial fetches

16 years agoTiny cleanup of Gmail handling
Menno Smits [Wed, 17 Mar 2010 01:49:50 +0000 (01:49 +0000)]
Tiny cleanup of Gmail handling

16 years agoCleaned up XLIST tests and fixed a few thinkos.
Menno Smits [Wed, 17 Mar 2010 01:45:40 +0000 (01:45 +0000)]
Cleaned up XLIST tests and fixed a few thinkos.

16 years agoAdded fetch tests to livetest.py
Menno Smits [Wed, 17 Mar 2010 01:32:55 +0000 (01:32 +0000)]
Added fetch tests to livetest.py

These exercise various fields including ENVELOPE. Passes on Dovecot and Gmail.

16 years agoHandle empty strings and None's in the folder list responses again
Menno Smits [Mon, 8 Feb 2010 13:06:35 +0000 (13:06 +0000)]
Handle empty strings and None's in the folder list responses again

All tests passing.

16 years agomake livetest work with gmail
Mark Hammond [Sun, 31 Jan 2010 11:34:44 +0000 (22:34 +1100)]
make livetest work with gmail

16 years agoupdate tests for new list return values
Mark Hammond [Sun, 31 Jan 2010 11:33:00 +0000 (22:33 +1100)]
update tests for new list return values

16 years agobetter 'list' parsing; gmail xlist support; readonly select
Mark Hammond [Sun, 31 Jan 2010 11:31:53 +0000 (22:31 +1100)]
better 'list' parsing; gmail xlist support; readonly select

16 years agoFix select test, there's no guarantee there will be a message in the inbox
Menno Smits [Wed, 27 Jan 2010 08:43:41 +0000 (08:43 +0000)]
Fix select test, there's no guarantee there will be a message in the inbox

16 years agoMerged COPY command implementation (#36)
Menno Smits [Wed, 27 Jan 2010 08:18:56 +0000 (08:18 +0000)]
Merged COPY command implementation (#36)

16 years agoadded COPY docstring
Menno Smits [Wed, 27 Jan 2010 08:14:09 +0000 (08:14 +0000)]
added COPY docstring

16 years agoCOPY tests implemented
Menno Smits [Tue, 26 Jan 2010 11:52:38 +0000 (11:52 +0000)]
COPY tests implemented

16 years agoselect_folder() now returns the full parsed SELECT response (#24)
Menno Smits [Mon, 25 Jan 2010 13:26:30 +0000 (13:26 +0000)]
select_folder() now returns the full parsed SELECT response (#24)

16 years agoadded response parsing changes to NEWS
Menno Smits [Sun, 24 Jan 2010 22:42:40 +0000 (22:42 +0000)]
added response parsing changes to NEWS

16 years agoMerged new_fetch_parsing branch
Menno Smits [Sun, 24 Jan 2010 19:38:23 +0000 (19:38 +0000)]
Merged new_fetch_parsing branch

16 years agoadded some docstrings
Menno Smits [Sun, 24 Jan 2010 19:31:34 +0000 (19:31 +0000)]
added some docstrings

16 years agoremoved devel bits
Menno Smits [Sun, 24 Jan 2010 19:24:55 +0000 (19:24 +0000)]
removed devel bits

16 years agoPlugged in new response parser
Menno Smits [Sun, 24 Jan 2010 19:23:48 +0000 (19:23 +0000)]
Plugged in new response parser

Old FetchParser class and supporting code removed.
livetest.py works fully with Dovecot.

16 years agoport INTERNALDATE handling from old fetch parser - all tests PASS\!
Menno Smits [Sun, 24 Jan 2010 19:02:33 +0000 (19:02 +0000)]
port INTERNALDATE handling from old fetch parser - all tests PASS\!

16 years agore-enabled more literal tests
Menno Smits [Sun, 24 Jan 2010 18:50:38 +0000 (18:50 +0000)]
re-enabled more literal tests

16 years agofixed tests that were passing for the wrong reason
Menno Smits [Sun, 24 Jan 2010 18:40:30 +0000 (18:40 +0000)]
fixed tests that were passing for the wrong reason

16 years agobumped version for 0.5.2
Menno Smits [Sun, 24 Jan 2010 17:20:03 +0000 (17:20 +0000)]
bumped version for 0.5.2

16 years agoFinished NEWS for 0.5.2
Menno Smits [Sun, 24 Jan 2010 17:19:20 +0000 (17:19 +0000)]
Finished NEWS for 0.5.2

16 years agoinitial stab at a copy command, not tested
Menno Smits [Fri, 22 Jan 2010 13:10:46 +0000 (13:10 +0000)]
initial stab at a copy command, not tested

16 years agoadded Mark Hammond
Menno Smits [Mon, 11 Jan 2010 19:15:54 +0000 (19:15 +0000)]
added Mark Hammond

16 years agoMerged from trunk
Menno Smits [Mon, 11 Jan 2010 19:14:38 +0000 (19:14 +0000)]
Merged from trunk

16 years agoParse imaplib's fetch data structures instead of doing it all ourselves
Menno Smits [Mon, 11 Jan 2010 19:11:54 +0000 (19:11 +0000)]
Parse imaplib's fetch data structures instead of doing it all ourselves

This makes the code messier but means imaplib does a bit more of the
heavy lifting - this is probably safer from a bug standpoint.

From Mark Hammond.

16 years agoAdded Fergal's last name
Menno Smits [Wed, 6 Jan 2010 12:39:44 +0000 (12:39 +0000)]
Added Fergal's last name

16 years agoAdded Mark Eichin
Menno Smits [Wed, 6 Jan 2010 12:38:01 +0000 (12:38 +0000)]
Added Mark Eichin

16 years agoFixed problem when literal is followed by a non-literal (#33)
Menno Smits [Tue, 5 Jan 2010 13:42:35 +0000 (13:42 +0000)]
Fixed problem when literal is followed by a non-literal (#33)

This problem manifested itself with GMail's IMAP. Patch based on what
Fergal sent in with the bug report.

16 years agocheck folders with backslash and dquote in the names in the live test
Menno Smits [Tue, 29 Dec 2009 22:18:56 +0000 (22:18 +0000)]
check folders with backslash and dquote in the names in the live test

16 years agoUpdated NEWS for #28
Menno Smits [Tue, 29 Dec 2009 22:06:54 +0000 (22:06 +0000)]
Updated NEWS for #28

16 years agoHandle empty strings and None when processing list responses
Menno Smits [Tue, 29 Dec 2009 22:03:43 +0000 (22:03 +0000)]
Handle empty strings and None when processing list responses

16 years agoHandle both types of quoted specials
msmits@ubuntu.ubuntu-domain [Mon, 28 Dec 2009 19:10:33 +0000 (13:10 -0600)]
Handle both types of quoted specials

16 years agoAdded a (failing) test as a reminder about quoted specials (as per #28)
msmits@ubuntu.ubuntu-domain [Mon, 28 Dec 2009 19:01:43 +0000 (13:01 -0600)]
Added a (failing) test as a reminder about quoted specials (as per #28)

16 years agoBackslash escaped double quotes in folder names now handled correctly
msmits@ubuntu.ubuntu-domain [Mon, 28 Dec 2009 18:37:09 +0000 (12:37 -0600)]
Backslash escaped double quotes in folder names now handled correctly

Also extracted the common code for list_folders and
list_sub_folders. The tests act on that directly.

16 years agoadded missing data test
Menno Smits [Mon, 28 Dec 2009 06:22:22 +0000 (06:22 +0000)]
added missing data test

16 years agoadded TODO about string escapes
Menno Smits [Mon, 28 Dec 2009 06:21:59 +0000 (06:21 +0000)]
added TODO about string escapes

16 years agouse double quotes instead of single quotes in triple-quoted strings to keep Emacs...
Menno Smits [Fri, 18 Dec 2009 17:17:30 +0000 (17:17 +0000)]
use double quotes instead of single quotes in triple-quoted strings to keep Emacs happy

16 years agocore parts of fetch parsing done, lots more tests parsing
Menno Smits [Thu, 17 Dec 2009 14:02:26 +0000 (14:02 +0000)]
core parts of fetch parsing done, lots more tests parsing

16 years agoMerged license change from trunk
Menno Smits [Thu, 17 Dec 2009 12:16:29 +0000 (12:16 +0000)]
Merged license change from trunk

16 years agocommitting response parser progress so far, lots of failing tests
Menno Smits [Thu, 17 Dec 2009 12:00:01 +0000 (12:00 +0000)]
committing response parser progress so far, lots of failing tests

16 years agonoisier test output
Menno Smits [Thu, 17 Dec 2009 11:58:42 +0000 (11:58 +0000)]
noisier test output

16 years agomissed the license attribute in setup.py
Menno Smits [Tue, 15 Dec 2009 21:46:07 +0000 (21:46 +0000)]
missed the license attribute in setup.py

16 years agoBumped version to 0.5.1 and updated NEWS.
Menno Smits [Tue, 15 Dec 2009 21:31:09 +0000 (21:31 +0000)]
Bumped version to 0.5.1 and updated NEWS.

16 years agoChanged to new BSD license
Menno Smits [Tue, 15 Dec 2009 21:24:34 +0000 (21:24 +0000)]
Changed to new BSD license

Also added license header to the top of all source files.

17 years agostarted fetch response work, tests half there
Menno Smits [Sun, 15 Nov 2009 23:03:15 +0000 (23:03 +0000)]
started fetch response work, tests half there

17 years agomore useful error reporting, more tests
Menno Smits [Sat, 14 Nov 2009 22:12:18 +0000 (22:12 +0000)]
more useful error reporting, more tests

17 years agoAdded literal support
Menno Smits [Sat, 14 Nov 2009 17:21:19 +0000 (17:21 +0000)]
Added literal support

Refactored tokenising code to allow directory access to the stream.

17 years agomerge
Menno Smits [Sat, 14 Nov 2009 16:13:53 +0000 (16:13 +0000)]
merge

17 years agoinitial version of replacement response parser - somewhat working
Menno Smits [Sat, 14 Nov 2009 16:12:59 +0000 (16:12 +0000)]
initial version of replacement response parser - somewhat working

17 years agomainified
Menno Smits [Sat, 14 Nov 2009 16:11:04 +0000 (16:11 +0000)]
mainified

17 years agoignore pyc and swp files
Menno Smits [Sat, 14 Nov 2009 15:32:31 +0000 (15:32 +0000)]
ignore pyc and swp files

17 years agoPrototype code for handling FETCHs directly
Menno Smits [Sat, 14 Nov 2009 15:30:03 +0000 (15:30 +0000)]
Prototype code for handling FETCHs directly

17 years agoRefer to new website
Menno Smits [Sun, 18 Oct 2009 15:55:11 +0000 (16:55 +0100)]
Refer to new website

17 years agoforgot about SSL support in 0.5
Menno Smits [Sun, 2 Aug 2009 19:31:15 +0000 (20:31 +0100)]
forgot about SSL support in 0.5

17 years agodocumented BODYSTRUCTURE bug and added some other ideas
Menno Smits [Fri, 1 May 2009 12:45:37 +0000 (13:45 +0100)]
documented BODYSTRUCTURE bug and added some other ideas

17 years agomore TODO
Menno Smits [Tue, 28 Apr 2009 23:55:41 +0000 (00:55 +0100)]
more TODO

17 years agopost release ideas
Menno Smits [Tue, 28 Apr 2009 23:40:18 +0000 (00:40 +0100)]
post release ideas

17 years agoAllow this test to be run standalone
Menno Smits [Tue, 28 Apr 2009 23:36:47 +0000 (00:36 +0100)]
Allow this test to be run standalone

17 years agoupdated setup.py description
Menno Smits [Tue, 28 Apr 2009 23:28:12 +0000 (00:28 +0100)]
updated setup.py description

17 years agobumped version
Menno Smits [Tue, 28 Apr 2009 23:16:05 +0000 (00:16 +0100)]
bumped version

17 years agoUpdated docs for version 0.5
Menno Smits [Tue, 28 Apr 2009 23:15:18 +0000 (00:15 +0100)]
Updated docs for version 0.5

17 years agoDocumentation updates
Menno Smits [Wed, 22 Apr 2009 00:04:52 +0000 (01:04 +0100)]
Documentation updates

17 years agoDecided the relative import is fine and mostly unavoidable.
Menno Smits [Tue, 21 Apr 2009 22:01:21 +0000 (23:01 +0100)]
Decided the relative import is fine and mostly unavoidable.

17 years agoCleaned up livetest.py.
Menno Smits [Tue, 21 Apr 2009 21:52:28 +0000 (22:52 +0100)]
Cleaned up livetest.py.
- removed pdb option (not very useful)
- prompt for --interact, shorter name for IMAPClient instance
- renamed server -> client

17 years agoMore timezone fixes. Was broken when server was in different timezone to client.
Menno Smits [Tue, 21 Apr 2009 21:35:45 +0000 (22:35 +0100)]
More timezone fixes. Was broken when server was in different timezone to client.
Lots of test updates to match.

API change: returned datetime objects are now non-timezone-aware and always in
the client system's timzone. This is friendlier to use as the returned datetimes
compare easily to other datetimes. TZ-aware datetime objects can't be directly
compared to non-TZ-aware datetime objects.

livetest.py runs cleanly against Cyrus in another timezone.

17 years agofixed a bug for when the status command response doesnt put quotes around the folder...
Menno Smits [Tue, 21 Apr 2009 19:43:51 +0000 (20:43 +0100)]
fixed a bug for when the status command response doesnt put quotes around the folder name

17 years agoallow livetest.py to be run standalone
Menno Smits [Tue, 21 Apr 2009 19:43:08 +0000 (20:43 +0100)]
allow livetest.py to be run standalone

17 years agoAdded Mr Foord
Menno Smits [Sun, 19 Apr 2009 22:18:09 +0000 (23:18 +0100)]
Added Mr Foord

17 years agomore planning
Menno Smits [Sun, 19 Apr 2009 22:08:01 +0000 (23:08 +0100)]
more planning

17 years agoFixed and reworked timezone handling
Menno Smits [Sun, 19 Apr 2009 21:47:06 +0000 (22:47 +0100)]
Fixed and reworked timezone handling

This was actually pretty broken.
Timezones reported by IMAP server in FETCH responses are now actually used.
Timezone information is now passed to the server as part of an APPEND.
livetest.py passed again for non-GMT timezones.

17 years agofixed bug that caused breakage with folder names containing unusual chars
Menno Smits [Sun, 19 Apr 2009 12:54:12 +0000 (13:54 +0100)]
fixed bug that caused breakage with folder names containing unusual chars

17 years agofixed tests broken by folder encoding changes
Menno Smits [Sun, 19 Apr 2009 12:22:45 +0000 (13:22 +0100)]
fixed tests broken by folder encoding changes

17 years agoplanning for 0.5 release
Menno Smits [Sun, 19 Apr 2009 12:20:10 +0000 (13:20 +0100)]
planning for 0.5 release

17 years agoMerged transparent folder escaping support. Not quite complete but good enough to...
Menno Smits [Thu, 16 Apr 2009 19:10:47 +0000 (20:10 +0100)]
Merged transparent folder escaping support. Not quite complete but good enough to go into trunk.

17 years agodocumented remaining issues with folder handling
Menno Smits [Thu, 16 Apr 2009 19:06:27 +0000 (20:06 +0100)]
documented remaining issues with folder handling

17 years agoFolder escaping is working. Live test is passing correctly. Still needs more testing...
Menno Smits [Sat, 11 Apr 2009 22:28:10 +0000 (23:28 +0100)]
Folder escaping is working. Live test is passing correctly. Still needs more testing and documentation updates.

17 years agoAdded in modified UTF-7 routines and tests, derived from the Twisted project
Menno Smits [Sat, 11 Apr 2009 21:41:58 +0000 (22:41 +0100)]
Added in modified UTF-7 routines and tests, derived from the Twisted project

17 years agocommitting mailbox escaping work done so far for push
Menno Smits [Fri, 10 Apr 2009 18:44:08 +0000 (13:44 -0500)]
committing mailbox escaping work done so far for push

17 years agoFixed bug where unquoted mailbox names weren't being returned.
menno [Thu, 9 Apr 2009 12:16:39 +0000 (13:16 +0100)]
Fixed bug where unquoted mailbox names weren't being returned.

17 years agonote regarding timezone issues in livetest.py
menno [Thu, 9 Apr 2009 12:13:35 +0000 (13:13 +0100)]
note regarding timezone issues in livetest.py

17 years agostarted working on folder quoting bug
Menno Smits [Wed, 8 Apr 2009 22:51:23 +0000 (23:51 +0100)]
started working on folder quoting bug

17 years agotesting notes
Menno Smits [Wed, 8 Apr 2009 22:47:38 +0000 (23:47 +0100)]
testing notes

17 years agoAdded Neil and cleaned up
Menno Smits [Wed, 8 Apr 2009 22:39:27 +0000 (23:39 +0100)]
Added Neil and cleaned up

17 years agoIdea about livetest.py
Menno Smits [Sat, 28 Mar 2009 16:29:11 +0000 (11:29 -0500)]
Idea about livetest.py

17 years agoAdded some ideas on how to clean things up
Menno Smits [Sat, 28 Mar 2009 16:27:40 +0000 (11:27 -0500)]
Added some ideas on how to clean things up

17 years agoUpdated Copyright year to 2009
Menno Smits [Thu, 26 Mar 2009 19:41:48 +0000 (19:41 +0000)]
Updated Copyright year to 2009