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

Comparing AnyEvent/Changes (file contents):
Revision 1.184 by root, Wed Aug 20 12:37:21 2008 UTC vs.
Revision 1.344 by root, Tue Sep 1 18:27:46 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2
35.12 Tue Sep 1 20:26:50 CEST 2009
4 - be more lenient when parsing resolv.conf files, as some people
5 use hashmarks as comment indicator inside directives (reported
6 by Michael S. Fischer).
7 - use same set of warnings as common::sense 2.0.
8 - fix a potential 32 bit overflow issue due to perl having problems
9 with large hex constants in the Perl backend.
10 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
11 by default.
12 - fix some prototypes.
13 - (optionally) require Async::Interrupt 1.02.
14 - replace opendns fallbacks by verizon/level3 public dns servers.
15
165.112 Fri Aug 21 13:59:04 CEST 2009
17 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
18 using starttls with an illegal/uncreatable tls context.
19 - port to broken win32 perls.
20
215.111 Sun Aug 16 18:44:36 CEST 2009
22 - perl errornously requires sockaddr_un structures returned by the
23 kernel to have a specific length. work around this bug by padding
24 sockaddr_un structures (found to fail on OS X, as perl only uses
25 the correct code for GNU/Linux, but likely to fail on other
26 OSes as well).
27
285.11 Wed Aug 12 17:49:37 CEST 2009
29 - fixed a bug in run_cmd with input from filename.
30 - create a json coder object when none is given in write direction
31 to reduce dependency on JSON.
32
335.1 Tue Aug 11 03:17:32 CEST 2009
34 - tcp_connect now reports the correct error in $!, not an unrelated
35 one (was broken since 4.91).
36 - AE::Handle did not properly clear rtimeout/wtimeout watchers
37 when retrying a tcp_connect.
38 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
39 - fixed wrong documentation in AE::Socket.
40
415.01 Mon Aug 10 03:16:32 CEST 2009
42 - last release broke EV child watchers :/.
43
445.0 Sun Aug 9 17:32:09 CEST 2009
45 - officially introduce and document the AE API.
46 - lowering the timeout at runtime did not have immediate effect
47 in AnyEvent::Handle.
48 - AE::Handle now has separate and independent read and write timeout
49 settings.
50 - probe for Guard module when AnyEvent::Util is loaded, not at
51 runtime (Event doesn't like eval "use" from callbacks, and it avoids
52 exporting the probe function).
53 - Impl::IOAsync's io watchers did not use the filehandle emulation
54 code to work around it's watcher limits.
55 - work around IO::Async's problems with overloaded objects.
56 - try to disable wearnings inside IO::Async, it's just too buggy.
57 - do no longer use Event by default, only EV or Perl, Event is too buggy.
58 - hackishly provide fast AE:: interface when EV or Perl is the backend.
59 - inherit VERSION from AnyEvent::VERSION in most modules.
60
614.91 Thu Aug 6 15:42:45 CEST 2009
62 - AE::Handle::starttls could get out of sync when the read buffer
63 already contains some TLS handshake.
64 - AE::Handle did not properly free the TLS session, causing bigger
65 memory leaks in Net::SSLeay than expected (reported by toaster).
66 - AE::Socket::tcp_connect will now artificially delay invoking
67 the callback to avoid returning after invoking the callback.
68 - convert many internal watcher uses to AE API.
69
704.9 Sat Aug 1 11:07:01 CEST 2009
71 - Glib silently fails when registering a timeout with
72 a negative value, so avoid that.
73 - call condvar callback immediately when it is set
74 after the condition is already signalled.
75 - check rbuf_max condition only after trying to consume
76 data.
77 - normalise signal numbers to names when using the ae's
78 signal handling, but do not document this (yet).
79 - pure perl signal emulation did not properly set nonblocking
80 mode on the signal pipe on win32 (this is unlikely to have caused
81 any issues).
82 - new module: AnyEvent::Debug.
83 - AnyEvent::Strict now checks that a signal was specified
84 by name (not name or number).
85 - reduce memory footprint in typical cases by ~50kb by
86 only compiling signal code when necessary.
87 - add AnyEvent::Handle->rbuf_max.
88 - grab the AE namespace for future new API, implement stubs for
89 said future/alternative API.
90 - new function: AnyEvent::Socket::format_hostport.
91
924.881 Tue Jul 28 12:51:53 CEST 2009
93 - work around a bug in local in pre-5.10 perls, causing
94 AnyEvent::Handle to recurse when it should not
95 (analyzed by elmex).
96
974.88 Tue Jul 28 04:04:37 CEST 2009
98 - re-bless the handle into a dummy package after calling
99 AnyEvent::Handle::destroy, so the user does not need to check
100 for errors after every push_write etc.
101 - do not attempt to run t/02_signals.t on obviously broken
102 platforms.
103
1044.87 Sun Jul 26 02:06:16 CEST 2009
105 - do not attempt to linger when there is no longer a valid fh.
106 - enforce tls mode to be either accept or connect, do not simply
107 segfault in Net::SSLeay.
108 - AnyEvent::Handle can now call tcp_connect itself (new parameters
109 connect, on_prepare, on_connect and on_connect_error). Updated
110 tutorial accordingly.
111 - add AnyEvent::Impl::Irssi backend.
112
1134.86 Mon Jul 20 23:52:29 CEST 2009
114 - since the verbose warning is not enough, explicitly document
115 that versions before 1.33 of Net::SSLeay are not secure.
116 - work around signal handling races in Event and (...) Event::Lib.
117 - try to align signal-race timer to full-second boundaries.
118 - work around Tk not liking negative timeouts.
119 - don't complain of different grades of environmental unfriendlyness
120 in IO::Async.
121
1224.85 Sat Jul 18 06:16:14 CEST 2009
123 - nail the signal race problem in perl once and for all
124 (see $AnyEvent::MAX_SIGNAL_LATENCY).
125 - take advantage of Async::Interrupt if it is available.
126 - load Time::HiRes and Guard modules on demand only.
127 - add optional/recommended modules section to AnyEvent
128 documentation.
129 - reduce memory usage considerably (and reduce startup penalty)
130 by not using "strict", "warnings" and "overload" modules.
131 - work around buggy windows/openbsd perls and provide EBADMSG
132 and EPROTO ourselves when missing.
133 - improve perl 5.6 compatibility of the core event loop.
134 - made Net::SSLeay version 1.33 a soft requirement.
135
1364.83 Fri Jul 17 16:56:26 CEST 2009
137 - implement AnyEvent::Socket::getprotobyname.
138 - AnyEvent::CondVar's will now detect recursive blocking
139 waits and will croak, as too many people fall into
140 this trap.
141 - AnyEvent::Handle will now call ->destroy on itself after
142 executing the on_error callback, instead of doing some
143 half-baked internal shutdown, for fatal errors.
144 - clarify on_eof behaviour w.r.t. the read queue and
145 on_read callbacks.
146 - ignore some possible spurious wake-ups in tcp_connect.
147
1484.82 Sat Jul 11 00:34:55 CEST 2009
149 - POE and Event backends didn't accept some callable objects as
150 callbacks.
151 - use Config module instead of POSIX module to detect signal names
152 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
153 module doesn't even have all POSIX signals :/.
154 - use more workarounds around the many refcnt/corruption bugs in
155 Event::Lib.
156 - work around a race condition in perl's select, causing t/03_child.t
157 to rarely fail.
158
1594.81 Thu Jul 9 10:30:30 CEST 2009
160 - AnyEvent::Handle didn't properly diagnose write errors
161 (it expected -1 from syswrite, how lame... :).
162 - support file descriptors in addition to file handles
163 in AnyEvent->io.
164 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
165 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
166 and PERL_ANYEVENT_CA_PATH.
167 - provide a sensible synopsis section for AnyEvent::TLS.
168 - add a "supported backends" section to the manpage.
169 - added simple io watcher test to testsuite, using a
170 portable_socketpair.
171 - tried to improve the stability of the Event::Lib backend,
172 YMMV.
173
1744.8 Mon Jul 6 23:45:16 CEST 2009
175 - AnyEvent::DNS did not properly follow CNAME records with
176 uppercase targets.
177 - AnyEvent::DNS would errornously return AAAA records
178 with v4 mapped addresses (a faulty record) as ipv4 addresses,
179 causing AnyEvent::Socket to throw an exception.
180 - added new module AnyEvent::TLS for easier SSL/TLS context
181 creation, with many options including hostname verification,
182 secure default configuration, lots of documentation and,
183 predefined diffie-hellman keys for perfect forward security
184 and much more. get it while it's still fresh!
185 - use AnyEvent::TLS in AnyEvent::Handle for context management.
186 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
187 so AnyEvent::Socket users have smaller memory footprint
188 in the common case.
189 - add AnyEvent::Handle->push_shutdown method.
190 - add an additional error message parameter to AnyEvent::Handle's
191 on_error callback (for TLS, $! is still available).
192 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
193 - make AnyEvent::Handle more robust against early conenction
194 failures (during new), and return C<undef> in that case
195 from the constructor.
196 - AnyEvent::Handle will now try to load only JSON::XS first,
197 then fall back to JSON.
198 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
199 and because it was documented that way.
200
2014.451 Fri Jul 3 00:28:58 CEST 2009
202 - do not clear rbuf when shutting down an AnyEvent::Handle
203 object - doing so breaks AnyEvent::HTTP.
204
2054.45 Mon Jun 29 22:59:26 CEST 2009
206 - a write error could cause AnyEvent::Handle to create
207 an I/O watcher with an undefined $fh.
208 - special-case mapped ipv4 addresses in both
209 AnyEvent::Socket::format_address and parse_address,
210 to treat them just like ipv4 addresses.
211 - updated and overhauled the AnyEvent::Intro doc.
212 - implement AnyEvent::Socket::format_ipv4/ipv6.
213 - slightly speed up portable_pipe/socketpair.
214 - expand condvar begin/end documentation.
215
2164.42 Fri Jun 26 08:32:18 CEST 2009
217 - preliminary and neccesarily incomplete support for IO::Async.
218 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
219 case it was set to IGNORE, to ensure we can catch child statuses
220 even when the calling env acts stupidly.
221 - updated benchmarks with IO::Async, which performs very well.
222
2234.412 Wed Jun 24 01:35:57 CEST 2009
224 - support an "untaint" attribute for AnyEvent::DNS
225 and set it on the default resolver.
226 - implement and document AnyEvent::Impl::Perl::loop.
227 - remove all anyevent-env variables from %ENV
228 when running in tainted mode.
229 - mention and extend the IO::Lambda benchmark.
230
2314.411 Sun Jun 7 18:48:02 CEST 2009
232 - do not try to use F_SETFD on windows.
233
2344.41 Thu May 14 06:40:11 CEST 2009
235 - work around issues in older perls (5.8.0?) when
236 a signal handler is deleted from the %SIG hash.
237 - use POSIX::_exit in child test, to avoid running
238 destructors.
239 - speed up CHLD handling by relying on SIGCHLD being
240 synchronously delivered, even when we roll our own
241 implementation.
242 - AnyEvent::DNS: add the "dname" resource record name
243 for cosmetic reasons.
244
2454.4 Sun Apr 26 20:12:33 CEST 2009
246 - implemented idle watchers, where applicable.
247 - AnyEvent->time died when Event backend was in use.
248 - fix a memleak in the Tk backend.
249 - sped up Tk timer handling.
250 - clip negative "after" values to 0 in AnyEvent::Impl::Event
251 to avoid spamming out warning messages.
252 - fix Qt timers without interval.
253 - avoid Qt zero-timeout special case, in old libqt's.
254
2554.352 Mon Apr 20 16:31:11 CEST 2009
256 - fix AnyEvent::Strict error messages for child watchers.
257 - fix/update Makefile.PL "recommends" versions.
258 - add AnyEvent->now_update.
259
2604.351 Sat Apr 11 07:56:14 CEST 2009
261 - actually make the signal pipe work under win32.
262 - localise $! in signal handler to avoid changing $!, although
263 perl itself does not seem to save/restore errno either.
264 - set the cloexec flag on the signal pipe (normally set by perl too).
265
2664.35 Fri Mar 27 11:48:20 CET 2009
267 - event models relying on AnyEvent's signal watcher emulation did
268 invoke the callback asynchronously, contradicting documentation
269 and causing signals to get lost (this includes AnyEvent's own
270 event loop). AnyEvent now uses the standard pipe trick to make
271 callback execution synchronous to the event loop.
272 - AnyEvent::Handle didn't free TLS context data on DESTROY
273 (patch by Pavel Shaydo).
274 - work around the ever-incompatibly-changing API of MakeMaker.
275 - document that changing global variables without restoring them
276 is a bad idea in Perl (noted by Adam Rosenstein).
277 - AnyEvent::Strict now barfs if ->io is passed a file.
278
2794.34 Thu Feb 12 18:32:45 CET 2009
280 - separately buffer TLS read data, as otherwise the read queue could
281 deadlock as receiving data is not expected while draining the
282 read queue (which cna only happen with TLS).
283 - raise EBADMSG error on JSON decoding errors.
284 - fix some minor manpage bugs (reported by Maximilian Gaß).
285 - speed up select bitmask parsing quite a bit in the pure perl
286 backend.
287 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
288
2894.331 Tue Jan 6 21:07:25 CET 2009
290 - socketpair fails on many vista machines because vista has
291 completely broken accept/getpeername and getsockname functions,
292 so we provide our own socketpair emulation that kind of works
293 (AnyEvent::Util::portable_pipe).
294 - new function: AnyEvent::Util::portable_socketpair.
295 - take advantage of the Guard module if it exists.
296
2974.33 Fri Nov 21 02:35:40 CET 2008
298 - AnyEvent::Strict did errornously flag a fileno of 0 as
299 illegal.
300 - reduce memory usage and slightly speed up the pure perl backend
301 by only storing the file descriptor, not the file handle.
302 - add missing autocork method to AnyEvent::Handle (reported
303 by Adam Rosenstein).
304 - AnyEvent::DNS->resolve errornously documented an $rcode result
305 argument, but there isn't (spotted by Henrik Krohns).
306 - the naked truth about Tk - it's basically unmaintained.
307
3084.32 Mon Nov 3 22:46:32 CET 2008
309 - fix AnyEvent::Socket::resolve_sockaddr to properly support
310 unix sockets again and choose a proper default for
311 the socket type.
312 - fix call to resolve_sockaddr in tcp_connect.
313
3144.31 Thu Oct 30 04:41:48 CET 2008
315 - implemented AnyEvent::Handle->destroy method.
316 - hint about unexpected effects in TLS mode.
317 - speed up AnyEvent::Impl::Perl by using more arrays
318 instead of hashes without the slightest loss of readability :)
319 - work around a perl argument refcounting bug.
320 - with some perl patches applied, AnyEvent now seems leak-free.
321
3224.3 Fri Oct 3 09:18:43 CEST 2008
323 - AnyEvent will now install a no-op signal handler for SIGPIPE,
324 unless one has been installed already.
325 - warn about not loaidng AnyEvent::Impl::POE early enough
326 (patch by Adam Rosenstein).
327 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
328 - fix a bug in where in SSL connect mode, the
329 client would first wait for some data by the server and
330 otherwise hang. (reported and analyzed in an absolutely
331 exemplary manner by Adam Rosenstein).
332 - fix a bug in where SSL EOF would not be treated
333 as stream EOF, putting the connection into a hung state.
334 (reported and analyzed in an absolutely exemplary manner by Adam
335 Rosenstein).
336 - fix a potential segfault when the TLS context
337 would go missing in a read callback (e.g. due to stoptls) -
338 Net::SSLeay of course makes no type checking whatsoever.
339 - AnyEvent::Handle will not stop the read watcher in TLS mode.
340 - AnyEvent::Handle->stoptls will send a TLS close notify
341 instead of simply destroying the stream now.
342 - fix a bug where large blocks of data written in TLS mode
343 would not be sent unless triggered by receives.
344 - on_drain will now take the tls write buffer into account.
345 - SSL operations have been streamlined a bit and should be faster
346 now, more to come, though.
347 - added a FAQ section, will document nontrivial issues in there.
348
3494.234 Mon Sep 29 04:08:13 CEST 2008
350 - fix child watcher documentation: only child exits will be reported,
351 no trace events.
352 - mention SIGPIPE in AnyEvent::Handle.
353 - perl backend will now use POSIX::times as monotonic clock
354 when available and the monotonic clock option is not.
355 - run even without Time::HiRes in some cases now, but do not
356 provide sub-second accuracy (all *supported* perl versions have
357 Time::HiRes).
358
3594.233 Fri Aug 22 01:48:05 CEST 2008
360 - fix a bug in the testsuite, causing a hang.
361 - clarified lots of AnyEvent::Handle constructor arguments.
362
3634.232 Thu Aug 21 20:44:25 CEST 2008
364 - fix a bug in AnyEvent::Handle that could cause two fatal error
365 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
366 (testcase by Leon Brocard).
367 - clarified on_eof/on_error documentation a bit.
2 368
34.231 Tue Jul 29 13:12:15 CEST 2008 3694.231 Tue Jul 29 13:12:15 CEST 2008
4 - remove some debugging code left in AnyEvent::Util::fork_call 370 - remove some debugging code left in AnyEvent::Util::fork_call
5 (and no, it's impossible to implement with the broken windows 371 (and no, it's impossible to implement with the broken windows
6 perls without resource leaks or worse). 372 perls without resource leaks or worse).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines