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

Comparing libev/Changes (file contents):
Revision 1.191 by sf-exg, Thu Oct 21 23:43:17 2010 UTC vs.
Revision 1.313 by root, Wed Dec 28 04:22:06 2016 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: include ev_xyz_start in each example? 34.24 Wed Dec 28 05:19:55 CET 2016
4 - bump version to 4.24, as the release tarball inexplicably
5 didn't have the right version in ev.h, even though the cvs-tagged
6 version did have the right one (reported by Ales Teska).
7
84.23 Wed Nov 16 18:23:41 CET 2016
9 - move some declarations at the beginning to help certain retarded
10 microsoft compilers, even though their documentation claims
11 otherwise (reported by Ruslan Osmanov).
12
134.22 Sun Dec 20 22:11:50 CET 2015
14 - when epoll detects unremovable fds in the fd set, rebuild
15 only the epoll descriptor, not the signal pipe, to avoid
16 SIGPIPE in ev_async_send. This doesn't solve it on fork,
17 so document what needs to be done in ev_loop_fork
18 (analyzed by Benjamin Mahler).
19 - remove superfluous sys/timeb.h include on win32
20 (analyzed by Jason Madden).
21 - updated libecb.
22
234.20 Sat Jun 20 13:01:43 CEST 2015
24 - prefer noexcept over throw () with C++ 11.
25 - update ecb.h due to incompatibilities with c11.
26 - fix a potential aliasing issue when reading and writing
27 watcher callbacks.
28
294.19 Thu Sep 25 08:18:25 CEST 2014
30 - ev.h wasn't valid C++ anymore, which tripped compilers other than
31 clang, msvc or gcc (analyzed by Raphael 'kena' Poss). Unfortunately,
32 C++ doesn't support typedefs for function pointers fully, so the affected
33 declarations have to spell out the types each time.
34 - when not using autoconf, tighten the check for clock_gettime and related
35 functionality.
36
374.18 Fri Sep 5 17:55:26 CEST 2014
38 - events on files were not always generated properly with the
39 epoll backend (testcase by Assaf Inbal).
40 - mark event pipe fd as cloexec after a fork (analyzed by Sami Farin).
41 - (ecb) support m68k, m88k and sh (patch by Miod Vallat).
42 - use a reasonable fallback for EV_NSIG instead of erroring out
43 when we can't detect the signal set size.
44 - in the absence of autoconf, do not use the clock syscall
45 on glibc >= 2.17 (avoids the syscall AND -lrt on systems
46 doing clock_gettime in userspace).
47 - ensure extern "C" function pointers are used for externally-visible
48 loop callbacks (not watcher callbacks yet).
49 - (ecb) work around memory barriers and volatile apparently both being
50 broken in visual studio 2008 and later (analysed and patch by Nicolas Noble).
51
524.15 Fri Mar 1 12:04:50 CET 2013
53 - destroying a non-default loop would stop the global waitpid
54 watcher (Denis Bilenko).
55 - queueing pending watchers of higher priority from a watcher now invokes
56 them in a timely fashion (reported by Denis Bilenko).
57 - add throw() to all libev functions that cannot throw exceptions, for
58 further code size decrease when compiling for C++.
59 - add throw () to callbacks that must not throw exceptions (allocator,
60 syserr, loop acquire/release, periodic reschedule cbs).
61 - fix event_base_loop return code, add event_get_callback, event_base_new,
62 event_base_get_method calls to improve libevent 1.x emulation and add
63 some libevent 2.x functionality (based on a patch by Jeff Davey).
64 - add more memory fences to fix a bug reported by Jeff Davey. Better
65 be overfenced than underprotected.
66 - ev_run now returns a boolean status (true meaning watchers are
67 still active).
68 - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with
69 libev's EV_ERROR (reported by 191919).
70 - (ecb) add memory fence support for xlC (Darin McBride).
71 - (ecb) add memory fence support for gcc-mips (Anton Kirilov).
72 - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber).
73 - work around some kernels losing file descriptors by leaking
74 the kqueue descriptor in the child.
75 - work around linux inotify not reporting IN_ATTRIB changes for directories
76 in many cases.
77 - include sys/syscall.h instead of plain syscall.h.
78 - check for io watcher loops in ev_verify, check for the most
79 common reported usage bug in ev_io_start.
80 - choose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET.
81 - always use WSASend/WSARecv directly on windows, hoping that this
82 works in all cases (unlike read/write/send/recv...).
83 - try to detect signals around a fork faster (test program by
84 Denis Bilenko).
85 - work around recent glibc versions that leak memory in realloc.
86 - rename ev::embed::set to ev::embed::set_embed to avoid clashing
87 the watcher base set (loop) method.
88 - rewrite the async/signal pipe logic to always keep a valid fd, which
89 simplifies (and hopefully correctifies :) the race checking
90 on fork, at the cost of one extra fd.
91 - add fat, msdos, jffs2, ramfs, ntfs and btrfs to the list of
92 inotify-supporting filesystems.
93 - move orig_CFLAGS assignment to after AC_INIT, as newer autoconf
94 versions ignore it before
95 (https://bugzilla.redhat.com/show_bug.cgi?id=908096).
96 - add some untested android support.
97 - enum expressions must be of type int (reported by Juan Pablo L).
98
994.11 Sat Feb 4 19:52:39 CET 2012
100 - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as
101 was documented already, but not implemented in the repeating case.
102 - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS.
103 - fix a race where the workaround against the epoll fork bugs
104 caused signals to not be handled anymore.
105 - correct backend_fudge for most backends, and implement a windows
106 specific workaround to avoid looping because we call both
107 select and Sleep, both with different time resolutions.
108 - document range and guarantees of ev_sleep.
109 - document reasonable ranges for periodics interval and offset.
110 - rename backend_fudge to backend_mintime to avoid future confusion :)
111 - change the default periodic reschedule function to hopefully be more
112 exact and correct even in corner cases or in the far future.
113 - do not rely on -lm anymore: use it when available but use our
114 own floor () if it is missing. This should make it easier to embed,
115 as no external libraries are required.
116 - strategically import macros from libecb and mark rarely-used functions
117 as cache-cold (saving almost 2k code size on typical amd64 setups).
118 - add Symbols.ev and Symbols.event files, that were missing.
119 - fix backend_mintime value for epoll (was 1/1024, is 1/1000 now).
120 - fix #3 "be smart about timeouts" to not "deadlock" when
121 timeout == now, also improve the section overall.
122 - avoid "AVOIDING FINISHING BEFORE RETURNING" idiom.
123 - support new EV_API_STATIC mode to make all libev symbols
124 static.
125 - supply default CFLAGS of -g -O3 with gcc when original CFLAGS
126 were empty.
127
1284.04 Wed Feb 16 09:01:51 CET 2011
129 - fix two problems in the native win32 backend, where reuse of fd's
130 with different underlying handles caused handles not to be removed
131 or added to the select set (analyzed and tested by Bert Belder).
132 - do no rely on ceil() in ev_e?poll.c.
133 - backport libev to HP-UX versions before 11 v3.
134 - configure did not detect nanosleep and clock_gettime properly when
135 they are available in the libc (as opposed to -lrt).
136
1374.03 Tue Jan 11 14:37:25 CET 2011
138 - officially support polling files with all backends.
139 - support files, /dev/zero etc. the same way as select in the epoll
140 backend, by generating events on our own.
141 - ports backend: work around solaris bug 6874410 and many related ones
142 (EINTR, maybe more), with no performance loss (note that the solaris
143 bug report is actually wrong, reality is far more bizarre and broken
144 than that).
145 - define EV_READ/EV_WRITE as macros in event.h, as some programs use
146 #ifdef to test for them.
147 - new (experimental) function: ev_feed_signal.
148 - new (to become default) EVFLAG_NOSIGMASK flag.
149 - new EVBACKEND_MASK symbol.
150 - updated COMMON IDIOMS SECTION.
151
1524.01 Fri Nov 5 21:51:29 CET 2010
153 - automake fucked it up, apparently, --add-missing -f is not quite enough
154 to make it update its files, so 4.00 didn't install ev++.h and
155 event.h on make install. grrr.
156 - ev_loop(count|depth) didn't return anything (Robin Haberkorn).
157 - change EV_UNDEF to 0xffffffff to silence some overzealous compilers.
158 - use "(libev) " prefix for all libev error messages now.
159
1604.00 Mon Oct 25 12:32:12 CEST 2010
4 - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. 161 - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading.
5 - ev_embed_stop did not correctly stop the watcher (very good 162 - ev_embed_stop did not correctly stop the watcher (very good
6 testcase by Vladimir Timofeev). 163 testcase by Vladimir Timofeev).
7 - ev_run will now always update the current loop time - it erroneously 164 - ev_run will now always update the current loop time - it erroneously
8 didn't when idle watchers were active, causing timers not to fire. 165 didn't when idle watchers were active, causing timers not to fire.
10 in the libevent emulation (testcase by Péter Szabó). 167 in the libevent emulation (testcase by Péter Szabó).
11 - applied win32 fixes by Michael Lenaghan (also James Mansion). 168 - applied win32 fixes by Michael Lenaghan (also James Mansion).
12 - replace EV_MINIMAL by EV_FEATURES. 169 - replace EV_MINIMAL by EV_FEATURES.
13 - prefer EPOLL_CTL_ADD over EPOLL_CTL_MOD in some more cases, as it 170 - prefer EPOLL_CTL_ADD over EPOLL_CTL_MOD in some more cases, as it
14 seems the former is *much* faster than the latter. 171 seems the former is *much* faster than the latter.
172 - linux kernel version detection (for inotify bug workarounds)
173 did not work properly.
15 - reduce the number of spurious wake-ups with the ports backend. 174 - reduce the number of spurious wake-ups with the ports backend.
16 - remove dependency on sys/queue.h on freebsd (patch by Vanilla Hsu). 175 - remove dependency on sys/queue.h on freebsd (patch by Vanilla Hsu).
17 - do async init within ev_async_start, not ev_async_set, which avoids 176 - do async init within ev_async_start, not ev_async_set, which avoids
18 an API quirk where the set function must be called in the C++ API 177 an API quirk where the set function must be called in the C++ API
19 even when there is nothing to set. 178 even when there is nothing to set.
20 - add (undocumented) EV_ENABLE when adding events with kqueue, 179 - add (undocumented) EV_ENABLE when adding events with kqueue,
21 this might help with OS X, which seems to need it despite documenting 180 this might help with OS X, which seems to need it despite documenting
22 not to need it (helpfully pointed out by Tilghman Lesher). 181 not to need it (helpfully pointed out by Tilghman Lesher).
23 - do not use poll by default on freebsd, it's broken (what isn't 182 - do not use poll by default on freebsd, it's broken (what isn't
24 on freebsd...). 183 on freebsd...).
184 - allow to embed epoll on kernels >= 2.6.32.
25 - configure now prepends -O3, not appends it, so one can still 185 - configure now prepends -O3, not appends it, so one can still
26 override it. 186 override it.
27 - ev.pod: greatly expanded the portability section, added a porting 187 - ev.pod: greatly expanded the portability section, added a porting
28 section, a description of watcher states and made lots of minor fixes. 188 section, a description of watcher states and made lots of minor fixes.
29 - disable poll backend on AIX, the poll header spams the namespace 189 - disable poll backend on AIX, the poll header spams the namespace
37 - new EV_CHILD_ENABLE and EV_SIGNAL_ENABLE configurable settings. 197 - new EV_CHILD_ENABLE and EV_SIGNAL_ENABLE configurable settings.
38 - update libev.m4 HAVE_CLOCK_SYSCALL test for newer glibcs. 198 - update libev.m4 HAVE_CLOCK_SYSCALL test for newer glibcs.
39 - add section on accept() problems to the manpage. 199 - add section on accept() problems to the manpage.
40 - rename EV_TIMEOUT to EV_TIMER. 200 - rename EV_TIMEOUT to EV_TIMER.
41 - rename ev_loop_count/depth/verify/loop/unloop. 201 - rename ev_loop_count/depth/verify/loop/unloop.
202 - remove ev_default_destroy and ev_default_fork.
42 - switch to two-digit minor version. 203 - switch to two-digit minor version.
43 - work around an apparent gentoo compiler bug. 204 - work around an apparent gentoo compiler bug.
44 - define _DARWIN_UNLIMITED_SELECT. just so. 205 - define _DARWIN_UNLIMITED_SELECT. just so.
45 - use enum instead of #define for most constants. 206 - use enum instead of #define for most constants.
46 - improve compatibility to older C++ compilers. 207 - improve compatibility to older C++ compilers.
208 - (experimental) ev_run/ev_default_loop/ev_break/ev_loop_new have now
209 default arguments when compiled as C++.
210 - enable automake dependency tracking.
211 - ev_loop_new no longer leaks memory when loop creation failed.
212 - new ev_cleanup watcher type.
47 213
483.9 Thu Dec 31 07:59:59 CET 2009 2143.9 Thu Dec 31 07:59:59 CET 2009
49 - signalfd is no longer used by default and has to be requested 215 - signalfd is no longer used by default and has to be requested
50 explicitly - this means that easy to catch bugs become hard to 216 explicitly - this means that easy to catch bugs become hard to
51 catch race conditions, but the users have spoken. 217 catch race conditions, but the users have spoken.
52 - point out the unspecified signal mask in the documentation, and 218 - point out the unspecified signal mask in the documentation, and
53 that this is a race condition regardless of EV_SIGNALFD. 219 that this is a race condition regardless of EV_SIGNALFD.
54 - backport inotify code to C89. 220 - backport inotify code to C89.
55 - inotify file descriptors could leak into child processes. 221 - inotify file descriptors could leak into child processes.
56 - ev_stat watchers could keep an errornous extra ref on the loop, 222 - ev_stat watchers could keep an erroneous extra ref on the loop,
57 preventing exit when unregistering all watchers (testcases 223 preventing exit when unregistering all watchers (testcases
58 provided by ry@tinyclouds.org). 224 provided by ry@tinyclouds.org).
59 - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration 225 - implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration
60 symbols to make it easier for apps to do their own fd management. 226 symbols to make it easier for apps to do their own fd management.
61 - support EV_IDLE_ENABLE being disabled in ev++.h 227 - support EV_IDLE_ENABLE being disabled in ev++.h
119 - correctly zero the idx values for arrays, so destroying and 285 - correctly zero the idx values for arrays, so destroying and
120 reinitialising the default loop actually works (patch by 286 reinitialising the default loop actually works (patch by
121 Malek Hadj-Ali). 287 Malek Hadj-Ali).
122 - implement ev_suspend and ev_resume. 288 - implement ev_suspend and ev_resume.
123 - new EV_CUSTOM revents flag for use by applications. 289 - new EV_CUSTOM revents flag for use by applications.
124 - add documentation section about priorites. 290 - add documentation section about priorities.
125 - add a glossary to the dcoumentation. 291 - add a glossary to the documentation.
126 - extend the ev_fork description slightly. 292 - extend the ev_fork description slightly.
127 - optimize a jump out of call_pending. 293 - optimize a jump out of call_pending.
128 294
1293.53 Sun Feb 15 02:38:20 CET 2009 2953.53 Sun Feb 15 02:38:20 CET 2009
130 - fix a bug in event pipe creation on win32 that would cause a 296 - fix a bug in event pipe creation on win32 that would cause a

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines