Move docs.
[mono.git] / mcs / class / System / System.IO.Ports / ChangeLog
1 2009-11-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>
2
3         * WinSerialStream.cs: Make CommStat a struct instead of a class to
4         make properly work ClearCommError.
5         Fixes the remaining bits of #348751.
6
7 2009-09-24  Christian Hoff  <christian_hoff@gmx.net>
8
9         * SerialPort.cs: Do not close the base stream if Dispose is called from
10         the finalizer.
11
12 2009-09-21 Leszek Ciesielski <skolima@gmail.com>
13
14         * SerialPortStream.cs: Throw exception when errors occur in Close()
15
16 2007-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
17
18         * WinSerialStream.cs: Fix the signature of ClearCommError.
19         Fixes #348751.
20
21 2008-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
22
23         * SerialPort.cs: Throw ArgumentException if NewLine gets an empty
24         string value.
25         Fixes #339012.
26
27 2008-09-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
28
29         * SerialPort.cs: In BaseStream property call CheckOpen instead of
30         duplicating the code.
31
32 2008-02-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>
33
34         * SerialPortStream.cs: Set DllImport.SetLastError to true for
35         all MonoPosixHelper functions, so in case of error we can retrieve the
36         error and print a simple but effective message about it.
37
38 2007-12-03  Miguel de Icaza  <miguel@novell.com>
39
40         * SerialPort.cs: Apply patch from Martin Green
41         <martin@martsoft.co.uk> to support Serial Ports enumeration on
42         Windows.
43
44 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
45
46         * SerialPort.cs :
47           Added [DefaultValue]. For PortName it is useless though.
48           Do not use ObsoleteAttribute for MonoTODO role.
49
50 2007-11-05  Miguel de Icaza  <miguel@novell.com>
51
52         * SerialPort.cs: Cope with multi-character newlines.  Fixes #321988.
53
54 2007-10-13  Miguel de Icaza  <miguel@novell.com>
55
56         * SerialPortStream.cs: Send a break on the Unix case.
57
58 2007-08-12  Lukasz Byczynski <lukaszb@forcom.com.pl>
59
60         * SerialPortStream.cs: added timeout handling on write
61
62         * WinSerialStream.cs: fixed setting handshake flags 
63
64 2007-07-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
65
66         * SerialPort.cs: Don't throw ArgumentOutOfRangeException when the
67         buffer has Length = 0 (and has the appropriate arguments).
68
69 2007-05-21  Atsushi Enomoto  <atsushi@ximian.com>
70
71         * SerialPort.cs : slightly boring 2.0 attributes.
72
73 2007-05-01  Sebastien Pouliot  <sebastien@ximian.com>
74
75         * WinSerialStream.cs: Fix build due to NativeOverlapped being updated
76         to 2.0 definition (int to IntPtr).
77
78 Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <lupus@ximian.com>
79
80         * WinSerialStream.cs: fixed logic for signal value check (bug #81342).
81
82 2006-11-18  Jelle Hissink <Jelle.Hissink@C-it.nl>
83
84         * SerialPortStream.cs: Fix the parameters in Read, and also poll
85         before the read, so we can thorw the TimeoutException.
86
87 2006-09-28  Andrew Skiba  <andrews@mainsoft.com>
88
89         * SerialPort.cs,WinSerialStream.cs: TARGET_JVM
90
91 2006-08-14  Chris Toshok  <toshok@ximian.com>
92
93         * SerialPort.cs: the paths returned by Directory.GetFiles have the
94         directory at the beginning of the string.
95
96 2006-08-13  Miguel de Icaza  <miguel@novell.com>
97
98         * SerialPort.cs (ReadTo): Implemented.
99         Add a couple of missing checks.
100
101         Also handle ttyUSB for Chris.
102
103         * SerialPortStream.cs (BytesToRead, BytesToWrite): Implement. 
104
105         * SerialPort.cs (ReadByte): Go directly to the stream, no need to
106         call the wrapper code.
107
108         (ReadChar): implement.
109
110         (ReadLine): implement.
111         
112         Add DefaultValueAttributes to various methods.
113
114         * SerialPortStream.cs, WinSerialStream.cs: Use the same checking
115         we use elsewhere for parameters.
116
117 2005-05-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
118
119         * ISerialStream.cs: Add support for break state.
120         * SerialPort.cs: Likewise.
121         * WinSerialStream.cs: Add support for break state and
122         some other bits (BytesToRead, BytesToWrite, DsrHolding,
123         CDHolding, CtsHolding, DiscardIn, DiscardOut).
124         * SerialPortStream.cs: Add a SetBreak function to
125         implement the updated ISerialStream interface (not implemented
126         by now).
127
128 2005-05-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
129
130         * SerialPort.cs:
131         * WinSerialStream.cs: Actually plug the Win serial stream
132         in the SerialPort and use it if we are on Windows (use std
133         stream otherwise).
134
135 2005-05-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
136
137         * WinSerialStream.cs: Implement some bits needed for
138         the backend thing.
139
140 2005-05-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
141
142         * ISerialStream.cs:
143         * SerialPortStream.cs:
144         * SerialPort.cs:
145         * SerialSignal.cs:
146         Some changes to make SerialPorStream implement ISerialInterface,
147         and be able to have OS-depending backends.
148         
149 2006-05-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
150
151         * ISerialStream.cs: New internal interface used for 
152         accessing the backend streams functionality.
153
154 2006-04-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
155
156         * WinSerialPort.cs: Inital import of the backend stream
157         for Windows support.
158         
159 2006-04-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
160
161         * SerialPort.cs:
162         * SerialPortStream.cs: Add signals managing.
163         * SerialSignal.cs: New.
164         
165 2006-04-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
166
167         * SerialPort.cs: Add protected Dispose method, and move
168         the Close stuff there.
169         
170 2006-04-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
171
172         * SerialPort.cs: Re-arrange values for ctors (keep things
173         clean).
174         
175 2006-04-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
176
177         * SerialPort.cs:
178         * SerialPortStream.cs: Remove the buffers from the SerialPort
179         class, and take them to SerialPortStream. We need them for
180         storing the internal read (pass the buffer sizes to SerialPortStream
181         ctor by now, and use those numbers when we support them).
182         
183 2006-03-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>
184
185         * SerialPort.cs: Inherit from Component, and use protected
186         Events property to save the event handlers. Also add internal
187         methods to trigger the events and remove pragmas.
188
189 2006-03-15  Miguel de Icaza  <miguel@gnome.org>
190
191         * SerialPort.cs: We will do detection of systems differently as we
192         discussed over email.  Drop malloc/free/uname calls.
193
194 2006-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
195
196         * SerialPort.cs: Add basic detection of serial ports and
197         default serial port.
198
199 2006-03-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
200
201         * SerialPort.cs:
202         * SerialPortStream.cs: Change SerialPortStream ctor
203         parameters and fix some related values.
204         
205 2006-03-11  Miguel de Icaza  <miguel@novell.com>
206
207         * y
208
209         * SerialPort.cs: Remove unused variable (writeBuffer). 
210
211         * SerialPortStream.cs (Dispose): override, not new.
212
213 2006-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
214
215         * SerialPort.cs:
216         * SerialPortStream.cs: Small advance/cleanups.
217
218 2006-02-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
219
220         * SerialPort.cs:
221         * SerialReceivedEventArgs.cs:
222         * SerialErrorEventArgs.cs:
223         * SerialPinChangedEventArgs.cs: Fix signatures and values
224         related to events.
225         
226 2006-02-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>
227
228         * SerialPort.cs: 
229         * SerialPortStream.cs: Cleanups and some small funcionalities
230         added. Also, some code was moved to SerialPortStream, to have a 
231         better design.
232
233 2006-02-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>
234
235         * SerialPort.cs:
236         * SerialPortStream.cs: Move SerialPortStream to a new file,
237         to have a better organization.
238
239 2006-02-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>
240
241         * SerialPort.cs: Little work on support the Read methods.
242
243 2006-02-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
244
245         * SerialPort.cs: Little work on default values and
246         exception report.
247         
248         * Parity.cs:
249         * Handshake.cs:
250         * StopBits.cs: New enum files (taken outside SerialPort
251         and with the right values now).
252
253 2006-02-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>
254
255         * SerialPort.cs: Work on Encoding property and use it
256         in Write methods.
257         
258 2006-02-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>
259
260         * SerialError.cs:
261         * SerialData.cs:
262         * SerialPinChange.cs: New enums.
263         
264 2004-12-26  Zoltan Varga  <vargaz@freemail.hu>
265
266         * System.IO.Ports/SerialPort.cs: Fix build under csc.