Commit Graph
15 Commits
Author SHA1 Message Date
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
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
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
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
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
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
Andrew Skiba 9193ddbb24 TARGET_JVM
svn path=/trunk/mcs/; revision=66027
2006-09-28 13:32:30 +00:00
Miguel de Icaza 18159ff054 2006-08-13 Miguel de Icaza <[email protected]>
* 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
2006-08-13 22:13:18 +00:00
Carlos Alberto Cortez 98fe6e1118 2005-05-12 Carlos Alberto Cortez <[email protected]>
* 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
2006-05-12 20:18:55 +00:00
Carlos Alberto Cortez fc71db5a36 * 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 <[email protected]>


svn path=/trunk/mcs/; revision=60402
2006-05-08 13:44:25 +00:00
Carlos Alberto Cortez f637bb3807 2005-05-08 Carlos Alberto Cortez <[email protected]>
* WinSerialStream.cs: Implement some bits needed for
	the backend thing.


svn path=/trunk/mcs/; revision=60400
2006-05-08 12:49:28 +00:00
Carlos Alberto Cortez 6dcd3635ec 2006-04-20 Carlos Alberto Cortez <[email protected]>
* WinSerialPort.cs: Inital import of the backend stream
	for Windows support.
	

svn path=/trunk/mcs/; revision=59729
2006-04-21 06:47:26 +00:00