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. |
0d1b8b6bec79746c5d89d57dd8c1688946bd9237 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on timeout_remove(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- timeout_remove(&E);
- }
+ timeout_remove(&E); |
b67974c4b89ab6950c2694cce8dfb1b6561cc084 |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert dbox-multi to use container_of |
7b15788793354ca0fd4fdb4dda8e426ca1e9e9d7 |
|
03-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: Use mail_index_header.last_temp_file_scan instead of directory's atime
This will be required for the following ITERINDEX change. |
50bf6cfe2aa6111fb38af37970f9551b2286638c |
|
28-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
sdbox: Don't create index directory when trying to open nonexistent mailboxes |
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 |
857c471c13ca215f4be9dd4b336b742b8d434e31 |
|
25-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_storage.list_index_corrupted()
The actual implementation is in the next commit. |
6d404348751c19ac37cfb42375abdd3c5f298e30 |
|
24-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Code cleanup - avoid passing NULL to functions with non-null parameter |
46e917c9fa05cbe7bddf805d3a9838b61e3960e1 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_namespace_get_driver_settings() and use it.
It obsoletes mail_storage_get_driver_settings(). |
5bcac2212ca86e72289faa7db2c509841fbdbd59 |
|
22-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: mailbox_update() shouldn't reset pop3-uidl header.
This broke reading migrated POP3 UIDLs. |
a956137aa86d16e5a90b9d4a9e69d3854d824380 |
|
13-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: Initialize pop3-uidl header on INBOX creation.
This way we don't add any UIDLs to dovecot.index.cache on the first POP3
UIDL access. We'll assume that pop3-uidl header is updated whenever any
backend UIDLs are added, which should happen nowadays. |
7279da2bd6f969071743fbb8b35b934215365833 |
|
03-Jun-2016 |
Baofeng <baofeng.wang@dovecot.com> |
storage: do NOT feed p_strconcat() with NULL.
p_strconcat will never take NULL as an valid argument.
So ns->list->set.alt_dir has to be checked NULL. |
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> |
48d8312488089dc1a8360991f0881d91095c21ea |
|
07-May-2014 |
Timo Sirainen <tss@iki.fi> |
mdbox: Fixed race condition when creating a new mailbox and another process getting its GUID. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
d6d4d8beede5f8efbba052c1e3e4f964ce489bd2 |
|
06-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
mdbox: Fixed race condition when mailbox GUID was looked up before mailbox create was finished. |
b90c23a9862b91594959b918b035d73f7bc0b265 |
|
29-Oct-2013 |
Timo Sirainen <tss@iki.fi> |
mdbox: Added "mdbox_deleted" storage, which can be used to access messages with refcount=0
For example:
doveadm import mdbox_deleted:~/mdbox "" mailbox inbox subject oops |
f605df8a4c15cc7a11e16fdde994d51473700890 |
|
20-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
dbox: Fixed "UIDVALIDITY=0" error race condition.
If session 1 had mkdir()ed but not yet created the initial index, while
session 2 attempted to open the mailbox, it would create an empty index and
log the error. |
a81f34a27b12cd11ebb68d58c255730e44b2ed68 |
|
18-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
mdbox: If mdbox header is corrupted, resize it to make sure its size is correct. |
737ddab12d0d1b2ba09a23eb4ff2cd6f6838f414 |
|
16-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
mdbox: Minor fix to handling corrupted mdbox header. |
d46a1e3f999dda802dc5137e883adcd7a6629cd3 |
|
12-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added MAIL_STORAGE_CLASS_FLAG_BINARY_DATA flag for classes. |
9865d9e7c5713e41db939222ed9c0225a11fb99e |
|
27-May-2013 |
Timo Sirainen <tss@iki.fi> |
dbox: Don't cache pop3.uidl|order unless index header indicates there are those.
They exist only when doing a migration, so it's pretty wasteful storing
"doesn't exist" for all other installations. |
9847ec56efa15fa063eea9988eee2d4ed9ec7d58 |
|
19-May-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_status.have_save_guids. |
8b31f966d9688e07672ef1958dcbdb7686523c04 |
|
10-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_status.have_guids flag |
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. |
f46885a5b78b15a8d2419f6e5d13b643bd85e41f |
|
04-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support for "private modseqs" for INDEXPVT index.
Used by dsync (next commit). |
1f1ee8db68d9ae1604350801cd8dc33ebe29fe8a |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed mail_storage_set_index_error() to mailbox_set_index_error() |
8c909e451d14075c05d90382cf8eebc4e354f569 |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced *_INDEX_PREFIX macros with a common MAIL_INDEX_PREFIX. |
62041dfb7d6ac6e9c633a557075999cdfcff7bd5 |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support to get/set/iterate mailbox attributes.
The attributes are stored in a dict specified by mail_attribute_dict
setting. The idea is to use this as storage for extensions that require
per-mailbox key=value pairs, such as METADATA. |
860e6dd603921f61b0cd53c1cc16e1d66d312699 |
|
31-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Don't crash when trying to detect public namespace's mail_location.
Public namespaces have no owner. |
9fc97c8aa8190df87624d214bcc5d0b5362bec93 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_path() and friends can now return an error.
An upcoming "index" mailbox_list backend uses mailbox GUIDs as the directory
names. Doing a name => GUID lookup may fail, so the path lookup may fail.
This is a somewhat annoying change and perhaps it can be removed in future,
but for now it looks like it can't be avoided. |
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 |
14e4afa9f52bc2150fe92b5cc737ad0354078391 |
|
15-May-2012 |
Timo Sirainen <tss@iki.fi> |
mdbox: mailbox_update() didn't look at the latest index data.
So setting min_next_uid, min_first_recent_uid or min_highest_modseq may have
actually shrank them. |
77df9a1e630760ac4a734f18dc4bbf06105600b5 |
|
22-May-2012 |
Timo Sirainen <tss@iki.fi> |
dbox: Don't reset index when mailbox_update() changes UIDVALIDITY. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
6469cf211a57433335641725dc236ebb2b9fdd3b |
|
30-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added struct mailbox.set_subscribed() virtual method. |
28c959a90483d00c36b7746bd630e76bf3ad0950 |
|
10-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
dsync: Update cache fields' decision and last_used fields explicitly.
This makes v2.1's dsync incompatible with v2.0's when used in different
servers. |
810321fb77c892476ae721afa0b4edcec33daf1f |
|
16-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Use namespace owner user's home dir for autodetection (for shared namespaces). |
13307d0b3f41c6d940ae263f4828cf557258f9b9 |
|
15-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
mdbox: Added support for autodetection of ~/mdbox/ as mdbox storage. |
206ed2f6fa3a6fb291498627b2da626581c07a18 |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_metadata() no longer always opens mailbox. |
de62ce819d59a529530da4b57be1b8d6dad13d6b |
|
25-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Moved GUID code to liblib. Use guid_128_t type consistently everywhere. |
b59960aed0923004f21f2a00bc1c945084d2f851 |
|
23-May-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Export a list of permanent flags via mailbox_status().
Removed mailbox_allow_new_keywords(), since it's now included in the status
structure. ACL plugin may limit what flags are permanent according to ACLs. |
af9edddbb704a640055898846add4e386e83fe43 |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_delete() now always first expunges all mails before trying deletion.
If any new mails are added during expunging, the mailbox deletion fails.
This behavior allows removing basically duplicated code where this is done
for mdbox, sdbox with external attachments, quota updates and lazy-expunge. |
1460ef7a18c53216ddb4a94bb62fba96076aae8e |
|
24-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved index_mailbox_context.save_*() methods to mailbox_vfuncs. |
ee9254cc7875519a9c71cc58a40610e6f320e907 |
|
16-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
dbox: Fixed crash on creation of a new mailbox.
Broken by recent changes. |
7d20b3ad93863c638f5929e38994da1fc6a529b9 |
|
16-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mailbox_update() assert check from mdbox to common, plus fixed it. |
29337701451b9c9f9dd26b2aec23a31ab5203822 |
|
16-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added min_first_recent_uid to struct mailbox_update.
Implemented for dbox. Maildir/mbox needs some more code to make this work
correctly. |
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. |
c0d069950af1dbc6a4e5c3de3bf2e437796e3ae0 |
|
09-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Return STATUS replies from mailbox list index only when it's fully up-to-date. |
5e042146db1be673352b63c9513d5ff1e968b388 |
|
23-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
dbox: mailbox_create/update() might not have updated index header correctly. |
84e49ad7d7a840d600a961daeca60802e3d69cd0 |
|
23-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
dbox: mailbox_create/update() might not have updated index header correctly. |
c0a87e5f3316a57e6f915882fa1951d0fbb74a61 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes.
All storage_name <-> vname conversions now go through the same two
mailbox_list methods. This has many benefits, such as:
* listescape plugin is now much simpler and bugfree
* allows changing lib-storage API to use UTF-8 mailbox names in future
* allows creation of "mailbox aliases" plugin |
306cfd77100131c08b243de10f6d40500f4c27c6 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists(). |
51327f2489a4e0e615eb9f7d921473cf8512bb79 |
|
01-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved some items from mailbox_get_status() to a new mailbox_get_metadata().
The idea is now that all status items are tracked all the time after mailbox
is opened and they can always be looked up without failure. The metadata
items are looked up lazily and the lookups may fail at any time.
mailbox_get_status() can be used after mailbox_alloc() to indicate that the
mailbox doesn't necessarily have to be opened, just that the status fields
get returned.
If mailbox is already known to be open, mailbox_get_open_status() can be
used. It never fails. |
b62140c5849297a800fee942026d9c3cb8c60206 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mailbox.save_is_attachment() to mail_save_context.part_is_attachment() |
a4f09749814b93e8ad3ec8a0dc18885b874d6f8c |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Unvirtualized mailbox_header_lookup_*() |
dbe64f3893616a4005c8946be75d2dc8f6823d72 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Unvirtualized some methods from struct mailbox.
There was never any point in overriding or hooking into them. |
499fec3443374cc89fb8c83b8027c1614097d7a3 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
Moved fts/virtual plugin communication functions away from lib-storage. |
4182d8cd818e76856a5a1e25b343fe5ddf69fd8e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Simplified mailbox_keyword*() APIs.
They are no longer struct mailbox methods, because they're always implemented
as being wrappers to lib-index APIs anyway.
Also mailbox_keywords_ref/unref() no longer take mailbox parameter. |
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. |
df00412606a00714a6e85383fa87fbdc7cc1fb5b |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Don't allocate index until mailbox_open() |
ca98892a6b8a30ffc1fe26fcf02c7d59e3204e7e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them. |
f6aaada6101dd43cd80fe965ff1ab9bfaf776252 |
|
20-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Added mdbox_preallocate_space setting to preallocate size for newly created files. |
b9f564d00b7a115f465ffd6840341c7b8f9bfc8a |
|
19-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support for saving mail attachments separately via filesystem API.
Currently this works only with sdbox and mdbox backends. |
fd420c6457badf0af1a6fc4d8f2189365eb60934 |
|
24-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Removed unused code. |
02d72ab3d606033e9a720274ddc3dd83a0ad070d |
|
20-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: If :INDEX=path is specified, keep storage indexes there also. |
fa7c76955c6bc62689fbdf39318194f85905e6e2 |
|
02-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: When mailbox_update() sets highest-modseq, make sure modseqs are enabled.
--HG--
branch : HEAD |
57bf90f66f393c2807b2fc543655013f61d1d9e4 |
|
28-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
[m]dbox: If alt-dir exists for a mailbox while trying to create it, rebuild mailbox indexes.
This makes sure that if there are any mails in the alt-dir, they become
visible rather than be overwritten.
--HG--
branch : HEAD |
08a8b3de61139ba02371afc8240ac85be0e8b17c |
|
28-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Modified map locking behavior to avoid deadlocks when rebuilding storage.
If both mailbox and map index need to be locked, the map index must now be
locked first. Mailbox syncing optimistically tries to first sync without
map locking, but if it sees expunges, it restarts with the map lock.
The map lock is held now slightly longer during sync than before, but it
shouldn't be noticeable.
--HG--
branch : HEAD |
b780aa272b742a43579cdb523cc79cc8d4521306 |
|
25-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Renamed fsync_disable to mail_fsync=optimized|always|never.
--HG--
branch : HEAD |
dd4f30895ebbddd77e000472fbadcb3128ae2883 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
dbox, mdbox: Fixed race conditions when creating mailboxes.
--HG--
branch : HEAD |
7a7d2aa11e46195e2d92d6c337d7e78052a5ce67 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Avoid including mailbox-list-private.h everywhere.
--HG--
branch : HEAD |
c18ff860dc22960fd37c272d929f889c7939a2c8 |
|
29-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Renamed dbox_map* to mdbox_map*.
--HG--
branch : HEAD |
ddb018bc886680f462463b2c87f983fdedbf6cf0 |
|
29-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Changed error messages to contain "mdbox" prefix instead of "dbox".
--HG--
branch : HEAD |
5b62dea2f88165f3f4d87bba9011343f3ff415ff |
|
29-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Avoid rebuilding storage if another process already did it.
--HG--
branch : HEAD |
d646a63462a696824b1facd73e00732d4ac0f3dc |
|
20-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Purge crashed if it purged all messages from a file.
--HG--
branch : HEAD |
5fb3f13537dffd15a31e997da133a721c0728af8 |
|
20-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Moving messages to alt storage is done done with doveadm altmove command.
The command can take an arbitrary search query listing what messages should
exist in alt storage. If the message has been copied to multiple mailboxes,
the search query must match all the instances of the message.
Since the search query can now be specified in command line, mdbox_altmove
setting was also removed.
--HG--
branch : HEAD |
73a87c2ff65c6116cde6fb158dfddb8ef7346901 |
|
19-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Optimization: Don't update map UIDs' refcounts via array when it's not necessary.
--HG--
branch : HEAD |
bca919b207e27d0d08b431bdb0f2ac099ef8b512 |
|
12-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: Use flock() for file locking if possible. If not, require client_limit=1.
Maybe some day dbox code can be redesigned in a way that allows it to work
with fcntl() locking too.
--HG--
branch : HEAD |
bc3edce7712c3a912811bb1189b67765a9080373 |
|
10-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Purging shouldn't give "unknown error" if mdbox storage doesn't exist.
--HG--
branch : HEAD |
1dd054126238349e1a7d3d1ffe7f8bc5fdbacb7a |
|
23-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Do delayed storage rebuild when closing mailbox.
Doing it on storage destroy causes problems.
--HG--
branch : HEAD |
f242fa00989e452ecffba917f20f885f509d0f8f |
|
09-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix.
--HG--
branch : HEAD |
04c3ac276103b56185119bcff9a66de7a8bb0e68 |
|
08-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Removed mdbox_max_open_files setting.
It's now hard coded to 2, and the files are closed after 30 seconds of being
unused.
--HG--
branch : HEAD |
a46d8b27aa617c79f51dd8dfb363f5b3518b63e4 |
|
22-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: mailbox_update() ignored cache_fields.
--HG--
branch : HEAD |
46219292a55094fa49aae33eee681ed075d30e17 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
mailbox_update(): Updating uid_validity requires also reseting index.
--HG--
branch : HEAD |
3b32bc12710240f86465a00fbb2bd1ef030e6c40 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Increased initial mailbox pool sizes.
--HG--
branch : HEAD |
438f12d7a776da695019114884b48188d94613ef |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Use a default non-NULL mailbox.free() so plugins don't have to check for it.
--HG--
branch : HEAD |
e03d986a74128f5ba30fcfda9f6e36578f5d8dec |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox.free() method. Use it instead of close() where necessary.
--HG--
branch : HEAD |
dca6d617a23e3f93af3b8df59acb46478179fe55 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_list.iter_is_mailbox() API.
--HG--
branch : HEAD |
2649b237dd4690575e75a30b2bf3b39ebd37b835 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox renaming API changed.
--HG--
branch : HEAD |
e5fd6dfd0a492e4708d4dbb7971d7fc5d7b8fd85 |
|
12-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed input parameter from mailbox_alloc(), added mailbox_open_stream()
--HG--
branch : HEAD |
fbd918f47f591f8084fd52b207ef29515ddd11b9 |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: STATUS_GUID moved to mailbox_get_guid() that can fail.
--HG--
branch : HEAD |
4c1deab456fe8877bf025d11843167ac1f36327a |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Increased initial memory pool sizes.
--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 |
e10d8b1291090c26b9ef499637e6e632485ca5be |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Split mailbox_close() and mailbox_free() functionality.
--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 |
ac26a4607cb12b156f6a42f1ead2881bedd43d94 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index lookup cache from lib-storage to lib-index.
Removed some code duplication as a result.
--HG--
branch : HEAD |
888ab4e17f7441b4dcca4a01886d055b57f4586d |
|
06-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: Moved more mailbox creation code to dbox-common.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
6d2c938f017a2fc55ae476f88839f03a3d3c5fbd |
|
18-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
mdbox: mailbox_update() was updating uidvalidity to random values.
--HG--
branch : HEAD |
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9 |
|
07-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Split dbox (single-dbox) and mdbox (multi-dbox) into separate storage backends.
This cleans up the code, makes it faster and also fixes some bugs.
Super-fast maildir migration code was also dropped, at least for now.
--HG--
branch : HEAD |