* 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.
svn path=/trunk/mcs/; revision=152254
* SerialPortStream.cs: Read was returning requested count instead
of actual bytes read. Thanks to Thad Thompson for spotting this.
svn path=/trunk/mcs/; revision=150134
* WinSerialStream.cs: Make CommStat a struct instead of a class to
make properly work ClearCommError.
Fixes the remaining bits of #348751.
svn path=/trunk/mcs/; revision=147053
* 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.
svn path=/trunk/mcs/; revision=96216
* SerialPort.cs: Apply patch from Martin Green
<[email protected]> to support Serial Ports enumeration on
Windows.
svn path=/trunk/mcs/; revision=90583
* SerialPort.cs :
Added [DefaultValue]. For PortName it is useless though.
Do not use ObsoleteAttribute for MonoTODO role.
svn path=/trunk/mcs/; revision=89534
* SerialPort.cs: Don't throw ArgumentOutOfRangeException when the
buffer has Length = 0 (and has the appropriate arguments).
svn path=/trunk/mcs/; revision=81151
* SerialPortStream.cs: Fix the parameters in Read, and also poll
before the read, so we can thorw the TimeoutException.
svn path=/trunk/mcs/; revision=68125
* 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.
svn path=/trunk/mcs/; revision=63688
* 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).
svn path=/trunk/mcs/; revision=60663
* 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 <[email protected]>
svn path=/trunk/mcs/; revision=60402
* ISerialStream.cs:
* SerialPortStream.cs:
* SerialPort.cs:
* SerialSignal.cs:
Some changes to make SerialPorStream implement ISerialInterface,
and be able to have OS-depending backends.
svn path=/trunk/mcs/; revision=60368
* 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).
svn path=/trunk/mcs/; revision=58968
* 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.
svn path=/trunk/mcs/; revision=58580
* SerialPort.cs: We will do detection of systems differently as we
discussed over email. Drop malloc/free/uname calls.
svn path=/trunk/mcs/; revision=58031
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
used by us internally).
Ponder: should we instead move our methods to use new versions of
the Obsoleted ones?
2006-03-11 Miguel de Icaza <[email protected]>
* CodeNamespaceImportCollection.cs: It turns out that a lot of the
errors flagged with "!" were just missing explicit interface
implementations.
Implement.
2006-03-11 Miguel de Icaza <[email protected]>
* CodeDomConfigurationHandler.cs: Comment out unused methods.
* TempFileCollection.cs: Implement explicitly some interface
methods to get rid of the "!" errors on CorCompare.
2006-03-11 Miguel de Icaza <[email protected]>
* Queue.cs: Flag as serializable.
* LinkedList.cs (OnDeserialization): Fix signature.
* SortedList.cs: Implement explicitly a few methods that were
flagged by corcompare.
2006-03-11 Miguel de Icaza <[email protected]>
* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
avoid warning.
2006-03-11 Miguel de Icaza <[email protected]>
* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
internal to avoid warnings. This routine is called from
System.Web with MethodInfo.Invoke.
2006-03-11 Miguel de Icaza <[email protected]>
* DeflateStream.cs: Comment out DllImport that was not being
used.
2006-03-11 Miguel de Icaza <[email protected]>
* y
* SerialPort.cs: Remove unused variable (writeBuffer).
* SerialPortStream.cs (Dispose): override, not new.
2006-03-11 Miguel de Icaza <[email protected]>
* WebClient.cs: Only expose the right methods to avoid warnings.
* FtpDataStream.cs (Dispose): Fix signature.
* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
like we are missing features here).
* IPAddress.cs: Move m_HashCode property to the end, and set
pragmas to disable warnings.
2006-03-11 Miguel de Icaza <[email protected]>
* MailAddress.cs: Comment out unused field to remove warning.
2006-03-11 Miguel de Icaza <[email protected]>
* NetworkChange.cs: Use pragmas to eliminate warnings from events
that we do not trigger yet.
This is a candidate for using Aaron's NetworkManager code. But
would make us depend on d-bus.
* NetworkInformationException.cs: Use error_code for ErrorCode,
instead of NativeErrorCode. Fixes warning.
2006-03-11 Miguel de Icaza <[email protected]>
* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
need to do this everywhere one day).
(Close): actually obey the "leaveInnerStreamOpen" setting from the
constructor.
2006-03-11 Miguel de Icaza <[email protected]>
* NetworkStream.cs (Dispose): Use the right signature depending on
the profile being built.
2006-03-11 Miguel de Icaza <[email protected]>
* X509Chain.cs: Flagged member as internal to avoid unused warning.
* X500DistinguishedName.cs: Comment out unused names and move
temporary unused variables inside the comments that were removed
svn path=/trunk/mcs/; revision=57836
* SerialPort.cs:
* SerialPortStream.cs: Cleanups and some small funcionalities
added. Also, some code was moved to SerialPortStream, to have a
better design.
svn path=/trunk/mcs/; revision=57386
* SerialPortStream.cs: Move SerialPortStream to a new file,
to have a better organization.
2006-02-21 Carlos Alberto Cortez <[email protected]>
svn path=/trunk/mcs/; revision=57152
* 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).
svn path=/trunk/mcs/; revision=56885