bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
f46a703b2916bdda27e701f2f8305c0ce3d1e893 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm stats dump: Add -r parameter to reset stats after dumping |
285f3c4cf828ebe9ff345080aa1df3755613af29 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Add new "stats dump" command |
47a5a7e8296f3b8f2fac9a0659d4de3f2723ba4a |
|
06-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use PRI* macros and %zu instead of casting |
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 |
ef0c36aa8114feee80aa696d9cb8106140371243 |
|
20-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Code cleanup - Use t_strsplit_tabescaped() to avoid str_tabunescape() |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
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. |
c224fff79d18480a65e9b4504b891b8ea176f5b1 |
|
03-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use hash_table_update() instead of _insert() where necessary. |
0f3d4fbcf88e2ffd674893aed8cc1288fe17d290 |
|
18-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use [io]_stream_get_error() insted of %m |
a18da4410dcd47ab8d9b40c09a76a54fa55b9c86 |
|
29-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Renamed long parameter names. |
aaa1b6bb4cd2d7f8f4e7977d61176ea1c8f7e32b |
|
28-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Changed v2 command APIs to be easier to use. |
cd75585e26420cef09cc699c6e02ab46e21937d1 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Remove return value from ver2 cmd() - doveadm_exit_code is enough |
676d5601a8e087b25eb4dd5509079ab832e66831 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-stats: Use ver2 structures |
f970f2afa1dad882b7fc0f97f9315e01309cef03 |
|
15-Jan-2016 |
Aki Tuomi <aki.tuomi@dovecot.net> |
doveadm-stats: Add stats reset command line |
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. |
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. |
bd16363ff309fbb13535fbf0fd0a8662fd80b266 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm stats top: Fixed double-close()ing stats connection |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
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). |
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. :) |
a75d470c9223a75801418fcdda258885c36317e0 |
|
20-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Reverted "support for non-pointers" part of the hash table API changes.
Originally I wrote it using clang, which didn't give as many warnings as gcc
did. I guess this way is safer anyway.. |
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. |
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] |
678d0463849ba777106eb7875f27db07a5d8e3df |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Hash table API is now (mostly) type safe. |
7536dca18968a279b69c685eedda205bee228fd4 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
hash_table_create(): Removed table_pool parameter.
Every single caller was using default_pool there, so there's no point in
having it. |
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. |
35283613d4c04ce18836e9fc431582c87b3710a0 |
|
26-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Changes to make static analyzer happier. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
6176f3618240943f3cb41cb7063ecef56b1dd7df |
|
01-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added flag to specify which column table formatter expands.
The default also was changed to last column, not first. |
21b4abea655ed3450832e6b563e4a2025c466eec |
|
30-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm stats top: Added -b parameter to use read_bytes/write_bytes fields for disk io.
This is useful when the kernel doesn't support the actual disk IO fields. |
55342cbdfb055c074c2887d8c06a51444c71ef25 |
|
01-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Error handling fix |
9f84515b2530d63b258b89e9e68a92232a3aac14 |
|
01-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Change "stats dump" default formatter to "tab". |
06e3d76a9780fabd0c1d0dca2c650aec84d4a9e8 |
|
01-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Initial implementation of "stats top" command.
Currently it's hard coded to assume ANSI compatible terminal. |
95213c9dde802281c580c071dc2ae4c0ecba5816 |
|
01-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm stats: Renamed "top" command to "dump" and allow giving any parameters to it. |
650cd8feabfc3f7ed9847cfe429e4ad4f9e32bd9 |
|
01-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm stats top: Don't hang if stats server doesn't send any statistics. |
6565fc65b6c12eeab52dabfbe7c60cb10c219d1e |
|
26-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added initial implementation of "stats top" command. |