From b62de2b09ac7eda36f071e381821a6105f15e0a2 Mon Sep 17 00:00:00 2001 From: jgoerzen Date: Fri, 27 Jun 2003 01:03:07 +0100 Subject: [PATCH] /offlineimap/head: changeset 487 Fixed version confusion --- offlineimap/head/bin/offlineimap | 2 +- offlineimap/head/debian/changelog | 13 ++++++++++--- offlineimap/head/offlineimap.py | 2 +- offlineimap/head/offlineimap/folder/Maildir.py | 6 ++++++ offlineimap/head/offlineimap/version.py | 6 +++--- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/offlineimap/head/bin/offlineimap b/offlineimap/head/bin/offlineimap index ba0a00d..60b8049 100644 --- a/offlineimap/head/bin/offlineimap +++ b/offlineimap/head/bin/offlineimap @@ -18,4 +18,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA from offlineimap import init -init.startup('3.99.19') +init.startup('3.99.20') diff --git a/offlineimap/head/debian/changelog b/offlineimap/head/debian/changelog index d8c5a18..b3d564f 100644 --- a/offlineimap/head/debian/changelog +++ b/offlineimap/head/debian/changelog @@ -1,13 +1,20 @@ +offlineimap (3.99.20) unstable; urgency=low + + * OfflineIMAP now moves messages between new and cur in Maildir when flags + have changed on the server. + * Applied patch from Joerg Wendland to use + APPENDUID result from mail servers that provide it. Closes: #198772. + + -- John Goerzen Thu, 27 Jun 2003 07:28:33 -0500 + offlineimap (3.99.19) unstable; urgency=low * Added a "force" option to imapserver/select to force a reloading of a folder. Per [complete.org #67], when cachemessagelist() was called on an object that was cached from a previous run, it would not re-issue the select(). - * Applied patch from Joerg Wendland to use - APPENDUID result from mail servers that provide it. Closes: #198772. - -- John Goerzen Thu, 27 Jun 2003 07:04:53 -0500 + -- John Goerzen Mon, 2 Jun 2003 07:04:53 -0500 offlineimap (3.99.18) unstable; urgency=low diff --git a/offlineimap/head/offlineimap.py b/offlineimap/head/offlineimap.py index 18e9f83..250dffd 100644 --- a/offlineimap/head/offlineimap.py +++ b/offlineimap/head/offlineimap.py @@ -18,4 +18,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA from offlineimap import init -init.startup('3.99.19') +init.startup('3.99.20') diff --git a/offlineimap/head/offlineimap/folder/Maildir.py b/offlineimap/head/offlineimap/folder/Maildir.py index 69cb033..3b7b055 100644 --- a/offlineimap/head/offlineimap/folder/Maildir.py +++ b/offlineimap/head/offlineimap/folder/Maildir.py @@ -182,6 +182,12 @@ class MaildirFolder(BaseFolder): def savemessageflags(self, uid, flags): oldfilename = self.messagelist[uid]['filename'] newpath, newname = os.path.split(oldfilename) + if 'S' in flags: + # If a message has been seen, it goes into the cur + # directory. CR debian#152482, [complete.org #4] + newpath = os.path.join(self.getfullname(), 'cur') + else: + newpath = os.path.join(self.getfullname(), 'new') infostr = ':' infomatch = re.search('(:.*)$', newname) if infomatch: # If the info string is present.. diff --git a/offlineimap/head/offlineimap/version.py b/offlineimap/head/offlineimap/version.py index 945442c..cbc3f3d 100644 --- a/offlineimap/head/offlineimap/version.py +++ b/offlineimap/head/offlineimap/version.py @@ -1,8 +1,8 @@ productname = 'OfflineIMAP' -versionstr = "3.99.19" -revno = long('$Rev: 486 $'[6:-2]) +versionstr = "3.99.20" +revno = long('$Rev: 487 $'[6:-2]) revstr = "Rev %d" % revno -datestr = '$Date: 2003-06-26 13:38:47 -0500 (Thu, 26 Jun 2003) $' +datestr = '$Date: 2003-06-26 14:03:07 -0500 (Thu, 26 Jun 2003) $' versionlist = versionstr.split(".") major = versionlist[0]