Skip to content

Commit 17ab319

Browse files
committed
rolling over for 4.0 beta 8
1 parent 46af8d7 commit 17ab319

File tree

6 files changed

+77
-71
lines changed

6 files changed

+77
-71
lines changed

app/src/processing/app/Base.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
public class Base {
5353
// Added accessors for 0218 because the UpdateCheck class was not properly
5454
// updating the values, due to javac inlining the static final values.
55-
static private final int REVISION = 1282;
55+
static private final int REVISION = 1283;
5656
/** This might be replaced by main() if there's a lib/version.txt file. */
57-
static private String VERSION_NAME = "1282"; //$NON-NLS-1$
57+
static private String VERSION_NAME = "1283"; //$NON-NLS-1$
5858

5959
static final public String SKETCH_BUNDLE_EXT = ".pdez";
6060
static final public String CONTRIB_BUNDLE_EXT = ".pdex";

build/shared/changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If your window is taller (or wider) than the specified ratio, your sketch will b
5555

5656
The exact amount of space that's extra can be found in the `ratioLeft` and `ratioTop` variables. And the current `scale()` being used for the ratio can be found in `ratioScale`.
5757

58-
Mind you, it might be tempting to use windowRatio(16, 9), but keep in mind that means your horizontal coordinates will be numbers between 0 and (almost) 16, and vertical will be between 0 and 9. Not a great way to work! (And at some point, likely to introduce quirks as you learn about the inaccuracies of floating point number accuracy.)
58+
Mind you, it might be tempting to use windowRatio(16, 9), but keep in mind that means your horizontal coordinates will be numbers between 0 and (almost) 16, and vertical will be between 0 and 9. Not a great way to work! (And at some point, likely to introduce quirks as you learn about the shortcomings of floating point number accuracy.)
5959

6060

6161
## Minor Mites

core/done.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
1282 (4.0b7)
2+
X rename jAppleMenuBar, make part of build process
3+
X should just merge into ThinkDifferent
4+
o move that to a 'native' or 'platform' package
5+
X stripped down to just show/hide methods (although show is never used)
6+
X much cleaner setup in general, and all seems to be working
7+
X windowRatio()
8+
X size() function that scales to screen, keeps aspect, re-scales mouse coords
9+
X rmouseX, rmouseY, rwidth, rheight
10+
X also ratioLeft, ratioTop, ratioScale
11+
12+
opengl
13+
X POINTS PShape performance is drastically worse in 4.0.b3
14+
X https://github.com/processing/processing4/issues/345
15+
X https://github.com/processing/processing4/pull/432
16+
17+
cleaning
18+
o crash on startup when "Mirror Displays" selected (cantfix?)
19+
o suspect that this is a specific chipset since Oracle didn't reproduce
20+
o AMD Radeon HD 6770M was in the Oracle bug report
21+
o https://github.com/processing/processing/issues/2186
22+
o https://bugs.openjdk.java.net/browse/JDK-8027391
23+
o test with JG's 13" retina laptop
24+
X closed back in 2014
25+
o NPE at java.awt.Window.init(Window.java:497) when using Airplay
26+
X https://github.com/processing/processing/issues/5620
27+
o try to catch the NPE and warn the user about what's happening
28+
X confirmed working on Mojave (fusion), Catalina (hamilton), Monterey (bell)
29+
X even with Processing 3.5.4
30+
31+
132
1281 (4.0b6)
233
X fix up "Display N does not exist, using the default display instead"
334
X if more than one display, shows list of available displays (size and index)

core/todo.txt

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,4 @@
1-
1282 (4.0b7)
2-
X rename jAppleMenuBar, make part of build process
3-
X should just merge into ThinkDifferent
4-
o move that to a 'native' or 'platform' package
5-
X stripped down to just show/hide methods (although show is never used)
6-
X much cleaner setup in general, and all seems to be working
7-
X windowRatio()
8-
X size() function that scales to screen, keeps aspect, re-scales mouse coords
9-
X rmouseX, rmouseY, rwidth, rheight
10-
X also ratioLeft, ratioTop, ratioScale
11-
12-
opengl
13-
X POINTS PShape performance is drastically worse in 4.0.b3
14-
X https://github.com/processing/processing4/issues/345
15-
X https://github.com/processing/processing4/pull/432
16-
17-
cleaning
18-
o crash on startup when "Mirror Displays" selected (cantfix?)
19-
o suspect that this is a specific chipset since Oracle didn't reproduce
20-
o AMD Radeon HD 6770M was in the Oracle bug report
21-
o https://github.com/processing/processing/issues/2186
22-
o https://bugs.openjdk.java.net/browse/JDK-8027391
23-
o test with JG's 13" retina laptop
24-
X closed back in 2014
25-
o NPE at java.awt.Window.init(Window.java:497) when using Airplay
26-
X https://github.com/processing/processing/issues/5620
27-
o try to catch the NPE and warn the user about what's happening
28-
X confirmed working on Mojave (fusion), Catalina (hamilton), Monterey (bell)
29-
X even with Processing 3.5.4
1+
1283 (4.0b8)
302

313

324
macos-aarch64

done.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
1282 (4.0b7)
2+
X Bring back getMainProgram() for Python Mode
3+
X https://github.com/processing/processing4/issues/409
4+
X Change straight quotes to smart quotes in the PDE.properties file
5+
X look for other uses of Util.deleteFile() and replace with Platform calls
6+
7+
sketchbook/open/deletions/modes
8+
X test "obvious" sketch folder (and whether it prompts)
9+
X opening Downloads > something.pde made a p5.js sketch with only an index.html
10+
X if no sketch.properties, reset nextMode to the default mode
11+
X deleting sketch removed contents of Download folder
12+
X https://github.com/processing/processing4/issues/424
13+
X also very problematic for what happens with Save As
14+
X ah, this is because it was just a single .pde file, yikes
15+
X sketch.properties should be present, but won't be if the parent is renamed
16+
o always write sketch.properties? (would help the later rename case)
17+
X when loading, prompt to ask whether the parent folder is the sketch folder?
18+
X if it is, write sketch.properties to set the main file
19+
X if not, move it to its own folder "move blah.pde to a folder named blah"
20+
X are you sure you want to delete the sketch "Downloads"
21+
X instead of "are you sure you want to delete this sketch?"
22+
X have 'delete' function move things to the trash
23+
o or remove 'delete' as an option altogether
24+
X new language string: warn.delete.sketch_folder so we can include folder name
25+
X and renamed warn.delete.file to warn.delete.sketch_file
26+
X remove selectMode() code from Base... just too funky
27+
X should just go back to the default Mode, or the first that matches
28+
X not enough Modes to warrant all the weirdness that could happen
29+
o and for Android (the only legit case), local.properties should be set
30+
o or we have changeMode() to make it an easy switch
31+
X turns out, it wasn't getting set, but that's now fixed
32+
o fix extension check for other modes
33+
X https://github.com/processing/processing/issues/3980
34+
X not relevant b/c of https://github.com/processing/processing4/issues/189
35+
X You must first install tweak Mode to use this sketch
36+
X https://github.com/processing/processing4/issues/415
37+
X change handleOpen() to take a Mode object
38+
X allows Python and Android Mode to open example sketches in that Mode,
39+
X without (retroactively) needing sketch.properties files in all folders
40+
41+
142
1281 (4.0b6)
243
X update to Java 17.0.2+8
344
X move "Add Examples" to bottom of the Examples window

todo.txt

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,4 @@
1-
1282 (4.0b7)
2-
X Bring back getMainProgram() for Python Mode
3-
X https://github.com/processing/processing4/issues/409
4-
X Change straight quotes to smart quotes in the PDE.properties file
5-
X look for other uses of Util.deleteFile() and replace with Platform calls
6-
7-
sketchbook/open/deletions/modes
8-
X test "obvious" sketch folder (and whether it prompts)
9-
X opening Downloads > something.pde made a p5.js sketch with only an index.html
10-
X if no sketch.properties, reset nextMode to the default mode
11-
X deleting sketch removed contents of Download folder
12-
X https://github.com/processing/processing4/issues/424
13-
X also very problematic for what happens with Save As
14-
X ah, this is because it was just a single .pde file, yikes
15-
X sketch.properties should be present, but won't be if the parent is renamed
16-
o always write sketch.properties? (would help the later rename case)
17-
X when loading, prompt to ask whether the parent folder is the sketch folder?
18-
X if it is, write sketch.properties to set the main file
19-
X if not, move it to its own folder "move blah.pde to a folder named blah"
20-
X are you sure you want to delete the sketch "Downloads"
21-
X instead of "are you sure you want to delete this sketch?"
22-
X have 'delete' function move things to the trash
23-
o or remove 'delete' as an option altogether
24-
X new language string: warn.delete.sketch_folder so we can include folder name
25-
X and renamed warn.delete.file to warn.delete.sketch_file
26-
X remove selectMode() code from Base... just too funky
27-
X should just go back to the default Mode, or the first that matches
28-
X not enough Modes to warrant all the weirdness that could happen
29-
o and for Android (the only legit case), local.properties should be set
30-
o or we have changeMode() to make it an easy switch
31-
X turns out, it wasn't getting set, but that's now fixed
32-
o fix extension check for other modes
33-
X https://github.com/processing/processing/issues/3980
34-
X not relevant b/c of https://github.com/processing/processing4/issues/189
35-
X You must first install tweak Mode to use this sketch
36-
X https://github.com/processing/processing4/issues/415
37-
X change handleOpen() to take a Mode object
38-
X allows Python and Android Mode to open example sketches in that Mode,
39-
X without (retroactively) needing sketch.properties files in all folders
1+
1283 (4.0b8)
402

413

424
python

0 commit comments

Comments
 (0)