finalizing release 0146

This commit is contained in:
benfry
2008-08-16 18:04:01 +00:00
parent 354c0a1643
commit f247ba190e
3 changed files with 71 additions and 17 deletions

View File

@@ -7,6 +7,60 @@ releases will be super crusty.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0146 - 16 August 2008
Bug fixes, regression repair, and fun features.
* RELEASES SINCE 0135 CONTAIN MANY SIGNIFICANT CHANGES, PLEASE READ *
* THE NOTES IN THIS FILE FOR ANY RELEASE THAT YOU'VE NOT YET USED. *
[ bug fixes ]
+ get() and set() sometimes not honoring imageMode() setting with
the JAVA2D renderer setting.
+ Fix problem with comment/uncomment and indent/outdent in cases
where no selection is active.
+ When un-commenting lines, first ensure that *all* the lines are
commented out, otherwise default to adding comment markers to them.
+ Fix (semi-major) regression in 145 (as compared to 0144) where exception
lines were not highlighting properly.
http://dev.processing.org/bugs/show_bug.cgi?id=877
+ Improve exception error messages (regression since 0135) by including
their full message rather than just their type.
+ Fix problem with 3D geometry drawing multiple times in P3D.
http://dev.processing.org/bugs/show_bug.cgi?id=737
[ changes ]
+ Added imageMode(CENTER). Or rather, brought it back from the 0070s.
+ Greatly improve exception handling and parsing through the use of a
proper implementation and the removal of a large amount of duct tape.
+ Fix and finalize previously unannounced, unmentioned (untouchable)
functions that prompt the user for a file to open, a location to save
a file, or select a folder. The functions each return a String object
(or null for no selection) and are called selectInput(), selectOutput(),
and selectFolder(). No parameters are necessary, but an optional
parameter allows you to specify the user prompt. For instance:
String loadPath = selectInput("What file ya want?");
String savePath = selectOutput("Save this masterpiece as...");
String folderPath = selectFolder("Which folder has the good stuff?");
+ Use actual sketch name when running instead of Temporary_NNNN_NNNN.
+ Make the Processing icon show up in external windows (Windows and Linux).
Also set the window title (and dock title on OS X) for sketches.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0145 - 15 August 2008
This release contains several changes to fix issues related to timing

View File

@@ -3546,7 +3546,7 @@ public class PApplet extends Applet
// FILE/FOLDER SELECTION
protected File selectedFile;
public File selectedFile;
protected Frame parentFrame;
@@ -3568,27 +3568,27 @@ public class PApplet extends Applet
}
public File selectInput() {
public String selectInput() {
return selectInput("Select a file...");
}
public File selectInput(final String prompt) {
public String selectInput(final String prompt) {
return selectFileImpl(prompt, FileDialog.LOAD);
}
public File selectOutput() {
public String selectOutput() {
return selectOutput("Save as...");
}
public File selectOutput(String prompt) {
public String selectOutput(String prompt) {
return selectFileImpl(prompt, FileDialog.SAVE);
}
protected File selectFileImpl(final String prompt, final int mode) {
protected String selectFileImpl(final String prompt, final int mode) {
checkParentFrame();
try {
@@ -3603,7 +3603,7 @@ public class PApplet extends Applet
(filename == null) ? null : new File(directory, filename);
}
});
return selectedFile;
return selectedFile.getAbsolutePath();
} catch (Exception e) {
e.printStackTrace();
@@ -3612,12 +3612,12 @@ public class PApplet extends Applet
}
public File selectFolder() {
public String selectFolder() {
return selectFolder("Select a folder...");
}
public File selectFolder(final String prompt) {
public String selectFolder(final String prompt) {
checkParentFrame();
try {
@@ -3644,7 +3644,7 @@ public class PApplet extends Applet
}
}
});
return selectedFile;
return selectedFile.getAbsolutePath();
} catch (Exception e) {
e.printStackTrace();

View File

@@ -634,6 +634,13 @@ _ sketch marked as modified too aggressively
_ http://dev.processing.org/bugs/show_bug.cgi?id=328
_ not remembering window size/placement preferences
_ http://dev.processing.org/bugs/show_bug.cgi?id=837
_ saved window positions.. if displays has changed, becomes a problem
_ record the display that it was on?
_ GraphicsDevice gd = frame.getGraphicsConfiguration().getDevice();
_ make sure that the application is within the bounds of the current display?
_ (from 0, 0 to width, height)
_ messy since some displays have negative coords
_ http://dev.processing.org/bugs/show_bug.cgi?id=72
_ Closing the last window doesn't cause PDE to save its position/contents/etc
_ http://dev.processing.org/bugs/show_bug.cgi?id=835
_ [LaunchRunner Error] processing.app.Base.main(String[]) threw an exception
@@ -838,13 +845,6 @@ PDE / Preferences
_ prefs window not visible on windows taskbar
_ http://dev.processing.org/bugs/show_bug.cgi?id=438
_ saved window positions.. if displays has changed, becomes a problem
_ record the display that it was on?
_ GraphicsDevice gd = frame.getGraphicsConfiguration().getDevice();
_ make sure that the application is within the bounds of the current display?
_ (from 0, 0 to width, height)
_ messy since some displays have negative coords
_ http://dev.processing.org/bugs/show_bug.cgi?id=72
_ split Preferences and PreferencesFrame?
_ http://dev.processing.org/bugs/show_bug.cgi?id=74
_ preferences window has been hit with the ugly stick