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 |
3 | TODO: ev_loop_wakeup |
4 | TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) |
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: faq, process a thing in each iteration |
5 | TODO: faq, process a thing in each iteration |
|
|
6 | TODO: dbeugging tips, ev_verify, ev_init twice |
|
|
7 | TODO: ev_break for immediate exit (EVBREAK_NOW?) |
|
|
8 | TODO: ev_feed_child_event |
|
|
9 | TODO: document the special problem of signals around fork. |
|
|
10 | TODO: store pid for each signal |
|
|
11 | TODO: document file descriptor usage per loop |
|
|
12 | TODO: store loop pid_t and compare isndie signal handler,store 1 for same, 2 for differign pid, clean up in loop_fork |
|
|
13 | TODO: embed watchers need updating when fd changes |
|
|
14 | TODO: document portbaility requirements for atomic pointer access |
|
|
15 | TODO: possible cb aliasing? |
|
|
16 | TODO: document requirements for function piinters and calling conventions. |
|
|
17 | |
|
|
18 | - mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). |
|
|
19 | - (ecb) support m68k, m88k and sh (patch by Miod Vallat). |
|
|
20 | - use a reasonable fallback for EV_NSIG instead of erroring out |
|
|
21 | when we can't detect the signal set size. |
|
|
22 | - in the absence of autoconf, do not use the clock syscall |
|
|
23 | on glibc >= 2.17 (avoids the syscall AND -lrt on systems |
|
|
24 | doing clock_gettime in userspace). |
|
|
25 | - ensure extern "C" function pointers are used for externally-visible |
|
|
26 | loop callbacks (not watcher callbacks yet). |
|
|
27 | - (ecb) work around memory barriers and volatile apparently both being |
|
|
28 | broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). |
|
|
29 | |
|
|
30 | 4.15 Fri Mar 1 12:04:50 CET 2013 |
|
|
31 | - destroying a non-default loop would stop the global waitpid |
|
|
32 | watcher (Denis Bilenko). |
9 | - queueing pending watchers of higher priority from a watcher now invokes |
33 | - queueing pending watchers of higher priority from a watcher now invokes |
10 | them in a timely fashion (reported by Denis Bilenko). |
34 | them in a timely fashion (reported by Denis Bilenko). |
11 | - add throw() to all libev functions that cannot throw exceptions, for |
35 | - add throw() to all libev functions that cannot throw exceptions, for |
12 | further code size decrease when compiling for C++. |
36 | further code size decrease when compiling for C++. |
13 | - add throw () to callbacks that must not throw exceptions (allocator, |
37 | - add throw () to callbacks that must not throw exceptions (allocator, |
14 | syserr, loop acquire/release, periodic reschedule cbs). |
38 | syserr, loop acquire/release, periodic reschedule cbs). |
15 | - fix event_base_loop return code, add event_get_callback, event_base_new, |
39 | - fix event_base_loop return code, add event_get_callback, event_base_new, |
16 | event_base_get_method calls to improve libevent 1.x emulation and add |
40 | event_base_get_method calls to improve libevent 1.x emulation and add |
17 | some libevent 2.x funcitonality (based on a patch by Jeff Davey). |
41 | some libevent 2.x functionality (based on a patch by Jeff Davey). |
18 | - add more memory fences to fix a bug reported by Jeff Davey. Better |
42 | - add more memory fences to fix a bug reported by Jeff Davey. Better |
19 | be overfenced than underprotected. |
43 | be overfenced than underprotected. |
20 | - ev_run now returns a boolean status (true meaning watchers are |
44 | - ev_run now returns a boolean status (true meaning watchers are |
21 | still active). |
45 | still active). |
22 | - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with |
46 | - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with |
… | |
… | |
24 | - (ecb) add memory fence support for xlC (Darin McBride). |
48 | - (ecb) add memory fence support for xlC (Darin McBride). |
25 | - (ecb) add memory fence support for gcc-mips (Anton Kirilov). |
49 | - (ecb) add memory fence support for gcc-mips (Anton Kirilov). |
26 | - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). |
50 | - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). |
27 | - work around some kernels losing file descriptors by leaking |
51 | - work around some kernels losing file descriptors by leaking |
28 | the kqueue descriptor in the child. |
52 | the kqueue descriptor in the child. |
|
|
53 | - work around linux inotify not reporting IN_ATTRIB changes for directories |
|
|
54 | in many cases. |
29 | - include sys/syscall.h instead of plain syscall.h. |
55 | - include sys/syscall.h instead of plain syscall.h. |
30 | - check for io watcher loops in ev_verify, check for the most |
56 | - check for io watcher loops in ev_verify, check for the most |
31 | common reported usage bug in ev_io_start. |
57 | common reported usage bug in ev_io_start. |
|
|
58 | - choose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET. |
|
|
59 | - always use WSASend/WSARecv directly on windows, hoping that this |
|
|
60 | works in all cases (unlike read/write/send/recv...). |
|
|
61 | - try to detect signals around a fork faster (test program by |
|
|
62 | Denis Bilenko). |
|
|
63 | - work around recent glibc versions that leak memory in realloc. |
|
|
64 | - rename ev::embed::set to ev::embed::set_embed to avoid clashing |
|
|
65 | the watcher base set (loop) method. |
|
|
66 | - rewrite the async/signal pipe logic to always keep a valid fd, which |
|
|
67 | simplifies (and hopefully correctifies :) the race checking |
|
|
68 | on fork, at the cost of one extra fd. |
|
|
69 | - add fat, msdos, jffs2, ramfs, ntfs and btrfs to the list of |
|
|
70 | inotify-supporting filesystems. |
|
|
71 | - move orig_CFLAGS assignment to after AC_INIT, as newer autoconf |
|
|
72 | versions ignore it before |
|
|
73 | (https://bugzilla.redhat.com/show_bug.cgi?id=908096). |
|
|
74 | - add some untested android support. |
|
|
75 | - enum expressions must be of type int (reported by Juan Pablo L). |
32 | |
76 | |
33 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
77 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
34 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
78 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
35 | was documented already, but not implemented in the repeating case. |
79 | was documented already, but not implemented in the repeating case. |
36 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
80 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
… | |
… | |
220 | reinitialising the default loop actually works (patch by |
264 | reinitialising the default loop actually works (patch by |
221 | Malek Hadj-Ali). |
265 | Malek Hadj-Ali). |
222 | - implement ev_suspend and ev_resume. |
266 | - implement ev_suspend and ev_resume. |
223 | - new EV_CUSTOM revents flag for use by applications. |
267 | - new EV_CUSTOM revents flag for use by applications. |
224 | - add documentation section about priorities. |
268 | - add documentation section about priorities. |
225 | - add a glossary to the dcoumentation. |
269 | - add a glossary to the documentation. |
226 | - extend the ev_fork description slightly. |
270 | - extend the ev_fork description slightly. |
227 | - optimize a jump out of call_pending. |
271 | - optimize a jump out of call_pending. |
228 | |
272 | |
229 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
273 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
230 | - fix a bug in event pipe creation on win32 that would cause a |
274 | - fix a bug in event pipe creation on win32 that would cause a |