2008-02-19 Carlos Alberto Cortez * SerialPortStream.cs: Set DllImport.SetLastError to true for all MonoPosixHelper functions, so in case of error we can retrieve the error and print a simple but effective message about it. 2007-12-03 Miguel de Icaza * SerialPort.cs: Apply patch from Martin Green to support Serial Ports enumeration on Windows. 2007-11-13 Atsushi Enomoto * SerialPort.cs : Added [DefaultValue]. For PortName it is useless though. Do not use ObsoleteAttribute for MonoTODO role. 2007-11-05 Miguel de Icaza * SerialPort.cs: Cope with multi-character newlines. Fixes #321988. 2007-10-13 Miguel de Icaza * SerialPortStream.cs: Send a break on the Unix case. 2007-08-12 Lukasz Byczynski * SerialPortStream.cs: added timeout handling on write * WinSerialStream.cs: fixed setting handshake flags 2007-07-01 Carlos Alberto Cortez * SerialPort.cs: Don't throw ArgumentOutOfRangeException when the buffer has Length = 0 (and has the appropriate arguments). 2007-05-21 Atsushi Enomoto * SerialPort.cs : slightly boring 2.0 attributes. 2007-05-01 Sebastien Pouliot * WinSerialStream.cs: Fix build due to NativeOverlapped being updated to 2.0 definition (int to IntPtr). Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro * WinSerialStream.cs: fixed logic for signal value check (bug #81342). 2006-11-18 Jelle Hissink * SerialPortStream.cs: Fix the parameters in Read, and also poll before the read, so we can thorw the TimeoutException. 2006-09-28 Andrew Skiba * SerialPort.cs,WinSerialStream.cs: TARGET_JVM 2006-08-14 Chris Toshok * SerialPort.cs: the paths returned by Directory.GetFiles have the directory at the beginning of the string. 2006-08-13 Miguel de Icaza * SerialPort.cs (ReadTo): Implemented. Add a couple of missing checks. Also handle ttyUSB for Chris. * SerialPortStream.cs (BytesToRead, BytesToWrite): Implement. * SerialPort.cs (ReadByte): Go directly to the stream, no need to call the wrapper code. (ReadChar): implement. (ReadLine): implement. Add DefaultValueAttributes to various methods. * SerialPortStream.cs, WinSerialStream.cs: Use the same checking we use elsewhere for parameters. 2005-05-12 Carlos Alberto Cortez * ISerialStream.cs: Add support for break state. * SerialPort.cs: Likewise. * WinSerialStream.cs: Add support for break state and some other bits (BytesToRead, BytesToWrite, DsrHolding, CDHolding, CtsHolding, DiscardIn, DiscardOut). * SerialPortStream.cs: Add a SetBreak function to implement the updated ISerialStream interface (not implemented by now). 2005-05-08 Carlos Alberto Cortez * SerialPort.cs: * WinSerialStream.cs: Actually plug the Win serial stream in the SerialPort and use it if we are on Windows (use std stream otherwise). 2005-05-08 Carlos Alberto Cortez * WinSerialStream.cs: Implement some bits needed for the backend thing. 2005-05-06 Carlos Alberto Cortez * ISerialStream.cs: * SerialPortStream.cs: * SerialPort.cs: * SerialSignal.cs: Some changes to make SerialPorStream implement ISerialInterface, and be able to have OS-depending backends. 2006-05-06 Carlos Alberto Cortez * ISerialStream.cs: New internal interface used for accessing the backend streams functionality. 2006-04-20 Carlos Alberto Cortez * WinSerialPort.cs: Inital import of the backend stream for Windows support. 2006-04-06 Carlos Alberto Cortez * SerialPort.cs: * SerialPortStream.cs: Add signals managing. * SerialSignal.cs: New. 2006-04-05 Carlos Alberto Cortez * SerialPort.cs: Add protected Dispose method, and move the Close stuff there. 2006-04-04 Carlos Alberto Cortez * SerialPort.cs: Re-arrange values for ctors (keep things clean). 2006-04-03 Carlos Alberto Cortez * SerialPort.cs: * SerialPortStream.cs: Remove the buffers from the SerialPort class, and take them to SerialPortStream. We need them for storing the internal read (pass the buffer sizes to SerialPortStream ctor by now, and use those numbers when we support them). 2006-03-27 Carlos Alberto Cortez * SerialPort.cs: Inherit from Component, and use protected Events property to save the event handlers. Also add internal methods to trigger the events and remove pragmas. 2006-03-15 Miguel de Icaza * SerialPort.cs: We will do detection of systems differently as we discussed over email. Drop malloc/free/uname calls. 2006-03-15 Carlos Alberto Cortez * SerialPort.cs: Add basic detection of serial ports and default serial port. 2006-03-14 Carlos Alberto Cortez * SerialPort.cs: * SerialPortStream.cs: Change SerialPortStream ctor parameters and fix some related values. 2006-03-11 Miguel de Icaza * y * SerialPort.cs: Remove unused variable (writeBuffer). * SerialPortStream.cs (Dispose): override, not new. 2006-03-08 Carlos Alberto Cortez * SerialPort.cs: * SerialPortStream.cs: Small advance/cleanups. 2006-02-29 Carlos Alberto Cortez * SerialPort.cs: * SerialReceivedEventArgs.cs: * SerialErrorEventArgs.cs: * SerialPinChangedEventArgs.cs: Fix signatures and values related to events. 2006-02-28 Carlos Alberto Cortez * SerialPort.cs: * SerialPortStream.cs: Cleanups and some small funcionalities added. Also, some code was moved to SerialPortStream, to have a better design. 2006-02-21 Carlos Alberto Cortez * SerialPort.cs: * SerialPortStream.cs: Move SerialPortStream to a new file, to have a better organization. 2006-02-21 Carlos Alberto Cortez * SerialPort.cs: Little work on support the Read methods. 2006-02-14 Carlos Alberto Cortez * SerialPort.cs: Little work on default values and exception report. * Parity.cs: * Handshake.cs: * StopBits.cs: New enum files (taken outside SerialPort and with the right values now). 2006-02-13 Carlos Alberto Cortez * SerialPort.cs: Work on Encoding property and use it in Write methods. 2006-02-10 Carlos Alberto Cortez * SerialError.cs: * SerialData.cs: * SerialPinChange.cs: New enums. 2004-12-26 Zoltan Varga * System.IO.Ports/SerialPort.cs: Fix build under csc.