/head: changeset 115

Upadates all over
This commit is contained in:
jgoerzen 2002-07-12 14:20:09 +01:00
parent 1c14751a74
commit 4cb6580e06
4 changed files with 154 additions and 4 deletions

View File

@ -1,3 +1,132 @@
2002-07-11 22:20 jgoerzen
* debian/changelog, offlineimap/folder/IMAP.py,
offlineimap/ui/Tk.py: Upadates all over
2002-07-11 20:46 jgoerzen
* offlineimap.py: Added workaround for UW IMAPd
2002-07-11 16:51 jgoerzen
* offlineimap.py, debian/changelog, debian/rules: Added the new
command-line options
2002-07-11 16:46 jgoerzen
* offlineimap.py, debian/docs, offlineimap/version.py: Added
support for command-line arguments
2002-07-11 15:52 jgoerzen
* README: Added a placeholder README
2002-07-11 15:43 jgoerzen
* Makefile, README, manual.html, manual.pdf, manual.ps, manual.txt,
offlineimap.1: Updated documentation; absorbed readme into new
manual
2002-07-11 13:08 jgoerzen
* offlineimap.1, offlineimap.conf, offlineimap.py,
offlineimap/ui/__init__.py, offlineimap/ui/detector.py: Initial
documentation added; more updates
2002-07-11 11:04 jgoerzen
* offlineimap/folder/IMAP.py: Another go at dealing with weird
STORE responses.
2002-07-11 10:58 jgoerzen
* offlineimap/ui/detector.py: Added detector
2002-07-11 10:58 jgoerzen
* offlineimap.conf, offlineimap/ui/Tk.py,
offlineimap/ui/__init__.py: More work on the UIs
2002-07-11 10:38 jgoerzen
* offlineimap/ui/: TTY.py, UIBase.py: More work with the UIs
2002-07-11 09:48 jgoerzen
* offlineimap.py, offlineimap/ui/TTY.py: Updated and enhanced the
TTY display to use thread names as well.
2002-07-11 08:41 jgoerzen
* TODO, debian/changelog, offlineimap/version.py: Added some more
todos
2002-07-11 08:35 jgoerzen
* offlineimap/folder/IMAP.py: Updated with a fix for when an IMAP
server does not return message data from a STORE
2002-07-10 22:25 jgoerzen
* offlineimap.py, offlineimap/version.py, offlineimap/ui/Tk.py:
More bugfixes; removed some debug code
2002-07-10 19:55 jgoerzen
* offlineimap.py, offlineimap/folder/Base.py, offlineimap/ui/Tk.py:
Updated more Tk stuff
2002-07-10 19:02 jgoerzen
* offlineimap/ui/Tk.py: Added window title
2002-07-10 18:59 jgoerzen
* offlineimap/ui/Tk.py: Touched up password entry
2002-07-10 18:57 jgoerzen
* offlineimap/ui/Tk.py: Added the idle vacuum code
2002-07-10 18:42 jgoerzen
* offlineimap/: threadutil.py, ui/Tk.py, ui/UIBase.py: Updated with
some more bug fixes
2002-07-10 18:14 jgoerzen
* offlineimap/ui/Tk.py: Updated.
2002-07-10 16:51 jgoerzen
* offlineimap/ui/Tk.py: More work on the Tk UI.
2002-07-10 16:15 jgoerzen
* offlineimap.py, offlineimap/ui/Tk.py: More work with the Tk UI
2002-07-10 15:53 jgoerzen
* offlineimap.py, offlineimap/threadutil.py, offlineimap/ui/Tk.py,
offlineimap/ui/__init__.py: Initial Tk work.
2002-07-10 14:38 jgoerzen
* offlineimap/ui/Tk.py: Updated
2002-07-10 14:38 jgoerzen
* offlineimap/ui/: Tk.py, __init__.py: Added Tk
2002-07-10 14:37 jgoerzen
* offlineimap/ui/TTY.py: Added copyright notice
2002-07-10 13:06 jgoerzen
* ChangeLog, debian/changelog, offlineimap/version.py: Updated for
2.0.8
2002-07-10 12:51 jgoerzen 2002-07-10 12:51 jgoerzen
* debian/changelog, offlineimap/imapserver.py: Optimized * debian/changelog, offlineimap/imapserver.py: Optimized

View File

@ -2,6 +2,9 @@ offlineimap (3.0.0) unstable; urgency=low
* Introduced a new graphical user interface written with Tkinter. * Introduced a new graphical user interface written with Tkinter.
It features a nice view of multi-threaded displays. It features a nice view of multi-threaded displays.
* The TTY user interface now also displays thread names.
* Program-wide, new threads are given descriptive names to aid in
debugging and status messages.
* Made IMAP folder addmessagesflags() resiliant to a server refusing * Made IMAP folder addmessagesflags() resiliant to a server refusing
to return a full set of new message flags. Closes: #152587. to return a full set of new message flags. Closes: #152587.
* Completely rewrote documentation. OfflineIMAP now has an * Completely rewrote documentation. OfflineIMAP now has an
@ -12,8 +15,15 @@ offlineimap (3.0.0) unstable; urgency=low
-u to force a particular UI -u to force a particular UI
-a to specify which accounts to sync -a to specify which accounts to sync
-h to print help -h to print help
-c to specify an alternate config file
* Added a workaround for UW IMAP problem wherein the server loses
uidvalidity whenever a folder is emptied. Now, the program
will not consider it a problem if uidvalidity is lost when a folder
and the local status cache are both completely empty, since we do
not really need to preserve uidvalidity in that case anyway.
Closes: #152079.
-- John Goerzen <jgoerzen@complete.org> Thu, 11 Jul 2002 08:35:42 -0500 -- John Goerzen <jgoerzen@complete.org> Thu, 11 Jul 2002 22:35:42 -0500
offlineimap (2.0.8) unstable; urgency=low offlineimap (2.0.8) unstable; urgency=low

View File

@ -127,12 +127,20 @@ class IMAPFolder(BaseFolder):
try: try:
imapobj.select(self.getfullname()) imapobj.select(self.getfullname())
result = imapobj.uid('store', '%d' % uid, 'FLAGS', result = imapobj.uid('store', '%d' % uid, 'FLAGS',
imaputil.flagsmaildir2imap(flags))[1][0] imaputil.flagsmaildir2imap(flags))
assert result[0] == 'OK', 'Error with store: ' + r[1]
finally: finally:
self.imapserver.releaseconnection(imapobj) self.imapserver.releaseconnection(imapobj)
result = result[1][0]
if not result:
self.messagelist[uid]['flags'] = flags
else:
flags = imaputil.flags2hash(imaputil.imapsplit(result)[1])['FLAGS'] flags = imaputil.flags2hash(imaputil.imapsplit(result)[1])['FLAGS']
self.messagelist[uid]['flags'] = imaputil.flagsimap2maildir(flags) self.messagelist[uid]['flags'] = imaputil.flagsimap2maildir(flags)
def addmessageflags(self, uid, flags):
self.addmessagesflags([uid], flags)
def addmessagesflags(self, uidlist, flags): def addmessagesflags(self, uidlist, flags):
imapobj = self.imapserver.acquireconnection() imapobj = self.imapserver.acquireconnection()
try: try:

View File

@ -236,6 +236,9 @@ class TkUI(UIBase):
s.top = None s.top = None
TextOKDialog("Main Program Exception", msg) TextOKDialog("Main Program Exception", msg)
def warn(s, msg):
TextOKDialog("OfflineIMAP Warning", msg)
def init_banner(s): def init_banner(s):
s._createTopWindow() s._createTopWindow()
s._msg(version.productname + " " + version.versionstr + ", " +\ s._msg(version.productname + " " + version.versionstr + ", " +\