From fdc9ba835159a09afcef5e7f4d2e73093a828a96 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 24 Nov 2008 18:25:12 +0000 Subject: [PATCH] changes for release 0161 rollover --- app/src/processing/app/Base.java | 16 ++++++++-------- core/done.txt | 6 ++++++ core/todo.txt | 7 +++---- done.txt | 12 ++++++++++++ todo.txt | 11 +---------- 5 files changed, 30 insertions(+), 22 deletions(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index bc75ff7b1..84cfb7db2 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -42,8 +42,8 @@ import processing.core.*; * files and images, etc) that comes from that. */ public class Base { - static final int VERSION = 160; - static final String VERSION_NAME = "0160 Beta"; + static final int VERSION = 161; + static final String VERSION_NAME = "0161 Beta"; static final int[] platforms = new int[] { PConstants.WINDOWS, PConstants.MACOSX, PConstants.LINUX @@ -471,12 +471,12 @@ public class Base { protected int[] nextEditorLocation() { Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); - int defaultWidth = Preferences.getInteger("default.window.width"); + int defaultWidth = Preferences.getInteger("default.window.width"); int defaultHeight = Preferences.getInteger("default.window.height"); - + if (activeEditor == null) { // If no current active editor, use default placement - return new int[] { + return new int[] { (screen.width - defaultWidth) / 2, (screen.height - defaultHeight) / 2, defaultWidth, defaultHeight, 0 @@ -495,12 +495,12 @@ public class Base { location[0] += OVER; location[1] += OVER; - if (location[0] == OVER || + if (location[0] == OVER || location[2] == OVER || location[0] + location[2] > screen.width || location[1] + location[3] > screen.height) { // Warp the next window to a randomish location on screen. - return new int[] { + return new int[] { (int) (Math.random() * (screen.width - defaultWidth)), (int) (Math.random() * (screen.height - defaultHeight)), defaultWidth, defaultHeight, 0 @@ -511,7 +511,7 @@ public class Base { } } } - + // ................................................................. diff --git a/core/done.txt b/core/done.txt index a2ec1d2fd..3c8b6dbf4 100644 --- a/core/done.txt +++ b/core/done.txt @@ -1,3 +1,9 @@ +0160 core +X stroked lines drawing on top of everything else in P3D +X http://dev.processing.org/bugs/show_bug.cgi?id=1032 +X 100x100 sketches not working + + 0159 core o disable present mode? (weirdness with placements on mac) X deal with some present mode issues diff --git a/core/todo.txt b/core/todo.txt index 6f0d41a41..205e4e059 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,7 +1,6 @@ -0160 core -X stroked lines drawing on top of everything else in P3D -X http://dev.processing.org/bugs/show_bug.cgi?id=1032 -X 100x100 sketches not working +0161 core +X present on macosx causing strange flicker/jump while window opens +X using validate() for present mode, pack() otherwise [ known problems ] diff --git a/done.txt b/done.txt index dbfe6ce42..f290fe352 100644 --- a/done.txt +++ b/done.txt @@ -1,3 +1,15 @@ +0160 pde +X fix editor window placement +X overlapping editor windows caused by activeEditor not being called in time +X see handleActivated in Base, and do placement differently +X may also need to deal w/ sync problems +X also make sure that it'll start at the top again when done +X implement check to see if the windows are running off screen +X add option to preferences for "export.delete_target_folder" +X set background color for present mode on export application +X set stop button for export to application + + 0159 pde X caret not blinking X width of export application on windows is bad diff --git a/todo.txt b/todo.txt index d6af1a79d..9740e7583 100644 --- a/todo.txt +++ b/todo.txt @@ -1,13 +1,4 @@ -0160 pde -X fix editor window placement -X overlapping editor windows caused by activeEditor not being called in time -X see handleActivated in Base, and do placement differently -X may also need to deal w/ sync problems -X also make sure that it'll start at the top again when done -X implement check to see if the windows are running off screen -X add option to preferences for "export.delete_target_folder" -X set background color for present mode on export application -X set stop button for export to application +0161 pde _ a new release (1.0.1) is available