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

Comparing AnyEvent/Changes (file contents):
Revision 1.258 by root, Thu Jul 2 23:22:34 2009 UTC vs.
Revision 1.441 by root, Wed Feb 2 11:27:50 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: document TCP_*** constants
4TODO: catch AE::xxx for anyevent strict and anyevent debug
5TODO: anyevent::trace? or debug tracing all watchers?
6TODO: anyevent strict checking for $_ changes?
7
8 - update idna algorithm(s) to UTS#46 version 6.0.0.
9 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
10 uts46 says it's an error, and testsuite makes more sense.
11 - fixed a bug in idn ignored character processing.
12 - passes the uts46 testsuite except for three cases which apparently
13 are bugs in the tetssuite itself.
14
155.31 Sun Jan 23 11:49:19 CET 2011
16 - work around a POE bug where POE would first poll for new events and
17 invoke handlers BEFORE handling the message queue.
18 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
19 - stop_read now does just that in TLS mode. see its
20 documentation for caveats.
21 - update to common::sense 3.4 warning set (some warnings in perl impose
22 an arbitrary 32kb limit on regex matches, which affects
23 AnyEvent::Handle).
24 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
25 - new experimental AE::Handle::resettls method.
26
275.3 Fri Dec 31 05:48:13 CET 2010
28 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
29 issues with IO::Async have been solved in that version, including
30 the availabilty of a default loop!
31 - implement new wbuf_max parameter for AnyEvent::Handle.
32 - added Cocoa::EventLoop backend by Daisuke Murase.
33 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
34 - clarify handle on_prepare documentation.
35 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
36 to avoid leaking them to any child processes.
37 - try to force files into the arch-dependend lib directory, for the
38 half-"turly obsessive compulsive person"(s) that depend on it.
39
405.29 Sun Dec 5 10:49:21 CET 2010
41 - convert EV backend to EV 4.00 API (so better upgrade EV too).
42 - AE::Handle: implement dynamic read_size adjustment, add
43 max_read_size parameter, reduce default read_size to 2048.
44 - add some FAQ entries for servers and/or on_eof vs. on_error.
45 - work around OS bugs (cygwin again) when lingering in AE::Handle.
46 - reduce memory usage slightly when connect was used in AE::Handle.
47 - wrok around more segfaults in Tk.
48 - document tls_ctx => undef as valid.
49 - detect WNOHANG value at compiletime.
50 - include some probably linux-only support for building AnyEvent
51 as part of the perl core.
52 - improve compatibility of t/08_idna.t to perl 5.8.
53 - make AnyEvent::Strict truly optional (in case somebody builds a
54 minimal perl...).
55
565.28 Wed Oct 13 04:14:23 CEST 2010
57 - due to a glitch, AnyEvent's internal getprotobyname wasn't
58 actually used in tcp_server.
59 - implement AnyEvent::CondVar->new method, which was documented but
60 missing.
61 - support autoloading of read types in unshift_read.
62 - AnyEvent::Strict: do the test for invalid fh arguments differently,
63 resulting in more informative error messages.
64 - new AnyEvent::FAQ manpage.
65 - clarify that you can actually call push_read etc. in on_read.
66 - put keys and certs in /tmp, not into the current directory,
67 and document this in the SECURITY CONSIDERATIONS sections
68 of AnyEvent::TLS.
69 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
70 requested by Ron Isaacson.
71 - document $AnyEvent::DNS::RESOLVER variable.
72 - incorporated major typo patches by Abhijit Menon-Sen.
73 - AnyEvent::Handle now croaks when negative timeouts are passed.
74 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
75 undocumented, but who knows when they might come in handy.
76
775.271 Tue Jun 8 12:05:46 CEST 2010
78 - backport to perl 5.8.x.
79
805.27 Sun Jun 6 12:12:05 CEST 2010
81 - postpone differently in AnyEvent::Socket now, as
82 when not, canceling the connection attempt might fail
83 (found by Felix Antonius Wilhelm Ostmann).
84 - explicitly check for non-stream sockets in AE::Handle, too many
85 clueless people fell into the trap of this somehow working.
86 - simplified and reworked the "OTHER MODULES" section.
87 - better/more condvar examples.
88
895.261 Wed Apr 28 16:13:36 CEST 2010
90 - AF_INET6 was not properly used from Socket6 during configuration
91 time (found by Andy Grundman).
92
935.26 Mon Apr 12 04:49:35 CEST 2010
94 - don't generate spurious readyness notifications when select
95 returns EINTR in the pure perl backend (analysed and testcase
96 by Bas Denissen).
97 - give same examples in SYNOPSIS sections of AnyEvent and AE.
98 - provider faster implementations for AE::time/now/now_update for
99 EV and Perl backends.
100 - provide faster AE::cv and AE::time implementations for all
101 backends.
102 - no longer support lower/mixed-case signal names (this was
103 never documented nor universally supported).
104 - some more memory ยต-optimisations, and somewhat less messy
105 code to cope with both AnyEvent and AE APIs.
106
1075.251 Sat Mar 13 00:58:21 CET 2010
108 - make test failed if it was run before make install on perl <=
109 5.8.8, and older versions of perl make our live very difficult,
110 so write constants.pl during Makefile.PL time.
111
1125.25 Sat Mar 13 00:23:14 CET 2010
113 - fix a race condition in AnyEvent::Handle that would cause
114 a "bio_read: unsupported method" error (in _another_
115 ssl connection) after user code threw an exception.
116 - added AnyEvent::Handle->destroyed method.
117 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
118 - the AnyEvent::Util::fh_nonblocking function worked only
119 by lucky accident on win32.
120 - smaller and faster AnyEvent::Util::fh_nonblocking.
121 - when the (required!) Time::HiRes module is missing, AnyEvent
122 did not fall back to built-in time properly.
123 - do not load Fcntl at runtime, saving memory and loading time.
124 - precompile a number of constants and use them instead of runtime
125 detection and eval.
126 - free detection code after detection and similar memory optimisations.
127 - Perl backend timer interval best effort drift has been improved
128 (same algorithm as EV).
129 - update unicode idna mapping table.
130
1315.24 Tue Jan 5 11:39:43 CET 2010
132 - cygwin never reports errors from failed connects. 1.5 just gives
133 you continous readyness and EAGAIN, 1.7 is even more broken and
134 just hangs. work around both issues in a cygwin-specific hack.
135 - improve idle watcher documentation slightly.
136
1375.23 Sun Dec 20 23:48:00 CET 2009
138 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
139 - implement punycode_encode/decode, idn_nameprep,
140 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
141 - provide $AE::VERSION.
142 - removed traces of "no strict 'refs'".
143
1445.22 Sat Dec 5 03:51:13 CET 2009
145 - downgrade-or-fail in AnyEvent::Handle::push_write, to
146 diagnose encoding failures earlier and more succinctly.
147 (this works around bugs in perl, throwing away encoding info
148 when passing scalar data to extensions).
149 - add more examples to AnyEvent::Socket manpage.
150 - upgrade internal warning set to the same as common::sense 2.03.
151 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
152 (John Beppu).
153 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
154 - add google public dns servers to fallback server set and make sure
155 we load-balance properly between the three sets. also add all
156 fallback dns servers, not just a random one, to each dns config.
157
1585.21 Thu Nov 19 02:48:47 CET 2009
159 - fix a problem where socket constants were called with parameters
160 (spotted by David Friedland).
161 - fork_call never use'd POSIX (reported by Daisuke Maki).
162 - improve perl 5.6 compatibility further (but it still won't work
163 unless you rip out everything but the core).
164 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
165 uses 10MB of RAM, but doesn't open a console window. *sigh*.
166
1675.202 Wed Oct 14 22:35:44 CEST 2009
168 - AnyEvent::DNS would unexpectedly clobber $_ under windows
169 (analysed by Matthias Waldorf).
170 - AnyEvent::Handle::run_cmd can now pass the PID of the
171 newly-created process, which is much less useful than it might
172 sound (based on patch by Yann Kerherve).
173
1745.201 Tue Sep 29 12:09:25 CEST 2009
175 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
176 (reported by Torsten Foertsch).
177 - common::sense 2.0 could cause tcp_server to throw an exception
178 (analysed by elmex).
179
1805.2 Mon Sep 14 07:04:49 CEST 2009
181 - INCOMPATIBLE CHANGE: do no longer support register_read_type
182 and register_write_type in AnyEvent::Handle, instead support
183 package names (the facility was mostly abused).
184 - implement "packagename-as-read/write type" support in
185 AnyEvent::Handle.
186 - AnyEvent::Handle: new options "keepalive" and "oobinline".
187 - oobinline set by default to avoid security issues.
188 - the pure-perl event loop backend wrongly detected times() fallback
189 support (spotted by Pavel Boldin).
190
1915.12 Tue Sep 1 20:26:50 CEST 2009
192 - be more lenient when parsing resolv.conf files, as some people
193 use hashmarks as comment indicator inside directives (reported
194 by Michael S. Fischer).
195 - use same set of warnings as common::sense 2.0.
196 - fix a potential 32 bit overflow issue due to perl having problems
197 with large hex constants in the Perl backend.
198 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
199 by default.
200 - fix some prototypes.
201 - (optionally) require Async::Interrupt 1.02.
202 - replace opendns fallbacks by verizon/level3 public dns servers.
203
2045.112 Fri Aug 21 13:59:04 CEST 2009
205 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
206 using starttls with an illegal/uncreatable tls context.
207 - port to broken win32 perls.
208
2095.111 Sun Aug 16 18:44:36 CEST 2009
210 - perl errornously requires sockaddr_un structures returned by the
211 kernel to have a specific length. work around this bug by padding
212 sockaddr_un structures (found to fail on OS X, as perl only uses
213 the correct code for GNU/Linux, but likely to fail on other
214 OSes as well).
215
2165.11 Wed Aug 12 17:49:37 CEST 2009
217 - fixed a bug in run_cmd with input from filename.
218 - create a json coder object when none is given in write direction
219 to reduce dependency on JSON.
220
2215.1 Tue Aug 11 03:17:32 CEST 2009
222 - tcp_connect now reports the correct error in $!, not an unrelated
223 one (was broken since 4.91).
224 - AE::Handle did not properly clear rtimeout/wtimeout watchers
225 when retrying a tcp_connect.
226 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
227 - fixed wrong documentation in AE::Socket.
228
2295.01 Mon Aug 10 03:16:32 CEST 2009
230 - last release broke EV child watchers :/.
231
2325.0 Sun Aug 9 17:32:09 CEST 2009
233 - officially introduce and document the AE API.
234 - lowering the timeout at runtime did not have immediate effect
235 in AnyEvent::Handle.
236 - AE::Handle now has separate and independent read and write timeout
237 settings.
238 - probe for Guard module when AnyEvent::Util is loaded, not at
239 runtime (Event doesn't like eval "use" from callbacks, and it avoids
240 exporting the probe function).
241 - Impl::IOAsync's io watchers did not use the filehandle emulation
242 code to work around it's watcher limits.
243 - work around IO::Async's problems with overloaded objects.
244 - try to disable wearnings inside IO::Async, it's just too buggy.
245 - do no longer use Event by default, only EV or Perl, Event is too buggy.
246 - hackishly provide fast AE:: interface when EV or Perl is the backend.
247 - inherit VERSION from AnyEvent::VERSION in most modules.
248
2494.91 Thu Aug 6 15:42:45 CEST 2009
250 - AE::Handle::starttls could get out of sync when the read buffer
251 already contains some TLS handshake.
252 - AE::Handle did not properly free the TLS session, causing bigger
253 memory leaks in Net::SSLeay than expected (reported by toaster).
254 - AE::Socket::tcp_connect will now artificially delay invoking
255 the callback to avoid returning after invoking the callback.
256 - convert many internal watcher uses to AE API.
257
2584.9 Sat Aug 1 11:07:01 CEST 2009
259 - Glib silently fails when registering a timeout with
260 a negative value, so avoid that.
261 - call condvar callback immediately when it is set
262 after the condition is already signalled.
263 - check rbuf_max condition only after trying to consume
264 data.
265 - normalise signal numbers to names when using the ae's
266 signal handling, but do not document this (yet).
267 - pure perl signal emulation did not properly set nonblocking
268 mode on the signal pipe on win32 (this is unlikely to have caused
269 any issues).
270 - new module: AnyEvent::Debug.
271 - AnyEvent::Strict now checks that a signal was specified
272 by name (not name or number).
273 - reduce memory footprint in typical cases by ~50kb by
274 only compiling signal code when necessary.
275 - add AnyEvent::Handle->rbuf_max.
276 - grab the AE namespace for future new API, implement stubs for
277 said future/alternative API.
278 - new function: AnyEvent::Socket::format_hostport.
279
2804.881 Tue Jul 28 12:51:53 CEST 2009
281 - work around a bug in local in pre-5.10 perls, causing
282 AnyEvent::Handle to recurse when it should not
283 (analysed by elmex).
284
2854.88 Tue Jul 28 04:04:37 CEST 2009
286 - re-bless the handle into a dummy package after calling
287 AnyEvent::Handle::destroy, so the user does not need to check
288 for errors after every push_write etc.
289 - do not attempt to run t/02_signals.t on obviously broken
290 platforms.
291
2924.87 Sun Jul 26 02:06:16 CEST 2009
293 - do not attempt to linger when there is no longer a valid fh.
294 - enforce tls mode to be either accept or connect, do not simply
295 segfault in Net::SSLeay.
296 - AnyEvent::Handle can now call tcp_connect itself (new parameters
297 connect, on_prepare, on_connect and on_connect_error). Updated
298 tutorial accordingly.
299 - add AnyEvent::Impl::Irssi backend.
300
3014.86 Mon Jul 20 23:52:29 CEST 2009
302 - since the verbose warning is not enough, explicitly document
303 that versions before 1.33 of Net::SSLeay are not secure.
304 - work around signal handling races in Event and (...) Event::Lib.
305 - try to align signal-race timer to full-second boundaries.
306 - work around Tk not liking negative timeouts.
307 - don't complain of different grades of environmental unfriendlyness
308 in IO::Async.
309
3104.85 Sat Jul 18 06:16:14 CEST 2009
311 - nail the signal race problem in perl once and for all
312 (see $AnyEvent::MAX_SIGNAL_LATENCY).
313 - take advantage of Async::Interrupt if it is available.
314 - load Time::HiRes and Guard modules on demand only.
315 - add optional/recommended modules section to AnyEvent
316 documentation.
317 - reduce memory usage considerably (and reduce startup penalty)
318 by not using "strict", "warnings" and "overload" modules.
319 - work around buggy windows/openbsd perls and provide EBADMSG
320 and EPROTO ourselves when missing.
321 - improve perl 5.6 compatibility of the core event loop.
322 - made Net::SSLeay version 1.33 a soft requirement.
323
3244.83 Fri Jul 17 16:56:26 CEST 2009
325 - implement AnyEvent::Socket::getprotobyname.
326 - AnyEvent::CondVar's will now detect recursive blocking
327 waits and will croak, as too many people fall into
328 this trap.
329 - AnyEvent::Handle will now call ->destroy on itself after
330 executing the on_error callback, instead of doing some
331 half-baked internal shutdown, for fatal errors.
332 - clarify on_eof behaviour w.r.t. the read queue and
333 on_read callbacks.
334 - ignore some possible spurious wake-ups in tcp_connect.
335
3364.82 Sat Jul 11 00:34:55 CEST 2009
337 - POE and Event backends didn't accept some callable objects as
338 callbacks.
339 - use Config module instead of POSIX module to detect signal names
340 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
341 module doesn't even have all POSIX signals :/.
342 - use more workarounds around the many refcnt/corruption bugs in
343 Event::Lib.
344 - work around a race condition in perl's select, causing t/03_child.t
345 to rarely fail.
346
3474.81 Thu Jul 9 10:30:30 CEST 2009
348 - AnyEvent::Handle didn't properly diagnose write errors
349 (it expected -1 from syswrite, how lame... :).
350 - support file descriptors in addition to file handles
351 in AnyEvent->io.
352 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
353 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
354 and PERL_ANYEVENT_CA_PATH.
355 - provide a sensible synopsis section for AnyEvent::TLS.
356 - add a "supported backends" section to the manpage.
357 - added simple io watcher test to testsuite, using a
358 portable_socketpair.
359 - tried to improve the stability of the Event::Lib backend,
360 YMMV.
361
3624.8 Mon Jul 6 23:45:16 CEST 2009
363 - AnyEvent::DNS did not properly follow CNAME records with
364 uppercase targets.
365 - AnyEvent::DNS would errornously return AAAA records
366 with v4 mapped addresses (a faulty record) as ipv4 addresses,
367 causing AnyEvent::Socket to throw an exception.
368 - added new module AnyEvent::TLS for easier SSL/TLS context
369 creation, with many options including hostname verification,
370 secure default configuration, lots of documentation and,
371 predefined diffie-hellman keys for perfect forward security
372 and much more. get it while it's still fresh!
373 - use AnyEvent::TLS in AnyEvent::Handle for context management.
3 - load AnyEvent::Handle only on demand in AnyEvent::DNS, 374 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
4 so AnyEvent::Socket users have smaller memory footprint 375 so AnyEvent::Socket users have smaller memory footprint
5 in the common case. 376 in the common case.
6 - add AnyEvent::Handle->push_shutdown method. 377 - add AnyEvent::Handle->push_shutdown method.
7 - add an additional error message parameter to AnyEvent::Handle's 378 - add an additional error message parameter to AnyEvent::Handle's
8 on_error callback (for TLS, $! is still available). 379 on_error callback (for TLS, $! is still available).
380 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
9 - make AnyEvent::Handle more robust against early conenction 381 - make AnyEvent::Handle more robust against early conenction
10 failures (during new), and return C<undef> in that case 382 failures (during new), and return C<undef> in that case
11 from the constructor. 383 from the constructor.
384 - AnyEvent::Handle will now try to load only JSON::XS first,
385 then fall back to JSON.
386 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
387 and because it was documented that way.
12 388
134.451 Fri Jul 3 00:28:58 CEST 2009 3894.451 Fri Jul 3 00:28:58 CEST 2009
14 - do not clear rbuf when shutting down an AnyEvent::Handle 390 - do not clear rbuf when shutting down an AnyEvent::Handle
15 object - doing so breaks AnyEvent::HTTP. 391 object - doing so breaks AnyEvent::HTTP.
16 392
1344.3 Fri Oct 3 09:18:43 CEST 2008 5104.3 Fri Oct 3 09:18:43 CEST 2008
135 - AnyEvent will now install a no-op signal handler for SIGPIPE, 511 - AnyEvent will now install a no-op signal handler for SIGPIPE,
136 unless one has been installed already. 512 unless one has been installed already.
137 - warn about not loaidng AnyEvent::Impl::POE early enough 513 - warn about not loaidng AnyEvent::Impl::POE early enough
138 (patch by Adam Rosenstein). 514 (patch by Adam Rosenstein).
139 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 515 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
140 - fix a bug in where in SSL connect mode, the 516 - fix a bug in where in SSL connect mode, the
141 client would first wait for some data by the server and 517 client would first wait for some data by the server and
142 otherwise hang. (reported and analyzed in an absolutely 518 otherwise hang. (reported and analysed in an absolutely
143 exemplary manner by Adam Rosenstein). 519 exemplary manner by Adam Rosenstein).
144 - fix a bug in where SSL EOF would not be treated 520 - fix a bug in where SSL EOF would not be treated
145 as stream EOF, putting the connection into a hung state. 521 as stream EOF, putting the connection into a hung state.
146 (reported and analyzed in an absolutely exemplary manner by Adam 522 (reported and analysed in an absolutely exemplary manner by Adam
147 Rosenstein). 523 Rosenstein).
148 - fix a potential segfault when the TLS context 524 - fix a potential segfault when the TLS context
149 would go missing in a read callback (e.g. due to stoptls) - 525 would go missing in a read callback (e.g. due to stoptls) -
150 Net::SSLeay of course makes no type checking whatsoever. 526 Net::SSLeay of course makes no type checking whatsoever.
151 - AnyEvent::Handle will not stop the read watcher in TLS mode. 527 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines