bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
1ef9fe877817de76eb38883ccf3833fae60e6865 |
|
05-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: stop including fd-set-nonblock.h & fd-close-on-exec.h directly |
a943ed0f901e312445fd393249b91932797bba79 |
|
03-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: use i_close_fd{,_path}() instead of open-coding them |
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); |
a6280be05b9c90579bb59ff57a3035661706c3d3 |
|
19-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: io_loop_extract_notify_fd() - Don't crash if no notifys have been added |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
dfa23b2ddc43f323112225facf7cd7191e62e02c |
|
03-Oct-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
io: Add source filename
This will make debugging alot easier
when you can see what the filename is as well. |
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/' |
dad206f8341603837b7de4309a7c195da26cf9aa |
|
24-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Added io_loop_extract_notify_fd() |
fefe9afdb0fb4cfc70afe3006ec88ba09ab3762d |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Log notify IO leaks when ioloop is destroyed. |
f6845101f2d6b8068e352a0b5a0d4bb04e20ad74 |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: io_add_notify() wasn't setting struct io.source_linenum |
85e2264f7d3b1a336ac5066c99130414dfc77902 |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: inotify doesn't need to watch for IN_CLOSE
This doesn't indicate that the file was modified. We don't care if some
reader accessed a watched file. |
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> |
0abbd167fe12a6b0aba98d38552f023a5fa8ffa7 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix |
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. |
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. :) |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
0536ccb51d41e3078c3a9fa33e509fb4b2420f95 |
|
21-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Renamed lib/*-internal.h files to lib/*-private.h for consistency. |
8d6a6eccd3f2e34df967b90bb45e20755241bdbb |
|
20-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
inotify: If read() fails with EAGAIN, ignore it instead of dying. |
1388b590dbd85245b591346f860bc1319953318a |
|
16-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Replaced "ioloop log" with a more generic "ioloop context".
The context can call multiple callbacks that can do anything they want,
including setting the log prefix. |
70afae43cc78ea6ecca83f6c587072c442a15ec1 |
|
17-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Replaced all getpw/gr*() to use i_getpw/gr*() with improved error handling. |
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. |
fdb97244fa45c32c3593726c15aa69ce29bc7121 |
|
11-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
Improved "Inotify instance limit exceeded" error message. |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
c7398cd92a003144358c121bdea63fba35b884ae |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
inotify: Give a better error message if user's watch limit exceeds.
--HG--
branch : HEAD |
306f6bb8791755257c0db900f17659402c660057 |
|
27-May-2009 |
Timo Sirainen <tss@iki.fi> |
Removed ioloop_timezone. It's not working nowadays.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
193f5296d2a6b847970c222d8a261b89aae46331 |
|
01-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Don't break if io_remove() or timeout_remove() are called for non-active ioloops.
--HG--
branch : HEAD |
d347e6fe2a08ec1514980f5bc4a958d6c01b4720 |
|
05-May-2008 |
Timo Sirainen <tss@iki.fi> |
If inotify_add_watch() fails, log an error.
--HG--
branch : HEAD |
dab3206fe802c4872c3a77dcf7500742929e637d |
|
05-May-2008 |
Timo Sirainen <tss@iki.fi> |
If inotify instance limit is reached, give a hint about max_user_instances
file that can be increased.
--HG--
branch : HEAD |
0a3d3ca7db7cbdc947ccabe740c40561b3f5c066 |
|
24-Apr-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed IO_NOTIFY_DISABLED to IO_NOTIFY_NOSUPPORT. IO_NOTIFY_NOSUPPORT is
now also given by dnotify when trying to listen for files. Fixes busy
looping with dnotify when waiting for dotlock to get deleted.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
5561fe7754843250d0f2701332f63467f77f71db |
|
16-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Don't disable inotify when seeing ESTALE errors.
--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 |
d514e6e6ea2320c18c58e0ade9184f5aa67d491b |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Listen for IN_DELETE_SELF too. Ignore EINVAL for inotify_rm_watch().
--HG--
branch : HEAD |
1964dbea138cb4a213b1bce1eeee68992b18829a |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Changed io_add_notify() API so that it can return "file doesn't exist"
error.
--HG--
branch : HEAD |
c8b29548f94160e0fe2f02e66d899d9e6cb495b3 |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
If inotify_init() fails with EMFILE, give an understandable error message.
--HG--
branch : HEAD |
dcc76bb1e1bb287e3e71e6a39a7ca207fab0eaa8 |
|
08-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Various cleanups to ioloop code.
--HG--
branch : HEAD |
36d2b3dc8766ef336a289a51075ca2f3236ef1ef |
|
18-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
If inotify_add_watch() fails with ESTALE, don't log an error.
--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 |
554560d3e21f729fc60ca1ca6697484598e81154 |
|
18-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix
--HG--
branch : HEAD |
283ccfe110ed62e48f36e0d84e47da8cae5106be |
|
28-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Cleanups: Make io_remove() do the linked list updating also for notify
handlers. Removed notify_context from struct io, and moved it to a new
struct inotify_io.
--HG--
branch : HEAD |
660b4d36110c44b1e4b4b45a78c22d1569ccdb54 |
|
17-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Changed linux/inotify* includes to sys/inotify.h (I thought I had done this
already).
--HG--
branch : HEAD |
2a4e8f370c566ffd360922227fc73d0ee36abee7 |
|
15-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Fixed
--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 |
6246b93fb37890dcb2f4df9896438f3f376ab284 |
|
14-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
New inotify code and notify API change. Patch by Johannes Berg
--HG--
branch : HEAD |
01c43cb586726efc06342114c0545db4b1733d2c |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Set close-on-exec flags for opened file descriptors.
--HG--
branch : HEAD |
c3ac8097a47d68f4aff946b18f12a17deb20a472 |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Compile fix
--HG--
branch : HEAD |
d6500661eb699ff335ac570c8646b6e067e1aac6 |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
If dnotify/inotify isn't in kernel, handle the errors silently and without
leaking.
--HG--
branch : HEAD |
9d7451b57769988f7e3e41cd8790e65429ffc5c7 |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Added inotify patch by Johannes Berg and did some restructuring to
ioloop notify internals.
--HG--
branch : HEAD |