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