Merge branch 'main' of github.com:processing/processing4

This commit is contained in:
Ben Fry
2023-02-18 14:47:06 -05:00
3 changed files with 15 additions and 1 deletions
+7
View File
@@ -30,8 +30,15 @@ This was the intended approach, however the result works 3 times in 5, has an im
* <https://www.baeldung.com/jni>
### Use Cygwin
Install `mingw-86_64-gcc-core`, `mingw-86_64-gcc-g++`, `make`. (Also `nano` for good measure.) Had to switch to this because MSYS2 always requires `msys-2.0.dll`, which is > 3 MB to include, and instead, `mingw64` uses the widely available `msvcrt.dll`.
### Building the JNI code
> See above for final version used… Also, did not use the JNI version because it failed often.
* Install MSYS2 from <https://www.msys2.org/> via <https://www.mingw-w64.org/downloads/#msys2>
* Within an MSYS shell, run updates and install `gcc`
+3 -1
View File
@@ -809,7 +809,9 @@ public class PSurfaceJOGL implements PSurface {
if (!sketch.sketchFullScreen()) {
// don't show the message when using fullScreen()
PGraphics.showWarning("The sketch has been resized from " +
"%d\u2715%d to %d\u2715%d by the window manager.",
"%dx%d to %dx%d by the operating system.%n" +
"This is happening outside Processing, " +
"and is probably a limitation of the OS or window manager.",
sketchWidthRequested, sketchHeightRequested, sketchWidth, sketchHeight);
}
}
+5
View File
@@ -31,6 +31,11 @@ X when exporting, the "exporting application" message doesn't seem to clear
X was a regression caused by ExportPrompt changes
X after exporting application, open the sketch folder
_ change the welcome screen to be wide instead of vertical
_ fullScreen(P2D) from an executable does not work properly
_ https://github.com/processing/processing4/issues/514
_ exporting application while still running on Windows
_ just says "Error during export" rather than something more useful about deleting dir