1 2010-04-22 Miguel de Icaza <miguel@novell.com>
3 * SerialPort.cs: Try to detect serial devices in other Unix
6 More tune ups for BSDs.
8 2010-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
10 * SerialPort.cs: DiscardNull should *not* report any error if the port
11 is not open. We haven't implemented it yet, but added the needed
12 comment in case we forget when actually implementing it.
15 2010-01-25 Leszek Ciesielski <skolima@gmail.com>
17 * SerialPortStream.cs: Read was returning requested count instead
18 of actual bytes read. Thanks to Thad Thompson for spotting this.
20 2010-01-22 Leszek Ciesielski <skolima@gmail.com>
22 * SerialPortStream.cs: Check for error on every native call
24 2009-11-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
26 * WinSerialStream.cs: Make CommStat a struct instead of a class to
27 make properly work ClearCommError.
28 Fixes the remaining bits of #348751.
30 2009-09-24 Christian Hoff <christian_hoff@gmx.net>
32 * SerialPort.cs: Do not close the base stream if Dispose is called from
35 2009-09-21 Leszek Ciesielski <skolima@gmail.com>
37 * SerialPortStream.cs: Throw exception when errors occur in Close()
39 2007-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
41 * WinSerialStream.cs: Fix the signature of ClearCommError.
44 2008-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
46 * SerialPort.cs: Throw ArgumentException if NewLine gets an empty
50 2008-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
52 * SerialPort.cs: In BaseStream property call CheckOpen instead of
55 2008-02-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
57 * SerialPortStream.cs: Set DllImport.SetLastError to true for
58 all MonoPosixHelper functions, so in case of error we can retrieve the
59 error and print a simple but effective message about it.
61 2007-12-03 Miguel de Icaza <miguel@novell.com>
63 * SerialPort.cs: Apply patch from Martin Green
64 <martin@martsoft.co.uk> to support Serial Ports enumeration on
67 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
70 Added [DefaultValue]. For PortName it is useless though.
71 Do not use ObsoleteAttribute for MonoTODO role.
73 2007-11-05 Miguel de Icaza <miguel@novell.com>
75 * SerialPort.cs: Cope with multi-character newlines. Fixes #321988.
77 2007-10-13 Miguel de Icaza <miguel@novell.com>
79 * SerialPortStream.cs: Send a break on the Unix case.
81 2007-08-12 Lukasz Byczynski <lukaszb@forcom.com.pl>
83 * SerialPortStream.cs: added timeout handling on write
85 * WinSerialStream.cs: fixed setting handshake flags
87 2007-07-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
89 * SerialPort.cs: Don't throw ArgumentOutOfRangeException when the
90 buffer has Length = 0 (and has the appropriate arguments).
92 2007-05-21 Atsushi Enomoto <atsushi@ximian.com>
94 * SerialPort.cs : slightly boring 2.0 attributes.
96 2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
98 * WinSerialStream.cs: Fix build due to NativeOverlapped being updated
99 to 2.0 definition (int to IntPtr).
101 Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <lupus@ximian.com>
103 * WinSerialStream.cs: fixed logic for signal value check (bug #81342).
105 2006-11-18 Jelle Hissink <Jelle.Hissink@C-it.nl>
107 * SerialPortStream.cs: Fix the parameters in Read, and also poll
108 before the read, so we can thorw the TimeoutException.
110 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
112 * SerialPort.cs,WinSerialStream.cs: TARGET_JVM
114 2006-08-14 Chris Toshok <toshok@ximian.com>
116 * SerialPort.cs: the paths returned by Directory.GetFiles have the
117 directory at the beginning of the string.
119 2006-08-13 Miguel de Icaza <miguel@novell.com>
121 * SerialPort.cs (ReadTo): Implemented.
122 Add a couple of missing checks.
124 Also handle ttyUSB for Chris.
126 * SerialPortStream.cs (BytesToRead, BytesToWrite): Implement.
128 * SerialPort.cs (ReadByte): Go directly to the stream, no need to
129 call the wrapper code.
131 (ReadChar): implement.
133 (ReadLine): implement.
135 Add DefaultValueAttributes to various methods.
137 * SerialPortStream.cs, WinSerialStream.cs: Use the same checking
138 we use elsewhere for parameters.
140 2005-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
142 * ISerialStream.cs: Add support for break state.
143 * SerialPort.cs: Likewise.
144 * WinSerialStream.cs: Add support for break state and
145 some other bits (BytesToRead, BytesToWrite, DsrHolding,
146 CDHolding, CtsHolding, DiscardIn, DiscardOut).
147 * SerialPortStream.cs: Add a SetBreak function to
148 implement the updated ISerialStream interface (not implemented
151 2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
154 * WinSerialStream.cs: Actually plug the Win serial stream
155 in the SerialPort and use it if we are on Windows (use std
158 2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
160 * WinSerialStream.cs: Implement some bits needed for
163 2005-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
166 * SerialPortStream.cs:
169 Some changes to make SerialPorStream implement ISerialInterface,
170 and be able to have OS-depending backends.
172 2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
174 * ISerialStream.cs: New internal interface used for
175 accessing the backend streams functionality.
177 2006-04-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
179 * WinSerialPort.cs: Inital import of the backend stream
182 2006-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
185 * SerialPortStream.cs: Add signals managing.
186 * SerialSignal.cs: New.
188 2006-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
190 * SerialPort.cs: Add protected Dispose method, and move
191 the Close stuff there.
193 2006-04-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
195 * SerialPort.cs: Re-arrange values for ctors (keep things
198 2006-04-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
201 * SerialPortStream.cs: Remove the buffers from the SerialPort
202 class, and take them to SerialPortStream. We need them for
203 storing the internal read (pass the buffer sizes to SerialPortStream
204 ctor by now, and use those numbers when we support them).
206 2006-03-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
208 * SerialPort.cs: Inherit from Component, and use protected
209 Events property to save the event handlers. Also add internal
210 methods to trigger the events and remove pragmas.
212 2006-03-15 Miguel de Icaza <miguel@gnome.org>
214 * SerialPort.cs: We will do detection of systems differently as we
215 discussed over email. Drop malloc/free/uname calls.
217 2006-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
219 * SerialPort.cs: Add basic detection of serial ports and
222 2006-03-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
225 * SerialPortStream.cs: Change SerialPortStream ctor
226 parameters and fix some related values.
228 2006-03-11 Miguel de Icaza <miguel@novell.com>
232 * SerialPort.cs: Remove unused variable (writeBuffer).
234 * SerialPortStream.cs (Dispose): override, not new.
236 2006-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
239 * SerialPortStream.cs: Small advance/cleanups.
241 2006-02-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
244 * SerialReceivedEventArgs.cs:
245 * SerialErrorEventArgs.cs:
246 * SerialPinChangedEventArgs.cs: Fix signatures and values
249 2006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
252 * SerialPortStream.cs: Cleanups and some small funcionalities
253 added. Also, some code was moved to SerialPortStream, to have a
256 2006-02-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
259 * SerialPortStream.cs: Move SerialPortStream to a new file,
260 to have a better organization.
262 2006-02-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
264 * SerialPort.cs: Little work on support the Read methods.
266 2006-02-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
268 * SerialPort.cs: Little work on default values and
273 * StopBits.cs: New enum files (taken outside SerialPort
274 and with the right values now).
276 2006-02-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
278 * SerialPort.cs: Work on Encoding property and use it
281 2006-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
285 * SerialPinChange.cs: New enums.
287 2004-12-26 Zoltan Varga <vargaz@freemail.hu>
289 * System.IO.Ports/SerialPort.cs: Fix build under csc.