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