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 | 4.25 Fri Dec 21 07:49:20 CET 2018 |
4 | TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone) |
4 | - INCOMPATIBLE CHANGE: EV_THROW was renamed to EV_NOEXCEPT |
5 | TODO: faq, process a thing in each iteration |
5 | (EV_THROW sitll provided) and now uses noexcept on C++11 or newer. |
6 | TODO: dbeugging tips, ev_verify, ev_init twice |
6 | - move the darwin select workaround highe rin ev.c, as newer versions of |
|
|
7 | darwin managed to break their broken select even more. |
|
|
8 | - ANDROID => __ANDROID__ (reported by enh@google.com). |
|
|
9 | - disable epoll_create1 on android because it has broken header files |
|
|
10 | and google is unwilling to fix them (reported by enh@google.com). |
|
|
11 | - avoid a minor compilation warning on win32. |
|
|
12 | - c++: remove deprecated dynamic throw() specifications. |
|
|
13 | - c++: improve the (unsupported) bad_loop exception class. |
|
|
14 | - backport perl ev_periodic example to C, untested. |
|
|
15 | - update libecb, biggets change is to include a memory fence |
|
|
16 | in ECB_MEMORY_FENCE_RELEASE on x86/amd64. |
|
|
17 | - minor autoconf/automake modernisation. |
7 | |
18 | |
8 | TODO: ev_feed_child_event |
19 | 4.24 Wed Dec 28 05:19:55 CET 2016 |
9 | TODO: document the special problem of signals around fork. |
20 | - bump version to 4.24, as the release tarball inexplicably |
10 | TODO: store pid for each signal |
21 | didn't have the right version in ev.h, even though the cvs-tagged |
|
|
22 | version did have the right one (reported by Ales Teska). |
|
|
23 | |
|
|
24 | 4.23 Wed Nov 16 18:23:41 CET 2016 |
|
|
25 | - move some declarations at the beginning to help certain retarded |
|
|
26 | microsoft compilers, even though their documentation claims |
|
|
27 | otherwise (reported by Ruslan Osmanov). |
|
|
28 | |
|
|
29 | 4.22 Sun Dec 20 22:11:50 CET 2015 |
|
|
30 | - when epoll detects unremovable fds in the fd set, rebuild |
|
|
31 | only the epoll descriptor, not the signal pipe, to avoid |
|
|
32 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
|
|
33 | so document what needs to be done in ev_loop_fork |
|
|
34 | (analyzed by Benjamin Mahler). |
|
|
35 | - remove superfluous sys/timeb.h include on win32 |
|
|
36 | (analyzed by Jason Madden). |
|
|
37 | - updated libecb. |
|
|
38 | |
|
|
39 | 4.20 Sat Jun 20 13:01:43 CEST 2015 |
|
|
40 | - prefer noexcept over throw () with C++ 11. |
|
|
41 | - update ecb.h due to incompatibilities with c11. |
|
|
42 | - fix a potential aliasing issue when reading and writing |
|
|
43 | watcher callbacks. |
|
|
44 | |
|
|
45 | 4.19 Thu Sep 25 08:18:25 CEST 2014 |
|
|
46 | - ev.h wasn't valid C++ anymore, which tripped compilers other than |
|
|
47 | clang, msvc or gcc (analyzed by Raphael 'kena' Poss). Unfortunately, |
|
|
48 | C++ doesn't support typedefs for function pointers fully, so the affected |
|
|
49 | declarations have to spell out the types each time. |
|
|
50 | - when not using autoconf, tighten the check for clock_gettime and related |
|
|
51 | functionality. |
|
|
52 | |
|
|
53 | 4.18 Fri Sep 5 17:55:26 CEST 2014 |
|
|
54 | - events on files were not always generated properly with the |
|
|
55 | epoll backend (testcase by Assaf Inbal). |
|
|
56 | - mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). |
|
|
57 | - (ecb) support m68k, m88k and sh (patch by Miod Vallat). |
|
|
58 | - use a reasonable fallback for EV_NSIG instead of erroring out |
|
|
59 | when we can't detect the signal set size. |
|
|
60 | - in the absence of autoconf, do not use the clock syscall |
|
|
61 | on glibc >= 2.17 (avoids the syscall AND -lrt on systems |
|
|
62 | doing clock_gettime in userspace). |
|
|
63 | - ensure extern "C" function pointers are used for externally-visible |
|
|
64 | loop callbacks (not watcher callbacks yet). |
|
|
65 | - (ecb) work around memory barriers and volatile apparently both being |
|
|
66 | broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). |
|
|
67 | |
|
|
68 | 4.15 Fri Mar 1 12:04:50 CET 2013 |
11 | - destroying a non-default loop would stop the global waitpid |
69 | - destroying a non-default loop would stop the global waitpid |
12 | watcher (Denis Bilenko). |
70 | watcher (Denis Bilenko). |
13 | - queueing pending watchers of higher priority from a watcher now invokes |
71 | - queueing pending watchers of higher priority from a watcher now invokes |
14 | them in a timely fashion (reported by Denis Bilenko). |
72 | them in a timely fashion (reported by Denis Bilenko). |
15 | - add throw() to all libev functions that cannot throw exceptions, for |
73 | - add throw() to all libev functions that cannot throw exceptions, for |
… | |
… | |
28 | - (ecb) add memory fence support for xlC (Darin McBride). |
86 | - (ecb) add memory fence support for xlC (Darin McBride). |
29 | - (ecb) add memory fence support for gcc-mips (Anton Kirilov). |
87 | - (ecb) add memory fence support for gcc-mips (Anton Kirilov). |
30 | - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). |
88 | - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). |
31 | - work around some kernels losing file descriptors by leaking |
89 | - work around some kernels losing file descriptors by leaking |
32 | the kqueue descriptor in the child. |
90 | the kqueue descriptor in the child. |
|
|
91 | - work around linux inotify not reporting IN_ATTRIB changes for directories |
|
|
92 | in many cases. |
33 | - include sys/syscall.h instead of plain syscall.h. |
93 | - include sys/syscall.h instead of plain syscall.h. |
34 | - check for io watcher loops in ev_verify, check for the most |
94 | - check for io watcher loops in ev_verify, check for the most |
35 | common reported usage bug in ev_io_start. |
95 | common reported usage bug in ev_io_start. |
36 | - chose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET. |
96 | - choose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET. |
37 | - always use WSASend/WSARecv directly on windows, hoping that this |
97 | - always use WSASend/WSARecv directly on windows, hoping that this |
38 | works in all cases (unlike read/write/send/recv...). |
98 | works in all cases (unlike read/write/send/recv...). |
39 | - try to detect signals around a fork faster (test program by |
99 | - try to detect signals around a fork faster (test program by |
40 | Denis Bilenko). |
100 | Denis Bilenko). |
41 | - work around recent glibc versions that leak memory in realloc. |
101 | - work around recent glibc versions that leak memory in realloc. |
42 | - rename ev::embed::set to ev::embed::set_embed to avoid clashing |
102 | - rename ev::embed::set to ev::embed::set_embed to avoid clashing |
43 | the watcher base set (loop) method. |
103 | the watcher base set (loop) method. |
|
|
104 | - rewrite the async/signal pipe logic to always keep a valid fd, which |
|
|
105 | simplifies (and hopefully correctifies :) the race checking |
|
|
106 | on fork, at the cost of one extra fd. |
|
|
107 | - add fat, msdos, jffs2, ramfs, ntfs and btrfs to the list of |
|
|
108 | inotify-supporting filesystems. |
|
|
109 | - move orig_CFLAGS assignment to after AC_INIT, as newer autoconf |
|
|
110 | versions ignore it before |
|
|
111 | (https://bugzilla.redhat.com/show_bug.cgi?id=908096). |
|
|
112 | - add some untested android support. |
|
|
113 | - enum expressions must be of type int (reported by Juan Pablo L). |
44 | |
114 | |
45 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
115 | 4.11 Sat Feb 4 19:52:39 CET 2012 |
46 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
116 | - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as |
47 | was documented already, but not implemented in the repeating case. |
117 | was documented already, but not implemented in the repeating case. |
48 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
118 | - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. |
… | |
… | |
232 | reinitialising the default loop actually works (patch by |
302 | reinitialising the default loop actually works (patch by |
233 | Malek Hadj-Ali). |
303 | Malek Hadj-Ali). |
234 | - implement ev_suspend and ev_resume. |
304 | - implement ev_suspend and ev_resume. |
235 | - new EV_CUSTOM revents flag for use by applications. |
305 | - new EV_CUSTOM revents flag for use by applications. |
236 | - add documentation section about priorities. |
306 | - add documentation section about priorities. |
237 | - add a glossary to the dcoumentation. |
307 | - add a glossary to the documentation. |
238 | - extend the ev_fork description slightly. |
308 | - extend the ev_fork description slightly. |
239 | - optimize a jump out of call_pending. |
309 | - optimize a jump out of call_pending. |
240 | |
310 | |
241 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
311 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
242 | - fix a bug in event pipe creation on win32 that would cause a |
312 | - fix a bug in event pipe creation on win32 that would cause a |