mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix problem with bufferUntil() not properly handling values over 127 (issue #1079)
This commit is contained in:
@@ -68,7 +68,7 @@ public class Serial implements SerialPortEventListener {
|
||||
//boolean bufferUntil = false;
|
||||
int bufferSize = 1; // how big before reset or event firing
|
||||
boolean bufferUntil;
|
||||
int bufferUntilByte;
|
||||
byte bufferUntilByte;
|
||||
|
||||
|
||||
// defaults
|
||||
@@ -306,7 +306,7 @@ public class Serial implements SerialPortEventListener {
|
||||
*/
|
||||
public void bufferUntil(int what) {
|
||||
bufferUntil = true;
|
||||
bufferUntilByte = what;
|
||||
bufferUntilByte = (byte) what;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -11,8 +11,12 @@ o instead of "show sketch folder" method, use:
|
||||
The com.apple.eio.FileManager now has two new desktop interaction methods, revealInFinder(File) and moveToTrash(File). You can use revealInFinder() to open a Finder window in the parent directory of of a file and select it. You can use moveToTrash() to move a file to the most appropriate Trash directory for the volume that contains that file.
|
||||
X added 64-bit RXTX for Mac OS X
|
||||
X http://blog.iharder.net/2009/08/18/rxtx-java-6-and-librxtxserial-jnilib-on-intel-mac-os-x/
|
||||
X bufferUntil() with values above 127 do not work properly
|
||||
X http://code.google.com/p/processing/issues/detail?id=1079
|
||||
X add warning message about using serial on OS X
|
||||
_ check on other serial issues, this may fix them
|
||||
X check on other serial issues, this may fix them
|
||||
X http://code.google.com/p/processing/issues/detail?id=944
|
||||
X http://code.google.com/p/processing/issues/detail?id=937
|
||||
|
||||
cleaning
|
||||
o switching into present mode in info.plist
|
||||
|
||||
Reference in New Issue
Block a user