bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
3a78329166819e06f2929ce44e360514c6a80a8e |
|
12-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Add mail_index_base_optimization_settings |
5e03576913a0030de6f8d22c79e353a968a6a35f |
|
11-Aug-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Fix wrong mail_index_modseq_header automatically
It happens only on the next sync, although that isn't actually guaranteed to
happen. Still, it happens almost always so this should be good enough. |
4394b73cacaf2c31a9b601f66b6e26a1c8f114b4 |
|
12-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Track .log.2 rotation time in index header
This avoids unnecessarily stat()ing the file. Also it's a bit better
since it's tracking the actual rotation time, not the mtime of what the
.log file happened to have at the time of rotation.
The initial rotation timestamp is written only to the dovecot.index header
without going through dovecot.index.log. This works, because the
dovecot.index is written practically always after a log rotation. For the
rare cases when it doesn't happen, the dovecot.index.log.2 just gets
deleted later after the next log rotation. |
945565e0c9cf979b5feeba6fbd4efce3bf4484ad |
|
13-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Add MAIL_INDEX_OPEN_FLAG_NO_DIRTY
This way mailbox format backends that don't need dirty flags can use them
for other purposes. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
b9da8540e665138b3cad0b637c08c0ab7d7a7eeb |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Fix detecting whether caller synced everything in mailbox.
When mailbox_index_sync_begin() was followed by _commit(), without _next()s
in the middle actually syncing the mailbox, the tail_offset was updated to
indicate that the mailbox was fully synced. Existing code didn't rely on
this, so it probably didn't break anything.
This code hasn't worked for a long time, because log_view is always read
fully to the end in _sync_begin(). |
23bdbb7b1831785c6ba6df190f6369da882d2b9d |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Require comparisons to be strict boolean expressions
* No implicit integer -> boolean or pointer -> boolean conversions
* !expr can be used only if expr is boolean type
These were checked with a patched clang. It found various actual bugs,
which were fixed by the previous commits. |
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] |
5bced341c27719fe5ec48e1cd079843f33c6d4b5 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Added mail_index_sync_set_reason() to improve lock wait log warnings |
6ded8819b9002150a95a7615e4f64f091c250464 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Small improvements to logging the reason for long transaction log lock waits |
950a6e61d6c2dac961ce031bdd8b2895bc32b827 |
|
21-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: mail_index_sync_next() didn't always return expunges sorted
Maildir and mbox formats were using index_sync_changes_read(), which assumed that
they were sorted. So some of the intended expunges weren't actually always being
done. This mainly affected when expunges were being done simultaneously by multiple
processes or by pipelined commands. For example:
printf "a select inbox\nb uid move 2 Trash\nc uid move 1 Trash\nd logout\n" | ./imap |
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/' |
a7d68c0a692085f4404a9845516f5f09f6773a3d |
|
20-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
lib-index: tail_offset wasn't updated as often as it should have been.
ctx->last_tail_offset was being increased for every non-external transaction
and at the end we checked if head was larger than it. This logic didn't
really make any sense, since non-external transactions specifically were
supposed to update the tail_offset. |
1937094f528e693c1fcc0d638f43264154349f81 |
|
04-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
lib-index: Fixed checking when we want to update dovecot.index
This has been broken since 76f576fc28dc. After that dovecot.index was
usually updated only when dovecot.index.log was being rotated. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
5fb7f20862718b2546e9d154d8924510d3f02729 |
|
20-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added mail_index_sync_have_any_expunges()
This can be used to quickly check before mail_index_sync_begin() if there
are likely to be any expunges that will be synced. |
b356019bca27927bed2995e55aa6bfea756cc776 |
|
11-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
lib-index: Avoid writing tail offset update to transaction log if it's not necessary.
This should avoid extra writes that do nothing but update the tail offset.
mdbox's map requires this behavior, so disable it for it. For others it
might cause the next sync to read more data unnecessarily, but it should be
worth the extra cost of write most of the times. |
1f4f81ba81bb9fa8abe2d94f344373c230066d67 |
|
05-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added reason_r parameter to mail_transaction_log_view_set()
This is used to improve some of the error messages about index corruption. |
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> |
f6ae4001e33637ad80ebb8f5716ca2020e718625 |
|
09-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added mail_index_sync_no_warning() to prevent "long transaction lock" warnings.
Use it with Maildir to prevent double-warning. |
2f8da04d700cc23fcd6630226a4866e828b761bd |
|
09-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lib-index: Include reason string in warnings about keeping transaction log locked for too long. |
0f833d18af36bf307cd69f235eb3fb779245b478 |
|
07-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lib-index: Delay unlocking cache compression until changes to transaction log are committed.
This should fix race condition with two processes compressing the file at
the same time with same file_seq and becoming confused. |
f90cbe597c41d5cc91debd371f8648bd8e6ffbc2 |
|
28-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lib-index, lib-storage: Fixed race conditions with deleting mailbox.
Now only one process can successfully finish mailbox_mark_index_deleted(). |
082e82792b8ac33ad42beac510441b37a3c50737 |
|
07-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lib-index: Don't update log_file_tail_offset unnecessarily.
Update it only if we're already writing to transaction log anyway or if
we're required to update the offset because mail_index_sync_commit() has
increased it past non-external transactions (this is especially important
with mdbox map index). |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
8c6cb4ded4776b8968224bde670d21ff467ae16a |
|
17-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: If error is found from transaction log, update dovecot.index so it won't be read again. |
de7df9ed3417e4ac5b89c2250b635393db2807b6 |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: Don't unnecessarily update dovecot.index again after log rotation. |
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765c |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Replaced all -1U and (unsigned int)-1 with UINT_MAX.
It's somewhat clearer this way. Also clang's -fsanitize=integer gives
runtime errors about -1U (but not about explicit casts, so no need to change
(type)-1 casts). |
a42fa06d6245a2b92776c705f427de07398d9ddc |
|
20-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added assert. |
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. |
7c332266561b8e6562a9151e6af1ed3cd6fb79d6 |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Removed MAIL_INDEX_SYNC_TYPE_APPEND. No backend cares about it. |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
a159e0bea60b3d4f1cca10be6d48339d72148181 |
|
12-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Message flag syncing was broken due to wrong struct cast. |
250105a1440167ef000323cdb2721cd2a3688e1e |
|
22-May-2012 |
Timo Sirainen <tss@iki.fi> |
Don't write "keyword reset" records to transaction log anymore.
These are a bit problematic for dsync's keyword merging to handle. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
d200ae87140a1985fe527e6527bc4bd3035189b1 |
|
04-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Avoid assert-crashing on keyword-update record with empty keyword. |
521dad64e5590b2addc7cb0594480e5cb2d543b4 |
|
23-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Make sure we never go to infinite loop if fsck can't fix syncing problem. |
c2378fc4d82577009b0b5125f381387e7d74ce46 |
|
23-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Handle transaction log read errors separately from log corruption. |
abd4772625d56372956f317e6f0c85bd948a555f |
|
07-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Don't allow syncing to begin if index is marked corrupted. |
491178793199e62320f7bc6292e7b8fd843ae5bc |
|
09-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: MAIL_INDEX_SYNC_FLAG_DELETING_INDEX now allows committing changes to deleted index.
This fixes deleting mailboxes. |
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. |
b8e2c73d814046705fc11cb8ee9bb6ac9ea7bf30 |
|
30-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: If mail_index_sync_begin() fails, don't assert-crash |
3a854fc26bcccb0398f0a9a6fa72db1a4ab8f0b8 |
|
29-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid refreshing transaction log immediately on first sync. |
3955d6726c939b3b30527c22b70c879fbe78692e |
|
28-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added mail_index_sync_has_expunges()
--HG--
branch : HEAD |
a185a2e25da270264b22c2a0a758c5ea513ef960 |
|
27-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Avoid casting away const qualifiers wherever possible.
--HG--
branch : HEAD |
3f91e60401495a4046c73992fabaa5e77200a451 |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Mailbox deletion: Fixed race condition where a mailbox couldn't get deleted.
--HG--
branch : HEAD |
8872e5c991430f96138a46e36b7f3c2c40d8e5c2 |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added support for undeleting a deleted index.
--HG--
branch : HEAD |
d041ddb437ee7000174161405581ab85c0ba314a |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Index deletion is now a request that gets finalized by index sync.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
9f19a50d5966643c4d1c5ca06868ac2ad31bc4d5 |
|
19-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Transaction commits can now track how many uid/modseq updates were ignored.
--HG--
branch : HEAD |
e20e638805c4bd54e039891a3e92760b1dfa189a |
|
08-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach*() in some useful places.
--HG--
branch : HEAD |
0c909e3461607eadcd66f4eac69b7f34e37fccf1 |
|
14-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Keep track of expunged messages' GUIDs and expose them via mailbox_get_expunges().
The message GUIDs are stored in expunge records to transaction log. Before
doing the final expunge, Maildir and dbox verify that the GUID in expunge
request matches the current actual GUID. The GUID is stored in 128 bit
field. If the real GUID isn't 128 bit, the bits are taken from SHA1 of the
GUID.
--HG--
branch : HEAD |
84ed9f8f3d0e5ed47607ef417618e49e4f865557 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added reference counting to struct mail_keywords and related APIs.
--HG--
branch : HEAD |
0bea219e4f944cd17a9ccd1131b7fe081d1bb0a7 |
|
30-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Write to main index file less often.
--HG--
branch : HEAD |
686c00553a7cea22272548d9fb8c888170965ec9 |
|
30-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Write to main index file less often.
--HG--
branch : HEAD |
5d264bf541597af95a31c342644f6bb0fa6e0708 |
|
10-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Fixes to handling shrinking tail offsets.
--HG--
branch : HEAD |
2a566e21890b4177efdb9697eb0981b8ba084fae |
|
23-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_get_offsets() now returns offset1 right.
--HG--
branch : HEAD |
6741035592d65975dedc47426253b9bcab294506 |
|
20-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox syncing: If syncing wrote to transaction log, update the tail offset to include them.
--HG--
branch : HEAD |
807b48fe1f6a57b01ed2cc20247d5b5e3facc562 |
|
20-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added FSYNC flag for transactions.
--HG--
branch : HEAD |
079f54c97145a0a5daa36c37eead3eae91b67a1e |
|
20-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_sync_get_offsets().
--HG--
branch : HEAD |
9404a7b90dcb80d31bd37ee2493f03751acdb1bd |
|
11-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Removed rarely used parameters from mail_index_transaction_commit().
mail_index_transaction_commit_get_pos() can be used where they're required.
--HG--
branch : HEAD |
f153a2cec0319f549388d28f8cfd4d50229d1132 |
|
10-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Fixes to handling shrinking tail offsets.
--HG--
branch : HEAD |
c5794838af9995f50bfecb06a3cd4f9a0ac77858 |
|
04-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_atomic_inc_ext() for atomically incrementing numbers in extensions.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
8734a5a6fe744818c5f109cec8176350a5328a3a |
|
03-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_have_any(): Refresh index to see if there are any new unseen
changes before returning anything.
--HG--
branch : HEAD |
f63f70bd9ac23768e73ee0cff7ec3cce48ff20f1 |
|
03-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_have_any(): Refresh index to see if there are any new unseen
changes before returning anything.
--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 |
36950f5958bc8b9c96808b9b4fbd72b2fb79b2a0 |
|
11-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Make sure tail offset gets updated when extension records are updated.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--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 |
086d1b5cc9361944f0c49faaa24277245f2c475e |
|
04-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Code cleanup
--HG--
branch : HEAD |
608ae99c5b03989df263d72e49aa83e1f9d8a50e |
|
16-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
When reading an index file created by v1.0, make sure we update the header
version and write the main index.
--HG--
branch : HEAD |
b0423f315566846057c548fa4ec4db1e942ecb27 |
|
15-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
If MAIL_INDEX_SYNC_FLAG_REQUIRE_CHANGES is set, check if there's anything to
sync before locking transaction log.
--HG--
branch : HEAD |
d6a1fa1d65c6d1996937802c2482c0f14dd821a7 |
|
15-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Added MAIL_INDEX_SYNC_FLAG_REQUIRE_CHANGES flag and changed
mail_index_sync_begin() to return 1 at success and 0 if there's nothing to do.
--HG--
branch : HEAD |
5d1833b98fa85d8061626aa986f38dcbcd70553e |
|
10-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling cache file syncs and expunging.
--HG--
branch : HEAD |
768b7f5783c8de119d7386321e5d0c72d5c2d9f6 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_sync_have_any().
--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 |
3b80595fcf2001cf7b2fcc6290823e38f4a142fc |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
fsck won't fail anymore with "corrupted index", all problems are fixed.
Added mail_index_fsck_locked().
--HG--
branch : HEAD |
61f5256ef248d35459b53534ae428bf6d016e1c5 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed mail_keywords creation APIs to take mailbox/index instead of
transaction.
--HG--
branch : HEAD |
8f8315e4b4e27ead12dd1c3da65bf4dee3762f18 |
|
29-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed mail_index_sync_begin() to mail_index_sync_begin_to() and added a
new mail_index_sync_begin() without seq/offset parameters.
--HG--
branch : HEAD |
3bf14402b7ec0795fbe5721b31b7e98e883d98c0 |
|
27-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
If we notice that dovecot.index.log gets deleted, make sure that
dovecot.index gets written in next sync in case it was also deleted.
--HG--
branch : HEAD |
b08b33d1f5ce3721dc2d83586c9cb0ca141331fd |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_sync_next() can't fail anymore.
--HG--
branch : HEAD |
73b50eecfc31750a312e2f940023f522eb07178c |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_lookup*() can't fail anymore. Changed several APIs not to return
failure anymore.
--HG--
branch : HEAD |
c8adec8db635f5efb13b9879a5f3fb523abdc969 |
|
19-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added MAIL_INDEX_TRANSACTION_FLAG_AVOID_FLAG_UPDATES and
MAIL_INDEX_SYNC_FLAG_AVOID_FLAG_UPDATES flags to make
mail_index_update_flags() not do anything if the flags in view already are
those.
--HG--
branch : HEAD |
db87d16551d1081ada01f787ea21aa3ed1402c31 |
|
19-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Changed mail_transaction_begin() API to take flags parameter instead of two
booleans.
--HG--
branch : HEAD |
7fbe2b98302c4a3d78f243a7dc8ce53764ec34c2 |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Optimization: If FLAG_DROP_RECENT isn't set, don't bother calculating next_uid
--HG--
branch : HEAD |
1d3f7c1278168d5b1cbfa9a2cc9929a0909056b4 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Recent flag handling rewrite. Still not perfect with maildir.
--HG--
branch : HEAD |
bf91bed88d4e294b4577ba2a3b14d87cf35ae135 |
|
02-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
mmaping works again properly. Changed to use private mmaps which are
directly modified. The file is kept locked the whole time while it's being
mmaped, so multi-process updates may be slower than necessary.
--HG--
branch : HEAD |
14c474d9f4591c397ed0b5206af6537c7b52c924 |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Rewrite index lock handling.
--HG--
branch : HEAD |
ae8817f05005f57bba32479a610b52d083e2b6eb |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for resetting index.
--HG--
branch : HEAD |
e3b46dc85b78a69b7b3ef9b58b5b1a4772f0102e |
|
28-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
And compile fix
--HG--
branch : HEAD |
d43021c6495386998c85314d13dacf36b53756fc |
|
28-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
FIXME removal
--HG--
branch : HEAD |
e3689d0f073341e844638f34e1e4d0b7bb053cc8 |
|
28-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Handle losing index file better. Handle fsck better.
--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 |
65ac698aeb7df453a206d89cfa0bd8d528ca353d |
|
19-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Log also the position in log file for sync errors.
--HG--
branch : HEAD |
8d131435ba4648c8821160ec38d508c97177c715 |
|
19-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Removed index->hdr. Use index->map->hdr instead.
--HG--
branch : HEAD |
10a97b15c34119ffe2d2eab9b975252fed631df2 |
|
16-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index_write() to its own file.
--HG--
branch : HEAD |
f0ef8212ef35e58a1a4d2158702c644f57eaf7c6 |
|
15-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Don't mark the transaction log corrupted if some record inside it was
broken. Changed the error message as well.
--HG--
branch : HEAD |
51795bfe9d05d92fe942cb451aec2b9d16d32a11 |
|
15-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
int/ext/mailbox sync offset changes: Combined mailbox and int offsets to
"tail" offset and renamed ext offset to "head". This makes it clearer how
they're supposed to be used.
--HG--
branch : HEAD |
5f78b33aa505b17e23cdf27b071a24e127b3db54 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Removed sync_mask parameter from mail_transaction_log_view_set(). The user
will now have to check the types itself.
--HG--
branch : HEAD |
4163ec6941bd55fe2c963a6c4605e7fa38f05ea2 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Removed mail-transaction-util.[ch]. They're no longer needed.
--HG--
branch : HEAD |
c91de2744f8c1e61e91082ff5e214450f28a0e7c |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved duplicated log record validation code to a single place.
--HG--
branch : HEAD |
5c1507585248ccecebaee81162a92ae58603491a |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Broken UID ranges weren't checked early enough.
--HG--
branch : HEAD |
2a6af811ea3de3cf9e2f15e446674dd21b0705f3 |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Initial commit for major index file code cleanup.
- dovecot.index file isn't anymore required to be updated when syncing.
- Getting the latest index file mapping is now done always by reading
dovecot.index and then reading the latest changes from dovecot.index.log.
- mmap()ing dovecot.index file is slower than reading it, so it's not
currently done unless the file is at 256kB. This may change though.
- Some things are still broken.
--HG--
branch : HEAD |
7ca9da144f79317f9a0d3b0b5cc1fe21e44a5bf4 |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
When compressing cache file, update the cache file offsets using the
existing sync transaction.
--HG--
branch : HEAD |
f0d8fc8e7e5a638684f02783cdadc40a23e3b004 |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
Crashfix for error conditions
--HG--
branch : HEAD |
1f2d00033c03a2a75557fcb51a91a96f67c0f41d |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
Sync transaction needs to be created later or we'll crash
--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 |
ccffbed92cb02c24fd717808a84138240bf1885b |
|
11-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If we run out of disk space, move to in-memory indexes.
--HG--
branch : HEAD |
ec4cc1117d72d5f419e4494598496dcbecc1433d |
|
23-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
"View synchronization from transaction log failed": Log also the index
filename.
--HG--
branch : HEAD |
77f386273491b3a20b49b2a5a9db4b6e360615f9 |
|
23-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Log a warning when we're starting fsck. Log error before calling fsck.
--HG--
branch : HEAD |
c3781a9e51d099b31d0e48c4887e45495886528a |
|
12-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Don't crash if syncing breaks.
--HG--
branch : HEAD |
687bb904e1bb76c21a6e392f60c990486b298ea4 |
|
15-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
After saving messages the mailbox wasn't synced, which caused deliver to
treat the mailbox as unsynced and not update the indexes.
--HG--
branch : HEAD |
c6eca51b54586c1f37cfe39e38c844da3f937a4d |
|
16-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Don't allow giving NULL parameter to array_get() or array_get_modifiable().
--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 |
9315dd69233d554452df0c12bc57002d2042a8f4 |
|
30-May-2006 |
Timo Sirainen <tss@iki.fi> |
We were updating index->map also when syncing views.
--HG--
branch : HEAD |
9887c39c5ba429169389153ca99de49e084a73f0 |
|
30-May-2006 |
Timo Sirainen <tss@iki.fi> |
If we're synchronizing a view (and not index itself) from transaction log,
give a different error message and don't mark the file corrupted.
--HG--
branch : HEAD |
ec255ec6967f1bfd9811a58c0388a09f98dbef6b |
|
04-May-2006 |
Timo Sirainen <tss@iki.fi> |
If only changes were recent-flag updates, we didn't write them to index.
--HG--
branch : HEAD |
8c7a59bbb15ccf6e01446d0a5ad88837b3166a00 |
|
24-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Crashfix
--HG--
branch : HEAD |
9873ccef8e39b55637d80fd1a27619ea2c91cfd5 |
|
23-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes
--HG--
branch : HEAD |
14bf1b86e3f351d45ae07448f447459a7c9d9731 |
|
08-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Ignore if cache compression fails.
--HG--
branch : HEAD |
de5fc0d6e7d55f2b12349ebefae6f4165a16e3d7 |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Error handling fix
--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 |
a050ca9def13949dbaa67bd6574a41c4f397ae26 |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Handle missing/broken transaction logs better. Handle broken sync position
in index header better.
--HG--
branch : HEAD |
020a39a395d2adb768e0179631b37bc78ecd9471 |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Changed mail_index_view_sync_next() to return struct
mail_index_view_sync_rec records which only contain the type and UID range.
Makes it clearer that the caller won't get anything else, and flag updates
now don't need to update add_flags/remove_flags fields.
--HG--
branch : HEAD |
5238fe9419d071cfbee6f3ff8f2411541e95537d |
|
21-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
ext_offsets can be higher than int_offsets, so check its validity instead
before starting syncing.
--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 |
053843989f13d9013b265fb401a4bde7e0e6568e |
|
28-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Renamed array_modifyable_*() functions. I could never remember how they were
named.
--HG--
branch : HEAD |
e12648867876aaec17e06ee4caef0bb60363449d |
|
29-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Check broken flag counter values every time when updating them. Added
fsck-flag to index header, if it's set do fsck when opening index and when
syncing.
--HG--
branch : HEAD |
fe21a2b1251a4cb3367d427618b35395de77e82f |
|
26-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes when DEBUG enabled.
--HG--
branch : HEAD |
6eb30032b4a50c383dea4c9c74342d906de6ad36 |
|
26-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Minor error checking fixes.
--HG--
branch : HEAD |
7408c4ff5c6e79ef5da5f889ee04eedd5f6277fd |
|
19-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Crashfix in error conditions
--HG--
branch : HEAD |
89caf81340a4da959ef18c5f9b9c99824a53066b |
|
08-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_sync_reset() to restart syncing from beginning.
--HG--
branch : HEAD |
bb10ebcf076c959c752f583746d83805d7686df8 |
|
02-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Keywords are now stored in X-Keywords headers in mbox. Did several related
API changes to get better performance.
--HG--
branch : HEAD |
4b231ca0bbe3b536acbd350101e183441ce0247a |
|
29-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
In-memory indexes work again. Just pass dir as NULL to mail_index_alloc().
--HG--
branch : HEAD |
d7737c090219b03e98a04bb30f84ef55e397319b |
|
27-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Changed keywords_buf to array. Added mail_index_sync_get_keywords().
--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 |
287ba82a8da3eaa473b5735d4eeac2fb4c5d8117 |
|
12-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Changed many buffers to arrays. Cleans up the code a lot.
--HG--
branch : HEAD |
ad8841dddd672659d0bc6985718a6e59e545e473 |
|
09-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Keyword reset crashfix
--HG--
branch : HEAD |
b87a4156eca6dcf6b29c504eb0cb9be2fdb11b63 |
|
08-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Moved code into mail-transaction-log-append.c
--HG--
branch : HEAD |
2ddd140bcecd9f8b7f2686b419cdfaa5d5d3a9e8 |
|
05-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Keep index pointer in dummy views.
--HG--
branch : HEAD |
6aa38bc4f4d4626a4a79abb59a9d415e4bd9b6b5 |
|
31-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Recent flags weren't being removed from index causing needless syncing.
--HG--
branch : HEAD |
e8acc691a14a6d0884c5ca9aa4d8507f1e082040 |
|
22-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Instead of using separate transaction sorting code for syncing, just put the
data from transactions into a temporary transaction and read it from there.
--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 |
a24f5976e9c6154ff58291634647a22a363c3198 |
|
13-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
If log file sequences get broken, complain instead of crashing.
--HG--
branch : HEAD |
df4018ae2f0a95be602f724ca70df7e0e3bd6a7d |
|
29-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Removed view->messages_count, view->hdr.messages_count is enough. Also fixes
assert crash in mail_index_bsearch_uid().
Renamed .._get_message_count() to get_messages_count() to be more
consistent.
--HG--
branch : HEAD |
68917b81c83e8a4d18a81cda188ffa5cb643c46c |
|
24-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Avoid re-reading index file with mmap_disable=yes.
--HG--
branch : HEAD |
6ce70408b924aa3712413e12c4517f8ea203d914 |
|
24-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
If we synced external transactions at the beginning of index sync, we have
to reopen the syncing view so it shows the latest updates.
--HG--
branch : HEAD |
e86d0d34fe365da4c7ca4312d575bfcbf3a01c0e |
|
14-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Avoid re-reading index file with mmap_disabled=yes. Instead sync it by
reading transaction log file.
--HG--
branch : HEAD |
1b3bb8d39686ed24730cbc31cc9a33dc62c8c6c3 |
|
14-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Update view's header only after syncing the view. This and other changes fix
several view syncing problems and crashes.
--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 |
2a734f36105e33ab452d057df6bc7a2b7d9f96f0 |
|
25-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Use separate sync offsets for internal/external transactions. Pending external
transactions are committed into index at the beginning of syncing, internal
ones aren't.
--HG--
branch : HEAD |
f172291ed740e6af3ce3e7c9c2ef0fe1d3ad7963 |
|
17-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Write transactions into index at the beginning of syncing if there's appends
or external changes.
--HG--
branch : HEAD |
4444f8da797bc2102846ef924e460333b72fc3fb |
|
11-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Don't go trying to updating index, if there's nothing to update.
--HG--
branch : HEAD |
4b058f90f9e8a2c6b2eed275de4eb8cc5195a71d |
|
08-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Buffer API change: we no longer support limited sized buffers where
writes past limit wouldn't kill the process. They weren't used hardly
anywhere, they could have hidden bugs and the code for handling them was too
complex.
This also changed base64 and hex-binary APIs.
--HG--
branch : HEAD |
50361f79ebcf2a08e7095cda4a2e8b312528869e |
|
08-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
group multiple recent flag updates together
--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 |
5a07b37a9df398b5189c14872a600384208ab74b |
|
05-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Save extra record/header infos into index file permanently.
--HG--
branch : HEAD |
440f321f25a019f76d19b0ee95dc14024eb853e3 |
|
24-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Don't crash if flag update record gets completely overlapped by expunges.
--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 |
fd2f5fbc1f07aa93e2214a28cdf02437fb7d06c8 |
|
04-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Cache file compression works now and compressed cache file is reopened.
Several other cleanups related to opening - cache file isn't created
immediately anymore.
--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 |
8aacc9e7c84f8376822823ec98c2f551d4919b2e |
|
28-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Added some smartness for deciding what to cache. Cache compression code compiles, but untested.
--HG--
branch : HEAD |
7e94cf9d70ce9fdeccb7a85ff400b899e6386f36 |
|
24-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Record size is allowed to change between index files. This will allow adding
extensions dynamically for existing indexes.
--HG--
branch : HEAD |
b44a50ea4123f21dfc8e1b6c602f690fd9721b67 |
|
21-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Cache doesn't crash anymore if we're asking it about messages that exist
only in uncommitted transactions.
--HG--
branch : HEAD |
56f45b3f3ae20e5c933701f4657dda5ef1916855 |
|
19-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Several fixes and cleanups to cache file code, still badly broken
--HG--
branch : HEAD |
4bddcfe4579102e0d80e4054fd8678e048de5e87 |
|
20-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Set uid1/uid2 for MAIL_INDEX_SYNC_TYPE_APPEND
--HG--
branch : HEAD |
5a24a68a727ea4c5a13fc2dee686b001ef08db80 |
|
16-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
cleanups
--HG--
branch : HEAD |
8e7da21696c9f8a6d5e601243fb6172ec85d47b2 |
|
14-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Added support for per-index sized mail_index_record.
--HG--
branch : HEAD |
a24f6b02ed8d0dde933a715be1c86f01977bf610 |
|
28-May-2004 |
Timo Sirainen <tss@iki.fi> |
Keep the transaction log view open all the time for index views (not just
while syncing) to avoid losing the log files.
--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 |
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 |
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 |
1f2c3bde353d45f6d76c5210adf1e0a952247f3a |
|
20-May-2004 |
Timo Sirainen <tss@iki.fi> |
last tried fixes with sequences-in-log approach. moving to uids next, wonder
why I didn't earlier.
--HG--
branch : HEAD |
4f22fc1d063d48ed368b4cb124b44183bc27773c |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
don't crash with assert if transacton log has expunge with seq 0
--HG--
branch : HEAD |
d67f54632110cfb6aafe2d7cd1f99b031c0b208a |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
syncing fixes
--HG--
branch : HEAD |
d94b7a80efaffc04996cc475fc84dde7a1006f0a |
|
04-May-2004 |
Timo Sirainen <tss@iki.fi> |
error message change
--HG--
branch : HEAD |
d8b77aef97e89f1ccc5cbdaef77be9052279e35f |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
s/custom flags/keywords/
--HG--
branch : HEAD |
4e067815f4e33072740a7d2b90f3b273d75de3f7 |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
comment
--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 |
b7b81543899e306c71e6152516d8698416162bcb |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
Syncing optimizations.
--HG--
branch : HEAD |
7888a9d2008eab9985096c46e1da9ee985c22a2a |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
automatically fix broken/missing transaction log files on the fly
--HG--
branch : HEAD |
0add8c99ca65e56dbf613595fc37c41aafff3f7f |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
fddec1bf093b45eaedcece13c649b811208e0547 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
locking fixes, sync fix
--HG--
branch : HEAD |
5c1a8aee989af87bddefd71e2aa83aa2bd695155 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
Locking changes. bugfixes.
--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 |