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

Comparing AnyEvent/Changes (file contents):
Revision 1.263 by root, Mon Jul 6 20:24:47 2009 UTC vs.
Revision 1.390 by root, Wed Mar 24 21:22:57 2010 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3ZERO_RETURN - stoptls? 3 - don't generate spurious readyness notifications when select
4 returns EINTR in the pure perl backend (analysed and testcase
5 by Bas Denissen).
6 - provider faster implementations for AE::time/now/now_update for
7 EV and Perl backends.
8 - provide faster AE::cv and AE::time implementations for all
9 backends.
10 - no longer support lower/mixed-case signal names (this was
11 never documented nor universally supported).
12 - some more memory ยต-optimisations, and somewhat less messy
13 code to cope with both AnyEvent and AE APIs.
14
155.251 Sat Mar 13 00:58:21 CET 2010
16 - make test failed if it was run before make install on perl <=
17 5.8.8, and older versions of perl make our live very difficult,
18 so write constants.pl during Makefile.PL time.
19
205.25 Sat Mar 13 00:23:14 CET 2010
21 - fix a race condition in AnyEvent::Handle that would cause
22 a "bio_read: unsupported method" error (in _another_
23 ssl connection) after user code threw an exception.
24 - added AnyEvent::Handle->destroyed method.
25 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
26 - the AnyEvent::Util::fh_nonblocking function worked only
27 by lucky accident on win32.
28 - smaller and faster AnyEvent::Util::fh_nonblocking.
29 - when the (required!) Time::HiRes module is missing, AnyEvent
30 did not fall back to built-in time properly.
31 - do not load Fcntl at runtime, saving memory and loading time.
32 - precompile a number of constants and use them instead of runtime
33 detection and eval.
34 - free detection code after detection and similar memory optimisations.
35 - Perl backend timer interval best effort drift has been improved
36 (same algorithm as EV).
37 - update unicode idna mapping table.
38
395.24 Tue Jan 5 11:39:43 CET 2010
40 - cygwin never reports errors from failed connects. 1.5 just gives
41 you continous readyness and EAGAIN, 1.7 is even more broken and
42 just hangs. work around both issues in a cygwin-specific hack.
43 - improve idle watcher documentation slightly.
44
455.23 Sun Dec 20 23:48:00 CET 2009
46 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
47 - implement punycode_encode/decode, idn_nameprep,
48 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
49 - provide $AE::VERSION.
50 - removed traces of "no strict 'refs'".
51
525.22 Sat Dec 5 03:51:13 CET 2009
53 - downgrade-or-fail in AnyEvent::Handle::push_write, to
54 diagnose encoding failures earlier and more succinctly.
55 (this works around bugs in perl, throwing away encoding info
56 when passing scalar data to extensions).
57 - add more examples to AnyEvent::Socket manpage.
58 - upgrade internal warning set to the same as common::sense 2.03.
59 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
60 (John Beppu).
61 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
62 - add google public dns servers to fallback server set and make sure
63 we load-balance properly between the three sets. also add all
64 fallback dns servers, not just a random one, to each dns config.
65
665.21 Thu Nov 19 02:48:47 CET 2009
67 - fix a problem where socket constants were called with parameters
68 (spotted by David Friedland).
69 - fork_call never use'd POSIX (reported by Daisuke Maki).
70 - improve perl 5.6 compatibility further (but it still won't work
71 unless you rip out everything but the core).
72 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
73 uses 10MB of RAM, but doesn't open a console window. *sigh*.
74
755.202 Wed Oct 14 22:35:44 CEST 2009
76 - AnyEvent::DNS would unexpectedly clobber $_ under windows
77 (analysed by Matthias Waldorf).
78 - AnyEvent::Handle::run_cmd can now pass the PID of the
79 newly-created process, which is much less useful than it might
80 sound (based on patch by Yann Kerherve).
81
825.201 Tue Sep 29 12:09:25 CEST 2009
83 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
84 (reported by Torsten Foertsch).
85 - common::sense 2.0 could cause tcp_server to throw an exception
86 (analysed by elmex).
87
885.2 Mon Sep 14 07:04:49 CEST 2009
89 - INCOMPATIBLE CHANGE: do no longer support register_read_type
90 and register_write_type in AnyEvent::Handle, instead support
91 package names (the facility was mostly abused).
92 - implement "packagename-as-read/write type" support in
93 AnyEvent::Handle.
94 - AnyEvent::Handle: new options "keepalive" and "oobinline".
95 - oobinline set by default to avoid security issues.
96 - the pure-perl event loop backend wrongly detected times() fallback
97 support (spotted by Pavel Boldin).
98
995.12 Tue Sep 1 20:26:50 CEST 2009
100 - be more lenient when parsing resolv.conf files, as some people
101 use hashmarks as comment indicator inside directives (reported
102 by Michael S. Fischer).
103 - use same set of warnings as common::sense 2.0.
104 - fix a potential 32 bit overflow issue due to perl having problems
105 with large hex constants in the Perl backend.
106 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
107 by default.
108 - fix some prototypes.
109 - (optionally) require Async::Interrupt 1.02.
110 - replace opendns fallbacks by verizon/level3 public dns servers.
111
1125.112 Fri Aug 21 13:59:04 CEST 2009
113 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
114 using starttls with an illegal/uncreatable tls context.
115 - port to broken win32 perls.
116
1175.111 Sun Aug 16 18:44:36 CEST 2009
118 - perl errornously requires sockaddr_un structures returned by the
119 kernel to have a specific length. work around this bug by padding
120 sockaddr_un structures (found to fail on OS X, as perl only uses
121 the correct code for GNU/Linux, but likely to fail on other
122 OSes as well).
123
1245.11 Wed Aug 12 17:49:37 CEST 2009
125 - fixed a bug in run_cmd with input from filename.
126 - create a json coder object when none is given in write direction
127 to reduce dependency on JSON.
128
1295.1 Tue Aug 11 03:17:32 CEST 2009
130 - tcp_connect now reports the correct error in $!, not an unrelated
131 one (was broken since 4.91).
132 - AE::Handle did not properly clear rtimeout/wtimeout watchers
133 when retrying a tcp_connect.
134 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
135 - fixed wrong documentation in AE::Socket.
136
1375.01 Mon Aug 10 03:16:32 CEST 2009
138 - last release broke EV child watchers :/.
139
1405.0 Sun Aug 9 17:32:09 CEST 2009
141 - officially introduce and document the AE API.
142 - lowering the timeout at runtime did not have immediate effect
143 in AnyEvent::Handle.
144 - AE::Handle now has separate and independent read and write timeout
145 settings.
146 - probe for Guard module when AnyEvent::Util is loaded, not at
147 runtime (Event doesn't like eval "use" from callbacks, and it avoids
148 exporting the probe function).
149 - Impl::IOAsync's io watchers did not use the filehandle emulation
150 code to work around it's watcher limits.
151 - work around IO::Async's problems with overloaded objects.
152 - try to disable wearnings inside IO::Async, it's just too buggy.
153 - do no longer use Event by default, only EV or Perl, Event is too buggy.
154 - hackishly provide fast AE:: interface when EV or Perl is the backend.
155 - inherit VERSION from AnyEvent::VERSION in most modules.
156
1574.91 Thu Aug 6 15:42:45 CEST 2009
158 - AE::Handle::starttls could get out of sync when the read buffer
159 already contains some TLS handshake.
160 - AE::Handle did not properly free the TLS session, causing bigger
161 memory leaks in Net::SSLeay than expected (reported by toaster).
162 - AE::Socket::tcp_connect will now artificially delay invoking
163 the callback to avoid returning after invoking the callback.
164 - convert many internal watcher uses to AE API.
165
1664.9 Sat Aug 1 11:07:01 CEST 2009
167 - Glib silently fails when registering a timeout with
168 a negative value, so avoid that.
169 - call condvar callback immediately when it is set
170 after the condition is already signalled.
171 - check rbuf_max condition only after trying to consume
172 data.
173 - normalise signal numbers to names when using the ae's
174 signal handling, but do not document this (yet).
175 - pure perl signal emulation did not properly set nonblocking
176 mode on the signal pipe on win32 (this is unlikely to have caused
177 any issues).
178 - new module: AnyEvent::Debug.
179 - AnyEvent::Strict now checks that a signal was specified
180 by name (not name or number).
181 - reduce memory footprint in typical cases by ~50kb by
182 only compiling signal code when necessary.
183 - add AnyEvent::Handle->rbuf_max.
184 - grab the AE namespace for future new API, implement stubs for
185 said future/alternative API.
186 - new function: AnyEvent::Socket::format_hostport.
187
1884.881 Tue Jul 28 12:51:53 CEST 2009
189 - work around a bug in local in pre-5.10 perls, causing
190 AnyEvent::Handle to recurse when it should not
191 (analysed by elmex).
192
1934.88 Tue Jul 28 04:04:37 CEST 2009
194 - re-bless the handle into a dummy package after calling
195 AnyEvent::Handle::destroy, so the user does not need to check
196 for errors after every push_write etc.
197 - do not attempt to run t/02_signals.t on obviously broken
198 platforms.
199
2004.87 Sun Jul 26 02:06:16 CEST 2009
201 - do not attempt to linger when there is no longer a valid fh.
202 - enforce tls mode to be either accept or connect, do not simply
203 segfault in Net::SSLeay.
204 - AnyEvent::Handle can now call tcp_connect itself (new parameters
205 connect, on_prepare, on_connect and on_connect_error). Updated
206 tutorial accordingly.
207 - add AnyEvent::Impl::Irssi backend.
208
2094.86 Mon Jul 20 23:52:29 CEST 2009
210 - since the verbose warning is not enough, explicitly document
211 that versions before 1.33 of Net::SSLeay are not secure.
212 - work around signal handling races in Event and (...) Event::Lib.
213 - try to align signal-race timer to full-second boundaries.
214 - work around Tk not liking negative timeouts.
215 - don't complain of different grades of environmental unfriendlyness
216 in IO::Async.
217
2184.85 Sat Jul 18 06:16:14 CEST 2009
219 - nail the signal race problem in perl once and for all
220 (see $AnyEvent::MAX_SIGNAL_LATENCY).
221 - take advantage of Async::Interrupt if it is available.
222 - load Time::HiRes and Guard modules on demand only.
223 - add optional/recommended modules section to AnyEvent
224 documentation.
225 - reduce memory usage considerably (and reduce startup penalty)
226 by not using "strict", "warnings" and "overload" modules.
227 - work around buggy windows/openbsd perls and provide EBADMSG
228 and EPROTO ourselves when missing.
229 - improve perl 5.6 compatibility of the core event loop.
230 - made Net::SSLeay version 1.33 a soft requirement.
231
2324.83 Fri Jul 17 16:56:26 CEST 2009
233 - implement AnyEvent::Socket::getprotobyname.
234 - AnyEvent::CondVar's will now detect recursive blocking
235 waits and will croak, as too many people fall into
236 this trap.
237 - AnyEvent::Handle will now call ->destroy on itself after
238 executing the on_error callback, instead of doing some
239 half-baked internal shutdown, for fatal errors.
240 - clarify on_eof behaviour w.r.t. the read queue and
241 on_read callbacks.
242 - ignore some possible spurious wake-ups in tcp_connect.
243
2444.82 Sat Jul 11 00:34:55 CEST 2009
245 - POE and Event backends didn't accept some callable objects as
246 callbacks.
247 - use Config module instead of POSIX module to detect signal names
248 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
249 module doesn't even have all POSIX signals :/.
250 - use more workarounds around the many refcnt/corruption bugs in
251 Event::Lib.
252 - work around a race condition in perl's select, causing t/03_child.t
253 to rarely fail.
254
2554.81 Thu Jul 9 10:30:30 CEST 2009
256 - AnyEvent::Handle didn't properly diagnose write errors
257 (it expected -1 from syswrite, how lame... :).
258 - support file descriptors in addition to file handles
259 in AnyEvent->io.
260 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
261 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
262 and PERL_ANYEVENT_CA_PATH.
263 - provide a sensible synopsis section for AnyEvent::TLS.
264 - add a "supported backends" section to the manpage.
265 - added simple io watcher test to testsuite, using a
266 portable_socketpair.
267 - tried to improve the stability of the Event::Lib backend,
268 YMMV.
269
2704.8 Mon Jul 6 23:45:16 CEST 2009
4 - AnyEvent::DNS did not properly follow CNAME records with 271 - AnyEvent::DNS did not properly follow CNAME records with
5 uppercase targets. 272 uppercase targets.
6 - AnyEvent::DNS would errornously return AAAA records 273 - AnyEvent::DNS would errornously return AAAA records
7 with v4 mapped addresses (a faulty record) as ipv4 addresses, 274 with v4 mapped addresses (a faulty record) as ipv4 addresses,
8 causing AnyEvent::Socket to throw an exception. 275 causing AnyEvent::Socket to throw an exception.
1514.3 Fri Oct 3 09:18:43 CEST 2008 4184.3 Fri Oct 3 09:18:43 CEST 2008
152 - AnyEvent will now install a no-op signal handler for SIGPIPE, 419 - AnyEvent will now install a no-op signal handler for SIGPIPE,
153 unless one has been installed already. 420 unless one has been installed already.
154 - warn about not loaidng AnyEvent::Impl::POE early enough 421 - warn about not loaidng AnyEvent::Impl::POE early enough
155 (patch by Adam Rosenstein). 422 (patch by Adam Rosenstein).
156 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 423 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
157 - fix a bug in where in SSL connect mode, the 424 - fix a bug in where in SSL connect mode, the
158 client would first wait for some data by the server and 425 client would first wait for some data by the server and
159 otherwise hang. (reported and analyzed in an absolutely 426 otherwise hang. (reported and analysed in an absolutely
160 exemplary manner by Adam Rosenstein). 427 exemplary manner by Adam Rosenstein).
161 - fix a bug in where SSL EOF would not be treated 428 - fix a bug in where SSL EOF would not be treated
162 as stream EOF, putting the connection into a hung state. 429 as stream EOF, putting the connection into a hung state.
163 (reported and analyzed in an absolutely exemplary manner by Adam 430 (reported and analysed in an absolutely exemplary manner by Adam
164 Rosenstein). 431 Rosenstein).
165 - fix a potential segfault when the TLS context 432 - fix a potential segfault when the TLS context
166 would go missing in a read callback (e.g. due to stoptls) - 433 would go missing in a read callback (e.g. due to stoptls) -
167 Net::SSLeay of course makes no type checking whatsoever. 434 Net::SSLeay of course makes no type checking whatsoever.
168 - AnyEvent::Handle will not stop the read watcher in TLS mode. 435 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines