Skip to content

Commit eea3389

Browse files
committed
start work on release notes for 4.0.2
1 parent 85a93b0 commit eea3389

File tree

3 files changed

+101
-10
lines changed

3 files changed

+101
-10
lines changed

build/shared/revisions.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,98 @@
1+
# Processing 4.0.2
2+
3+
*Revision 1287 – 24 November 2022*
4+
5+
🦃 Happy Thanksgiving! 🦃
6+
7+
Fixing more regressions and other steps backward found since the 4.0 release.
8+
9+
10+
## the big ones
11+
12+
* OpenGL apps now work with macOS Ventura, once again thanks to @jaegonlee. [#544](https://github.com/processing/processing4/issues/544)
13+
14+
* `fullScreen()` with `pixelDensity(2)` was broken with the default renderer. On startup, the sketch would report `Display -1 does not exist, returning 1 for displayDensity(-1)`. [#487](https://github.com/processing/processing4/issues/487)
15+
16+
17+
## the li'l ones
18+
19+
* When calling `random()` on a list (now `choice()`) with no elements, it would throw a weird `Exception`. Now it throws a more descriptive exception.
20+
21+
22+
## need some help here
23+
24+
* Loading SVG file was giving `Illegal base64 character 20 encoding error`. Fixed thanks to @jaegonlee and @vepo. [#592](https://github.com/processing/processing4/issues/592), [#599](https://github.com/processing/processing4/pull/599)
25+
26+
27+
## steps forward
28+
29+
* Added a `choice()` method to the `XxxxList` classes, which returns a random value from the list. Similarly `removeChoice()` removes a random element from the list and returns the value.
30+
31+
* Also added a `choice()` method that returns random integers. So `int value = choice(10)` is a shorthand way of saying `int value = (int) random(10)`
32+
33+
* Removed the `choice()` (formerly `random()`) method from the `XxxxList` classes that took a `PApplet` object for its random number seed/generator. Just feels like overkill at this point.
34+
35+
36+
## internal changes
37+
38+
* Using more Java 17 syntax in the code. No plans to really scrub everything to change the syntax over, just a matter of cleaning things up as we go.
39+
40+
* Fixed a potential casting problem with `Platform` and `DefaultPlatform`. Should have been unreachable, but fixed anyway.
41+
42+
* Brought back `getCodeIndex()` for GUI Builder Tool… then removed it again. [#545](https://github.com/processing/processing4/issues/545), [#596](https://github.com/processing/processing4/issues/596)
43+
44+
45+
contribs
46+
X Catalan translation for Processing 4.0.1
47+
X https://github.com/processing/processing4/issues/550
48+
X https://github.com/processing/processing4/pull/554
49+
X Update to Ukranian language strings
50+
X https://github.com/processing/processing4/pull/585
51+
X Fix errors in the Spanish translation
52+
X https://github.com/processing/processing4/issues/552
53+
X https://github.com/processing/processing4/pull/574
54+
X JSSC update for M1/M2
55+
X https://github.com/processing/processing4/pull/577
56+
X https://github.com/processing/processing4/issues/525
57+
X Fix vertical placement of top elements in the Manager window
58+
X https://github.com/processing/processing4/issues/520
59+
X https://github.com/processing/processing4/pull/539
60+
X function/variable "does not exist" errors reported when defining a class without setup/draw
61+
X https://github.com/processing/processing4/issues/579
62+
X https://github.com/processing/processing4/pull/597
63+
64+
docs
65+
X added a "Translations" page to the wiki
66+
X https://github.com/processing/processing4/wiki/Translations
67+
X https://github.com/processing/processing/wiki/Localization
68+
X explanation of how to create a naming.json file
69+
X https://github.com/processing/processing4/wiki/Naming-Sketches
70+
71+
before 4.0.2
72+
X library version number parsing isn't ignoring comments properly
73+
X https://github.com/processing/processing4/issues/586
74+
X https://github.com/processing/processing4/issues/553
75+
X Can't Update Libraries due to "this.progressBar" is null error message
76+
X https://github.com/processing/processing4/issues/567
77+
X if naming scheme produces a sketch w/ the same name, what happens?
78+
X probably a crash (or infinite loop?) need to check
79+
X temp folders owned by one user can't be overwritten by another
80+
X this was on Linux; curious if Windows has an issue too?
81+
X overwrite with -Djava.io.tmpdir=/path/to/tmpdir
82+
X maybe we should use java.io.tmpdir -> processing -> $USER
83+
X https://github.com/processing/processing4/issues/549
84+
X put in a note about the cleaning process
85+
X too many temp folders prevent restart
86+
X https://github.com/processing/processing4/issues/582
87+
X if user clicks "no" when asked to access Documents folder, will cause weird problems later
88+
X "Please fix read/write" in ContributionManager.updateFlagged()
89+
X but that also shouldn't prevent users from continuing
90+
X https://github.com/processing/processing4/issues/581
91+
X use tccutil or some api to check whether user has disallowed access
92+
X https://recoursive.com/2020/03/03/reset_macos_privacy_permissions/
93+
94+
95+
196
# Processing 4.0.1
297

398
*Revision 1286 – 9 August 2022*

core/todo.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ X remove random(PApplet) since unlikely to be used/seems overkill
2121
X add choice() as a PApplet method for int values of random()
2222

2323

24+
_ args passed to main() aren't working
25+
_ (there was a bug report for this already?)
26+
_ were the run() and runSketch() methods merged w/o realizing loss of args?
27+
_ runSketch() probably needs to pass applet args and sketch args separately
28+
_ though this can't be done w/o breaking Python
29+
2430
_ freeze on resize with Windows (even the default renderer)
2531
_ https://github.com/processing/processing4/issues/507
2632

todo.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,28 +77,18 @@ _ look into LSP code contribution
7777
_ https://github.com/processing/processing4/issues/117
7878
_ https://github.com/processing/processing4/pull/564
7979

80-
8180
_ export to IntelliJ? how tricky?
8281
_ just copy jars to /lib?
8382
_ point to binaries in /Applications/Processing.app? (no)
8483

85-
8684
_ add a protocol handler for pdex and pdez
8785
_ https://github.com/processing/processing4/issues/559
8886

89-
9087
_ set more build.xml files to use Java 17
9188
_ remove target.path from build/build.xml
9289
_ maybe simpler way to write version? sheesh
9390

9491

95-
_ args passed to main() aren't working
96-
_ (there was a bug report for this already?)
97-
_ were the run() and runSketch() methods merged w/o realizing loss of args?
98-
_ runSketch() probably needs to pass applet args and sketch args separately
99-
_ though this can't be done w/o breaking Python
100-
101-
10292

10393
known issues
10494
_ mixed mode warning now broken

0 commit comments

Comments
 (0)