5109f00ce0cf7c89be9ab20a488a93a59212ff2e |
|
31-Jan-2018 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on file_lock_free(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- file_lock_free(&E);
- }
+ file_lock_free(&E); |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
0a222deffd3f48e43aa61ceb73a4faeeeea5e12c |
|
15-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace o_stream_ignore_last_errors() with o_stream_abort() wherever possible |
ad9afb64630511d5e25bc5bc11c5304986156928 |
|
30-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace o_stream_nfinish() with o_stream_finish() whenever possible |
a943ed0f901e312445fd393249b91932797bba79 |
|
03-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: use i_close_fd{,_path}() instead of open-coding them |
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 |
78b806afb68cf1fed9dda6b45cbf7f8f2e08260d |
|
15-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
fts-squat: Use file_cache_new_path() for squat indexes |
67a0f9eecf3f0f351afaf2f675fded998312a6fc |
|
13-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
fts-squat: Fixed memory leak on corrupted uidlist handling |
d5db0fd38f7babf6b12c8bcc83dc8b5f32b71cc9 |
|
16-Aug-2016 |
nikwrt <nikwrt@gmx.de> |
fts-squat: fix Corrupted squat uidlist bug |
6e2856a5beeeb0edf5d852dde63d99fb9af11151 |
|
13-Aug-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: move sort and search from strfuncs.h to sort.h |
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. |
0175d37a5ae5a4d146ca41b684bd38d9b03683cb |
|
30-May-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
Remove t_malloc in favour of t_malloc_no0
Using either t_malloc_no0 or t_malloc0 makes it clear whether the
allocated memory is zeroed or not. |
0f3d4fbcf88e2ffd674893aed8cc1288fe17d290 |
|
18-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use [io]_stream_get_error() insted of %m |
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/' |
2c886f02dd195e44ca67532fa34f88b89a4ba603 |
|
21-Sep-2015 |
Phil Carmody <phil@dovecot.fi> |
lib: extract sort-helpers into separate sort.h file
The macro definition was nothing to do with strings, and we can put
trivial common-type comparators here. They didn't need to be static
inline, as they can never be inlined anyway, being only used via
function pointers, but that preserves the closest equivalent to
the current code.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
46b823ac3bce2c0f9f0fc73911e48d3a77b04fbe |
|
08-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Replaced unlink() calls with i_unlink*() wherever possible. |
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. |
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. |
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] |
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. |
86bde2c1838d1ce967fa2b394bb952004a4adcb7 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
seq_range_array_add() API changed. Added other functions to provide the less common use cases. |
7bd301fdbfefe7cef3576d19ece29c75ebe53baf |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make static analyzer happier. |
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. |
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. |
07152a983dbad9ddf0552e73e47ff4735608cad9 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Removed unnecessary variable.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
76f69862d867ba56698f06454d468f1e93f8597f |
|
24-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
squat: error handling fix.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
45114a7f9600d04c294f8f1051c0289c092febce |
|
22-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Squat: Create files with the correct mode and group.
--HG--
branch : HEAD |
f5f806ca219dfdf43a2d053d42037d887e7a72d6 |
|
08-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Crashfix if file is empty.
--HG--
branch : HEAD |
ec6692a36150d93da8c0a6f0c968d12d386aae49 |
|
07-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
When rebuilding uidlist, read the existing one entirely into memory at the
beginning. This this is a lot faster than reading it with random access in
smaller pieces.
--HG--
branch : HEAD |
1759b25adaa2dd3b138f1fd90726669f2613785a |
|
07-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Added support for dotlocks.
--HG--
branch : HEAD |
a9e9282e5d21771dfdee4c207230ada06a19765d |
|
07-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Minor optimization and possible compile fix.
--HG--
branch : HEAD |
a3eb79af4fadfa0d98cdef7446dc0ece1519bd44 |
|
07-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
If uidlist writing fails, don't assert-crash.
--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 |
04b0c48e9d7bf1852b88ec799264ea77db1daeb9 |
|
09-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Expunge fixes
--HG--
branch : HEAD |
555a8166086bd03e25dfa0a4ba5dd2b663d07e0a |
|
09-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Squat fixes
--HG--
branch : HEAD |
1caf757864e7734345660e7d190f84e42668a6f8 |
|
03-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Initial code to support expunging from squat indexes, probably still buggy.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
ee23011bf73a7e95aa4f2e9fb74f98b035c6faab |
|
07-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
UID ranges can be large, don't allocate them from data stack.
--HG--
branch : HEAD |
b8289ae8c650f2ac557ec637ba3934e8c7ac7598 |
|
07-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Support mmap_disable=yes and some error handling improvements.
--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 |
5889b12a55df32b93428b7fb52c06cfd749bee07 |
|
04-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Locking and error handling fixes.
--HG--
branch : HEAD |
039c9e7c3d1813dc607d37b5485b145a4070d503 |
|
03-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Removed t_push/t_pop which could have caused crashes
--HG--
branch : HEAD |
1b0cfbf3cc77a670b92fff5c30f7b1eb17a63ab1 |
|
02-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
FTS API changes and Squat rewrite. Squat is still missing expunge handling.
--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 |
648d24583c1574441c4fa0331a90bd4d6e7996c5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
pool_unref() now takes ** pointer.
--HG--
branch : HEAD |
00395881d1dbbf37178d1efc193a7e9804aaff3b |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Removed _ prefix from all public APIs.
--HG--
branch : HEAD |
0f66f12eb4cdbf47670975044c88d8f388bf92df |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed buffer_free() and buffer_free_without_data() APIs to take ** pointer
which is set to NULL instead of hiding it with a macro.
--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 |
3ee496e11696567889f6367aab7103f028386bac |
|
26-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Write to files in larger blocks
--HG--
branch : HEAD |
4fbd8de028e97cb14496fbcf74f3b878831274ae |
|
25-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
154ec9f70eded1d073a4f0ec77d3afd6b5e95d3e |
|
16-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes
--HG--
branch : HEAD |
e9808ad0f7eed365a0f7c7aff8e9b295e23c4b90 |
|
20-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Use seq_range_array_remove_range() instead of slowly iterating ourself.
--HG--
branch : HEAD |
2c29de9e643a92ceae63c44e3b9daa1de9ed200f |
|
20-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Actually the code wasn't unneeded, put it back and actually execute it now.
--HG--
branch : HEAD |
2cef6895105a3d0799fba8693c9f77bb1e894cd8 |
|
20-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Removed unneeded code
--HG--
branch : HEAD |
60d5d6ea73ffca60f1786ff1fe4715f6918da182 |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Don't break if we indexed only one message.
--HG--
branch : HEAD |
5af1117325be8181393905218eb18e77f885e103 |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Another try at memory reduction / leak fixes
--HG--
branch : HEAD |
a3fc085ffb855d7b5e1dba611254a0db3f8c429d |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes. Also when building a large mailbox flush once in a while
to free memory.
--HG--
branch : HEAD |
1777c974563740daac427d3ef738903d8f6ad7d0 |
|
09-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added support for mmap_disable=yes and several other fixes.
--HG--
branch : HEAD |
ebfbf5d78dcf95e8b176429f4b5b0694eb4e17d5 |
|
07-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes
--HG--
branch : HEAD |
e62f6437a4ff01d692a5a61369fe4168d69191ed |
|
06-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes. Should be pretty much working now.
--HG--
branch : HEAD |
74ab5ea66c0c4b388f1c774ae6a47ab94f1b4f18 |
|
01-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added "squat" full text search indexer backend. Its name and basic ideas
originate to Cyrus's squat index, but Dovecot's implementation is completely
different and it supports incremental updates.
Still a bit broken and lacks locking, but I wanted to get this into CVS now.
--HG--
branch : HEAD |