bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
bf7dc750b95039981c0e9d728f313d50cf38a156 |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Log internal storage error on failure |
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 |
2dbb7b30d9bf6d6b0cd104c6931c4b44a77c2383 |
|
15-Nov-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Put doveadm_mail_iter_init parameters to right order |
00b10a9ca50bca190e72a19aa6571ea612701d82 |
|
15-Nov-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Add open read-only parameter to mailbox iterator
This allows iterating mailboxes so that they
are opened for read-only. |
a4a7440a1033203c48d5f0174b3d85514b79f3a0 |
|
25-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Code cleanup - add and use DOVEADM_PRINT_TYPE_PAGER macro |
0d16e4b4ba379b5d4c9b21e55173b291cac4d354 |
|
14-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm fetch: Fixed body.snippet. |
d9a7e950a9cd21f2b4a90ec7759fca9e8fcc7995 |
|
05-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Fixed mismatched bool vs. int/pointer handling
I don't think these fix any actual bugs. |
c001f4b968deb006f4f753af19db7843a2209ec5 |
|
07-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm fetch: Translate commas to spaces in body|binary.<section> with
This way we can do e.g.:
doveadm fetch 'uid body.header.fields(from,to,subject)' ...
Although in theory we could also change the parser to allow spaces as long
as they're inside (..), but this is probably too much extra effort. |
2d7da70c0e6768afeb1200c95f3e1293f2e502c6 |
|
07-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm fetch: Fixed logging errors for istream failures |
f24b245f49b030d7dba3bcb2463cbc05b98c9d1d |
|
07-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm fetch: Added body.<section> and binary.<section> fields
These correspond to IMAP BODY[<section>]. |
12e5ac049bd74f8b98d9dc62adcb0bf3217beef6 |
|
25-Apr-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-mail: return void from message_parser_deinit() |
c45a841bee3f42ec6524b8f62c3fd457115c3f97 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Define DOVEADM_CMD_MAIL_USAGE_PREFIX, which v2 commands use as their usage prefix.
This allows implementing the next changeset without kludging. |
89d31290dab6e4bde08b8a118121f008154772e9 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-fetch: Use ver2 structures |
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/' |
7dd67cf142c243c735c00d640b7c85015b7da50a |
|
29-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added date.sent/received/saved.unixtime |
7d56dc75f70aaea4369f4bfcffb0cd1b5abe1ca9 |
|
30-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added "storageid" field. |
e1ba963457988db73650fbf972398e1d0e2318b6 |
|
11-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added "refcount" field. |
fb10881ee5d5c11c6df3cc91172f56005c95ca98 |
|
17-Feb-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Removed unused code. |
ed897f9e09ae8ad86a88955420bd275b46ee8231 |
|
16-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added body.snippet field. |
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> |
7fbd5e7ceedb73996290c5358f5243d7d22b4d49 |
|
23-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Use doveadm_print_istream() |
9f7a3d6bbc4601e293656295f2aa44dc67e1cb16 |
|
18-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: If istream reading fails, log a better error message. |
edd3573b249c7cc824d55897b77a768be3a2e13e |
|
05-May-2014 |
Timo Sirainen <tss@iki.fi> |
message_header_decode_utf8() wasn't used correctly with NULL instead of FALSE parameter. |
b5ad250aeacc094b84cce08eeab227d0ec14fb14 |
|
05-May-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm mail fetch: Use mail_get_headers_utf8() when fetching hdr.*.utf8
This doesn't really matter but may allow minor optimizations later. |
58f5b4641f4c0f91738ba4cb1246beb247f07da4 |
|
07-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added pop3.order field. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
c57ba1788a6598993a9625bbf26a4fedca23815e |
|
06-May-2013 |
Timo Sirainen <tss@iki.fi> |
doveadm_mail_iter_init(): Removed unnecessarily returning transaction.
If it's needed in future just add a new doveadm_mail_iter_get_transaction(). |
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765c |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Replaced all -1U and (unsigned int)-1 with UINT_MAX.
It's somewhat clearer this way. Also clang's -fsanitize=integer gives
runtime errors about -1U (but not about explicit casts, so no need to change
(type)-1 casts). |
71fbc9af425dc9afc2fb58f911bfe4c5b4edba9b |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix. |
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. |
5e46f82843a13cc590900352d34c899cd5967de0 |
|
31-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added "modseq" field. |
d9076f5939edf5d20a261494b1a861dcbb0d32e2 |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced "decomposed titlecase" conversions with more generic normalizer function.
Plugins can now change mail_user.default_normalizer. Specific searches can
also use different normalizers by changing mail_search_context.normalizer. |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
31a574fda352ef4f71dbff9c30e15e4744e132c0 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added array_append_zero() to write a zero-filled record to an array.
Replaced (void)array_append_space() calls with it. |
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 |
5fbccc935e3f7b916aa7c6e302a212821072e83a |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm: Improved error handling. Failures should now always have non-zero exit code.
doveadm now uses sysexits.h exit codes in most places, although there are
still a lot of places where it simply returns EX_TEMPFAIL even though
something else might be better. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
c4ac0f222613903b7f8c9e0825198396e6bf793e |
|
02-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added support for hdr.*.utf8 fields. |
f33d37b678b5a14c8fb058a8f723e9b65f0b2043 |
|
26-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch hdr.*.adddress*: Don't crash when printing groups. |
cf1c3e6833fc5031d89db48dad46ed025beda4e7 |
|
26-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: hdr.*.address and hdr.*.address_name expand to parsed mail addresses. |
9e952e5d80c17d2b47d2383dfc0c955292bb5c38 |
|
26-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch text.utf8: Don't return failure on success. |
46d283ef537885386ab3fc72d1831054ea5f986b |
|
26-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added text.utf8 field, which translates headers/body to UTF-8. |
6df0ab0c1ab91f06b6418cb30eff44405a1b8f02 |
|
04-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_get_hdr_stream() and use it where possible.
This makes it clearer for backends when it needs a message body instead of
only message header. |
de62ce819d59a529530da4b57be1b8d6dad13d6b |
|
25-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Moved GUID code to liblib. Use guid_128_t type consistently everywhere. |
ec1fe002da484f4c06f0c072d673abac74b66b9e |
|
11-May-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: doveadm_mail_iter_init() API change to fix "doveadm fetch" crash. |
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 |
b3126bef7460052415eea07b300d02c8eb07c1d7 |
|
23-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed MAILBOX_LIST_ITER_NO_AUTO_INBOX to _NO_AUTO_BOXES. |
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. |
636f017be100bce67d66fd3ae1544a47681efd33 |
|
01-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox virtual names are now in UTF-8 format, not IMAP mUTF-7.
Plugins that use mailbox names in configuration now take them also as UTF-8
rather than mUTF-7. |
11352dc3e4b29f3d2763c82f8ea4f99e8daf4fa3 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_last_*error() wrappers and use them. |
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. |
7f03bac2ef9fae720ce96536b1e936066f093de4 |
|
21-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added support for pop3.uidl field. |
1f792fb84e8fdfd2a9b65100ce1c31d0212fa3b0 |
|
30-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Fixed fetching uid field. |
c07e35cfc9587fc7589cbc1db0daeeb828456b2b |
|
11-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed code related to listing mailboxes with non-virtual names.
The non-virtual listing code would have already crashed with assert. |
50859db1fd7dd99d94091a05550090ac3a7b3db7 |
|
21-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Removed some unnecessary code.
--HG--
branch : HEAD |
c154a05c76d4d83de1cdf9746ce4e2da0869705d |
|
21-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Write output using formatter. Use pager as default.
--HG--
branch : HEAD |
a0db7ab8abd184559a3c2864e9f18d8e154cedcb |
|
21-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch hdr.*: Show the hdr.name prefix even if the header doestn't exist.
--HG--
branch : HEAD |
0c6f3ff9637e606bc1b70b268f8643da576d6388 |
|
19-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Fixed assert-crash with mailbox foo/* in all commands, not just fetch.
--HG--
branch : HEAD |
d389c93ada174a8fc6edf995b4f829d38e8fe567 |
|
18-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Fixed assert-crash when listing mailbox foo/*
--HG--
branch : HEAD |
1631885636d15abaf0375304a17928c8c23782cd |
|
09-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added "user" field.
--HG--
branch : HEAD |
ea1ae54fcfbd8e911978c149f9e7265a45b6380a |
|
28-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: mailbox field value is printed as UTF-8, not mUTF-7.
--HG--
branch : HEAD |
1db62753d9e3b5d71018889c8ef0a3722a307455 |
|
27-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: mail commands can now be extended more easily by plugins.
Also plugins can now override the list of -A users.
--HG--
branch : HEAD |
d38ca817bdcec666a3b91efb917064ab844c36a2 |
|
19-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added support for hdr.<name> field.
--HG--
branch : HEAD |
c8ff6ff3a9b76f12b0e8269ca7bdd62d895f476b |
|
19-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added support for imap.envelope, imap.body and imap.bodystructure fields.
--HG--
branch : HEAD |
23878bd03d1de531e3261a25598beec621351910 |
|
13-May-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Changed mail command API to be more easily extensible.
--HG--
branch : HEAD |
cf63dc8723b971cc80638fccbf494d961cbafc7f |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Changed mail command handler API.
This should help add some new future features.
--HG--
branch : HEAD |
d28f3e9322095648773e6158503e1d6505f00880 |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch/search/etc: Handle "NOT" correctly in search query.
--HG--
branch : HEAD |
e4ac89c5e7bb96598a47011993718f0e654912b4 |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Don't print field name if fetching only a single field.
--HG--
branch : HEAD |
f330fcc3307d48954b6f8909349546773368a041 |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Don't print mail separator if fetching only a specific mail.
--HG--
branch : HEAD |
f77da594de6318312a7f31589c9e4c38e2b74c73 |
|
30-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added support for mailbox-guid search key/fetch field.
--HG--
branch : HEAD |
f23baa3b53b1dd4eb19729e99a43937fa3c7f309 |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Removed more code duplication from altmove/fetch commands.
--HG--
branch : HEAD |
97afa073e3e1e0301dc41173ec34beb08edcce50 |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Reduced code duplication.
--HG--
branch : HEAD |
7f098e28ddad259d9fbe76e18347c722bb005189 |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: If invalid fetch field is given, print list of available fields.
--HG--
branch : HEAD |
cdf294e5cceee81d58c8477c7c28d9ad6b55c36a |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added "fields to fetch" parameter.
--HG--
branch : HEAD |
8732bdd21579472feb40da8ffc99b8fd3b341417 |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm fetch: Added support for fetching mails from multiple mailboxes.
--HG--
branch : HEAD |
5c2d695acf9f95ae0dcdda89c4d2391ceda4d672 |
|
20-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Added support for mail search input parsers. doveadm now uses command line parser.
--HG--
branch : HEAD |
94ba4820927b906b333e39445c1508a29387c3aa |
|
13-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added initial code for fetch command.
--HG--
branch : HEAD |