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