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

Comparing AnyEvent/Changes (file contents):
Revision 1.204 by root, Mon Nov 3 17:14:30 2008 UTC vs.
Revision 1.338 by root, Thu Aug 20 22:58:35 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
4 using starttls with an illegal/uncreatable tls context.
5
65.111 Sun Aug 16 18:44:36 CEST 2009
7 - perl errornously requires sockaddr_un structures returned by the
8 kernel to have a specific length. work around this bug by padding
9 sockaddr_un structures (found to fail on OS X, as perl only uses
10 the correct code for GNU/Linux, but likely to fail on other
11 OSes as well).
12
135.11 Wed Aug 12 17:49:37 CEST 2009
14 - fixed a bug in run_cmd with input from filename.
15 - create a json coder object when none is given in write direction
16 to reduce dependency on JSON.
17
185.1 Tue Aug 11 03:17:32 CEST 2009
19 - tcp_connect now reports the correct error in $!, not an unrelated
20 one (was broken since 4.91).
21 - AE::Handle did not properly clear rtimeout/wtimeout watchers
22 when retrying a tcp_connect.
23 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
24 - fixed wrong documentation in AE::Socket.
25
265.01 Mon Aug 10 03:16:32 CEST 2009
27 - last release broke EV child watchers :/.
28
295.0 Sun Aug 9 17:32:09 CEST 2009
30 - officially introduce and document the AE API.
31 - lowering the timeout at runtime did not have immediate effect
32 in AnyEvent::Handle.
33 - AE::Handle now has separate and independent read and write timeout
34 settings.
35 - probe for Guard module when AnyEvent::Util is loaded, not at
36 runtime (Event doesn't like eval "use" from callbacks, and it avoids
37 exporting the probe function).
38 - Impl::IOAsync's io watchers did not use the filehandle emulation
39 code to work around it's watcher limits.
40 - work around IO::Async's problems with overloaded objects.
41 - try to disable wearnings inside IO::Async, it's just too buggy.
42 - do no longer use Event by default, only EV or Perl, Event is too buggy.
43 - hackishly provide fast AE:: interface when EV or Perl is the backend.
44 - inherit VERSION from AnyEvent::VERSION in most modules.
45
464.91 Thu Aug 6 15:42:45 CEST 2009
47 - AE::Handle::starttls could get out of sync when the read buffer
48 already contains some TLS handshake.
49 - AE::Handle did not properly free the TLS session, causing bigger
50 memory leaks in Net::SSLeay than expected (reported by toaster).
51 - AE::Socket::tcp_connect will now artificially delay invoking
52 the callback to avoid returning after invoking the callback.
53 - convert many internal watcher uses to AE API.
54
554.9 Sat Aug 1 11:07:01 CEST 2009
56 - Glib silently fails when registering a timeout with
57 a negative value, so avoid that.
58 - call condvar callback immediately when it is set
59 after the condition is already signalled.
60 - check rbuf_max condition only after trying to consume
61 data.
62 - normalise signal numbers to names when using the ae's
63 signal handling, but do not document this (yet).
64 - pure perl signal emulation did not properly set nonblocking
65 mode on the signal pipe on win32 (this is unlikely to have caused
66 any issues).
67 - new module: AnyEvent::Debug.
68 - AnyEvent::Strict now checks that a signal was specified
69 by name (not name or number).
70 - reduce memory footprint in typical cases by ~50kb by
71 only compiling signal code when necessary.
72 - add AnyEvent::Handle->rbuf_max.
73 - grab the AE namespace for future new API, implement stubs for
74 said future/alternative API.
75 - new function: AnyEvent::Socket::format_hostport.
76
774.881 Tue Jul 28 12:51:53 CEST 2009
78 - work around a bug in local in pre-5.10 perls, causing
79 AnyEvent::Handle to recurse when it should not
80 (analyzed by elmex).
81
824.88 Tue Jul 28 04:04:37 CEST 2009
83 - re-bless the handle into a dummy package after calling
84 AnyEvent::Handle::destroy, so the user does not need to check
85 for errors after every push_write etc.
86 - do not attempt to run t/02_signals.t on obviously broken
87 platforms.
88
894.87 Sun Jul 26 02:06:16 CEST 2009
90 - do not attempt to linger when there is no longer a valid fh.
91 - enforce tls mode to be either accept or connect, do not simply
92 segfault in Net::SSLeay.
93 - AnyEvent::Handle can now call tcp_connect itself (new parameters
94 connect, on_prepare, on_connect and on_connect_error). Updated
95 tutorial accordingly.
96 - add AnyEvent::Impl::Irssi backend.
97
984.86 Mon Jul 20 23:52:29 CEST 2009
99 - since the verbose warning is not enough, explicitly document
100 that versions before 1.33 of Net::SSLeay are not secure.
101 - work around signal handling races in Event and (...) Event::Lib.
102 - try to align signal-race timer to full-second boundaries.
103 - work around Tk not liking negative timeouts.
104 - don't complain of different grades of environmental unfriendlyness
105 in IO::Async.
106
1074.85 Sat Jul 18 06:16:14 CEST 2009
108 - nail the signal race problem in perl once and for all
109 (see $AnyEvent::MAX_SIGNAL_LATENCY).
110 - take advantage of Async::Interrupt if it is available.
111 - load Time::HiRes and Guard modules on demand only.
112 - add optional/recommended modules section to AnyEvent
113 documentation.
114 - reduce memory usage considerably (and reduce startup penalty)
115 by not using "strict", "warnings" and "overload" modules.
116 - work around buggy windows/openbsd perls and provide EBADMSG
117 and EPROTO ourselves when missing.
118 - improve perl 5.6 compatibility of the core event loop.
119 - made Net::SSLeay version 1.33 a soft requirement.
120
1214.83 Fri Jul 17 16:56:26 CEST 2009
122 - implement AnyEvent::Socket::getprotobyname.
123 - AnyEvent::CondVar's will now detect recursive blocking
124 waits and will croak, as too many people fall into
125 this trap.
126 - AnyEvent::Handle will now call ->destroy on itself after
127 executing the on_error callback, instead of doing some
128 half-baked internal shutdown, for fatal errors.
129 - clarify on_eof behaviour w.r.t. the read queue and
130 on_read callbacks.
131 - ignore some possible spurious wake-ups in tcp_connect.
132
1334.82 Sat Jul 11 00:34:55 CEST 2009
134 - POE and Event backends didn't accept some callable objects as
135 callbacks.
136 - use Config module instead of POSIX module to detect signal names
137 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
138 module doesn't even have all POSIX signals :/.
139 - use more workarounds around the many refcnt/corruption bugs in
140 Event::Lib.
141 - work around a race condition in perl's select, causing t/03_child.t
142 to rarely fail.
143
1444.81 Thu Jul 9 10:30:30 CEST 2009
145 - AnyEvent::Handle didn't properly diagnose write errors
146 (it expected -1 from syswrite, how lame... :).
147 - support file descriptors in addition to file handles
148 in AnyEvent->io.
149 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
150 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
151 and PERL_ANYEVENT_CA_PATH.
152 - provide a sensible synopsis section for AnyEvent::TLS.
153 - add a "supported backends" section to the manpage.
154 - added simple io watcher test to testsuite, using a
155 portable_socketpair.
156 - tried to improve the stability of the Event::Lib backend,
157 YMMV.
158
1594.8 Mon Jul 6 23:45:16 CEST 2009
160 - AnyEvent::DNS did not properly follow CNAME records with
161 uppercase targets.
162 - AnyEvent::DNS would errornously return AAAA records
163 with v4 mapped addresses (a faulty record) as ipv4 addresses,
164 causing AnyEvent::Socket to throw an exception.
165 - added new module AnyEvent::TLS for easier SSL/TLS context
166 creation, with many options including hostname verification,
167 secure default configuration, lots of documentation and,
168 predefined diffie-hellman keys for perfect forward security
169 and much more. get it while it's still fresh!
170 - use AnyEvent::TLS in AnyEvent::Handle for context management.
171 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
172 so AnyEvent::Socket users have smaller memory footprint
173 in the common case.
174 - add AnyEvent::Handle->push_shutdown method.
175 - add an additional error message parameter to AnyEvent::Handle's
176 on_error callback (for TLS, $! is still available).
177 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
178 - make AnyEvent::Handle more robust against early conenction
179 failures (during new), and return C<undef> in that case
180 from the constructor.
181 - AnyEvent::Handle will now try to load only JSON::XS first,
182 then fall back to JSON.
183 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
184 and because it was documented that way.
185
1864.451 Fri Jul 3 00:28:58 CEST 2009
187 - do not clear rbuf when shutting down an AnyEvent::Handle
188 object - doing so breaks AnyEvent::HTTP.
189
1904.45 Mon Jun 29 22:59:26 CEST 2009
191 - a write error could cause AnyEvent::Handle to create
192 an I/O watcher with an undefined $fh.
193 - special-case mapped ipv4 addresses in both
194 AnyEvent::Socket::format_address and parse_address,
195 to treat them just like ipv4 addresses.
196 - updated and overhauled the AnyEvent::Intro doc.
197 - implement AnyEvent::Socket::format_ipv4/ipv6.
198 - slightly speed up portable_pipe/socketpair.
199 - expand condvar begin/end documentation.
200
2014.42 Fri Jun 26 08:32:18 CEST 2009
202 - preliminary and neccesarily incomplete support for IO::Async.
203 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
204 case it was set to IGNORE, to ensure we can catch child statuses
205 even when the calling env acts stupidly.
206 - updated benchmarks with IO::Async, which performs very well.
207
2084.412 Wed Jun 24 01:35:57 CEST 2009
209 - support an "untaint" attribute for AnyEvent::DNS
210 and set it on the default resolver.
211 - implement and document AnyEvent::Impl::Perl::loop.
212 - remove all anyevent-env variables from %ENV
213 when running in tainted mode.
214 - mention and extend the IO::Lambda benchmark.
215
2164.411 Sun Jun 7 18:48:02 CEST 2009
217 - do not try to use F_SETFD on windows.
218
2194.41 Thu May 14 06:40:11 CEST 2009
220 - work around issues in older perls (5.8.0?) when
221 a signal handler is deleted from the %SIG hash.
222 - use POSIX::_exit in child test, to avoid running
223 destructors.
224 - speed up CHLD handling by relying on SIGCHLD being
225 synchronously delivered, even when we roll our own
226 implementation.
227 - AnyEvent::DNS: add the "dname" resource record name
228 for cosmetic reasons.
229
2304.4 Sun Apr 26 20:12:33 CEST 2009
231 - implemented idle watchers, where applicable.
232 - AnyEvent->time died when Event backend was in use.
233 - fix a memleak in the Tk backend.
234 - sped up Tk timer handling.
235 - clip negative "after" values to 0 in AnyEvent::Impl::Event
236 to avoid spamming out warning messages.
237 - fix Qt timers without interval.
238 - avoid Qt zero-timeout special case, in old libqt's.
239
2404.352 Mon Apr 20 16:31:11 CEST 2009
241 - fix AnyEvent::Strict error messages for child watchers.
242 - fix/update Makefile.PL "recommends" versions.
243 - add AnyEvent->now_update.
244
2454.351 Sat Apr 11 07:56:14 CEST 2009
246 - actually make the signal pipe work under win32.
247 - localise $! in signal handler to avoid changing $!, although
248 perl itself does not seem to save/restore errno either.
249 - set the cloexec flag on the signal pipe (normally set by perl too).
250
2514.35 Fri Mar 27 11:48:20 CET 2009
252 - event models relying on AnyEvent's signal watcher emulation did
253 invoke the callback asynchronously, contradicting documentation
254 and causing signals to get lost (this includes AnyEvent's own
255 event loop). AnyEvent now uses the standard pipe trick to make
256 callback execution synchronous to the event loop.
257 - AnyEvent::Handle didn't free TLS context data on DESTROY
258 (patch by Pavel Shaydo).
259 - work around the ever-incompatibly-changing API of MakeMaker.
260 - document that changing global variables without restoring them
261 is a bad idea in Perl (noted by Adam Rosenstein).
262 - AnyEvent::Strict now barfs if ->io is passed a file.
263
2644.34 Thu Feb 12 18:32:45 CET 2009
265 - separately buffer TLS read data, as otherwise the read queue could
266 deadlock as receiving data is not expected while draining the
267 read queue (which cna only happen with TLS).
268 - raise EBADMSG error on JSON decoding errors.
269 - fix some minor manpage bugs (reported by Maximilian Gaß).
270 - speed up select bitmask parsing quite a bit in the pure perl
271 backend.
272 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
273
2744.331 Tue Jan 6 21:07:25 CET 2009
275 - socketpair fails on many vista machines because vista has
276 completely broken accept/getpeername and getsockname functions,
277 so we provide our own socketpair emulation that kind of works
278 (AnyEvent::Util::portable_pipe).
279 - new function: AnyEvent::Util::portable_socketpair.
280 - take advantage of the Guard module if it exists.
281
2824.33 Fri Nov 21 02:35:40 CET 2008
283 - AnyEvent::Strict did errornously flag a fileno of 0 as
284 illegal.
285 - reduce memory usage and slightly speed up the pure perl backend
286 by only storing the file descriptor, not the file handle.
287 - add missing autocork method to AnyEvent::Handle (reported
288 by Adam Rosenstein).
289 - AnyEvent::DNS->resolve errornously documented an $rcode result
290 argument, but there isn't (spotted by Henrik Krohns).
291 - the naked truth about Tk - it's basically unmaintained.
292
2934.32 Mon Nov 3 22:46:32 CET 2008
3 - fix AnyEvent::Socket::resolve_sockaddr to properly support 294 - fix AnyEvent::Socket::resolve_sockaddr to properly support
4 unix sockets again and choose a proper default for 295 unix sockets again and choose a proper default for
5 the socket type. 296 the socket type.
6 - fix call to resolve_sockaddr in tcp_connect. 297 - fix call to resolve_sockaddr in tcp_connect.
7 298

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines