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