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

Comparing AnyEvent/Changes (file contents):
Revision 1.163 by root, Fri Jul 4 12:25:44 2008 UTC vs.
Revision 1.243 by root, Tue Jun 23 12:21:34 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2
3TODO: document ->loop, and maybe one_event.
4 - support an "untaint" attribute for AnyEvent::DNS
5 and set it on the default resolver.
6 - implement and document AnyEvent::Impl::Perl::loop.
7 - remove all anyevent-env variables from %ENV
8 when running in tainted mode.
9
104.411 Sun Jun 7 18:48:02 CEST 2009
11 - do not try to use F_SETFD on windows.
12
134.41 Thu May 14 06:40:11 CEST 2009
14 - work around issues in older perls (5.8.0?) when
15 a signal handler is deleted from the %SIG hash.
16 - use POSIX::_exit in child test, to avoid running
17 destructors.
18 - speed up CHLD handling by relying on SIGCHLD being
19 synchronously delivered, even when we roll our own
20 implementation.
21 - AnyEvent::DNS: add the "dname" resource record name
22 for cosmetic reasons.
23
244.4 Sun Apr 26 20:12:33 CEST 2009
25 - implemented idle watchers, where applicable.
26 - AnyEvent->time died when Event backend was in use.
27 - fix a memleak in the Tk backend.
28 - sped up Tk timer handling.
29 - clip negative "after" values to 0 in AnyEvent::Impl::Event
30 to avoid spamming out warning messages.
31 - fix Qt timers without interval.
32 - avoid Qt zero-timeout special case, in old libqt's.
33
344.352 Mon Apr 20 16:31:11 CEST 2009
35 - fix AnyEvent::Strict error messages for child watchers.
36 - fix/update Makefile.PL "recommends" versions.
37 - add AnyEvent->now_update.
38
394.351 Sat Apr 11 07:56:14 CEST 2009
40 - actually make the signal pipe work under win32.
41 - localise $! in signal handler to avoid changing $!, although
42 perl itself does not seem to save/restore errno either.
43 - set the cloexec flag on the signal pipe (normally set by perl too).
44
454.35 Fri Mar 27 11:48:20 CET 2009
46 - event models relying on AnyEvent's signal watcher emulation did
47 invoke the callback asynchronously, contradicting documentation
48 and causing signals to get lost (this includes AnyEvent's own
49 event loop). AnyEvent now uses the standard pipe trick to make
50 callback execution synchronous to the event loop.
51 - AnyEvent::Handle didn't free TLS context data on DESTROY
52 (patch by Pavel Shaydo).
53 - work around the ever-incompatibly-changing API of MakeMaker.
54 - document that changing global variables without restoring them
55 is a bad idea in Perl (noted by Adam Rosenstein).
56 - AnyEvent::Strict now barfs if ->io is passed a file.
57
584.34 Thu Feb 12 18:32:45 CET 2009
59 - separately buffer TLS read data, as otherwise the read queue could
60 deadlock as receiving data is not expected while draining the
61 read queue (which cna only happen with TLS).
62 - raise EBADMSG error on JSON decoding errors.
63 - fix some minor manpage bugs (reported by Maximilian Gaß).
64 - speed up select bitmask parsing quite a bit in the pure perl
65 backend.
66 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
67
684.331 Tue Jan 6 21:07:25 CET 2009
69 - socketpair fails on many vista machines because vista has
70 completely broken accept/getpeername and getsockname functions,
71 so we provide our own socketpair emulation that kind of works
72 (AnyEvent::Util::portable_pipe).
73 - new function: AnyEvent::Util::portable_socketpair.
74 - take advantage of the Guard module if it exists.
75
764.33 Fri Nov 21 02:35:40 CET 2008
77 - AnyEvent::Strict did errornously flag a fileno of 0 as
78 illegal.
79 - reduce memory usage and slightly speed up the pure perl backend
80 by only storing the file descriptor, not the file handle.
81 - add missing autocork method to AnyEvent::Handle (reported
82 by Adam Rosenstein).
83 - AnyEvent::DNS->resolve errornously documented an $rcode result
84 argument, but there isn't (spotted by Henrik Krohns).
85 - the naked truth about Tk - it's basically unmaintained.
86
874.32 Mon Nov 3 22:46:32 CET 2008
88 - fix AnyEvent::Socket::resolve_sockaddr to properly support
89 unix sockets again and choose a proper default for
90 the socket type.
91 - fix call to resolve_sockaddr in tcp_connect.
92
934.31 Thu Oct 30 04:41:48 CET 2008
94 - implemented AnyEvent::Handle->destroy method.
95 - hint about unexpected effects in TLS mode.
96 - speed up AnyEvent::Impl::Perl by using more arrays
97 instead of hashes without the slightest loss of readability :)
98 - work around a perl argument refcounting bug.
99 - with some perl patches applied, AnyEvent now seems leak-free.
100
1014.3 Fri Oct 3 09:18:43 CEST 2008
102 - AnyEvent will now install a no-op signal handler for SIGPIPE,
103 unless one has been installed already.
104 - warn about not loaidng AnyEvent::Impl::POE early enough
105 (patch by Adam Rosenstein).
106 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
107 - fix a bug in where in SSL connect mode, the
108 client would first wait for some data by the server and
109 otherwise hang. (reported and analyzed in an absolutely
110 exemplary manner by Adam Rosenstein).
111 - fix a bug in where SSL EOF would not be treated
112 as stream EOF, putting the connection into a hung state.
113 (reported and analyzed in an absolutely exemplary manner by Adam
114 Rosenstein).
115 - fix a potential segfault when the TLS context
116 would go missing in a read callback (e.g. due to stoptls) -
117 Net::SSLeay of course makes no type checking whatsoever.
118 - AnyEvent::Handle will not stop the read watcher in TLS mode.
119 - AnyEvent::Handle->stoptls will send a TLS close notify
120 instead of simply destroying the stream now.
121 - fix a bug where large blocks of data written in TLS mode
122 would not be sent unless triggered by receives.
123 - on_drain will now take the tls write buffer into account.
124 - SSL operations have been streamlined a bit and should be faster
125 now, more to come, though.
126 - added a FAQ section, will document nontrivial issues in there.
127
1284.234 Mon Sep 29 04:08:13 CEST 2008
129 - fix child watcher documentation: only child exits will be reported,
130 no trace events.
131 - mention SIGPIPE in AnyEvent::Handle.
132 - perl backend will now use POSIX::times as monotonic clock
133 when available and the monotonic clock option is not.
134 - run even without Time::HiRes in some cases now, but do not
135 provide sub-second accuracy (all *supported* perl versions have
136 Time::HiRes).
137
1384.233 Fri Aug 22 01:48:05 CEST 2008
139 - fix a bug in the testsuite, causing a hang.
140 - clarified lots of AnyEvent::Handle constructor arguments.
141
1424.232 Thu Aug 21 20:44:25 CEST 2008
143 - fix a bug in AnyEvent::Handle that could cause two fatal error
144 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
145 (testcase by Leon Brocard).
146 - clarified on_eof/on_error documentation a bit.
147
1484.231 Tue Jul 29 13:12:15 CEST 2008
149 - remove some debugging code left in AnyEvent::Util::fork_call
150 (and no, it's impossible to implement with the broken windows
151 perls without resource leaks or worse).
152
1534.23 Tue Jul 29 12:19:59 CEST 2008
154 - document the first parameter passed to condvar callbacks to be
155 the callback.
156 - add AnyEvent::Socket::{ntoa,aton} aliases.
157 - optimize the AE::Handle->push_read (line) for the default
158 eol marker.
159 - optimize push_read (packstring|storable) for small packets.
160 - invoke on_error callback when no on_eof callback is set.
161 - fix a bug in push_read (storable) of unknown impact.
162
1634.22 Sun Jul 20 16:34:13 CEST 2008
164 - new function AnyEvent::Socket::parse_hostport.
165 - as the bulkheads at microsoft can't even get getprotobyname reliably
166 working on their shitty fucking broken os we need to hardcode
167 some common protocol numbers in AnyEvent::Socket. How can
168 people even bother with such a pile of shit as windows.
169
1704.21 Thu Jul 17 14:40:05 CEST 2008
171 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
172 which is incompatible to previous invocation syntax.
173 - work around more windows perl bugs in fork_call. I cannot imagine
174 why anybody would bother implementing fork in such an obviously
175 unusable way.
176 - avoid calling $do_retry if the request has already finished in
177 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
178 K. Sharifulin).
179
1804.2 Sat Jul 12 22:42:11 CEST 2008
181 - support an "interval" argument for repeating timers.
182 - fix a bug in the pure perl event loop that caused timers to
183 be delayed under some circumstances.
184 - implement optional argument checking via PERL_ANYEVENT_STRICT.
185 - not importing anything from Event causes it to malfunction
186 and not use Time::HiRes, work around this bug.
187 - more bug workarounds against the endlessly broken Tk module,
188 seems to work now on 32 bit machines, but less so on 64 bit.
189 - minor optimisations applied to most backends.
2 190
34.161 Fri Jul 4 14:24:48 CEST 2008 1914.161 Fri Jul 4 14:24:48 CEST 2008
4 - fixed the t/handle/02_write.t, it read after write, with the 192 - fixed the t/handle/02_write.t, it read after write, with the
5 assumption that all data could be written before read 193 assumption that all data could be written before read
6 (reported by Jim Razmus). 194 (reported by Jim Razmus).
159 - support service names in tcp_connect and tcp_server. 347 - support service names in tcp_connect and tcp_server.
160 - work around netbsd/openbsd bug causing unix sockets not to 348 - work around netbsd/openbsd bug causing unix sockets not to
161 become writable until empty. 349 become writable until empty.
162 - only make a dummy read for error detection when getpeername 350 - only make a dummy read for error detection when getpeername
163 returns ENOTCONN. 351 returns ENOTCONN.
164 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 352 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
165 override. 353 override.
166 - new AnyEvent::Guard::cancel. 354 - new AnyEvent::Guard::cancel.
167 355
1683.5 Sat May 17 23:17:14 CEST 2008 3563.5 Sat May 17 23:17:14 CEST 2008
169 - gracefully deal with systems not defining CLOCK_MONOTONIC 357 - gracefully deal with systems not defining CLOCK_MONOTONIC
183 371
1843.41 Sun May 11 19:53:13 CEST 2008 3723.41 Sun May 11 19:53:13 CEST 2008
185 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 373 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
186 374
1873.4 Sun May 11 00:29:25 CEST 2008 3753.4 Sun May 11 00:29:25 CEST 2008
188 - complete re-implementation of condvars with a hopefully much mroe useful 376 - complete re-implementation of condvars with a hopefully much more useful
189 API (backward compatible functions exist but are undocumented). 377 API (backward compatible functions exist but are undocumented).
190 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 378 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
191 (still subject to change). 379 (still subject to change).
192 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 380 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
193 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 381 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines