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

Comparing AnyEvent/Changes (file contents):
Revision 1.253 by root, Mon Jun 29 11:05:05 2009 UTC vs.
Revision 1.399 by root, Sun Jun 6 10:11:56 2010 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines