a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
2bde8972f2dcec46d96543407cc5b56954054359 |
|
09-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
maildir: Whenever we're guessing a filename correctly, remember it in uidlist. |
de62ce819d59a529530da4b57be1b8d6dad13d6b |
|
25-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Moved GUID code to liblib. Use guid_128_t type consistently everywhere. |
e1eeb3be29afde2830c2b7ed594c6f1fef2f69dc |
|
04-May-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added MAIL_FETCH_POP3_ORDER special field and implemented for Maildir.
The idea is that this specifies the order of messages when accessing via
POP3. This is useful when migrating both POP3 and IMAP users from servers
where their message ordering differes and they still want to be preserved. |
df9169221169d9cd8d8f49fc51ad40bed0fb6f64 |
|
20-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
maildir: Remove invalid extension records from dovecot-uidlist.
For now we'll assume that if the key is outside A..Z it's invalid. Since
only 4 keys are used currently, there is still a lot of letters available
for future use. |
a0aedab7cd06125e4d73638b1bd0c01c7caa2626 |
|
29-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
Maildir: If mail's virtual size can be found from filename/uidlist, do it instead of using cache.
This is especially useful with POP3 to avoid opening cache file. |
e4e7475f646d66a257d682738fbff1f206ce4924 |
|
16-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: uidlist can now override message's GUID |
6013fbad6638795a00e6c2a2dd2cdbee19612494 |
|
05-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: maildir_uidlist_lookup() -> maildir_sync_lookup() refactoring. |
d22301419109ed4a38351715e6760011421dadec |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: *_mailboxes don't descend from index_mailbox anymore, it's now a context.
--HG--
branch : HEAD |
c820b702d1eabfd5b029ac168fe769265e541561 |
|
29-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MAILBOX_GUID_SIZE macro, use MAIL_GUID_128_SIZE everywhere.
They were required to be the same size anyway.
--HG--
branch : HEAD |
3054cbf69a94ca08123ca3a8d6a2c19a1784e11d |
|
28-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Support saving messages with specified UIDs.
--HG--
branch : HEAD |
17ad2164c747cedbf81dae1893063e71a3df0356 |
|
26-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added support for creating/updating mailboxes with given metadata (guid, uid validity, etc).
--HG--
branch : HEAD |
c0bfb67ba32064347bac3241f1aac9b8a809e2f1 |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added support for mailbox GUIDs.
--HG--
branch : HEAD |
aa62d8779ce53900c2f09bf2ff6fa790bc9f6a89 |
|
04-May-2009 |
Timo Sirainen <tss@iki.fi> |
Maildir: More fixes to uidlist handling.
--HG--
branch : HEAD |
7ede6554e451ec039a67beec7d6ee4aff61d386e |
|
04-May-2009 |
Timo Sirainen <tss@iki.fi> |
Maildir: Handle uidlist errors better.
--HG--
branch : HEAD |
785d9cca224d33ca3938e9166784f6483e8a27d7 |
|
31-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added maildir_very_dirty_syncs setting.
--HG--
branch : HEAD |
777ff25e82e0305e2696bcbe3c6e0274e3e8ce10 |
|
17-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
dbox: Removed code that is no longer necessary with the redesign.
- Maildir code now uses dovecot-uidlist directly instead of dbox.index.
- Flags and keywords are no longer written to metadata.
- Removed metadata modifying code entirely.
- dbox.index is no longer read or written. The code will be removed soon.
--HG--
branch : HEAD |
ba3d9eeb0bec6ed8465d68fa2480ad085559b580 |
|
15-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
maildir: Allow opening mailbox and expunging messages when uidlist couldn't be locked (e.g. out of quota).
--HG--
branch : HEAD |
2e7e4804d8a88b10e00a3f9ec3726759ae0a6a13 |
|
08-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: Uidlist stale timeout macro is now globally available.
--HG--
branch : HEAD |
8c9e48cd6de80da0fa32b9c0dee003472c9a7c0d |
|
25-May-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: If dovecot-uidlist has wrong cached virtual size, remove it when we
detect it. If maildir filename has wrong W value, log a clear error about it.
--HG--
branch : HEAD |
7c65a07e04f28f2a881d83989f85f9ad0e87a7b4 |
|
15-May-2008 |
Timo Sirainen <tss@iki.fi> |
Keep track of dovecot-uidlist mtime+size in index file. If it's up-to-date
(and unless indexes weren't updated at some point, it always is) and we're
saving a new message, don't bother reading the uidlist contents.
--HG--
branch : HEAD |
97eb53ade9057e6966dbb77289ad0204c7e1657b |
|
25-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Store physical message sizes also to dovecot-uidlist if needed.
--HG--
branch : HEAD |
fd1a173038402c968f82d6b19b8b2e029bbcee45 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
If file is lost, don't try to look for it until stack overflows.
--HG--
branch : HEAD |
2c4e2d819683c7fa85b9946396d0e86bb4d39753 |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Removed pointless maildir_uidlist_sync_next_pre() calling.
--HG--
branch : HEAD |
e30b748edcef3cf3352478bf21fa8f785bdc773a |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
If we're doing a fast sync, try only once to lock uidlist.
--HG--
branch : HEAD |
1582b4d531679849bba299c17b6ec9402b7df67d |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
maildir_storage_sync_force(): Don't wait on trying to lock uidlist. Just try
once and if it fails, find the changed filenames and do nothing else.
--HG--
branch : HEAD |
4f44284b96302c0a18203e2ac1243aeb193c6840 |
|
25-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Delayed NFS attribute cache flushing had some bug, so removed it for now.
--HG--
branch : HEAD |
746a7ec64a09649ed3c96c88b97cdc370a7bbe2f |
|
15-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
NFS: Delay flushing dovecot-uidlist's attribute cache until we find an
unseen file or UID.
--HG--
branch : HEAD |
ebf2cf3dc8761f0eb7c4bf34d76319fc7af08289 |
|
03-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
#ifndef typofix
--HG--
branch : HEAD |
228edfb38d7f1a0bfe36f74e7c521006ea48fbdf |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Added maildir_uidlist_init_readonly() and maildir_uidlist_get_uid().
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
9740d55b228a670047c854484d5cc979a056a9af |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed *_deinit() APIs to take ** pointer and set it to NULL.
--HG--
branch : HEAD |
1d3f7c1278168d5b1cbfa9a2cc9929a0909056b4 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Recent flag handling rewrite. Still not perfect with maildir.
--HG--
branch : HEAD |
8925c5450daddcdd1834de2750b47fb6d192c6f6 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed reassigning new UIDs to more than one message.
--HG--
branch : HEAD |
81c7a6e414a6d1c31f65cc977feda823b586d263 |
|
12-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for updating uidlist record extensions.
--HG--
branch : HEAD |
621e8c0767de486db8d4ebb317d441b3f3a0434f |
|
10-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Created a new extensible version 3 dovecot-uidlist file.
--HG--
branch : HEAD |
1302f472805684b42ead4be8e4d5cbd95dfdc29b |
|
10-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
maildir_uidlist_iter_next() should return bool, not int.
--HG--
branch : HEAD |
6b77095184aeb8a9976a74fa9ba1a06740f40d0e |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Handle next_uid changes better.
--HG--
branch : HEAD |
2087637d10ad94ea029fe055f8ee55cd594955a8 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added maildir_uidlist_sync_remove()
--HG--
branch : HEAD |
87c9068892d6e298e488a059136a98dbdf7dec4d |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
cleanup: s/maildir_uidlist_update()/maildir_uidlist_refresh()/
--HG--
branch : HEAD |
cf7724447a5e5fbda34e378d3c543ca8bb4c6a6f |
|
04-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed unused MAILDIR_UIDLIST_SYNC_ORDERED flag.
--HG--
branch : HEAD |
e32cf1b4430c4a5f28c9b5bb8b1366e7b06ed68d |
|
23-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
When saving/copying mails, we must not do any sorting based on the filename
to saved mails when they're added to uidlist, otherwise they could be saved
to index with wrong UID.
--HG--
branch : HEAD |
759fa4d81cadf071e7589866ddbd056c79b4f130 |
|
21-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If uidlist is deleted and we set the uidvalidity from the index file, set
also next_uid.
--HG--
branch : HEAD |
4673afe816ffbca769585e4518e9b3c3d72e95dd |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
If pop3_lock_session=yes, update maildir/dbox uidlist lock file every 10
seconds so it won't be treated as a stale lock.
--HG--
branch : HEAD |
0f506139b4c95589a09a81a5d51636aee994cd1e |
|
22-Dec-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added maildir_copy_preserve_filename setting.
--HG--
branch : HEAD |
4b43f50117630aa12b3cfd0cbd05ae22ba27fec1 |
|
17-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Don't go fixing duplicate maildir filenames without properly checking that
they really are such.
--HG--
branch : HEAD |
e05181d973025627ba08b631c12c07c3bbc99528 |
|
02-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Adding mail to index while saving it had a race condition. Fixing it
required a bit larger changes. Switched uidlist/index locking order so that
uidlist is now locked first.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
57a91f930a12d2cd1220da4f3f7cb2c47557cd37 |
|
14-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
Recursive maildir uidlist syncs caused assert crashes. Also did some
cleanups.
--HG--
branch : HEAD |
cce169a321c9c629e4f2db1a69dae3b75bbcb27a |
|
30-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Keywords are stored in maildir filename and maildir-keywords file
(backwards compatible with 0.99.x's .customflags file)
--HG--
branch : HEAD |
b5e6f6f27c1461f0f9f202615eeb738a645188c3 |
|
08-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Moved mbox/maildir-specific variables from struct index_mailbox to
mbox_mailbox and maildir_mailbox.
--HG--
branch : HEAD |
439980f88f421039dea8335e92d3fa82b3f470a1 |
|
11-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Recent flags should be fully working now with maildir.
--HG--
branch : HEAD |
09c3a491f4f6ccebe290c7709bdc0d79a187610b |
|
03-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
UIDs for appended messages can now be assigned all at once. Maildir now
updates indexes immediately while saving messages.
--HG--
branch : HEAD |
73c76fa7340a107229c530196d026aadeae979c7 |
|
14-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
locking fixes
--HG--
branch : HEAD |
316689d0ef55e2fa4e2fb4ac5b1ea35ce65688d3 |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
race condition fixes
--HG--
branch : HEAD |
92888ef30960c30ccc9e030fe7eab5d4d04a7d1c |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
Some more UIDVALIDITY issues fixed.
--HG--
branch : HEAD |
e06c0b65c16ccce69bbee009ead14d7d3d17a256 |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
Index header changes now go through transaction log. Removed the kludgy
parameters for mail_index_sync_end(). Removed code duplication of syncing
index root mapping and view mapping. Some fixes to handling uidvalidity and
nextuid in syncing.
--HG--
branch : HEAD |
5375aa138868dc2c45eb1a4ff37a0b577c2814f8 |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
syncing fixes
--HG--
branch : HEAD |
d67f54632110cfb6aafe2d7cd1f99b031c0b208a |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
syncing fixes
--HG--
branch : HEAD |
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbe |
|
06-May-2004 |
Timo Sirainen <tss@iki.fi> |
mbox code compiles again, but syncing is only partially implemented so
accessing mboxes fails..
Also some cleanups to index-storage and maildir code.
--HG--
branch : HEAD |
b7b81543899e306c71e6152516d8698416162bcb |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
Syncing optimizations.
--HG--
branch : HEAD |
641f0c0900ee6e7cf9667f4b40ed95cec7d0cdca |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
Recent-flag should work now
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |