- Now checks that SELECT succeeded when entering a folder.
- Verifies that folders listed on folderincludes actually exist by
trying to enter them. Thus, if they do not exist, they can be
created on the first run.
Fixed line-ending code to deal with files with mixed \n and \r\n
codes. This is a rare case, but now is more onerous because we now
have to find headers.
jgoerzen [Tue, 7 Jan 2003 02:21:46 +0000 (03:21 +0100)]
/offlineimap/head: changeset 323
Due to possibly having one account sleep while another is reading a
password, and other tricky situations, support for nice updating and
cancelling of a sleep in TTY.TTYUI has been removed. However, this is
not going to be a huge problem because the new Curses Blinkenlights
interface has this support, and does it a lot better than TTY.TTYUI
ever could have.
jgoerzen [Tue, 7 Jan 2003 00:00:43 +0000 (01:00 +0100)]
/offlineimap/head: changeset 320
Reworked the canvas. Before, problem was the label and buttons to the
right of the lights would make the window too wide. When the button
got added, the window would get even wider. That was because the
canvas would not shrink. My workaround is to use a separate canvas for
each light. Seems to be OK here....
jgoerzen [Mon, 6 Jan 2003 22:15:15 +0000 (23:15 +0100)]
/offlineimap/head: changeset 315
Fixed up the VerboseUI for new account system. All that really needed
updating with the "Sync immediately" button, to cope with syncing
different accounts at different times. It's better now.
jgoerzen [Mon, 6 Jan 2003 21:58:29 +0000 (22:58 +0100)]
/offlineimap/head: changeset 314
More locking updates. Introduced a new MultiLock to threadutil. This
lock will let a single thread acquire the same lock more than once,
keeping track of how many times this happens, and will release the
actual lock only when the lock's lock count gets back to zero. By
using MultiLock, various functions in Curses.py and Blinkenlights.py
no longer need to pass around to other functions a parameter
indicating whether or not a lock should be obtained. This was a large
cause of complexity and errors, which is now eliminated. Everything
seems to be working properly wrt locking at this point. The
Curses.Blinkenlights interface has achieved basic working
functionality.
jgoerzen [Mon, 6 Jan 2003 20:40:23 +0000 (21:40 +0100)]
/offlineimap/head: changeset 312
Updated the mbnames recorder to bring it back up-to-date with the new
account-centric system. It will now gather reports from account sync
threads, and when it has all that it's supposed to, it'll write out
the file.
jgoerzen [Mon, 6 Jan 2003 11:07:16 +0000 (12:07 +0100)]
/offlineimap/head: changeset 310
Added some temporary debug code to help weed out a few race conditions
with the curses Blinkenlights interface. Think I've finally got it.
I'm leaving the debugging code in for now, though, to help in case
there are future problems.
jgoerzen [Sun, 5 Jan 2003 23:07:58 +0000 (00:07 +0100)]
/offlineimap/head: changeset 308
More progress at debugging. The curses blinkenlights is now working
well, though it still has an occasional tendency to corrupt the light
display with comments from the log. I suspect a locking problem --
need to be more strict with iolock I suspect. Updated various modules
to register the threads' account names, etc.
jgoerzen [Sat, 4 Jan 2003 04:57:46 +0000 (05:57 +0100)]
/offlineimap/head: changeset 297
Changed to a more account-centric behavior. The refresh time is now a
per-account variable. Implemented new account classes. User interfaces
must now be updated to take advantage of this.
jgoerzen [Fri, 3 Jan 2003 02:05:14 +0000 (03:05 +0100)]
/offlineimap/head: changeset 293
Now properly handles folder names that contain parenthesis. Used patch
from Kyler Laird in http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=173895. Closes: #173895.
jgoerzen [Tue, 12 Nov 2002 21:40:40 +0000 (22:40 +0100)]
/offlineimap/head: changeset 287
Alter handling of messages flagged for deletion -- no longer
automatically delete them if expunge is 0. In Maildir folder, we will
now ignore the T flag entirely, and just pass it back and forth with
IMAP.
jgoerzen [Mon, 4 Nov 2002 23:15:42 +0000 (00:15 +0100)]
/offlineimap/head: changeset 278
Moved password promting into imapserver.py. Passwords are now asked
for on-demand and typos will no longer crash the program (the user
will be re-prompted). Closes: #162672.
jgoerzen [Wed, 16 Oct 2002 23:27:27 +0000 (00:27 +0100)]
/offlineimap/head: changeset 272
When an exception occurs, OfflineIMAP will attempt to print the last
50 debug messages, whether or not debugging was enabled for this
session. This way, even unexpected and non-repeatable errors stand a
chance of getting a more detailed log.