beginning rev 0141

This commit is contained in:
benfry
2008-06-10 20:02:16 +00:00
parent 809ec95da9
commit 8853294c3f
5 changed files with 86 additions and 79 deletions
+13 -13
View File
@@ -42,11 +42,11 @@ import processing.core.*;
* files and images, etc) that comes from that.
*/
public class Base {
static final int VERSION = 140;
static final String VERSION_NAME = "0140 Beta";
static final int VERSION = 141;
static final String VERSION_NAME = "0141 Beta";
static Platform platform;
// set to true after the first time the menu is built.
// so that the errors while building don't show up again.
boolean builtOnce;
@@ -90,7 +90,7 @@ public class Base {
"Java 1.5 or later to run properly.\n" +
"Please visit java.com to upgrade.", null);
}
try {
Class platformClass = Class.forName("processing.app.Platform");
if (Base.isMacOS()) {
@@ -151,9 +151,9 @@ public class Base {
if (!skechbookFolder.exists()) {
Base.showWarning("Sketchbook folder disappeared",
"The sketchbook folder no longer exists.\n" +
"Processing will switch to the default sketchbook\n" +
"Processing will switch to the default sketchbook\n" +
"location, and create a new sketchbook folder if\n" +
"necessary. Procesing will then stop talking about\n" +
"necessary. Procesing will then stop talking about\n" +
"himself in the third person.", null);
sketchbookPath = null;
}
@@ -1064,11 +1064,11 @@ public class Base {
public File getDefaultSketchbookFolder() {
File sketchbookFolder = null;
File sketchbookFolder = null;
try {
sketchbookFolder = platform.getDefaultSketchbookFolder();
} catch (Exception e) { }
if (sketchbookFolder == null) {
sketchbookFolder = promptSketchbookLocation();
}
@@ -1112,7 +1112,7 @@ public class Base {
// .................................................................
/**
* Implements the cross-platform headache of opening URLs
* TODO This code should be replaced by PApplet.link(),
@@ -1125,7 +1125,7 @@ public class Base {
platform.openURL(url);
} catch (Exception e) {
showWarning("Problem Opening URL",
showWarning("Problem Opening URL",
"Could not open the URL\n" + url, e);
}
}
@@ -1149,12 +1149,12 @@ public class Base {
platform.openFolder(file);
} catch (Exception e) {
showWarning("Problem Opening Folder",
showWarning("Problem Opening Folder",
"Could not open the folder\n" + file.getAbsolutePath(), e);
}
}
// .................................................................
@@ -1283,7 +1283,7 @@ public class Base {
showReference("troubleshooting" + File.separator + "index.html");
}
// .................................................................
+6 -1
View File
@@ -1,5 +1,10 @@
0140 core
X add static version of loadBytes() that reads from a File object
X slightly clearer error messages when OpenGL stuff is missing
0139 core
X no changes for 0139
X no changes to core in 0139
0138 core
+1 -3
View File
@@ -1,6 +1,4 @@
0140 core
X add static version of loadBytes() that reads from a File object
X slightly clearer error messages when OpenGL stuff is missing
0141 core
_ pdf not rendering unicode (though it renders to screen)
+65
View File
@@ -1,3 +1,68 @@
0140 pde
X fallback locations for sketchbook and data folders are disabled
X move openFolder, openFolderAvailable, openURL to Platform classes
X can't get documents/prefs folder on vista
X http://dev.processing.org/bugs/show_bug.cgi?id=585
X closing until further notice
o vista disables aero theme when p5 is run
o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1196016889
X can't seem to verify this
X occasional division by zero on windows
X http://dev.processing.org/bugs/show_bug.cgi?id=777
X should be fixed, but need to verify once a release candidate is ready
X two fixes for readBytesUntil() and bufferUntil()
X also not calling serialEvent()
X http://dev.processing.org/bugs/show_bug.cgi?id=96
X fix goof with console preference in preferences.txt
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1213042400
X need to add usequartz when running externally?
X no, tested and it seems to be working
cleaning
o respond to stop/close events sent by the vm
X not sure what we're doing here
X on osx, System.err isn't writing in things like createGraphics()
X but doing a printStackTrace(System.out) works
X something weird happening with one of the streams shutting down?
X probably, need to fix this by using the remote launcher/debug api
X use proper external launcher via debugger api
X http://java.sun.com/javase/technologies/core/toolsapis/jpda/
X small gray gap shows up in color picker
X getMaximumSize() not being respected on Windows (Linux?)
X http://dev.processing.org/bugs/show_bug.cgi?id=310
X same as bug #656
X http://dev.processing.org/bugs/show_bug.cgi?id=656
further cleanup for simpler building (refactor lots of Base)
o settings.path.fallback not being used
o need to check the mkdirs() to make sure it's not going too deep
o really important for intl versions that are having trouble
o or ask for the sketch folder name.. why isn't it?
o http://processing.org/bugs/show_bug.cgi?id=1
X remove settings.path.fallback
X no error message if sketchbook folder is set to bad location
X says that it's gonna create new sketchbook in default loc
X even though that location might exist already (just word it better)
X "changing back to default sketchbook location"
X move tools.jar into jre/lib folder
X implement windows registry lookups via reflection
X http://dev.processing.org/bugs/show_bug.cgi?id=723
X or move to jna for registry?
X https://jna.dev.java.net/source/browse/jna/trunk/jnalib/contrib/ntservice/src/jnacontrib/win32/Registry.java?rev=293&view=markup
X remove libs from build/shared that are in app/lib
X update scripts to copy from app/lib
X since adding tools.jar, jikes can be removed
X switch to javac (in code)
X re-wire error handling to handle javac error messages
o seem to be primarily 2 kinds?
X finish osx build script to make the libraries
X make.sh creating work/lib dirs.. no longer necessary?
wontfix
X Programs run with release 0136+ are sometimes slower due to Java 1.5
X http://dev.processing.org/bugs/show_bug.cgi?id=798
0139 pde
X update quaqua to 3.9.5 on macosx (http://www.randelshofer.ch/quaqua/)
X xml.getIntAttribute() returns a float
+1 -62
View File
@@ -1,66 +1,5 @@
0140 pde
X fallback locations for sketchbook and data folders are disabled
X move openFolder, openFolderAvailable, openURL to Platform classes
X can't get documents/prefs folder on vista
X http://dev.processing.org/bugs/show_bug.cgi?id=585
X closing until further notice
o vista disables aero theme when p5 is run
o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1196016889
X can't seem to verify this
X occasional division by zero on windows
X http://dev.processing.org/bugs/show_bug.cgi?id=777
X should be fixed, but need to verify once a release candidate is ready
X two fixes for readBytesUntil() and bufferUntil()
X also not calling serialEvent()
X http://dev.processing.org/bugs/show_bug.cgi?id=96
X fix goof with console preference in preferences.txt
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1213042400
X need to add usequartz when running externally?
X no, tested and it seems to be working
0141 pde
cleaning
o respond to stop/close events sent by the vm
X not sure what we're doing here
X on osx, System.err isn't writing in things like createGraphics()
X but doing a printStackTrace(System.out) works
X something weird happening with one of the streams shutting down?
X probably, need to fix this by using the remote launcher/debug api
X use proper external launcher via debugger api
X http://java.sun.com/javase/technologies/core/toolsapis/jpda/
X small gray gap shows up in color picker
X getMaximumSize() not being respected on Windows (Linux?)
X http://dev.processing.org/bugs/show_bug.cgi?id=310
X same as bug #656
X http://dev.processing.org/bugs/show_bug.cgi?id=656
further cleanup for simpler building (refactor lots of Base)
o settings.path.fallback not being used
o need to check the mkdirs() to make sure it's not going too deep
o really important for intl versions that are having trouble
o or ask for the sketch folder name.. why isn't it?
o http://processing.org/bugs/show_bug.cgi?id=1
X remove settings.path.fallback
X no error message if sketchbook folder is set to bad location
X says that it's gonna create new sketchbook in default loc
X even though that location might exist already (just word it better)
X "changing back to default sketchbook location"
X move tools.jar into jre/lib folder
X implement windows registry lookups via reflection
X http://dev.processing.org/bugs/show_bug.cgi?id=723
X or move to jna for registry?
X https://jna.dev.java.net/source/browse/jna/trunk/jnalib/contrib/ntservice/src/jnacontrib/win32/Registry.java?rev=293&view=markup
X remove libs from build/shared that are in app/lib
X update scripts to copy from app/lib
X since adding tools.jar, jikes can be removed
X switch to javac (in code)
X re-wire error handling to handle javac error messages
o seem to be primarily 2 kinds?
X finish osx build script to make the libraries
X make.sh creating work/lib dirs.. no longer necessary?
wontfix
X Programs run with release 0136+ are sometimes slower due to Java 1.5
X http://dev.processing.org/bugs/show_bug.cgi?id=798
_ make sure that export is using utf8 for writing the .pde files etc
_ should be primarily loadFile() and saveFile() inside Base