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