| 1 |
root |
1.1 |
For more recent changes, see the Perl Changes* file(s). |
| 2 |
|
|
|
| 3 |
|
|
Change 173 on 1998/07/14 by <gbarr@pobox.com> (Graham Barr) |
| 4 |
|
|
|
| 5 |
|
|
IO::Socket |
| 6 |
|
|
- Added method connected |
| 7 |
|
|
|
| 8 |
|
|
IO.xs |
| 9 |
|
|
- Added check that file * is not null |
| 10 |
|
|
|
| 11 |
|
|
t/io_udp.t |
| 12 |
|
|
- Added check for connected |
| 13 |
|
|
- Made change to catch recv not returning the address, and added a fix to |
| 14 |
|
|
ensure test does not hang |
| 15 |
|
|
|
| 16 |
|
|
t/io_sock.t |
| 17 |
|
|
- Added check for connected. |
| 18 |
|
|
|
| 19 |
|
|
Change 137 on 1998/05/21 by <gbarr@pobox.com> (Graham Barr) |
| 20 |
|
|
|
| 21 |
|
|
IO::Socket::INET |
| 22 |
|
|
- Added checks to all peer* and host* methods for undef |
| 23 |
|
|
|
| 24 |
|
|
Change 134 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr) |
| 25 |
|
|
|
| 26 |
|
|
t/io_sock.t |
| 27 |
|
|
- fix race condition on Solaris & SunOS |
| 28 |
|
|
|
| 29 |
|
|
IO::Handle |
| 30 |
|
|
- Applied patch from Gisle Aas <gisle@aas.no> for |
| 31 |
|
|
documentation update |
| 32 |
|
|
- Applied patch from Kuma <tgy@chocobo.org> |
| 33 |
|
|
changed input_line_number to be on a per-handle basis. |
| 34 |
|
|
|
| 35 |
|
|
IO::File |
| 36 |
|
|
- Applied patch from Gisle Aas <gisle@aas.no> for |
| 37 |
|
|
documentation update |
| 38 |
|
|
|
| 39 |
|
|
IO::Seekable |
| 40 |
|
|
- Applied patch from Gisle Aas <gisle@aas.no> for |
| 41 |
|
|
documentation update |
| 42 |
|
|
added sysseek |
| 43 |
|
|
|
| 44 |
|
|
IO, IO::Socket::INET |
| 45 |
|
|
- documentation update |
| 46 |
|
|
|
| 47 |
|
|
IO.xs |
| 48 |
|
|
- Applied patch from Gisle Aas <gisle@aas.no> for |
| 49 |
|
|
blocking |
| 50 |
|
|
|
| 51 |
|
|
Change 133 on 1998/05/09 by <gbarr@pobox.com> (Graham Barr) |
| 52 |
|
|
|
| 53 |
|
|
t/io_sock.t |
| 54 |
|
|
- Added checks for blocking() |
| 55 |
|
|
|
| 56 |
|
|
Sun Apr 12 1998 <gbarr@pobox.com> (Graham Barr) |
| 57 |
|
|
|
| 58 |
|
|
IO.xs |
| 59 |
|
|
- enclosed newCONSTSUB in #ifdef as _64 now defines it. |
| 60 |
|
|
|
| 61 |
|
|
Thu Mar 19 1998 <gbarr@pobox.com> (Graham Barr) |
| 62 |
|
|
|
| 63 |
|
|
All |
| 64 |
|
|
- Changed copyright/distribution policy back to be the same as perl |
| 65 |
|
|
|
| 66 |
|
|
Sun Feb 15 1998 <gbarr@pobox.com> (Graham Barr) |
| 67 |
|
|
|
| 68 |
|
|
IO::Socket |
| 69 |
|
|
- Fix to ->accept, accept() returns false on error not undef. |
| 70 |
|
|
|
| 71 |
|
|
*** Release 1.19 |
| 72 |
|
|
|
| 73 |
|
|
Thu Feb 5 1998 <gbarr@pobox.com> (Graham Barr) |
| 74 |
|
|
|
| 75 |
|
|
All |
| 76 |
|
|
- change copyright notice |
| 77 |
|
|
|
| 78 |
|
|
IO::Socket::INET |
| 79 |
|
|
- changed configure to accept PeerHost and LocalHost as well as the |
| 80 |
|
|
PeerAddr and LocalAddr arguments. |
| 81 |
|
|
|
| 82 |
|
|
Mon Feb 2 1998 <gbarr@pobox.com> (Graham Barr) |
| 83 |
|
|
|
| 84 |
|
|
IO::Handle |
| 85 |
|
|
- Added printflush so that flush.pl can be depreciated |
| 86 |
|
|
|
| 87 |
|
|
IO::Socket |
| 88 |
|
|
- Remove C<use Config> statement as it was not needed |
| 89 |
|
|
|
| 90 |
|
|
Tue Jan 27 1998 <gbarr@pobox.com> (Graham Barr) |
| 91 |
|
|
|
| 92 |
|
|
IO::Socket::INET |
| 93 |
|
|
- removed carp if $^W |
| 94 |
|
|
|
| 95 |
|
|
*** Patch 1.1804 |
| 96 |
|
|
|
| 97 |
|
|
Sat Jan 17 1998 <gbarr@pobox.com> (Graham Barr) |
| 98 |
|
|
|
| 99 |
|
|
t/io_sock.t |
| 100 |
|
|
- Replaced C<Listen => 0> with C<LocalAddr => 'localhost'> |
| 101 |
|
|
|
| 102 |
|
|
IO/Socket/INET.pm |
| 103 |
|
|
- Modified the MultiHomed code. Now each address for a given host has |
| 104 |
|
|
a timeout of C<Timeout>. |
| 105 |
|
|
- added _get_addr method for doing hostname lookups. Now Net::DNS can be |
| 106 |
|
|
use by sub-classing IO::Socket::INET, Thanks Gisle Aas |
| 107 |
|
|
|
| 108 |
|
|
t/io_multihomed.t |
| 109 |
|
|
- new test added. Thanks Gisle Aas. |
| 110 |
|
|
|
| 111 |
|
|
*** Patch 1.1803 |
| 112 |
|
|
|
| 113 |
|
|
Mon Nov 17 1997 <gbarr@pobox.com> (Graham Barr) |
| 114 |
|
|
|
| 115 |
|
|
poll.c |
| 116 |
|
|
- Added #ifdef I_* tests |
| 117 |
|
|
|
| 118 |
|
|
IO::Socket |
| 119 |
|
|
- Changed initialization of @domain2pkg to fix problem of Domain option |
| 120 |
|
|
not working |
| 121 |
|
|
- Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no> |
| 122 |
|
|
|
| 123 |
|
|
IO::Socket::INET |
| 124 |
|
|
- Change default proto to getprotobyname instead of 'tcp' constant string |
| 125 |
|
|
- Added patch for multi-homed hosts, Thanks to Gisle Aas <gisle@aas.no> |
| 126 |
|
|
|
| 127 |
|
|
t/io_sock.t |
| 128 |
|
|
- Change to test fix for Domain problem fixed in IO::Socket and be |
| 129 |
|
|
more comprehensive, Thanks to Gisle Aas <gisle@aas.no> |
| 130 |
|
|
|
| 131 |
|
|
t/io_unix.t |
| 132 |
|
|
- New test, Thanks to Gisle Aas <gisle@aas.no> |
| 133 |
|
|
|
| 134 |
|
|
*** Patch 1.1802 |
| 135 |
|
|
|
| 136 |
|
|
Wed Nov 12 1997 <gbarr@pobox.com> (Graham Barr) |
| 137 |
|
|
|
| 138 |
|
|
t/io_poll.t |
| 139 |
|
|
- test 4 made an assumption that was not portable, fixed. |
| 140 |
|
|
|
| 141 |
|
|
*** Patch 1.1801 |
| 142 |
|
|
|
| 143 |
|
|
Wed Oct 22 1997 <gbarr@pobox.com> (Graham Barr) |
| 144 |
|
|
|
| 145 |
|
|
IO.xs |
| 146 |
|
|
- change #ifdef's to allow compilation with 5.002 |
| 147 |
|
|
|
| 148 |
|
|
IO::Socket |
| 149 |
|
|
- Fix to ensure that socket is not returned as non-blocking |
| 150 |
|
|
unless the user asks for it |
| 151 |
|
|
|
| 152 |
|
|
t/io_udp.t |
| 153 |
|
|
- Fix to stop endless loop |
| 154 |
|
|
|
| 155 |
|
|
*** Release 1.18 |
| 156 |
|
|
|
| 157 |
|
|
Mon Oct 13 1997 <gbarr@pobox.com> (Graham Barr) |
| 158 |
|
|
|
| 159 |
|
|
IO.xs, IO::Handle |
| 160 |
|
|
- 1.17 broke compatability with 5.003, small tweaks to restore |
| 161 |
|
|
compatability |
| 162 |
|
|
|
| 163 |
|
|
t/io_const.t |
| 164 |
|
|
- Added new test to ensure backwards compatability with constants |
| 165 |
|
|
is not broken |
| 166 |
|
|
|
| 167 |
|
|
Wed Oct 8 1997 <gbarr@pobox.com> (Graham Barr) |
| 168 |
|
|
|
| 169 |
|
|
IO.xs |
| 170 |
|
|
- Added #define's to cope with argument changes to start_subparse |
| 171 |
|
|
from 5.003_22, _23 and _24 |
| 172 |
|
|
|
| 173 |
|
|
IO::Select |
| 174 |
|
|
- Renamed has_error to be has_exception which is more correct, |
| 175 |
|
|
has_error is a wrapper around has_exception with a warning if |
| 176 |
|
|
$^W is set. |
| 177 |
|
|
|
| 178 |
|
|
Makefile.PL |
| 179 |
|
|
- Remove 'linkext' option to WriteMakefile so that static linking |
| 180 |
|
|
should work properly, cannot remember why I added it. |
| 181 |
|
|
|
| 182 |
|
|
Sun Oct 5 1997 <gbarr@pobox.com> (Graham Barr) |
| 183 |
|
|
|
| 184 |
|
|
IO::Pipe |
| 185 |
|
|
- GLOB assignment does not copy the fileno while under -T |
| 186 |
|
|
added checks for undefined fileno, and added fdopen |
| 187 |
|
|
- reader and write can now be called as static methods |
| 188 |
|
|
|
| 189 |
|
|
Makefile.PL |
| 190 |
|
|
- Attempt to locate <poll.h> and define I_POLL if found |
| 191 |
|
|
|
| 192 |
|
|
*** Release 1.17 |
| 193 |
|
|
|
| 194 |
|
|
Fri Sep 26 1997 <gbarr@pobox.com> (Graham Barr) |
| 195 |
|
|
|
| 196 |
|
|
IO.xs |
| 197 |
|
|
- Fix bug in _poll for ANSI C compilers |
| 198 |
|
|
|
| 199 |
|
|
IO::Socket |
| 200 |
|
|
- Split IO::Socket::INET and IO::Socket::UNIX into separate files |
| 201 |
|
|
|
| 202 |
|
|
IO::File |
| 203 |
|
|
- Patch to open() for when file is in current directory. |
| 204 |
|
|
|
| 205 |
|
|
*** Release 1.16 |
| 206 |
|
|
|
| 207 |
|
|
Mon 15 Sep 1997 <gbarr@pobox.com> Graham Barr |
| 208 |
|
|
|
| 209 |
|
|
o New modules |
| 210 |
|
|
- IO::Dir |
| 211 |
|
|
- IO::Poll |
| 212 |
|
|
|
| 213 |
|
|
o IO::Socket |
| 214 |
|
|
- Changed new to call autoflush on the new socket |
| 215 |
|
|
- IO::Socket::INET->new now accepts a single argument |
| 216 |
|
|
- IO::Socket::INET default to protocol 'tcp' |
| 217 |
|
|
|
| 218 |
|
|
o IO::File |
| 219 |
|
|
- Added doc for new_tmpfile |
| 220 |
|
|
|
| 221 |
|
|
o IO::Handle |
| 222 |
|
|
- Removed use of AutoLoader for constants, constants are |
| 223 |
|
|
now defined as constant XS subs |
| 224 |
|
|
- Added fsync, but will not be avaliable for use |
| 225 |
|
|
unless HAS_FSYNC is defined, perls configure does not define |
| 226 |
|
|
this yet. |
| 227 |
|
|
- Moved bootstrap of IO.xs to IO.pm. IO::Handle no longer |
| 228 |
|
|
contains an AUTOLOAD sub in it's ISA hier |
| 229 |
|
|
|
| 230 |
|
|
o IO::Seekable |
| 231 |
|
|
- Remove clearerr, as it is defined in IO.xs |
| 232 |
|
|
|
| 233 |
|
|
o IO.xs |
| 234 |
|
|
- Patched IO.xs with patch from Chip for setvbuf warning |
| 235 |
|
|
- Added XS sub "constant" for backwards compatability |
| 236 |
|
|
|
| 237 |
|
|
o Misc |
| 238 |
|
|
- Fixed IO::Socket::configure, it was not passing $arg to domain |
| 239 |
|
|
specific package |
| 240 |
|
|
- Changed all $fh variables in IO::Handle to $io and all $fh |
| 241 |
|
|
variables in IO::Socket to $sock as Chip suggested |
| 242 |
|
|
- Fixed usage messages to be consistant |
| 243 |
|
|
|
| 244 |
|
|
*** Release 1.15 |
| 245 |
|
|
|
| 246 |
|
|
Sun 19 Jan 1997 <bodg@tiuk.ti.com> Graham Barr |
| 247 |
|
|
|
| 248 |
|
|
o Updated PODs for IO::Handle and IO::File |
| 249 |
|
|
o Modified IO.xs so that DESTROY gets called on IO::File |
| 250 |
|
|
objects that were created with IO::File->new_tmpfile |
| 251 |
|
|
o Modified the domain2pkg code in IO::Socket so that it |
| 252 |
|
|
does not use blessd refs |
| 253 |
|
|
o Created a new package IO::Pipe::End so that pipe specific |
| 254 |
|
|
stuff can be moved out of IO::Handle. |
| 255 |
|
|
o Added Ilya's OS/2 changes to Pipe.pm and io_pipe.t |
| 256 |
|
|
|
| 257 |
|
|
o These changes happened somtime before the release of 1.15 |
| 258 |
|
|
- added shutdown to IO::Socket |
| 259 |
|
|
- modified connect to not use alarm |
| 260 |
|
|
- modified accept and connect to use IO::Select |
| 261 |
|
|
|
| 262 |
|
|
*** Release 1.14 |
| 263 |
|
|
|
| 264 |
|
|
Tue 24 Dec 1996 <bodg@tiuk.ti.com> Graham Barr |
| 265 |
|
|
|
| 266 |
|
|
o Updated to patches in perl core dist. |
| 267 |
|
|
o Added C<use strict> to all modules |
| 268 |
|
|
o Modified t/io_sock.t, hopefully the race condition has gone |
| 269 |
|
|
o Added close statements to reader/writer in IO::Pipe |
| 270 |
|
|
o IO::Handle::syswrite was calling sysread, fixed :-) |
| 271 |
|
|
|
| 272 |
|
|
*** Release 1.12 |
| 273 |
|
|
|
| 274 |
|
|
Thu 19 Sep 1996 <bodg@tiuk.ti.com> Graham Barr |
| 275 |
|
|
|
| 276 |
|
|
o Modified IO.xs so that it will compile with pre perlio version |
| 277 |
|
|
of perl (ie pre perl5.003_02) |
| 278 |
|
|
o Modified IO::Socket::send so not to pass 4 arguments to send |
| 279 |
|
|
if the socket is connected |
| 280 |
|
|
|
| 281 |
|
|
*** Release 1.10 |
| 282 |
|
|
|
| 283 |
|
|
Mon 11 Sep 1996 <bodg@tiuk.ti.com> Graham Barr |
| 284 |
|
|
|
| 285 |
|
|
o Fixed a bug in IO::Socket which caused DESTROY to be called |
| 286 |
|
|
on a partly initialised connection |
| 287 |
|
|
o Changed IO.xs to use Perlio |
| 288 |
|
|
o Modified usage message to report correct package |
| 289 |
|
|
o Added IO::File::new changes from Chip, to allow PERM to be passed |
| 290 |
|
|
o Added sysread and syswrite methods to IO::Handle |
| 291 |
|
|
o Updated documentation |
| 292 |
|
|
o Fixed a bug in IO::Select that caused a hang if the last handle |
| 293 |
|
|
was removed. |
| 294 |
|
|
o Added count method to IO::Select |
| 295 |
|
|
o Renamed and modified tests so that they can be copied into the |
| 296 |
|
|
perl distribution |
| 297 |
|
|
o Added fcntl and ioctl methods to IO::Handle |
| 298 |
|
|
|
| 299 |
|
|
Thu 25 Jul 1996 <bodg@tiuk.ti.com> Graham Barr |
| 300 |
|
|
|
| 301 |
|
|
o It is now not necessary to call the domain sub-classes of |
| 302 |
|
|
IO::Socket. when connect is called it notes the domain. |
| 303 |
|
|
Domain specific methods, which are normally non-critical, are |
| 304 |
|
|
called via this note-ing. |
| 305 |
|
|
o Added methods to IO::Socket to retrieve the domain, type and |
| 306 |
|
|
protocol of a given socket |
| 307 |
|
|
|
| 308 |
|
|
Tue 23 Jul 1996 <bodg@tiuk.ti.com> Graham Barr |
| 309 |
|
|
|
| 310 |
|
|
o IO::Socket::connect changed how we do timeouts, as it did not work |
| 311 |
|
|
|
| 312 |
|
|
o IO::Handle::new_from_fd removed method call to _ref_fd, which was |
| 313 |
|
|
a leftover from FileHandle |
| 314 |
|
|
|
| 315 |
|
|
Fri 28 Jun 1996 <bodg@tiuk.ti.com> Graham Barr |
| 316 |
|
|
|
| 317 |
|
|
o Modified IO::Socket::UNIX::configure to default to using a socket |
| 318 |
|
|
type of SOCK_STREAM if no type is specified. |