From: Menno Smits Date: Thu, 16 Apr 2009 19:10:47 +0000 (+0100) Subject: Merged transparent folder escaping support. Not quite complete but good enough to... X-Git-Tag: 0.7~96 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c8b5b92328055daa559e921c15ea8774c791d138;p=imapclient.git Merged transparent folder escaping support. Not quite complete but good enough to go into trunk. --- c8b5b92328055daa559e921c15ea8774c791d138 diff --cc THANKS index 8ae1d35,ef27787..9d0272d --- a/THANKS +++ b/THANKS @@@ -1,14 -1,16 +1,23 @@@ Thanks go to the following people for their help with this project. - Patches - ------- -The project was partially developed while the author was working at NetBox Blue -(http://netboxblue.com/). - -Helder Guerreiro (helder _AT_ paxjulia DOT com) - - patches for capability checks, logout command, status command, lsub - command ++Code ++---- +Helder Guerreiro + - capability checks + - logout command + - status command + - lsub command + Jp Calderone + The contents of imapclient/imap_utf7.py and associated tests have been + taken from the Twisted project (http://twistedmatrix.com/). This + functionality was written by Jp Calderone. + -Brian Jackson (iggy _AT_ theiggy DOT com) - - bug report +Bug Reports +------------ +Brian Jackson +Neil Martinsen-Burrell ++ ++ ++The project was partially developed while the author was working at NetBox Blue ++(http://netboxblue.com/). diff --cc TODO index 44d8036,e63b881..4447729 --- a/TODO +++ b/TODO @@@ -1,6 -1,19 +1,21 @@@ - - port all tests to nosetests + - transparent folder escaping + - re_folder currently fails if there's strange chars in the folder name + - write a unit test for this + - more testing + - gmail + - cyrus + - exchange + - script to do this (in parallel) + - update README, website and docstrings to advertise this feature + +- sort out INTERNALDATE timezone issues in livetest.py (see freshfoo.com) - - transparent "&" escaping ++ + - turn livetests into a nose based tested + - make each test independent + + - clean up basic command handling to avoid repetition + - might be able to metaprogram the way out of the currently clumsy UID handling situation + - releases with bzr - automatic changelog generation - support for more IMAP functions: sort, examine etc - someone sent a patch for this? diff --cc imapclient/imapclient.py index 7e181c5,db0a0b6..8ca728d --- a/imapclient/imapclient.py +++ b/imapclient/imapclient.py @@@ -178,7 -196,8 +196,7 @@@ class IMAPClient(object) if line: m = self.re_folder.match(line) if m: - folders.append(m.group(1)) + folders.append(self._decode_folder_name(m.group(1))) - return folders