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

Comparing AnyEvent/Changes (file contents):
Revision 1.308 by root, Wed Jul 29 13:10:58 2009 UTC vs.
Revision 1.404 by root, Tue Aug 31 00:59:55 2010 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: release a:i 1.0 3TODO: document $AnyEvent::DNS::RESOLVER
4TODO: ae::strict should chekc for signal names (enforced) 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: it's => its in the docs, it's endemic
9 - clarify that you can actually call push_read etc. in on_read.
10
115.271 Tue Jun 8 12:05:46 CEST 2010
12 - backport to perl 5.8.x.
13
145.27 Sun Jun 6 12:12:05 CEST 2010
15 - postpone differently in AnyEvent::Socket now, as
16 when not, canceling the connection attempt might fail
17 (found by Felix Antonius Wilhelm Ostmann).
18 - explicitly check for non-stream sockets in AE::Handle, too many
19 clueless people fell into the trap of this somehow working.
20 - simplified and reworked the "OTHER MODULES" section.
21 - better/more condvar examples.
22
235.261 Wed Apr 28 16:13:36 CEST 2010
24 - AF_INET6 was not properly used from Socket6 during configuration
25 time (found by Andy Grundman).
26
275.26 Mon Apr 12 04:49:35 CEST 2010
28 - don't generate spurious readyness notifications when select
29 returns EINTR in the pure perl backend (analysed and testcase
30 by Bas Denissen).
31 - give same examples in SYNOPSIS sections of AnyEvent and AE.
32 - provider faster implementations for AE::time/now/now_update for
33 EV and Perl backends.
34 - provide faster AE::cv and AE::time implementations for all
35 backends.
36 - no longer support lower/mixed-case signal names (this was
37 never documented nor universally supported).
38 - some more memory ยต-optimisations, and somewhat less messy
39 code to cope with both AnyEvent and AE APIs.
40
415.251 Sat Mar 13 00:58:21 CET 2010
42 - make test failed if it was run before make install on perl <=
43 5.8.8, and older versions of perl make our live very difficult,
44 so write constants.pl during Makefile.PL time.
45
465.25 Sat Mar 13 00:23:14 CET 2010
47 - fix a race condition in AnyEvent::Handle that would cause
48 a "bio_read: unsupported method" error (in _another_
49 ssl connection) after user code threw an exception.
50 - added AnyEvent::Handle->destroyed method.
51 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
52 - the AnyEvent::Util::fh_nonblocking function worked only
53 by lucky accident on win32.
54 - smaller and faster AnyEvent::Util::fh_nonblocking.
55 - when the (required!) Time::HiRes module is missing, AnyEvent
56 did not fall back to built-in time properly.
57 - do not load Fcntl at runtime, saving memory and loading time.
58 - precompile a number of constants and use them instead of runtime
59 detection and eval.
60 - free detection code after detection and similar memory optimisations.
61 - Perl backend timer interval best effort drift has been improved
62 (same algorithm as EV).
63 - update unicode idna mapping table.
64
655.24 Tue Jan 5 11:39:43 CET 2010
66 - cygwin never reports errors from failed connects. 1.5 just gives
67 you continous readyness and EAGAIN, 1.7 is even more broken and
68 just hangs. work around both issues in a cygwin-specific hack.
69 - improve idle watcher documentation slightly.
70
715.23 Sun Dec 20 23:48:00 CET 2009
72 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
73 - implement punycode_encode/decode, idn_nameprep,
74 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
75 - provide $AE::VERSION.
76 - removed traces of "no strict 'refs'".
77
785.22 Sat Dec 5 03:51:13 CET 2009
79 - downgrade-or-fail in AnyEvent::Handle::push_write, to
80 diagnose encoding failures earlier and more succinctly.
81 (this works around bugs in perl, throwing away encoding info
82 when passing scalar data to extensions).
83 - add more examples to AnyEvent::Socket manpage.
84 - upgrade internal warning set to the same as common::sense 2.03.
85 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
86 (John Beppu).
87 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
88 - add google public dns servers to fallback server set and make sure
89 we load-balance properly between the three sets. also add all
90 fallback dns servers, not just a random one, to each dns config.
91
925.21 Thu Nov 19 02:48:47 CET 2009
93 - fix a problem where socket constants were called with parameters
94 (spotted by David Friedland).
95 - fork_call never use'd POSIX (reported by Daisuke Maki).
96 - improve perl 5.6 compatibility further (but it still won't work
97 unless you rip out everything but the core).
98 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
99 uses 10MB of RAM, but doesn't open a console window. *sigh*.
100
1015.202 Wed Oct 14 22:35:44 CEST 2009
102 - AnyEvent::DNS would unexpectedly clobber $_ under windows
103 (analysed by Matthias Waldorf).
104 - AnyEvent::Handle::run_cmd can now pass the PID of the
105 newly-created process, which is much less useful than it might
106 sound (based on patch by Yann Kerherve).
107
1085.201 Tue Sep 29 12:09:25 CEST 2009
109 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
110 (reported by Torsten Foertsch).
111 - common::sense 2.0 could cause tcp_server to throw an exception
112 (analysed by elmex).
113
1145.2 Mon Sep 14 07:04:49 CEST 2009
115 - INCOMPATIBLE CHANGE: do no longer support register_read_type
116 and register_write_type in AnyEvent::Handle, instead support
117 package names (the facility was mostly abused).
118 - implement "packagename-as-read/write type" support in
119 AnyEvent::Handle.
120 - AnyEvent::Handle: new options "keepalive" and "oobinline".
121 - oobinline set by default to avoid security issues.
122 - the pure-perl event loop backend wrongly detected times() fallback
123 support (spotted by Pavel Boldin).
124
1255.12 Tue Sep 1 20:26:50 CEST 2009
126 - be more lenient when parsing resolv.conf files, as some people
127 use hashmarks as comment indicator inside directives (reported
128 by Michael S. Fischer).
129 - use same set of warnings as common::sense 2.0.
130 - fix a potential 32 bit overflow issue due to perl having problems
131 with large hex constants in the Perl backend.
132 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
133 by default.
134 - fix some prototypes.
135 - (optionally) require Async::Interrupt 1.02.
136 - replace opendns fallbacks by verizon/level3 public dns servers.
137
1385.112 Fri Aug 21 13:59:04 CEST 2009
139 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
140 using starttls with an illegal/uncreatable tls context.
141 - port to broken win32 perls.
142
1435.111 Sun Aug 16 18:44:36 CEST 2009
144 - perl errornously requires sockaddr_un structures returned by the
145 kernel to have a specific length. work around this bug by padding
146 sockaddr_un structures (found to fail on OS X, as perl only uses
147 the correct code for GNU/Linux, but likely to fail on other
148 OSes as well).
149
1505.11 Wed Aug 12 17:49:37 CEST 2009
151 - fixed a bug in run_cmd with input from filename.
152 - create a json coder object when none is given in write direction
153 to reduce dependency on JSON.
154
1555.1 Tue Aug 11 03:17:32 CEST 2009
156 - tcp_connect now reports the correct error in $!, not an unrelated
157 one (was broken since 4.91).
158 - AE::Handle did not properly clear rtimeout/wtimeout watchers
159 when retrying a tcp_connect.
160 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
161 - fixed wrong documentation in AE::Socket.
162
1635.01 Mon Aug 10 03:16:32 CEST 2009
164 - last release broke EV child watchers :/.
165
1665.0 Sun Aug 9 17:32:09 CEST 2009
167 - officially introduce and document the AE API.
168 - lowering the timeout at runtime did not have immediate effect
169 in AnyEvent::Handle.
170 - AE::Handle now has separate and independent read and write timeout
171 settings.
172 - probe for Guard module when AnyEvent::Util is loaded, not at
173 runtime (Event doesn't like eval "use" from callbacks, and it avoids
174 exporting the probe function).
175 - Impl::IOAsync's io watchers did not use the filehandle emulation
176 code to work around it's watcher limits.
177 - work around IO::Async's problems with overloaded objects.
178 - try to disable wearnings inside IO::Async, it's just too buggy.
179 - do no longer use Event by default, only EV or Perl, Event is too buggy.
180 - hackishly provide fast AE:: interface when EV or Perl is the backend.
181 - inherit VERSION from AnyEvent::VERSION in most modules.
182
1834.91 Thu Aug 6 15:42:45 CEST 2009
184 - AE::Handle::starttls could get out of sync when the read buffer
185 already contains some TLS handshake.
186 - AE::Handle did not properly free the TLS session, causing bigger
187 memory leaks in Net::SSLeay than expected (reported by toaster).
188 - AE::Socket::tcp_connect will now artificially delay invoking
189 the callback to avoid returning after invoking the callback.
190 - convert many internal watcher uses to AE API.
191
1924.9 Sat Aug 1 11:07:01 CEST 2009
5 - Glib silently fails when registering a timeout with 193 - Glib silently fails when registering a timeout with
6 a negative value, so avoid that. 194 a negative value, so avoid that.
195 - call condvar callback immediately when it is set
196 after the condition is already signalled.
197 - check rbuf_max condition only after trying to consume
198 data.
7 - normalise signal numbers to names when using the ae's 199 - normalise signal numbers to names when using the ae's
8 signal handling, but do not document this (yet). 200 signal handling, but do not document this (yet).
9 - pure perl signal emulation did not properly set nonblocking 201 - pure perl signal emulation did not properly set nonblocking
10 mode on the signal pipe on win32 (this is unlikely to have caused 202 mode on the signal pipe on win32 (this is unlikely to have caused
11 any issues). 203 any issues).
204 - new module: AnyEvent::Debug.
205 - AnyEvent::Strict now checks that a signal was specified
206 by name (not name or number).
12 - reduce memory footprint int ypical cases by ~50kb by 207 - reduce memory footprint in typical cases by ~50kb by
13 only compiling signal code when necessary. 208 only compiling signal code when necessary.
209 - add AnyEvent::Handle->rbuf_max.
210 - grab the AE namespace for future new API, implement stubs for
211 said future/alternative API.
212 - new function: AnyEvent::Socket::format_hostport.
14 213
154.881 Tue Jul 28 12:51:53 CEST 2009 2144.881 Tue Jul 28 12:51:53 CEST 2009
16 - work around a bug in local in pre-5.10 perls, causing 215 - work around a bug in local in pre-5.10 perls, causing
17 AnyEvent::Handle to recurse when it should not 216 AnyEvent::Handle to recurse when it should not
18 (analyzed by elmex). 217 (analysed by elmex).
19 218
204.88 Tue Jul 28 04:04:37 CEST 2009 2194.88 Tue Jul 28 04:04:37 CEST 2009
21 - re-bless the handle into a dummy package after calling 220 - re-bless the handle into a dummy package after calling
22 AnyEvent::Handle::destroy, so the user does not need to check 221 AnyEvent::Handle::destroy, so the user does not need to check
23 for errors after every push_write etc. 222 for errors after every push_write etc.
2454.3 Fri Oct 3 09:18:43 CEST 2008 4444.3 Fri Oct 3 09:18:43 CEST 2008
246 - AnyEvent will now install a no-op signal handler for SIGPIPE, 445 - AnyEvent will now install a no-op signal handler for SIGPIPE,
247 unless one has been installed already. 446 unless one has been installed already.
248 - warn about not loaidng AnyEvent::Impl::POE early enough 447 - warn about not loaidng AnyEvent::Impl::POE early enough
249 (patch by Adam Rosenstein). 448 (patch by Adam Rosenstein).
250 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 449 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
251 - fix a bug in where in SSL connect mode, the 450 - fix a bug in where in SSL connect mode, the
252 client would first wait for some data by the server and 451 client would first wait for some data by the server and
253 otherwise hang. (reported and analyzed in an absolutely 452 otherwise hang. (reported and analysed in an absolutely
254 exemplary manner by Adam Rosenstein). 453 exemplary manner by Adam Rosenstein).
255 - fix a bug in where SSL EOF would not be treated 454 - fix a bug in where SSL EOF would not be treated
256 as stream EOF, putting the connection into a hung state. 455 as stream EOF, putting the connection into a hung state.
257 (reported and analyzed in an absolutely exemplary manner by Adam 456 (reported and analysed in an absolutely exemplary manner by Adam
258 Rosenstein). 457 Rosenstein).
259 - fix a potential segfault when the TLS context 458 - fix a potential segfault when the TLS context
260 would go missing in a read callback (e.g. due to stoptls) - 459 would go missing in a read callback (e.g. due to stoptls) -
261 Net::SSLeay of course makes no type checking whatsoever. 460 Net::SSLeay of course makes no type checking whatsoever.
262 - AnyEvent::Handle will not stop the read watcher in TLS mode. 461 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines