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 | - move the darwin select workaround highe rin ev.c, as newre versions of |
4 | TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) |
4 | darwin managed to break their broken select even more. |
|
|
5 | - ANDROID => __ANDROID__ (reported by enh@google.com). |
|
|
6 | - disable epoll_create1 on android because it has broken header files |
|
|
7 | and google is unwilling to fix them (reported by enh@google.com). |
5 | |
8 | |
6 | TODO: document WSA_EV_USE_SOCKET in win32 part |
9 | 4.24 Wed Dec 28 05:19:55 CET 2016 |
7 | TODO: ^ OR use WSASend/WSARecv on the handle, which always works |
10 | - bump version to 4.24, as the release tarball inexplicably |
8 | TODO: faq, process a thing in each iteration |
11 | didn't have the right version in ev.h, even though the cvs-tagged |
|
|
12 | version did have the right one (reported by Ales Teska). |
|
|
13 | |
|
|
14 | 4.23 Wed Nov 16 18:23:41 CET 2016 |
|
|
15 | - move some declarations at the beginning to help certain retarded |
|
|
16 | microsoft compilers, even though their documentation claims |
|
|
17 | otherwise (reported by Ruslan Osmanov). |
|
|
18 | |
|
|
19 | 4.22 Sun Dec 20 22:11:50 CET 2015 |
|
|
20 | - when epoll detects unremovable fds in the fd set, rebuild |
|
|
21 | only the epoll descriptor, not the signal pipe, to avoid |
|
|
22 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
|
|
23 | so document what needs to be done in ev_loop_fork |
|
|
24 | (analyzed by Benjamin Mahler). |
|
|
25 | - remove superfluous sys/timeb.h include on win32 |
|
|
26 | (analyzed by Jason Madden). |
|
|
27 | - updated libecb. |
|
|
28 | |
|
|
29 | 4.20 Sat Jun 20 13:01:43 CEST 2015 |
|
|
30 | - prefer noexcept over throw () with C++ 11. |
|
|
31 | - update ecb.h due to incompatibilities with c11. |
|
|
32 | - fix a potential aliasing issue when reading and writing |
|
|
33 | watcher callbacks. |
|
|
34 | |
|
|
35 | 4.19 Thu Sep 25 08:18:25 CEST 2014 |
|
|
36 | - ev.h wasn't valid C++ anymore, which tripped compilers other than |
|
|
37 | clang, msvc or gcc (analyzed by Raphael 'kena' Poss). Unfortunately, |
|
|
38 | C++ doesn't support typedefs for function pointers fully, so the affected |
|
|
39 | declarations have to spell out the types each time. |
|
|
40 | - when not using autoconf, tighten the check for clock_gettime and related |
|
|
41 | functionality. |
|
|
42 | |
|
|
43 | 4.18 Fri Sep 5 17:55:26 CEST 2014 |
|
|
44 | - events on files were not always generated properly with the |
|
|
45 | epoll backend (testcase by Assaf Inbal). |
|
|
46 | - mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). |
|
|
47 | - (ecb) support m68k, m88k and sh (patch by Miod Vallat). |
|
|
48 | - use a reasonable fallback for EV_NSIG instead of erroring out |
|
|
49 | when we can't detect the signal set size. |
|
|
50 | - in the absence of autoconf, do not use the clock syscall |
|
|
51 | on glibc >= 2.17 (avoids the syscall AND -lrt on systems |
|
|
52 | doing clock_gettime in userspace). |
|
|
53 | - ensure extern "C" function pointers are used for externally-visible |
|
|
54 | loop callbacks (not watcher callbacks yet). |
|
|
55 | - (ecb) work around memory barriers and volatile apparently both being |
|
|
56 | broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). |
|
|
57 | |
|
|
58 | 4.15 Fri Mar 1 12:04:50 CET 2013 |
|
|
59 | - destroying a non-default loop would stop the global waitpid |
|
|
60 | watcher (Denis Bilenko). |
9 | - queueing pending watchers of higher priority from a watcher now invokes |
61 | - queueing pending watchers of higher priority from a watcher now invokes |
10 | them in a timely fashion (reported by Denis Bilenko). |
62 | them in a timely fashion (reported by Denis Bilenko). |
11 | - add throw() to all libev functions that cannot throw exceptions, for |
63 | - add throw() to all libev functions that cannot throw exceptions, for |
12 | further code size decrease when compiling for C++. |
64 | further code size decrease when compiling for C++. |
13 | - add throw () to callbacks that must not throw exceptions (allocator, |
65 | - add throw () to callbacks that must not throw exceptions (allocator, |
14 | syserr, loop acquire/release, periodic reschedule cbs). |
66 | syserr, loop acquire/release, periodic reschedule cbs). |
15 | - fix event_base_loop return code, add event_get_callback, event_base_new, |
67 | - 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 |
68 | 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). |
69 | 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 |
70 | - add more memory fences to fix a bug reported by Jeff Davey. Better |
19 | be overfenced than underprotected. |
71 | be overfenced than underprotected. |
20 | - ev_run now returns a boolean status (true meaning watchers are |
72 | - ev_run now returns a boolean status (true meaning watchers are |
21 | still active). |
73 | still active). |
22 | - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with |
74 | - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with |
… | |
… | |
24 | - (ecb) add memory fence support for xlC (Darin McBride). |
76 | - (ecb) add memory fence support for xlC (Darin McBride). |
25 | - (ecb) add memory fence support for gcc-mips (Anton Kirilov). |
77 | - (ecb) add memory fence support for gcc-mips (Anton Kirilov). |
26 | - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). |
78 | - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). |
27 | - work around some kernels losing file descriptors by leaking |
79 | - work around some kernels losing file descriptors by leaking |
28 | the kqueue descriptor in the child. |
80 | the kqueue descriptor in the child. |
|
|
81 | - work around linux inotify not reporting IN_ATTRIB changes for directories |
|
|
82 | in many cases. |
29 | - include sys/syscall.h instead of plain syscall.h. |
83 | - include sys/syscall.h instead of plain syscall.h. |
|
|
84 | - check for io watcher loops in ev_verify, check for the most |
|
|
85 | common reported usage bug in ev_io_start. |
|
|
86 | - choose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET. |
|
|
87 | - always use WSASend/WSARecv directly on windows, hoping that this |
|
|
88 | works in all cases (unlike read/write/send/recv...). |
|
|
89 | - try to detect signals around a fork faster (test program by |
|
|
90 | Denis Bilenko). |
|
|
91 | - work around recent glibc versions that leak memory in realloc. |
|
|
92 | - rename ev::embed::set to ev::embed::set_embed to avoid clashing |
|
|
93 | the watcher base set (loop) method. |
|
|
94 | - rewrite the async/signal pipe logic to always keep a valid fd, which |
|
|
95 | simplifies (and hopefully correctifies :) the race checking |
|
|
96 | on fork, at the cost of one extra fd. |
|
|
97 | - add fat, msdos, jffs2, ramfs, ntfs and btrfs to the list of |
|
|
98 | inotify-supporting filesystems. |
|
|
99 | - move orig_CFLAGS assignment to after AC_INIT, as newer autoconf |
|
|
100 | versions ignore it before |
|
|
101 | (https://bugzilla.redhat.com/show_bug.cgi?id=908096). |
|
|
102 | - add some untested android support. |
|
|
103 | - enum expressions must be of type int (reported by Juan Pablo L). |
30 | |
104 | |
31 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
105 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
32 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
106 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
33 | was documented already, but not implemented in the repeating case. |
107 | was documented already, but not implemented in the repeating case. |
34 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
108 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
… | |
… | |
218 | reinitialising the default loop actually works (patch by |
292 | reinitialising the default loop actually works (patch by |
219 | Malek Hadj-Ali). |
293 | Malek Hadj-Ali). |
220 | - implement ev_suspend and ev_resume. |
294 | - implement ev_suspend and ev_resume. |
221 | - new EV_CUSTOM revents flag for use by applications. |
295 | - new EV_CUSTOM revents flag for use by applications. |
222 | - add documentation section about priorities. |
296 | - add documentation section about priorities. |
223 | - add a glossary to the dcoumentation. |
297 | - add a glossary to the documentation. |
224 | - extend the ev_fork description slightly. |
298 | - extend the ev_fork description slightly. |
225 | - optimize a jump out of call_pending. |
299 | - optimize a jump out of call_pending. |
226 | |
300 | |
227 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
301 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
228 | - fix a bug in event pipe creation on win32 that would cause a |
302 | - fix a bug in event pipe creation on win32 that would cause a |