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

Comparing AnyEvent/Changes (file contents):
Revision 1.230 by root, Sun Apr 19 12:09:46 2009 UTC vs.
Revision 1.348 by root, Thu Sep 3 19:49:12 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3 - INCOMPATIBLE CHANGE: do no longer support register_read_type
4 and register_write_type in AnyEvent::Handle, instead support
5 package names (the facility was mostly abused).
6 - implement "packagename-as-read/write type" support in AnyEvent::Handle.
7 - AnyEvent::Handle: new options "keepalive" and "oobinline".
8 - oobinline set by default to avoid security issues.
9
105.12 Tue Sep 1 20:26:50 CEST 2009
11 - be more lenient when parsing resolv.conf files, as some people
12 use hashmarks as comment indicator inside directives (reported
13 by Michael S. Fischer).
14 - use same set of warnings as common::sense 2.0.
15 - fix a potential 32 bit overflow issue due to perl having problems
16 with large hex constants in the Perl backend.
17 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
18 by default.
19 - fix some prototypes.
20 - (optionally) require Async::Interrupt 1.02.
21 - replace opendns fallbacks by verizon/level3 public dns servers.
22
235.112 Fri Aug 21 13:59:04 CEST 2009
24 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
25 using starttls with an illegal/uncreatable tls context.
26 - port to broken win32 perls.
27
285.111 Sun Aug 16 18:44:36 CEST 2009
29 - perl errornously requires sockaddr_un structures returned by the
30 kernel to have a specific length. work around this bug by padding
31 sockaddr_un structures (found to fail on OS X, as perl only uses
32 the correct code for GNU/Linux, but likely to fail on other
33 OSes as well).
34
355.11 Wed Aug 12 17:49:37 CEST 2009
36 - fixed a bug in run_cmd with input from filename.
37 - create a json coder object when none is given in write direction
38 to reduce dependency on JSON.
39
405.1 Tue Aug 11 03:17:32 CEST 2009
41 - tcp_connect now reports the correct error in $!, not an unrelated
42 one (was broken since 4.91).
43 - AE::Handle did not properly clear rtimeout/wtimeout watchers
44 when retrying a tcp_connect.
45 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
46 - fixed wrong documentation in AE::Socket.
47
485.01 Mon Aug 10 03:16:32 CEST 2009
49 - last release broke EV child watchers :/.
50
515.0 Sun Aug 9 17:32:09 CEST 2009
52 - officially introduce and document the AE API.
53 - lowering the timeout at runtime did not have immediate effect
54 in AnyEvent::Handle.
55 - AE::Handle now has separate and independent read and write timeout
56 settings.
57 - probe for Guard module when AnyEvent::Util is loaded, not at
58 runtime (Event doesn't like eval "use" from callbacks, and it avoids
59 exporting the probe function).
60 - Impl::IOAsync's io watchers did not use the filehandle emulation
61 code to work around it's watcher limits.
62 - work around IO::Async's problems with overloaded objects.
63 - try to disable wearnings inside IO::Async, it's just too buggy.
64 - do no longer use Event by default, only EV or Perl, Event is too buggy.
65 - hackishly provide fast AE:: interface when EV or Perl is the backend.
66 - inherit VERSION from AnyEvent::VERSION in most modules.
67
684.91 Thu Aug 6 15:42:45 CEST 2009
69 - AE::Handle::starttls could get out of sync when the read buffer
70 already contains some TLS handshake.
71 - AE::Handle did not properly free the TLS session, causing bigger
72 memory leaks in Net::SSLeay than expected (reported by toaster).
73 - AE::Socket::tcp_connect will now artificially delay invoking
74 the callback to avoid returning after invoking the callback.
75 - convert many internal watcher uses to AE API.
76
774.9 Sat Aug 1 11:07:01 CEST 2009
78 - Glib silently fails when registering a timeout with
79 a negative value, so avoid that.
80 - call condvar callback immediately when it is set
81 after the condition is already signalled.
82 - check rbuf_max condition only after trying to consume
83 data.
84 - normalise signal numbers to names when using the ae's
85 signal handling, but do not document this (yet).
86 - pure perl signal emulation did not properly set nonblocking
87 mode on the signal pipe on win32 (this is unlikely to have caused
88 any issues).
89 - new module: AnyEvent::Debug.
90 - AnyEvent::Strict now checks that a signal was specified
91 by name (not name or number).
92 - reduce memory footprint in typical cases by ~50kb by
93 only compiling signal code when necessary.
94 - add AnyEvent::Handle->rbuf_max.
95 - grab the AE namespace for future new API, implement stubs for
96 said future/alternative API.
97 - new function: AnyEvent::Socket::format_hostport.
98
994.881 Tue Jul 28 12:51:53 CEST 2009
100 - work around a bug in local in pre-5.10 perls, causing
101 AnyEvent::Handle to recurse when it should not
102 (analyzed by elmex).
103
1044.88 Tue Jul 28 04:04:37 CEST 2009
105 - re-bless the handle into a dummy package after calling
106 AnyEvent::Handle::destroy, so the user does not need to check
107 for errors after every push_write etc.
108 - do not attempt to run t/02_signals.t on obviously broken
109 platforms.
110
1114.87 Sun Jul 26 02:06:16 CEST 2009
112 - do not attempt to linger when there is no longer a valid fh.
113 - enforce tls mode to be either accept or connect, do not simply
114 segfault in Net::SSLeay.
115 - AnyEvent::Handle can now call tcp_connect itself (new parameters
116 connect, on_prepare, on_connect and on_connect_error). Updated
117 tutorial accordingly.
118 - add AnyEvent::Impl::Irssi backend.
119
1204.86 Mon Jul 20 23:52:29 CEST 2009
121 - since the verbose warning is not enough, explicitly document
122 that versions before 1.33 of Net::SSLeay are not secure.
123 - work around signal handling races in Event and (...) Event::Lib.
124 - try to align signal-race timer to full-second boundaries.
125 - work around Tk not liking negative timeouts.
126 - don't complain of different grades of environmental unfriendlyness
127 in IO::Async.
128
1294.85 Sat Jul 18 06:16:14 CEST 2009
130 - nail the signal race problem in perl once and for all
131 (see $AnyEvent::MAX_SIGNAL_LATENCY).
132 - take advantage of Async::Interrupt if it is available.
133 - load Time::HiRes and Guard modules on demand only.
134 - add optional/recommended modules section to AnyEvent
135 documentation.
136 - reduce memory usage considerably (and reduce startup penalty)
137 by not using "strict", "warnings" and "overload" modules.
138 - work around buggy windows/openbsd perls and provide EBADMSG
139 and EPROTO ourselves when missing.
140 - improve perl 5.6 compatibility of the core event loop.
141 - made Net::SSLeay version 1.33 a soft requirement.
142
1434.83 Fri Jul 17 16:56:26 CEST 2009
144 - implement AnyEvent::Socket::getprotobyname.
145 - AnyEvent::CondVar's will now detect recursive blocking
146 waits and will croak, as too many people fall into
147 this trap.
148 - AnyEvent::Handle will now call ->destroy on itself after
149 executing the on_error callback, instead of doing some
150 half-baked internal shutdown, for fatal errors.
151 - clarify on_eof behaviour w.r.t. the read queue and
152 on_read callbacks.
153 - ignore some possible spurious wake-ups in tcp_connect.
154
1554.82 Sat Jul 11 00:34:55 CEST 2009
156 - POE and Event backends didn't accept some callable objects as
157 callbacks.
158 - use Config module instead of POSIX module to detect signal names
159 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
160 module doesn't even have all POSIX signals :/.
161 - use more workarounds around the many refcnt/corruption bugs in
162 Event::Lib.
163 - work around a race condition in perl's select, causing t/03_child.t
164 to rarely fail.
165
1664.81 Thu Jul 9 10:30:30 CEST 2009
167 - AnyEvent::Handle didn't properly diagnose write errors
168 (it expected -1 from syswrite, how lame... :).
169 - support file descriptors in addition to file handles
170 in AnyEvent->io.
171 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
172 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
173 and PERL_ANYEVENT_CA_PATH.
174 - provide a sensible synopsis section for AnyEvent::TLS.
175 - add a "supported backends" section to the manpage.
176 - added simple io watcher test to testsuite, using a
177 portable_socketpair.
178 - tried to improve the stability of the Event::Lib backend,
179 YMMV.
180
1814.8 Mon Jul 6 23:45:16 CEST 2009
182 - AnyEvent::DNS did not properly follow CNAME records with
183 uppercase targets.
184 - AnyEvent::DNS would errornously return AAAA records
185 with v4 mapped addresses (a faulty record) as ipv4 addresses,
186 causing AnyEvent::Socket to throw an exception.
187 - added new module AnyEvent::TLS for easier SSL/TLS context
188 creation, with many options including hostname verification,
189 secure default configuration, lots of documentation and,
190 predefined diffie-hellman keys for perfect forward security
191 and much more. get it while it's still fresh!
192 - use AnyEvent::TLS in AnyEvent::Handle for context management.
193 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
194 so AnyEvent::Socket users have smaller memory footprint
195 in the common case.
196 - add AnyEvent::Handle->push_shutdown method.
197 - add an additional error message parameter to AnyEvent::Handle's
198 on_error callback (for TLS, $! is still available).
199 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
200 - make AnyEvent::Handle more robust against early conenction
201 failures (during new), and return C<undef> in that case
202 from the constructor.
203 - AnyEvent::Handle will now try to load only JSON::XS first,
204 then fall back to JSON.
205 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
206 and because it was documented that way.
207
2084.451 Fri Jul 3 00:28:58 CEST 2009
209 - do not clear rbuf when shutting down an AnyEvent::Handle
210 object - doing so breaks AnyEvent::HTTP.
211
2124.45 Mon Jun 29 22:59:26 CEST 2009
213 - a write error could cause AnyEvent::Handle to create
214 an I/O watcher with an undefined $fh.
215 - special-case mapped ipv4 addresses in both
216 AnyEvent::Socket::format_address and parse_address,
217 to treat them just like ipv4 addresses.
218 - updated and overhauled the AnyEvent::Intro doc.
219 - implement AnyEvent::Socket::format_ipv4/ipv6.
220 - slightly speed up portable_pipe/socketpair.
221 - expand condvar begin/end documentation.
222
2234.42 Fri Jun 26 08:32:18 CEST 2009
224 - preliminary and neccesarily incomplete support for IO::Async.
225 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
226 case it was set to IGNORE, to ensure we can catch child statuses
227 even when the calling env acts stupidly.
228 - updated benchmarks with IO::Async, which performs very well.
229
2304.412 Wed Jun 24 01:35:57 CEST 2009
231 - support an "untaint" attribute for AnyEvent::DNS
232 and set it on the default resolver.
233 - implement and document AnyEvent::Impl::Perl::loop.
234 - remove all anyevent-env variables from %ENV
235 when running in tainted mode.
236 - mention and extend the IO::Lambda benchmark.
237
2384.411 Sun Jun 7 18:48:02 CEST 2009
239 - do not try to use F_SETFD on windows.
240
2414.41 Thu May 14 06:40:11 CEST 2009
242 - work around issues in older perls (5.8.0?) when
243 a signal handler is deleted from the %SIG hash.
244 - use POSIX::_exit in child test, to avoid running
245 destructors.
246 - speed up CHLD handling by relying on SIGCHLD being
247 synchronously delivered, even when we roll our own
248 implementation.
249 - AnyEvent::DNS: add the "dname" resource record name
250 for cosmetic reasons.
251
2524.4 Sun Apr 26 20:12:33 CEST 2009
253 - implemented idle watchers, where applicable.
254 - AnyEvent->time died when Event backend was in use.
255 - fix a memleak in the Tk backend.
256 - sped up Tk timer handling.
257 - clip negative "after" values to 0 in AnyEvent::Impl::Event
258 to avoid spamming out warning messages.
259 - fix Qt timers without interval.
260 - avoid Qt zero-timeout special case, in old libqt's.
261
2624.352 Mon Apr 20 16:31:11 CEST 2009
3 - fix AnyEvent::Strict error messages for child watchers. 263 - fix AnyEvent::Strict error messages for child watchers.
4 - fix/update Makefile.PL "recommends" versions. 264 - fix/update Makefile.PL "recommends" versions.
5 - add AnyEvent->now_update. 265 - add AnyEvent->now_update.
6 266
74.351 Sat Apr 11 07:56:14 CEST 2009 2674.351 Sat Apr 11 07:56:14 CEST 2009

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines