more work on platform setup, remove nasty jniregistry dll

This commit is contained in:
benfry
2008-06-05 15:24:28 +00:00
parent 9f94ac9fc7
commit 8f6a01993a
3 changed files with 24 additions and 11 deletions
-1
View File
@@ -12,7 +12,6 @@
<classpathentry combineaccessrules="false" kind="src" path="/video"/>
<classpathentry combineaccessrules="false" kind="src" path="/xml"/>
<classpathentry kind="lib" path="lib/antlr.jar"/>
<classpathentry kind="lib" path="lib/registry.jar"/>
<classpathentry kind="lib" path="lib/jna.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
+11
View File
@@ -30,6 +30,17 @@ import javax.swing.UIManager;
/**
* Used by Base for platform-specific tweaking, for instance finding the
* sketchbook location using the Windows registry, or OS X event handling.
*
* The methods in this implementation are used by default, and can be
* overridden by a subclass, if loaded by Base.main().
*
* These methods throw vanilla-flavored Exceptions, so that error handling
* occurs inside Base.
*
* There is currently no mechanism for adding new platforms, as the setup is
* not automated. We could use getProperty("os.arch") perhaps, but that's
* debatable (could be upper/lowercase, have spaces, etc.. basically we don't
* know if name is proper Java package syntax.)
*/
public class Platform {
Base base;
+13 -10
View File
@@ -1,7 +1,19 @@
0140 pde
X fallback locations for sketchbook and data folders are disabled
X move openFolder, openFolderAvailable, openURL to Platform classes
_ implement windows registry lookups via reflection
_ http://dev.processing.org/bugs/show_bug.cgi?id=723
_ or move to jna for registry?
_ https://jna.dev.java.net/source/browse/jna/trunk/jnalib/contrib/ntservice/src/jnacontrib/win32/Registry.java?rev=293&view=markup
_ try to find someone
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
_ move openFolder, openFolderAvailable, openURL to Platform classes
_ move tools.jar into jre/lib folder
_ "Target VM failed to initialize: VM initialization failed" when trying to run
_ http://dev.processing.org/bugs/show_bug.cgi?id=796
@@ -21,11 +33,6 @@ further cleanup for simpler building
_ remove libs from build/shared that are in app/lib
_ update scripts to copy from app/lib
_ since adding tools.jar, jikes can be removed
_ implement windows registry lookups via reflection
_ http://dev.processing.org/bugs/show_bug.cgi?id=723
_ or move to jna for registry?
_ https://jna.dev.java.net/source/browse/jna/trunk/jnalib/contrib/ntservice/src/jnacontrib/win32/Registry.java?rev=293&view=markup
_ try to find someone
_ properly handle non-ascii chars in p5 folder name
_ use javac?
_ the eclipse jdt compiler may be even better
@@ -36,10 +43,6 @@ _ perhaps the get around this by building into sketch folder
_ when non-ascii chars in use, just launch everything externally
_ also fails with export-to-application
_ http://dev.processing.org/bugs/show_bug.cgi?id=252
_ can't get documents/prefs folder on vista
_ http://dev.processing.org/bugs/show_bug.cgi?id=585
_ vista disables aero theme when p5 is run
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1196016889
_ make sure that export is using utf8 for writing the .pde files etc
_ should be primarily loadFile() and saveFile() inside Base