| 1 | IO 1.22 -- Mon Sep 5 10:29:35 CDT 2005
|
|---|
| 2 |
|
|---|
| 3 | * Update with changes made in perl core distribution
|
|---|
| 4 |
|
|---|
| 5 | Change 173 on 1998/07/14 by <gbarr@pobox.com> (Graham Barr)
|
|---|
| 6 |
|
|---|
| 7 | IO::Socket
|
|---|
| 8 | - Added method connected
|
|---|
| 9 |
|
|---|
| 10 | IO.xs
|
|---|
| 11 | - Added check that file * is not null
|
|---|
| 12 |
|
|---|
| 13 | t/io_udp.t
|
|---|
| 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
|
|---|
| 17 |
|
|---|
| 18 | t/io_sock.t
|
|---|
| 19 | - Added check for connected.
|
|---|
| 20 |
|
|---|
| 21 | Change 137 on 1998/05/21 by <gbarr@pobox.com> (Graham Barr)
|
|---|
| 22 |
|
|---|
| 23 | IO::Socket::INET
|
|---|
| 24 | - Added checks to all peer* and host* methods for undef
|
|---|
| 25 |
|
|---|
| 26 | Change 134 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)
|
|---|
| 27 |
|
|---|
| 28 | t/io_sock.t
|
|---|
| 29 | - fix race condition on Solaris & SunOS
|
|---|
| 30 |
|
|---|
| 31 | IO::Handle
|
|---|
| 32 | - Applied patch from Gisle Aas <gisle@aas.no> for
|
|---|
| 33 | documentation update
|
|---|
| 34 | - Applied patch from Kuma <tgy@chocobo.org>
|
|---|
| 35 | changed input_line_number to be on a per-handle basis.
|
|---|
| 36 |
|
|---|
| 37 | IO::File
|
|---|
| 38 | - Applied patch from Gisle Aas <gisle@aas.no> for
|
|---|
| 39 | documentation update
|
|---|
| 40 |
|
|---|
| 41 | IO::Seekable
|
|---|
| 42 | - Applied patch from Gisle Aas <gisle@aas.no> for
|
|---|
| 43 | documentation update
|
|---|
| 44 | added sysseek
|
|---|
| 45 |
|
|---|
| 46 | IO, IO::Socket::INET
|
|---|
| 47 | - documentation update
|
|---|
| 48 |
|
|---|
| 49 | IO.xs
|
|---|
| 50 | - Applied patch from Gisle Aas <gisle@aas.no> for
|
|---|
| 51 | blocking
|
|---|
| 52 |
|
|---|
| 53 | Change 133 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr)
|
|---|
| 54 |
|
|---|
| 55 | t/io_sock.t
|
|---|
| 56 | - Added checks for blocking()
|
|---|
| 57 |
|
|---|
| 58 | Sun Apr 12 1998 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 59 |
|
|---|
| 60 | IO.xs
|
|---|
| 61 | - enclosed newCONSTSUB in #ifdef as _64 now defines it.
|
|---|
| 62 |
|
|---|
| 63 | Thu Mar 19 1998 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 64 |
|
|---|
| 65 | All
|
|---|
| 66 | - Changed copyright/distribution policy back to be the same as perl
|
|---|
| 67 |
|
|---|
| 68 | Sun Feb 15 1998 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 69 |
|
|---|
| 70 | IO::Socket
|
|---|
| 71 | - Fix to ->accept, accept() returns false on error not undef.
|
|---|
| 72 |
|
|---|
| 73 | *** Release 1.19
|
|---|
| 74 |
|
|---|
| 75 | Thu Feb 5 1998 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 76 |
|
|---|
| 77 | All
|
|---|
| 78 | - change copyright notice
|
|---|
| 79 |
|
|---|
| 80 | IO::Socket::INET
|
|---|
| 81 | - changed configure to accept PeerHost and LocalHost as well as the
|
|---|
| 82 | PeerAddr and LocalAddr arguments.
|
|---|
| 83 |
|
|---|
| 84 | Mon Feb 2 1998 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 85 |
|
|---|
| 86 | IO::Handle
|
|---|
| 87 | - Added printflush so that flush.pl can be depreciated
|
|---|
| 88 |
|
|---|
| 89 | IO::Socket
|
|---|
| 90 | - Remove C<use Config> statement as it was not needed
|
|---|
| 91 |
|
|---|
| 92 | Tue Jan 27 1998 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 93 |
|
|---|
| 94 | IO::Socket::INET
|
|---|
| 95 | - removed carp if $^W
|
|---|
| 96 |
|
|---|
| 97 | *** Patch 1.1804
|
|---|
| 98 |
|
|---|
| 99 | Sat Jan 17 1998 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 100 |
|
|---|
| 101 | t/io_sock.t
|
|---|
| 102 | - Replaced C<Listen => 0> with C<LocalAddr => 'localhost'>
|
|---|
| 103 |
|
|---|
| 104 | IO/Socket/INET.pm
|
|---|
| 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
|
|---|
| 109 |
|
|---|
| 110 | t/io_multihomed.t
|
|---|
| 111 | - new test added. Thanks Gisle Aas.
|
|---|
| 112 |
|
|---|
| 113 | *** Patch 1.1803
|
|---|
| 114 |
|
|---|
| 115 | Mon Nov 17 1997 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 116 |
|
|---|
| 117 | poll.c
|
|---|
| 118 | - Added #ifdef I_* tests
|
|---|
| 119 |
|
|---|
| 120 | IO::Socket
|
|---|
| 121 | - Changed initialization of @domain2pkg to fix problem of Domain option
|
|---|
| 122 | not working
|
|---|
| 123 | - Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no>
|
|---|
| 124 |
|
|---|
| 125 | IO::Socket::INET
|
|---|
| 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>
|
|---|
| 128 |
|
|---|
| 129 | t/io_sock.t
|
|---|
| 130 | - Change to test fix for Domain problem fixed in IO::Socket and be
|
|---|
| 131 | more comprehensive, Thanks to Gisle Aas <gisle@aas.no>
|
|---|
| 132 |
|
|---|
| 133 | t/io_unix.t
|
|---|
| 134 | - New test, Thanks to Gisle Aas <gisle@aas.no>
|
|---|
| 135 |
|
|---|
| 136 | *** Patch 1.1802
|
|---|
| 137 |
|
|---|
| 138 | Wed Nov 12 1997 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 139 |
|
|---|
| 140 | t/io_poll.t
|
|---|
| 141 | - test 4 made an assumption that was not portable, fixed.
|
|---|
| 142 |
|
|---|
| 143 | *** Patch 1.1801
|
|---|
| 144 |
|
|---|
| 145 | Wed Oct 22 1997 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 146 |
|
|---|
| 147 | IO.xs
|
|---|
| 148 | - change #ifdef's to allow compilation with 5.002
|
|---|
| 149 |
|
|---|
| 150 | IO::Socket
|
|---|
| 151 | - Fix to ensure that socket is not returned as non-blocking
|
|---|
| 152 | unless the user asks for it
|
|---|
| 153 |
|
|---|
| 154 | t/io_udp.t
|
|---|
| 155 | - Fix to stop endless loop
|
|---|
| 156 |
|
|---|
| 157 | *** Release 1.18
|
|---|
| 158 |
|
|---|
| 159 | Mon Oct 13 1997 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 160 |
|
|---|
| 161 | IO.xs, IO::Handle
|
|---|
| 162 | - 1.17 broke compatability with 5.003, small tweaks to restore
|
|---|
| 163 | compatability
|
|---|
| 164 |
|
|---|
| 165 | t/io_const.t
|
|---|
| 166 | - Added new test to ensure backwards compatability with constants
|
|---|
| 167 | is not broken
|
|---|
| 168 |
|
|---|
| 169 | Wed Oct 8 1997 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 170 |
|
|---|
| 171 | IO.xs
|
|---|
| 172 | - Added #define's to cope with argument changes to start_subparse
|
|---|
| 173 | from 5.003_22, _23 and _24
|
|---|
| 174 |
|
|---|
| 175 | IO::Select
|
|---|
| 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
|
|---|
| 178 | $^W is set.
|
|---|
| 179 |
|
|---|
| 180 | Makefile.PL
|
|---|
| 181 | - Remove 'linkext' option to WriteMakefile so that static linking
|
|---|
| 182 | should work properly, cannot remember why I added it.
|
|---|
| 183 |
|
|---|
| 184 | Sun Oct 5 1997 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 185 |
|
|---|
| 186 | IO::Pipe
|
|---|
| 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
|
|---|
| 190 |
|
|---|
| 191 | Makefile.PL
|
|---|
| 192 | - Attempt to locate <poll.h> and define I_POLL if found
|
|---|
| 193 |
|
|---|
| 194 | *** Release 1.17
|
|---|
| 195 |
|
|---|
| 196 | Fri Sep 26 1997 <gbarr@pobox.com> (Graham Barr)
|
|---|
| 197 |
|
|---|
| 198 | IO.xs
|
|---|
| 199 | - Fix bug in _poll for ANSI C compilers
|
|---|
| 200 |
|
|---|
| 201 | IO::Socket
|
|---|
| 202 | - Split IO::Socket::INET and IO::Socket::UNIX into separate files
|
|---|
| 203 |
|
|---|
| 204 | IO::File
|
|---|
| 205 | - Patch to open() for when file is in current directory.
|
|---|
| 206 |
|
|---|
| 207 | *** Release 1.16
|
|---|
| 208 |
|
|---|
| 209 | Mon 15 Sep 1997 <gbarr@pobox.com> Graham Barr
|
|---|
| 210 |
|
|---|
| 211 | o New modules
|
|---|
| 212 | - IO::Dir
|
|---|
| 213 | - IO::Poll
|
|---|
| 214 |
|
|---|
| 215 | o IO::Socket
|
|---|
| 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'
|
|---|
| 219 |
|
|---|
| 220 | o IO::File
|
|---|
| 221 | - Added doc for new_tmpfile
|
|---|
| 222 |
|
|---|
| 223 | o IO::Handle
|
|---|
| 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
|
|---|
| 228 | this yet.
|
|---|
| 229 | - Moved bootstrap of IO.xs to IO.pm. IO::Handle no longer
|
|---|
| 230 | contains an AUTOLOAD sub in it's ISA hier
|
|---|
| 231 |
|
|---|
| 232 | o IO::Seekable
|
|---|
| 233 | - Remove clearerr, as it is defined in IO.xs
|
|---|
| 234 |
|
|---|
| 235 | o IO.xs
|
|---|
| 236 | - Patched IO.xs with patch from Chip for setvbuf warning
|
|---|
| 237 | - Added XS sub "constant" for backwards compatability
|
|---|
| 238 |
|
|---|
| 239 | o Misc
|
|---|
| 240 | - Fixed IO::Socket::configure, it was not passing $arg to domain
|
|---|
| 241 | specific package
|
|---|
| 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
|
|---|
| 245 |
|
|---|
| 246 | *** Release 1.15
|
|---|
| 247 |
|
|---|
| 248 | Sun 19 Jan 1997 <bodg@tiuk.ti.com> Graham Barr
|
|---|
| 249 |
|
|---|
| 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
|
|---|
| 258 |
|
|---|
| 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
|
|---|
| 263 |
|
|---|
| 264 | *** Release 1.14
|
|---|
| 265 |
|
|---|
| 266 | Tue 24 Dec 1996 <bodg@tiuk.ti.com> Graham Barr
|
|---|
| 267 |
|
|---|
| 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 :-)
|
|---|
| 273 |
|
|---|
| 274 | *** Release 1.12
|
|---|
| 275 |
|
|---|
| 276 | Thu 19 Sep 1996 <bodg@tiuk.ti.com> Graham Barr
|
|---|
| 277 |
|
|---|
| 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
|
|---|
| 282 |
|
|---|
| 283 | *** Release 1.10
|
|---|
| 284 |
|
|---|
| 285 | Mon 11 Sep 1996 <bodg@tiuk.ti.com> Graham Barr
|
|---|
| 286 |
|
|---|
| 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
|
|---|
| 295 | was removed.
|
|---|
| 296 | o Added count method to IO::Select
|
|---|
| 297 | o Renamed and modified tests so that they can be copied into the
|
|---|
| 298 | perl distribution
|
|---|
| 299 | o Added fcntl and ioctl methods to IO::Handle
|
|---|
| 300 |
|
|---|
| 301 | Thu 25 Jul 1996 <bodg@tiuk.ti.com> Graham Barr
|
|---|
| 302 |
|
|---|
| 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
|
|---|
| 309 |
|
|---|
| 310 | Tue 23 Jul 1996 <bodg@tiuk.ti.com> Graham Barr
|
|---|
| 311 |
|
|---|
| 312 | o IO::Socket::connect changed how we do timeouts, as it did not work
|
|---|
| 313 |
|
|---|
| 314 | o IO::Handle::new_from_fd removed method call to _ref_fd, which was
|
|---|
| 315 | a leftover from FileHandle
|
|---|
| 316 |
|
|---|
| 317 | Fri 28 Jun 1996 <bodg@tiuk.ti.com> Graham Barr
|
|---|
| 318 |
|
|---|
| 319 | o Modified IO::Socket::UNIX::configure to default to using a socket
|
|---|
| 320 | type of SOCK_STREAM if no type is specified.
|
|---|