ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/Changes
(Generate patch)

Comparing libev/Changes (file contents):
Revision 1.147 by root, Wed Aug 26 17:46:22 2009 UTC vs.
Revision 1.214 by root, Mon Jan 10 13:53:49 2011 UTC

1Revision history for libev, a high-performance and full-featured event loop. 1Revision history for libev, a high-performance and full-featured event loop.
2 2
3TODO: move some other examples to common idioms? combining watchers,
4thread usage, coroutine switch?
5
6TODO: frankenpoll
7TODO: frankenports
84.03
9 - support files, /dev/zero etc. the same way as select in the epoll
10 backend, by generating events on our own.
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 - ports backend: work around solaris bug 6874410 and many related ones
17 (EINTR, maybe more), with no performance loss.
18
194.01 Fri Nov 5 21:51:29 CET 2010
20 - automake fucked it up, apparently, --add-missing -f is not quite enough
21 to make it update its files, so 4.00 didn't install ev++.h and
22 event.h on make install. grrr.
23 - ev_loop(count|depth) didn't return anything (Robin Haberkorn).
24 - change EV_UNDEF to 0xffffffff to silence some overzealous compilers.
25 - use "(libev) " prefix for all libev error messages now.
26
274.00 Mon Oct 25 12:32:12 CEST 2010
28 - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading.
29 - ev_embed_stop did not correctly stop the watcher (very good
30 testcase by Vladimir Timofeev).
31 - ev_run will now always update the current loop time - it erroneously
32 didn't when idle watchers were active, causing timers not to fire.
33 - fix a bug where a timeout of zero caused the timer not to fire
34 in the libevent emulation (testcase by Péter Szabó).
35 - applied win32 fixes by Michael Lenaghan (also James Mansion).
36 - replace EV_MINIMAL by EV_FEATURES.
37 - prefer EPOLL_CTL_ADD over EPOLL_CTL_MOD in some more cases, as it
38 seems the former is *much* faster than the latter.
39 - linux kernel version detection (for inotify bug workarounds)
40 did not work properly.
41 - reduce the number of spurious wake-ups with the ports backend.
42 - remove dependency on sys/queue.h on freebsd (patch by Vanilla Hsu).
43 - do async init within ev_async_start, not ev_async_set, which avoids
44 an API quirk where the set function must be called in the C++ API
45 even when there is nothing to set.
46 - add (undocumented) EV_ENABLE when adding events with kqueue,
47 this might help with OS X, which seems to need it despite documenting
48 not to need it (helpfully pointed out by Tilghman Lesher).
49 - do not use poll by default on freebsd, it's broken (what isn't
50 on freebsd...).
51 - allow to embed epoll on kernels >= 2.6.32.
52 - configure now prepends -O3, not appends it, so one can still
53 override it.
54 - ev.pod: greatly expanded the portability section, added a porting
55 section, a description of watcher states and made lots of minor fixes.
56 - disable poll backend on AIX, the poll header spams the namespace
57 and it's not worth working around dead platforms (reported
58 and analyzed by Aivars Kalvans).
59 - improve header file compatibility of the standalone eventfd code
60 in an obscure case.
61 - implement EV_AVOID_STDIO option.
62 - do not use sscanf to parse linux version number (smaller, faster,
63 no sscanf dependency).
64 - new EV_CHILD_ENABLE and EV_SIGNAL_ENABLE configurable settings.
65 - update libev.m4 HAVE_CLOCK_SYSCALL test for newer glibcs.
66 - add section on accept() problems to the manpage.
67 - rename EV_TIMEOUT to EV_TIMER.
68 - rename ev_loop_count/depth/verify/loop/unloop.
69 - remove ev_default_destroy and ev_default_fork.
70 - switch to two-digit minor version.
71 - work around an apparent gentoo compiler bug.
72 - define _DARWIN_UNLIMITED_SELECT. just so.
73 - use enum instead of #define for most constants.
74 - improve compatibility to older C++ compilers.
75 - (experimental) ev_run/ev_default_loop/ev_break/ev_loop_new have now
76 default arguments when compiled as C++.
77 - enable automake dependency tracking.
78 - ev_loop_new no longer leaks memory when loop creation failed.
79 - new ev_cleanup watcher type.
80
813.9 Thu Dec 31 07:59:59 CET 2009
82 - signalfd is no longer used by default and has to be requested
83 explicitly - this means that easy to catch bugs become hard to
84 catch race conditions, but the users have spoken.
85 - point out the unspecified signal mask in the documentation, and
86 that this is a race condition regardless of EV_SIGNALFD.
3 - backport inotify code to C89. 87 - backport inotify code to C89.
4 - inotify file descriptors were not properly recreated after a fork,
5 and could leak into child processes. 88 - inotify file descriptors could leak into child processes.
89 - ev_stat watchers could keep an errornous extra ref on the loop,
90 preventing exit when unregistering all watchers (testcases
91 provided by ry@tinyclouds.org).
6 - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration 92 - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration
7 symbols to make it easier for apps to do their own fd management. 93 symbols to make it easier for apps to do their own fd management.
8 - support EV_IDLE_ENABLE being disabled in ev++.h 94 - support EV_IDLE_ENABLE being disabled in ev++.h
9 (patch by Didier Spezia). 95 (patch by Didier Spezia).
10 - point out the unspecified signal mask in the documentation.
11 - take advantage of inotify_init1, if available, to set cloexec/nonblock 96 - take advantage of inotify_init1, if available, to set cloexec/nonblock
12 on fd creation, to avoid races. 97 on fd creation, to avoid races.
98 - the signal handling pipe wasn't always initialised under windows
99 (analysed by lekma).
13 - changed minimum glibc requirement from glibc 2.9 to 2.7, for 100 - changed minimum glibc requirement from glibc 2.9 to 2.7, for
14 signalfd. 101 signalfd.
102 - add missing string.h include (Denis F. Latypoff).
103 - only replace ev_stat.prev when we detect an actual difference,
104 so prev is (almost) always different to attr. this might
105 have caused the problems with 04_stat.t.
106 - add ev::timer->remaining () method to C++ API.
15 107
163.8 Sun Aug 9 14:30:45 CEST 2009 1083.8 Sun Aug 9 14:30:45 CEST 2009
17 - incompatible change: do not necessarily reset signal handler 109 - incompatible change: do not necessarily reset signal handler
18 to SIG_DFL when a sighandler is stopped. 110 to SIG_DFL when a sighandler is stopped.
19 - ev_default_destroy did not properly free or zero some members, 111 - ev_default_destroy did not properly free or zero some members,
20 potentially causing crashes and memory corruption on repated 112 potentially causing crashes and memory corruption on repeated
21 ev_default_destroy/ev_default_loop calls. 113 ev_default_destroy/ev_default_loop calls.
22 - take advantage of signalfd on GNU/Linux systems. 114 - take advantage of signalfd on GNU/Linux systems.
23 - document that the signal mask might be in an unspecified 115 - document that the signal mask might be in an unspecified
24 state when using libev's signal handling. 116 state when using libev's signal handling.
25 - take advantage of some GNU/Linux calls to set cloexec/nonblock 117 - take advantage of some GNU/Linux calls to set cloexec/nonblock
147 do similar changes for event.c. 239 do similar changes for event.c.
148 240
1493.45 Tue Oct 21 21:59:26 CEST 2008 2413.45 Tue Oct 21 21:59:26 CEST 2008
150 - disable inotify usage on linux <2.6.25, as it is broken 242 - disable inotify usage on linux <2.6.25, as it is broken
151 (reported by Yoann Vandoorselaere). 243 (reported by Yoann Vandoorselaere).
152 - ev_stat errornously would try to add inotify watchers 244 - ev_stat erroneously would try to add inotify watchers
153 even when inotify wasn't available (this should only 245 even when inotify wasn't available (this should only
154 have a performance impact). 246 have a performance impact).
155 - ev_once now passes both timeout and io to the callback if both 247 - ev_once now passes both timeout and io to the callback if both
156 occur concurrently, instead of giving timeouts precedence. 248 occur concurrently, instead of giving timeouts precedence.
157 - disable EV_USE_INOTIFY when sys/inotify.h is too old. 249 - disable EV_USE_INOTIFY when sys/inotify.h is too old.
225 - enable inlining with gcc versions 2 and 3. 317 - enable inlining with gcc versions 2 and 3.
226 - work around broken poll implementations potentially 318 - work around broken poll implementations potentially
227 not clearing revents field in ev_poll (Brandon Black) 319 not clearing revents field in ev_poll (Brandon Black)
228 (no such systems are known at this time). 320 (no such systems are known at this time).
229 - work around a bug in realloc on openbsd and darwin, 321 - work around a bug in realloc on openbsd and darwin,
230 also makes the errornous valgrind complaints 322 also makes the erroneous valgrind complaints
231 go away (noted by various people). 323 go away (noted by various people).
232 - fix ev_async_pending, add c++ wrapper for ev_async 324 - fix ev_async_pending, add c++ wrapper for ev_async
233 (based on patch sent by Johannes Deisenhofer. 325 (based on patch sent by Johannes Deisenhofer).
234 - add sensible set method to ev::embed. 326 - add sensible set method to ev::embed.
235 - made integer constants type int in ev.h. 327 - made integer constants type int in ev.h.
236 328
2373.2 Wed Apr 2 17:11:19 CEST 2008 3293.2 Wed Apr 2 17:11:19 CEST 2008
238 - fix a 64 bit overflow issue in the select backend, 330 - fix a 64 bit overflow issue in the select backend,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines