log src/lib-storage/index/maildir/maildir-sync.c @ 9202:797474444551 HEAD

age author description
Tue, 07 Jul 2009 21:43:57 -0400 Timo Sirainen OSX+Maildir: Also don't log an error if readdir() fails with EINVAL. HEAD
Tue, 07 Jul 2009 21:42:06 -0400 Timo Sirainen OSX+Maildir: If readdir() fails with EINVAL after doing rename()s, retry. Fixes HFS+. HEAD
Wed, 20 May 2009 17:47:49 -0400 Timo Sirainen Maildir: Make sure messages are removed from index if they are deleted externally from new/. HEAD
Mon, 04 May 2009 16:43:59 -0400 Timo Sirainen Maildir: More fixes to uidlist handling. HEAD
Mon, 04 May 2009 16:42:43 -0400 Timo Sirainen Maildir: Handle uidlist errors better. HEAD
Thu, 30 Apr 2009 18:49:26 -0400 Timo Sirainen maildir: Don't assert-crash if we have no read-access to the Maildir. HEAD
Mon, 30 Mar 2009 20:27:14 -0400 Timo Sirainen Added maildir_very_dirty_syncs setting. HEAD
Mon, 23 Mar 2009 12:51:30 -0400 Timo Sirainen Maildir: Another logging improvement to EACCES error. HEAD
Mon, 23 Feb 2009 13:40:01 -0500 Timo Sirainen maildir: We didn't properly handle missing control directory at startup. HEAD
Tue, 06 Jan 2009 09:25:38 -0500 Timo Sirainen Updated copyright notices to include year 2009. HEAD
Mon, 15 Dec 2008 10:58:02 +0200 Timo Sirainen maildir: Allow opening mailbox and expunging messages when uidlist couldn't be locked (e.g. out of quota). HEAD
Sat, 17 May 2008 01:00:22 +0300 Timo Sirainen Replaced HAVE_ST_NSEC macro checks with more generic ST_?TIME_NSEC() macros HEAD
Thu, 15 May 2008 07:01:26 +0300 Timo Sirainen Keep track of dovecot-uidlist mtime+size in index file. If it's up-to-date HEAD
Tue, 06 May 2008 01:27:23 +0300 Timo Sirainen Removed a bad assert. HEAD
Mon, 25 Feb 2008 21:38:58 +0200 Timo Sirainen Check and update sync_last_check in one common function. HEAD
Mon, 11 Feb 2008 20:17:00 +0200 Timo Sirainen Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and HEAD
Tue, 01 Jan 2008 22:05:21 +0200 Timo Sirainen Updated copyright notices to include year 2008. HEAD
Sat, 29 Dec 2007 19:10:35 +0200 Timo Sirainen If MAILBOX_SYNC_FLAG_FULL_READ flag is set (SELECT and CHECK IMAP commands), HEAD
Fri, 28 Dec 2007 20:04:43 +0200 Timo Sirainen When doing a forced sync, we're not necessarily locked. If it takes a while, HEAD
Wed, 05 Dec 2007 17:47:44 +0200 Timo Sirainen Replaced t_push/t_pop calls with T_FRAME*() macros. HEAD
Wed, 05 Dec 2007 17:06:37 +0200 Timo Sirainen If file is lost, don't try to look for it until stack overflows. HEAD
Sat, 01 Dec 2007 10:39:12 +0200 Timo Sirainen If doing a lockless forced sync, track the UID we're trying to find. If we HEAD
Sat, 01 Dec 2007 10:29:13 +0200 Timo Sirainen Removed pointless maildir_uidlist_sync_next_pre() calling. HEAD
Sat, 01 Dec 2007 09:51:43 +0200 Timo Sirainen If we did unlocked maildir sync, make sure we sync it later with locking. HEAD
Sat, 01 Dec 2007 09:48:19 +0200 Timo Sirainen If we're doing a fast sync, try only once to lock uidlist. HEAD
Sat, 01 Dec 2007 09:23:21 +0200 Timo Sirainen maildir_storage_sync_force(): Don't wait on trying to lock uidlist. Just try HEAD
Sat, 01 Dec 2007 09:09:21 +0200 Timo Sirainen maildir_uidlist_sync_init() was called wrong, although it just happened to HEAD
Mon, 26 Nov 2007 12:15:57 +0200 Timo Sirainen Delayed NFS attribute cache flushing had some bug, so removed it for now. HEAD
Thu, 15 Nov 2007 01:54:56 +0200 Timo Sirainen NFS: Delay flushing dovecot-uidlist's attribute cache until we find an HEAD
Sun, 11 Nov 2007 17:46:47 +0200 Timo Sirainen Delay creating directories until we really need them. HEAD
Sun, 11 Nov 2007 16:02:25 +0200 Timo Sirainen Moved mailbox_deleted to struct mailbox. Added and used HEAD
Sat, 22 Sep 2007 13:44:37 +0300 Timo Sirainen Don't sync mailbox immediately when committing transactions. When it's done HEAD
Sun, 16 Sep 2007 14:34:22 +0300 Timo Sirainen Replaced my Copyright notices. The year range always ends with 2007 now. HEAD
Mon, 27 Aug 2007 19:13:36 +0300 Timo Sirainen Error handling fixes. HEAD
Sun, 12 Aug 2007 16:43:05 +0300 Timo Sirainen Removed explicit locking from views and maps. They were already locked all HEAD
Mon, 16 Jul 2007 09:48:02 +0300 Timo Sirainen Recent flag handling rewrite. Still not perfect with maildir. HEAD
Mon, 16 Jul 2007 01:21:44 +0300 Timo Sirainen If uidlist gets deleted but indexes not, give UIDs to messages beginning HEAD
Fri, 13 Jul 2007 05:29:51 +0300 Timo Sirainen compiler warning fixes HEAD
Thu, 12 Jul 2007 02:42:32 +0300 Timo Sirainen Added support for updating uidlist record extensions. HEAD
Mon, 09 Jul 2007 01:33:30 +0300 Timo Sirainen Store syncing information to maildir extension header instead of kludging HEAD
Mon, 09 Jul 2007 00:52:04 +0300 Timo Sirainen Handle mailbox deletions while syncing silently. HEAD
Sun, 08 Jul 2007 23:28:22 +0300 Timo Sirainen Moved index syncing code to its own file. HEAD
Sun, 08 Jul 2007 23:19:14 +0300 Timo Sirainen cleanup: s/maildir_uidlist_update()/maildir_uidlist_refresh()/ HEAD
Sun, 08 Jul 2007 22:54:55 +0300 Timo Sirainen Sync index changes while iterating through uidlist entries. This avoids HEAD
Sun, 08 Jul 2007 22:19:56 +0300 Timo Sirainen s/sync_ctx/ctx/ HEAD
Sun, 08 Jul 2007 22:16:04 +0300 Timo Sirainen If readdir() or closedir() fails, return failure. HEAD
Sun, 08 Jul 2007 22:13:53 +0300 Timo Sirainen Code cleanup HEAD
Sun, 08 Jul 2007 21:28:54 +0300 Timo Sirainen Renamed maildir_generate_tmp_filename() to maildir_filename_generate(). Also HEAD
Sun, 08 Jul 2007 21:20:50 +0300 Timo Sirainen maildir_filename_get_flags() returns void now. HEAD
Sun, 08 Jul 2007 20:13:12 +0300 Timo Sirainen Moved maildir filename related functions to maildir-filename.c HEAD
Sun, 01 Jul 2007 01:05:40 +0300 Timo Sirainen Handle UIDVALIDITY changes by resetting index. HEAD
Tue, 19 Jun 2007 16:33:05 +0300 Timo Sirainen mail_index_sync_begin() takes now flags parameter instead of two booleans. HEAD
Fri, 15 Jun 2007 18:09:09 +0300 Timo Sirainen Treat non-external expunges as requests for expunging messages. If it's HEAD
Tue, 12 Jun 2007 20:06:51 +0300 Timo Sirainen If new/ directory is lost when syncing, assume the mailbox was deleted and HEAD
Tue, 22 May 2007 18:33:43 +0300 Timo Sirainen mail_index_sync_begin() returns now transaction directly so the syncing code HEAD
Fri, 11 May 2007 16:14:10 +0300 Timo Sirainen Keyword characters weren't sorted in the maildir filename. HEAD
Wed, 09 May 2007 10:10:21 +0300 Timo Sirainen Updated error message. HEAD
Tue, 17 Apr 2007 18:09:10 +0300 Timo Sirainen Call sync_notify() once at the end of syncing. Allow accessing mails even HEAD
Tue, 17 Apr 2007 15:41:26 +0300 Timo Sirainen Added sync_notify() callback to struct mail_storage. It's now called for HEAD
Fri, 30 Mar 2007 15:44:01 +0300 Timo Sirainen Removed struct index_storage abstraction. It's pointless. HEAD
Wed, 28 Mar 2007 11:08:08 +0300 Timo Sirainen If we find duplicate hard links which haven't changed for 30 secs, unlink() HEAD
Sat, 24 Mar 2007 02:49:23 +0200 Timo Sirainen comment/duplicate link handling fixes. HEAD
Fri, 23 Mar 2007 19:20:24 +0200 Timo Sirainen If duplicate links are found, rename() one over the other to get rid of HEAD
Fri, 23 Mar 2007 18:38:56 +0200 Timo Sirainen Avoid infinite looping when buggy filesystems. HEAD
Fri, 23 Mar 2007 17:53:15 +0200 Timo Sirainen If saving to maildir causes flag/expunge syncs, don't crash. HEAD
Fri, 23 Mar 2007 05:07:08 +0200 Timo Sirainen Last fix broke creating new uidlists. HEAD
Wed, 21 Mar 2007 21:22:39 +0200 Timo Sirainen If uidlist is deleted and we set the uidvalidity from the index file, set HEAD
Wed, 21 Mar 2007 21:19:52 +0200 Timo Sirainen When copying/syncing a lot of mails, send "* OK Hang in there" replies to HEAD
Wed, 14 Mar 2007 18:17:49 +0200 Timo Sirainen Added casts to some enums to avoid compiler warnings. HEAD
Tue, 06 Mar 2007 22:36:45 +0200 Timo Sirainen Added assert. HEAD
Tue, 06 Mar 2007 17:39:04 +0200 Timo Sirainen When syncing huge maildirs check once in a while if we need to update HEAD
Thu, 25 Jan 2007 18:01:37 +0200 Timo Sirainen Error handling fixes HEAD
Fri, 15 Dec 2006 20:38:08 +0200 Timo Sirainen Replaced void *context from a lot of callbacks with the actual context HEAD
Sun, 10 Dec 2006 15:00:44 +0200 Timo Sirainen Make sure the mailbox is opened when transaction is started (fixes deliver). HEAD
Sun, 26 Nov 2006 00:17:39 +0200 Timo Sirainen Mailbox list indexing and related changes. Currently works only with HEAD
Tue, 07 Nov 2006 23:22:08 +0200 Timo Sirainen Saving mails could have skipped over transactions, which caused different HEAD
Sun, 17 Sep 2006 20:28:36 +0300 Timo Sirainen maildir_storage_sync_force() crashed if called from mail index sync/expunge HEAD
Sun, 10 Sep 2006 15:48:12 +0300 Timo Sirainen Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro HEAD
Sun, 10 Sep 2006 15:32:58 +0300 Timo Sirainen Removed type parameter from ARRAY_CREATE since it's not needed anymore. HEAD
Wed, 28 Jun 2006 16:10:25 +0300 Timo Sirainen Array API redesigned to work using unions. It now provides type safety HEAD
Wed, 28 Jun 2006 01:51:47 +0300 Timo Sirainen Don't break if mailbox path contains ':' characters. HEAD
Sat, 17 Jun 2006 16:55:30 +0300 Timo Sirainen Don't go fixing duplicate maildir filenames without properly checking that HEAD
Tue, 02 May 2006 14:11:05 +0300 Timo Sirainen Adding mail to index while saving it had a race condition. Fixing it HEAD
Mon, 17 Apr 2006 20:31:54 +0300 Timo Sirainen If maildir is readonly, don't complain about rename() failing to move mails HEAD
Sun, 09 Apr 2006 18:50:22 +0300 Timo Sirainen Added MAILBOX_OPEN_KEEP_LOCKED flag to mailbox opening and implemented it HEAD
Sun, 02 Apr 2006 19:32:51 +0300 Timo Sirainen If mailbox is opened in non-readonly state and there are mails in new/, make HEAD
Sat, 25 Mar 2006 13:09:17 +0200 Timo Sirainen Keep \Seen flags privately only in indexes with shared mailboxes. HEAD
Sat, 14 Jan 2006 20:47:20 +0200 Timo Sirainen deinit, unref, destroy, close, free, etc. functions now take a pointer to HEAD
Fri, 13 Jan 2006 22:25:57 +0200 Timo Sirainen Added "bool" type and changed all ints that were used as booleans to bool. HEAD
Fri, 06 Jan 2006 16:50:34 +0200 Timo Sirainen We assumed that keyword index arrays were always sorted. This isn't always HEAD
Fri, 30 Dec 2005 21:34:06 +0200 Timo Sirainen Accidentally had changed !partial-check to partial-check. Because of this HEAD
Fri, 30 Dec 2005 21:12:46 +0200 Timo Sirainen maildir_copy_with_hardlinks works again. HEAD
Sun, 18 Sep 2005 18:41:38 +0300 Timo Sirainen Partial syncs caused index's next_uid to be updated even if the new mails HEAD
Sun, 18 Sep 2005 15:27:53 +0300 Timo Sirainen We were forcing a maildir resync when it hadn't changed at all. HEAD
Sun, 28 Aug 2005 22:25:55 +0300 Timo Sirainen Compiler warning fix HEAD
Sun, 14 Aug 2005 22:02:54 +0300 Timo Sirainen Recursive maildir uidlist syncs caused assert crashes. Also did some HEAD
Sun, 07 Aug 2005 14:41:19 +0300 Timo Sirainen s/occured/occurred/ HEAD
Tue, 12 Jul 2005 15:45:06 +0300 Timo Sirainen Store new/ directory's timestamp in sync_size header in index (kludgy..). HEAD
Mon, 04 Jul 2005 14:32:13 +0300 Timo Sirainen Moved array declaration to array-decl.h and include it in lib.h. So array.h HEAD
Sat, 02 Jul 2005 13:54:33 +0300 Timo Sirainen Assert/cleanup HEAD
Thu, 30 Jun 2005 23:28:20 +0300 Timo Sirainen Keywords are stored in maildir filename and maildir-keywords file HEAD
Wed, 29 Jun 2005 01:32:38 +0300 Timo Sirainen Merge changes from multiple index sync records into one before actually HEAD
Thu, 16 Jun 2005 22:46:59 +0300 Timo Sirainen We didn't notice if messages were deleted directly from new/. HEAD
Thu, 16 Jun 2005 22:46:18 +0300 Timo Sirainen If we have rename()d more than 5 files from new/ to cur/, rescan the HEAD
Thu, 09 Jun 2005 17:31:43 +0300 Timo Sirainen Replaced ':' and ',' character usages with #defines, so they can be changed HEAD
Tue, 26 Apr 2005 17:45:46 +0300 Timo Sirainen Don't try to handle UIDVALIDITY changes nicely after all. It causes HEAD
Sat, 23 Apr 2005 18:18:21 +0300 Timo Sirainen If UIDVALIDITY changes, don't invalidate the whole index. Just expunge all HEAD
Fri, 08 Apr 2005 17:32:49 +0300 Timo Sirainen Created mbox_storage and maildir_storage. HEAD
Fri, 08 Apr 2005 16:13:45 +0300 Timo Sirainen Moved mbox/maildir-specific variables from struct index_mailbox to HEAD
Mon, 14 Mar 2005 22:48:25 +0200 Timo Sirainen mail_index_sync_next() now returns keyword updates (now only thing left to HEAD
Mon, 10 Jan 2005 18:14:41 +0200 Timo Sirainen don't allocate memory from data stack uselessly. HEAD
Sun, 26 Dec 2004 11:12:39 +0200 Timo Sirainen Initial support for keywords. Syncing to mbox/maildir doesn't work yet. HEAD
Sun, 05 Dec 2004 03:45:53 +0200 Timo Sirainen Renamed mail_index_refresh() to mail_index_reopen_if_needed(). Added public HEAD
Wed, 24 Nov 2004 22:40:39 +0200 Timo Sirainen mail_index_refresh() isn't public anymore, mail_index_view_open_locked() HEAD
Wed, 24 Nov 2004 20:39:57 +0200 Timo Sirainen Changed mail_index_get_header() to return the header as return value because HEAD
Fri, 12 Nov 2004 00:01:39 +0200 Timo Sirainen Allow specifying to transaction if it's external. Make mail saving HEAD
Mon, 25 Oct 2004 20:12:51 +0300 Timo Sirainen Always protect maildir syncing with uidlist lock. Before we only tried to HEAD
Sun, 24 Oct 2004 03:22:11 +0300 Timo Sirainen Don't crash to asserts HEAD
Mon, 04 Oct 2004 19:31:51 +0300 Timo Sirainen When we had dirty messages, we kept resyncing the whole mailbox constantly. HEAD
Mon, 06 Sep 2004 00:19:36 +0300 Timo Sirainen cleanup HEAD