816d20be0cf95fc4eb1a8aa716639e73b8ba525e |
|
12-Feb-2018 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: Add restrict_access_flags enum to use with restrict_access[_by_env]()
Swap parameter locations in the functions to make sure plugins are
updated to use the new api. |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
ad9afb64630511d5e25bc5bc11c5304986156928 |
|
30-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace o_stream_nfinish() with o_stream_finish() whenever possible |
1ef9fe877817de76eb38883ccf3833fae60e6865 |
|
05-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: stop including fd-set-nonblock.h & fd-close-on-exec.h directly |
0d1b8b6bec79746c5d89d57dd8c1688946bd9237 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on timeout_remove(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- timeout_remove(&E);
- }
+ timeout_remove(&E); |
5f1d689131a75c39f064cbd4202373e7edf78f18 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on io_remove{,_closed}(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- io_remove(&E);
- }
+ io_remove(&E);
@@
expression E;
@@
- if (E != NULL) {
- io_remove_closed(&E);
- }
+ io_remove_closed(&E); |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
e93184a9055c2530366dfe617e07199603c399dd |
|
06-Jun-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: remove autoclose parameter from [io]_stream_create_fd
Use [io]_stream_create_fd_autoclose() for autoclose. |
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. |
67e599e108ac863de494d594d1418ec9d8aa6195 |
|
10-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
rawlog: Removed unnecessary/duplicate 'o' from getopt_args
This caused assert-crash at startup after ff17864ba6e0. |
189c53b4ae3629a596572e5f040be019de96e356 |
|
06-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
rawlog: Flush output to disk every second instead of only when buffer is full. |
55171d0298b60336048aabf7433cb75488ba00ee |
|
12-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
rawlog: Updated -i -> -I also in usage string. |
49f88c99b3601121e2cbf78305126294721c18ba |
|
12-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
rawlog: Changed -i to -I parameter
We can't use -i, because it's handled by lib-master for instance selection. |
ddc8fe263805b4a041dfd1147bf2ab6b580c1c72 |
|
02-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
rawlog: Removed double '.' chars from log filenames |
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> |
abdb482726c35f71284aa95f0e8f7ff715a6525b |
|
21-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
rawlog: Added -i parameter to include the remote IP address in the filename. |
bace943c67e6cd14ce6c994f533d82a3caad5bf1 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Use the new [io]_stream_create_fd_*autoclose() functions wherever possible. |
552487e70a779de22c85352d8eb154d90bb57697 |
|
10-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
rawlog: Buffer writing to rawlog files to improve performance. |
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. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
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. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
3fe7d0c8c0aaa8ca15b711bacfa6167c5d9f1168 |
|
06-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
rawlog: Renamed -i / -o parameters to "-f in", "-f out"
This is mainly to get give the -i parameter to lib-master. |
b1f37113a5760bee842c5a7678bb5fa6f5bd8b60 |
|
10-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
Use t_strflocaltime() where possible. |
b74cef81f500c997def1f2a7090c6acae02fa911 |
|
23-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
rawlog: Use the lib-master API calls. |
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. |
4574d1c12eec0ff70ac5f3e12f11f7382231289e |
|
13-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
rawlog: Don't steal -options from the program that's going to be run. |
d4545f88331bb06244505cef10e96174c5c19ed4 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
rawlog: Rewrote timestamp handling. Now with -t parameter each line begins with timestamp.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
fcae6bd5f2fa9da7ef1302279488b6ed97cf8e3c |
|
30-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
rawlog: Make also created socketpair fds nonblocking.
--HG--
branch : HEAD |
e27fe7c657e81d49e700195d81148727a5632130 |
|
30-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
rawlog: Make sure to set fds nonblocking to avoid hangs.
--HG--
branch : HEAD |
cd2ed64888b42b481cde6bb9548c8520516fa3e9 |
|
26-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed Linux proctitle hack and enabled it by default now.
--HG--
branch : HEAD |
a3fe8c0c54d87822f4b4f8f0d10caac611861b2b |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Moved process title init to lib-master. With Linux-hack enabled it now preserves command args.
--HG--
branch : HEAD |
05489ca6a5e1d1fc808f6de8a9701fcb5840603c |
|
29-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
rawlog: If mail_debug=yes, log if dovecot.rawlog/ directory doesn't exist.
--HG--
branch : HEAD |
a85d9c3e0b7cb1744a5c8f71501b3039d678c47a |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Cleaned up restrict_access*() API.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
b8d232d88018c5cafd2f3be5a181d318137a45f2 |
|
27-May-2008 |
Timo Sirainen <tss@iki.fi> |
Avoid using shadow variables. Unfortunately -Wshadow also complains about
index variable conflicting with index(), which is used in way too many
places to change.
--HG--
branch : HEAD |
d5c114ee089ae1471e58cbd048fdd138d8c0719a |
|
01-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Added -b parameter which writes packet boundaries like <<<packet>>>.
--HG--
branch : HEAD |
e959e240bb8975cba293a94dbc61712b232904f6 |
|
05-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Reverted "environment array" changes. It broke overriding imap/pop3 settings
from userdb and the performance improvements weren't all that great anyway.
--HG--
branch : HEAD |
cffa5888a8bd922e0a84f3b3ffe0ab7392e6dc3f |
|
02-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Build environment using envarr and pass it to execve(). This is faster than
using putenv() directly. restrict_access_*_env() API changed to take
environment array parameter.
--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 |
2526d52441ef368215ab6bf04fd0356d3b09d235 |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed i_stream_create_file() to i_stream_create_fd().
--HG--
branch : HEAD |
93fa87cf1a96c4f279ec4f5c311820313ba12c34 |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Split o_stream_create_file() to _create_fd() and _create_fd_file().
--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 |
f88a645e7aff7e4af7b073bfc208d0fb0c4dedee |
|
28-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed to work with chrooting
--HG--
branch : HEAD |
b439928e47cb120eacee4ff1eb53156ae31d30dc |
|
08-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed pool parameter from io_loop_create()
--HG--
branch : HEAD |
ccb77e2f63626ec46e5745ef4f38baa8e8e504fc |
|
26-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Cleanups and minor fixes
--HG--
branch : HEAD |
71564bdac86dc52386a934e2041df2540068d302 |
|
05-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Added -i and -o options to rawlog to restrict logging to only input or output.
--HG--
branch : HEAD |
2cfe9983ce7a6280636ee12beccc2e865111967b |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced void *context from a lot of callbacks with the actual context
type. Also added/fixed some context type checks.
--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 |
e8ce296f8ca90fb73b9162ae7dba00bb9b3b6bdc |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
rewrote rawlog code. it's now fully asynchronous which could make it a bit
faster, and it should also fix some hangs with it. Timestamps are written
now only with IMAP.
--HG--
branch : HEAD |
e38255559866b41acfdce2102018cfcf3fa7a894 |
|
17-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
don't loop waiting for input, if it didn't come for some reason.
--HG--
branch : HEAD |
b45c1a7f00fa6848b9764e4f5c28d0aa8fc25b15 |
|
23-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Rawlog filename was always with date 01.01.1970.
--HG--
branch : HEAD |
09a3ac52e2a6db14920e648116ffcd23624b5f23 |
|
23-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
be5e7de9415b8fb995c0566448a5b3d2c752631e |
|
21-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Separated rawlog into it's own binary.
--HG--
branch : HEAD |