bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
0dab9cb35a976c49b28a11e28d5570f5191f1a7a |
|
22-Sep-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add reason to mailbox_transaction_begin()
Remove mailbox_transaction_set_reason(). |
cddfd1355db6b60c71d7ee3c0b4f23b3efcc9ad1 |
|
03-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Add mailbox_transaction_set_reason() calls
Added to the most important places. |
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 |
41579643ee25655f5bbb9b6a3533f0bb4a69fd85 |
|
15-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap: Fix STORE UNCHANGEDSINCE to work with >32bit modseqs. |
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. |
760245ee05c5685122ca29427dffedbeed4b24bc |
|
15-May-2015 |
Timo Sirainen <tss@iki.fi> |
imap: Added %{deleted}, %{expunged} and %{trashed} to imap_logout_format |
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. |
0ff8b7fd6b7021a845538f6bcf755d97d488fddb |
|
19-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
imap: If any FETCH/STORE tries to access modseqs when NOMODSEQ was returned, return BAD. |
08837f59c1466ec0f533f120b167f2a3e87da738 |
|
03-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
imap: If SELECT fails with "mailbox is inconsistent", disconnect client. (Plus related cleanups.)
The inconsistency can also be used to indicate that something is badly wrong
and nothing useful can be done before client reconnects. |
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. |
86bde2c1838d1ce967fa2b394bb952004a4adcb7 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
seq_range_array_add() API changed. Added other functions to provide the less common use cases. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
cf48ae78f7c9e0d5e586c4d8368cc11f2597af8c |
|
30-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
imap: Memory leak fixes for invalid parameter handling. |
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. |
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. |
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. |
9261dbf0675204898c6557591c7aa376e23a52b2 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Started using str_to_*() functions instead of libc's ones.
--HG--
branch : HEAD |
c2fbbf7515aa419dc8b2d62a3c2bb0471d51a391 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-imap: Changed imap_arg accessing APIs.
The new one is easier for both coders and static analyzers.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--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 |
84ed9f8f3d0e5ed47607ef417618e49e4f865557 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added reference counting to struct mail_keywords and related APIs.
--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 |
e5b8b3a57993ab957d389e1c7253698bcd1e6cb1 |
|
04-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Renamed imap-search.[ch] to imap-search-args.[ch]
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
25c9f552d4cad01829c79f475d8fdb95525103b1 |
|
04-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
imap: Try to allow STORE for read-only mailboxes, but not for EXAMINEd.
--HG--
branch : HEAD |
48270badadd82279bfe50ae3d187aea8b0b2b30e |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
CONDSTORE: STORE UNCHANGEDSINCE conflicts are now checked atomically.
--HG--
branch : HEAD |
c4b376dd6e0c423006d7ac83a39253bcaf8e7c47 |
|
03-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Make mail_search_args an independent structure that can be used for multiple
separate searches.
--HG--
branch : HEAD |
085aac627afbd494486e42d2626314c2f27f86df |
|
30-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
STORE: Ignore flag changes for read-only (especially EXAMINEd) mailboxes.
--HG--
branch : HEAD |
97cfe59cd16ce624e58e8d9b6003d1e29d75b3d2 |
|
16-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Implemented SEARCHRES extension.
--HG--
branch : HEAD |
9293bf90039454f47e94e4ba3722a775cfa7d25c |
|
16-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_TRANSACTION_FLAG_REFRESH. Use it with STORE UNCHANGEDSINCE.
--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 |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--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 |
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 |
61f5256ef248d35459b53534ae428bf6d016e1c5 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed mail_keywords creation APIs to take mailbox/index instead of
transaction.
--HG--
branch : HEAD |
cb05ecbd96ddb5e53c1850d27434541138a3f284 |
|
02-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_keywords_create() checks keyword validity now and returns failure if
any of them are invalid. Added mailbox_keywords_create_valid() that only
drops invalid keywords. Removed mbox and IMAP-specific keyword checks, they
all use the same checking now.
--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 |
7c7a364a72d4edd1701df72fee835c09db19d933 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Changed imap-parser API to use standard arrays for lists instead of its own
imap_arg_list struct.
--HG--
branch : HEAD |
f1e9611e93dcb3b745c1904029084fa81644e1b3 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Added more consts to imap-parser API
--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 |
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 |
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 |
faed8babca9914257f34fb2e603d74016d563b2d |
|
05-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Internal changes in how keywords are handled. struct mail_keywords isn't
automatically freed anymore, added *_keywords_free() for that.
--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 |
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 |
9f0bf017c7bdff4271672a04fc98bd181512bdd8 |
|
18-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Don't do separate kludging for readonly mailboxes.
--HG--
branch : HEAD |
d756ebcfa96bd7cff02097c8f26df9df368b81b1 |
|
12-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Broke mailbox_sync() into iterator.
--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 |
ceb97b6277173ae5920b6b2bff46e47f96796635 |
|
04-Nov-2003 |
Timo Sirainen <tss@iki.fi> |
STORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only.
--HG--
branch : HEAD |
b1f57b7183fe44d7d7ba30b944d3de1f015b9253 |
|
26-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
Removed fetch_init/fetch_next from mail-storage. search_* makes it
unnecessary
--HG--
branch : HEAD |
fba0d7e7f265f83160229170de69b23d5f181847 |
|
10-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
crashfix
--HG--
branch : HEAD |
6789ed17e7ca4021713507baf0dcf6979bb42e0c |
|
06-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Index cache file rewrite. It's not finished yet and mbox support is
completely broken. But it's getting difficult to maintain outside cvs :)
--HG--
branch : HEAD |
60ac3b8975c9fcd8acfa2fbae6d8dff5e214aff9 |
|
27-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Getting ready for namespaces. LIST is still broken with them.
--HG--
branch : HEAD |
4b9441132b03149cce54b8fbaabb6bbcc10b899e |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Explicit lock() method for mailbox.
--HG--
branch : HEAD |
6389aeec8c26b585e583c364b48ad12adf741898 |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change for updating message flags.
--HG--
branch : HEAD |
868772ffa3756090710d239f5a75cf20d3399760 |
|
15-Jun-2003 |
Timo Sirainen <tss@iki.fi> |
Only NOOP and CHECK will now always do a real mailbox sync. Other commands
will also do it but no often than once in 5 seconds. Also with maildir we
don't anymore try to sync it before running commands since syncing is now
done automatically whenever we try to access a file that doesn't exist.
--HG--
branch : HEAD |
c2820b44812b2da7f3b172bb3521b623a3f84f2b |
|
04-Jun-2003 |
Timo Sirainen <tss@iki.fi> |
Give more verbose protocol level errors + some fixes.
--HG--
branch : HEAD |
70d1935e621fab43c6bb55e0151c6f379ce6a4c6 |
|
21-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Sync EXPUNGEs also with UID FETCH and UID STORE.
--HG--
branch : HEAD |
799b32a1c5a51b2f534cd80d6c6a1c87b64d428e |
|
14-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Added setting to limit length of custom flag names.
--HG--
branch : HEAD |
c343146833665a9651944ccc51ab7ff0f230c8a9 |
|
21-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
STORE accepts now multiple flags without requiring them being inside ().
--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 |
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 |
4525c4a8f8d1a6365e4469c0c8f46575400a9a67 |
|
02-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Don't access ImapArg's union members directly - too easy to mess up. Fixes a
crash with feeding non-string parameters to SEARCH/SORT commands.
--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 |
11a1cf93e400cd7d4de4e67193e8d0f9c4bc249c |
|
17-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
ImapArgList changed from linked list to array. easier to handle that way.
--HG--
branch : HEAD |
135dddafc7290890b2305596418bb4fb3b0c7494 |
|
27-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
Send RECENT after all EXISTS replies. Check for new mail in mailbox after
each FETCH, STORE and SEARCH commands and notify about it with EXISTS.
--HG--
branch : HEAD |
9c8c6c5d19c9a0940508fdf3f1d5cb738291de84 |
|
07-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
updated error messages for FETCH/STORE when expunged messages were
referenced. we use now exactly the same as rfc2180.
--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 |