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

Comparing AnyEvent/Changes (file contents):
Revision 1.242 by root, Mon Jun 22 11:57:05 2009 UTC vs.
Revision 1.400 by root, Sun Jun 6 10:13:57 2010 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines