1 |
Revision history for Perl extension AnyEvent. |
2 |
|
3 |
- fix AnyEvent::Handle::unshift_read to really unshift and not push. |
4 |
- AnyEvent::Handle could sometimes stumble over 0-byte writes. |
5 |
- croak, not die, in AnyEvent::Handle; |
6 |
- implement a more flexible type system for both reads and writes |
7 |
in AnyEvent::Handle. |
8 |
|
9 |
4.0 Sat May 24 19:58:08 CEST 2008 |
10 |
- added (experimental) AnyEvent::DNS module. |
11 |
- added (experimental) AnyEvent::Socket module. |
12 |
- added (experiemntal) support for TLS/SSL in AnyEvent::Handle. |
13 |
- make condvar->end call ->send as documented. |
14 |
- make condvar constructor support the documented cb => argument. |
15 |
- overload condvars so you can use them instead of code references. |
16 |
- support more of the POSIX forms instead of a pure dotted quad for |
17 |
verbatim ip addresses. |
18 |
- AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. |
19 |
- try very hard not to freeze on broken windows perls. |
20 |
- make on_eof optional in AnyEvent::Handle. |
21 |
- support service names in tcp_connect and tcp_server. |
22 |
- work around netbsd/openbsd bug causing unix sockets not to |
23 |
become writable untill empty. |
24 |
- only make a dummy read for error detection when getpeername |
25 |
returns ENOTCONN. |
26 |
- defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
27 |
override. |
28 |
- new AnyEvent::Guard::cancel. |
29 |
|
30 |
3.5 Sat May 17 23:17:14 CEST 2008 |
31 |
- gracefully deal with systems not defining CLOCK_MONOTONIC |
32 |
(as opposed to not supporting the clock itself, which worked in 3.41). |
33 |
- added AnyEvent::Util::tcp_connect and AnyEvent::Util::tcp_server |
34 |
helpers, to replace the ill-designed AnyEvent::Socket class. |
35 |
- added some examples (eg/connect, eg/handle). |
36 |
- added AnyEvent::Util::guard. |
37 |
- AnyEvent::Util now exports most of its functions. |
38 |
- fixed a bug in *_read_chunk, where the callback was called with $self as |
39 |
first and second argument. |
40 |
- simplified and fixed regex handling in AnyEvent::Handle::*_read_line. |
41 |
- fix manpage condvars examples to use new syntax. |
42 |
- considerably improve inet_aton with EV::ADNS backend to support |
43 |
cname chains (common dns configuration bug, e.g. with www.google.de) |
44 |
and aaaa records if no a record could be found. |
45 |
|
46 |
3.41 Sun May 11 19:53:13 CEST 2008 |
47 |
- work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
48 |
|
49 |
3.4 Sun May 11 00:29:25 CEST 2008 |
50 |
- complete re-implementation of condvars with a hopefully much mroe useful |
51 |
API (backward compatible functions exist but are undocumented). |
52 |
- AnyEvent::Handle fully rewritten with a hopefully more powerful API |
53 |
(still subject to change). |
54 |
- take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
55 |
- provide AnyEvent::post_detect and @AnyEvent::post_detect, which |
56 |
allows module authors to avoid forcing event loop detection. |
57 |
(used by Coro::AIO, Coro::BDB, Coro::AnyEvent for example). |
58 |
- remove coro backends: Coro now provides generic support for AnyEvent |
59 |
via Coro::AnyEvent. |
60 |
|
61 |
3.3 Mon Apr 28 09:51:06 CEST 2008 |
62 |
- added AnyEvent::Handle, AnyEvent::Socket and AnyEvent::Util modules. |
63 |
- fix a bug in the pure perl backend that kept watchers alive |
64 |
when multiple watchers were registered for the same fh/poll combo. |
65 |
- add a benchmark section showing AnyEvent overhead and comparing |
66 |
the different event loops with each other. |
67 |
- prefer pure perl over tk when autoprobing, as it's about as fast, |
68 |
but doesn't crash with many watchers. |
69 |
- declare Qt support non-experimental. |
70 |
- clarify the confusing section about the file descriptor being |
71 |
kept alive. |
72 |
- document the race between loading of an event module and |
73 |
child processes exiting. |
74 |
- support POE as "backend" (with some caveats, POE is not generic |
75 |
enough, and darn slow). |
76 |
- support Wx and Prima through POE. |
77 |
- optimise perl backend to use 20% less memory and take advantage |
78 |
of typical timeout behaviour. It can now compete with |
79 |
select/poll-based C event loops in most cases (it is usually |
80 |
faster than Event and Glib :). |
81 |
- roughly cut EV memory use in half and increase its speed by 30%, |
82 |
by removing undocumented functionality. Did something similar |
83 |
to other event loops where possible. |
84 |
|
85 |
3.2 Thu Apr 24 10:10:40 CEST 2008 |
86 |
- do not die when anyevent watchers are destroyed while running callbacks |
87 |
in the pureperl backend (could only happen when two watchers are registered |
88 |
for the same fh/poll combo). |
89 |
- support autoloading for child watchers, was broken in all versions. |
90 |
- implement PERL_ANYEVENT_MODEL env variable. |
91 |
- (experimental) implement interface to the (very crashy/buggy) Event::Lib module. |
92 |
- (experimental) implement interface to the Qt module (cannot be autoprobed). |
93 |
- this release is IO:AnyEvent-proof. |
94 |
|
95 |
3.12 Tue Apr 22 07:11:46 CEST 2008 |
96 |
- reinstate AUTHOR section that got lost somehow. |
97 |
- do not hang in the testsuite with badly broken perls (activestate, |
98 |
strawberry...), but instead diagnose the problem and continue. |
99 |
- use INT instead of CHLD in an attempt to support broken windows perls |
100 |
better (this decreases the test quality, unfortunately). |
101 |
- do not send the signal to the process group |
102 |
(no problem for CHLD, bad for INT :). |
103 |
|
104 |
3.11 Sat Apr 19 06:57:31 CEST 2008 |
105 |
- major documentation rework. |
106 |
- document the fact that child watchers only watch for zombies. |
107 |
- fix the child watcher example. |
108 |
|
109 |
3.1 Wed Apr 16 17:09:01 CEST 2008 |
110 |
- work around recurring bugs in Tk by dup'ing filehandles, the |
111 |
only method with good success chances on Tk (the bugs apparently |
112 |
don't get fixed anytime soon). |
113 |
- lift the restriction of only one watcher per fh direction |
114 |
(as the Tk bug workaround also lifts it and only Tk imposed |
115 |
such strong limits). |
116 |
- changed probe order to prefer coro adaptors. |
117 |
- explain why recursion into the event loop is not supported |
118 |
unless the backend supports it (only Coro::EV does without |
119 |
any restrictions...). |
120 |
- add simple manpages for all backend modules. |
121 |
|
122 |
3.0 Mon Apr 7 21:30:23 CEST 2008 |
123 |
- Coro::Signal changed semantics, roll our own, also cleaning |
124 |
up the Coro implementation in general. |
125 |
- rename Coro backend to CoroEvent. |
126 |
- add some decision helping paragraph to the manpage that should |
127 |
help people to decide whether AnyEvent is the right thing for them. |
128 |
|
129 |
2.9 Mon Jan 28 13:31:54 CET 2008 |
130 |
- update for EV 3.0 API changes. |
131 |
|
132 |
2.8 Sun Nov 25 15:06:03 CET 2007 |
133 |
- waitpid can validly return 0. accept this fact of life |
134 |
instead of reporting it to any watchers. |
135 |
|
136 |
2.7 Fri Nov 23 11:41:14 CET 2007 |
137 |
- force use of AnyEvent::Impl::Perl in testsuite, there is |
138 |
too much breakage outside AnyEvent. |
139 |
- deliver signals synchronously in AnyEvent::Impl::Perl |
140 |
or any other event loop that relies on AnyEvents child |
141 |
watcher emulation. *Could* help with hanging testsuite |
142 |
(except when Event or EV are installed). |
143 |
|
144 |
2.6 Fri Nov 9 20:36:35 CET 2007 |
145 |
- fix bug in testsuite. |
146 |
- move EV adaptor modules to AnyEvent. |
147 |
- add Coro+EV adaptor module. |
148 |
|
149 |
2.55 Tue Nov 6 17:41:32 CET 2007 |
150 |
- add EV to the list of supported event models. |
151 |
- do not auto-reset pid watchers, pass pid and status to them. |
152 |
- allow a pid of zero to watch for all children in child watchers. |
153 |
|
154 |
2.54 Wed Jul 18 17:36:23 CEST 2007 |
155 |
- work around a perl bug that results in |
156 |
BEGIN not safe after errors--compilation aborted without |
157 |
any discernible reason or error message by once |
158 |
again not use'ing strict. |
159 |
|
160 |
2.53 Sun Jul 8 10:51:53 CEST 2007 |
161 |
- make Glib interface work again (spotted by elmex). |
162 |
|
163 |
2.52 Wed Mar 7 18:36:16 CET 2007 |
164 |
- child watchers stopped working permanently when |
165 |
all current child watchers were destroyed. |
166 |
|
167 |
2.51 Mon Dec 11 21:33:24 CET 2006 |
168 |
- work around bugs in perl where eval "require Module" returns |
169 |
true even if the module couldn't be loaded :/. |
170 |
|
171 |
2.5 Mon Dec 11 02:15:28 CET 2006 |
172 |
- avoid $AUTOLOAD because many perls corrupt it. |
173 |
- AnyEvent::detect forces autodetection. |
174 |
- implement signal watchers (experimental) |
175 |
(Tk does not support async signals (<= 804.027 at least), |
176 |
so they might get delayed indefinitely on Tk). |
177 |
- implement child watchers (experimental). |
178 |
- moved default condvar implementation into base module, simplifying |
179 |
most implementation modules. |
180 |
|
181 |
2.1 Fri Nov 24 15:50:48 CET 2006 |
182 |
- better docs. |
183 |
- simple testsuite. |
184 |
- added AnyEvent->one_event method for special purposes. |
185 |
|
186 |
2.0 Wed Nov 1 02:21:30 CET 2006 |
187 |
- INCOMPATIBLE CHANGE: poll can now either be "r" or "w" but not both. |
188 |
- INCOMPATIBLE CHANGE: io watcher callbacks have no arguments anymore. |
189 |
- EXPERIMENTAL: |
190 |
new pure-perl model added, AnyEvent now always finds a suitable |
191 |
event model. |
192 |
- improved documentation. |
193 |
- reduced cpu overhead. |
194 |
|
195 |
1.02 Fri Jan 13 14:15:40 CET 2006 |
196 |
- add COPYING to clarify license. |
197 |
|
198 |
1.01 Sun Jan 8 05:48:09 CET 2006 |
199 |
- correctly cancel Event timers, avoid memory leaks. |
200 |
|
201 |
1.0 Sun Jan 8 05:40:58 CET 2006 |
202 |
- allow third-party interfaces to be added at runtime. |
203 |
- fix version number. |
204 |
|
205 |
0.9 Fri Dec 30 02:25:41 CET 2005 |
206 |
- fixed errors in the documentation. |
207 |
- going back to using $VERSION as "load check", |
208 |
as suggested by Jörn Reder. Let's see why I stopped using |
209 |
this method. |
210 |
- add 'hup' to the list of events to receive for glib |
211 |
and generate 'rw' events for it, as some versions of |
212 |
glib seem to require this, while this breaks other |
213 |
(older) versions of glib. |
214 |
- implemented PERL_ANYEVENT_VERBOSE env variable. |
215 |
|
216 |
0.3 Sun Dec 4 10:43:33 CET 2005 |
217 |
- no changes to the code. |
218 |
- fixed documentation. |
219 |
- clarified some corner cases. |
220 |
- vastly improved documentation with a long example. |
221 |
|
222 |
0.2 Thu Dec 1 22:18:49 CET 2005 |
223 |
- check whether a valid method was called, to avoid endless loops. |
224 |
- move condvars into their own class (cleaner, safer). |
225 |
- don't die when some modules are not available. |
226 |
- Tk is too broken to allow for words. Will work once Tk works. |
227 |
|
228 |
0.1 Thu Dec 1 19:44:57 CET 2005 |
229 |
- spiced up and cleaned up for release. |
230 |
|
231 |
0.01 Tue Sep 21 18:12:09 CEST 2004 |
232 |
- original version; copied from Convert::Scalar. |
233 |
|