mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
notes heading to release, improve error messages a teeny bit
This commit is contained in:
@@ -2837,10 +2837,16 @@ public abstract class Editor extends JFrame implements RunnerListener {
|
||||
if (mess.indexOf(javaLang) == 0) {
|
||||
mess = mess.substring(javaLang.length());
|
||||
}
|
||||
// The phrase "RuntimeException" isn't useful for most users
|
||||
String rxString = "RuntimeException: ";
|
||||
if (mess.startsWith(rxString)) {
|
||||
mess = mess.substring(rxString.length());
|
||||
}
|
||||
// This is just confusing for most PDE users (save it for Eclipse users)
|
||||
String illString = "IllegalArgumentException: ";
|
||||
if (mess.startsWith(illString)) {
|
||||
mess = mess.substring(illString.length());
|
||||
}
|
||||
statusError(mess);
|
||||
}
|
||||
// e.printStackTrace();
|
||||
|
||||
@@ -5488,7 +5488,7 @@ public class PApplet implements PConstants {
|
||||
*/
|
||||
public PFont loadFont(String filename) {
|
||||
if (!filename.toLowerCase().endsWith(".vlw")) {
|
||||
throw new IllegalArgumentException("loadFont() only works with .vlw font files");
|
||||
throw new IllegalArgumentException("loadFont() is for .vlw files, try createFont()");
|
||||
}
|
||||
try {
|
||||
InputStream input = createInput(filename);
|
||||
|
||||
+19
-16
@@ -18,13 +18,19 @@ o really nice for auto-complete
|
||||
o prevents hundreds of entries from coming up w/ auto-complete
|
||||
o downside: breaks compatibility big time
|
||||
X would have to use ALIGN_CENTER eta al, so no
|
||||
X flicker on startup
|
||||
X https://github.com/processing/processing/issues/3134
|
||||
X static mode - no setup() / draw() - broken in Java2D
|
||||
X https://github.com/processing/processing/issues/3130
|
||||
X are we running on the EDT or not?
|
||||
X switched to using the EDT, but no EDT for blit() b/c it flickers
|
||||
|
||||
_ flicker badness with offscreen buffer
|
||||
_ https://github.com/processing/processing/issues/3134
|
||||
_ move checkRetina()/highResDisplay() to PApplet
|
||||
_ and out of Toolkit and PSurfaceAWT
|
||||
_ probably should also check to make sure PApplet running JVM 8
|
||||
_ or compile against 1.8 and force it?
|
||||
|
||||
showstoppers
|
||||
_ noSmooth() and other settings reset after setup()
|
||||
_ https://github.com/processing/processing/issues/3113
|
||||
_ static mode - no setup() / draw() - broken in OpenGL
|
||||
_ https://github.com/processing/processing/issues/3163
|
||||
|
||||
head
|
||||
X Sketch window dimensions off in Java2D
|
||||
@@ -47,6 +53,9 @@ X https://github.com/processing/processing/pull/3067
|
||||
X fixes to SVG, implement percentages and some named colors
|
||||
X https://github.com/processing/processing/pull/3205
|
||||
X https://github.com/processing/processing/issues/2992
|
||||
X add option to save JSON in compact form
|
||||
X https://github.com/processing/processing/pull/3202
|
||||
_ needs documentation
|
||||
|
||||
akarshit
|
||||
X lerpColor() outside of setup()/draw() kills sketch
|
||||
@@ -100,6 +109,10 @@ _ remove setTitle() etc methods from PSurface, just use the ones from Frame?
|
||||
_ and with that, encourage the use of the dummy frame object in renderers
|
||||
_ destroy() removed, but bring back? is that better than dispose()?
|
||||
_ Python Mode has a hook for when it's called
|
||||
_ move checkRetina()/highResDisplay() to PApplet
|
||||
_ and out of Toolkit and PSurfaceAWT
|
||||
_ probably should also check to make sure PApplet running JVM 8
|
||||
_ or compile against 1.8 and force it?
|
||||
|
||||
opengl misc
|
||||
_ sketchQuality() vs sketchSmooth()?
|
||||
@@ -115,16 +128,6 @@ _ or split them when sketchWidth/Height are implemented?
|
||||
_ check on performance of the new EDT setup
|
||||
|
||||
|
||||
showstoppers
|
||||
_ static sketch with size() produces black window
|
||||
_ are we running on the EDT or not?
|
||||
_ static mode - no setup() / draw() - broken in Java2D
|
||||
_ https://github.com/processing/processing/issues/3130
|
||||
_ noSmooth() and other settings reset after setup()
|
||||
_ https://github.com/processing/processing/issues/3113
|
||||
_ static mode - no setup() / draw() - broken in OpenGL
|
||||
_ https://github.com/processing/processing/issues/3163
|
||||
|
||||
_ sketch window is not placed at correct location on restart
|
||||
_ https://github.com/processing/processing/issues/3125
|
||||
|
||||
|
||||
@@ -30,6 +30,9 @@ X the .macosx, .linux, etc prefs should be stripped
|
||||
X only use them on first load, and merge into preferences.txt
|
||||
X auto-insert after antlr @SuppressWarnings({ "unused", "unchecked", "cast" })
|
||||
|
||||
_ is debug turned on? lots of "export.txt" complaints
|
||||
_ sketchbook window is completely empty w/ no sketches
|
||||
_ requires restart of p5 before it updates
|
||||
_ install/remove buttons not working in the managers
|
||||
_ https://github.com/processing/processing/issues/3172
|
||||
_ search the source for 'applet' references (i.e. SVG docs)
|
||||
|
||||
Reference in New Issue
Block a user