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. |
5f08b0309190ec818d46bfe0e497468b30714a93 |
|
29-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Rename timing API to stats-dist API
The API wasn't really about timings specifically, but about statistics in
general. The new stats service was already using it for tracking statistics
for non-timing related numbers. |
47a5a7e8296f3b8f2fac9a0659d4de3f2723ba4a |
|
06-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use PRI* macros and %zu instead of casting |
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); |
9e0f35dcc277e3f55da306519738e5ca3499a2b6 |
|
07-Sep-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Remove random_init/random_deinit calls
lib already initializes it. |
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 |
cbe49ba128638e63395aedaa2144087c89835633 |
|
25-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dict: Show command statistics in process title. |
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/' |
6477a2edb6bc684ca53df1d8e6f41fedb9fb07f2 |
|
20-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
dict: Show number of clients in process title |
563b8bb42d1ab5aec0ecb69c8bad9057a270a51f |
|
23-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
dict: Include PID in the log prefix. |
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. |
d6b3cfd855c0eebed68be50d3111de1b5a6afeb0 |
|
13-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Call master_service_init_finish() only after all of the initialization is done.
This way if the init crashes, the master process will throttle a buggy
service. |
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. |
09b15d7b0619e8a1ad5a78b1f86b864a7f76b3c7 |
|
21-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
dict: Added support for cdb backend.
Based on patch by Hleb Valoshka. |
bd63b5b860658b01b1f46f26d406e1e4a9dc019a |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Plugin ABI version checking improvements.
Previously the plugin version was checked against the version string
returned by the currently running Dovecot master process, not necessarily
the same as the binary. Also version_ignore=yes setting skipped the version
check entirely.
Now there's a new DOVECOT_ABI_VERSION macro that can (at least in theory) be
updated only when the ABI actually changes. The version is in format
"2.2.ABIv1(2.2.15)", where the (2.2.15) would be the actual Dovecot version
number that gets ignored when comparing the strings.
Also now the plugin version is compared to the actually running binary's
ABI, not the master's version, and it can't be ignored with a setting. |
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. |
18a59a47b3bd581f646462dda360e274dbb32155 |
|
28-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
dict: Unregister modules after unregistering dict drivers.
Fixes a crash at deinit when sql drivers were built as plugins.
--HG--
branch : HEAD |
db693bf6fcae96d834567f1782257517b7207655 |
|
27-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-master API changed to avoid accidentally leaking client connections.
This change also fixes many such leaks.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
9ba7e76c20be775f368254e3059a6189fe789f16 |
|
07-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
module_dir_load*() API changed to take settings struct, with debug field.
Fixed debug logging to also go from info log to debug log.
--HG--
branch : HEAD |
86791365b10f45982c88e70f2eb94fd6c3fea151 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Handle shutdown_clients globally for all services.
Delay shutting down processes until it's convenient for them, but if they're
not gone in 30 seconds forcibly stop. And if that doesn't help, master will
start killing them in 60 seconds.
--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 |
578ef2538ccf42e2a48234c24a8b709397101d88 |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Moved most of getopt() handling to lib-master.
--HG--
branch : HEAD |
e0740628f6ca05f4bc79a9d8a90b650f4d38d4d0 |
|
09-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Removed mail_log_max_lines_per_sec setting and related code.
It's pretty unnecessary and there's really no good way to implement it with
shared log pipes.
--HG--
branch : HEAD |
1ed1ad066e4aa313e33dafedb892fb84946caceb |
|
29-May-2009 |
Timo Sirainen <tss@iki.fi> |
dict server works again.
--HG--
branch : HEAD |
146240408e677e99e579d1feed92689585cc25d4 |
|
21-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Moved most of the dict settings handling to dict binary.
--HG--
branch : HEAD |
8d3278a82b964217d95c340ec6f82037cdc59d19 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Currently only the standalone applications (e.g. deliver) uses this.
--HG--
branch : HEAD |
a85d9c3e0b7cb1744a5c8f71501b3039d678c47a |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Cleaned up restrict_access*() API.
--HG--
branch : HEAD |
b70234f335410d6a8913f145d1cc9befa6f00b42 |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
When a process is killed, show the signal code and the sending process's pid and uid.
--HG--
branch : HEAD |
1c7fa51b35231f375998f66d5756f214519218f8 |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
lib-signals: Changed callback API to return siginfo_t.
--HG--
branch : HEAD |
2421fd34d51fed6da985c62b5e078d7e96640653 |
|
10-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
pop3/imap: When master closes our log fd, don't die when trying to log disconnect reason.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
d58676deb466d7ce91521de76cac64d0a86e501b |
|
05-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
dict: Register dicts only after loading modules. This allows using SQL drivers from modules.
--HG--
branch : HEAD |
ab0d9eecd85f74acae18fe88529302e0776cc500 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
extern/static fixes (from a sparse check by Diego Liziero)
--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 |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
6bfa0ca742216cd95eb58f024f93da0b8163d9dc |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Load plugins from $moduledir/dict/.
--HG--
branch : HEAD |
b439928e47cb120eacee4ff1eb53156ae31d30dc |
|
08-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed pool parameter from io_loop_create()
--HG--
branch : HEAD |
41590df9f518459d66a9f7b9be2126f2e31fb221 |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Don't compare to PACKAGE_VERSION in lib/ core directly, rather make
module_dir_load() have the version string as parameter. Plugin version
checks can be skipped with version_ignore=yes.
--HG--
branch : HEAD |
4449ad85fcbd4f6fedbaa9a5bdfe58a9ae60f8ae |
|
16-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
module_dir_load() doesn't call init() functions anymore. Added a new
module_dir_init() which does it. This way imap/pop3 can load the modules
before chrooting and initialize them after.
--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 |
05b422b01541f742c4d145c1aa48f4b03256f1ae |
|
10-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Require that master's version number matches the child's, unless
version_ignore=yes. Usually it's an accidental installation problem if the
version numbers don't match.
--HG--
branch : HEAD |
419cf63077e755935ce105747d6ebc67b7d38a7f |
|
30-Jul-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Berkeley DB dict support is now enabled only when using --with-db configure option.
--HG--
branch : HEAD |
e2c8ed03913cad1cf2f6fdeb5aa3ea5880381c3f |
|
17-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Make sure the process dies when the master process dies.
--HG--
branch : HEAD |
eb49a3378f746e95366be78448995253ff4f1412 |
|
04-May-2006 |
Timo Sirainen <tss@iki.fi> |
Use lib_signals_ignore() for signals we really want ignored.
--HG--
branch : HEAD |
457cafc9e72edb81eacfe88b35f14a75a96cf00a |
|
26-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced mail_use_modules and mail_modules settings with mail_plugins and
mail_plugin_dir. Now instead of loading all plugins from the directory,
you'll have to give a list of plugins to load. If the plugin couldn't be
loaded, the process exits instead of just ignoring the problem (this is
important with ACL plugin).
--HG--
branch : HEAD |
9844b5359f5cab77e4c31a7ac9e4a60a0073929e |
|
31-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Dictionary takes now a username parameter, which is used for private
queries. Made dict-sql use "insert .. on duplicate key update" syntax, which
unfortunately doesn't work with PostgreSQL yet.
--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 |
b901fb10f0a6afa467e35da9a076a61adfe65873 |
|
12-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Start dict server automatically when a client tries to connect to it.
--HG--
branch : HEAD |
a0192f2af135000c7f9e6341a44c46784a94f6fd |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Small fixes
--HG--
branch : HEAD |
e960a6085dbc5b598b2cd7bf2e20f04946c83e74 |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Cleanup
--HG--
branch : HEAD |
f8ead0942a9b7c8fcf91414ed1b534d5807ca555 |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added dictinary lookup server and a "proxy" dict implementation to talk to
it.
--HG--
branch : HEAD |