mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix error with output siphon
This commit is contained in:
+6
-4
@@ -552,10 +552,12 @@ java.lang.NullPointerException
|
||||
while (Thread.currentThread() == thread) {
|
||||
try {
|
||||
int count = input.read(boofer, 0, boofer.length);
|
||||
if (count == -1) thread = null;
|
||||
//System.out.print("bc" + count + " " + new String(boofer, 0, count));
|
||||
//PApplet.println(boofer);
|
||||
System.out.print(new String(boofer, 0, count));
|
||||
if (count == -1) {
|
||||
thread = null;
|
||||
|
||||
} else {
|
||||
System.out.print(new String(boofer, 0, count));
|
||||
}
|
||||
|
||||
} catch (IOException e) {
|
||||
// this is prolly because the app was quit & the stream broken
|
||||
|
||||
@@ -70,17 +70,23 @@ X "Processing" folder not properly created on new install
|
||||
X add noLoop() to static mode apps
|
||||
X remove "loop" from special inserts on preproc
|
||||
|
||||
_ static applets need to be able to resize themselves on 'play'
|
||||
_ figure out what to do with static apps exported as application
|
||||
_ needs to just hang there
|
||||
_ scripts will need to call exit() explicitly
|
||||
|
||||
_ add all imported libs to hash table of jars
|
||||
|
||||
_ after export of library, rebuild "import library" menu
|
||||
|
||||
_ when running externally, build into sketch folder?
|
||||
|
||||
|
||||
_ static applets need to be able to resize themselves on 'play'
|
||||
_ figure out what to do with static apps exported as application
|
||||
_ needs to just hang there
|
||||
_ scripts will need to call exit() explicitly
|
||||
_ "create font" not working well with postscript font names
|
||||
_ need to remap the postscript name back to the java font name
|
||||
_ or keep a list of font objects, not just the names
|
||||
_ since already have the list, can use deriveFont
|
||||
_ tabs on macosx are stinking.. need to use line metrics class
|
||||
|
||||
_ libraries
|
||||
_ attachLibrary(new libsomething()) and attachLibrary("pitaru.Sonia");
|
||||
o final stop() for static shutdown of lib
|
||||
|
||||
Reference in New Issue
Block a user