1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
|
|
3 | - include AnyEvent::Intro as a beginner tutorial. |
|
|
4 | |
|
|
5 | 4.11 Fri May 30 23:42:25 CEST 2008 |
|
|
6 | - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide |
|
|
7 | reverse_lookup and reverse_verify to replace it, support |
|
|
8 | v4mapped and v4compat addresses. |
|
|
9 | - provide more documentation for the resolver class. |
|
|
10 | - really replace longest run of :0: by :: in format_address, |
|
|
11 | also properly convert :: and ::1 again. |
|
|
12 | - support NAPTR record name and decode it. |
|
|
13 | - implement random weight sampling for SRV records, as per |
|
|
14 | rfc 2782. |
|
|
15 | - correctly abort on srv-record targets of ".". |
|
|
16 | - added AnyEvent::DNS::wait_for_slot. |
|
|
17 | - in the unlikely event of a virtual circuit connection |
|
|
18 | being invalidated by a delayed udp reply, AnyEvent::DNS |
|
|
19 | could die. this has been fixed. |
|
|
20 | - plug a probable memleak in the DNS vc code. |
|
|
21 | - use configured timeout also for VC request phase. |
|
|
22 | - implement timeout and max_outstanding methods |
|
|
23 | for resolver class. |
|
|
24 | - update version numbers in all modules. |
|
|
25 | |
|
|
26 | 4.1 Thu May 29 05:45:40 CEST 2008 |
|
|
27 | - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address |
|
|
28 | which mirrors their purpose better (old names still available |
|
|
29 | for a while). Also moved AnyEvent::DNS::addr to |
|
|
30 | AnyEvent::Socket::resolve_sockaddr. |
|
|
31 | - implement AnyEvent->time and AnyEvent->now. |
|
|
32 | - fix IPv6 support in pack_sockaddr. |
|
|
33 | - officially un-experimentalise all newly introduced code. |
|
|
34 | - support unix domain sockets everywhere by specifying |
|
|
35 | a host of "unix/" and the pathname as service. |
|
|
36 | - implement an activity timeout in AnyEvent::Handle. |
|
|
37 | - added a regex read type to AnyEvent::Handle. |
|
|
38 | - added a json read/write type to AnyEvent::Handle. |
|
|
39 | - always croak in on_error in AnyEvent::Handle. |
|
|
40 | - document how to subclass AnyEvent::Handle. |
|
|
41 | - implement AnyEvent::Util::fork_call. |
|
|
42 | - add support for IPv6 nameservers and nameserver statements. |
|
|
43 | - work around _yet_ _another_ windows perl bug in where empty |
|
|
44 | select masks cause errors in the pure perl backend (this |
|
|
45 | workaround cannot be implemented for the other event loops, |
|
|
46 | but EV also works around this). |
|
|
47 | - supply AnyEvent::Socket::address_type and make good use of it. |
|
|
48 | - clarify and fix the Handle documentation w.r.t $self vs. $handle |
|
|
49 | vs. callback arguments. |
|
|
50 | - add some recommends to the META.yml. |
|
|
51 | |
|
|
52 | 4.05 Mon May 26 19:44:06 CEST 2008 |
|
|
53 | - some platforms ignore the rfc and prepend an extra sa_len member to |
|
|
54 | the sockaddr structure, cater for those. also use sockaddr_family, |
|
|
55 | didn't know it was there, but comes in handy for the workaround. |
|
|
56 | - undo the import WIN32 hack. |
|
|
57 | |
|
|
58 | 4.04 Mon May 26 08:03:31 CEST 2008 |
|
|
59 | - try to work around yet another windows bug: failed connects are reported |
|
|
60 | as if it were out-of-band data. windows users: you suck. Only |
|
|
61 | EV, Glib, Event and the pure perl backend can handle this condition. |
|
|
62 | - optimize write algorithm in AnyEvent::Handle. |
|
|
63 | - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. |
|
|
64 | - tcp_connect now properly iterates through all targets. |
|
|
65 | - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 |
|
|
66 | support entirely. also hardcode some AF_INET6 constants for the |
|
|
67 | sake of perl 5.8. |
|
|
68 | - vastly improved nameserver/suffix detection algorithm for windows |
|
|
69 | (still a hack...) |
|
|
70 | - try to use a fallback dns server if no dns servers could be found. |
|
|
71 | - splatter around some local $SIG{__DIE__}'s to work around bad |
|
|
72 | die handlers. |
|
|
73 | |
|
|
74 | 4.03 Sun May 25 05:05:57 CEST 2008 |
|
|
75 | - work around perl bugs on windows, where perl returns undocumented |
|
|
76 | error codes for sysread, syswrite etc. |
|
|
77 | - fix AnyEvent::Handle::unshift_read to really unshift and not push. |
|
|
78 | - AnyEvent::Handle could sometimes stumble over 0-byte writes. |
|
|
79 | - fix unpack_sockaddr, now works for AF_INET6 sockaddr's. |
|
|
80 | - updated documentation. |
|
|
81 | - lots of workarounds for perl 5.8 quirks. |
|
|
82 | - implement a more flexible type system for both reads and writes |
|
|
83 | in AnyEvent::Handle. |
|
|
84 | - support IPv6 in tcp_server. |
|
|
85 | - pass local hostname and port to the prepare callback in tcp_server. |
|
|
86 | - make types extendable in AnyEvent::Handle. |
|
|
87 | - croak, not die, in AnyEvent::Handle; |
|
|
88 | |
|
|
89 | 4.0 Sat May 24 19:58:08 CEST 2008 |
|
|
90 | - added (experimental) AnyEvent::DNS module. |
|
|
91 | - added (experimental) AnyEvent::Socket module. |
|
|
92 | - added (experiemntal) support for TLS/SSL in AnyEvent::Handle. |
|
|
93 | - make condvar->end call ->send as documented. |
|
|
94 | - make condvar constructor support the documented cb => argument. |
|
|
95 | - overload condvars so you can use them instead of code references. |
|
|
96 | - support more of the POSIX forms instead of a pure dotted quad for |
|
|
97 | verbatim ip addresses. |
|
|
98 | - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. |
|
|
99 | - try very hard not to freeze on broken windows perls. |
|
|
100 | - make on_eof optional in AnyEvent::Handle. |
|
|
101 | - support service names in tcp_connect and tcp_server. |
|
|
102 | - work around netbsd/openbsd bug causing unix sockets not to |
|
|
103 | become writable until empty. |
|
|
104 | - only make a dummy read for error detection when getpeername |
|
|
105 | returns ENOTCONN. |
|
|
106 | - defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
|
|
107 | override. |
|
|
108 | - new AnyEvent::Guard::cancel. |
|
|
109 | |
|
|
110 | 3.5 Sat May 17 23:17:14 CEST 2008 |
|
|
111 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
|
|
112 | (as opposed to not supporting the clock itself, which worked in 3.41). |
|
|
113 | - added AnyEvent::Util::tcp_connect and AnyEvent::Util::tcp_server |
|
|
114 | helpers, to replace the ill-designed AnyEvent::Socket class. |
|
|
115 | - added some examples (eg/connect, eg/handle). |
|
|
116 | - added AnyEvent::Util::guard. |
|
|
117 | - AnyEvent::Util now exports most of its functions. |
|
|
118 | - fixed a bug in *_read_chunk, where the callback was called with $self as |
|
|
119 | first and second argument. |
|
|
120 | - simplified and fixed regex handling in AnyEvent::Handle::*_read_line. |
|
|
121 | - fix manpage condvars examples to use new syntax. |
|
|
122 | - considerably improve inet_aton with EV::ADNS backend to support |
|
|
123 | cname chains (common dns configuration bug, e.g. with www.google.de) |
|
|
124 | and aaaa records if no a record could be found. |
|
|
125 | |
|
|
126 | 3.41 Sun May 11 19:53:13 CEST 2008 |
|
|
127 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
|
|
128 | |
|
|
129 | 3.4 Sun May 11 00:29:25 CEST 2008 |
|
|
130 | - complete re-implementation of condvars with a hopefully much mroe useful |
|
|
131 | API (backward compatible functions exist but are undocumented). |
|
|
132 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
|
|
133 | (still subject to change). |
|
|
134 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
|
|
135 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |
|
|
136 | allows module authors to avoid forcing event loop detection. |
|
|
137 | (used by Coro::AIO, Coro::BDB, Coro::AnyEvent for example). |
|
|
138 | - remove coro backends: Coro now provides generic support for AnyEvent |
|
|
139 | via Coro::AnyEvent. |
|
|
140 | |
|
|
141 | 3.3 Mon Apr 28 09:51:06 CEST 2008 |
|
|
142 | - added AnyEvent::Handle, AnyEvent::Socket and AnyEvent::Util modules. |
|
|
143 | - fix a bug in the pure perl backend that kept watchers alive |
|
|
144 | when multiple watchers were registered for the same fh/poll combo. |
|
|
145 | - add a benchmark section showing AnyEvent overhead and comparing |
|
|
146 | the different event loops with each other. |
|
|
147 | - prefer pure perl over tk when autoprobing, as it's about as fast, |
|
|
148 | but doesn't crash with many watchers. |
|
|
149 | - declare Qt support non-experimental. |
|
|
150 | - clarify the confusing section about the file descriptor being |
|
|
151 | kept alive. |
|
|
152 | - document the race between loading of an event module and |
|
|
153 | child processes exiting. |
|
|
154 | - support POE as "backend" (with some caveats, POE is not generic |
|
|
155 | enough, and darn slow). |
|
|
156 | - support Wx and Prima through POE. |
|
|
157 | - optimise perl backend to use 20% less memory and take advantage |
|
|
158 | of typical timeout behaviour. It can now compete with |
|
|
159 | select/poll-based C event loops in most cases (it is usually |
|
|
160 | faster than Event and Glib :). |
|
|
161 | - roughly cut EV memory use in half and increase its speed by 30%, |
|
|
162 | by removing undocumented functionality. Did something similar |
|
|
163 | to other event loops where possible. |
|
|
164 | |
|
|
165 | 3.2 Thu Apr 24 10:10:40 CEST 2008 |
|
|
166 | - do not die when anyevent watchers are destroyed while running callbacks |
|
|
167 | in the pureperl backend (could only happen when two watchers are registered |
|
|
168 | for the same fh/poll combo). |
|
|
169 | - support autoloading for child watchers, was broken in all versions. |
|
|
170 | - implement PERL_ANYEVENT_MODEL env variable. |
|
|
171 | - (experimental) implement interface to the (very crashy/buggy) Event::Lib module. |
|
|
172 | - (experimental) implement interface to the Qt module (cannot be autoprobed). |
|
|
173 | - this release is IO:AnyEvent-proof. |
|
|
174 | |
|
|
175 | 3.12 Tue Apr 22 07:11:46 CEST 2008 |
|
|
176 | - reinstate AUTHOR section that got lost somehow. |
|
|
177 | - do not hang in the testsuite with badly broken perls (activestate, |
|
|
178 | strawberry...), but instead diagnose the problem and continue. |
|
|
179 | - use INT instead of CHLD in an attempt to support broken windows perls |
|
|
180 | better (this decreases the test quality, unfortunately). |
|
|
181 | - do not send the signal to the process group |
|
|
182 | (no problem for CHLD, bad for INT :). |
|
|
183 | |
|
|
184 | 3.11 Sat Apr 19 06:57:31 CEST 2008 |
|
|
185 | - major documentation rework. |
|
|
186 | - document the fact that child watchers only watch for zombies. |
|
|
187 | - fix the child watcher example. |
|
|
188 | |
|
|
189 | 3.1 Wed Apr 16 17:09:01 CEST 2008 |
|
|
190 | - work around recurring bugs in Tk by dup'ing filehandles, the |
|
|
191 | only method with good success chances on Tk (the bugs apparently |
|
|
192 | don't get fixed anytime soon). |
|
|
193 | - lift the restriction of only one watcher per fh direction |
|
|
194 | (as the Tk bug workaround also lifts it and only Tk imposed |
|
|
195 | such strong limits). |
|
|
196 | - changed probe order to prefer coro adaptors. |
|
|
197 | - explain why recursion into the event loop is not supported |
|
|
198 | unless the backend supports it (only Coro::EV does without |
|
|
199 | any restrictions...). |
|
|
200 | - add simple manpages for all backend modules. |
|
|
201 | |
|
|
202 | 3.0 Mon Apr 7 21:30:23 CEST 2008 |
|
|
203 | - Coro::Signal changed semantics, roll our own, also cleaning |
|
|
204 | up the Coro implementation in general. |
|
|
205 | - rename Coro backend to CoroEvent. |
|
|
206 | - add some decision helping paragraph to the manpage that should |
|
|
207 | help people to decide whether AnyEvent is the right thing for them. |
|
|
208 | |
|
|
209 | 2.9 Mon Jan 28 13:31:54 CET 2008 |
|
|
210 | - update for EV 3.0 API changes. |
|
|
211 | |
|
|
212 | 2.8 Sun Nov 25 15:06:03 CET 2007 |
|
|
213 | - waitpid can validly return 0. accept this fact of life |
|
|
214 | instead of reporting it to any watchers. |
|
|
215 | |
|
|
216 | 2.7 Fri Nov 23 11:41:14 CET 2007 |
3 | - force use of AnyEvent::Impl::Perl in testsuite, there is |
217 | - force use of AnyEvent::Impl::Perl in testsuite, there is |
4 | too much breakage outside AnyEvent. |
218 | too much breakage outside AnyEvent. |
|
|
219 | - deliver signals synchronously in AnyEvent::Impl::Perl |
|
|
220 | or any other event loop that relies on AnyEvents child |
|
|
221 | watcher emulation. *Could* help with hanging testsuite |
|
|
222 | (except when Event or EV are installed). |
5 | |
223 | |
6 | 2.6 Fri Nov 9 20:36:35 CET 2007 |
224 | 2.6 Fri Nov 9 20:36:35 CET 2007 |
7 | - fix bug in testsuite. |
225 | - fix bug in testsuite. |
8 | - move EV adaptor modules to AnyEvent. |
226 | - move EV adaptor modules to AnyEvent. |
9 | - add Coro+EV adaptor module. |
227 | - add Coro+EV adaptor module. |
… | |
… | |
80 | - fixed documentation. |
298 | - fixed documentation. |
81 | - clarified some corner cases. |
299 | - clarified some corner cases. |
82 | - vastly improved documentation with a long example. |
300 | - vastly improved documentation with a long example. |
83 | |
301 | |
84 | 0.2 Thu Dec 1 22:18:49 CET 2005 |
302 | 0.2 Thu Dec 1 22:18:49 CET 2005 |
85 | - check wether a valid method was called, to avoid endless loops. |
303 | - check whether a valid method was called, to avoid endless loops. |
86 | - move condvars into their own class (cleaner, safer). |
304 | - move condvars into their own class (cleaner, safer). |
87 | - don't die when some modules are not available. |
305 | - don't die when some modules are not available. |
88 | - Tk is too broken to allow for words. Will work once Tk works. |
306 | - Tk is too broken to allow for words. Will work once Tk works. |
89 | |
307 | |
90 | 0.1 Thu Dec 1 19:44:57 CET 2005 |
308 | 0.1 Thu Dec 1 19:44:57 CET 2005 |