1 IO 1.23 -- Sat Mar 25 19:28:28 CST 2006
3 * Adjust the regression tests to use t/test.pl when $ENV{PERL_CORE} is defined
4 * Reduce number of calls to getpeername
5 * Call qualify on format name passed to format_write. Bug reported by Johan Vromans
6 * Reduce calls to getprotobyname/number. Patch from Gisle Aas
7 * Remove references to file TEST used in core so appropriate tests are skipped
8 during an install from CPAN
9 * Add method say to IO::Handle
10 * Performance improvement for IO::File::open
11 * Don't warn about a directory being closed in the DESTROY
13 IO 1.22 -- Mon Sep 5 10:29:35 CDT 2005
15 * Update with changes made in perl core distribution
17 Change 173 on 1998/07/14 by <gbarr@pobox.com> (Graham Barr)
20 - Added method connected
23 - Added check that file * is not null
26 - Added check for connected
27 - Made change to catch recv not returning the address, and added a fix to
28 ensure test does not hang
31 - Added check for connected.
33 Change 137 on 1998/05/21 by <gbarr@pobox.com> (Graham Barr)
36 - Added checks to all peer* and host* methods for undef
38 Change 134 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)
41 - fix race condition on Solaris & SunOS
44 - Applied patch from Gisle Aas <gisle@aas.no> for
46 - Applied patch from Kuma <tgy@chocobo.org>
47 changed input_line_number to be on a per-handle basis.
50 - Applied patch from Gisle Aas <gisle@aas.no> for
54 - Applied patch from Gisle Aas <gisle@aas.no> for
59 - documentation update
62 - Applied patch from Gisle Aas <gisle@aas.no> for
65 Change 133 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)
68 - Added checks for blocking()
70 Sun Apr 12 1998 <gbarr@pobox.com> (Graham Barr)
73 - enclosed newCONSTSUB in #ifdef as _64 now defines it.
75 Thu Mar 19 1998 <gbarr@pobox.com> (Graham Barr)
78 - Changed copyright/distribution policy back to be the same as perl
80 Sun Feb 15 1998 <gbarr@pobox.com> (Graham Barr)
83 - Fix to ->accept, accept() returns false on error not undef.
87 Thu Feb 5 1998 <gbarr@pobox.com> (Graham Barr)
90 - change copyright notice
93 - changed configure to accept PeerHost and LocalHost as well as the
94 PeerAddr and LocalAddr arguments.
96 Mon Feb 2 1998 <gbarr@pobox.com> (Graham Barr)
99 - Added printflush so that flush.pl can be depreciated
102 - Remove C<use Config> statement as it was not needed
104 Tue Jan 27 1998 <gbarr@pobox.com> (Graham Barr)
107 - removed carp if $^W
111 Sat Jan 17 1998 <gbarr@pobox.com> (Graham Barr)
114 - Replaced C<Listen => 0> with C<LocalAddr => 'localhost'>
117 - Modified the MultiHomed code. Now each address for a given host has
118 a timeout of C<Timeout>.
119 - added _get_addr method for doing hostname lookups. Now Net::DNS can be
120 use by sub-classing IO::Socket::INET, Thanks Gisle Aas
123 - new test added. Thanks Gisle Aas.
127 Mon Nov 17 1997 <gbarr@pobox.com> (Graham Barr)
130 - Added #ifdef I_* tests
133 - Changed initialization of @domain2pkg to fix problem of Domain option
135 - Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no>
138 - Change default proto to getprotobyname instead of 'tcp' constant string
139 - Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no>
142 - Change to test fix for Domain problem fixed in IO::Socket and be
143 more comprehensive, Thanks to Gisle Aas <gisle@aas.no>
146 - New test, Thanks to Gisle Aas <gisle@aas.no>
150 Wed Nov 12 1997 <gbarr@pobox.com> (Graham Barr)
153 - test 4 made an assumption that was not portable, fixed.
157 Wed Oct 22 1997 <gbarr@pobox.com> (Graham Barr)
160 - change #ifdef's to allow compilation with 5.002
163 - Fix to ensure that socket is not returned as non-blocking
164 unless the user asks for it
167 - Fix to stop endless loop
171 Mon Oct 13 1997 <gbarr@pobox.com> (Graham Barr)
174 - 1.17 broke compatability with 5.003, small tweaks to restore
178 - Added new test to ensure backwards compatability with constants
181 Wed Oct 8 1997 <gbarr@pobox.com> (Graham Barr)
184 - Added #define's to cope with argument changes to start_subparse
185 from 5.003_22, _23 and _24
188 - Renamed has_error to be has_exception which is more correct,
189 has_error is a wrapper around has_exception with a warning if
193 - Remove 'linkext' option to WriteMakefile so that static linking
194 should work properly, cannot remember why I added it.
196 Sun Oct 5 1997 <gbarr@pobox.com> (Graham Barr)
199 - GLOB assignment does not copy the fileno while under -T
200 added checks for undefined fileno, and added fdopen
201 - reader and write can now be called as static methods
204 - Attempt to locate <poll.h> and define I_POLL if found
208 Fri Sep 26 1997 <gbarr@pobox.com> (Graham Barr)
211 - Fix bug in _poll for ANSI C compilers
214 - Split IO::Socket::INET and IO::Socket::UNIX into separate files
217 - Patch to open() for when file is in current directory.
221 Mon 15 Sep 1997 <gbarr@pobox.com> Graham Barr
228 - Changed new to call autoflush on the new socket
229 - IO::Socket::INET->new now accepts a single argument
230 - IO::Socket::INET default to protocol 'tcp'
233 - Added doc for new_tmpfile
236 - Removed use of AutoLoader for constants, constants are
237 now defined as constant XS subs
238 - Added fsync, but will not be avaliable for use
239 unless HAS_FSYNC is defined, perls configure does not define
241 - Moved bootstrap of IO.xs to IO.pm. IO::Handle no longer
242 contains an AUTOLOAD sub in it's ISA hier
245 - Remove clearerr, as it is defined in IO.xs
248 - Patched IO.xs with patch from Chip for setvbuf warning
249 - Added XS sub "constant" for backwards compatability
252 - Fixed IO::Socket::configure, it was not passing $arg to domain
254 - Changed all $fh variables in IO::Handle to $io and all $fh
255 variables in IO::Socket to $sock as Chip suggested
256 - Fixed usage messages to be consistant
260 Sun 19 Jan 1997 <bodg@tiuk.ti.com> Graham Barr
262 o Updated PODs for IO::Handle and IO::File
263 o Modified IO.xs so that DESTROY gets called on IO::File
264 objects that were created with IO::File->new_tmpfile
265 o Modified the domain2pkg code in IO::Socket so that it
266 does not use blessd refs
267 o Created a new package IO::Pipe::End so that pipe specific
268 stuff can be moved out of IO::Handle.
269 o Added Ilya's OS/2 changes to Pipe.pm and io_pipe.t
271 o These changes happened somtime before the release of 1.15
272 - added shutdown to IO::Socket
273 - modified connect to not use alarm
274 - modified accept and connect to use IO::Select
278 Tue 24 Dec 1996 <bodg@tiuk.ti.com> Graham Barr
280 o Updated to patches in perl core dist.
281 o Added C<use strict> to all modules
282 o Modified t/io_sock.t, hopefully the race condition has gone
283 o Added close statements to reader/writer in IO::Pipe
284 o IO::Handle::syswrite was calling sysread, fixed :-)
288 Thu 19 Sep 1996 <bodg@tiuk.ti.com> Graham Barr
290 o Modified IO.xs so that it will compile with pre perlio version
291 of perl (ie pre perl5.003_02)
292 o Modified IO::Socket::send so not to pass 4 arguments to send
293 if the socket is connected
297 Mon 11 Sep 1996 <bodg@tiuk.ti.com> Graham Barr
299 o Fixed a bug in IO::Socket which caused DESTROY to be called
300 on a partly initialised connection
301 o Changed IO.xs to use Perlio
302 o Modified usage message to report correct package
303 o Added IO::File::new changes from Chip, to allow PERM to be passed
304 o Added sysread and syswrite methods to IO::Handle
305 o Updated documentation
306 o Fixed a bug in IO::Select that caused a hang if the last handle
308 o Added count method to IO::Select
309 o Renamed and modified tests so that they can be copied into the
311 o Added fcntl and ioctl methods to IO::Handle
313 Thu 25 Jul 1996 <bodg@tiuk.ti.com> Graham Barr
315 o It is now not necessary to call the domain sub-classes of
316 IO::Socket. when connect is called it notes the domain.
317 Domain specific methods, which are normally non-critical, are
318 called via this note-ing.
319 o Added methods to IO::Socket to retrieve the domain, type and
320 protocol of a given socket
322 Tue 23 Jul 1996 <bodg@tiuk.ti.com> Graham Barr
324 o IO::Socket::connect changed how we do timeouts, as it did not work
326 o IO::Handle::new_from_fd removed method call to _ref_fd, which was
327 a leftover from FileHandle
329 Fri 28 Jun 1996 <bodg@tiuk.ti.com> Graham Barr
331 o Modified IO::Socket::UNIX::configure to default to using a socket
332 type of SOCK_STREAM if no type is specified.