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 | 4.03 Tue Jan 11 14:37:25 CET 2011 |
4 | TODO: ev_pdef stupid idea? |
4 | - officially support polling files with all backends. |
5 | TODO: EVRUN_XXX? |
5 | - support files, /dev/zero etc. the same way as select in the epoll |
|
|
6 | backend, by generating events on our own. |
|
|
7 | - ports backend: work around solaris bug 6874410 and many related ones |
|
|
8 | (EINTR, maybe more), with no performance loss (note that the solaris |
|
|
9 | bug report is actually wrong, reality is far more bizarre and broken |
|
|
10 | than that). |
|
|
11 | - define EV_READ/EV_WRITE as macros in event.h, as some programs use |
|
|
12 | #ifdef to test for them. |
|
|
13 | - new (experimental) function: ev_feed_signal. |
|
|
14 | - new (to become default) EVFLAG_NOSIGMASK flag. |
|
|
15 | - new EVBACKEND_MASK symbol. |
|
|
16 | - updated COMMON IDIOMS SECTION. |
|
|
17 | |
|
|
18 | 4.01 Fri Nov 5 21:51:29 CET 2010 |
|
|
19 | - automake fucked it up, apparently, --add-missing -f is not quite enough |
|
|
20 | to make it update its files, so 4.00 didn't install ev++.h and |
|
|
21 | event.h on make install. grrr. |
|
|
22 | - ev_loop(count|depth) didn't return anything (Robin Haberkorn). |
|
|
23 | - change EV_UNDEF to 0xffffffff to silence some overzealous compilers. |
|
|
24 | - use "(libev) " prefix for all libev error messages now. |
|
|
25 | |
|
|
26 | 4.00 Mon Oct 25 12:32:12 CEST 2010 |
6 | - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. |
27 | - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. |
7 | - ev_embed_stop did not correctly stop the watcher (very good |
28 | - ev_embed_stop did not correctly stop the watcher (very good |
8 | testcase by Vladimir Timofeev). |
29 | testcase by Vladimir Timofeev). |
9 | - ev_run will now always update the current loop time - it erroneously |
30 | - ev_run will now always update the current loop time - it erroneously |
10 | didn't when idle watchers were active, causing timers not to fire. |
31 | didn't when idle watchers were active, causing timers not to fire. |
… | |
… | |
12 | in the libevent emulation (testcase by Péter Szabó). |
33 | in the libevent emulation (testcase by Péter Szabó). |
13 | - applied win32 fixes by Michael Lenaghan (also James Mansion). |
34 | - applied win32 fixes by Michael Lenaghan (also James Mansion). |
14 | - replace EV_MINIMAL by EV_FEATURES. |
35 | - replace EV_MINIMAL by EV_FEATURES. |
15 | - prefer EPOLL_CTL_ADD over EPOLL_CTL_MOD in some more cases, as it |
36 | - prefer EPOLL_CTL_ADD over EPOLL_CTL_MOD in some more cases, as it |
16 | seems the former is *much* faster than the latter. |
37 | seems the former is *much* faster than the latter. |
|
|
38 | - linux kernel version detection (for inotify bug workarounds) |
|
|
39 | did not work properly. |
17 | - reduce the number of spurious wake-ups with the ports backend. |
40 | - reduce the number of spurious wake-ups with the ports backend. |
18 | - remove dependency on sys/queue.h on freebsd (patch by Vanilla Hsu). |
41 | - remove dependency on sys/queue.h on freebsd (patch by Vanilla Hsu). |
19 | - do async init within ev_async_start, not ev_async_set, which avoids |
42 | - do async init within ev_async_start, not ev_async_set, which avoids |
20 | an API quirk where the set function must be called in the C++ API |
43 | an API quirk where the set function must be called in the C++ API |
21 | even when there is nothing to set. |
44 | even when there is nothing to set. |
22 | - add (undocumented) EV_ENABLE when adding events with kqueue, |
45 | - add (undocumented) EV_ENABLE when adding events with kqueue, |
23 | this might help with OS X, which seems to need it despite documenting |
46 | this might help with OS X, which seems to need it despite documenting |
24 | not to need it (helpfully pointed out by Tilghman Lesher). |
47 | not to need it (helpfully pointed out by Tilghman Lesher). |
25 | - do not use poll by default on freebsd, it's broken (what isn't |
48 | - do not use poll by default on freebsd, it's broken (what isn't |
26 | on freebsd...). |
49 | on freebsd...). |
|
|
50 | - allow to embed epoll on kernels >= 2.6.32. |
27 | - configure now prepends -O3, not appends it, so one can still |
51 | - configure now prepends -O3, not appends it, so one can still |
28 | override it. |
52 | override it. |
29 | - ev.pod: greatly expanded the portability section, added a porting |
53 | - ev.pod: greatly expanded the portability section, added a porting |
30 | section, a description of watcher states and made lots of minor fixes. |
54 | section, a description of watcher states and made lots of minor fixes. |
31 | - disable poll backend on AIX, the poll header spams the namespace |
55 | - disable poll backend on AIX, the poll header spams the namespace |
… | |
… | |
39 | - new EV_CHILD_ENABLE and EV_SIGNAL_ENABLE configurable settings. |
63 | - new EV_CHILD_ENABLE and EV_SIGNAL_ENABLE configurable settings. |
40 | - update libev.m4 HAVE_CLOCK_SYSCALL test for newer glibcs. |
64 | - update libev.m4 HAVE_CLOCK_SYSCALL test for newer glibcs. |
41 | - add section on accept() problems to the manpage. |
65 | - add section on accept() problems to the manpage. |
42 | - rename EV_TIMEOUT to EV_TIMER. |
66 | - rename EV_TIMEOUT to EV_TIMER. |
43 | - rename ev_loop_count/depth/verify/loop/unloop. |
67 | - rename ev_loop_count/depth/verify/loop/unloop. |
|
|
68 | - remove ev_default_destroy and ev_default_fork. |
44 | - switch to two-digit minor version. |
69 | - switch to two-digit minor version. |
45 | - work around an apparent gentoo compiler bug. |
70 | - work around an apparent gentoo compiler bug. |
46 | - define _DARWIN_UNLIMITED_SELECT. just so. |
71 | - define _DARWIN_UNLIMITED_SELECT. just so. |
47 | - use enum instead of #define for most constants. |
72 | - use enum instead of #define for most constants. |
48 | - improve compatibility to older C++ compilers. |
73 | - improve compatibility to older C++ compilers. |
49 | - (experimental) ev_run/ev_default_loop/ev_break/ev_loop_new have now |
74 | - (experimental) ev_run/ev_default_loop/ev_break/ev_loop_new have now |
50 | default arguments when compiled as C++. |
75 | default arguments when compiled as C++. |
|
|
76 | - enable automake dependency tracking. |
|
|
77 | - ev_loop_new no longer leaks memory when loop creation failed. |
|
|
78 | - new ev_cleanup watcher type. |
51 | |
79 | |
52 | 3.9 Thu Dec 31 07:59:59 CET 2009 |
80 | 3.9 Thu Dec 31 07:59:59 CET 2009 |
53 | - signalfd is no longer used by default and has to be requested |
81 | - signalfd is no longer used by default and has to be requested |
54 | explicitly - this means that easy to catch bugs become hard to |
82 | explicitly - this means that easy to catch bugs become hard to |
55 | catch race conditions, but the users have spoken. |
83 | catch race conditions, but the users have spoken. |