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