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

Comparing libev/Changes (file contents):
Revision 1.233 by root, Fri Jun 24 12:55:07 2011 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: ev_loop_wakeup 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).
4 7
54.10 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.
6 - correct backend_fudge for most backends, and implement a windows 105 - correct backend_fudge for most backends, and implement a windows
7 specific workaround to avoid looping because we call both 106 specific workaround to avoid looping because we call both
8 select and Sleep, both with different time resolutions. 107 select and Sleep, both with different time resolutions.
9 - document range and guarantees of ev_sleep. 108 - document range and guarantees of ev_sleep.
10 - document reasonable ranges for periodics interval and offset. 109 - document reasonable ranges for periodics interval and offset.
13 exact and correct even in corner cases or in the far future. 112 exact and correct even in corner cases or in the far future.
14 - do not rely on -lm anymore: use it when available but use our 113 - do not rely on -lm anymore: use it when available but use our
15 own floor () if it is missing. This should make it easier to embed, 114 own floor () if it is missing. This should make it easier to embed,
16 as no external libraries are required. 115 as no external libraries are required.
17 - strategically import macros from libecb and mark rarely-used functions 116 - strategically import macros from libecb and mark rarely-used functions
18 as cache-chold (saving almost 2k code size on typical amd64 setups). 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.
19 127
204.04 Wed Feb 16 09:01:51 CET 2011 1284.04 Wed Feb 16 09:01:51 CET 2011
21 - fix two problems in the native win32 backend, where reuse of fd's 129 - fix two problems in the native win32 backend, where reuse of fd's
22 with different underlying handles caused handles not to be removed 130 with different underlying handles caused handles not to be removed
23 or added to the select set (analyzed and tested by Bert Belder). 131 or added to the select set (analyzed and tested by Bert Belder).
109 catch race conditions, but the users have spoken. 217 catch race conditions, but the users have spoken.
110 - point out the unspecified signal mask in the documentation, and 218 - point out the unspecified signal mask in the documentation, and
111 that this is a race condition regardless of EV_SIGNALFD. 219 that this is a race condition regardless of EV_SIGNALFD.
112 - backport inotify code to C89. 220 - backport inotify code to C89.
113 - inotify file descriptors could leak into child processes. 221 - inotify file descriptors could leak into child processes.
114 - 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,
115 preventing exit when unregistering all watchers (testcases 223 preventing exit when unregistering all watchers (testcases
116 provided by ry@tinyclouds.org). 224 provided by ry@tinyclouds.org).
117 - 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
118 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.
119 - support EV_IDLE_ENABLE being disabled in ev++.h 227 - support EV_IDLE_ENABLE being disabled in ev++.h
177 - correctly zero the idx values for arrays, so destroying and 285 - correctly zero the idx values for arrays, so destroying and
178 reinitialising the default loop actually works (patch by 286 reinitialising the default loop actually works (patch by
179 Malek Hadj-Ali). 287 Malek Hadj-Ali).
180 - implement ev_suspend and ev_resume. 288 - implement ev_suspend and ev_resume.
181 - new EV_CUSTOM revents flag for use by applications. 289 - new EV_CUSTOM revents flag for use by applications.
182 - add documentation section about priorites. 290 - add documentation section about priorities.
183 - add a glossary to the dcoumentation. 291 - add a glossary to the documentation.
184 - extend the ev_fork description slightly. 292 - extend the ev_fork description slightly.
185 - optimize a jump out of call_pending. 293 - optimize a jump out of call_pending.
186 294
1873.53 Sun Feb 15 02:38:20 CET 2009 2953.53 Sun Feb 15 02:38:20 CET 2009
188 - 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