remove the anachronistic single arg version of launch

This commit is contained in:
Ben Fry
2015-06-18 08:51:13 -04:00
parent cb8391d967
commit 9d10574b4c
3 changed files with 16 additions and 18 deletions

View File

@@ -3292,6 +3292,9 @@ public class PApplet implements PConstants {
}
static String openLauncher;
/**
* ( begin auto-generated from launch.xml )
*
@@ -3310,7 +3313,8 @@ public class PApplet implements PConstants {
* <br/> <br/>
* If args is a String (not an array), then it can only be a single file or
* application with no parameters. It's not the same as executing that
* String using a shell. For instance, open("jikes -help") will not work properly.
* String using a shell. For instance, launch("javac -help") will not work
* properly.
* <br/> <br/>
* This function behaves differently on each platform. On Windows, the
* parameters are sent to the Windows shell via "cmd /c". On Mac OS X, the
@@ -3329,21 +3333,6 @@ public class PApplet implements PConstants {
* @param filename name of the file
* @usage Application
*/
static public void launch(String filename) {
launch(filename);
}
static String openLauncher;
/**
* Launch a process using the platform's shell. This version uses an array
* to make it easier to deal with spaces in the individual elements.
* (This avoids the situation of trying to put single or double quotes
* around different bits).
*
* @param args list of commands passed to the command line
*/
static public Process launch(String... args) {
String[] params = null;

View File

@@ -22,6 +22,7 @@ o or is this a bad move until we've sorted out Android?
X HashMap sucks b/c we'd have to cast everything
X doesn't help to have intParam() etc, too many types (5ish? OutputStream)
X just stick with the current setup
X remove launch(String) since it was calling itself, and anachronistic
cleaning
o possible addition for 'implementation' variable
@@ -61,6 +62,7 @@ X https://github.com/processing/processing/issues/3255
X NPE when using image() created with createGraphics(PGraphicsRetina2D)
X https://github.com/processing/processing/issues/2510
docs
_ note that full screen and present are now different
_ on Export to Application, this has an impact

View File

@@ -10,10 +10,16 @@ X Show "not compatible" error message in the manager
X https://github.com/processing/processing/issues/3386
X Add more code for handling low-level errors on startup
contribs
X Use correct localized strings in JavaEditor.java
X https://github.com/processing/processing/pull/3376
gsoc
X Mode problems window wasn't doing line breaks
X https://github.com/processing/processing/issues/3369
X https://github.com/processing/processing/pull/3370
X Add missing internationalization in app/Sketch.java
X https://github.com/processing/processing/pull/3392
fixed earlier
X dim edit menus as appropriate during selection/no selection/etc
@@ -76,8 +82,8 @@ _ otherwise could run in one mode, then try to stop in another
pde/build
_ need to show error message instead of exceptions when loading Android Mode
_ https://github.com/processing/processing/issues/3386
_ error message caused by curly bracket in a println string
_ https://github.com/processing/processing/issues/3394
_ when variables used in size(), getting exceptions instead of any warning
_ https://github.com/processing/processing/issues/3311
_ crashed on startup w/ JavaScript mode as default b/c PdeKeyListener not found
@@ -160,6 +166,7 @@ _ don't allow users to create 'blah.java' when 'blah.pde' already in sketch
3.0 beta/final
_ wonder if "Save As" is causing the problems with auto-reload
_ look at the sound library https://github.com/wirsing/ProcessingSound
_ sound is not yet supported on Windows
_ clean out the repo