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: move some other examples to common idioms? combining watchers, |
3 | TODO: ev_loop_wakeup |
4 | thread usage, coroutine switch? |
|
|
5 | |
4 | |
6 | TODO: frankenpoll |
5 | TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) |
7 | TODO: allow files and so on |
6 | 4.11 |
8 | 4.03 |
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 | |
|
|
33 | 4.04 Wed Feb 16 09:01:51 CET 2011 |
|
|
34 | - fix two problems in the native win32 backend, where reuse of fd's |
|
|
35 | with different underlying handles caused handles not to be removed |
|
|
36 | or added to the select set (analyzed and tested by Bert Belder). |
|
|
37 | - do no rely on ceil() in ev_e?poll.c. |
|
|
38 | - backport libev to HP-UX versions before 11 v3. |
|
|
39 | - configure did not detect nanosleep and clock_gettime properly when |
|
|
40 | they are available in the libc (as opposed to -lrt). |
|
|
41 | |
|
|
42 | 4.03 Tue Jan 11 14:37:25 CET 2011 |
|
|
43 | - officially support polling files with all backends. |
9 | - support files, /dev/zero etc. the same way as select in the epoll |
44 | - support files, /dev/zero etc. the same way as select in the epoll |
10 | backend, by generating events on our own. |
45 | backend, by generating events on our own. |
|
|
46 | - ports backend: work around solaris bug 6874410 and many related ones |
|
|
47 | (EINTR, maybe more), with no performance loss (note that the solaris |
|
|
48 | bug report is actually wrong, reality is far more bizarre and broken |
|
|
49 | than that). |
11 | - define EV_READ/EV_WRITE as macros in event.h, as some programs use |
50 | - define EV_READ/EV_WRITE as macros in event.h, as some programs use |
12 | #ifdef to test for them. |
51 | #ifdef to test for them. |
13 | - new (experimental) function: ev_feed_signal. |
52 | - new (experimental) function: ev_feed_signal. |
14 | - new (to become default) EVFLAG_NOSIGMASK flag. |
53 | - new (to become default) EVFLAG_NOSIGMASK flag. |
15 | - new EVBACKEND_MASK symbol. |
54 | - new EVBACKEND_MASK symbol. |
16 | - ports backend: work around solaris bug 6874410 and many related ones |
55 | - updated COMMON IDIOMS SECTION. |
17 | (EINTR, maybe more), with no performance loss (note that the solaris |
|
|
18 | bug report is actually wrong, reality is far more bizarre and broken |
|
|
19 | than that). |
|
|
20 | |
56 | |
21 | 4.01 Fri Nov 5 21:51:29 CET 2010 |
57 | 4.01 Fri Nov 5 21:51:29 CET 2010 |
22 | - automake fucked it up, apparently, --add-missing -f is not quite enough |
58 | - automake fucked it up, apparently, --add-missing -f is not quite enough |
23 | to make it update its files, so 4.00 didn't install ev++.h and |
59 | to make it update its files, so 4.00 didn't install ev++.h and |
24 | event.h on make install. grrr. |
60 | event.h on make install. grrr. |
… | |
… | |
86 | catch race conditions, but the users have spoken. |
122 | catch race conditions, but the users have spoken. |
87 | - point out the unspecified signal mask in the documentation, and |
123 | - point out the unspecified signal mask in the documentation, and |
88 | that this is a race condition regardless of EV_SIGNALFD. |
124 | that this is a race condition regardless of EV_SIGNALFD. |
89 | - backport inotify code to C89. |
125 | - backport inotify code to C89. |
90 | - inotify file descriptors could leak into child processes. |
126 | - inotify file descriptors could leak into child processes. |
91 | - ev_stat watchers could keep an errornous extra ref on the loop, |
127 | - ev_stat watchers could keep an erroneous extra ref on the loop, |
92 | preventing exit when unregistering all watchers (testcases |
128 | preventing exit when unregistering all watchers (testcases |
93 | provided by ry@tinyclouds.org). |
129 | provided by ry@tinyclouds.org). |
94 | - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration |
130 | - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration |
95 | symbols to make it easier for apps to do their own fd management. |
131 | symbols to make it easier for apps to do their own fd management. |
96 | - support EV_IDLE_ENABLE being disabled in ev++.h |
132 | - support EV_IDLE_ENABLE being disabled in ev++.h |
… | |
… | |
154 | - correctly zero the idx values for arrays, so destroying and |
190 | - correctly zero the idx values for arrays, so destroying and |
155 | reinitialising the default loop actually works (patch by |
191 | reinitialising the default loop actually works (patch by |
156 | Malek Hadj-Ali). |
192 | Malek Hadj-Ali). |
157 | - implement ev_suspend and ev_resume. |
193 | - implement ev_suspend and ev_resume. |
158 | - new EV_CUSTOM revents flag for use by applications. |
194 | - new EV_CUSTOM revents flag for use by applications. |
159 | - add documentation section about priorites. |
195 | - add documentation section about priorities. |
160 | - add a glossary to the dcoumentation. |
196 | - add a glossary to the dcoumentation. |
161 | - extend the ev_fork description slightly. |
197 | - extend the ev_fork description slightly. |
162 | - optimize a jump out of call_pending. |
198 | - optimize a jump out of call_pending. |
163 | |
199 | |
164 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
200 | 3.53 Sun Feb 15 02:38:20 CET 2009 |