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

Comparing AnyEvent/Changes (file contents):
Revision 1.179 by root, Sun Jul 27 03:28:36 2008 UTC vs.
Revision 1.320 by root, Thu Aug 6 13:31:01 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: Danga::Socket backend.
4
5TODO: delay tcp_connect
64.901
7 - AE::Handle::starttls could get out of sync when the read buffer
8 already contains some TLS handshake.
9 - AE::Handle did not properly free the TLS session, causing bigger
10 memory leaks in Net::SSLeay than expected (reported by toaster).
11 - AE::Socket::tcp_connect will now artificially delay invoking
12 the callback to avoid returning after invoking the callback.
13
144.9 Sat Aug 1 11:07:01 CEST 2009
15 - Glib silently fails when registering a timeout with
16 a negative value, so avoid that.
17 - call condvar callback immediately when it is set
18 after the condition is already signalled.
19 - check rbuf_max condition only after trying to consume
20 data.
21 - normalise signal numbers to names when using the ae's
22 signal handling, but do not document this (yet).
23 - pure perl signal emulation did not properly set nonblocking
24 mode on the signal pipe on win32 (this is unlikely to have caused
25 any issues).
26 - new module: AnyEvent::Debug.
27 - AnyEvent::Strict now checks that a signal was specified
28 by name (not name or number).
29 - reduce memory footprint in typical cases by ~50kb by
30 only compiling signal code when necessary.
31 - add AnyEvent::Handle->rbuf_max.
32 - grab the AE namespace for future new API, implement stubs for
33 said future/alternative API.
34 - new function: AnyEvent::Socket::format_hostport.
35
364.881 Tue Jul 28 12:51:53 CEST 2009
37 - work around a bug in local in pre-5.10 perls, causing
38 AnyEvent::Handle to recurse when it should not
39 (analyzed by elmex).
40
414.88 Tue Jul 28 04:04:37 CEST 2009
42 - re-bless the handle into a dummy package after calling
43 AnyEvent::Handle::destroy, so the user does not need to check
44 for errors after every push_write etc.
45 - do not attempt to run t/02_signals.t on obviously broken
46 platforms.
47
484.87 Sun Jul 26 02:06:16 CEST 2009
49 - do not attempt to linger when there is no longer a valid fh.
50 - enforce tls mode to be either accept or connect, do not simply
51 segfault in Net::SSLeay.
52 - AnyEvent::Handle can now call tcp_connect itself (new parameters
53 connect, on_prepare, on_connect and on_connect_error). Updated
54 tutorial accordingly.
55 - add AnyEvent::Impl::Irssi backend.
56
574.86 Mon Jul 20 23:52:29 CEST 2009
58 - since the verbose warning is not enough, explicitly document
59 that versions before 1.33 of Net::SSLeay are not secure.
60 - work around signal handling races in Event and (...) Event::Lib.
61 - try to align signal-race timer to full-second boundaries.
62 - work around Tk not liking negative timeouts.
63 - don't complain of different grades of environmental unfriendlyness
64 in IO::Async.
65
664.85 Sat Jul 18 06:16:14 CEST 2009
67 - nail the signal race problem in perl once and for all
68 (see $AnyEvent::MAX_SIGNAL_LATENCY).
69 - take advantage of Async::Interrupt if it is available.
70 - load Time::HiRes and Guard modules on demand only.
71 - add optional/recommended modules section to AnyEvent
72 documentation.
73 - reduce memory usage considerably (and reduce startup penalty)
74 by not using "strict", "warnings" and "overload" modules.
75 - work around buggy windows/openbsd perls and provide EBADMSG
76 and EPROTO ourselves when missing.
77 - improve perl 5.6 compatibility of the core event loop.
78 - made Net::SSLeay version 1.33 a soft requirement.
79
804.83 Fri Jul 17 16:56:26 CEST 2009
81 - implement AnyEvent::Socket::getprotobyname.
82 - AnyEvent::CondVar's will now detect recursive blocking
83 waits and will croak, as too many people fall into
84 this trap.
85 - AnyEvent::Handle will now call ->destroy on itself after
86 executing the on_error callback, instead of doing some
87 half-baked internal shutdown, for fatal errors.
88 - clarify on_eof behaviour w.r.t. the read queue and
89 on_read callbacks.
90 - ignore some possible spurious wake-ups in tcp_connect.
91
924.82 Sat Jul 11 00:34:55 CEST 2009
93 - POE and Event backends didn't accept some callable objects as
94 callbacks.
95 - use Config module instead of POSIX module to detect signal names
96 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
97 module doesn't even have all POSIX signals :/.
98 - use more workarounds around the many refcnt/corruption bugs in
99 Event::Lib.
100 - work around a race condition in perl's select, causing t/03_child.t
101 to rarely fail.
102
1034.81 Thu Jul 9 10:30:30 CEST 2009
104 - AnyEvent::Handle didn't properly diagnose write errors
105 (it expected -1 from syswrite, how lame... :).
106 - support file descriptors in addition to file handles
107 in AnyEvent->io.
108 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
109 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
110 and PERL_ANYEVENT_CA_PATH.
111 - provide a sensible synopsis section for AnyEvent::TLS.
112 - add a "supported backends" section to the manpage.
113 - added simple io watcher test to testsuite, using a
114 portable_socketpair.
115 - tried to improve the stability of the Event::Lib backend,
116 YMMV.
117
1184.8 Mon Jul 6 23:45:16 CEST 2009
119 - AnyEvent::DNS did not properly follow CNAME records with
120 uppercase targets.
121 - AnyEvent::DNS would errornously return AAAA records
122 with v4 mapped addresses (a faulty record) as ipv4 addresses,
123 causing AnyEvent::Socket to throw an exception.
124 - added new module AnyEvent::TLS for easier SSL/TLS context
125 creation, with many options including hostname verification,
126 secure default configuration, lots of documentation and,
127 predefined diffie-hellman keys for perfect forward security
128 and much more. get it while it's still fresh!
129 - use AnyEvent::TLS in AnyEvent::Handle for context management.
130 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
131 so AnyEvent::Socket users have smaller memory footprint
132 in the common case.
133 - add AnyEvent::Handle->push_shutdown method.
134 - add an additional error message parameter to AnyEvent::Handle's
135 on_error callback (for TLS, $! is still available).
136 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
137 - make AnyEvent::Handle more robust against early conenction
138 failures (during new), and return C<undef> in that case
139 from the constructor.
140 - AnyEvent::Handle will now try to load only JSON::XS first,
141 then fall back to JSON.
142 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
143 and because it was documented that way.
144
1454.451 Fri Jul 3 00:28:58 CEST 2009
146 - do not clear rbuf when shutting down an AnyEvent::Handle
147 object - doing so breaks AnyEvent::HTTP.
148
1494.45 Mon Jun 29 22:59:26 CEST 2009
150 - a write error could cause AnyEvent::Handle to create
151 an I/O watcher with an undefined $fh.
152 - special-case mapped ipv4 addresses in both
153 AnyEvent::Socket::format_address and parse_address,
154 to treat them just like ipv4 addresses.
155 - updated and overhauled the AnyEvent::Intro doc.
156 - implement AnyEvent::Socket::format_ipv4/ipv6.
157 - slightly speed up portable_pipe/socketpair.
158 - expand condvar begin/end documentation.
159
1604.42 Fri Jun 26 08:32:18 CEST 2009
161 - preliminary and neccesarily incomplete support for IO::Async.
162 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
163 case it was set to IGNORE, to ensure we can catch child statuses
164 even when the calling env acts stupidly.
165 - updated benchmarks with IO::Async, which performs very well.
166
1674.412 Wed Jun 24 01:35:57 CEST 2009
168 - support an "untaint" attribute for AnyEvent::DNS
169 and set it on the default resolver.
170 - implement and document AnyEvent::Impl::Perl::loop.
171 - remove all anyevent-env variables from %ENV
172 when running in tainted mode.
173 - mention and extend the IO::Lambda benchmark.
174
1754.411 Sun Jun 7 18:48:02 CEST 2009
176 - do not try to use F_SETFD on windows.
177
1784.41 Thu May 14 06:40:11 CEST 2009
179 - work around issues in older perls (5.8.0?) when
180 a signal handler is deleted from the %SIG hash.
181 - use POSIX::_exit in child test, to avoid running
182 destructors.
183 - speed up CHLD handling by relying on SIGCHLD being
184 synchronously delivered, even when we roll our own
185 implementation.
186 - AnyEvent::DNS: add the "dname" resource record name
187 for cosmetic reasons.
188
1894.4 Sun Apr 26 20:12:33 CEST 2009
190 - implemented idle watchers, where applicable.
191 - AnyEvent->time died when Event backend was in use.
192 - fix a memleak in the Tk backend.
193 - sped up Tk timer handling.
194 - clip negative "after" values to 0 in AnyEvent::Impl::Event
195 to avoid spamming out warning messages.
196 - fix Qt timers without interval.
197 - avoid Qt zero-timeout special case, in old libqt's.
198
1994.352 Mon Apr 20 16:31:11 CEST 2009
200 - fix AnyEvent::Strict error messages for child watchers.
201 - fix/update Makefile.PL "recommends" versions.
202 - add AnyEvent->now_update.
203
2044.351 Sat Apr 11 07:56:14 CEST 2009
205 - actually make the signal pipe work under win32.
206 - localise $! in signal handler to avoid changing $!, although
207 perl itself does not seem to save/restore errno either.
208 - set the cloexec flag on the signal pipe (normally set by perl too).
209
2104.35 Fri Mar 27 11:48:20 CET 2009
211 - event models relying on AnyEvent's signal watcher emulation did
212 invoke the callback asynchronously, contradicting documentation
213 and causing signals to get lost (this includes AnyEvent's own
214 event loop). AnyEvent now uses the standard pipe trick to make
215 callback execution synchronous to the event loop.
216 - AnyEvent::Handle didn't free TLS context data on DESTROY
217 (patch by Pavel Shaydo).
218 - work around the ever-incompatibly-changing API of MakeMaker.
219 - document that changing global variables without restoring them
220 is a bad idea in Perl (noted by Adam Rosenstein).
221 - AnyEvent::Strict now barfs if ->io is passed a file.
222
2234.34 Thu Feb 12 18:32:45 CET 2009
224 - separately buffer TLS read data, as otherwise the read queue could
225 deadlock as receiving data is not expected while draining the
226 read queue (which cna only happen with TLS).
227 - raise EBADMSG error on JSON decoding errors.
228 - fix some minor manpage bugs (reported by Maximilian Gaß).
229 - speed up select bitmask parsing quite a bit in the pure perl
230 backend.
231 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
232
2334.331 Tue Jan 6 21:07:25 CET 2009
234 - socketpair fails on many vista machines because vista has
235 completely broken accept/getpeername and getsockname functions,
236 so we provide our own socketpair emulation that kind of works
237 (AnyEvent::Util::portable_pipe).
238 - new function: AnyEvent::Util::portable_socketpair.
239 - take advantage of the Guard module if it exists.
240
2414.33 Fri Nov 21 02:35:40 CET 2008
242 - AnyEvent::Strict did errornously flag a fileno of 0 as
243 illegal.
244 - reduce memory usage and slightly speed up the pure perl backend
245 by only storing the file descriptor, not the file handle.
246 - add missing autocork method to AnyEvent::Handle (reported
247 by Adam Rosenstein).
248 - AnyEvent::DNS->resolve errornously documented an $rcode result
249 argument, but there isn't (spotted by Henrik Krohns).
250 - the naked truth about Tk - it's basically unmaintained.
251
2524.32 Mon Nov 3 22:46:32 CET 2008
253 - fix AnyEvent::Socket::resolve_sockaddr to properly support
254 unix sockets again and choose a proper default for
255 the socket type.
256 - fix call to resolve_sockaddr in tcp_connect.
257
2584.31 Thu Oct 30 04:41:48 CET 2008
259 - implemented AnyEvent::Handle->destroy method.
260 - hint about unexpected effects in TLS mode.
261 - speed up AnyEvent::Impl::Perl by using more arrays
262 instead of hashes without the slightest loss of readability :)
263 - work around a perl argument refcounting bug.
264 - with some perl patches applied, AnyEvent now seems leak-free.
265
2664.3 Fri Oct 3 09:18:43 CEST 2008
267 - AnyEvent will now install a no-op signal handler for SIGPIPE,
268 unless one has been installed already.
269 - warn about not loaidng AnyEvent::Impl::POE early enough
270 (patch by Adam Rosenstein).
271 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
272 - fix a bug in where in SSL connect mode, the
273 client would first wait for some data by the server and
274 otherwise hang. (reported and analyzed in an absolutely
275 exemplary manner by Adam Rosenstein).
276 - fix a bug in where SSL EOF would not be treated
277 as stream EOF, putting the connection into a hung state.
278 (reported and analyzed in an absolutely exemplary manner by Adam
279 Rosenstein).
280 - fix a potential segfault when the TLS context
281 would go missing in a read callback (e.g. due to stoptls) -
282 Net::SSLeay of course makes no type checking whatsoever.
283 - AnyEvent::Handle will not stop the read watcher in TLS mode.
284 - AnyEvent::Handle->stoptls will send a TLS close notify
285 instead of simply destroying the stream now.
286 - fix a bug where large blocks of data written in TLS mode
287 would not be sent unless triggered by receives.
288 - on_drain will now take the tls write buffer into account.
289 - SSL operations have been streamlined a bit and should be faster
290 now, more to come, though.
291 - added a FAQ section, will document nontrivial issues in there.
292
2934.234 Mon Sep 29 04:08:13 CEST 2008
294 - fix child watcher documentation: only child exits will be reported,
295 no trace events.
296 - mention SIGPIPE in AnyEvent::Handle.
297 - perl backend will now use POSIX::times as monotonic clock
298 when available and the monotonic clock option is not.
299 - run even without Time::HiRes in some cases now, but do not
300 provide sub-second accuracy (all *supported* perl versions have
301 Time::HiRes).
302
3034.233 Fri Aug 22 01:48:05 CEST 2008
304 - fix a bug in the testsuite, causing a hang.
305 - clarified lots of AnyEvent::Handle constructor arguments.
306
3074.232 Thu Aug 21 20:44:25 CEST 2008
308 - fix a bug in AnyEvent::Handle that could cause two fatal error
309 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
310 (testcase by Leon Brocard).
311 - clarified on_eof/on_error documentation a bit.
312
3134.231 Tue Jul 29 13:12:15 CEST 2008
314 - remove some debugging code left in AnyEvent::Util::fork_call
315 (and no, it's impossible to implement with the broken windows
316 perls without resource leaks or worse).
317
3184.23 Tue Jul 29 12:19:59 CEST 2008
3 - document the first parameter passed to condvar callbacks to be 319 - document the first parameter passed to condvar callbacks to be
4 the callback. 320 the callback.
5 - add AnyEvent::Socket::{ntoa,aton} aliases. 321 - add AnyEvent::Socket::{ntoa,aton} aliases.
6 - optimize the AE::Handle->push_read (line ..) for the default 322 - optimize the AE::Handle->push_read (line) for the default
7 eol marker. 323 eol marker.
324 - optimize push_read (packstring|storable) for small packets.
325 - invoke on_error callback when no on_eof callback is set.
326 - fix a bug in push_read (storable) of unknown impact.
8 327
94.22 Sun Jul 20 16:34:13 CEST 2008 3284.22 Sun Jul 20 16:34:13 CEST 2008
10 - new function AnyEvent::Socket::parse_hostport. 329 - new function AnyEvent::Socket::parse_hostport.
11 - as the bulkheads at microsoft can't even get getprotobyname reliably 330 - as the bulkheads at microsoft can't even get getprotobyname reliably
12 working on their shitty fucking broken os we need to hardcode 331 working on their shitty fucking broken os we need to hardcode
193 - support service names in tcp_connect and tcp_server. 512 - support service names in tcp_connect and tcp_server.
194 - work around netbsd/openbsd bug causing unix sockets not to 513 - work around netbsd/openbsd bug causing unix sockets not to
195 become writable until empty. 514 become writable until empty.
196 - only make a dummy read for error detection when getpeername 515 - only make a dummy read for error detection when getpeername
197 returns ENOTCONN. 516 returns ENOTCONN.
198 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 517 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
199 override. 518 override.
200 - new AnyEvent::Guard::cancel. 519 - new AnyEvent::Guard::cancel.
201 520
2023.5 Sat May 17 23:17:14 CEST 2008 5213.5 Sat May 17 23:17:14 CEST 2008
203 - gracefully deal with systems not defining CLOCK_MONOTONIC 522 - gracefully deal with systems not defining CLOCK_MONOTONIC
217 536
2183.41 Sun May 11 19:53:13 CEST 2008 5373.41 Sun May 11 19:53:13 CEST 2008
219 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 538 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
220 539
2213.4 Sun May 11 00:29:25 CEST 2008 5403.4 Sun May 11 00:29:25 CEST 2008
222 - complete re-implementation of condvars with a hopefully much mroe useful 541 - complete re-implementation of condvars with a hopefully much more useful
223 API (backward compatible functions exist but are undocumented). 542 API (backward compatible functions exist but are undocumented).
224 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 543 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
225 (still subject to change). 544 (still subject to change).
226 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 545 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
227 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 546 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines