01959a28a16bc5212f5492d61cf391de8729ef31 |
|
24-Jan-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Add and use MAIL_THREAD_CONTEXT_REQUIRE
Satisfies static analyzers |
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. |
0dab9cb35a976c49b28a11e28d5570f5191f1a7a |
|
22-Sep-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add reason to mailbox_transaction_begin()
Remove mailbox_transaction_set_reason(). |
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 |
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] |
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/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
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. |
f24202d1a342ac63fb8c28e6fa74e16d37f29ca3 |
|
12-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If dovecot.index.thread corruption is noticed, delete the file. |
72b3eaf5ed9b5abb410ed57e46370bcb750658bc |
|
11-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Improved error message in threading code's lost message-id. |
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. |
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. |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
e34d170f8f0e084bd94bfbc1a7085ece67e508df |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make sure we check all the functions' return values. Minor API changes to simplify this.
Checked using a patched clang that adds attribute(warn_unused_result) to all
functions. This commit fixes several error handling mistakes. |
8ba29b2d23453ee632efc721f3bf2e2433896296 |
|
11-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
045aa2f81225ceffbffe71a088dabb8881c65512 |
|
04-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed struct mail_private.extra_* fields.
There isn't much point in keeping them separated. |
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 |
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. |
fafe153465ebc59843de7894995021c5ee1e64f2 |
|
28-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Crashfix on thread handling. |
b2be59051b636ba1e3c9c96f9562aed9fef34ddc |
|
28-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Failures when building thread index were hidden. |
5fa6399cfdf74f19851fb28bd654b944a62c0b0c |
|
31-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Threading code uses now separate extra_wanted_headers also. |
7fc0f80480063a9d4cb9e8c07b50db2a5627799e |
|
22-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Fixing my english: s/non-?existing/nonexistent/ |
8bb360f9e5de1c25e4f875205bb06e8bf15dae14 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Removed dead code.
--HG--
branch : HEAD |
3b681900f0032ffe31e77f97f06ec3b65ef1b203 |
|
01-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Don't loop infinitely on deinit when INBOX was auto-created.
--HG--
branch : HEAD |
54e5dadb95d8b7ffce6b5a1f6dbba22044663451 |
|
20-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Thread strmap must not be opened before index is opened.
--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 |
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 |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
0c1ed553b9add66a85e908b0c783c1b0dee1e0fe |
|
17-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_index_opened hook renamed to mailbox_opened.
--HG--
branch : HEAD |
f3bb2fbe87425dc89a839908985af496f7f65702 |
|
18-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
mailbox_search_next*() API changed to return bool.
If search fails, it'll be noticed anyway by mailbox_search_deinit().
--HG--
branch : HEAD |
47e091e15b3d492d7e004cf2a8c5e7d06c7cfc1a |
|
08-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
IMAP: Fixed THREAD .. INTHREAD crashing. Also cleaned up the code a bit.
--HG--
branch : HEAD |
fde0b1793a2842da00eaa105d5e13fec465f0443 |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_bsearch*().
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
1375d15975f97aa90ee49738366baf3fa7b8972d |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved mail_thread_type_parse() to lib-storage.a to avoid some linking problems.
--HG--
branch : HEAD |
f83f83c21351c1e50eb533b7929fc715c59b5c6e |
|
17-May-2009 |
Timo Sirainen <tss@iki.fi> |
mail_thread_init(): Don't assert-crash when checking if we can use a cached thread tree.
--HG--
branch : HEAD |
a7386efde8d89b85aa6ee8b56a34a4ddf85e84be |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Renamed THREAD X-REFERENCES2 to THREAD REFS (from INTHREAD draft).
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
9f755a35f7db42df6d449e30a543d9ab51734585 |
|
13-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Check mail_set_uid() return value properly.
--HG--
branch : HEAD |
c3ec86f7244241a9a76160e99374bd9167c2c43b |
|
05-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
thread indexes: Removed debugging code.
--HG--
branch : HEAD |
adad8e33cc4cbf4c29a05d04af99d978ba30fa36 |
|
05-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
thread indexes: Forgot to commit strmap syncing in some situations.
--HG--
branch : HEAD |
b6dff2ba7a4640c1c4fa8fcad5602d236c31a2e4 |
|
05-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
strmap: Make sure the records array is always zero-terminated.
--HG--
branch : HEAD |
34c80f444aeee0fa752a06c7f8ed38226c0f5edb |
|
05-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
thread index fixes.
--HG--
branch : HEAD |
7300c253bdfce22ee5bd2be3024dd88fef4d0d55 |
|
01-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Thread index: Minor optimization.
--HG--
branch : HEAD |
9830e764ff6c7ae8686eed461db9e13e2434ba83 |
|
01-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Thread index bugfix.
--HG--
branch : HEAD |
a914bff43644dd9b3977244203839ca74161e40c |
|
01-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Rewrote thread indexing code. It's a lot simpler and takes less disk space.
We no longer try to keep a hash table and the entire thread tree stored on
disk. Instead we keep a simple Message-ID string (actually just "uid, ref#"
pointer) -> unique index number mapping on disk, read it to memory and use
it to build the thread tree. After the initial build the thread tree is
still updated incrementally.
--HG--
branch : HEAD |
f95b3d29bc56f139c18c880aa574a0ca72b0cffb |
|
19-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
struct mailbox_header_lookup_ctx can now be referenced/unreferenced so it
can be shared among multiple struct mails.
--HG--
branch : HEAD |
e9b6a9a490faf429900dd5f003152186910b0815 |
|
26-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Thread index fixes and optimizations.
--HG--
branch : HEAD |
35f9b910b8320881a94c3efbc7520133b64e25c6 |
|
26-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Threading: Fixed fallbacking to in-memory hash if the primary hash couldn't
be updated.
--HG--
branch : HEAD |
7725332a206824650d486f21cc3c62bad98e3be4 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Thread code cleanups + fixes
--HG--
branch : HEAD |
93589350cda01acdf41ac48ae746b22b3f0334ad |
|
12-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
threading left search parameters broken when returning.
--HG--
branch : HEAD |
b1fe44e6412bd8fb6f8fe974519e79d83644a05f |
|
12-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
thread indexes: Fixed infinite loop.
--HG--
branch : HEAD |
3517cb9bcf01610a9dfc9862a28414cc78b20dfb |
|
09-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Moved threading code to lib-storage.
--HG--
branch : HEAD |