1 2010-01-22 Leszek Ciesielski <skolima@gmail.com>
3 * SerialPortStream.cs: Check for error on every native call
5 2009-11-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
7 * WinSerialStream.cs: Make CommStat a struct instead of a class to
8 make properly work ClearCommError.
9 Fixes the remaining bits of #348751.
11 2009-09-24 Christian Hoff <christian_hoff@gmx.net>
13 * SerialPort.cs: Do not close the base stream if Dispose is called from
16 2009-09-21 Leszek Ciesielski <skolima@gmail.com>
18 * SerialPortStream.cs: Throw exception when errors occur in Close()
20 2007-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
22 * WinSerialStream.cs: Fix the signature of ClearCommError.
25 2008-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
27 * SerialPort.cs: Throw ArgumentException if NewLine gets an empty
31 2008-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
33 * SerialPort.cs: In BaseStream property call CheckOpen instead of
36 2008-02-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
38 * SerialPortStream.cs: Set DllImport.SetLastError to true for
39 all MonoPosixHelper functions, so in case of error we can retrieve the
40 error and print a simple but effective message about it.
42 2007-12-03 Miguel de Icaza <miguel@novell.com>
44 * SerialPort.cs: Apply patch from Martin Green
45 <martin@martsoft.co.uk> to support Serial Ports enumeration on
48 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
51 Added [DefaultValue]. For PortName it is useless though.
52 Do not use ObsoleteAttribute for MonoTODO role.
54 2007-11-05 Miguel de Icaza <miguel@novell.com>
56 * SerialPort.cs: Cope with multi-character newlines. Fixes #321988.
58 2007-10-13 Miguel de Icaza <miguel@novell.com>
60 * SerialPortStream.cs: Send a break on the Unix case.
62 2007-08-12 Lukasz Byczynski <lukaszb@forcom.com.pl>
64 * SerialPortStream.cs: added timeout handling on write
66 * WinSerialStream.cs: fixed setting handshake flags
68 2007-07-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
70 * SerialPort.cs: Don't throw ArgumentOutOfRangeException when the
71 buffer has Length = 0 (and has the appropriate arguments).
73 2007-05-21 Atsushi Enomoto <atsushi@ximian.com>
75 * SerialPort.cs : slightly boring 2.0 attributes.
77 2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
79 * WinSerialStream.cs: Fix build due to NativeOverlapped being updated
80 to 2.0 definition (int to IntPtr).
82 Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <lupus@ximian.com>
84 * WinSerialStream.cs: fixed logic for signal value check (bug #81342).
86 2006-11-18 Jelle Hissink <Jelle.Hissink@C-it.nl>
88 * SerialPortStream.cs: Fix the parameters in Read, and also poll
89 before the read, so we can thorw the TimeoutException.
91 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
93 * SerialPort.cs,WinSerialStream.cs: TARGET_JVM
95 2006-08-14 Chris Toshok <toshok@ximian.com>
97 * SerialPort.cs: the paths returned by Directory.GetFiles have the
98 directory at the beginning of the string.
100 2006-08-13 Miguel de Icaza <miguel@novell.com>
102 * SerialPort.cs (ReadTo): Implemented.
103 Add a couple of missing checks.
105 Also handle ttyUSB for Chris.
107 * SerialPortStream.cs (BytesToRead, BytesToWrite): Implement.
109 * SerialPort.cs (ReadByte): Go directly to the stream, no need to
110 call the wrapper code.
112 (ReadChar): implement.
114 (ReadLine): implement.
116 Add DefaultValueAttributes to various methods.
118 * SerialPortStream.cs, WinSerialStream.cs: Use the same checking
119 we use elsewhere for parameters.
121 2005-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
123 * ISerialStream.cs: Add support for break state.
124 * SerialPort.cs: Likewise.
125 * WinSerialStream.cs: Add support for break state and
126 some other bits (BytesToRead, BytesToWrite, DsrHolding,
127 CDHolding, CtsHolding, DiscardIn, DiscardOut).
128 * SerialPortStream.cs: Add a SetBreak function to
129 implement the updated ISerialStream interface (not implemented
132 2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
135 * WinSerialStream.cs: Actually plug the Win serial stream
136 in the SerialPort and use it if we are on Windows (use std
139 2005-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
141 * WinSerialStream.cs: Implement some bits needed for
144 2005-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
147 * SerialPortStream.cs:
150 Some changes to make SerialPorStream implement ISerialInterface,
151 and be able to have OS-depending backends.
153 2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
155 * ISerialStream.cs: New internal interface used for
156 accessing the backend streams functionality.
158 2006-04-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
160 * WinSerialPort.cs: Inital import of the backend stream
163 2006-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
166 * SerialPortStream.cs: Add signals managing.
167 * SerialSignal.cs: New.
169 2006-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
171 * SerialPort.cs: Add protected Dispose method, and move
172 the Close stuff there.
174 2006-04-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
176 * SerialPort.cs: Re-arrange values for ctors (keep things
179 2006-04-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
182 * SerialPortStream.cs: Remove the buffers from the SerialPort
183 class, and take them to SerialPortStream. We need them for
184 storing the internal read (pass the buffer sizes to SerialPortStream
185 ctor by now, and use those numbers when we support them).
187 2006-03-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
189 * SerialPort.cs: Inherit from Component, and use protected
190 Events property to save the event handlers. Also add internal
191 methods to trigger the events and remove pragmas.
193 2006-03-15 Miguel de Icaza <miguel@gnome.org>
195 * SerialPort.cs: We will do detection of systems differently as we
196 discussed over email. Drop malloc/free/uname calls.
198 2006-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
200 * SerialPort.cs: Add basic detection of serial ports and
203 2006-03-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
206 * SerialPortStream.cs: Change SerialPortStream ctor
207 parameters and fix some related values.
209 2006-03-11 Miguel de Icaza <miguel@novell.com>
213 * SerialPort.cs: Remove unused variable (writeBuffer).
215 * SerialPortStream.cs (Dispose): override, not new.
217 2006-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
220 * SerialPortStream.cs: Small advance/cleanups.
222 2006-02-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
225 * SerialReceivedEventArgs.cs:
226 * SerialErrorEventArgs.cs:
227 * SerialPinChangedEventArgs.cs: Fix signatures and values
230 2006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
233 * SerialPortStream.cs: Cleanups and some small funcionalities
234 added. Also, some code was moved to SerialPortStream, to have a
237 2006-02-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
240 * SerialPortStream.cs: Move SerialPortStream to a new file,
241 to have a better organization.
243 2006-02-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
245 * SerialPort.cs: Little work on support the Read methods.
247 2006-02-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
249 * SerialPort.cs: Little work on default values and
254 * StopBits.cs: New enum files (taken outside SerialPort
255 and with the right values now).
257 2006-02-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
259 * SerialPort.cs: Work on Encoding property and use it
262 2006-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
266 * SerialPinChange.cs: New enums.
268 2004-12-26 Zoltan Varga <vargaz@freemail.hu>
270 * System.IO.Ports/SerialPort.cs: Fix build under csc.