1 2009-11-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3 * WinSerialStream.cs: Make CommStat a struct instead of a class to
4 make properly work ClearCommError.
5 Fixes the remaining bits of #348751.
7 2009-09-24 Christian Hoff <christian_hoff@gmx.net>
9 * SerialPort.cs: Do not close the base stream if Dispose is called from
12 2009-09-21 Leszek Ciesielski <skolima@gmail.com>
14 * SerialPortStream.cs: Throw exception when errors occur in Close()
16 2007-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
18 * WinSerialStream.cs: Fix the signature of ClearCommError.
21 2008-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
23 * SerialPort.cs: Throw ArgumentException if NewLine gets an empty
27 2008-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
29 * SerialPort.cs: In BaseStream property call CheckOpen instead of
32 2008-02-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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.
38 2007-12-03 Miguel de Icaza <miguel@novell.com>
40 * SerialPort.cs: Apply patch from Martin Green
41 <martin@martsoft.co.uk> to support Serial Ports enumeration on
44 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
47 Added [DefaultValue]. For PortName it is useless though.
48 Do not use ObsoleteAttribute for MonoTODO role.
50 2007-11-05 Miguel de Icaza <miguel@novell.com>
52 * SerialPort.cs: Cope with multi-character newlines. Fixes #321988.
54 2007-10-13 Miguel de Icaza <miguel@novell.com>
56 * SerialPortStream.cs: Send a break on the Unix case.
58 2007-08-12 Lukasz Byczynski <lukaszb@forcom.com.pl>
60 * SerialPortStream.cs: added timeout handling on write
62 * WinSerialStream.cs: fixed setting handshake flags
64 2007-07-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
66 * SerialPort.cs: Don't throw ArgumentOutOfRangeException when the
67 buffer has Length = 0 (and has the appropriate arguments).
69 2007-05-21 Atsushi Enomoto <atsushi@ximian.com>
71 * SerialPort.cs : slightly boring 2.0 attributes.
73 2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
75 * WinSerialStream.cs: Fix build due to NativeOverlapped being updated
76 to 2.0 definition (int to IntPtr).
78 Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <lupus@ximian.com>
80 * WinSerialStream.cs: fixed logic for signal value check (bug #81342).
82 2006-11-18 Jelle Hissink <Jelle.Hissink@C-it.nl>
84 * SerialPortStream.cs: Fix the parameters in Read, and also poll
85 before the read, so we can thorw the TimeoutException.
87 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
89 * SerialPort.cs,WinSerialStream.cs: TARGET_JVM
91 2006-08-14 Chris Toshok <toshok@ximian.com>
93 * SerialPort.cs: the paths returned by Directory.GetFiles have the
94 directory at the beginning of the string.
96 2006-08-13 Miguel de Icaza <miguel@novell.com>
98 * SerialPort.cs (ReadTo): Implemented.
99 Add a couple of missing checks.
101 Also handle ttyUSB for Chris.
103 * SerialPortStream.cs (BytesToRead, BytesToWrite): Implement.
105 * SerialPort.cs (ReadByte): Go directly to the stream, no need to
106 call the wrapper code.
108 (ReadChar): implement.
110 (ReadLine): implement.
112 Add DefaultValueAttributes to various methods.
114 * SerialPortStream.cs, WinSerialStream.cs: Use the same checking
115 we use elsewhere for parameters.
117 2005-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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
128 2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
131 * WinSerialStream.cs: Actually plug the Win serial stream
132 in the SerialPort and use it if we are on Windows (use std
135 2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
137 * WinSerialStream.cs: Implement some bits needed for
140 2005-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
143 * SerialPortStream.cs:
146 Some changes to make SerialPorStream implement ISerialInterface,
147 and be able to have OS-depending backends.
149 2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
151 * ISerialStream.cs: New internal interface used for
152 accessing the backend streams functionality.
154 2006-04-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
156 * WinSerialPort.cs: Inital import of the backend stream
159 2006-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
162 * SerialPortStream.cs: Add signals managing.
163 * SerialSignal.cs: New.
165 2006-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
167 * SerialPort.cs: Add protected Dispose method, and move
168 the Close stuff there.
170 2006-04-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
172 * SerialPort.cs: Re-arrange values for ctors (keep things
175 2006-04-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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).
183 2006-03-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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.
189 2006-03-15 Miguel de Icaza <miguel@gnome.org>
191 * SerialPort.cs: We will do detection of systems differently as we
192 discussed over email. Drop malloc/free/uname calls.
194 2006-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
196 * SerialPort.cs: Add basic detection of serial ports and
199 2006-03-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
202 * SerialPortStream.cs: Change SerialPortStream ctor
203 parameters and fix some related values.
205 2006-03-11 Miguel de Icaza <miguel@novell.com>
209 * SerialPort.cs: Remove unused variable (writeBuffer).
211 * SerialPortStream.cs (Dispose): override, not new.
213 2006-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
216 * SerialPortStream.cs: Small advance/cleanups.
218 2006-02-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
221 * SerialReceivedEventArgs.cs:
222 * SerialErrorEventArgs.cs:
223 * SerialPinChangedEventArgs.cs: Fix signatures and values
226 2006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
229 * SerialPortStream.cs: Cleanups and some small funcionalities
230 added. Also, some code was moved to SerialPortStream, to have a
233 2006-02-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
236 * SerialPortStream.cs: Move SerialPortStream to a new file,
237 to have a better organization.
239 2006-02-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
241 * SerialPort.cs: Little work on support the Read methods.
243 2006-02-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
245 * SerialPort.cs: Little work on default values and
250 * StopBits.cs: New enum files (taken outside SerialPort
251 and with the right values now).
253 2006-02-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
255 * SerialPort.cs: Work on Encoding property and use it
258 2006-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
262 * SerialPinChange.cs: New enums.
264 2004-12-26 Zoltan Varga <vargaz@freemail.hu>
266 * System.IO.Ports/SerialPort.cs: Fix build under csc.