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

Comparing AnyEvent/Changes (file contents):
Revision 1.249 by root, Fri Jun 26 06:33:17 2009 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.
2 224
34.42 Fri Jun 26 08:32:18 CEST 2009 2254.42 Fri Jun 26 08:32:18 CEST 2009
4 - preliminary and neccesarily incomplete support for IO::Async. 226 - preliminary and neccesarily incomplete support for IO::Async.
5 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in 227 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
6 case it was set to IGNORE, to ensure we can catch child statuses 228 case it was set to IGNORE, to ensure we can catch child statuses

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines