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: include ev_xyz_start in each example? |
3 | TODO: ev_loop_wakeup |
4 | TODO: which supports signals and child events |
4 | |
5 | TODO: pointer races |
5 | TODO: EV_NO_THREADS/NO_SMP and/or EV_USE_PTHREADS or so. also document. |
6 | TODO: ev_default_destroy, ev_default_fork |
6 | TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) |
|
|
7 | TODO: memory fences for clang |
|
|
8 | TODO: fix repeat=0 in http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Be_smart_about_timeouts |
|
|
9 | 4.10 |
|
|
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. |
|
|
44 | - support files, /dev/zero etc. the same way as select in the epoll |
|
|
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). |
|
|
50 | - define EV_READ/EV_WRITE as macros in event.h, as some programs use |
|
|
51 | #ifdef to test for them. |
|
|
52 | - new (experimental) function: ev_feed_signal. |
|
|
53 | - new (to become default) EVFLAG_NOSIGMASK flag. |
|
|
54 | - new EVBACKEND_MASK symbol. |
|
|
55 | - updated COMMON IDIOMS SECTION. |
|
|
56 | |
|
|
57 | 4.01 Fri Nov 5 21:51:29 CET 2010 |
|
|
58 | - automake fucked it up, apparently, --add-missing -f is not quite enough |
|
|
59 | to make it update its files, so 4.00 didn't install ev++.h and |
|
|
60 | event.h on make install. grrr. |
|
|
61 | - ev_loop(count|depth) didn't return anything (Robin Haberkorn). |
|
|
62 | - change EV_UNDEF to 0xffffffff to silence some overzealous compilers. |
|
|
63 | - use "(libev) " prefix for all libev error messages now. |
|
|
64 | |
|
|
65 | 4.00 Mon Oct 25 12:32:12 CEST 2010 |
7 | - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. |
66 | - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. |
8 | - ev_embed_stop did not correctly stop the watcher (very good |
67 | - ev_embed_stop did not correctly stop the watcher (very good |
9 | testcase by Vladimir Timofeev). |
68 | testcase by Vladimir Timofeev). |
10 | - ev_run will now always update the current loop time - it erroneously |
69 | - ev_run will now always update the current loop time - it erroneously |
11 | didn't when idle watchers were active, causing timers not to fire. |
70 | didn't when idle watchers were active, causing timers not to fire. |
… | |
… | |
63 | catch race conditions, but the users have spoken. |
122 | catch race conditions, but the users have spoken. |
64 | - point out the unspecified signal mask in the documentation, and |
123 | - point out the unspecified signal mask in the documentation, and |
65 | that this is a race condition regardless of EV_SIGNALFD. |
124 | that this is a race condition regardless of EV_SIGNALFD. |
66 | - backport inotify code to C89. |
125 | - backport inotify code to C89. |
67 | - inotify file descriptors could leak into child processes. |
126 | - inotify file descriptors could leak into child processes. |
68 | - 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, |
69 | preventing exit when unregistering all watchers (testcases |
128 | preventing exit when unregistering all watchers (testcases |
70 | provided by ry@tinyclouds.org). |
129 | provided by ry@tinyclouds.org). |
71 | - 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 |
72 | 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. |
73 | - support EV_IDLE_ENABLE being disabled in ev++.h |
132 | - support EV_IDLE_ENABLE being disabled in ev++.h |
… | |
… | |
131 | - correctly zero the idx values for arrays, so destroying and |
190 | - correctly zero the idx values for arrays, so destroying and |
132 | reinitialising the default loop actually works (patch by |
191 | reinitialising the default loop actually works (patch by |
133 | Malek Hadj-Ali). |
192 | Malek Hadj-Ali). |
134 | - implement ev_suspend and ev_resume. |
193 | - implement ev_suspend and ev_resume. |
135 | - new EV_CUSTOM revents flag for use by applications. |
194 | - new EV_CUSTOM revents flag for use by applications. |
136 | - add documentation section about priorites. |
195 | - add documentation section about priorities. |
137 | - add a glossary to the dcoumentation. |
196 | - add a glossary to the dcoumentation. |
138 | - extend the ev_fork description slightly. |
197 | - extend the ev_fork description slightly. |
139 | - optimize a jump out of call_pending. |
198 | - optimize a jump out of call_pending. |
140 | |
199 | |
141 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
200 | 3.53 Sun Feb 15 02:38:20 CET 2009 |