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