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 | 3.0 |
3 | WISH? monotonic clocks times/GetTickCount for coarse corrections? |
|
|
4 | |
|
|
5 | - further optimise away the EPOLL_CTL_ADD/MOD combo in the epoll |
|
|
6 | backend by assuming the kernel event mask hasn't changed if |
|
|
7 | ADD fails with EEXIST. |
|
|
8 | - use memset to initialise most arrays now and do away with the |
|
|
9 | init functions. |
|
|
10 | - expand time-out strategies into a "Be smart about timeouts" section. |
|
|
11 | - drop the "struct" from all ev_watcher declarations in the |
|
|
12 | documentation and did other clarifications (yeah, it was a mistake |
|
|
13 | to have a struct AND a function called ev_loop). |
|
|
14 | - fix a bug where ev_default would not initialise the default |
|
|
15 | loop again after it was destroyed with ev_default_destroy. |
|
|
16 | |
|
|
17 | 3.45 Tue Oct 21 21:59:26 CEST 2008 |
|
|
18 | - disable inotify usage on linux <2.6.25, as it is broken |
|
|
19 | (reported by Yoann Vandoorselaere). |
|
|
20 | - ev_stat errornously would try to add inotify watchers |
|
|
21 | even when inotify wasn't available (this should only |
|
|
22 | have a performance impact). |
|
|
23 | - ev_once now passes both timeout and io to the callback if both |
|
|
24 | occur concurrently, instead of giving timeouts precedence. |
|
|
25 | - disable EV_USE_INOTIFY when sys/inotify.h is too old. |
|
|
26 | |
|
|
27 | 3.44 Mon Sep 29 05:18:39 CEST 2008 |
|
|
28 | - embed watchers now automatically invoke ev_loop_fork on the |
|
|
29 | embedded loop when the parent loop forks. |
|
|
30 | - new function: ev_now_update (loop). |
|
|
31 | - verify_watcher was not marked static. |
|
|
32 | - improve the "associating..." manpage section. |
|
|
33 | - documentation tweaks here and there. |
|
|
34 | |
|
|
35 | 3.43 Sun Jul 6 05:34:41 CEST 2008 |
|
|
36 | - include more include files on windows to get struct _stati64 |
|
|
37 | (reported by Chris Hulbert, but doesn't quite fix his issue). |
|
|
38 | - add missing #include <io.h> in ev.c on windows (reported by |
|
|
39 | Matt Tolton). |
|
|
40 | |
|
|
41 | 3.42 Tue Jun 17 12:12:07 CEST 2008 |
|
|
42 | - work around yet another windows bug: FD_SET actually adds fd's |
|
|
43 | multiple times to the fd_*SET*, despite official MSN docs claiming |
|
|
44 | otherwise. Reported and well-analysed by Matt Tolton. |
|
|
45 | - define NFDBITS to 0 when EV_SELECT_IS_WINSOCKET to make it compile |
|
|
46 | (reported any analysed by Chris Hulbert). |
|
|
47 | - fix a bug in ev_ebadf (this function is only used to catch |
|
|
48 | programming errors in the libev user). reported by Matt Tolton. |
|
|
49 | - fix a bug in fd_intern on win32 (could lead to compile errors |
|
|
50 | under some circumstances, but would work correctly if it compiles). |
|
|
51 | reported by Matt Tolton. |
|
|
52 | - (try to) work around missing lstat on windows. |
|
|
53 | - pass in the write fd set as except fd set under windows. windows |
|
|
54 | is so uncontrollably lame that it requires this. this means that |
|
|
55 | switching off oobinline is not supported (but tcp/ip doesn't |
|
|
56 | have oob, so that would be stupid anyways. |
|
|
57 | - use posix module symbol to auto-detect monotonic clock presence |
|
|
58 | and some other default values. |
|
|
59 | |
|
|
60 | 3.41 Fri May 23 18:42:54 CEST 2008 |
|
|
61 | - work around an obscure bug in winsocket select: if you |
|
|
62 | provide only empty fd sets then select returns WSAEINVAL. how sucky. |
|
|
63 | - improve timer scheduling stability and reduce use of time_epsilon. |
|
|
64 | - use 1-based 2-heap for EV_MINIMAL, simplifies code, reduces |
|
|
65 | codesize and makes for better cache-efficiency. |
|
|
66 | - use 3-based 4-heap for !EV_MINIMAL. this makes better use |
|
|
67 | of cpu cache lines and gives better growth behaviour than |
|
|
68 | 2-based heaps. |
|
|
69 | - cache timestamp within heap for !EV_MINIMAL, to avoid random |
|
|
70 | memory accesses. |
|
|
71 | - document/add EV_USE_4HEAP and EV_HEAP_CACHE_AT. |
|
|
72 | - fix a potential aliasing issue in ev_timer_again. |
|
|
73 | - add/document ev_periodic_at, retract direct access to ->at. |
|
|
74 | - improve ev_stat docs. |
|
|
75 | - add portability requirements section. |
|
|
76 | - fix manpage headers etc. |
|
|
77 | - normalise WSA error codes to lower range on windows. |
|
|
78 | - add consistency check code that can be called automatically |
|
|
79 | or on demand to check for internal structures (ev_loop_verify). |
|
|
80 | |
|
|
81 | 3.31 Wed Apr 16 20:45:04 CEST 2008 |
|
|
82 | - added last minute fix for ev_poll.c by Brandon Black. |
|
|
83 | |
|
|
84 | 3.3 Wed Apr 16 19:04:10 CEST 2008 |
|
|
85 | - event_base_loopexit should return 0 on success |
|
|
86 | (W.C.A. Wijngaards). |
|
|
87 | - added linux eventfd support. |
|
|
88 | - try to autodetect epoll and inotify support |
|
|
89 | by libc header version if not using autoconf. |
|
|
90 | - new symbols: EV_DEFAULT_UC and EV_DEFAULT_UC_. |
|
|
91 | - declare functions defined in ev.h as inline if |
|
|
92 | C99 or gcc are available. |
|
|
93 | - enable inlining with gcc versions 2 and 3. |
|
|
94 | - work around broken poll implementations potentially |
|
|
95 | not clearing revents field in ev_poll (Brandon Black) |
|
|
96 | (no such systems are known at this time). |
|
|
97 | - work around a bug in realloc on openbsd and darwin, |
|
|
98 | also makes the errornous valgrind complaints |
|
|
99 | go away (noted by various people). |
|
|
100 | - fix ev_async_pending, add c++ wrapper for ev_async |
|
|
101 | (based on patch sent by Johannes Deisenhofer. |
|
|
102 | - add sensible set method to ev::embed. |
|
|
103 | - made integer constants type int in ev.h. |
|
|
104 | |
|
|
105 | 3.2 Wed Apr 2 17:11:19 CEST 2008 |
|
|
106 | - fix a 64 bit overflow issue in the select backend, |
|
|
107 | by using fd_mask instead of int for the mask. |
|
|
108 | - rename internal sighandler to avoid clash with very old perls. |
|
|
109 | - entering ev_loop will not clear the ONESHOT or NONBLOCKING |
|
|
110 | flags of any outer loops anymore. |
|
|
111 | - add ev_async_pending. |
|
|
112 | |
|
|
113 | 3.1 Thu Mar 13 13:45:22 CET 2008 |
|
|
114 | - implement ev_async watchers. |
|
|
115 | - only initialise signal pipe on demand. |
|
|
116 | - make use of sig_atomic_t configurable. |
|
|
117 | - improved documentation. |
|
|
118 | |
|
|
119 | 3.0 Mon Jan 28 13:14:47 CET 2008 |
4 | - API/ABI bump to version 3.0. |
120 | - API/ABI bump to version 3.0. |
5 | - ev++.h includes "ev.h" by default now, not <ev.h>. |
121 | - ev++.h includes "ev.h" by default now, not <ev.h>. |
6 | - slightly improved documentation. |
122 | - slightly improved documentation. |
7 | - speed up signal detection after a fork. |
123 | - speed up signal detection after a fork. |
8 | - only optionally return trace status changed in ev_child |
124 | - only optionally return trace status changed in ev_child |