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

Comparing libev/Changes (file contents):
Revision 1.45 by root, Mon May 26 03:54:40 2008 UTC vs.
Revision 1.85 by root, Wed Nov 19 04:57:05 2008 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
3WISH? monotonic clocks times/GetTickCount for coarse corrections?
4
5 - ev_stat watchers will now use inotify as a mere hint on
6 kernels <2.6.25, or if the filesystem is not in the
7 "known to be good" list.
8 - better mingw32 compatibility (it's not as borked as native win32)
9 (analysed by Roger Pack).
10 - include stdio.h in the example program, as too many people are
11 confused by the weird C language otherwise. I guess the next thing
12 I get told is that the "..." ellipses in the examples don't compile
13 with their C compiler.
14
153.48 Thu Oct 30 09:02:37 CET 2008
16 - further optimise away the EPOLL_CTL_ADD/MOD combo in the epoll
17 backend by assuming the kernel event mask hasn't changed if
18 ADD fails with EEXIST.
19 - work around spurious event notification bugs in epoll by using
20 a 32-bit generation counter. recreate kernel state if we receive
21 spurious notifications or unwanted events. this is very costly,
22 but I didn't come up with this horrible design.
23 - use memset to initialise most arrays now and do away with the
24 init functions.
25 - expand time-out strategies into a "Be smart about timeouts" section.
26 - drop the "struct" from all ev_watcher declarations in the
27 documentation and did other clarifications (yeah, it was a mistake
28 to have a struct AND a function called ev_loop).
29 - fix a bug where ev_default would not initialise the default
30 loop again after it was destroyed with ev_default_destroy.
31 - rename syserr to ev_syserr to avoid name clashes when embedding,
32 do similar changes for event.c.
33
343.45 Tue Oct 21 21:59:26 CEST 2008
35 - disable inotify usage on linux <2.6.25, as it is broken
36 (reported by Yoann Vandoorselaere).
37 - ev_stat errornously would try to add inotify watchers
38 even when inotify wasn't available (this should only
39 have a performance impact).
40 - ev_once now passes both timeout and io to the callback if both
41 occur concurrently, instead of giving timeouts precedence.
42 - disable EV_USE_INOTIFY when sys/inotify.h is too old.
43
443.44 Mon Sep 29 05:18:39 CEST 2008
45 - embed watchers now automatically invoke ev_loop_fork on the
46 embedded loop when the parent loop forks.
47 - new function: ev_now_update (loop).
48 - verify_watcher was not marked static.
49 - improve the "associating..." manpage section.
50 - documentation tweaks here and there.
51
523.43 Sun Jul 6 05:34:41 CEST 2008
53 - include more include files on windows to get struct _stati64
54 (reported by Chris Hulbert, but doesn't quite fix his issue).
55 - add missing #include <io.h> in ev.c on windows (reported by
56 Matt Tolton).
57
583.42 Tue Jun 17 12:12:07 CEST 2008
59 - work around yet another windows bug: FD_SET actually adds fd's
60 multiple times to the fd_*SET*, despite official MSN docs claiming
61 otherwise. Reported and well-analysed by Matt Tolton.
62 - define NFDBITS to 0 when EV_SELECT_IS_WINSOCKET to make it compile
63 (reported any analysed by Chris Hulbert).
64 - fix a bug in ev_ebadf (this function is only used to catch
65 programming errors in the libev user). reported by Matt Tolton.
66 - fix a bug in fd_intern on win32 (could lead to compile errors
67 under some circumstances, but would work correctly if it compiles).
68 reported by Matt Tolton.
69 - (try to) work around missing lstat on windows.
3 - pass in the write fd set as except fd set under windows. windows 70 - pass in the write fd set as except fd set under windows. windows
4 is so uncontrollably lame that it requires this. 71 is so uncontrollably lame that it requires this. this means that
72 switching off oobinline is not supported (but tcp/ip doesn't
73 have oob, so that would be stupid anyways.
74 - use posix module symbol to auto-detect monotonic clock presence
75 and some other default values.
5 76
63.41 Fri May 23 18:42:54 CEST 2008 773.41 Fri May 23 18:42:54 CEST 2008
7 - work around an (undocumented) bug in winsocket select: if you 78 - work around an obscure bug in winsocket select: if you
8 provide only empty fd sets then select returns WSAEINVAL. how sucky. 79 provide only empty fd sets then select returns WSAEINVAL. how sucky.
9 - improve timer scheduling stability and reduce use of time_epsilon. 80 - improve timer scheduling stability and reduce use of time_epsilon.
10 - use 1-based 2-heap for EV_MINIMAL, simplifies code, reduces 81 - use 1-based 2-heap for EV_MINIMAL, simplifies code, reduces
11 codesize and makes for better cache-efficiency. 82 codesize and makes for better cache-efficiency.
12 - use 3-based 4-heap for !EV_MINIMAL. this makes better use 83 - use 3-based 4-heap for !EV_MINIMAL. this makes better use

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines