diff --git a/build/macosx/dist/Processing.app/Contents/Info.plist b/build/macosx/dist/Processing.app/Contents/Info.plist index 6738c87e5..656c00abb 100755 --- a/build/macosx/dist/Processing.app/Contents/Info.plist +++ b/build/macosx/dist/Processing.app/Contents/Info.plist @@ -55,6 +55,7 @@ JVMVersion 1.4* ClassPath + $JAVAROOT/pde.jar:lib/core.jar:$JAVAROOT/antlr.jar:$JAVAROOT/oro.jar:$JAVAROOT/registry.jar:$JAVAROOT/quaqua.jar:/System/Library/Java diff --git a/build/macosx/make.sh b/build/macosx/make.sh index d9aa8ca77..7395f72d6 100755 --- a/build/macosx/make.sh +++ b/build/macosx/make.sh @@ -117,8 +117,9 @@ echo Building the PDE... # compile the code as java 1.3, so that the application will run and # show the user an error, rather than crapping out with some strange # "class not found" crap -#../build/macosx/work/jikes -target 1.3 +D -classpath ../build/macosx/work/classes:../build/macosx/work/lib/core.jar:../build/macosx/work/lib/antlr.jar:../build/macosx/work/lib/oro.jar:../build/macosx/work/lib/registry.jar:$CLASSPATH -d ../build/macosx/work/classes *.java syntax/*.java preproc/*.java tools/*.java -../build/macosx/work/jikes -target 1.3 +D -classpath ../build/macosx/work/classes:../build/macosx/work/lib/core.jar:../build/macosx/work/lib/antlr.jar:../build/macosx/work/lib/oro.jar:../build/macosx/work/lib/registry.jar:$CLASSPATH -d ../build/macosx/work/classes tools/*.java preproc/*.java syntax/*.java *.java +../build/macosx/work/jikes -target 1.3 +D -classpath ../build/macosx/work/classes:../build/macosx/work/lib/core.jar:../build/macosx/work/lib/antlr.jar:../build/macosx/work/lib/oro.jar:../build/macosx/work/lib/registry.jar:$CLASSPATH -d ../build/macosx/work/classes *.java syntax/*.java preproc/*.java tools/*.java +# version that follows includes jalopy.jar and log4j.jar +#../build/macosx/work/jikes -target 1.3 +D -classpath ../build/macosx/work/classes:../build/macosx/work/lib/core.jar:../build/macosx/work/lib/antlr.jar:../build/macosx/work/lib/oro.jar:../build/macosx/work/lib/registry.jar:../build/macosx/work/lib/jalopy.jar:../build/macosx/work/lib/log4j.jar:$CLASSPATH -d ../build/macosx/work/classes tools/*.java preproc/*.java syntax/*.java *.java cd ../build/macosx/work/classes rm -f ../lib/pde.jar diff --git a/candy/src/processing/candy/SVG.java b/candy/src/processing/candy/SVG.java index 96e384ea8..85ffdd9f7 100755 --- a/candy/src/processing/candy/SVG.java +++ b/candy/src/processing/candy/SVG.java @@ -31,27 +31,27 @@ import processing.xml.*; /** * Candy is a minimal SVG import library for Processing. - * Candy was written by Michael Chang, and later revised and + * Candy was written by Michael Chang, and later revised and * expanded for use as a Processing core library by Ben Fry. *

* SVG stands for Scalar Vector Graphics, a portable graphics * format. It is a vector format so it allows for infinite resolution * and relatively minute file sizes. Most modern media software - * can view SVG files, including Firefox, Adobe products, etc. + * can view SVG files, including Firefox, Adobe products, etc. * You can use something like Illustrator to edit SVG files. *

* We have no intention of turning this into a full-featured SVG library. * The goal of this project is a basic shape importer that is small enough - * to be included with applets, meaning that its download size should be + * to be included with applets, meaning that its download size should be * in the neighborhood of 25-30k. Because of this size, it is not made part * of processing.core, because it would increase the download size of any - * applet by 20%, and it's not a feature that will be used by 20% of our - * audience. For more sophisticated import/export, consider the + * applet by 20%, and it's not a feature that will be used by 20% of our + * audience. For more sophisticated import/export, consider the * Batik library * from the Apache Software Foundation. Future improvements to this * library may focus on this properly supporting a specific subset of - * SVG, for instance the simpler SVG profiles known as - * SVG Tiny or Basic, + * SVG, for instance the simpler SVG profiles known as + * SVG Tiny or Basic, * although we still would not support the interactivity options. *

* This library was specifically tested under SVG files created from @@ -62,40 +62,40 @@ import processing.xml.*; *

* An SVG created under Illustrator must be created in one of two ways: *

+ * * Saving it any other way will most likely break Candy. - * + * *


- * + * * A minimal example program using Candy: * (assuming a working moo.svg is in your data folder) - * + * *

  * import processing.candy.*;
  * import processing.xml.*;
- * 
+ *
  * SVG moo;
  * void setup(){
  *   size(400,400);
  *   moo = new SVG("moo.svg",this);
- * } 
+ * }
  * void draw(){
  *   moo.draw();
- * } 
+ * }
  * 
- * - * Note that processing.xml is imported as well. This is not needed + * + * Note that processing.xml is imported as well. This is not needed * when running the app directly from Processing, as Candy will know * where it is. However when you export as an applet you will * also need to export processing.xml along with it to have working Candy. - * + * *


* - * Revisions for "Candy 2" November 2006 by fry + * Revisions for "Candy 2" November 2006 by fry *

- * + * * Revision 10/31/06 by flux *