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. |
df3963075d67f76ade66b6a74764f4eae31d9c87 |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert dbox-single to use container_of |
804fa3f03bd9170272168a5ad214053bbe3160c7 |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert dbox-common 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 |
c72fbbe6328ceb0919b5146ecd43817dc294c314 |
|
07-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
sdbox: Fix assert-crash on mailbox create race
If another process created the mailbox at the same time, the mailbox_guid
wasn't set and opening the mailbox assert-crashed:
Panic: file mail-storage.c: line 1744 (mailbox_get_metadata): assertion failed: ((items & MAILBOX_METADATA_GUID) == 0 || !guid_128_is_empty(metadata_r->guid)) |
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. |
08e9fd42eb8007e1f9db62c088eef74f906114a5 |
|
22-Nov-2016 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: require MAIL_STORAGE_CLASS_FLAG_STUBS when caching
If we are going to be using the storage for caching, we should check that
the storage actually supports mail stubs. |
5b45af6a8881270e567fe11fe9e8e167b2a2d96b |
|
16-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
sdbox: Removed duplicated code. |
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. |
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> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
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. |
1127f3e1ad7135b6ee5d5e13f8fd1e72f85a76f8 |
|
18-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
sdbox: If sdbox header is corrupted, resize it to make sure its size is correct. |
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). |
c6227d7ecc972b6c58602d78602210f75190ae3f |
|
26-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Verify that mail_attachment_fs backend supports RENAME property.
This isn't needed by mdbox. |
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. |
c94d8d6cd2f9e0b38f95e03b9ccfbf2ce5ca386b |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Class didn't have MAIL_STORAGE_CLASS_FLAG_FILE_PER_MSG set
This currently only meant that mail_prefetch_count setting wasn't working. |
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 |
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. |
6b8043a4d96d696a6b65ebe9ae4f56fbec638348 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Fixed sdbox_read_header() randomly failing. |
607a8bc27298b711270381364f2a9a999a810a87 |
|
08-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Use mail_index_set_ext_init_data() to simplify opening mailboxes.
Now the initial mailbox index can be created with the necessary sdbox
header. If the header doesn't exist when opening a mailbox, it's guaranteed
to be corrupted. |
b18b7c9b35a2f66a63c364c11ce4045bec6b8de9 |
|
06-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Fix a corrupted mailbox when opening it, instead of losing all of its contents. |
6469cf211a57433335641725dc236ebb2b9fdd3b |
|
30-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added struct mailbox.set_subscribed() virtual method. |
eadbca0f2b78fcc36332678fee9ee08003df63de |
|
19-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
sdbox: Added support for autodetection. |
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. |
206ed2f6fa3a6fb291498627b2da626581c07a18 |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_metadata() no longer always opens mailbox. |
9e17ea6a30bc64ba2fd4417a765d02be529630f1 |
|
08-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor error handling cleanups. |
a290ae22e1dda492364303ad6af18c3b85fb8441 |
|
08-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor error handling cleanups. |
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. |
7e1b549a1d841e59faad16430cbd1d56317db8af |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
sdbox: In-memory mailbox GUID differed from on-index GUID after mailbox_create(). |
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. |
0a7b04ec6441fdcf083392888b2e30844fc3e86d |
|
12-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
sdbox: If message file is unexpectedly lost, rebuild index. |
e15b305e90c9834734ccf35ed78f0ad29d570ee9 |
|
31-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Search supports now prefetching data for returned mails. Dropped imapc's own prefetching.
mail_prefetch_count specifies how many mails can be kept open and issue a
prefetch.
This works using posix_fadvise(POSIX_FADV_WILLNEED) for maildir, sdbox and
cydir backends. Apparently only Linux supports this.
imapc backend also implements this internally by sending wanted IMAP
commands to remote server. The command pipelining helps with latency. This
change also makes it actually possible for imapc backend to first check if
wanted data is already cached in local index and avoid sending unnecessary
IMAP commands to remote server. |
eef4ba0cc3e78f8c26804c1c9251a76580a41f0c |
|
29-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_search_*() API to return pointer struct mail.
This reduces the flexibility, because now different mailbox_search_next()
calls can't have different mail parameters with possibly different
wanted_fields settings. This flexibility was never used though, and removing
it gives a couple of benefits:
* it's now easier for backends to implement prefetch and parallel search
* usage is easier since mail_alloc()/mail_free() is no longer needed |
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. |
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. |
7baab0b0b60df7ce9093d0881cd322dff1e79491 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
sdbox: Fixed creating mailbox with given GUID. |
1c288c40f4dce2e43daa6bc33b96f1618c94119a |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
sdbox: Fixed creating mailbox with given GUID. |
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. |
e22ac7474fb36e3e3dcfeb70ea5f54ea812aa2d0 |
|
15-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Fixed race condition when one session opens a mailbox while another is still creating it.
This happened mostly when nonexistent INBOX was being opened by multiple
sessions at the same time. |
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. |
afa201e7e1d2447e8dfa1aff43de0fdad564105f |
|
24-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Use "sdbox" name in the internal storage structure.
This fixes copying with hard links. |
4c51dc7df5256942f023947489fe085bc1b73951 |
|
15-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Removed flock() check. It's not used by sdbox. |
2b9e49e4e65e3e2dca38f56971029a3051ccdb99 |
|
14-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Renamed "dbox" to "sdbox". Keep also dbox as an alias for it. |
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 |
e5fb952c6d49d3b6bff1746551566202e92947da |
|
29-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
single-dbox: Fixed broken mailbox handling.
--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 |
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 |
5b62dea2f88165f3f4d87bba9011343f3ff415ff |
|
29-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Avoid rebuilding storage if another process already did it.
--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 |
4b2a4c8c762e3eaddf7fd2abfe7d4cca6e5e3fd8 |
|
04-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Avoid logging multiple adjacent "Invalid dbox header size" errors.
--HG--
branch : HEAD |
547e916f4e6f01af682f8b6e032c337f2a699364 |
|
04-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: mailbox_update() could have changed UIDVALIDITY incorrectly.
--HG--
branch : HEAD |
5539418f448cd9bb38fc085e654861479dd1130b |
|
22-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: 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 |
686bc4ea97a86333316182865be3fcfe465a5827 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Fixed accessing alt directories.
--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 |
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 |
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 |
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 |