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