bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
d4002fe1f64d25a792f76fb102ef7dc519cd4e24 |
|
11-Dec-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use mail_set_critical() and mailbox_set_critical() if possible
Replace calls to mail_storage_set_critical() with mail_set_critical()
or mailbox_set_critical() in places where mailbox or mail are easily
available. |
19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
77f8c49beac69a8f5d5d41239528474ee1b877ea |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert maildir to use container_of |
e098ac1cd4ff0afb33b22cc7fd288014f4fdb0bc |
|
10-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Storage backend sync_init()s no longer need to check if mailbox is open
The previous change guarantees it. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
815fc205d65f638ad3051cf7a87d320f581e05fd |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
maildir: Code comment update |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
275cc4c040899c132b2acbe2fcac48ba4c1abbcf |
|
08-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced some unlink()s with i_unlink*()s where we could.
This changes some mail_storage_set_critical() calls to i_error()s, but
because these unlink() failures don't actually fail the operation it doesn't
matter. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
0dfacbe4cb9a16c0cdaed535a9ce2bae8e25e4f0 |
|
16-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
maildir: Added maildir_empty_new setting to avoid keeping mails in new/ directory.
This is useful for example when using an external MDA that calls "doveadm
index" and the user hasn't opened the mailbox for a long time.
Also this removes the delay that user may see when opening a rarely accessed
mailbox, which renames a ton of files to cur/ while the user is waiting. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
b63284468d717737ecd63d78b6928c5d7f0d3634 |
|
02-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
maildir: If filename begins with ':', rename it immediately instead of causing errors. |
9a107dedb8f35727c21b3d1d54475d33f6e2eb1f |
|
20-May-2013 |
Timo Sirainen <tss@iki.fi> |
maildir: If we notice an unexpectedly inserted file, retry the sync to fix it.
Without this doveadm force-resync would just ignore the inserted files. |
e0719fca14e337eee5a0d924bc4e9d53151a7188 |
|
25-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
maildir: Preserve [SW]=sizes when renaming a maildir duplicate file. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
1f1ee8db68d9ae1604350801cd8dc33ebe29fe8a |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed mail_storage_set_index_error() to mailbox_set_index_error() |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
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 |
a8c1d873ebe624cf65893d79e1a509203116cb9a |
|
19-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
maildir_very_dirty_syncs=yes: Try harder to avoid readdir()ing. |
35283613d4c04ce18836e9fc431582c87b3710a0 |
|
26-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Changes to make static analyzer happier. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
bfa38f13d605bdd4c6d1f257c46a57bb28c0dd06 |
|
04-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid refreshing uidlist unnecessarily.
Even if the uidlist itself wasn't read, it was still stat()ed. |
ae9365d3de0cefae6f2a5d3e9ab79bc11c37b3d5 |
|
05-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
maildir: When logging "scanning took n secs" warning, log also why scan was done.
This could help debugging why cur/ directory is sometimes scanned with
maildir_very_dirty_syncs=yes (if the previous commit didn't fully solve it). |
4145cbac82bfc0c8bfeceeca0ef841700117930c |
|
28-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced MAILBOX_FLAG_KEEP_RECENT flag with reverse MAILBOX_FLAG_DROP_RECENT.
Very few places actually want to drop recent flags, so this way is easier. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
0ed9ccd0047f75df54a49bc117ca301eb398e447 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid harder to unnecessarily read uidlist when syncing mailbox. |
70fa27d9f1055b32272aa69672350ca45fec57d4 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid harder to unnecessarily read uidlist when syncing mailbox. |
8d889b6d842e96ecbe7b6493920bbb6df8e0ed30 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid unnecessarily reading uidlist when opening mailbox. |
2881363d32babb74b1281ed87388f173e3399840 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid unnecessarily reading uidlist when opening mailbox. |
ca98892a6b8a30ffc1fe26fcf02c7d59e3204e7e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them. |
43955c82f9f52c969c777b3da00bc170183dfdf2 |
|
23-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Log a warning if scanning new/ or cur/ takes over 60s. |
3a854fc26bcccb0398f0a9a6fa72db1a4ab8f0b8 |
|
29-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid refreshing transaction log immediately on first sync. |
9a56220167d02bbcb66a81b7553f4eb4da939945 |
|
24-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Added extra asserts. |
6013fbad6638795a00e6c2a2dd2cdbee19612494 |
|
05-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: maildir_uidlist_lookup() -> maildir_sync_lookup() refactoring. |
8bb360f9e5de1c25e4f875205bb06e8bf15dae14 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Removed dead code.
--HG--
branch : HEAD |
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 |
ca98d6a1bbe73499da758a36bfab2963375c8d06 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved struct mail_index_* from index_mailbox to mailbox.
We're relying more and more of all mailboxes being used via lib-index, and
this change makes accessing the indexes easier.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
7d7f4648f72b8c70928e04514b0d93dad0ba6fd5 |
|
25-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Fixed maildir_sync_get_changes() to work as it should have.
--HG--
branch : HEAD |
ced118ac5caf6fe83d34339c2c65c63b2aa768ac |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index-storage: Code cleanup.
--HG--
branch : HEAD |
ea9fd7f876643e985946a2563140359064819b8e |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Cleaned up save/copy code.
--HG--
branch : HEAD |
eae1d6e75713d3d658908ac39b719992e2f8a456 |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
OSX+Maildir: Also don't log an error if readdir() fails with EINVAL.
--HG--
branch : HEAD |
38df0cacce475112991e60d796f8f2105c616f01 |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
OSX+Maildir: If readdir() fails with EINVAL after doing rename()s, retry. Fixes HFS+.
Based on patch by Apple.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
ee116df08d0fdab703483e18fe8076b2ef9fd9d7 |
|
05-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
struct mail_storage.callbacks is no longer a pointer.
--HG--
branch : HEAD |
6254f7de909712bf428e98c30f181bf7cce89db6 |
|
20-May-2009 |
Timo Sirainen <tss@iki.fi> |
Maildir: Make sure messages are removed from index if they are deleted externally from new/.
The problem happened when a message in new/ was indexed, deleted externally
and the mailbox was again opened as read-only. This caused a partial sync
in new/ directory, which didn't notice that the files were gone.
--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 |
305465bb1a4c5d90c4b4e2c2790eb05fa4ebc41e |
|
01-May-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Don't assert-crash if we have no read-access to the Maildir.
--HG--
branch : HEAD |
82c70897a2d0e6144ecc56ca8e0eb9fff768f2c5 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
doveadm: Implemented force-resync functionality.
--HG--
branch : HEAD |
785d9cca224d33ca3938e9166784f6483e8a27d7 |
|
31-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added maildir_very_dirty_syncs setting.
--HG--
branch : HEAD |
4dc8837ab37c1a606add1067e21ed868754db4e3 |
|
23-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Maildir: Another logging improvement to EACCES error.
--HG--
branch : HEAD |
9ef0f38972e7f42ff8d1795f47f6a3e6d621be9c |
|
23-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: We didn't properly handle missing control directory at startup.
Also some other error handling when some dirs were missing were done wrong.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--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 |
b3bb775c6b735a7f6021dea799601fbfdb656e58 |
|
17-May-2008 |
Timo Sirainen <tss@iki.fi> |
Replaced HAVE_ST_NSEC macro checks with more generic ST_?TIME_NSEC() macros
for getting the nanosecond and ST_NTIMES_EQUAL() macro for comparing them.
Added support for BSD st_?timespec fields.
--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 |
fd67a1be44a0a4cad9935d1005a61bfa028b80d8 |
|
06-May-2008 |
Timo Sirainen <tss@iki.fi> |
Removed a bad assert.
--HG--
branch : HEAD |
cc977f55ce66b63e8b37c20fce58d0ef516f0f29 |
|
25-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Check and update sync_last_check in one common function.
--HG--
branch : HEAD |
b7ad29db8cf906da01ee4626730868881087950b |
|
25-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Check and update sync_last_check in one common function.
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
7c449f545b10daa47027552f98d916a9805da662 |
|
29-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
If MAILBOX_SYNC_FLAG_FULL_READ flag is set (SELECT and CHECK IMAP commands),
make sure we refresh maildirs with delayed syncs.
--HG--
branch : HEAD |
b00787191c3c31bebb939c3d00f1fcdb67356c69 |
|
28-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
When doing a forced sync, we're not necessarily locked. If it takes a while,
don't try to touch dovecot-uidlist and assert-crash.
--HG--
branch : HEAD |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--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 |
f7ad1162969feff6b08f0e640a928db1783daae9 |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
If doing a lockless forced sync, track the UID we're trying to find. If we
didn't find it, do a locked sync to find out if it's expunged.
--HG--
branch : HEAD |
2c4e2d819683c7fa85b9946396d0e86bb4d39753 |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Removed pointless maildir_uidlist_sync_next_pre() calling.
--HG--
branch : HEAD |
7abd00c65bbf53fda3f638101c4cd43647d1eb07 |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
If we did unlocked maildir sync, make sure we sync it later with locking.
--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 |
649823f9c7e42a424a8fadc427e12f3576c4f714 |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
maildir_uidlist_sync_init() was called wrong, although it just happened to
work.
--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 |
32ee977e189266744ef69ac4e832fd3111d6f949 |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Delay creating directories until we really need them.
--HG--
branch : HEAD |
4bbd396aa6198c84f3f7763b6e8a63a26e97e141 |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mailbox_deleted to struct mailbox. Added and used
mailbox_set_deleted() which also sets an error message to storage.
--HG--
branch : HEAD |
c2cb5e469cd11759da22d82083d4fbb564d06dfa |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Don't sync mailbox immediately when committing transactions. When it's done
later, make sure we sync the mailbox if there are pending changes in
transaction log.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
60f9b96be55e63f0113e273dda8ba3b883c6f095 |
|
27-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling fixes.
--HG--
branch : HEAD |
88187ee880b4829443e0d55ea7d145d9d5880217 |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Removed explicit locking from views and maps. They were already locked all
the time when they were used. Because of this change several functions can
no longer fail, so they were changed to return void, and a lot of pointless
error handling was removed.
--HG--
branch : HEAD |
1d3f7c1278168d5b1cbfa9a2cc9929a0909056b4 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Recent flag handling rewrite. Still not perfect with maildir.
--HG--
branch : HEAD |
7895c4845da515b0aa9bb156674a1fca40803f44 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
If uidlist gets deleted but indexes not, give UIDs to messages beginning
from index's next_uid instead of from 1 and reassigning new UIDs soon.
--HG--
branch : HEAD |
ff4bb2dfb5714eeb0408d3bb862de1646351d097 |
|
13-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
compiler warning fixes
--HG--
branch : HEAD |
81c7a6e414a6d1c31f65cc977feda823b586d263 |
|
12-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for updating uidlist record extensions.
--HG--
branch : HEAD |
d61a5e0e4ff58d1aa613f0d51161e5bb0f092514 |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Store syncing information to maildir extension header instead of kludging
them into base header. Also we're now using nanoseconds to check for changes
if they're available.
--HG--
branch : HEAD |
8e5fedd9ada47735be8ac0f8af2a66e8528bd776 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Handle mailbox deletions while syncing silently.
--HG--
branch : HEAD |
9c7e765845357342923e16351181091028e5930f |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved index syncing code to its own file.
--HG--
branch : HEAD |
87c9068892d6e298e488a059136a98dbdf7dec4d |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
cleanup: s/maildir_uidlist_update()/maildir_uidlist_refresh()/
--HG--
branch : HEAD |
b60baf6af900a610b2b2ddd24a46f8311acc3386 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Sync index changes while iterating through uidlist entries. This avoids
unnecessary (and broken) flag updates.
--HG--
branch : HEAD |
70577eee1dbb153317cc30cfa67840ab1cf054bb |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
s/sync_ctx/ctx/
--HG--
branch : HEAD |
41264e5dcef8335ab7ba422822b3ab518b7a327a |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
If readdir() or closedir() fails, return failure.
--HG--
branch : HEAD |
6925fd9cd70c30884406d50f1d85efb6561e776c |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Code cleanup
--HG--
branch : HEAD |
538303a216166f3526c0ae9658c9978275cfa100 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed maildir_generate_tmp_filename() to maildir_filename_generate(). Also
changed it to create the unique filename with time+usecs+pid, increasing
usecs as needed. So there's no longer a process delivery counter.
--HG--
branch : HEAD |
8fd00f8716a931e84f33e29c8d3c579ebd718411 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
maildir_filename_get_flags() returns void now.
--HG--
branch : HEAD |
e8bdf1be00aec45d0c6dd72ad9c8be02a3dfc778 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved maildir filename related functions to maildir-filename.c
--HG--
branch : HEAD |
f6699a08521aacc4c2bb5b6175691dad5f715f8c |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Handle UIDVALIDITY changes by resetting index.
--HG--
branch : HEAD |
2d39dc1a453546892109b35c0d9770369011a13d |
|
19-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_begin() takes now flags parameter instead of two booleans.
Cleanups to recent handling.
--HG--
branch : HEAD |
e063aca6bc2f08bec516d4b631052ea9191f011d |
|
15-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Treat non-external expunges as requests for expunging messages. If it's
actually possible, mailbox syncing will then commit external expunges.
--HG--
branch : HEAD |
463531a5ca96d33072416807442a114c080e3726 |
|
12-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
If new/ directory is lost when syncing, assume the mailbox was deleted and
make the mailbox inconsistent (which disconnects the client).
--HG--
branch : HEAD |
aa0647f2debf0d48d504a321186f66c85596aaf4 |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_begin() returns now transaction directly so the syncing code
doesn't need to create it. It's also automatically committed/rollbacked.
--HG--
branch : HEAD |
2abfef71398a61e5ed97c23a1ceb71461933ccb8 |
|
11-May-2007 |
Timo Sirainen <tss@iki.fi> |
Keyword characters weren't sorted in the maildir filename.
--HG--
branch : HEAD |
c93cd163f9c1d4b0ca29f49cbfdbf474caeef5bf |
|
09-May-2007 |
Timo Sirainen <tss@iki.fi> |
Updated error message.
--HG--
branch : HEAD |
4b41116563110d00330896a568eff1078c382827 |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Call sync_notify() once at the end of syncing. Allow accessing mails even
while syncing, as long as it's safe to do so.
--HG--
branch : HEAD |
5137d2d80255938a0f5fb8f3c1a21b34cf11ada3 |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added sync_notify() callback to struct mail_storage. It's now called for
expunges and flag/keyword changes (except with cydir).
--HG--
branch : HEAD |
ccc895c0358108d2304239063e940b7d75f364ab |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed struct index_storage abstraction. It's pointless.
--HG--
branch : HEAD |
992a9e2d6c6ee45d87089ac54267e0198a7802c3 |
|
28-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If we find duplicate hard links which haven't changed for 30 secs, unlink()
one of the filenames.
--HG--
branch : HEAD |
cbf7138b49d32fce0645dc6523fbb42cc07cb2fa |
|
24-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
comment/duplicate link handling fixes.
--HG--
branch : HEAD |
a87e5f15283e057c7dc26dd9db7b616268c95ca7 |
|
23-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If duplicate links are found, rename() one over the other to get rid of
it.
--HG--
branch : HEAD |
b9b48aaaebf6f72dfab567cda073cde8a7b26598 |
|
23-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Avoid infinite looping when buggy filesystems.
--HG--
branch : HEAD |
6bf1543bb7af03324c04e8f9ac8e430f395989ae |
|
23-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If saving to maildir causes flag/expunge syncs, don't crash.
--HG--
branch : HEAD |
f4995b114c0b36a0fb36964b0994ea6330986223 |
|
23-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Last fix broke creating new uidlists.
--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 |
44dc970b18c4e2d06f34cb908924152156e4a45b |
|
21-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
When copying/syncing a lot of mails, send "* OK Hang in there" replies to
client every 15 seconds so it doesn't just timeout the connection.
--HG--
branch : HEAD |
770cbd7d71f9e97256ecfcd8bfc134f7f048dafc |
|
14-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Added casts to some enums to avoid compiler warnings.
--HG--
branch : HEAD |
55a044a180164e68ebdc257faf7c39d484d2f720 |
|
06-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Added assert.
--HG--
branch : HEAD |
d3eff05aaa4c2bc0a7580ee87a54f6693f4a8241 |
|
06-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
When syncing huge maildirs check once in a while if we need to update
dovecot-uidlist.lock so that another process won't decide that it's stale
and overwrite it. Check more often when moving mails from new/ to cur/.
--HG--
branch : HEAD |
6f66e585998aa88a4b0ccad531d329a103325d57 |
|
25-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling fixes
--HG--
branch : HEAD |
2cfe9983ce7a6280636ee12beccc2e865111967b |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced void *context from a lot of callbacks with the actual context
type. Also added/fixed some context type checks.
--HG--
branch : HEAD |
013e3b3942e9550fde619a0b3ce6bdd04edc4268 |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Make sure the mailbox is opened when transaction is started (fixes deliver).
Also did some other API cleanups, mailbox index opening can't fail anymore.
--HG--
branch : HEAD |
5fb3bff645380804c9db2510940c41db6b8fdb01 |
|
25-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Mailbox list indexing and related changes. Currently works only with
maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes
without opening their index files at all.
--HG--
branch : HEAD |
0b3662995e9fa0d0d857ec5350ce2b1ee6d3b94f |
|
07-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Saving mails could have skipped over transactions, which caused different
kinds of problems.
--HG--
branch : HEAD |
947a2df7c6a2c48711b051736e08402f6d91795c |
|
17-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
maildir_storage_sync_force() crashed if called from mail index sync/expunge
callbacks.
--HG--
branch : HEAD |
91dca97b367c54a139c268b56a0c67f564bd9197 |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro
has no side effects so it might as well be lowercased.
--HG--
branch : HEAD |
26a8b7deb3a5b6f26f9c4d71538e1248f680e4be |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
--HG--
branch : HEAD |
8d80659e504ffb34bb0c6a633184fece35751b18 |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
--HG--
branch : HEAD |
b142deb9a831c89b1bb9129ada655f3e56b9d4cc |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Don't break if mailbox path contains ':' characters.
--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 |
9a099a65160987349f441c82ab0e38f32b747adb |
|
17-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
If maildir is readonly, don't complain about rename() failing to move mails
from new/ to cur/.
--HG--
branch : HEAD |
d67ac5f76cc02c227f4997878bb4aef48ee298fa |
|
09-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_OPEN_KEEP_LOCKED flag to mailbox opening and implemented it
for mbox and maildir. It keeps the mailbox locked the whole time until
mailbox_close() is called.
--HG--
branch : HEAD |
ad8b3389ab62c5facb3d49037963076e3d32c147 |
|
02-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
If mailbox is opened in non-readonly state and there are mails in new/, make
sure they get moved to cur/ so that their recent-state gets removed.
--HG--
branch : HEAD |
24ddec4ee3571be32f615138b56cf0ae6f922af0 |
|
25-Mar-2006 |
Timo Sirainen <tss@iki.fi> |
Keep \Seen flags privately only in indexes with shared mailboxes.
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--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 |
bb26f09873c18f342cd1ab2d0ee0b9018e6546d9 |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
We assumed that keyword index arrays were always sorted. This isn't always
the case. Caused unneeded keyword updates.
--HG--
branch : HEAD |
cad14cfd254a89936d07137a25b7caaf5e670664 |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Accidentally had changed !partial-check to partial-check. Because of this
external expunges weren't always noticed and there might have been some
errors about UIDs being invalid.
--HG--
branch : HEAD |
e1ca7af110ea6eeb6303bdd8f07c172b11dff2fa |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
maildir_copy_with_hardlinks works again.
--HG--
branch : HEAD |
bd606153e12c04799be8f27933b5c983db0eaa15 |
|
18-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
Partial syncs caused index's next_uid to be updated even if the new mails
weren't added to index. That caused some UID corruption errors.
--HG--
branch : HEAD |
4fd4705bbc6553ae0959bea07f33d0b7249391f5 |
|
18-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
We were forcing a maildir resync when it hadn't changed at all.
--HG--
branch : HEAD |
0db4290d60bfa00774f628276d38654c56abd68c |
|
28-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix
--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 |
137ea7ca34005345aa2304a940149b7f3774d727 |
|
07-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
s/occured/occurred/
--HG--
branch : HEAD |
a3d22d3cb0e5436128ca7287cedc921f1789b2c8 |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Store new/ directory's timestamp in sync_size header in index (kludgy..).
Fixed saving message into empty and non-synced mailboxes.
--HG--
branch : HEAD |
16f816d3f3c32ae3351834253f52ddd0212bcbf3 |
|
04-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Moved array declaration to array-decl.h and include it in lib.h. So array.h
needs to be now included to use any array_*() functions.
--HG--
branch : HEAD |
7ba90b7ec9e0a97c01e89e2714ff54e35c5ddfbf |
|
02-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Assert/cleanup
--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 |
7fb7365a8fad104a17538a73c338ee3d3420e7b0 |
|
29-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Merge changes from multiple index sync records into one before actually
renaming maildir files.
--HG--
branch : HEAD |
4d938f46f4f956ecb802c30ca771922f5539a660 |
|
16-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
We didn't notice if messages were deleted directly from new/.
--HG--
branch : HEAD |
b66a7b7ab0db2c9ad425912d3f21a36fcf76d876 |
|
16-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
If we have rename()d more than 5 files from new/ to cur/, rescan the
directory again to make sure we didn't skip any files.
--HG--
branch : HEAD |
8754bb7a1f24705ffa5434f9e10d57e0b3b88d6e |
|
09-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Replaced ':' and ',' character usages with #defines, so they can be changed
easily if needed.
--HG--
branch : HEAD |
cdaf255d6a3daeef0ac85edaa60bfa6d1f945bff |
|
26-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Don't try to handle UIDVALIDITY changes nicely after all. It causes
problems when within same transaction there are two different set of UIDs
being used.
--HG--
branch : HEAD |
aa38d1a0945f0bc13a225d043f53fad2eec666b1 |
|
23-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
If UIDVALIDITY changes, don't invalidate the whole index. Just expunge all
existing messages and update uidvalidity/nextuid fields. Now we don't have
to re-login when this happens.
--HG--
branch : HEAD |
8153fdec343e40e2a78f5c12353e89b994b28f74 |
|
08-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Created mbox_storage and maildir_storage.
--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 |
26ff8f8a4867bf8e9551a27a2de8c12cd138b065 |
|
14-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_next() now returns keyword updates (now only thing left to
do is to fix maildir and mbox syncing to use them).
--HG--
branch : HEAD |
b348d548763961309938ac651c5398cb56dd385a |
|
10-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
don't allocate memory from data stack uselessly.
--HG--
branch : HEAD |
16c89b1260c9d07c01c83a9219424d3727069b2e |
|
26-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Initial support for keywords. Syncing to mbox/maildir doesn't work yet.
--HG--
branch : HEAD |
d30da25fb6be1f1c667d93767c9194000194b618 |
|
05-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Renamed mail_index_refresh() to mail_index_reopen_if_needed(). Added public
mail_index_refresh() which makes sure index is fully refreshed at the time.
Added mbox code to call it after mbox is locked to avoid using old mbox offsets.
--HG--
branch : HEAD |
abbe0657a4d6271740d41cf1de55e8686f5769fc |
|
24-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
mail_index_refresh() isn't public anymore, mail_index_view_open_locked()
works better for the purpose.
--HG--
branch : HEAD |
b20fb5b1df9d604a7541f5118fc5b4b466d211ef |
|
24-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Changed mail_index_get_header() to return the header as return value because
it can't fail anymore.
--HG--
branch : HEAD |
7c95b03620a03a43dd72d39608cea5fc77393ad6 |
|
11-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Allow specifying to transaction if it's external. Make mail saving
transactions external to avoid problems with uids.
--HG--
branch : HEAD |
d4dcb9c30dba354cff7af6d303ecef7698194c55 |
|
25-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Always protect maildir syncing with uidlist lock. Before we only tried to
do it and if it failed, we went ahead and just didn't sync any new messages.
That however could have caused files to be lost temporarily due to race
conditions between readdir() and rename().
--HG--
branch : HEAD |
de4288b7369945a31c4001add9445fd0195a358d |
|
24-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Don't crash to asserts
--HG--
branch : HEAD |
757726d9acbd04cf0d0d4be8ce14e11525476a0b |
|
04-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
When we had dirty messages, we kept resyncing the whole mailbox constantly.
--HG--
branch : HEAD |
0e2686dfe29a18772fa4026bad53e2c7c560403f |
|
05-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
cleanup
--HG--
branch : HEAD |
e10c0b544b2516e92c5df9ef778e2a826eb02995 |
|
02-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Don't break if saving messages to maildir without index files.
--HG--
branch : HEAD |
d9de52132072d80b8c268094b879c0ef5a108db3 |
|
30-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Renamed mail_index_sync_end() to _commit() and added _rollback(). Fixed mbox
deadlocking issue.
--HG--
branch : HEAD |
88553367d677170a4b703b9d52aac9eabf91c656 |
|
26-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Fixed recent flags with mbox.
--HG--
branch : HEAD |
d756ebcfa96bd7cff02097c8f26df9df368b81b1 |
|
12-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Broke mailbox_sync() into iterator.
--HG--
branch : HEAD |
0aa66a8e037c08604e71446d6ba52150a17dfc21 |
|
12-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Handle recent flags in index file correctly. Fixes recent flag losing when
copying or saving mails with flags.
--HG--
branch : HEAD |
b92813e2f96d4b28f989528ed5dd6115da7d9bdb |
|
03-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_sort_flags() now merges flag changes so mail storage
backends don't need to do it (and maildir didn't before). Dirty flags will
be synced now too.
--HG--
branch : HEAD |
7bd6001d84ecc1792ddfd54fe8efa63c509d90b1 |
|
30-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
No maildir filename checking after all.
--HG--
branch : HEAD |
8a7593b817277baf5b8348ee1839648159d4d09f |
|
29-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Require that filenames in maildir begin with a digit, otherwise complain.
--HG--
branch : HEAD |
714dfaac096e6190898aaa7cce315c2fa247f05a |
|
23-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
assertfix
--HG--
branch : HEAD |
a33fde36c57839342dafdf3c8d4b5c009e3ef4bc |
|
23-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
partial syncing fixes
--HG--
branch : HEAD |
65d6ca3fb5450b81df0190d9e9aa62c00fed5116 |
|
19-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Don't crash if we're syncing last commit to maildir, but some file was lost
--HG--
branch : HEAD |
a38ef15060e45e5060bb24c403a580b9a57a818c |
|
16-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
"readonly sync" -> "forced sync"
--HG--
branch : HEAD |
73c76fa7340a107229c530196d026aadeae979c7 |
|
14-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
locking fixes
--HG--
branch : HEAD |
d77c309fccbc6a7594f8cb08fb01009fa613c568 |
|
14-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Locking fixes. use less memory
--HG--
branch : HEAD |
6969f13267ad8495a132ece39d34be36b9883f37 |
|
26-May-2004 |
Timo Sirainen <tss@iki.fi> |
Path was missing from Maildir sync-errors.
--HG--
branch : HEAD |
bde6382cf65fba6165dc3603f5419e194d87f404 |
|
26-May-2004 |
Timo Sirainen <tss@iki.fi> |
Don't use internal last_cur_mtime stamp - it's index-specific so always get
it from index's header.
--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 |
c282435b57b6f9696fc12d99ea70468b7bdfe24c |
|
23-May-2004 |
Timo Sirainen <tss@iki.fi> |
Added pop3_mails_keep_recent option. Fixed recent assert crash.
--HG--
branch : HEAD |
d482b35af87f5fd872bad007da0475813a401a49 |
|
23-May-2004 |
Timo Sirainen <tss@iki.fi> |
Recent flag fixes. Should work perfectly now with maildir.
--HG--
branch : HEAD |
b35f7104715edee0cfac6d46ab0b342033867eb7 |
|
22-May-2004 |
Timo Sirainen <tss@iki.fi> |
Set dirty flags through transaction log, not directly. Some other flag
fixes etc.
--HG--
branch : HEAD |
a038139a470d2942759b9b86a9852aee7b460996 |
|
22-May-2004 |
Timo Sirainen <tss@iki.fi> |
Fix bogus "UID inserted in the middle of mailbox" errors
--HG--
branch : HEAD |
659fe5d24825b160cae512538088020d97a60239 |
|
22-May-2004 |
Timo Sirainen <tss@iki.fi> |
Transaction log contains only UIDs now, no more sequences which just mess up
everything.
--HG--
branch : HEAD |
8a3d609fdd84f5938c82e8e7eeb84a24ab41b317 |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
When committing with no changes, don't try to sync them later.
--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 |
ead79af955bccc360de08c150918474c1809748e |
|
03-May-2004 |
Timo Sirainen <tss@iki.fi> |
When moving mails to cur/, we must add the ":2," part to filename.
--HG--
branch : HEAD |
033557e1c8ebec5ae31f2f24fab90226a1945168 |
|
03-May-2004 |
Timo Sirainen <tss@iki.fi> |
Syncing should be fixed now.
--HG--
branch : HEAD |
d8b77aef97e89f1ccc5cbdaef77be9052279e35f |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
s/custom flags/keywords/
--HG--
branch : HEAD |
fd3d711f219fd6813492acbe051e04327f0ca0f0 |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
Added support for setting dirty flags for messages (TODO: undirty..)
s/mail_index_record_flag/mail_cache_record_flag/
--HG--
branch : HEAD |
0c17af9d3f9323136a94e66605776ed4462a172d |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
More syncing changes
--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 |
685393de106e55b61f754d420e378d05bd462ebb |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
remove mail_index_reset() completely
--HG--
branch : HEAD |
0add8c99ca65e56dbf613595fc37c41aafff3f7f |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
31ddc75584c5cde53d2e78a737587f2e7fdcb0d2 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
Forced locking to be right with mprotect()ing index file. Support for
disabling mmap for indexes, and disabling just mmap+write().
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |