1 | Revision history for libev, a high-performance and full-featured event loop. |
1 | Revision history for libev, a high-performance and full-featured event loop. |
2 | |
2 | |
|
|
3 | TODO: ev_loop_wakeup |
|
|
4 | TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) |
|
|
5 | |
|
|
6 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
|
|
7 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
|
|
8 | was documented already, but not implemented in the repeating case. |
|
|
9 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
|
|
10 | - fix a race where the workaround against the epoll fork bugs |
|
|
11 | caused signals to not be handled anymore. |
|
|
12 | - correct backend_fudge for most backends, and implement a windows |
|
|
13 | specific workaround to avoid looping because we call both |
|
|
14 | select and Sleep, both with different time resolutions. |
|
|
15 | - document range and guarantees of ev_sleep. |
|
|
16 | - document reasonable ranges for periodics interval and offset. |
|
|
17 | - rename backend_fudge to backend_mintime to avoid future confusion :) |
|
|
18 | - change the default periodic reschedule function to hopefully be more |
|
|
19 | exact and correct even in corner cases or in the far future. |
|
|
20 | - do not rely on -lm anymore: use it when available but use our |
|
|
21 | own floor () if it is missing. This should make it easier to embed, |
|
|
22 | as no external libraries are required. |
|
|
23 | - strategically import macros from libecb and mark rarely-used functions |
|
|
24 | as cache-cold (saving almost 2k code size on typical amd64 setups). |
|
|
25 | - add Symbols.ev and Symbols.event files, that were missing. |
|
|
26 | - fix backend_mintime value for epoll (was 1/1024, is 1/1000 now). |
|
|
27 | - fix #3 "be smart about timeouts" to not "deadlock" when |
|
|
28 | timeout == now, also improve the section overall. |
|
|
29 | - avoid "AVOIDING FINISHING BEFORE RETURNING" idiom. |
|
|
30 | - support new EV_API_STATIC mode to make all libev symbols |
|
|
31 | static. |
|
|
32 | - supply default CFLAGS of -g -O3 with gcc when original CFLAGS |
|
|
33 | were empty. |
|
|
34 | |
|
|
35 | 4.04 Wed Feb 16 09:01:51 CET 2011 |
|
|
36 | - fix two problems in the native win32 backend, where reuse of fd's |
|
|
37 | with different underlying handles caused handles not to be removed |
|
|
38 | or added to the select set (analyzed and tested by Bert Belder). |
|
|
39 | - do no rely on ceil() in ev_e?poll.c. |
|
|
40 | - backport libev to HP-UX versions before 11 v3. |
|
|
41 | - configure did not detect nanosleep and clock_gettime properly when |
|
|
42 | they are available in the libc (as opposed to -lrt). |
|
|
43 | |
|
|
44 | 4.03 Tue Jan 11 14:37:25 CET 2011 |
|
|
45 | - officially support polling files with all backends. |
|
|
46 | - support files, /dev/zero etc. the same way as select in the epoll |
|
|
47 | backend, by generating events on our own. |
|
|
48 | - ports backend: work around solaris bug 6874410 and many related ones |
|
|
49 | (EINTR, maybe more), with no performance loss (note that the solaris |
|
|
50 | bug report is actually wrong, reality is far more bizarre and broken |
|
|
51 | than that). |
|
|
52 | - define EV_READ/EV_WRITE as macros in event.h, as some programs use |
|
|
53 | #ifdef to test for them. |
|
|
54 | - new (experimental) function: ev_feed_signal. |
|
|
55 | - new (to become default) EVFLAG_NOSIGMASK flag. |
|
|
56 | - new EVBACKEND_MASK symbol. |
|
|
57 | - updated COMMON IDIOMS SECTION. |
|
|
58 | |
|
|
59 | 4.01 Fri Nov 5 21:51:29 CET 2010 |
|
|
60 | - automake fucked it up, apparently, --add-missing -f is not quite enough |
|
|
61 | to make it update its files, so 4.00 didn't install ev++.h and |
|
|
62 | event.h on make install. grrr. |
|
|
63 | - ev_loop(count|depth) didn't return anything (Robin Haberkorn). |
3 | - change EV_UNDEF to 0xffffffff to silence some overzealous compilers. |
64 | - change EV_UNDEF to 0xffffffff to silence some overzealous compilers. |
|
|
65 | - use "(libev) " prefix for all libev error messages now. |
4 | |
66 | |
5 | 4.00 Mon Oct 25 12:32:12 CEST 2010 |
67 | 4.00 Mon Oct 25 12:32:12 CEST 2010 |
6 | - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. |
68 | - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. |
7 | - ev_embed_stop did not correctly stop the watcher (very good |
69 | - ev_embed_stop did not correctly stop the watcher (very good |
8 | testcase by Vladimir Timofeev). |
70 | testcase by Vladimir Timofeev). |
… | |
… | |
62 | catch race conditions, but the users have spoken. |
124 | catch race conditions, but the users have spoken. |
63 | - point out the unspecified signal mask in the documentation, and |
125 | - point out the unspecified signal mask in the documentation, and |
64 | that this is a race condition regardless of EV_SIGNALFD. |
126 | that this is a race condition regardless of EV_SIGNALFD. |
65 | - backport inotify code to C89. |
127 | - backport inotify code to C89. |
66 | - inotify file descriptors could leak into child processes. |
128 | - inotify file descriptors could leak into child processes. |
67 | - ev_stat watchers could keep an errornous extra ref on the loop, |
129 | - ev_stat watchers could keep an erroneous extra ref on the loop, |
68 | preventing exit when unregistering all watchers (testcases |
130 | preventing exit when unregistering all watchers (testcases |
69 | provided by ry@tinyclouds.org). |
131 | provided by ry@tinyclouds.org). |
70 | - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration |
132 | - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration |
71 | symbols to make it easier for apps to do their own fd management. |
133 | symbols to make it easier for apps to do their own fd management. |
72 | - support EV_IDLE_ENABLE being disabled in ev++.h |
134 | - support EV_IDLE_ENABLE being disabled in ev++.h |
… | |
… | |
130 | - correctly zero the idx values for arrays, so destroying and |
192 | - correctly zero the idx values for arrays, so destroying and |
131 | reinitialising the default loop actually works (patch by |
193 | reinitialising the default loop actually works (patch by |
132 | Malek Hadj-Ali). |
194 | Malek Hadj-Ali). |
133 | - implement ev_suspend and ev_resume. |
195 | - implement ev_suspend and ev_resume. |
134 | - new EV_CUSTOM revents flag for use by applications. |
196 | - new EV_CUSTOM revents flag for use by applications. |
135 | - add documentation section about priorites. |
197 | - add documentation section about priorities. |
136 | - add a glossary to the dcoumentation. |
198 | - add a glossary to the dcoumentation. |
137 | - extend the ev_fork description slightly. |
199 | - extend the ev_fork description slightly. |
138 | - optimize a jump out of call_pending. |
200 | - optimize a jump out of call_pending. |
139 | |
201 | |
140 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
202 | 3.53 Sun Feb 15 02:38:20 CET 2009 |