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

Comparing AnyEvent/Changes (file contents):
Revision 1.205 by root, Mon Nov 3 21:49:25 2008 UTC vs.
Revision 1.347 by root, Thu Sep 3 19:48:27 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2
3TODO: packagename for ae types
4
5 - INCOMPATIBLE CHANGE: do no longer support register_read_type
6 and register_write_type in AnyEvent::Handle, instead support
7 package names (the facility was mostly abused).
8 - implement "packagename-as-read/write type" support in AnyEvent::Handle.
9 - AnyEvent::Handle: new options "keepalive" and "oobinline".
10 - oobinline set by default to avoid security issues.
11
125.12 Tue Sep 1 20:26:50 CEST 2009
13 - be more lenient when parsing resolv.conf files, as some people
14 use hashmarks as comment indicator inside directives (reported
15 by Michael S. Fischer).
16 - use same set of warnings as common::sense 2.0.
17 - fix a potential 32 bit overflow issue due to perl having problems
18 with large hex constants in the Perl backend.
19 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
20 by default.
21 - fix some prototypes.
22 - (optionally) require Async::Interrupt 1.02.
23 - replace opendns fallbacks by verizon/level3 public dns servers.
24
255.112 Fri Aug 21 13:59:04 CEST 2009
26 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
27 using starttls with an illegal/uncreatable tls context.
28 - port to broken win32 perls.
29
305.111 Sun Aug 16 18:44:36 CEST 2009
31 - perl errornously requires sockaddr_un structures returned by the
32 kernel to have a specific length. work around this bug by padding
33 sockaddr_un structures (found to fail on OS X, as perl only uses
34 the correct code for GNU/Linux, but likely to fail on other
35 OSes as well).
36
375.11 Wed Aug 12 17:49:37 CEST 2009
38 - fixed a bug in run_cmd with input from filename.
39 - create a json coder object when none is given in write direction
40 to reduce dependency on JSON.
41
425.1 Tue Aug 11 03:17:32 CEST 2009
43 - tcp_connect now reports the correct error in $!, not an unrelated
44 one (was broken since 4.91).
45 - AE::Handle did not properly clear rtimeout/wtimeout watchers
46 when retrying a tcp_connect.
47 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
48 - fixed wrong documentation in AE::Socket.
49
505.01 Mon Aug 10 03:16:32 CEST 2009
51 - last release broke EV child watchers :/.
52
535.0 Sun Aug 9 17:32:09 CEST 2009
54 - officially introduce and document the AE API.
55 - lowering the timeout at runtime did not have immediate effect
56 in AnyEvent::Handle.
57 - AE::Handle now has separate and independent read and write timeout
58 settings.
59 - probe for Guard module when AnyEvent::Util is loaded, not at
60 runtime (Event doesn't like eval "use" from callbacks, and it avoids
61 exporting the probe function).
62 - Impl::IOAsync's io watchers did not use the filehandle emulation
63 code to work around it's watcher limits.
64 - work around IO::Async's problems with overloaded objects.
65 - try to disable wearnings inside IO::Async, it's just too buggy.
66 - do no longer use Event by default, only EV or Perl, Event is too buggy.
67 - hackishly provide fast AE:: interface when EV or Perl is the backend.
68 - inherit VERSION from AnyEvent::VERSION in most modules.
69
704.91 Thu Aug 6 15:42:45 CEST 2009
71 - AE::Handle::starttls could get out of sync when the read buffer
72 already contains some TLS handshake.
73 - AE::Handle did not properly free the TLS session, causing bigger
74 memory leaks in Net::SSLeay than expected (reported by toaster).
75 - AE::Socket::tcp_connect will now artificially delay invoking
76 the callback to avoid returning after invoking the callback.
77 - convert many internal watcher uses to AE API.
78
794.9 Sat Aug 1 11:07:01 CEST 2009
80 - Glib silently fails when registering a timeout with
81 a negative value, so avoid that.
82 - call condvar callback immediately when it is set
83 after the condition is already signalled.
84 - check rbuf_max condition only after trying to consume
85 data.
86 - normalise signal numbers to names when using the ae's
87 signal handling, but do not document this (yet).
88 - pure perl signal emulation did not properly set nonblocking
89 mode on the signal pipe on win32 (this is unlikely to have caused
90 any issues).
91 - new module: AnyEvent::Debug.
92 - AnyEvent::Strict now checks that a signal was specified
93 by name (not name or number).
94 - reduce memory footprint in typical cases by ~50kb by
95 only compiling signal code when necessary.
96 - add AnyEvent::Handle->rbuf_max.
97 - grab the AE namespace for future new API, implement stubs for
98 said future/alternative API.
99 - new function: AnyEvent::Socket::format_hostport.
100
1014.881 Tue Jul 28 12:51:53 CEST 2009
102 - work around a bug in local in pre-5.10 perls, causing
103 AnyEvent::Handle to recurse when it should not
104 (analyzed by elmex).
105
1064.88 Tue Jul 28 04:04:37 CEST 2009
107 - re-bless the handle into a dummy package after calling
108 AnyEvent::Handle::destroy, so the user does not need to check
109 for errors after every push_write etc.
110 - do not attempt to run t/02_signals.t on obviously broken
111 platforms.
112
1134.87 Sun Jul 26 02:06:16 CEST 2009
114 - do not attempt to linger when there is no longer a valid fh.
115 - enforce tls mode to be either accept or connect, do not simply
116 segfault in Net::SSLeay.
117 - AnyEvent::Handle can now call tcp_connect itself (new parameters
118 connect, on_prepare, on_connect and on_connect_error). Updated
119 tutorial accordingly.
120 - add AnyEvent::Impl::Irssi backend.
121
1224.86 Mon Jul 20 23:52:29 CEST 2009
123 - since the verbose warning is not enough, explicitly document
124 that versions before 1.33 of Net::SSLeay are not secure.
125 - work around signal handling races in Event and (...) Event::Lib.
126 - try to align signal-race timer to full-second boundaries.
127 - work around Tk not liking negative timeouts.
128 - don't complain of different grades of environmental unfriendlyness
129 in IO::Async.
130
1314.85 Sat Jul 18 06:16:14 CEST 2009
132 - nail the signal race problem in perl once and for all
133 (see $AnyEvent::MAX_SIGNAL_LATENCY).
134 - take advantage of Async::Interrupt if it is available.
135 - load Time::HiRes and Guard modules on demand only.
136 - add optional/recommended modules section to AnyEvent
137 documentation.
138 - reduce memory usage considerably (and reduce startup penalty)
139 by not using "strict", "warnings" and "overload" modules.
140 - work around buggy windows/openbsd perls and provide EBADMSG
141 and EPROTO ourselves when missing.
142 - improve perl 5.6 compatibility of the core event loop.
143 - made Net::SSLeay version 1.33 a soft requirement.
144
1454.83 Fri Jul 17 16:56:26 CEST 2009
146 - implement AnyEvent::Socket::getprotobyname.
147 - AnyEvent::CondVar's will now detect recursive blocking
148 waits and will croak, as too many people fall into
149 this trap.
150 - AnyEvent::Handle will now call ->destroy on itself after
151 executing the on_error callback, instead of doing some
152 half-baked internal shutdown, for fatal errors.
153 - clarify on_eof behaviour w.r.t. the read queue and
154 on_read callbacks.
155 - ignore some possible spurious wake-ups in tcp_connect.
156
1574.82 Sat Jul 11 00:34:55 CEST 2009
158 - POE and Event backends didn't accept some callable objects as
159 callbacks.
160 - use Config module instead of POSIX module to detect signal names
161 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
162 module doesn't even have all POSIX signals :/.
163 - use more workarounds around the many refcnt/corruption bugs in
164 Event::Lib.
165 - work around a race condition in perl's select, causing t/03_child.t
166 to rarely fail.
167
1684.81 Thu Jul 9 10:30:30 CEST 2009
169 - AnyEvent::Handle didn't properly diagnose write errors
170 (it expected -1 from syswrite, how lame... :).
171 - support file descriptors in addition to file handles
172 in AnyEvent->io.
173 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
174 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
175 and PERL_ANYEVENT_CA_PATH.
176 - provide a sensible synopsis section for AnyEvent::TLS.
177 - add a "supported backends" section to the manpage.
178 - added simple io watcher test to testsuite, using a
179 portable_socketpair.
180 - tried to improve the stability of the Event::Lib backend,
181 YMMV.
182
1834.8 Mon Jul 6 23:45:16 CEST 2009
184 - AnyEvent::DNS did not properly follow CNAME records with
185 uppercase targets.
186 - AnyEvent::DNS would errornously return AAAA records
187 with v4 mapped addresses (a faulty record) as ipv4 addresses,
188 causing AnyEvent::Socket to throw an exception.
189 - added new module AnyEvent::TLS for easier SSL/TLS context
190 creation, with many options including hostname verification,
191 secure default configuration, lots of documentation and,
192 predefined diffie-hellman keys for perfect forward security
193 and much more. get it while it's still fresh!
194 - use AnyEvent::TLS in AnyEvent::Handle for context management.
195 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
196 so AnyEvent::Socket users have smaller memory footprint
197 in the common case.
198 - add AnyEvent::Handle->push_shutdown method.
199 - add an additional error message parameter to AnyEvent::Handle's
200 on_error callback (for TLS, $! is still available).
201 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
202 - make AnyEvent::Handle more robust against early conenction
203 failures (during new), and return C<undef> in that case
204 from the constructor.
205 - AnyEvent::Handle will now try to load only JSON::XS first,
206 then fall back to JSON.
207 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
208 and because it was documented that way.
209
2104.451 Fri Jul 3 00:28:58 CEST 2009
211 - do not clear rbuf when shutting down an AnyEvent::Handle
212 object - doing so breaks AnyEvent::HTTP.
213
2144.45 Mon Jun 29 22:59:26 CEST 2009
215 - a write error could cause AnyEvent::Handle to create
216 an I/O watcher with an undefined $fh.
217 - special-case mapped ipv4 addresses in both
218 AnyEvent::Socket::format_address and parse_address,
219 to treat them just like ipv4 addresses.
220 - updated and overhauled the AnyEvent::Intro doc.
221 - implement AnyEvent::Socket::format_ipv4/ipv6.
222 - slightly speed up portable_pipe/socketpair.
223 - expand condvar begin/end documentation.
224
2254.42 Fri Jun 26 08:32:18 CEST 2009
226 - preliminary and neccesarily incomplete support for IO::Async.
227 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
228 case it was set to IGNORE, to ensure we can catch child statuses
229 even when the calling env acts stupidly.
230 - updated benchmarks with IO::Async, which performs very well.
231
2324.412 Wed Jun 24 01:35:57 CEST 2009
233 - support an "untaint" attribute for AnyEvent::DNS
234 and set it on the default resolver.
235 - implement and document AnyEvent::Impl::Perl::loop.
236 - remove all anyevent-env variables from %ENV
237 when running in tainted mode.
238 - mention and extend the IO::Lambda benchmark.
239
2404.411 Sun Jun 7 18:48:02 CEST 2009
241 - do not try to use F_SETFD on windows.
242
2434.41 Thu May 14 06:40:11 CEST 2009
244 - work around issues in older perls (5.8.0?) when
245 a signal handler is deleted from the %SIG hash.
246 - use POSIX::_exit in child test, to avoid running
247 destructors.
248 - speed up CHLD handling by relying on SIGCHLD being
249 synchronously delivered, even when we roll our own
250 implementation.
251 - AnyEvent::DNS: add the "dname" resource record name
252 for cosmetic reasons.
253
2544.4 Sun Apr 26 20:12:33 CEST 2009
255 - implemented idle watchers, where applicable.
256 - AnyEvent->time died when Event backend was in use.
257 - fix a memleak in the Tk backend.
258 - sped up Tk timer handling.
259 - clip negative "after" values to 0 in AnyEvent::Impl::Event
260 to avoid spamming out warning messages.
261 - fix Qt timers without interval.
262 - avoid Qt zero-timeout special case, in old libqt's.
263
2644.352 Mon Apr 20 16:31:11 CEST 2009
265 - fix AnyEvent::Strict error messages for child watchers.
266 - fix/update Makefile.PL "recommends" versions.
267 - add AnyEvent->now_update.
268
2694.351 Sat Apr 11 07:56:14 CEST 2009
270 - actually make the signal pipe work under win32.
271 - localise $! in signal handler to avoid changing $!, although
272 perl itself does not seem to save/restore errno either.
273 - set the cloexec flag on the signal pipe (normally set by perl too).
274
2754.35 Fri Mar 27 11:48:20 CET 2009
276 - event models relying on AnyEvent's signal watcher emulation did
277 invoke the callback asynchronously, contradicting documentation
278 and causing signals to get lost (this includes AnyEvent's own
279 event loop). AnyEvent now uses the standard pipe trick to make
280 callback execution synchronous to the event loop.
281 - AnyEvent::Handle didn't free TLS context data on DESTROY
282 (patch by Pavel Shaydo).
283 - work around the ever-incompatibly-changing API of MakeMaker.
284 - document that changing global variables without restoring them
285 is a bad idea in Perl (noted by Adam Rosenstein).
286 - AnyEvent::Strict now barfs if ->io is passed a file.
287
2884.34 Thu Feb 12 18:32:45 CET 2009
289 - separately buffer TLS read data, as otherwise the read queue could
290 deadlock as receiving data is not expected while draining the
291 read queue (which cna only happen with TLS).
292 - raise EBADMSG error on JSON decoding errors.
293 - fix some minor manpage bugs (reported by Maximilian Gaß).
294 - speed up select bitmask parsing quite a bit in the pure perl
295 backend.
296 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
297
2984.331 Tue Jan 6 21:07:25 CET 2009
299 - socketpair fails on many vista machines because vista has
300 completely broken accept/getpeername and getsockname functions,
301 so we provide our own socketpair emulation that kind of works
302 (AnyEvent::Util::portable_pipe).
303 - new function: AnyEvent::Util::portable_socketpair.
304 - take advantage of the Guard module if it exists.
305
3064.33 Fri Nov 21 02:35:40 CET 2008
307 - AnyEvent::Strict did errornously flag a fileno of 0 as
308 illegal.
309 - reduce memory usage and slightly speed up the pure perl backend
310 by only storing the file descriptor, not the file handle.
311 - add missing autocork method to AnyEvent::Handle (reported
312 by Adam Rosenstein).
313 - AnyEvent::DNS->resolve errornously documented an $rcode result
314 argument, but there isn't (spotted by Henrik Krohns).
315 - the naked truth about Tk - it's basically unmaintained.
2 316
34.32 Mon Nov 3 22:46:32 CET 2008 3174.32 Mon Nov 3 22:46:32 CET 2008
4 - fix AnyEvent::Socket::resolve_sockaddr to properly support 318 - fix AnyEvent::Socket::resolve_sockaddr to properly support
5 unix sockets again and choose a proper default for 319 unix sockets again and choose a proper default for
6 the socket type. 320 the socket type.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines