mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
deal with spaces for launching urls for reference
This commit is contained in:
+5
-1
@@ -1010,7 +1010,9 @@ public class PdeBase extends Frame
|
||||
} else {
|
||||
// just launching the .html file via the shell works
|
||||
// but make sure to chmod +x the .html files first
|
||||
Runtime.getRuntime().exec("cmd /c " + url);
|
||||
// also place quotes around it in case there's a space
|
||||
// in the user.dir part of the url
|
||||
Runtime.getRuntime().exec("cmd /c \"" + url + "\"");
|
||||
}
|
||||
|
||||
#ifdef MACOS
|
||||
@@ -1029,6 +1031,8 @@ public class PdeBase extends Frame
|
||||
//Runtime.getRuntime().exec("mozilla "+ currentDir +
|
||||
// "/reference/index.html");
|
||||
// another wild ass guess
|
||||
|
||||
// probably need to replace spaces or use quotes here
|
||||
Runtime.getRuntime().exec("mozilla " + url);
|
||||
|
||||
} else {
|
||||
|
||||
@@ -162,6 +162,28 @@ X cmd-s drops an s into the text area (grr)
|
||||
X only happened on java 1.3 if the cmd-key was unused
|
||||
o select all (apple-a) on azerty keyboard is quitting the app
|
||||
o http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1032909986;start=0
|
||||
o what's hanging the application on start in 1.4?
|
||||
o duh.. do println() statements to see where it's hanging
|
||||
o (or hanging on start)
|
||||
o could also be connected to compiling process, though it seems runtime
|
||||
o try disabling Toolkit.sync()
|
||||
X could it be audio that's hanging the application? -> nope
|
||||
X mac 1.4 crashes when attempting to stop applets (pcho definitely)
|
||||
X doesn't seem to do this with the .app, or at least in prev release
|
||||
X (although prev release was running 1.3 by default)
|
||||
X locking up on my machine after hitting stop
|
||||
X is this only a problem when run from run.sh?
|
||||
X jikes is not properly wired to Proce55ing.app
|
||||
X puts a couple dots on random lines
|
||||
X modify build scripts for rxtx on osx
|
||||
X libs from 2.1.6 download for osx seem to work
|
||||
X write script to handle installation, etc.
|
||||
X (maybe do this from inside p5?)
|
||||
X get jikes118 in there.. also in cvs
|
||||
o add note to instructions for how to use
|
||||
X change Proce55ing.app to Processing.app
|
||||
X should cvs be changed or just do this as a renaming step?
|
||||
X changed in cvs
|
||||
|
||||
|
||||
dh X save last-used serial to sketch.properties on quit
|
||||
@@ -180,39 +202,35 @@ dh X may need horizontal scroller, or text wrap
|
||||
dh X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1050328811;start=0
|
||||
|
||||
|
||||
post-0057c1
|
||||
X deal with spaces in user.dir (!)
|
||||
X affects reference, and prolly compiling too
|
||||
|
||||
|
||||
..................................................................
|
||||
|
||||
|
||||
BEN'S PILE OF NEAR-IMMEDIACY (assume there's a bf next to all these)
|
||||
|
||||
|
||||
_ alt key pressed spews errors about components
|
||||
_ prolly because of swing/awt component problems
|
||||
_ track down error in PdeCompiler for message parsing
|
||||
_ was missing the error about a package being gone
|
||||
_ comment out /System/Library/ code to track that down
|
||||
|
||||
_ write readme.txt and revisions.txt
|
||||
_ windows: audio is broken, use jdk 1.4.1 if you need audio
|
||||
_ preferences will get better in a future release
|
||||
_ export to application is not yet implemented
|
||||
_ catch security exceptions around applet i/o calls
|
||||
|
||||
|
||||
macosx
|
||||
_ do objects need to be swing components to draw properly?
|
||||
_ macosx has update weirdness for non JComponent items
|
||||
_ probably why end of text messages under osx getting chopped?
|
||||
_ test to see if runtime exceptions are coming through
|
||||
_ get jikes118 in there.. also in cvs
|
||||
_ add note to instructions for how to use
|
||||
_ what's hanging the application on start in 1.4?
|
||||
_ duh.. do println() statements to see where it's hanging
|
||||
_ (or hanging on start)
|
||||
_ could also be connected to compiling process, though it seems runtime
|
||||
_ try disabling Toolkit.sync()
|
||||
X could it be audio that's hanging the application? -> nope
|
||||
_ mac 1.4 crashes when attempting to stop applets (pcho definitely)
|
||||
_ doesn't seem to do this with the .app, or at least in prev release
|
||||
_ (although prev release was running 1.3 by default)
|
||||
_ locking up on my machine after hitting stop
|
||||
_ is this only a problem when run from run.sh?
|
||||
X change Proce55ing.app to Processing.app
|
||||
X should cvs be changed or just do this as a renaming step?
|
||||
X changed in cvs
|
||||
_ jikes is not properly wired to Proce55ing.app
|
||||
_ puts a couple dots on random lines
|
||||
_ modify build scripts for rxtx on osx
|
||||
_ libs from 2.1.6 download for osx seem to work
|
||||
_ write script to handle installation, etc.
|
||||
_ (maybe do this from inside p5?)
|
||||
|
||||
|
||||
windows
|
||||
@@ -232,10 +250,27 @@ _ test rxtx on linux with sun vm
|
||||
..................................................................
|
||||
|
||||
|
||||
POST-57
|
||||
0058
|
||||
|
||||
|
||||
_ video.pixels don't seem to have high bytes set
|
||||
_ so fill(video.pixels[blah]) doesn't work
|
||||
_ test against 'pixels' example
|
||||
|
||||
_ catch security exceptions around applet i/o calls
|
||||
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1059928189;start=0
|
||||
java.security.AccessControlException: access denied (java.io.FilePermission screen-0000.tif read)
|
||||
at java.security.AccessControlContext.checkPermission(Unknown Source)
|
||||
at java.security.AccessController.checkPermission(Unknown Source)
|
||||
at java.lang.SecurityManager.checkPermission(Unknown Source)
|
||||
at java.lang.SecurityManager.checkRead(Unknown Source)
|
||||
at java.io.File.exists(Unknown Source)
|
||||
at BApplet.screenGrab(BApplet.java:1047)
|
||||
at gravity_giger_00.loop(gravity_giger_00.java:58)
|
||||
at BApplet.nextFrame(BApplet.java:298)
|
||||
at BApplet.run(BApplet.java:256)
|
||||
at java.lang.Thread.run(Unknown Source)
|
||||
_ perlin noise is broken
|
||||
|
||||
_ java vm could be removed from cvs
|
||||
_ in favor of requiring a specific jvm, and using registry to find
|
||||
|
||||
|
||||
Reference in New Issue
Block a user