Alexander Köplinger
e0e93f396d
[System] Rename method parameters to match .NET contract
2017-03-16 13:02:09 +01:00
Marek Safar
47a6f56439
[bcl] Clean up some warnings
2016-11-29 19:16:02 +01:00
Alexander Köplinger
b03e606287
Remove ChangeLog files from the repo
...
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Dan Parnham
87e7f1c2d7
Included /dev/ttyACM in the search for serial port devices, since CDC ACM is a standard
...
protocol for emulating serial ports over USB.
2014-10-22 16:21:20 +01:00
Zoltan Varga
bfc3336224
[bcl] Catch exceptions thrown by SerialPortStream.Dispose () when called from the finalizer. Fixes #15514 .
2014-08-29 15:06:25 -04:00
Alexander Köplinger
48e112d652
[Cleanup] Removed TARGET_JVM
...
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar
b6c0a335b5
Fix win serial port constants. Fixes #8285
2012-11-11 15:46:54 +01:00
Linquize
dd74d48913
Properly implement SerialPort.Read (char[], int, int)
2012-06-20 22:26:33 +08:00
Miguel de Icaza
f48ceb9860
[System] Removal of the NET_2_0 in the source code
...
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
2012-06-02 13:16:40 -04:00
JamesB7
caadb77507
This fixes Mono's Windows serial support for COM10+, while also not breaking compatibility with Mono for Windows programs that rely on the earlier incorrect behavior.
2012-04-24 13:33:16 -03:00
Konrad M. Kruczynski
08ae14cdf2
[Fix] #635971 Fixed throwing exception in case of using zero timeout. Now it is legal.
...
For details, please see bug description and comments on bugzilla.
2011-05-16 22:21:35 +02:00
Konrad Kruczyński
e52c4c677f
Edited mcs/class/System/System.IO.Ports/SerialPortStream.cs via GitHub
2011-05-04 04:51:44 -07:00
Konrad M. Kruczynski
718b24e6ae
Added exception in case of using nonstandard baud rate on POSIX boxes, which is not supported by termios. OutOfRange rather than NotSupported exception due to interface compatibility.
2011-05-01 14:20:54 +02:00
Raja R Harinath
b293948fb7
EOL handling
...
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Miguel de Icaza
cc0d8dfa30
2010-04-22 Miguel de Icaza <[email protected] >
...
* SerialPort.cs: Try to detect serial devices in other Unix
systems.
svn path=/trunk/mcs/; revision=155961
2010-04-22 20:50:27 +00:00
Miguel de Icaza
aa1a36faa9
2010-04-22 Miguel de Icaza <[email protected] >
...
* SerialPort.cs: Try to detect serial devices in other Unix
systems.
svn path=/trunk/mcs/; revision=155960
2010-04-22 19:42:15 +00:00
Carlos Alberto Cortez
a98ec1c2e6
2010-02-23 Carlos Alberto Cortez <[email protected] >
...
* 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
2010-02-23 09:25:50 +00:00
Leszek 'skolima' Ciesielski
3d0184ae01
2010-01-25 Leszek Ciesielski <[email protected] >
...
* 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
2010-01-25 16:07:01 +00:00
Leszek 'skolima' Ciesielski
3dd68a17ca
2010-01-22 Leszek Ciesielski <[email protected] >
...
* SerialPortStream.cs: Check for error on every native call
svn path=/trunk/mcs/; revision=150062
2010-01-22 10:31:04 +00:00
Carlos Alberto Cortez
8748ce9ec8
2009-11-28 Carlos Alberto Cortez <[email protected] >
...
* 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
2009-11-28 15:42:18 +00:00
Christian Hoff
69302534d7
2009-09-24 Christian Hoff <[email protected] >
...
* SerialPort.cs: Do not close the base stream if Dispose is called from
the finalizer.
svn path=/trunk/mcs/; revision=142560
2009-09-24 10:23:41 +00:00
Leszek 'skolima' Ciesielski
0cfe5fd8ab
* SerialPortStream.cs: Throw exception when errors occur in Close()
...
svn path=/trunk/mcs/; revision=142302
2009-09-21 08:20:59 +00:00
Miguel de Icaza
8e07acf772
Multiple files:
...
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
svn path=/trunk/mcs/; revision=121711
2008-12-17 17:56:25 +00:00
Paolo Molaro
bd23e8ade8
Changes to follow PlatformID corlib changes.
...
svn path=/trunk/mcs/; revision=115659
2008-10-13 15:04:34 +00:00
Carlos Alberto Cortez
6506016e1c
2007-09-14 Carlos Alberto Cortez <[email protected] >
...
* WinSerialStream.cs: Fix the signature of ClearCommError.
Fixes #348751 .
svn path=/trunk/mcs/; revision=112973
2008-09-14 21:55:20 +00:00
Carlos Alberto Cortez
f15005a06b
2008-09-14 Carlos Alberto Cortez <[email protected] >
...
* SerialPort.cs: Throw ArgumentException if NewLine gets an empty
string value.
Fixes #339012 .
svn path=/trunk/mcs/; revision=112964
2008-09-14 17:39:56 +00:00
Carlos Alberto Cortez
26813c97b3
2008-09-08 Carlos Alberto Cortez <[email protected] >
...
* SerialPort.cs: In BaseStream property call CheckOpen instead of
duplicating the code.
svn path=/trunk/mcs/; revision=112498
2008-09-08 12:34:47 +00:00
Carlos Alberto Cortez
6bbb1ebd43
2008-02-19 Carlos Alberto Cortez <[email protected] >
...
* 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
2008-02-20 01:14:38 +00:00
Miguel de Icaza
564992162e
2007-12-03 Miguel de Icaza <[email protected] >
...
* SerialPort.cs: Apply patch from Martin Green
<[email protected] > to support Serial Ports enumeration on
Windows.
svn path=/trunk/mcs/; revision=90583
2007-12-03 19:40:03 +00:00
Atsushi Eno
96bc55f3ca
2007-11-13 Atsushi Enomoto <[email protected] >
...
* SerialPort.cs :
Added [DefaultValue]. For PortName it is useless though.
Do not use ObsoleteAttribute for MonoTODO role.
svn path=/trunk/mcs/; revision=89534
2007-11-13 09:46:19 +00:00
Miguel de Icaza
79f4eed6d3
2007-11-05 Miguel de Icaza <[email protected] >
...
* SerialPort.cs: Cope with multi-character newlines. Fixes #321988 .
svn path=/trunk/mcs/; revision=88869
2007-11-05 14:49:17 +00:00
Miguel de Icaza
7333a80394
2007-10-13 Miguel de Icaza <[email protected] >
...
* SerialPortStream.cs: Send a break on the Unix case.
svn path=/trunk/mcs/; revision=87453
2007-10-14 03:13:12 +00:00
Miguel de Icaza
c8088c1d5e
Second part of fix for bug #81967
...
2007-08-12 Lukasz Byczynski <[email protected] >
* SerialPortStream.cs: added timeout handling on write
* WinSerialStream.cs: fixed setting handshake flags
svn path=/trunk/mcs/; revision=83922
2007-08-12 16:18:32 +00:00
Carlos Alberto Cortez
5770c73a0a
2007-07-01 Carlos Alberto Cortez <[email protected] >
...
* SerialPort.cs: Don't throw ArgumentOutOfRangeException when the
buffer has Length = 0 (and has the appropriate arguments).
svn path=/trunk/mcs/; revision=81151
2007-07-02 01:40:00 +00:00
Atsushi Eno
e8dc24997c
2007-05-21 Atsushi Enomoto <[email protected] >
...
* SerialPort.cs : slightly boring 2.0 attributes.
svn path=/trunk/mcs/; revision=77737
2007-05-21 02:15:18 +00:00
Sebastien Pouliot
067ac624b1
2007-05-01 Sebastien Pouliot <[email protected] >
...
* WinSerialStream.cs: Fix build due to NativeOverlapped being updated
to 2.0 definition (int to IntPtr).
svn path=/trunk/mcs/; revision=76535
2007-05-01 17:25:38 +00:00
Paolo Molaro
c5bdf444a2
Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <[email protected] >
...
* WinSerialStream.cs: fixed logic for signal value check (bug #81342 ).
svn path=/trunk/mcs/; revision=75610
2007-04-11 13:43:24 +00:00
Miguel de Icaza
40d14c161e
To improve Moma Reports
...
svn path=/trunk/mcs/; revision=70150
2006-12-28 01:03:29 +00:00
Alp Toker
be35793bf8
Remove commented code
...
svn path=/trunk/mcs/; revision=69427
2006-12-12 19:01:13 +00:00
Miguel de Icaza
8f5e2358e7
Not clear what this API does, seems like designer API
...
svn path=/trunk/mcs/; revision=69407
2006-12-12 16:20:11 +00:00
Miguel de Icaza
d8714697c3
2006-11-18 Jelle Hissink <[email protected] >
...
* 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
2006-11-18 16:40:43 +00:00
Andrew Skiba
9193ddbb24
TARGET_JVM
...
svn path=/trunk/mcs/; revision=66027
2006-09-28 13:32:30 +00:00
Gonzalo Paniagua Javier
4f503bd7b8
oops
...
svn path=/trunk/mcs/; revision=63791
2006-08-15 20:47:50 +00:00
Gonzalo Paniagua Javier
fc384a1caf
2006-08-15 Gonzalo Paniagua Javier <[email protected] >
...
* SerialPort.cs: allow settings StopBits.None.
svn path=/trunk/mcs/; revision=63790
2006-08-15 20:42:40 +00:00
Chris Toshok
74a14e20f5
remove writeline
...
svn path=/trunk/mcs/; revision=63727
2006-08-14 15:58:12 +00:00
Chris Toshok
f04fcf0bfe
2006-08-14 Chris Toshok <[email protected] >
...
* SerialPort.cs: the paths returned by Directory.GetFiles have the
directory at the beginning of the string.
svn path=/trunk/mcs/; revision=63725
2006-08-14 15:37:59 +00:00
Miguel de Icaza
316a21e015
Condition when we reset
...
svn path=/trunk/mcs/; revision=63695
2006-08-14 01:52:12 +00:00
Miguel de Icaza
d82e3e883c
2006-08-13 Miguel de Icaza <[email protected] >
...
* SerialPort.cs (ReadTo): Implemented.
Add a couple of missing checks.
svn path=/trunk/mcs/; revision=63694
2006-08-14 01:46:11 +00:00
Miguel de Icaza
0c94e2fc97
2006-08-13 Miguel de Icaza <[email protected] >
...
* SerialPort.cs: Also handle ttyUSB for Chris.
svn path=/trunk/mcs/; revision=63692
2006-08-14 01:18:03 +00:00
Miguel de Icaza
a83d4bdfa7
A few more DefaultValueAttributes
...
svn path=/trunk/mcs/; revision=63691
2006-08-14 01:09:17 +00:00