diff --git a/processing/app/PdeRuntime.java b/processing/app/PdeRuntime.java index 217503e88..4f65a9d0d 100644 --- a/processing/app/PdeRuntime.java +++ b/processing/app/PdeRuntime.java @@ -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 diff --git a/processing/todo.txt b/processing/todo.txt index d3e381308..55b3f25a9 100644 --- a/processing/todo.txt +++ b/processing/todo.txt @@ -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