patchDotGNU Portable.NET - Patches: patch #3448, Patches for System.IO.Ports. ...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3448: Patches for System.IO.Ports. Implement read timeout and SerialPort.ReadLine()

Submitter:  Adam Gibson <xstatica>
Submitted:  Fri 15 Oct 2004 03:36:38 AM UTC
   
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Mon 18 Oct 2004 09:25:38 AM UTC, comment #4: 

Applied to CVS on 15th Oct 2004.

Gopal.V <t3rmin4t0r>
Group administrator
Fri 15 Oct 2004 03:50:46 AM UTC, comment #3: 

ilrun and System.dll are the finaly build files that are affected by the change.  Just another fyi.  Must get sleep...

Adam Gibson <xstatica>
Fri 15 Oct 2004 03:45:30 AM UTC, comment #2: 

The LF change is only for the SerialPort ReadLine() type functions.  Only ReadLine uses it right now to determine when  a line ends(per msdn the eol byte(s) are not returned with the data).  My description sounded more global.  I didn't change the Environment stuff... just want to make sure people understand the change.

Adam Gibson <xstatica>
Fri 15 Oct 2004 03:38:36 AM UTC, comment #1: 

Only tested on Linux.

Adam Gibson <xstatica>
Fri 15 Oct 2004 03:36:38 AM UTC, original submission:  

- Implemented SerialPort.ReadLine() function.
- Implemented read timeouts which works with all currently read functions.  This required adding a paremeter to _IL_PortMethods_WaitForInput for the timeout value.
- Changed default end of line character to LF instead of CRLF to mimic per msdn which is how the current .net 2.0 runtime works.

Verified that patches work with current CVS as of 2004-10-14 ~10:30pm EST.
Verified that the changes mimic what .net 2.0 beta1 runtime does by writing some test code.

Adam Gibson <xstatica>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7930:  xstatica-system.io.ports-patches.tar added by xstatica (20KiB - application/x-tar - 2 patch files tar'd for System.IO.Ports. Implement read timeout and new member functions now working)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-18 t3rmin4t0r StatusNone Done
    Open/ClosedOpen Closed
2004-10-15 xstatica Attached File- Added xstatica-system.io.ports-patches.tar, #3770

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code