fix error with output siphon

This commit is contained in:
benfry
2004-09-21 02:13:46 +00:00
parent ef5f5b57f6
commit b9d6fc6f56
2 changed files with 17 additions and 9 deletions
+6 -4
View File
@@ -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
+11 -5
View File
@@ -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