fix library examples for net and camera, fix libs as well

This commit is contained in:
benfry
2004-09-27 00:25:47 +00:00
parent 52714aa519
commit dc0ef36fdd
3 changed files with 26 additions and 7 deletions

View File

@@ -381,9 +381,10 @@ public class PdeRuntime implements PdeMessageConsumer {
return;
}
// these are used for debugging, in case there are concerns
// that som errors aren't coming through properly
//System.err.println("message " + s.length() + ":" + s);
// is this only for debugging, or?
if (s.length() > 2) System.err.println(s);
//if (s.length() > 2) System.err.println(s);
// this is PApplet sending a message saying "i'm about to spew
// a stack trace because an error occurred during PApplet.run()"

View File

@@ -322,6 +322,9 @@ public class PdeSketchbook {
if (addLibraries(importMenu, new File(getSketchbookPath()))) {
importMenu.addSeparator();
}
if (addLibraries(importMenu, examplesFolder)) {
importMenu.addSeparator();
}
addLibraries(importMenu, librariesFolder);
//System.out.println("libraries cp is now " + librariesClassPath);

View File

@@ -120,17 +120,26 @@ X "create font" not working well with postscript font names
X need to remap the postscript name back to the java font name
X or keep a list of font objects, not just the names
X since already have the list, can use deriveFont
X tabs on macosx are stinking.. need to use line metrics class
_ double-check library stuff to make sure they're using the new system
040926 early evening
X tabs on macosx are stinking.. need to use line metrics class
X double-check library stuff to make sure they're using the new system
X add examples folder to import libraries stuff
X fix bug causing System.err for external to print twice
X modify lib examples for camera, net, serial(?)
_ add "archive" option since history is gone
_ fix dist.sh for mac, pc, linux
_ fix dist.sh for mac, pc
_ write better handler for compiler error:
_ c:/fry/processing/build/windows/work/lib/build/Temporary_8501_3382.java:1:63:1:70: Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Package "poo/shoe" could not be found in:
_ macosx - check to see if new linemetrics stuff is working better
_ move libraries around in distribution
_ write revisions.txt and readme.txt
README
_ make the whole thing an html file?
@@ -145,7 +154,7 @@ _ run.bat often works fine
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1094148057
_ or with spaces in the folder name, causes problems for serial
_ quicktime full uninstall/reinstall
_ installing winvdig
_ installing winvdig
_ code folder problems - antivirus or firewall
_ update readme with notes from bboard about "built with processing"
_ add to "common problems"
@@ -157,6 +166,8 @@ _ history is not implemented in this version
......................................................................
_ get linux version for 0071
_ implement new version of history
_ make history folder, and a zip (not gz) file for each entry
_ history causing trouble - super slow with a huge sketch
@@ -183,6 +194,9 @@ _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs
_ something in that one about mouse position halting or not
hanging bug
to try: 1) don't use a bufferedreader.. just read it and then use a
buffered reader around the byte array 2) don't do anything with the
input, and just read it off without signalling message()
* it may be something to do with the editor consoles. try shutting off
output to the console and see if it'll still crash.
* most likely related to io streams to the external java process. when
@@ -210,9 +224,10 @@ _ needs to just hang there
_ scripts (w/ no graphics) will need to call exit() explicitly
exporting libraries
libraries
_ compiling - main file is a .java not a .pde
_ also where no root .pde file with the same name.. (i.e. video)
_ on "new library" fill in the default code for the lib
_ record imports from java files as well
_ ignore imports from java.* or maybe just things pde's classpath
_ after export of library, rebuild "import library" menu