bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
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 |
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. |
2d5d7890bd9b282eb1092fc788a2432a6c79a7ad |
|
03-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace buffer_get_used_size(buf) with buf->used
Doesn't make any diffence to code generation, but it's somewhat simpler code.
It's also more consistent since most of the code nowadays uses the ->used. |
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> |
6b8d5b8d02bd888609f06366ffb5a5a1e6e7d251 |
|
17-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Added support for struct message_part <-> index number translations. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
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. |
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. |
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 |
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. |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--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 |
a94936bafd127680184da114c6a177b37ff656e5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Removed _ prefixes from function names.
--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 |
a4f588460ae94749573097e04392780e17f7fcb2 |
|
28-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Validate deserialization better.
--HG--
branch : HEAD |
444c9a022d902abd0539a68d2efef83483b8a8d9 |
|
10-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Removed all "unreliable headers" handling code. With mbox we actually handle
only virtual header sizes everywhere.
--HG--
branch : HEAD |
10da1ab399797ce44d37e0c464966e0a7cd5ff01 |
|
10-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
When using cached message_parts, update the header size with mbox since it
may change. Fixes BODY[1] etc. fetches giving corrupted replies.
--HG--
branch : HEAD |
4e8b456590e76a3c53c3bf638f87e0fe5c0cec96 |
|
03-Sep-2003 |
Timo Sirainen <tss@iki.fi> |
mbox reading is kind of working again. Just don't try rewriting or expunging
:) Changing headers are also hidden from clients so mbox messages are finally
seen immutable as required by IMAP.
--HG--
branch : HEAD |
bfe5d546f5ecc459d46dbc1c569d633de7c0516d |
|
21-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Removed some header/body size fields. We use only message_part now
everywhere since it's small enough. virtual_full_size was left because we
may know that by just reading maildir filename.
--HG--
branch : HEAD |
a9c63bb1197ca14d17e081626df510b23d617899 |
|
21-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Serialized message_parts are now packed into smaller space.
--HG--
branch : HEAD |
38499bb33c74acc6d725204e893cfc02a5890ec7 |
|
15-May-2003 |
Timo Sirainen <tss@iki.fi> |
Renamed buffer_*_space() to buffer_*_space_unsafe() and added several
warnings about using them. Fixed their usage in a few places in sources
where they could have produced invalid results (no buffer overflows,
luckily).
--HG--
branch : HEAD |
8c14c10d78f85c384ea3b07706e5d9075166e767 |
|
08-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Variable type changes, fixes compiler warning.
--HG--
branch : HEAD |
bb2a1171bc0e5c008e00ea67f026225e4838faa1 |
|
12-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
minor optimization
--HG--
branch : HEAD |
749c1abc1804e227afa6bae2d5ddf8bcc96e7cc4 |
|
12-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Do some more sanity checking when updating cached message_part. If anything
fails, log the error and set index corrupted.
--HG--
branch : HEAD |
2efe6c8cb2773ac6316638fd9a61d7e8c908153f |
|
06-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
message_part_deserialize() now verifies that the data is valid so we don't
later crash to some assert.
--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 |
18f0fc7b3901f6732986b28b8c0d84e7b0a521aa |
|
09-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
still stupid bug :) works now, tested.
--HG--
branch : HEAD |
900d1f655065fa0cfe601f537142eb212ef5c011 |
|
09-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
still broken
--HG--
branch : HEAD |
7cc71490edcf248573552053072ae6f3f9361985 |
|
09-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
message_part_serialize() was broken with multipart messages.
--HG--
branch : HEAD |
def516ea503a60f20d510c14d5070b7ff5bbddf4 |
|
08-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Added buffer API. Point is to hide all buffer writing behind this API which
verifies that nothing overflows. Much better than doing the same checks all
around the code, even if it is slightly slower.
Buffer reading is still mostly done directly, that isn't such a big security
risk and I can't think of a reasonable API for it anyway.
--HG--
branch : HEAD |
97343562572c4c5d064bd6394897a971255b85fd |
|
30-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
message_part_serialize_update_header() was still broken, it modified the
start position of header record.
--HG--
branch : HEAD |
d14de73e30d5d0e06a5b28508b6a44e888edd2d1 |
|
30-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
Cached MessagePart reading wasn't working because alignment broke the strict
size checking.
--HG--
branch : HEAD |
2fe48617ce6a8d296afbbb84c9f53943b48ed8c3 |
|
26-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
message_part_serialize_update_header() didn't update positions for subparts
so they got broken with mbox when headers were updated.
--HG--
branch : HEAD |
6697a923d6768bf8d71f87f80b90747cf6870753 |
|
08-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
move size_t fixes
--HG--
branch : HEAD |
80f6bd661f984145cd262445aba08a628758cde1 |
|
06-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
continuing mbox updates
--HG--
branch : HEAD |
ab170d6cf8aeb515bac7c07b37e525cbad96c299 |
|
02-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
forgot to add before
--HG--
branch : HEAD |