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

Comparing AnyEvent/Changes (file contents):
Revision 1.260 by root, Fri Jul 3 21:44:14 2009 UTC vs.
Revision 1.406 by root, Tue Aug 31 22:56:20 2010 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3ZERO_RETURN - stoptls? 3TODO: document $AnyEvent::DNS::RESOLVER
4TODO: maybe remove orderign description and make this a private feature?
5TODO: anyevenmt_read_type for unshift_read
6TODO: condvar->new method is documented and should be there.
7TODO: http://github.com/sanko/net-bittorrent/commit/e1d06941d7217011f5f06ce7152012d5e1b44b9a
8TODO: check for -w? somehow?
9 - clarify that you can actually call push_read etc. in on_read.
10 - incorporated major typo patches by Abhijit Menon-Sen.
11
125.271 Tue Jun 8 12:05:46 CEST 2010
13 - backport to perl 5.8.x.
14
155.27 Sun Jun 6 12:12:05 CEST 2010
16 - postpone differently in AnyEvent::Socket now, as
17 when not, canceling the connection attempt might fail
18 (found by Felix Antonius Wilhelm Ostmann).
19 - explicitly check for non-stream sockets in AE::Handle, too many
20 clueless people fell into the trap of this somehow working.
21 - simplified and reworked the "OTHER MODULES" section.
22 - better/more condvar examples.
23
245.261 Wed Apr 28 16:13:36 CEST 2010
25 - AF_INET6 was not properly used from Socket6 during configuration
26 time (found by Andy Grundman).
27
285.26 Mon Apr 12 04:49:35 CEST 2010
29 - don't generate spurious readyness notifications when select
30 returns EINTR in the pure perl backend (analysed and testcase
31 by Bas Denissen).
32 - give same examples in SYNOPSIS sections of AnyEvent and AE.
33 - provider faster implementations for AE::time/now/now_update for
34 EV and Perl backends.
35 - provide faster AE::cv and AE::time implementations for all
36 backends.
37 - no longer support lower/mixed-case signal names (this was
38 never documented nor universally supported).
39 - some more memory ยต-optimisations, and somewhat less messy
40 code to cope with both AnyEvent and AE APIs.
41
425.251 Sat Mar 13 00:58:21 CET 2010
43 - make test failed if it was run before make install on perl <=
44 5.8.8, and older versions of perl make our live very difficult,
45 so write constants.pl during Makefile.PL time.
46
475.25 Sat Mar 13 00:23:14 CET 2010
48 - fix a race condition in AnyEvent::Handle that would cause
49 a "bio_read: unsupported method" error (in _another_
50 ssl connection) after user code threw an exception.
51 - added AnyEvent::Handle->destroyed method.
52 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
53 - the AnyEvent::Util::fh_nonblocking function worked only
54 by lucky accident on win32.
55 - smaller and faster AnyEvent::Util::fh_nonblocking.
56 - when the (required!) Time::HiRes module is missing, AnyEvent
57 did not fall back to built-in time properly.
58 - do not load Fcntl at runtime, saving memory and loading time.
59 - precompile a number of constants and use them instead of runtime
60 detection and eval.
61 - free detection code after detection and similar memory optimisations.
62 - Perl backend timer interval best effort drift has been improved
63 (same algorithm as EV).
64 - update unicode idna mapping table.
65
665.24 Tue Jan 5 11:39:43 CET 2010
67 - cygwin never reports errors from failed connects. 1.5 just gives
68 you continous readyness and EAGAIN, 1.7 is even more broken and
69 just hangs. work around both issues in a cygwin-specific hack.
70 - improve idle watcher documentation slightly.
71
725.23 Sun Dec 20 23:48:00 CET 2009
73 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
74 - implement punycode_encode/decode, idn_nameprep,
75 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
76 - provide $AE::VERSION.
77 - removed traces of "no strict 'refs'".
78
795.22 Sat Dec 5 03:51:13 CET 2009
80 - downgrade-or-fail in AnyEvent::Handle::push_write, to
81 diagnose encoding failures earlier and more succinctly.
82 (this works around bugs in perl, throwing away encoding info
83 when passing scalar data to extensions).
84 - add more examples to AnyEvent::Socket manpage.
85 - upgrade internal warning set to the same as common::sense 2.03.
86 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
87 (John Beppu).
88 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
89 - add google public dns servers to fallback server set and make sure
90 we load-balance properly between the three sets. also add all
91 fallback dns servers, not just a random one, to each dns config.
92
935.21 Thu Nov 19 02:48:47 CET 2009
94 - fix a problem where socket constants were called with parameters
95 (spotted by David Friedland).
96 - fork_call never use'd POSIX (reported by Daisuke Maki).
97 - improve perl 5.6 compatibility further (but it still won't work
98 unless you rip out everything but the core).
99 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
100 uses 10MB of RAM, but doesn't open a console window. *sigh*.
101
1025.202 Wed Oct 14 22:35:44 CEST 2009
103 - AnyEvent::DNS would unexpectedly clobber $_ under windows
104 (analysed by Matthias Waldorf).
105 - AnyEvent::Handle::run_cmd can now pass the PID of the
106 newly-created process, which is much less useful than it might
107 sound (based on patch by Yann Kerherve).
108
1095.201 Tue Sep 29 12:09:25 CEST 2009
110 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
111 (reported by Torsten Foertsch).
112 - common::sense 2.0 could cause tcp_server to throw an exception
113 (analysed by elmex).
114
1155.2 Mon Sep 14 07:04:49 CEST 2009
116 - INCOMPATIBLE CHANGE: do no longer support register_read_type
117 and register_write_type in AnyEvent::Handle, instead support
118 package names (the facility was mostly abused).
119 - implement "packagename-as-read/write type" support in
120 AnyEvent::Handle.
121 - AnyEvent::Handle: new options "keepalive" and "oobinline".
122 - oobinline set by default to avoid security issues.
123 - the pure-perl event loop backend wrongly detected times() fallback
124 support (spotted by Pavel Boldin).
125
1265.12 Tue Sep 1 20:26:50 CEST 2009
127 - be more lenient when parsing resolv.conf files, as some people
128 use hashmarks as comment indicator inside directives (reported
129 by Michael S. Fischer).
130 - use same set of warnings as common::sense 2.0.
131 - fix a potential 32 bit overflow issue due to perl having problems
132 with large hex constants in the Perl backend.
133 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
134 by default.
135 - fix some prototypes.
136 - (optionally) require Async::Interrupt 1.02.
137 - replace opendns fallbacks by verizon/level3 public dns servers.
138
1395.112 Fri Aug 21 13:59:04 CEST 2009
140 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
141 using starttls with an illegal/uncreatable tls context.
142 - port to broken win32 perls.
143
1445.111 Sun Aug 16 18:44:36 CEST 2009
145 - perl errornously requires sockaddr_un structures returned by the
146 kernel to have a specific length. work around this bug by padding
147 sockaddr_un structures (found to fail on OS X, as perl only uses
148 the correct code for GNU/Linux, but likely to fail on other
149 OSes as well).
150
1515.11 Wed Aug 12 17:49:37 CEST 2009
152 - fixed a bug in run_cmd with input from filename.
153 - create a json coder object when none is given in write direction
154 to reduce dependency on JSON.
155
1565.1 Tue Aug 11 03:17:32 CEST 2009
157 - tcp_connect now reports the correct error in $!, not an unrelated
158 one (was broken since 4.91).
159 - AE::Handle did not properly clear rtimeout/wtimeout watchers
160 when retrying a tcp_connect.
161 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
162 - fixed wrong documentation in AE::Socket.
163
1645.01 Mon Aug 10 03:16:32 CEST 2009
165 - last release broke EV child watchers :/.
166
1675.0 Sun Aug 9 17:32:09 CEST 2009
168 - officially introduce and document the AE API.
169 - lowering the timeout at runtime did not have immediate effect
170 in AnyEvent::Handle.
171 - AE::Handle now has separate and independent read and write timeout
172 settings.
173 - probe for Guard module when AnyEvent::Util is loaded, not at
174 runtime (Event doesn't like eval "use" from callbacks, and it avoids
175 exporting the probe function).
176 - Impl::IOAsync's io watchers did not use the filehandle emulation
177 code to work around it's watcher limits.
178 - work around IO::Async's problems with overloaded objects.
179 - try to disable wearnings inside IO::Async, it's just too buggy.
180 - do no longer use Event by default, only EV or Perl, Event is too buggy.
181 - hackishly provide fast AE:: interface when EV or Perl is the backend.
182 - inherit VERSION from AnyEvent::VERSION in most modules.
183
1844.91 Thu Aug 6 15:42:45 CEST 2009
185 - AE::Handle::starttls could get out of sync when the read buffer
186 already contains some TLS handshake.
187 - AE::Handle did not properly free the TLS session, causing bigger
188 memory leaks in Net::SSLeay than expected (reported by toaster).
189 - AE::Socket::tcp_connect will now artificially delay invoking
190 the callback to avoid returning after invoking the callback.
191 - convert many internal watcher uses to AE API.
192
1934.9 Sat Aug 1 11:07:01 CEST 2009
194 - Glib silently fails when registering a timeout with
195 a negative value, so avoid that.
196 - call condvar callback immediately when it is set
197 after the condition is already signalled.
198 - check rbuf_max condition only after trying to consume
199 data.
200 - normalise signal numbers to names when using the ae's
201 signal handling, but do not document this (yet).
202 - pure perl signal emulation did not properly set nonblocking
203 mode on the signal pipe on win32 (this is unlikely to have caused
204 any issues).
205 - new module: AnyEvent::Debug.
206 - AnyEvent::Strict now checks that a signal was specified
207 by name (not name or number).
208 - reduce memory footprint in typical cases by ~50kb by
209 only compiling signal code when necessary.
210 - add AnyEvent::Handle->rbuf_max.
211 - grab the AE namespace for future new API, implement stubs for
212 said future/alternative API.
213 - new function: AnyEvent::Socket::format_hostport.
214
2154.881 Tue Jul 28 12:51:53 CEST 2009
216 - work around a bug in local in pre-5.10 perls, causing
217 AnyEvent::Handle to recurse when it should not
218 (analysed by elmex).
219
2204.88 Tue Jul 28 04:04:37 CEST 2009
221 - re-bless the handle into a dummy package after calling
222 AnyEvent::Handle::destroy, so the user does not need to check
223 for errors after every push_write etc.
224 - do not attempt to run t/02_signals.t on obviously broken
225 platforms.
226
2274.87 Sun Jul 26 02:06:16 CEST 2009
228 - do not attempt to linger when there is no longer a valid fh.
229 - enforce tls mode to be either accept or connect, do not simply
230 segfault in Net::SSLeay.
231 - AnyEvent::Handle can now call tcp_connect itself (new parameters
232 connect, on_prepare, on_connect and on_connect_error). Updated
233 tutorial accordingly.
234 - add AnyEvent::Impl::Irssi backend.
235
2364.86 Mon Jul 20 23:52:29 CEST 2009
237 - since the verbose warning is not enough, explicitly document
238 that versions before 1.33 of Net::SSLeay are not secure.
239 - work around signal handling races in Event and (...) Event::Lib.
240 - try to align signal-race timer to full-second boundaries.
241 - work around Tk not liking negative timeouts.
242 - don't complain of different grades of environmental unfriendlyness
243 in IO::Async.
244
2454.85 Sat Jul 18 06:16:14 CEST 2009
246 - nail the signal race problem in perl once and for all
247 (see $AnyEvent::MAX_SIGNAL_LATENCY).
248 - take advantage of Async::Interrupt if it is available.
249 - load Time::HiRes and Guard modules on demand only.
250 - add optional/recommended modules section to AnyEvent
251 documentation.
252 - reduce memory usage considerably (and reduce startup penalty)
253 by not using "strict", "warnings" and "overload" modules.
254 - work around buggy windows/openbsd perls and provide EBADMSG
255 and EPROTO ourselves when missing.
256 - improve perl 5.6 compatibility of the core event loop.
257 - made Net::SSLeay version 1.33 a soft requirement.
258
2594.83 Fri Jul 17 16:56:26 CEST 2009
260 - implement AnyEvent::Socket::getprotobyname.
261 - AnyEvent::CondVar's will now detect recursive blocking
262 waits and will croak, as too many people fall into
263 this trap.
264 - AnyEvent::Handle will now call ->destroy on itself after
265 executing the on_error callback, instead of doing some
266 half-baked internal shutdown, for fatal errors.
267 - clarify on_eof behaviour w.r.t. the read queue and
268 on_read callbacks.
269 - ignore some possible spurious wake-ups in tcp_connect.
270
2714.82 Sat Jul 11 00:34:55 CEST 2009
272 - POE and Event backends didn't accept some callable objects as
273 callbacks.
274 - use Config module instead of POSIX module to detect signal names
275 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
276 module doesn't even have all POSIX signals :/.
277 - use more workarounds around the many refcnt/corruption bugs in
278 Event::Lib.
279 - work around a race condition in perl's select, causing t/03_child.t
280 to rarely fail.
281
2824.81 Thu Jul 9 10:30:30 CEST 2009
283 - AnyEvent::Handle didn't properly diagnose write errors
284 (it expected -1 from syswrite, how lame... :).
285 - support file descriptors in addition to file handles
286 in AnyEvent->io.
287 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
288 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
289 and PERL_ANYEVENT_CA_PATH.
290 - provide a sensible synopsis section for AnyEvent::TLS.
291 - add a "supported backends" section to the manpage.
292 - added simple io watcher test to testsuite, using a
293 portable_socketpair.
294 - tried to improve the stability of the Event::Lib backend,
295 YMMV.
296
2974.8 Mon Jul 6 23:45:16 CEST 2009
298 - AnyEvent::DNS did not properly follow CNAME records with
299 uppercase targets.
300 - AnyEvent::DNS would errornously return AAAA records
301 with v4 mapped addresses (a faulty record) as ipv4 addresses,
302 causing AnyEvent::Socket to throw an exception.
4 - added new module AnyEvent::TLS for easier SSL/TLS context 303 - added new module AnyEvent::TLS for easier SSL/TLS context
5 creation, with many options including hostname verification, 304 creation, with many options including hostname verification,
6 secure default configuration, lots of documentation and, 305 secure default configuration, lots of documentation and,
7 predefined diffie-hellman keys for perfect forward security 306 predefined diffie-hellman keys for perfect forward security
8 and much more. get it while it's still fresh! 307 and much more. get it while it's still fresh!
11 so AnyEvent::Socket users have smaller memory footprint 310 so AnyEvent::Socket users have smaller memory footprint
12 in the common case. 311 in the common case.
13 - add AnyEvent::Handle->push_shutdown method. 312 - add AnyEvent::Handle->push_shutdown method.
14 - add an additional error message parameter to AnyEvent::Handle's 313 - add an additional error message parameter to AnyEvent::Handle's
15 on_error callback (for TLS, $! is still available). 314 on_error callback (for TLS, $! is still available).
315 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
16 - make AnyEvent::Handle more robust against early conenction 316 - make AnyEvent::Handle more robust against early conenction
17 failures (during new), and return C<undef> in that case 317 failures (during new), and return C<undef> in that case
18 from the constructor. 318 from the constructor.
19 - AnyEvent::Handle will now try to load only JSON::XS first, 319 - AnyEvent::Handle will now try to load only JSON::XS first,
20 then fall back to JSON. 320 then fall back to JSON.
321 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
322 and because it was documented that way.
21 323
224.451 Fri Jul 3 00:28:58 CEST 2009 3244.451 Fri Jul 3 00:28:58 CEST 2009
23 - do not clear rbuf when shutting down an AnyEvent::Handle 325 - do not clear rbuf when shutting down an AnyEvent::Handle
24 object - doing so breaks AnyEvent::HTTP. 326 object - doing so breaks AnyEvent::HTTP.
25 327
1434.3 Fri Oct 3 09:18:43 CEST 2008 4454.3 Fri Oct 3 09:18:43 CEST 2008
144 - AnyEvent will now install a no-op signal handler for SIGPIPE, 446 - AnyEvent will now install a no-op signal handler for SIGPIPE,
145 unless one has been installed already. 447 unless one has been installed already.
146 - warn about not loaidng AnyEvent::Impl::POE early enough 448 - warn about not loaidng AnyEvent::Impl::POE early enough
147 (patch by Adam Rosenstein). 449 (patch by Adam Rosenstein).
148 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 450 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
149 - fix a bug in where in SSL connect mode, the 451 - fix a bug in where in SSL connect mode, the
150 client would first wait for some data by the server and 452 client would first wait for some data by the server and
151 otherwise hang. (reported and analyzed in an absolutely 453 otherwise hang. (reported and analysed in an absolutely
152 exemplary manner by Adam Rosenstein). 454 exemplary manner by Adam Rosenstein).
153 - fix a bug in where SSL EOF would not be treated 455 - fix a bug in where SSL EOF would not be treated
154 as stream EOF, putting the connection into a hung state. 456 as stream EOF, putting the connection into a hung state.
155 (reported and analyzed in an absolutely exemplary manner by Adam 457 (reported and analysed in an absolutely exemplary manner by Adam
156 Rosenstein). 458 Rosenstein).
157 - fix a potential segfault when the TLS context 459 - fix a potential segfault when the TLS context
158 would go missing in a read callback (e.g. due to stoptls) - 460 would go missing in a read callback (e.g. due to stoptls) -
159 Net::SSLeay of course makes no type checking whatsoever. 461 Net::SSLeay of course makes no type checking whatsoever.
160 - AnyEvent::Handle will not stop the read watcher in TLS mode. 462 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines