77f8c49beac69a8f5d5d41239528474ee1b877ea |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert maildir to use container_of |
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] |
f567e9ad51a3b4f61580299f12b67e070fb16c5c |
|
18-Mar-2014 |
Timo Sirainen <tss@iki.fi> |
maildir: Fixed looking up physical size for a mail while it's being saved.
Based on patch by Teemu Huovila. |
8c909e451d14075c05d90382cf8eebc4e354f569 |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced *_INDEX_PREFIX macros with a common MAIL_INDEX_PREFIX. |
27a44fcfd8d19bffe0f267f20a2b5d3fe7600fdd |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Removed CONTEXT_TYPE_SAFETY macro and reimplemented its functionality better.
gcc/clang now gives a compiler error in many places if callback isn't
exactly what was expected. It's also now much easier to add more of these
checks. |
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 |
68b5e132f1f8bb2528482310daffcc06c2f019d3 |
|
23-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Added mail_temp_scan_interval setting and changed its default from 8h -> 1w. |
93ec3b0c4b911e2cc79a99f4a300e488d2d694d3 |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox list index's ext_id shouldn't be cached in mail_storage.
It's mailbox_list-specific, not mail_storage-specific. The easiest fix was
to just cache it into mailbox rather than create a new index_mailbox_list. |
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. |
c000c8eca8f24b2a0c76393ec4bbf76a505a4983 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox.backend_readonly. Backends set it internally lazily now. |
8a13b020f90e080570658b18c042e7e352c8b14f |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved box->private_flags_mask to mailbox_get_private_flags_mask()
This allows getting it lazily only when it's actually needed. |
1554bed8d2b4e4286c10f7d6bcf716b246bd5baf |
|
20-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
dbox, maildir: When copying messages, copy the cached fields also.
Copy only fields whose caching decision is not "no" in the destination mailbox. |
3a854fc26bcccb0398f0a9a6fa72db1a4ab8f0b8 |
|
29-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid refreshing transaction log immediately on first sync. |
f6f021c133f680cf3d559187524fd9abcbaae9b9 |
|
28-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: If we see unwanted non-empty directories in new/ or cur/, move them to ../extra-* |
53f9b870939a525dc7885603801e2e2d96debe2d |
|
23-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Cleaned up filename/guid preserving code on save/copy. |
de9d79337eca11a7f9c1cd476c74dfe4f09a4bd7 |
|
30-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Removed mail_update_uid() / mail_index_update_uid().
It was working properly only with mdbox and there wasn't really a need for it.
--HG--
branch : HEAD |
7a7d2aa11e46195e2d92d6c337d7e78052a5ce67 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Avoid including mailbox-list-private.h everywhere.
--HG--
branch : HEAD |
8bb360f9e5de1c25e4f875205bb06e8bf15dae14 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Removed dead code.
--HG--
branch : HEAD |
ea4c984d8097f24aa18ed5bb364ebaf3b01bc2a3 |
|
18-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
maildir_copy_with_hardlinks=yes no longer has a race condition.
--HG--
branch : HEAD |
61b0637759146621cbb7edcbd0b03a71cfd66dfe |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox deletion API changed.
Mailbox deletion should now be free of race conditions. The actual file
deletion code is now responsibility of mailbox_list backend.
--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 |
9c66dd5c3e2ba484a5c7cdb98a139bda31fdfaa4 |
|
31-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list_get_guid().
Directory GUIDs are pretty pointless.
--HG--
branch : HEAD |
b9d91b39ae356f3986236cd63e8f0afd25f5abc6 |
|
15-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Always add S=size to filenames.
It's necessary for using zlib plugin and doesn't hurt much anyway.
--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 |
6bc5fed79741503437c6d46d9f282b66bd029c6b |
|
06-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_get_guid() to get/create directory GUID.
Directory GUIDs are mainly useful for dsync to identify \Noselect mailboxes.
--HG--
branch : HEAD |
66db1770a4316a53ac6881069c739900925b4ee2 |
|
06-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: mail_update_uid() now updates uidlist also.
--HG--
branch : HEAD |
eb0816090cf5a549280ad783b9aa6fec199d36ba |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index-storage: Simplified the way transactions are are created/finished.
Removed also mail_storage.class_init/deinit since they're no longer used
for anything.
--HG--
branch : HEAD |
3054cbf69a94ca08123ca3a8d6a2c19a1784e11d |
|
28-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Support saving messages with specified UIDs.
--HG--
branch : HEAD |
ea9fd7f876643e985946a2563140359064819b8e |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Cleaned up save/copy code.
--HG--
branch : HEAD |
303079fb1b356981de656c9b3d419a925c6e70a3 |
|
09-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Small code cleanup.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
785d9cca224d33ca3938e9166784f6483e8a27d7 |
|
31-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added maildir_very_dirty_syncs setting.
--HG--
branch : HEAD |
bd4d0a1a7c0626452b8d82f37e3ec07267ac9896 |
|
06-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Mail copying API changed to be based on save API. This allows extending it easily in future.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
300baf826ba39003b861e7716c35bae372e6f23e |
|
11-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir/dbox: Try harder to assign unique UIDVALIDITY values to mailboxes.
--HG--
branch : HEAD |
e3aeeb634245e80d4f643f8d2eea11d6b72336d8 |
|
07-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
mailbox_save_init() API was split to multiple functions.
This allows adding more parameters easily in future.
--HG--
branch : HEAD |
cf942dce0253075911a96cff323b5f30eb654ae0 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
mailbox.save_init() API now takes ** pointer to dest_mail, so multiple
plugins can safely specify it. ctx->dest_mail also gets updated then.
--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 |
ce742bbf646d5cc46c6aff6d8da7786c13203f47 |
|
08-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Removed maildir_tmp_cleanup(). Use unlink_old_files() instead.
--HG--
branch : HEAD |
32ee977e189266744ef69ac4e832fd3111d6f949 |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Delay creating directories until we really need them.
--HG--
branch : HEAD |
47001341950b8588c5f3a96b75864dab48e279ae |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail_create_mode/gid from struct maildir_mailbox to struct mailbox.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
d3442384ca53d4b18a493db7dd0b000f470419cf |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mailbox list index sync stamp checking and updating to
storage-specific code.
--HG--
branch : HEAD |
f23ede27743c1aa03eacbfc634d6a10de9110c91 |
|
17-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved private_flags_mask to struct mailbox.
--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 |
6746e4ce2138872b2a1e05dbfab57a722e9d70b8 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved maildir_create_tmp() to maildir-save. It's the only place where it's
used.
--HG--
branch : HEAD |
e8bdf1be00aec45d0c6dd72ad9c8be02a3dfc778 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved maildir filename related functions to maildir-filename.c
--HG--
branch : HEAD |
4dec2a9f173755b475550f4af858bfe073e76518 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Changed *_transaction_created() to static.
--HG--
branch : HEAD |
2aa4a3f6a88a78cee512f636692fcf02680e4f32 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed unused macros
--HG--
branch : HEAD |
ccc895c0358108d2304239063e940b7d75f364ab |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed struct index_storage abstraction. It's pointless.
--HG--
branch : HEAD |
8e371a3ce32bd64288786855b8ce0cb63f19f7d1 |
|
29-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Better type safety to module_contexts arrays. Already fixed some bugs.
--HG--
branch : HEAD |
b039dabf4c53f72454e795930e7643b6e0e625f9 |
|
29-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Moved delete/rename operations to mailbox_list API. Fixed mbox/maildir to
work with either fs/maildir++ directory layout. They can be changed by
appending :LAYOUT=fs|maildir++ to mail_location.
--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 |
4673afe816ffbca769585e4518e9b3c3d72e95dd |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
If pop3_lock_session=yes, update maildir/dbox uidlist lock file every 10
seconds so it won't be treated as a stale lock.
--HG--
branch : HEAD |
8a6fc472a12c5ec09e2bd19f1b3acd553d75ff91 |
|
18-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Saved mails and dovecot-keywords file didn't set the group from
dovecot-shared file.
--HG--
branch : HEAD |
73a552a9ed06cd6017ad4ee4b252a8b38c8ac42d |
|
16-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
When opening maildir, check if tmp/'s atime is over 8h old. If it is, delete
old files in it. However if atime - ctime > 36h, it means there's nothing to
be deleted so the scanning isn't done then. We update atime if filesystem is
mounted with noatime.
--HG--
branch : HEAD |
0f506139b4c95589a09a81a5d51636aee994cd1e |
|
22-Dec-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added maildir_copy_preserve_filename setting.
--HG--
branch : HEAD |
70d4e9ae9c7efa5d06761d9cf109bb8f2c74f6ba |
|
17-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
maildir_file_do() takes uid, not seq..
--HG--
branch : HEAD |
00efa7d99981e18e286c02b18c1163dde18ee521 |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Type safe callbacks weren't as easy as I thought. Only callback(void
*context) can be handled generically. Others can be handled specially, but
only if all the parameters are pointers, otherwise eg. int parameter can be
replaced with long without compiler giving any warnings.
--HG--
branch : HEAD |
59151b71059df1190acd75d8717ed04a7920c862 |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added context parameter type safety checks for most callback APIs.
--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 |
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3 |
|
16-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Initial code for separation of mailbox accessing and directory layout
handling. It's not yet possible to change the default layouts though.
--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 |
d6badc27cd6e8d3398877b6766cb0aaeef3a7800 |
|
28-Jun-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Beginnings of joining mail-storage API more closely to mail-index, so that
mail-index could be directly used if needed. Currently only transactions
are joined.
--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 |
677e22747b82bf15b339e31d1d0106d62bf806da |
|
15-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Add ",S=size" to maildir filenames when quota plugin is loaded with
Maildir++ backend.
--HG--
branch : HEAD |
2ebeb22b9a8a8bb7fbe2f2e2908478a220792b87 |
|
09-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Changed mailbox_save_*() API a bit: Moved the struct mail *dest_mail to
save_init() instead of being in save_finish(). This way you can request
wanted fields from the mail while it's being saved.
With maildir the message is being parsed at the same time as it's being
saved, and the results are stored into cache file.
--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 |
8673d88275a64908ecc291440f4b001bd2a08949 |
|
31-Mar-2006 |
Timo Sirainen <tss@iki.fi> |
When deleting a maildir, rename it to ..DOVECOT-TRASHED, and assume only
that directory to be safe to be deleted, instead of all ..dirs. When
deleting maildir with absolute path, don't do renaming at all but delete it
directly.
--HG--
branch : HEAD |
b6a7e0a7899e7f5d60c23cdaa50e025e4c67d05f |
|
06-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Support accessing saved mails that haven't been committed yet (fixes quota for maildir).
--HG--
branch : HEAD |
721b683078dab7a46e2a42cfcb81c7d066b57dea |
|
06-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Merged save-copying and hardlink-copying code so that hardlink-copying updates indexes immediately.
--HG--
branch : HEAD |
4981827cb5e32cf767b7b0e3070137e6b36f42af |
|
22-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
mailbox_save_init() supports now returning failure. Quota plugin now checks
if mail is too large in mailbox_save_init() hook. APPEND fails before giving
"+ OK" reply if mailbox_save_init() failed.
Also fixed some APPEND failure cases where the next command was eaten away.
--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 |
e1ca7af110ea6eeb6303bdd8f07c172b11dff2fa |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
maildir_copy_with_hardlinks works again.
--HG--
branch : HEAD |
c13f3df87bc8ec1fb279fc0ffa6e8517f74dc07c |
|
06-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Added flags and keywords parameters to mailbox_copy() in case they're wanted
to be changed while copying.
--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 |
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 |
052e0c9dc04dcdc74e136d12c6d7dea2c635bf51 |
|
09-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Use macros when using W and S extras too.
--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 |
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 |
fdc557286bc9f92c5f3bb49096ff6e2bcec0ea79 |
|
15-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Major mail-storage API changes. It's now a bit cleaner and much more plugin
friendly. Removed proxy_mailbox* stuff, they were difficult to use and
there's now much easier way to replace them.
--HG--
branch : HEAD |
41e1c7380edda701719d8ce1fb4d465d2ec4c84d |
|
10-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Keyword fixes.
--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 |
e7f1eb4dced5cf8088757b2fdcaa5ead718d20fb |
|
19-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Warning fix for cygwin.
--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 |
39af8a9d9fb851739e56fea622786b78771d3fb1 |
|
17-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Unlock uidlist file only after appends are written to transaction log.
--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 |
b2c1349cf07410aefab0f5b17153af9e5cfcf48f |
|
29-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Added sync flags parameter to mailbox_transaction_commit(), so EXPUNGE can
do a full sync with dirty syncing enabled.
--HG--
branch : HEAD |
a423d985ba7261661475811c22b21b80ec765a71 |
|
21-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Changed mail saving API to be nonblocking.
--HG--
branch : HEAD |
84f80d9231b6ddc80ebfae425fd3674620fdf746 |
|
22-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Moved namespace and hierarchy separator handling to imap-specific code. LIST
now shows non-hidden namespaces in the LIST reply.
--HG--
branch : HEAD |
d756ebcfa96bd7cff02097c8f26df9df368b81b1 |
|
12-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Broke mailbox_sync() into iterator.
--HG--
branch : HEAD |
345212e8f61ebf14ff4f80df26df9e655eb5121e |
|
20-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
mailbox_save() and mailbox_copy() functions can now return the saved mail so
it can be immediately queried. Implemented UIDPLUS extension using it.
Maildir implementation missing, so it crashes with it for now.. APPEND with
mbox now doesn't require resyncing the mailbox since it updates indexes
directly.
--HG--
branch : HEAD |
a38ef15060e45e5060bb24c403a580b9a57a818c |
|
16-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
"readonly sync" -> "forced sync"
--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 |
d8b77aef97e89f1ccc5cbdaef77be9052279e35f |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
s/custom flags/keywords/
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |
b728c54e411fd1964195497572ab7066138206cb |
|
27-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Mail storages support now configurable namespace prefix and hierarchy
separator. Subscription file handling needs some more thought.
--HG--
branch : HEAD |
05ea76547573aec80f1b58654bce7b850dd99501 |
|
27-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change: Mailbox list sorting must now always done by storage itself if
it's needed.
Maildir listing rewritten.
--HG--
branch : HEAD |
dbb1fb1c51727e2050792f8c333b212e22a36d69 |
|
26-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change for expunging messages. Not exactly what I wanted, but good
enough.
--HG--
branch : HEAD |
dfbf03518468bee9a2ca54c104a9be71b38d4436 |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change for copying messages.
--HG--
branch : HEAD |
914e66bb9c50ec3e463d1514eaa04e25026457de |
|
09-Apr-2003 |
Timo Sirainen <tss@iki.fi> |
Rewritten maildir syncing. Uses dovecot-uidlist file to store UIDs
permanently.
--HG--
branch : HEAD |
2de9aa3c03938fc3112fbcb5d4089026549e5c6f |
|
19-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Include microseconds in maildir filename base.
--HG--
branch : HEAD |
b79fcd97b1ce9b413139f71170dc821d3ee3bdee |
|
19-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Rewrote LIST, LSUB and subscription file handling. LIST replies aren't
sorted anymore by default, it can be enabled with client_workarounds =
list-sort.
--HG--
branch : HEAD |
8ec4e32c9c886c777954c7b9d99fc5d9250b3805 |
|
22-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Support for MULTIAPPEND extension. COPY now behaves like spec says - if it
fails, none of the messages are copied. maildir_copy_with_hardlinks didn't
actually work.
--HG--
branch : HEAD |
5ce2084ada06ade9f44fc2914c34658e9a842dc1 |
|
20-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
mail-storage.h interface changes, affects pretty much everything.
FETCH, SEARCH, SORT and THREAD handling were pretty much moved from
lib-storage/ to imap/ so adding non-index storages would be much easier now.
Also POP3 server can now be easily implemented with lib-storage.
Not too well tested, and at least one major problem: partial fetching is
_slow_.
--HG--
branch : HEAD |
f923659c0e5298263d80622c99f4dc4132b4675b |
|
11-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming change for function typedefs.
--HG--
branch : HEAD |
c0435c854a0e7246373b9752d163095cc4fbe985 |
|
05-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
--HG--
branch : HEAD |
ecc81625167ed96c04c02aa190a1ea5baa65b474 |
|
06-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Renamed IBuffer and OBuffer to IStream and OStream which describes their
functionality better. I tried to keep the variable names and comments also
sensible.
--HG--
branch : HEAD |
201108608e6686d3e9dce9b95678a814122b6471 |
|
24-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
Fixes to timezone handling which were handling quite badly. added
ioloop_timezone which gets updated with ioloop_time. Changed some GMT
references to UTC. Timezone offsets are in minutes now everywhere instead of
seconds. Fixes for unsigned time_t.
--HG--
branch : HEAD |
a5a515ed977c15e61ffb293059e63659120af127 |
|
21-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
Hardlink COPYing still copied the file name instead of generating a new one,
which really broke things when mail was duplicated in the same mailbox.
--HG--
branch : HEAD |
10ffe25023df7de97803cd94cc3ad97ff1c986a7 |
|
19-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
MailStorage interface change. We now let storage call several sync-functions
whenever it wants instead of forcing it through sync() function.
This now allows us to send client FLAGS and PERMANENTFLAGS messages whenever
new custom flags are added. Also EXPUNGE command now goes nicely through
expunge() function (which CLOSE used) instead of through flag in sync().
"Out of disk space" alert is also sent now whenever it happens, before it
was sent only when opening mailbox.
Message set parser now complains when referencing mail sequences outside the
possible range. Modify log before sent flags/expunges changes to client even
if it didn't know about those messages yet. Also some other smaller
cleanups.
Beginnings of fixing APPEND and COPY when trying to store mails into
selected mailbox. Before this didn't work too well or simply broke things.
Still broken, needs a bit more changes..
--HG--
branch : HEAD |
b646fdb90f75ab80ea7feca42fa2e1f8e788b004 |
|
14-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
Split IOBuffer into mmaped IBuffer, file IBuffer, memory data IBuffer and
file OBuffer.
--HG--
branch : HEAD |
6697a923d6768bf8d71f87f80b90747cf6870753 |
|
08-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
move size_t fixes
--HG--
branch : HEAD |
1215bc4d7e747846f282cf710e61f3768e69238d |
|
22-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
s/user_data/context/ and some s/Data/Context/
--HG--
branch : HEAD |
66251e6ab31e5cc153fe5cae608e416dacafe9cd |
|
08-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Initial revision
--HG--
branch : HEAD |