bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
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. |
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> |
bace943c67e6cd14ce6c994f533d82a3caad5bf1 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Use the new [io]_stream_create_fd_*autoclose() functions wherever possible. |
48325adac125d7ff275ec69b05b7a92be9637630 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Added various asserts to try to silence Coverity false positives. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
bd8b391d7d2112e989963980663ef8cb0469b35c |
|
24-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
Fixed sscanf() error handling.
Patch by Jann Horn. |
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. |
803197abb1cc0e81abb668c026c22394bfef820d |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-settings: settings_read*() now returns an error string instead of logging itself |
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. |
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 |
c8154bfaf4f08f4b1b038ae4483ea703789c9be6 |
|
08-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
config parser: If line ends with '\' continuation, remove extra whitespace before it.
--HG--
branch : HEAD |
7744586e3e0fd60158abfbb03a233d3bd8d6c48b |
|
24-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Changed all settings related structs to const and changed APIs to make it work.
--HG--
branch : HEAD |
25e480bc781fdbcbee1d8b88ccdef163c0c63b0f |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
settings parser: Warn if a line has '#' character not preceded by whitespace.
This should help with people trying to give '#' character in e.g. a
password and wondering why it's not working.
--HG--
branch : HEAD |
c051a3dae43d9418e19f2f83eb02fbfb0a558d6b |
|
30-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Allow config file line lengths to be unlimited.
--HG--
branch : HEAD |
4e0204dbac352e271c79cfa6c74a71145a058de5 |
|
27-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Compiling fix for systems without GLOB_BRACE.
--HG--
branch : HEAD |
a78d5bd9772681a232de56b3dd6acefee66cc71b |
|
27-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
dovecot.conf: Added support for !include globs.
Based on patch by Thomas Guthmann.
--HG--
branch : HEAD |
90441432cfe7a5bf7ee07c91c57f4027946ee4f1 |
|
21-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Settings parser: !included files without absolute paths are relative to their parent config file.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
885673616ab8dc038eafdf76efe4184ecffcdc88 |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added !include and !include_try directives to config file reader.
--HG--
branch : HEAD |
d4854db53e9c141db3d02821ed857bea101b1cc2 |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Changed all config file readers to not ignore the last line if it's missing LF.
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--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 |
7761b23ef311d4a27ed78ad864287b290d4066f2 |
|
03-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
"section changed at line" was always reporting the current line instead of
the previous section change line.
--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 |
2526d52441ef368215ab6bf04fd0356d3b09d235 |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed i_stream_create_file() to i_stream_create_fd().
--HG--
branch : HEAD |
12bbab623d9965d019e6e80d4f41255cd5002c9a |
|
25-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Support continuing lines with \
--HG--
branch : HEAD |
fe363b433b8038a69b55169da9dca27892ad7d18 |
|
24-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed memory pool parameter from iostreams. Default pool was almost always
used, and the stream usually required destroying anyway so it didn't even
make freeing memory easier.
--HG--
branch : HEAD |
317f390961bd996932acf3d4bfbbf16c3d21e755 |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
If section opening fails, show the line where the last section was opened or
closed.
--HG--
branch : HEAD |
59151b71059df1190acd75d8717ed04a7920c862 |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added context parameter type safety checks for most callback APIs.
--HG--
branch : HEAD |
73583cff4f0ca9ee87204256ca1994adf17cb94c |
|
18-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Cleanup: Don't put string literals into non-const pointers.
--HG--
branch : HEAD |
6bfd8baac71b2c4ab7191834da36e843ae0dbd14 |
|
16-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
Handle the last line even if it doesn't end with LF.
--HG--
branch : HEAD |
8892c76722fdbceec5bd519d32e65985ecd35c31 |
|
10-May-2006 |
Timo Sirainen <tss@iki.fi> |
Read empty string settings as "", not NULL.
--HG--
branch : HEAD |
cd56a23e21f1df3f79648cf07e2f4385e2fadebb |
|
25-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Added i_stream_destroy() and o_stream_destroy() and used them instead of
*_stream_unref() where possible. Fixes at least one problem with io_remove()
being called after socket was closed, which caused problems with epoll.
--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 |
d81433c272dc189ff50ecde109cd0040f21fa8b0 |
|
23-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Allow empty section name.
--HG--
branch : HEAD |
84e83fa1f6ec489b473a94ab7698c5b4a9987541 |
|
05-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Changed error message
--HG--
branch : HEAD |
337e0bdea4c5b1a9e3ac3e915b31a6413f46220c |
|
29-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Allow key=value without requiring space between key and '='
--HG--
branch : HEAD |
6cc8fac7fd9b47e179629a61acef0e8758763803 |
|
27-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Support # comments also at the end of setting lines
--HG--
branch : HEAD |
3f8a5d2a09e90961d1d86dea294be162ccdb64a8 |
|
26-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Spaces are now stripped from end of line in config file. You can use " or '
quotes if you need them.
--HG--
branch : HEAD |
0cb57ee35d4cab9c03434d7abf312c081ed554d4 |
|
10-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
New configuration file code. Some syntax changes, but tries to be somewhat
backwards compatible. SIGHUP now reverts back to old configuration if it
detected errors in new one.
--HG--
branch : HEAD |
89e195dfb5c4b0efd9b9f459771a4467674e5b1f |
|
10-Mar-2003 |
Timo Sirainen <tss@iki.fi> |
Added i_stream_read_next_line()
--HG--
branch : HEAD |
f667a005863a36aae8e12ab4dc0295226cf2f1a6 |
|
08-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Don't skip trailing whitespace, it might be wanted (eg. log_timestamp).
--HG--
branch : HEAD |
837f363f04402adf2f8081e6a6cb734e77a0520d |
|
31-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
updates
--HG--
branch : HEAD |
9e49712b9cddbf47568ea4f3676e59b151489356 |
|
30-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Moved settings parsing to lib-settings.
--HG--
branch : HEAD |