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

Comparing AnyEvent/Changes (file contents):
Revision 1.236 by root, Wed May 13 13:36:49 2009 UTC vs.
Revision 1.427 by root, Wed Dec 29 04:16:32 2010 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.41 Wed May 13 14:41:29 CEST 2009 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
8TODO: wbuf_max for anyevent
9TODO: fix with the rest: POE + IO::Async? No go. Tk + Event? No go. Again: if
10 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
11 issues with IO::Async have been solved in that version, including
12 the availabilty of a default loop!
13 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
14 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
15 to avoid leaking them to any child processes.
16 - try to force files into the arch-dependend lib directory, for the
17 half-"turly obsessive compulsive person"(s) that depend on it.
18
195.29 Sun Dec 5 10:49:21 CET 2010
20 - convert EV backend to EV 4.00 API (so better upgrade EV too).
21 - AE::Handle: implement dynamic read_size adjustment, add
22 max_read_size parameter, reduce default read_size to 2048.
23 - add some FAQ entries for servers and/or on_eof vs. on_error.
24 - work around OS bugs (cygwin again) when lingering in AE::Handle.
25 - reduce memory usage slightly when connect was used in AE::Handle.
26 - wrok around more segfaults in Tk.
27 - document tls_ctx => undef as valid.
28 - detect WNOHANG value at compiletime.
29 - include some probably linux-only support for building AnyEvent
30 as part of the perl core.
31 - improve compatibility of t/08_idna.t to perl 5.8.
32 - make AnyEvent::Strict truly optional (in case somebody builds a
33 minimal perl...).
34
355.28 Wed Oct 13 04:14:23 CEST 2010
36 - due to a glitch, AnyEvent's internal getprotobyname wasn't
37 actually used in tcp_server.
38 - implement AnyEvent::CondVar->new method, which was documented but
39 missing.
40 - support autoloading of read types in unshift_read.
41 - AnyEvent::Strict: do the test for invalid fh arguments differently,
42 resulting in more informative error messages.
43 - new AnyEvent::FAQ manpage.
44 - clarify that you can actually call push_read etc. in on_read.
45 - put keys and certs in /tmp, not into the current directory,
46 and document this in the SECURITY CONSIDERATIONS sections
47 of AnyEvent::TLS.
48 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
49 requested by Ron Isaacson.
50 - document $AnyEvent::DNS::RESOLVER variable.
51 - incorporated major typo patches by Abhijit Menon-Sen.
52 - AnyEvent::Handle now croaks when negative timeouts are passed.
53 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
54 undocumented, but who knows when they might come in handy.
55
565.271 Tue Jun 8 12:05:46 CEST 2010
57 - backport to perl 5.8.x.
58
595.27 Sun Jun 6 12:12:05 CEST 2010
60 - postpone differently in AnyEvent::Socket now, as
61 when not, canceling the connection attempt might fail
62 (found by Felix Antonius Wilhelm Ostmann).
63 - explicitly check for non-stream sockets in AE::Handle, too many
64 clueless people fell into the trap of this somehow working.
65 - simplified and reworked the "OTHER MODULES" section.
66 - better/more condvar examples.
67
685.261 Wed Apr 28 16:13:36 CEST 2010
69 - AF_INET6 was not properly used from Socket6 during configuration
70 time (found by Andy Grundman).
71
725.26 Mon Apr 12 04:49:35 CEST 2010
73 - don't generate spurious readyness notifications when select
74 returns EINTR in the pure perl backend (analysed and testcase
75 by Bas Denissen).
76 - give same examples in SYNOPSIS sections of AnyEvent and AE.
77 - provider faster implementations for AE::time/now/now_update for
78 EV and Perl backends.
79 - provide faster AE::cv and AE::time implementations for all
80 backends.
81 - no longer support lower/mixed-case signal names (this was
82 never documented nor universally supported).
83 - some more memory ยต-optimisations, and somewhat less messy
84 code to cope with both AnyEvent and AE APIs.
85
865.251 Sat Mar 13 00:58:21 CET 2010
87 - make test failed if it was run before make install on perl <=
88 5.8.8, and older versions of perl make our live very difficult,
89 so write constants.pl during Makefile.PL time.
90
915.25 Sat Mar 13 00:23:14 CET 2010
92 - fix a race condition in AnyEvent::Handle that would cause
93 a "bio_read: unsupported method" error (in _another_
94 ssl connection) after user code threw an exception.
95 - added AnyEvent::Handle->destroyed method.
96 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
97 - the AnyEvent::Util::fh_nonblocking function worked only
98 by lucky accident on win32.
99 - smaller and faster AnyEvent::Util::fh_nonblocking.
100 - when the (required!) Time::HiRes module is missing, AnyEvent
101 did not fall back to built-in time properly.
102 - do not load Fcntl at runtime, saving memory and loading time.
103 - precompile a number of constants and use them instead of runtime
104 detection and eval.
105 - free detection code after detection and similar memory optimisations.
106 - Perl backend timer interval best effort drift has been improved
107 (same algorithm as EV).
108 - update unicode idna mapping table.
109
1105.24 Tue Jan 5 11:39:43 CET 2010
111 - cygwin never reports errors from failed connects. 1.5 just gives
112 you continous readyness and EAGAIN, 1.7 is even more broken and
113 just hangs. work around both issues in a cygwin-specific hack.
114 - improve idle watcher documentation slightly.
115
1165.23 Sun Dec 20 23:48:00 CET 2009
117 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
118 - implement punycode_encode/decode, idn_nameprep,
119 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
120 - provide $AE::VERSION.
121 - removed traces of "no strict 'refs'".
122
1235.22 Sat Dec 5 03:51:13 CET 2009
124 - downgrade-or-fail in AnyEvent::Handle::push_write, to
125 diagnose encoding failures earlier and more succinctly.
126 (this works around bugs in perl, throwing away encoding info
127 when passing scalar data to extensions).
128 - add more examples to AnyEvent::Socket manpage.
129 - upgrade internal warning set to the same as common::sense 2.03.
130 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
131 (John Beppu).
132 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
133 - add google public dns servers to fallback server set and make sure
134 we load-balance properly between the three sets. also add all
135 fallback dns servers, not just a random one, to each dns config.
136
1375.21 Thu Nov 19 02:48:47 CET 2009
138 - fix a problem where socket constants were called with parameters
139 (spotted by David Friedland).
140 - fork_call never use'd POSIX (reported by Daisuke Maki).
141 - improve perl 5.6 compatibility further (but it still won't work
142 unless you rip out everything but the core).
143 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
144 uses 10MB of RAM, but doesn't open a console window. *sigh*.
145
1465.202 Wed Oct 14 22:35:44 CEST 2009
147 - AnyEvent::DNS would unexpectedly clobber $_ under windows
148 (analysed by Matthias Waldorf).
149 - AnyEvent::Handle::run_cmd can now pass the PID of the
150 newly-created process, which is much less useful than it might
151 sound (based on patch by Yann Kerherve).
152
1535.201 Tue Sep 29 12:09:25 CEST 2009
154 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
155 (reported by Torsten Foertsch).
156 - common::sense 2.0 could cause tcp_server to throw an exception
157 (analysed by elmex).
158
1595.2 Mon Sep 14 07:04:49 CEST 2009
160 - INCOMPATIBLE CHANGE: do no longer support register_read_type
161 and register_write_type in AnyEvent::Handle, instead support
162 package names (the facility was mostly abused).
163 - implement "packagename-as-read/write type" support in
164 AnyEvent::Handle.
165 - AnyEvent::Handle: new options "keepalive" and "oobinline".
166 - oobinline set by default to avoid security issues.
167 - the pure-perl event loop backend wrongly detected times() fallback
168 support (spotted by Pavel Boldin).
169
1705.12 Tue Sep 1 20:26:50 CEST 2009
171 - be more lenient when parsing resolv.conf files, as some people
172 use hashmarks as comment indicator inside directives (reported
173 by Michael S. Fischer).
174 - use same set of warnings as common::sense 2.0.
175 - fix a potential 32 bit overflow issue due to perl having problems
176 with large hex constants in the Perl backend.
177 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
178 by default.
179 - fix some prototypes.
180 - (optionally) require Async::Interrupt 1.02.
181 - replace opendns fallbacks by verizon/level3 public dns servers.
182
1835.112 Fri Aug 21 13:59:04 CEST 2009
184 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
185 using starttls with an illegal/uncreatable tls context.
186 - port to broken win32 perls.
187
1885.111 Sun Aug 16 18:44:36 CEST 2009
189 - perl errornously requires sockaddr_un structures returned by the
190 kernel to have a specific length. work around this bug by padding
191 sockaddr_un structures (found to fail on OS X, as perl only uses
192 the correct code for GNU/Linux, but likely to fail on other
193 OSes as well).
194
1955.11 Wed Aug 12 17:49:37 CEST 2009
196 - fixed a bug in run_cmd with input from filename.
197 - create a json coder object when none is given in write direction
198 to reduce dependency on JSON.
199
2005.1 Tue Aug 11 03:17:32 CEST 2009
201 - tcp_connect now reports the correct error in $!, not an unrelated
202 one (was broken since 4.91).
203 - AE::Handle did not properly clear rtimeout/wtimeout watchers
204 when retrying a tcp_connect.
205 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
206 - fixed wrong documentation in AE::Socket.
207
2085.01 Mon Aug 10 03:16:32 CEST 2009
209 - last release broke EV child watchers :/.
210
2115.0 Sun Aug 9 17:32:09 CEST 2009
212 - officially introduce and document the AE API.
213 - lowering the timeout at runtime did not have immediate effect
214 in AnyEvent::Handle.
215 - AE::Handle now has separate and independent read and write timeout
216 settings.
217 - probe for Guard module when AnyEvent::Util is loaded, not at
218 runtime (Event doesn't like eval "use" from callbacks, and it avoids
219 exporting the probe function).
220 - Impl::IOAsync's io watchers did not use the filehandle emulation
221 code to work around it's watcher limits.
222 - work around IO::Async's problems with overloaded objects.
223 - try to disable wearnings inside IO::Async, it's just too buggy.
224 - do no longer use Event by default, only EV or Perl, Event is too buggy.
225 - hackishly provide fast AE:: interface when EV or Perl is the backend.
226 - inherit VERSION from AnyEvent::VERSION in most modules.
227
2284.91 Thu Aug 6 15:42:45 CEST 2009
229 - AE::Handle::starttls could get out of sync when the read buffer
230 already contains some TLS handshake.
231 - AE::Handle did not properly free the TLS session, causing bigger
232 memory leaks in Net::SSLeay than expected (reported by toaster).
233 - AE::Socket::tcp_connect will now artificially delay invoking
234 the callback to avoid returning after invoking the callback.
235 - convert many internal watcher uses to AE API.
236
2374.9 Sat Aug 1 11:07:01 CEST 2009
238 - Glib silently fails when registering a timeout with
239 a negative value, so avoid that.
240 - call condvar callback immediately when it is set
241 after the condition is already signalled.
242 - check rbuf_max condition only after trying to consume
243 data.
244 - normalise signal numbers to names when using the ae's
245 signal handling, but do not document this (yet).
246 - pure perl signal emulation did not properly set nonblocking
247 mode on the signal pipe on win32 (this is unlikely to have caused
248 any issues).
249 - new module: AnyEvent::Debug.
250 - AnyEvent::Strict now checks that a signal was specified
251 by name (not name or number).
252 - reduce memory footprint in typical cases by ~50kb by
253 only compiling signal code when necessary.
254 - add AnyEvent::Handle->rbuf_max.
255 - grab the AE namespace for future new API, implement stubs for
256 said future/alternative API.
257 - new function: AnyEvent::Socket::format_hostport.
258
2594.881 Tue Jul 28 12:51:53 CEST 2009
260 - work around a bug in local in pre-5.10 perls, causing
261 AnyEvent::Handle to recurse when it should not
262 (analysed by elmex).
263
2644.88 Tue Jul 28 04:04:37 CEST 2009
265 - re-bless the handle into a dummy package after calling
266 AnyEvent::Handle::destroy, so the user does not need to check
267 for errors after every push_write etc.
268 - do not attempt to run t/02_signals.t on obviously broken
269 platforms.
270
2714.87 Sun Jul 26 02:06:16 CEST 2009
272 - do not attempt to linger when there is no longer a valid fh.
273 - enforce tls mode to be either accept or connect, do not simply
274 segfault in Net::SSLeay.
275 - AnyEvent::Handle can now call tcp_connect itself (new parameters
276 connect, on_prepare, on_connect and on_connect_error). Updated
277 tutorial accordingly.
278 - add AnyEvent::Impl::Irssi backend.
279
2804.86 Mon Jul 20 23:52:29 CEST 2009
281 - since the verbose warning is not enough, explicitly document
282 that versions before 1.33 of Net::SSLeay are not secure.
283 - work around signal handling races in Event and (...) Event::Lib.
284 - try to align signal-race timer to full-second boundaries.
285 - work around Tk not liking negative timeouts.
286 - don't complain of different grades of environmental unfriendlyness
287 in IO::Async.
288
2894.85 Sat Jul 18 06:16:14 CEST 2009
290 - nail the signal race problem in perl once and for all
291 (see $AnyEvent::MAX_SIGNAL_LATENCY).
292 - take advantage of Async::Interrupt if it is available.
293 - load Time::HiRes and Guard modules on demand only.
294 - add optional/recommended modules section to AnyEvent
295 documentation.
296 - reduce memory usage considerably (and reduce startup penalty)
297 by not using "strict", "warnings" and "overload" modules.
298 - work around buggy windows/openbsd perls and provide EBADMSG
299 and EPROTO ourselves when missing.
300 - improve perl 5.6 compatibility of the core event loop.
301 - made Net::SSLeay version 1.33 a soft requirement.
302
3034.83 Fri Jul 17 16:56:26 CEST 2009
304 - implement AnyEvent::Socket::getprotobyname.
305 - AnyEvent::CondVar's will now detect recursive blocking
306 waits and will croak, as too many people fall into
307 this trap.
308 - AnyEvent::Handle will now call ->destroy on itself after
309 executing the on_error callback, instead of doing some
310 half-baked internal shutdown, for fatal errors.
311 - clarify on_eof behaviour w.r.t. the read queue and
312 on_read callbacks.
313 - ignore some possible spurious wake-ups in tcp_connect.
314
3154.82 Sat Jul 11 00:34:55 CEST 2009
316 - POE and Event backends didn't accept some callable objects as
317 callbacks.
318 - use Config module instead of POSIX module to detect signal names
319 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
320 module doesn't even have all POSIX signals :/.
321 - use more workarounds around the many refcnt/corruption bugs in
322 Event::Lib.
323 - work around a race condition in perl's select, causing t/03_child.t
324 to rarely fail.
325
3264.81 Thu Jul 9 10:30:30 CEST 2009
327 - AnyEvent::Handle didn't properly diagnose write errors
328 (it expected -1 from syswrite, how lame... :).
329 - support file descriptors in addition to file handles
330 in AnyEvent->io.
331 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
332 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
333 and PERL_ANYEVENT_CA_PATH.
334 - provide a sensible synopsis section for AnyEvent::TLS.
335 - add a "supported backends" section to the manpage.
336 - added simple io watcher test to testsuite, using a
337 portable_socketpair.
338 - tried to improve the stability of the Event::Lib backend,
339 YMMV.
340
3414.8 Mon Jul 6 23:45:16 CEST 2009
342 - AnyEvent::DNS did not properly follow CNAME records with
343 uppercase targets.
344 - AnyEvent::DNS would errornously return AAAA records
345 with v4 mapped addresses (a faulty record) as ipv4 addresses,
346 causing AnyEvent::Socket to throw an exception.
347 - added new module AnyEvent::TLS for easier SSL/TLS context
348 creation, with many options including hostname verification,
349 secure default configuration, lots of documentation and,
350 predefined diffie-hellman keys for perfect forward security
351 and much more. get it while it's still fresh!
352 - use AnyEvent::TLS in AnyEvent::Handle for context management.
353 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
354 so AnyEvent::Socket users have smaller memory footprint
355 in the common case.
356 - add AnyEvent::Handle->push_shutdown method.
357 - add an additional error message parameter to AnyEvent::Handle's
358 on_error callback (for TLS, $! is still available).
359 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
360 - make AnyEvent::Handle more robust against early conenction
361 failures (during new), and return C<undef> in that case
362 from the constructor.
363 - AnyEvent::Handle will now try to load only JSON::XS first,
364 then fall back to JSON.
365 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
366 and because it was documented that way.
367
3684.451 Fri Jul 3 00:28:58 CEST 2009
369 - do not clear rbuf when shutting down an AnyEvent::Handle
370 object - doing so breaks AnyEvent::HTTP.
371
3724.45 Mon Jun 29 22:59:26 CEST 2009
373 - a write error could cause AnyEvent::Handle to create
374 an I/O watcher with an undefined $fh.
375 - special-case mapped ipv4 addresses in both
376 AnyEvent::Socket::format_address and parse_address,
377 to treat them just like ipv4 addresses.
378 - updated and overhauled the AnyEvent::Intro doc.
379 - implement AnyEvent::Socket::format_ipv4/ipv6.
380 - slightly speed up portable_pipe/socketpair.
381 - expand condvar begin/end documentation.
382
3834.42 Fri Jun 26 08:32:18 CEST 2009
384 - preliminary and neccesarily incomplete support for IO::Async.
385 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
386 case it was set to IGNORE, to ensure we can catch child statuses
387 even when the calling env acts stupidly.
388 - updated benchmarks with IO::Async, which performs very well.
389
3904.412 Wed Jun 24 01:35:57 CEST 2009
391 - support an "untaint" attribute for AnyEvent::DNS
392 and set it on the default resolver.
393 - implement and document AnyEvent::Impl::Perl::loop.
394 - remove all anyevent-env variables from %ENV
395 when running in tainted mode.
396 - mention and extend the IO::Lambda benchmark.
397
3984.411 Sun Jun 7 18:48:02 CEST 2009
399 - do not try to use F_SETFD on windows.
400
4014.41 Thu May 14 06:40:11 CEST 2009
402 - work around issues in older perls (5.8.0?) when
403 a signal handler is deleted from the %SIG hash.
404 - use POSIX::_exit in child test, to avoid running
405 destructors.
406 - speed up CHLD handling by relying on SIGCHLD being
407 synchronously delivered, even when we roll our own
408 implementation.
4 - AnyEvent::DNS: add the "dname" resource record name 409 - AnyEvent::DNS: add the "dname" resource record name
5 for cosmetic reasons. 410 for cosmetic reasons.
6 - work around issues in older perls (5.8.0?) when
7 a signal handler is deleted from the %SIG hash.
8 411
94.4 Sun Apr 26 20:12:33 CEST 2009 4124.4 Sun Apr 26 20:12:33 CEST 2009
10 - implemented idle watchers, where applicable. 413 - implemented idle watchers, where applicable.
11 - AnyEvent->time died when Event backend was in use. 414 - AnyEvent->time died when Event backend was in use.
12 - fix a memleak in the Tk backend. 415 - fix a memleak in the Tk backend.
13 - sped up Tk timer handling. 416 - sped up Tk timer handling.
14 - clip negative "after" values to 0 in AnyEvent::Impl::Event 417 - clip negative "after" values to 0 in AnyEvent::Impl::Event
15 to avoid spamming out warning messages. 418 to avoid spamming out warning messages.
16 - fix Qt timers without interval. 419 - fix Qt timers without interval.
17 - avoid Qt zero-timeout specialcase, in old libqt's. 420 - avoid Qt zero-timeout special case, in old libqt's.
18 421
194.352 Mon Apr 20 16:31:11 CEST 2009 4224.352 Mon Apr 20 16:31:11 CEST 2009
20 - fix AnyEvent::Strict error messages for child watchers. 423 - fix AnyEvent::Strict error messages for child watchers.
21 - fix/update Makefile.PL "recommends" versions. 424 - fix/update Makefile.PL "recommends" versions.
22 - add AnyEvent->now_update. 425 - add AnyEvent->now_update.
864.3 Fri Oct 3 09:18:43 CEST 2008 4894.3 Fri Oct 3 09:18:43 CEST 2008
87 - AnyEvent will now install a no-op signal handler for SIGPIPE, 490 - AnyEvent will now install a no-op signal handler for SIGPIPE,
88 unless one has been installed already. 491 unless one has been installed already.
89 - warn about not loaidng AnyEvent::Impl::POE early enough 492 - warn about not loaidng AnyEvent::Impl::POE early enough
90 (patch by Adam Rosenstein). 493 (patch by Adam Rosenstein).
91 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 494 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
92 - fix a bug in where in SSL connect mode, the 495 - fix a bug in where in SSL connect mode, the
93 client would first wait for some data by the server and 496 client would first wait for some data by the server and
94 otherwise hang. (reported and analyzed in an absolutely 497 otherwise hang. (reported and analysed in an absolutely
95 exemplary manner by Adam Rosenstein). 498 exemplary manner by Adam Rosenstein).
96 - fix a bug in where SSL EOF would not be treated 499 - fix a bug in where SSL EOF would not be treated
97 as stream EOF, putting the connection into a hung state. 500 as stream EOF, putting the connection into a hung state.
98 (reported and analyzed in an absolutely exemplary manner by Adam 501 (reported and analysed in an absolutely exemplary manner by Adam
99 Rosenstein). 502 Rosenstein).
100 - fix a potential segfault when the TLS context 503 - fix a potential segfault when the TLS context
101 would go missing in a read callback (e.g. due to stoptls) - 504 would go missing in a read callback (e.g. due to stoptls) -
102 Net::SSLeay of course makes no type checking whatsoever. 505 Net::SSLeay of course makes no type checking whatsoever.
103 - AnyEvent::Handle will not stop the read watcher in TLS mode. 506 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines