diff --git a/core/todo.txt b/core/todo.txt index 75339b4c7..f6f8ceb8e 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -2,6 +2,8 @@ opengl +X filter(PShader) broken in HDPI mode +X https://github.com/processing/processing/issues/3577 _ Use PBOs for async texture copy _ https://github.com/processing/processing/issues/3569 _ filter(PShader) broken in HiDPI mode diff --git a/java/src/processing/mode/java/preproc/SurfaceInfo.java b/java/src/processing/mode/java/preproc/SurfaceInfo.java index bf8e6f8b6..d3ffd5a32 100644 --- a/java/src/processing/mode/java/preproc/SurfaceInfo.java +++ b/java/src/processing/mode/java/preproc/SurfaceInfo.java @@ -29,8 +29,8 @@ import processing.data.StringList; public class SurfaceInfo { -// String statement; - StringList statements; + StringList statements = new StringList(); + String width; String height; String renderer; @@ -119,9 +119,6 @@ public class SurfaceInfo { * matched against and removed from the size() method in the code. */ public void addStatement(String stmt) { - if (statements == null) { - statements = new StringList(); - } statements.append(stmt); } @@ -133,7 +130,7 @@ public class SurfaceInfo { /** @return true if there's code to be inserted for a settings() method. */ public boolean hasSettings() { - return statements != null; + return statements.size() != 0; } diff --git a/todo.txt b/todo.txt index e6608a9fd..ef1e6f23d 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,10 @@ 0242 (3.0b4) +X Fix NullPointerException with some sketches that have no size() command +X https://github.com/processing/processing/issues/3585 + +gsoc +X Second round of arm patches (v5) +X https://github.com/processing/processing/pull/3583 known issues @@ -8,6 +14,8 @@ _ but anything else reports "font sadness" b/c it's using the system JRE _ https://github.com/processing/processing/issues/3543 _ move to javapackager or another option? _ http://www.excelsiorjet.com/kb/35/howto-create-a-single-exe-from-your-java-application +_ P2D and P3D windows behave strangely when larger than the screen size +_ https://github.com/processing/processing/issues/3401 _ mouse events (i.e. toggle breakpoint) seem to be firing twice