bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
47a5a7e8296f3b8f2fac9a0659d4de3f2723ba4a |
|
06-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use PRI* macros and %zu instead of casting |
0dab9cb35a976c49b28a11e28d5570f5191f1a7a |
|
22-Sep-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add reason to mailbox_transaction_begin()
Remove mailbox_transaction_set_reason(). |
08406452bf0deae412437463618ed3f870ed03d5 |
|
20-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Move struct client_sync_context to imap-sync-private.h and add imap_ prefix |
d64280bc41338078701e79aefaab3169686b683d |
|
27-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Allow plugins to hook into syncing.
Ideally all of the existing pieces in the syncing code would start using
this at some point, so their code could be moved to a more logical location. |
55d35a8b8036093b94fb1bb0f0339fc43fad52e1 |
|
27-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Move struct imap_sync_context to imap-sync-private.h |
cddfd1355db6b60c71d7ee3c0b4f23b3efcc9ad1 |
|
03-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Add mailbox_transaction_set_reason() calls
Added to the most important places. |
567b56c2d6a1063cad997c956f3ed1d9d735f14e |
|
19-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Code cleanup - move command stats to struct client_command_stats |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
505561860cdfee4eac51469fd27a59983ef72e8e |
|
04-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: If mailbox is inconsistent after syncing, don't try to sync message counts.
This fixes (e.g. after doveadm force-resync):
Panic: Message count decreased |
23bdbb7b1831785c6ba6df190f6369da882d2b9d |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Require comparisons to be strict boolean expressions
* No implicit integer -> boolean or pointer -> boolean conversions
* !expr can be used only if expr is boolean type
These were checked with a patched clang. It found various actual bugs,
which were fixed by the previous commits. |
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] |
5ceeb24b0d12e3368a78e17ce4b14d1c900fb223 |
|
17-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Include sync timing information in tagged command replies.
Show it only when it's larger than 0 to avoid unnecessary output. |
89b3a53140d31bfa0f34378bf7ee1f52da954961 |
|
06-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Avoid assert-crash after a failed mailbox sync.
We didn't close the mailbox and we didn't update message counts, so we could
have crashed with:
Panic: Message count decreased |
362db49a9acfb297266cb9a09600689dcffce3cc |
|
04-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Set client_command_context.tagline_reply before syncing.
Command post-hooks can't see it otherwise. |
71caf493c651b8eab5adb170db0237f293928e92 |
|
01-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Removed now-unused cmd_sync_callback(), which doesn't work very well.
See commit message in b7b25e0 for more details. |
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> |
45c763dbebee268eda4a1e8bcc1ff82606b5ed0d |
|
23-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
imap: Don't send MODSEQ in untagged FETCH reply if IMAP client didn't enable CONDSTORE/QRESYNC.
We should have been checking client->enabled_features, not
mailbox_get_enabled_features(). The former contains the features enabled by
the IMAP client, while the latter contains also some automatically added
features. |
ba5c8b0ae7460752adaf911901bf263788f62c72 |
|
27-May-2014 |
Phil Carmody <phil@dovecot.fi> |
various - trivial NULL-related sparse cleanups
These zero-alikes are all pointers, so should explicitly be NULL.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
59714981ae172b5113be7ca9b8be518b759fc86d |
|
19-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
imap: if mailbox has non-permanent modseqs, never send HIGHESTMODSEQ/MODSEQs. |
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. |
270f00aeab7bede38764291e21a314211b884ab4 |
|
06-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Various fixes for handling expunges in mailbox sync. |
591cdcb3a9b345c916c6bfb9348d810d6512f64a |
|
06-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Avoid sending multiple unnecessary VANISHED lines when sync had lots of changes. |
7891195e3975d554df183670dba1fcecfa0a30c3 |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Commit temporary mail's transaction before finishing sync.
Fixes assert-crash with mailbox list indexes. |
686ad6d723004b807fd558f3ef9d1f88afa7e127 |
|
24-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Use imap_append_*string() instead of imap_quote_append*() where possible.
This makes it clearer what types of output should be sent. |
24491cfd5ea07fa30c11ae8d84e8841865aefcc8 |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Removed unnecessary code. |
5a7acd67806132cbc1ec9578df60d712d307e4be |
|
21-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Fixed command output locking. |
51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4 |
|
13-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Implemented NOTIFY extension.
Requires mailbox_list_index=yes to work (and to show up in capabilities).
SubscriptionChange event is still unimplemented. |
85ee28daca146e18a99a22f46c0d639e57a6ac95 |
|
13-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Code cleanup |
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. |
e2a88d59c0d47d63ce1ad5b1fd95e487124a3fd4 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added o_stream_nsend*() and related functions to make delayed error handling safer.
Once o_stream_nsend*() is called, o_stream_nfinish() must be called before
stream is destroyed to finish checking if there were any errors. If
something failed and the stream is just wanted to be closed,
o_stream_ignore_last_errors() can be called.
For streams where errors don't really make any difference (network sockets)
you can call o_stream_set_no_error_handling() immediately after creating the
stream. |
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 |
35283613d4c04ce18836e9fc431582c87b3710a0 |
|
26-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Changes to make static analyzer happier. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
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. |
d2470b3dfe91ca07459185384ee25080b42a1636 |
|
24-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
Avoid unnecessary data stack leaks. |
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. |
d3280fe317a4598c0868cc440e7a1191c06d0db3 |
|
29-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_status() can now fail.
It might have failed earlier also, but the errors were hidden from caller. |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
2584e86cc2d8c31ba30a4109cf4ba09d1e37e28a |
|
17-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_sync() and mailbox_sync_deinit() APIs.
Although we're already in beta stage, this is simple enough of a change that
it shouldn't matter much. Having syncing also return status information made
the API ugly and the status information wasn't even wanted all that often.
--HG--
branch : HEAD |
2372e16bfae0a245bfde6e908cde0919aa11ee0b |
|
17-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MAILBOX_SYNC_AUTO_STOP sync flag. It wasn't used anywhere.
--HG--
branch : HEAD |
7bd72e4deca3cbf757dd1ea298486d9f3bc24226 |
|
02-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach() more.
--HG--
branch : HEAD |
a8284e999d091cd29210fa75ecdc8076376a7345 |
|
16-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Moved imap/pop3_client_workarounds setting parsing to config checking.
--HG--
branch : HEAD |
2d9644d34a78b24dc7769cd96497e700a0fb1cf1 |
|
06-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
imap: Some text is required after resp-text-codes (HIGHESTMODSEQ/CLOSED).
--HG--
branch : HEAD |
07974f50bd55b06fd6d465f2c0e491794786e2fa |
|
15-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
IMAP: When QRESYNC is enabled, don't crash when a new mail is received while IDLEing.
--HG--
branch : HEAD |
5735ada0f82788ee1b5228978d5bd8dad5a04219 |
|
16-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
IMAP: Don't crash if IDLE command is pipelined after a long-running UID FETCH or UID SEARCH.
--HG--
branch : HEAD |
0b7651dc6ad21cce8579b5957252ae0daf972668 |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
imap: Don't cancel sync if client disconnects in the middle.
Fixes "Message count decreased" errors.
--HG--
branch : HEAD |
08d6658a4e2ec8104cd1307f6baa75fdb07a24f8 |
|
05-May-2009 |
Mark Washenberger <none@none> |
Renamed headers to prevent collision if they were flattened on an install.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
3398d5e2b883812de5d569721c8294b581e1d9e6 |
|
20-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Don't drop useless namespaces automatically while creating a new one.
It may free namespaces that are still being used elsewhere. Rather do it
explicitly at the beginning of each mailbox sync.
--HG--
branch : HEAD |
6384258c2f84e635d8ceffc3eeddad71f7538040 |
|
15-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
FETCH MODSEQ (n) was missing parenthesis.
--HG--
branch : HEAD |
c8625391da3ee51b31e69b88895708a3d149dd1b |
|
17-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
QRESYNC: We could have sent VANISHED with UID 0.
--HG--
branch : HEAD |
f2bd9e507b8befdd95a983f86664febf5c19bd95 |
|
12-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
CONTEXT=SEARCH: Removed extra ')' from ESEARCH replies.
--HG--
branch : HEAD |
28cd2599128e102198758cf6080588305feb6bcd |
|
11-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
QRESYNC: Send HIGHESTMODSEQ automatically in all tagged replies whenever it
seems useful.
--HG--
branch : HEAD |
17da42c31202b1b3e7e308121ea17d922c24da1b |
|
11-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
QRESYNC: If MODSEQs were returned in FETCH replies but there are pending
expunges, send a low enough HIGHESTMODSEQ reply to make sure the client will
later see the expunges.
--HG--
branch : HEAD |
06e72c658de3ce1252594b151313df90acf73271 |
|
11-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
QRESYNC: Always send UID in FETCH sync replies.
--HG--
branch : HEAD |
5afa8e2edf4f313cd56e5909f92f39c3b5b7b4d3 |
|
07-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed mailbox_get_uids() to mailbox_get_seq_range().
--HG--
branch : HEAD |
303a87c31cb4aa198326694e231df53a043e63c7 |
|
05-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
CONTEXT=SEARCH: ADDTO and REMOVEFROM can be sent in same ESEARCH reply.
--HG--
branch : HEAD |
3dd0679b6f24be0287cc42d7a60bbf59cdf8b637 |
|
05-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Implemented CONTEXT=SEARCH extension.
--HG--
branch : HEAD |
f5a24412980cb19b07cb0cd12dba75886f281875 |
|
01-Apr-2008 |
Timo Sirainen <tss@iki.fi> |
Memory leak fix by Diego Liziero
--HG--
branch : HEAD |
1939d1843ee6c7ca5e5baa3967b0332341440005 |
|
20-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Try to send tagged replies in the same order as the commands were received
(fixes Apple Mail bug).
--HG--
branch : HEAD |
3419b088ffe531799bdb47b3ff3fce85c8b7569a |
|
20-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Don't access freed memory.
--HG--
branch : HEAD |
2d340205d897e23fbecb40c8e63a4ca49bd6739b |
|
20-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
client_command_free()/cancel(): Take pointer-to-pointer parameter and set it
to NULL to make sure it's not accessed again.
--HG--
branch : HEAD |
279b22f320f6139da5c1b0e2a5ead6692e7db947 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
If sync queue has commands that don't allow EXPUNGEs and also commands that
do allow them, sync first the ones that don't allow EXPUNGEs, otherwise we
could send untagged EXPUNGEs before e.g. tagged FETCH reply.
--HG--
branch : HEAD |
e30e068c8fac372ae217b3b31791a0c8c8046b7f |
|
16-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
EXPUNGE: Send HIGHESTMODSEQ only if something was actually expunged.
--HG--
branch : HEAD |
923eb3dde28e4d8841c14fd6b4a69635b7070c3e |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Added QRESYNC support.
--HG--
branch : HEAD |
a2f250a332dfc1e6cd4ffd196c621eb9dbf7b8a1 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Initial CONDSTORE support.
--HG--
branch : HEAD |
ccd83028a34cc6e2b6370eb7ecf1cf25e717c2d3 |
|
05-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Syncing supports now calling a callback after sync instead of just sending a
tagged reply. Use it with EXPUNGE to retry EXPUNGE in case the syncing had
seen new \Deleted flags (Outlook workaround).
--HG--
branch : HEAD |
c96eb61168670cfdd7596baba18856d3f086a093 |
|
25-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
When pipelining commands, delay synchronizations so that only one combined
sync is performed for all the commands. This improves performance as well as
fixes some problems with the earlier method.
--HG--
branch : HEAD |
5ee58e8be70daf745534310298362fd4186d7db7 |
|
12-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Added "command state" for running commands. Use it instead of some bitfields
to test for the current state.
--HG--
branch : HEAD |
389e0ad41d4dd6acf50f855ecd5f0651082c9f31 |
|
06-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
When syncing a mailbox, sync the view internally first completely and just
get a list of messages that have changed. Then just have mailbox_sync_next()
return flag updates from that list. This avoids duplicate notifications and
also fixes some bugs in previous implementation.
MAILBOX_SYNC_TYPE_KEYWORDS no longer exists, keyword changes are included in
MAILBOX_SYNC_TYPE_FLAGS.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
8039af9679af6fb56116b353fe44f7dd4c08f031 |
|
29-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
FLAGS/PERMENENTFLAGS weren't always sent to client early enough. Also
optimized sending keywords with FETCH FLAGS.
--HG--
branch : HEAD |
17b03c9db961e1c004284907d969eb11b08a795e |
|
29-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Removed debugging code.
--HG--
branch : HEAD |
a4bc2c3962b94f83c7bb7bebe7af364f4dee7883 |
|
09-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
mail_get_keyword_indexes() can be used more efficiently to get the keywords
list. Use it. Also make sure that if a new keyword is seen, it's sent to
client first with FLAGS/PERMEANENTFLAGS reply.
--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 |
63f36c2b47217fc2dc4ed49cfc1907311d5ed366 |
|
30-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_transaction_commit*() doesn't sync the mailbox anymore, so it
shouldn't take mailbox_sync_flags parameter either.
--HG--
branch : HEAD |
95fc1b20001e20cdad2431ee5996bd48b4ea97d6 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Use mailbox_sync() instead of our own implementation.
--HG--
branch : HEAD |
ca9b4bd99287f7aef3065c9973f8d440bf5bbbc5 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Make sure we do a mailbox sync after flag updates (STORE, FETCH). Also added
a new IMAP_SYNC_FLAG_SAFE which is used to figure out if appends and
expunges are safe to send to client when delay-newmail workaround is
enabled.
--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 |
10cfe8a2bdc5ccfc05380689c71c27209327538f |
|
08-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed infinite loop if a transaction was seen for messages that weren't
visible in this session yet.
--HG--
branch : HEAD |
c979eeda1f46483d9c963e265786b701d7683d77 |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_view_sync_next() and mailbox_sync_next() returns now bool.
Renamed void mailbox_index_view_sync_end() to int
mailbox_index_view_sync_commit().
--HG--
branch : HEAD |
73b50eecfc31750a312e2f940023f522eb07178c |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_lookup*() can't fail anymore. Changed several APIs not to return
failure anymore.
--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 |
c6ae908f6a2313573625d782bdd4e0ff3882c44a |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
cleanup: s/fname/path/
--HG--
branch : HEAD |
bd74402ca1a39ec303075fefb1212d7e18a71531 |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Disconnect client if UIDVALIDITY changes.
--HG--
branch : HEAD |
edf8c2b4ef6be8af262bc09aac751eae669670ca |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling command ambiguity. Don't allow any commands that handle
messages be run while mailbox is being synced.
--HG--
branch : HEAD |
ef11d3930c3602fc86349a4e3a53442df470b601 |
|
17-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed last change
--HG--
branch : HEAD |
150e64c376365becf1ec5c9d45912ecb840eea96 |
|
17-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Handle delay-newmail workaround completely in the IMAP code.
--HG--
branch : HEAD |
ccb77e2f63626ec46e5745ef4f38baa8e8e504fc |
|
26-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Cleanups and minor fixes
--HG--
branch : HEAD |
42507d758b053bb483de58fba55c73a9eb5d3fba |
|
20-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Dovecot is now able to execute multiple commands at the same time.
Practically this means commands: FETCH, LIST, SEARCH and syncing output for
all commands. For example it's possible that doing two FETCH commands at the
same time makes their output mixed together.
Non-blocking SEARCH is done by doing search for 20 mails at a time, and then
checking if another command is pending.
Also added X-CANCEL <tag> command to cancel running commands.
--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 |
d42c9a8f362b76740418c4f9f9441eb7fc661e57 |
|
20-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Update message_count only after expunge sends are finished or we'll get to
infinite loop (broken in last commit).
--HG--
branch : HEAD |
a54be2bd26d6f0860d194d3aeedfa6b7fc14d24c |
|
13-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Don't notify client about changes in messages it hasn't yet even been
notified about.
--HG--
branch : HEAD |
3290cc5e5c5d578241ba2290083dbc4a0fa98903 |
|
29-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
And the final fix for APPEND hangs ;)
--HG--
branch : HEAD |
c192dcde7262ebca106f7c2996be37b43baabc2a |
|
29-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
And one more fix for append hang..
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--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 |
39e6fcc3e8b1ccb13087c232cb6bdea04d1a20a4 |
|
25-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
UID STORE command must return UID parameter in FETCH replies.
--HG--
branch : HEAD |
88286b0527bcc0711e312e9db65ca121a45213e3 |
|
15-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
When output buffer got full while sending syncing changes, we sent the last
change twice to client. This was bad if extra EXPUNGEs got sent..
--HG--
branch : HEAD |
bc3698b8892df8003b410daea6f5bbcd20433808 |
|
23-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Send untagged FLAGS / PERMANENTFLAGS replies if keywords list changed.
--HG--
branch : HEAD |
18634dae6e304bac982bb1e0ff1b6b88fc448dbc |
|
08-May-2005 |
Timo Sirainen <tss@iki.fi> |
Removed SYNC_FAST_FLAG from EXPUNGE command. Changed delay-newmail
workaround to also delay EXPUNGE notifications, otherwise things break.
Changed index to force this with assert.
--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 |
294f1a51763015cda0e2d874c5027d6fe7a2cd54 |
|
14-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Renamed oe6-fetch-no-newmail workaround to delay-newmail and changed it to
work more like the name says: only newmail notifications are skipped and
not only for FETCH command.
--HG--
branch : HEAD |
e60a349c641bb2f4723e4a395a25f55531682d2b |
|
05-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Moved command-specific variables from struct client to struct
client_command_context and changed code to use it.
--HG--
branch : HEAD |
68efcccb384f2d6871164b072457e87473502c51 |
|
17-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
FETCH deinitialization wasn't done properly
--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 |
1b3bb8d39686ed24730cbc31cc9a33dc62c8c6c3 |
|
14-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Update view's header only after syncing the view. This and other changes fix
several view syncing problems and crashes.
--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 |
c4267cf4c40fb1f866b5958ff122ef836b8c5dfb |
|
19-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Syncing works now too without buffering everything. Also fixed handling
input while command was being processed.
--HG--
branch : HEAD |
5784d9269f240b12ba915cd755d41b43ff0a2c70 |
|
18-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Don't send EXISTS after each EXPUNGE.
--HG--
branch : HEAD |
d756ebcfa96bd7cff02097c8f26df9df368b81b1 |
|
12-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Broke mailbox_sync() into iterator.
--HG--
branch : HEAD |