1 IO 1.22 -- Mon Sep 5 10:29:35 CDT 2005
3 * Update with changes made in perl core distribution
5 Change 173 on 1998/07/14 by <gbarr@pobox.com> (Graham Barr)
8 - Added method connected
11 - Added check that file * is not null
14 - Added check for connected
15 - Made change to catch recv not returning the address, and added a fix to
16 ensure test does not hang
19 - Added check for connected.
21 Change 137 on 1998/05/21 by <gbarr@pobox.com> (Graham Barr)
24 - Added checks to all peer* and host* methods for undef
26 Change 134 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)
29 - fix race condition on Solaris & SunOS
32 - Applied patch from Gisle Aas <gisle@aas.no> for
34 - Applied patch from Kuma <tgy@chocobo.org>
35 changed input_line_number to be on a per-handle basis.
38 - Applied patch from Gisle Aas <gisle@aas.no> for
42 - Applied patch from Gisle Aas <gisle@aas.no> for
47 - documentation update
50 - Applied patch from Gisle Aas <gisle@aas.no> for
53 Change 133 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)
56 - Added checks for blocking()
58 Sun Apr 12 1998 <gbarr@pobox.com> (Graham Barr)
61 - enclosed newCONSTSUB in #ifdef as _64 now defines it.
63 Thu Mar 19 1998 <gbarr@pobox.com> (Graham Barr)
66 - Changed copyright/distribution policy back to be the same as perl
68 Sun Feb 15 1998 <gbarr@pobox.com> (Graham Barr)
71 - Fix to ->accept, accept() returns false on error not undef.
75 Thu Feb 5 1998 <gbarr@pobox.com> (Graham Barr)
78 - change copyright notice
81 - changed configure to accept PeerHost and LocalHost as well as the
82 PeerAddr and LocalAddr arguments.
84 Mon Feb 2 1998 <gbarr@pobox.com> (Graham Barr)
87 - Added printflush so that flush.pl can be depreciated
90 - Remove C<use Config> statement as it was not needed
92 Tue Jan 27 1998 <gbarr@pobox.com> (Graham Barr)
99 Sat Jan 17 1998 <gbarr@pobox.com> (Graham Barr)
102 - Replaced C<Listen => 0> with C<LocalAddr => 'localhost'>
105 - Modified the MultiHomed code. Now each address for a given host has
106 a timeout of C<Timeout>.
107 - added _get_addr method for doing hostname lookups. Now Net::DNS can be
108 use by sub-classing IO::Socket::INET, Thanks Gisle Aas
111 - new test added. Thanks Gisle Aas.
115 Mon Nov 17 1997 <gbarr@pobox.com> (Graham Barr)
118 - Added #ifdef I_* tests
121 - Changed initialization of @domain2pkg to fix problem of Domain option
123 - Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no>
126 - Change default proto to getprotobyname instead of 'tcp' constant string
127 - Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no>
130 - Change to test fix for Domain problem fixed in IO::Socket and be
131 more comprehensive, Thanks to Gisle Aas <gisle@aas.no>
134 - New test, Thanks to Gisle Aas <gisle@aas.no>
138 Wed Nov 12 1997 <gbarr@pobox.com> (Graham Barr)
141 - test 4 made an assumption that was not portable, fixed.
145 Wed Oct 22 1997 <gbarr@pobox.com> (Graham Barr)
148 - change #ifdef's to allow compilation with 5.002
151 - Fix to ensure that socket is not returned as non-blocking
152 unless the user asks for it
155 - Fix to stop endless loop
159 Mon Oct 13 1997 <gbarr@pobox.com> (Graham Barr)
162 - 1.17 broke compatability with 5.003, small tweaks to restore
166 - Added new test to ensure backwards compatability with constants
169 Wed Oct 8 1997 <gbarr@pobox.com> (Graham Barr)
172 - Added #define's to cope with argument changes to start_subparse
173 from 5.003_22, _23 and _24
176 - Renamed has_error to be has_exception which is more correct,
177 has_error is a wrapper around has_exception with a warning if
181 - Remove 'linkext' option to WriteMakefile so that static linking
182 should work properly, cannot remember why I added it.
184 Sun Oct 5 1997 <gbarr@pobox.com> (Graham Barr)
187 - GLOB assignment does not copy the fileno while under -T
188 added checks for undefined fileno, and added fdopen
189 - reader and write can now be called as static methods
192 - Attempt to locate <poll.h> and define I_POLL if found
196 Fri Sep 26 1997 <gbarr@pobox.com> (Graham Barr)
199 - Fix bug in _poll for ANSI C compilers
202 - Split IO::Socket::INET and IO::Socket::UNIX into separate files
205 - Patch to open() for when file is in current directory.
209 Mon 15 Sep 1997 <gbarr@pobox.com> Graham Barr
216 - Changed new to call autoflush on the new socket
217 - IO::Socket::INET->new now accepts a single argument
218 - IO::Socket::INET default to protocol 'tcp'
221 - Added doc for new_tmpfile
224 - Removed use of AutoLoader for constants, constants are
225 now defined as constant XS subs
226 - Added fsync, but will not be avaliable for use
227 unless HAS_FSYNC is defined, perls configure does not define
229 - Moved bootstrap of IO.xs to IO.pm. IO::Handle no longer
230 contains an AUTOLOAD sub in it's ISA hier
233 - Remove clearerr, as it is defined in IO.xs
236 - Patched IO.xs with patch from Chip for setvbuf warning
237 - Added XS sub "constant" for backwards compatability
240 - Fixed IO::Socket::configure, it was not passing $arg to domain
242 - Changed all $fh variables in IO::Handle to $io and all $fh
243 variables in IO::Socket to $sock as Chip suggested
244 - Fixed usage messages to be consistant
248 Sun 19 Jan 1997 <bodg@tiuk.ti.com> Graham Barr
250 o Updated PODs for IO::Handle and IO::File
251 o Modified IO.xs so that DESTROY gets called on IO::File
252 objects that were created with IO::File->new_tmpfile
253 o Modified the domain2pkg code in IO::Socket so that it
254 does not use blessd refs
255 o Created a new package IO::Pipe::End so that pipe specific
256 stuff can be moved out of IO::Handle.
257 o Added Ilya's OS/2 changes to Pipe.pm and io_pipe.t
259 o These changes happened somtime before the release of 1.15
260 - added shutdown to IO::Socket
261 - modified connect to not use alarm
262 - modified accept and connect to use IO::Select
266 Tue 24 Dec 1996 <bodg@tiuk.ti.com> Graham Barr
268 o Updated to patches in perl core dist.
269 o Added C<use strict> to all modules
270 o Modified t/io_sock.t, hopefully the race condition has gone
271 o Added close statements to reader/writer in IO::Pipe
272 o IO::Handle::syswrite was calling sysread, fixed :-)
276 Thu 19 Sep 1996 <bodg@tiuk.ti.com> Graham Barr
278 o Modified IO.xs so that it will compile with pre perlio version
279 of perl (ie pre perl5.003_02)
280 o Modified IO::Socket::send so not to pass 4 arguments to send
281 if the socket is connected
285 Mon 11 Sep 1996 <bodg@tiuk.ti.com> Graham Barr
287 o Fixed a bug in IO::Socket which caused DESTROY to be called
288 on a partly initialised connection
289 o Changed IO.xs to use Perlio
290 o Modified usage message to report correct package
291 o Added IO::File::new changes from Chip, to allow PERM to be passed
292 o Added sysread and syswrite methods to IO::Handle
293 o Updated documentation
294 o Fixed a bug in IO::Select that caused a hang if the last handle
296 o Added count method to IO::Select
297 o Renamed and modified tests so that they can be copied into the
299 o Added fcntl and ioctl methods to IO::Handle
301 Thu 25 Jul 1996 <bodg@tiuk.ti.com> Graham Barr
303 o It is now not necessary to call the domain sub-classes of
304 IO::Socket. when connect is called it notes the domain.
305 Domain specific methods, which are normally non-critical, are
306 called via this note-ing.
307 o Added methods to IO::Socket to retrieve the domain, type and
308 protocol of a given socket
310 Tue 23 Jul 1996 <bodg@tiuk.ti.com> Graham Barr
312 o IO::Socket::connect changed how we do timeouts, as it did not work
314 o IO::Handle::new_from_fd removed method call to _ref_fd, which was
315 a leftover from FileHandle
317 Fri 28 Jun 1996 <bodg@tiuk.ti.com> Graham Barr
319 o Modified IO::Socket::UNIX::configure to default to using a socket
320 type of SOCK_STREAM if no type is specified.