[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System / System.IO.Ports / ChangeLog
index cdfe5ffcb885f11592f5b9de83c6c261be6ef9c0..c15fe2df74085fb2343faf0b4a14ee5107735cb7 100644 (file)
@@ -1,3 +1,289 @@
+2010-04-22  Miguel de Icaza  <miguel@novell.com>
+
+       * SerialPort.cs: Try to detect serial devices in other Unix
+       systems. 
+
+       More tune ups for BSDs.
+
+2010-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: DiscardNull should *not* report any error if the port
+       is not open. We haven't implemented it yet, but added the needed
+       comment in case we forget when actually implementing it.
+       Fixes #512244.
+
+2010-01-25  Leszek Ciesielski <skolima@gmail.com>
+
+       * SerialPortStream.cs: Read was returning requested count instead
+       of actual bytes read. Thanks to Thad Thompson for spotting this.
+
+2010-01-22  Leszek Ciesielski <skolima@gmail.com>
+
+       * SerialPortStream.cs: Check for error on every native call
+
+2009-11-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * WinSerialStream.cs: Make CommStat a struct instead of a class to
+       make properly work ClearCommError.
+       Fixes the remaining bits of #348751.
+
+2009-09-24  Christian Hoff  <christian_hoff@gmx.net>
+
+       * SerialPort.cs: Do not close the base stream if Dispose is called from
+       the finalizer.
+
+2009-09-21 Leszek Ciesielski <skolima@gmail.com>
+
+       * SerialPortStream.cs: Throw exception when errors occur in Close()
+
+2007-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * WinSerialStream.cs: Fix the signature of ClearCommError.
+       Fixes #348751.
+
+2008-09-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: Throw ArgumentException if NewLine gets an empty
+       string value.
+       Fixes #339012.
+
+2008-09-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: In BaseStream property call CheckOpen instead of
+       duplicating the code.
+
+2008-02-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * 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  <miguel@novell.com>
+
+       * SerialPort.cs: Apply patch from Martin Green
+       <martin@martsoft.co.uk> to support Serial Ports enumeration on
+       Windows.
+
+2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SerialPort.cs :
+         Added [DefaultValue]. For PortName it is useless though.
+         Do not use ObsoleteAttribute for MonoTODO role.
+
+2007-11-05  Miguel de Icaza  <miguel@novell.com>
+
+       * SerialPort.cs: Cope with multi-character newlines.  Fixes #321988.
+
+2007-10-13  Miguel de Icaza  <miguel@novell.com>
+
+       * SerialPortStream.cs: Send a break on the Unix case.
+
+2007-08-12  Lukasz Byczynski <lukaszb@forcom.com.pl>
+
+       * SerialPortStream.cs: added timeout handling on write
+
+       * WinSerialStream.cs: fixed setting handshake flags 
+
+2007-07-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: Don't throw ArgumentOutOfRangeException when the
+       buffer has Length = 0 (and has the appropriate arguments).
+
+2007-05-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SerialPort.cs : slightly boring 2.0 attributes.
+
+2007-05-01  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * 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 <lupus@ximian.com>
+
+       * WinSerialStream.cs: fixed logic for signal value check (bug #81342).
+
+2006-11-18  Jelle Hissink <Jelle.Hissink@C-it.nl>
+
+       * SerialPortStream.cs: Fix the parameters in Read, and also poll
+       before the read, so we can thorw the TimeoutException.
+
+2006-09-28  Andrew Skiba  <andrews@mainsoft.com>
+
+       * SerialPort.cs,WinSerialStream.cs: TARGET_JVM
+
+2006-08-14  Chris Toshok  <toshok@ximian.com>
+
+       * SerialPort.cs: the paths returned by Directory.GetFiles have the
+       directory at the beginning of the string.
+
+2006-08-13  Miguel de Icaza  <miguel@novell.com>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * WinSerialStream.cs: Implement some bits needed for
+       the backend thing.
+
+2005-05-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * ISerialStream.cs: New internal interface used for 
+       accessing the backend streams functionality.
+
+2006-04-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * WinSerialPort.cs: Inital import of the backend stream
+       for Windows support.
+       
+2006-04-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs:
+       * SerialPortStream.cs: Add signals managing.
+       * SerialSignal.cs: New.
+       
+2006-04-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: Add protected Dispose method, and move
+       the Close stuff there.
+       
+2006-04-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: Re-arrange values for ctors (keep things
+       clean).
+       
+2006-04-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * 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  <miguel@gnome.org>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: Add basic detection of serial ports and
+       default serial port.
+
+2006-03-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs:
+       * SerialPortStream.cs: Change SerialPortStream ctor
+       parameters and fix some related values.
+       
+2006-03-11  Miguel de Icaza  <miguel@novell.com>
+
+       * y
+
+       * SerialPort.cs: Remove unused variable (writeBuffer). 
+
+       * SerialPortStream.cs (Dispose): override, not new.
+
+2006-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs:
+       * SerialPortStream.cs: Small advance/cleanups.
+
+2006-02-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs:
+       * SerialReceivedEventArgs.cs:
+       * SerialErrorEventArgs.cs:
+       * SerialPinChangedEventArgs.cs: Fix signatures and values
+       related to events.
+       
+2006-02-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * SerialPort.cs:
+       * SerialPortStream.cs: Move SerialPortStream to a new file,
+       to have a better organization.
+
+2006-02-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: Little work on support the Read methods.
+
+2006-02-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * 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 <calberto.cortez@gmail.com>
+
+       * SerialPort.cs: Work on Encoding property and use it
+       in Write methods.
+       
+2006-02-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SerialError.cs:
+       * SerialData.cs:
+       * SerialPinChange.cs: New enums.
+       
 2004-12-26  Zoltan Varga  <vargaz@freemail.hu>
 
        * System.IO.Ports/SerialPort.cs: Fix build under csc.