From 3226fa63ca4422c238ae40f8a840c689f62a50f2 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Thu, 8 Sep 2016 03:46:50 -0400 Subject: [PATCH] notes --- app/src/processing/app/ui/Editor.java | 2 ++ todo.txt | 16 ++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/src/processing/app/ui/Editor.java b/app/src/processing/app/ui/Editor.java index 5f210c164..fd2de22be 100644 --- a/app/src/processing/app/ui/Editor.java +++ b/app/src/processing/app/ui/Editor.java @@ -2781,6 +2781,8 @@ public abstract class Editor extends JFrame implements RunnerListener { /** * Grab current contents of the sketch window, advance the console, * stop any other running sketches... not in that order. + * It's essential that this function be called by any Mode subclass, + * otherwise current edits may not be stored for getProgram(). */ public void prepareRun() { internalCloseRunner(); diff --git a/todo.txt b/todo.txt index 384242491..75b7a76a4 100755 --- a/todo.txt +++ b/todo.txt @@ -8,6 +8,8 @@ X Simplify font situation to make it possible to use vanilla JRE trees X https://github.com/processing/processing/pull/4639 X Trivial updates for ARM X https://github.com/processing/processing/pull/4640 +X Remove all the extra hoops for loading fonts +X https://github.com/processing/processing/pull/4641 _ library compilations handled oddly @@ -40,6 +42,14 @@ _ Pasting code from editor to empty editor produces Exception _ https://github.com/processing/processing/issues/4522 _ possible infinite loop on modified externally _ https://github.com/processing/processing/issues/3965 +_ PDE and sketches are 2x smaller on high-res Windows machines +_ https://github.com/processing/processing/issues/2411 +_ System.setProperty("sun.java2d.dpiaware", "false"); +_ though that seems broken in Java 8: http://superuser.com/a/1007783 +_ modi +_ until we fix it.. +_ call this from JNA? https://msdn.microsoft.com/en-us/library/windows/desktop/dn302122(v=vs.85).aspx +_ or modify the manifest/app? https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266%28v=vs.85%29.aspx medium _ detect changes in case with libraries @@ -50,10 +60,6 @@ _ hidpi scaling via font changes? _ http://stackoverflow.com/a/34152675 _ hi-dpi support on Linux _ https://github.com/processing/processing/issues/4183 -_ PDE and sketches are 2x smaller on high-res Windows machines -_ https://github.com/processing/processing/issues/2411 -_ System.setProperty("sun.java2d.dpiaware", "false"); -_ though that seems broken in Java 8: http://superuser.com/a/1007783 _ did we lose settings.path because it was too buggy? _ https://github.com/processing/processing/issues/3948 _ Library path mismatch between processing-java and export @@ -879,8 +885,6 @@ _ p5 assets need to be licensed differently from the source DIST / Windows -_ PDE and sketches are 2x smaller on high-res Windows 8 machines -_ https://github.com/processing/processing/issues/2411 _ does launching p5 from inside the .zip folder cause it to quit immediately? _ how can we provide an error message here? _ how to handle double-clicked files on windows?