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.415 by root, Sat Oct 16 03:22:09 2010 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines