From 967f6587ead05b6d797a53f6c9db595c390e32f0 Mon Sep 17 00:00:00 2001 From: benfry Date: Sun, 7 Feb 2010 21:56:52 +0000 Subject: [PATCH] build changes, import list pref, other misc --- .../app/preproc/PdePreprocessor.java | 5 +- build/build.xml | 4 +- build/shared/lib/preferences.txt | 2 +- todo.txt | 47 ++++++++++--------- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/app/src/processing/app/preproc/PdePreprocessor.java b/app/src/processing/app/preproc/PdePreprocessor.java index 89cab0495..7f692f086 100644 --- a/app/src/processing/app/preproc/PdePreprocessor.java +++ b/app/src/processing/app/preproc/PdePreprocessor.java @@ -128,12 +128,9 @@ import antlr.collections.*; */ public class PdePreprocessor { -// String[] defaultImports; - // these ones have the .* at the end, since a class name might be at the end // instead of .* which would make trouble other classes using this can lop // off the . and anything after it to produce a package name consistently. - //public String extraImports[]; ArrayList programImports; // imports just from the code folder, treated differently @@ -516,7 +513,7 @@ public class PdePreprocessor { public String[] getDefaultImports() { // These may change in-between (if the prefs panel adds this option) - String prefsLine = Preferences.get("preproc.default_imports"); + String prefsLine = Preferences.get("preproc.imports.list"); return PApplet.splitTokens(prefsLine, ", "); } diff --git a/build/build.xml b/build/build.xml index 34e532195..d13c6fed6 100644 --- a/build/build.xml +++ b/build/build.xml @@ -316,7 +316,7 @@ - - diff --git a/build/shared/lib/preferences.txt b/build/shared/lib/preferences.txt index 5920cbb4a..22776f497 100755 --- a/build/shared/lib/preferences.txt +++ b/build/shared/lib/preferences.txt @@ -205,7 +205,7 @@ preproc.substitute_unicode = true preproc.output_parse_tree = false # Changed after 1.0.9 to a new name, and also includes the specific entries -preproc.default_imports = java.applet.*,java.awt.Dimension,java.awt.Frame,java.awt.event.MouseEvent,java.awt.event.KeyEvent,java.awt.event.FocusEvent,java.awt.Image,java.io.*,java.net.*,java.text.*,java.util.*,java.util.zip.*,java.util.regex.* +preproc.imports.list = java.applet.*,java.awt.Dimension,java.awt.Frame,java.awt.event.MouseEvent,java.awt.event.KeyEvent,java.awt.event.FocusEvent,java.awt.Image,java.io.*,java.net.*,java.text.*,java.util.*,java.util.zip.*,java.util.regex.* # set the browser to be used on linux browser.linux = mozilla diff --git a/todo.txt b/todo.txt index feb335cdb..9889d9f36 100644 --- a/todo.txt +++ b/todo.txt @@ -27,15 +27,30 @@ X not opengl, but the others do X NullPointerException in JOGLAppletLanucher with Java 6 Update 18 on Windows X switching to more efficient JNLP export X http://dev.processing.org/bugs/show_bug.cgi?id=1452 +X lack of java.awt.Polygon import breaks the yellowtail example +X and java.io.File (other exceptions?) +o just add a simple poly class? or don't use a poly? +X add imports for anything that's in the reference (selections from java.io) +o 'Array' in reference should be 'arrays' lowercase X move build scripts to something better like ant X too much to maintain the multiple versions, too much code X http://dev.processing.org/bugs/show_bug.cgi?id=151 -_ remove the intermediate build folders -_ also update build/howto.txt (of course) because it says no ant -_ this would also mean requiring a java installation for building -_ so may as well move the jdk stuff outside of the build -_ http://ant.apache.org/manual/CoreTasks/get.html +X remove the intermediate build folders +_ update build/howto.txt (of course) because it says no ant +_ this would also mean requiring a java installation for building +_ move the jdk stuff outside of the build +_ http://processing.org/download/jre-6u18.zip, .tgz +_ only get the java files when doing a dist build +_ http://ant.apache.org/manual/CoreTasks/get.html + +_ command line support is currently broken +_ http://dev.processing.org/bugs/show_bug.cgi?id=1048 +_ some fixes can be found in the bug report +_ need to deal with setting path to sketchbook/examples +_ also deal with the script not being in the right folder +_ problems with imports and prefs file +_ http://dev.processing.org/bugs/show_bug.cgi?id=1298 cleaning X update to jogl 1.1.1 @@ -43,6 +58,11 @@ X do this with enhanced library/platform support X see how platform is determined by jogl / use for lib import X apple bug may have been fixed X http://dev.processing.org/bugs/show_bug.cgi?id=786 +X javadoc "advanced" reference by beta +X and then finalizing it towards 1.0 + +_ make sure javadoc builds and uploads, also the zip files +_ add additional caveats about incompletion _ processing 0142 japanese input problem @@ -53,11 +73,6 @@ _ or rather, why can't they be overridden? _ should fonts at least be in prefs.txt? _ http://dev.processing.org/bugs/show_bug.cgi?id=1444 -_ lack of java.awt.Polygon import breaks the yellowtail example -_ and java.io.File (other exceptions?) -_ just add a simple poly class? or don't use a poly? -import java.util.Hashtable; - svn copy svn://processing.org/trunk/processing svn://processing.org/tags/processing-01XX _ automatically add version numbers to Info.plist @@ -198,9 +213,6 @@ _ problem with startup on vista 64 _ try this with windows 7 64-bit (install on laptop?) _ http://dev.processing.org/bugs/show_bug.cgi?id=1246 -_ make sure javadoc builds and uploads, also the zip files -_ add additional caveats about incompletion - _ problem with keyboard shortcuts when building from source _ http://dev.processing.org/bugs/show_bug.cgi?id=1231 @@ -274,13 +286,6 @@ _ need someone to go out and test all scenarios of this [ known bugs ] -_ command line support is currently broken -_ http://dev.processing.org/bugs/show_bug.cgi?id=1048 -_ some fixes can be found in the bug report -_ need to deal with setting path to sketchbook/examples -_ also deal with the script not being in the right folder -_ problems with imports and prefs file -_ http://dev.processing.org/bugs/show_bug.cgi?id=1298 _ video library threading problems with other libraries _ http://dev.processing.org/bugs/show_bug.cgi?id=882 _ using Capture.list() before size() sometimes works @@ -1346,8 +1351,6 @@ _ need .psk file icon _ need exported application icons _ need more comprehensive list of 'known bugs' _ need more comprehensive list of 'known suggestions' -_ javadoc "advanced" reference by beta -_ and then finalizing it towards 1.0 _ write notes about running p5 on another platforms _ this was some feedback from running on bsd: _ /usr/local/jdk1.3.1/bin/java -cp lib:lib/build:lib/pde.jar:lib/kjc.jar:lib/oro.jar:java/lib/ext/comm.jar PdeBase