bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
debc93e622751c6c09e8105e504c5833f1ca0d6d |
|
30-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use #ifdef instead of #if with WORDS_BIGENDIAN
This is to not rely on undefined WORDS_BIGENDIAN being evaluated as 0. |
c69a177207ed18d0f0210347430a60957136bd6c |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on pool_unref(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- pool_unref(&E);
- }
+ pool_unref(&E); |
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 |
2c488bf1ca9194cf36597959f1316b7e12102fd9 |
|
24-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: mail_index_map_register_ext(ext_offset=-1) now sets hdr_offset=-1
It shouldn't make any difference, but this is a less confusing value. |
749097cae4e02bdeccb8b09f7dda6e2da6812ee1 |
|
29-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Use a bit larger initial records buffer size
For example with a mailbox having 160k messages the buffer size is around
10MB. Adding just 1% more space to it allows a lot more appends before the
buffer needs to be realloced. This reduces CPU usage quite a lot. |
f7ef214d77493f0063c494f3595d46cb165eae87 |
|
28-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Memory allocation optimization |
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/' |
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> |
1df526903ed039e8ff966a223c43b8d04eddf3c7 |
|
02-Jun-2014 |
Phil Carmody <phil@dovecot.fi> |
mail-index: trivial robomatic migration from _MAP_IDX to new helper
All users which have a '-1' in their MAIL_INDEX_MAP_IDX have been changed
to the new mail_index_rec_at_seq() helper using this sed script:
$ sed -ie 's/MAIL_INDEX_MAP_IDX(\([^,]*[^)]*[^ ]\) \?- \?1)/MAIL_INDEX_REC_AT_SEQ(\1)/' src/lib-index/*.[ch]
No other users have been changed.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
0b2d4626c6fb4e40bc81c56d8227191f3c7e1ea3 |
|
17-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-index: Don't bother tracking if header/records were changed.
They aren't really needed. When mail_index_write() is called, we already
know we want to update the index. |
25480af2e21cf136e461ec802177f52b43154485 |
|
15-May-2013 |
Timo Sirainen <tss@iki.fi> |
Added asserts to binary searches to make sure we don't go to infinite loop.
Using idx=left+(right-left)/2 would have worked also to allow 4GB sizes,
but since none of the places in the code are likely to reach 2GB we might as
well just add an assert. (Also if they do reach 2GB, it could be possible
that they could reach also above 4GB and cause problems. Better to see an
early error.) |
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). |
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. |
b71e08759c02a49d02cdfb28343351ad28fc10b5 |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: dovecot.index file is no longer overwritten, so it doesn't need to be locked. |
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 |
d7c8280f58292cc292eba9209dcc9024fe96cf06 |
|
03-May-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Updated dovecot.index file only by recreating it, never write to it directly.
This is safer, and nowadays there shouldn't be much of a performance loss
with it either, since dovecot.index isn't updated very often.
This also allows removing all locking from dovecot.index file, although for
now we'll keep it in case old Dovecot versions are simultaneously writing to
the index. |
4a01681e0ed9a7b3f7a105dd2fcd2511e7160e99 |
|
04-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Don't assert-crash with broken extension record intros in log. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
a2aa37d224a70b2eccc00691d2893e09f107d7cc |
|
05-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Fix to previous check. |
4ad29660779873d7955151eb4568d132a32e9d9c |
|
05-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added extra checks against broken extension record introductions. |
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. |
eb958701f57066bce9cc8bbf9df73616bd322d09 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Small code cleanup.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
7bd72e4deca3cbf757dd1ea298486d9f3bc24226 |
|
02-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach() more.
--HG--
branch : HEAD |
e20e638805c4bd54e039891a3e92760b1dfa189a |
|
08-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach*() in some useful places.
--HG--
branch : HEAD |
8e361d2906b0e44f7175a20981f8d2280645b58b |
|
14-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
buffer_create_[const_]data() API change: Take buffer_t as parameter instead of allocating it.
--HG--
branch : HEAD |
c24c0f0a208e5ffc35dc8be19a9b504a5326467a |
|
20-May-2009 |
Timo Sirainen <tss@iki.fi> |
Created mail_index_map_lookup_seq_range() from code in mail-index-view.c.
--HG--
branch : HEAD |
7a896d960824c93e2f04ac21e8eae0f892bf8d20 |
|
20-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved some code from mail-index-map.c to mail-index-map-read.c
--HG--
branch : HEAD |
5806683c1c3f5b1997e92a023c0fe39912d4df5d |
|
20-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved some code from mail-index-map.c to mail-index-map-hdr.c
--HG--
branch : HEAD |
6f90ce01176bd920609d9d12e6419b9ba27c1359 |
|
13-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
indexes: Error handling fixes.
--HG--
branch : HEAD |
90a989e4f8bcb4fb86af32cbae577402e3f92b1a |
|
12-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes.
--HG--
branch : HEAD |
35111acf4f63ef944ac25c1f0c2eb5c2c5b0161e |
|
24-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
mail_index_map_ext_hdr_check(): Fixed a wrong check.
--HG--
branch : HEAD |
f46068919d4b3e1f36028c4182108c169f914019 |
|
24-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
mail_index_map_ext_hdr_check(): Fixed a wrong check.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
c59ce1887df061441a31f8243c730d4ec6a62a07 |
|
19-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Try to use (Apple) gcc's __BIG_ENDIAN__ and __LITTLE_ENDIAN__ macros if possible.
Based on a patch by Apple.
--HG--
branch : HEAD |
5aeb15e5817fbd4b1d8de540aa7673e3819a8030 |
|
14-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Replaced literal "keywords" strings with a macro.
--HG--
branch : HEAD |
2b8fab6d39e8d1dbd3d546d2577fc1caeafdd64a |
|
13-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
mmap_disable=yes: Opening index always tried to read it from transaction log.
This caused more disk I/O than necessary.
--HG--
branch : HEAD |
7de1c472fd23ddac6b4dc5cbeee6fa6a8418b071 |
|
31-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed crashes related to struct mail_index_map_modseq handling.
--HG--
branch : HEAD |
d0ab5936be1cd971007fc2241e0be120c442cb84 |
|
17-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
mail_index_record_map_move_to_private(): Drop messages from record_map the
map hasn't itself seen yet.
--HG--
branch : HEAD |
b8d232d88018c5cafd2f3be5a181d318137a45f2 |
|
27-May-2008 |
Timo Sirainen <tss@iki.fi> |
Avoid using shadow variables. Unfortunately -Wshadow also complains about
index variable conflicting with index(), which is used in way too many
places to change.
--HG--
branch : HEAD |
9a0c37cb8588cd287106374eda22a7ea3e2742b2 |
|
25-May-2008 |
Timo Sirainen <tss@iki.fi> |
If index file's header shows that it's unusable (e.g. major version change
or CPU arch change), make sure they're not tried to be used and handle the
rebuilding nicely.
--HG--
branch : HEAD |
50031a6b36a6051512bd18f39e4bbabe54acf565 |
|
25-May-2008 |
Timo Sirainen <tss@iki.fi> |
Make sure MAIL_RECENT flag is cleared from index file's flags so it can be
used in future for other purposes. Increased minor version number because of
this.
--HG--
branch : HEAD |
221351ed85c839e0b03d82c47654c3d17202e3db |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Memory pool allocation tweaks.
--HG--
branch : HEAD |
6c9699d37fbe4d8af3682ee7f341ede8d54faa87 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed extension record checking.
--HG--
branch : HEAD |
a2f250a332dfc1e6cd4ffd196c621eb9dbf7b8a1 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Initial CONDSTORE support.
--HG--
branch : HEAD |
9573f4283f9118315b0865998d43223fedee0246 |
|
11-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Apparently "alignmentation" isn't a word. Changed to "alignment".
--HG--
branch : HEAD |
a85d0d2b75e5effadf4d3c2167af0ff9ae95904a |
|
09-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Valgrind warning fix
--HG--
branch : HEAD |
ed50658501d9ae8c85f6264831056b1debed11c3 |
|
07-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Don't allow too large extension header sizes. They're probably caused by
file corruption.
--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 |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--HG--
branch : HEAD |
3675a7e9bd3775ba13fe8bc93915902513a0f1a4 |
|
28-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Verify extension fields are correct when registering it from transaction
log.
--HG--
branch : HEAD |
bc564f1d3d953cf724828322b11ae89e0f59ffc9 |
|
18-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
NFS cache flushing APIs changed and backend implements it a bit differently.
Hopefully this works now more correctly.
--HG--
branch : HEAD |
21886e64a7a45a3bdd029e3b3421d22f69f3d7b5 |
|
18-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Don't bother flushing attribute cache if we just fcntl locked the file.
--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 |
3e559edb905bb57d1f1fbfda3431b339f45ea791 |
|
30-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Avoid "first_recent_uid 0 -> 1" errors when upgrading from v1.0 index files.
--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 |
648d24583c1574441c4fa0331a90bd4d6e7996c5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
pool_unref() now takes ** pointer.
--HG--
branch : HEAD |
0f66f12eb4cdbf47670975044c88d8f388bf92df |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed buffer_free() and buffer_free_without_data() APIs to take ** pointer
which is set to NULL instead of hiding it with a macro.
--HG--
branch : HEAD |
c2feb7d13482d0f60691cd71d06d42a80df99397 |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Fix ESTALE handling when reading main index.
--HG--
branch : HEAD |
8ababf3e7b15f793370d1dedf85825d38b42633f |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
fsck fixes now keyword header problems
--HG--
branch : HEAD |
746d35bf3dba3ae5ddbcecb9732f60d5e9de77ef |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
If extension header is broken, drop it when fscking.
--HG--
branch : HEAD |
ffd9a1898a18fadfc5dce399162c25d50548f905 |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Make sure the extension name doesn't contain control characters. It most
likely means the extension header is corrupted.
--HG--
branch : HEAD |
180503c08ebd58174c4f7f1652d716266877e2a3 |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Crashfix when fscking.
--HG--
branch : HEAD |
6ec7cf71ccd0eed1f9cc1b0bda8960796b04160b |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Removed MAIL_INDEX_HDR_FLAG_FSCK. It's not used anymore.
--HG--
branch : HEAD |
2bd2ca14d18819b77201ab2b46910d9ae6858abe |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index_map_parse_keywords() to mail-index-map.c
--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 |
1fd0d511885c30028aba388588151acf4ee85e75 |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
fsck the index while it's being mapped.
--HG--
branch : HEAD |
2aa3ac8bfb8fea49fd0ab6d56afcb3af3375d22c |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
If hdr.messages_count is too large, fix it with fsck instead of treating the
index completely corrupted.
--HG--
branch : HEAD |
d051664df497582e1eb75a9f238d04b65e858db8 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Cleaned up keyword handling code.
--HG--
branch : HEAD |
7ded22760598b78ee29f9418eacc0abe3fb51055 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Only index extension indexes are now called "ext_id". For map extension
indexes use "map_ext_idx".
--HG--
branch : HEAD |
7eff76882487ef39803446f75a709a97a3cafc53 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Don't treat uid_validity=0 && next_uid!=1 as a corrupted index. fsck fixes
it.
--HG--
branch : HEAD |
f7656d7bc15510a4259ed74ddda3c560de8a51c1 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Check that header is still valid after syncing. If not, fsck.
--HG--
branch : HEAD |
91add6e26ed2b91e15276c96ffe02d9f71476d71 |
|
31-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
If v1.1 index is accessed with v1.0, avoid recent message counter errors.
--HG--
branch : HEAD |
a044f7a32b159a6f76758848928f1deb7030005f |
|
27-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Parse keywords from header immediately when mapping the index file.
--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 |
cfa9359fbd6a967ccdcd553c5e483a093885ab6f |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_map_register_ext() now takes ext_offset instead of hdr_offset.
hdr_offset is calculated from ext_offset. Both are stored to the ext struct.
--HG--
branch : HEAD |
5787e39e2be32f657b8c98fee8bac794aa852cf8 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_map_move_to_memory() lost header extensions.
--HG--
branch : HEAD |
12053b7b4b57dbd2790057426d1633988eedad56 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_map_get_ext_idx() should return bool, not int.
--HG--
branch : HEAD |
a28a6267f48971117dec958b160deefd14ebb7a6 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Prevent copying record data when appending new messages.
--HG--
branch : HEAD |
3697080532ccd9f51fac108be6079b616c7a2ddf |
|
03-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Created a new struct mail_index_record_map which can be shared by multiple
mail_index_maps. This avoids having to copy records when appending new
messages.
--HG--
branch : HEAD |
171f1d1a6e3205447e83cd3984e76b1e8628de43 |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Another crashfix after mail_index_mark_corrupted()
--HG--
branch : HEAD |
38efb29cb9453917c1b642095a37d0e901f56eee |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Don't crash when mapping after mail_index_mark_corrupted()
--HG--
branch : HEAD |
1d3f7c1278168d5b1cbfa9a2cc9929a0909056b4 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Recent flag handling rewrite. Still not perfect with maildir.
--HG--
branch : HEAD |
51b979b6414b940f04677a7e2d064be119345954 |
|
12-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Flush NFS caches when needed if MAIL_INDEX_OPEN_FLAG_NFS_FLUSH is enabled.
--HG--
branch : HEAD |
2498b8003eb181001b0c4fd45763c462b45493d1 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Don't crash if extension record size is 0.
--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 |
19779377be72c9fe8365bb9ba7a2e0d06dc99c3b |
|
02-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed map cloning in the middle of syncing.
--HG--
branch : HEAD |
14c474d9f4591c397ed0b5206af6537c7b52c924 |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Rewrite index lock handling.
--HG--
branch : HEAD |
b0be0bead3d6963149f7f2a9504b8ab5aced9af5 |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_map now contains pointer to index, so all functions taking map
parameter don't need index anymore.
--HG--
branch : HEAD |
2d49f150b4bce6f2f59a84e268e4777901c3e42c |
|
28-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Handle indexid changes better.
--HG--
branch : HEAD |
8e57335924f5ff57cbd1929ec99764dc267c3312 |
|
20-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Updating index file by overwriting changed parts didn't work correctly.
--HG--
branch : HEAD |
5c7aa03f959b8b9cab3eba8a585a90f4b50a4cdf |
|
19-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Keep index->map always usable, never NULL.
--HG--
branch : HEAD |
8d131435ba4648c8821160ec38d508c97177c715 |
|
19-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Removed index->hdr. Use index->map->hdr instead.
--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 |
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 |
2a34e2be33f8a17d21384a5527ed9f75f4d270e0 |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail index map related code to its own file.
--HG--
branch : HEAD |