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