Skip to content

Commit

Permalink
rolling over for next release (4.0 a6 or b1)
Browse files Browse the repository at this point in the history
  • Loading branch information
benfry committed Jun 25, 2021
1 parent f45bf52 commit 07fffbb
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 105 deletions.
4 changes: 2 additions & 2 deletions app/src/processing/app/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
public class Base {
// Added accessors for 0218 because the UpdateCheck class was not properly
// updating the values, due to javac inlining the static final values.
static private final int REVISION = 1274;
static private final int REVISION = 1275;
/** This might be replaced by main() if there's a lib/version.txt file. */
static private String VERSION_NAME = "1274"; //$NON-NLS-1$
static private String VERSION_NAME = "1275"; //$NON-NLS-1$

/**
* True if heavy debugging error/log messages are enabled. Set to true
Expand Down
5 changes: 5 additions & 0 deletions core/done.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1274 (4.0a5)
X do a test to see if PApplet extends PSketch breaks libraries
X seems to be working


1273 (4.0a4)
X fix typo in extensions= arg
X update batik to 1.14
Expand Down
4 changes: 1 addition & 3 deletions core/todo.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
1274 (4.0a5)
X do a test to see if PApplet extends PSketch breaks libraries
X seems to be working
1275 (4.0a6)


regressions
Expand Down
102 changes: 102 additions & 0 deletions done.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,105 @@
1274 (4.0a5)
X update JNA from 5.7.0 to 5.8.0
X bump minimum system version to 10.14.6
X remove ant binary from repo, update from 1.8.2 to 1.10.10
X refresh appbundler code a little
X disable "Launchpath: /path/to/Processing.app/Contents/PlugIns/jdk-11.0.11+9/Contents/Home/lib/jli/libjli.dylib" console message on startup
X update macOS SDK references in appbundler code
X fix compilation problem in appbundler iterator
X walk subfolders in the export to avoid duplicated core.jar and to include JavaFX
X fix FX2D applications on macOS
X they didn't properly have their library.path set
X dylib files were not included in the export
X Some 3.x Tools not working because JavaFX isn't on the classpath
X https://github.com/processing/processing4/issues/110
X https://github.com/processing/processing4/pull/112
X garbled text in JavaFX
X https://bugs.openjdk.java.net/browse/JDK-8234916
X bump JavaFX to 16, no longer the LTS version, but fixes garbled text
X and 11.0.8 is not available
X add more entitlements in an attempt to fix audio/video capture
X https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_audio-input
X https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_camera
X https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_microphone
X https://github.com/processing/processing4/commit/7b75acf2799f61c9c22233f38ee73c07635cea14
X update to launch4j 3.14, fixing Export to Application on Windows
X change defaults to get away from JFileChooser; it's awful
X working on JavaFX on Windows, more runtime problems, needing exports
X Export to Application with FX2D apps working on Windows
X make sure we're not embedding webkit with all JFX apps
X maybe just remove it from the main download as well
X remove javafx-swt.jar and javafx.web.jar / also their .so files
X more checking FX2D (and application export) on Windows
o update list of optional JRE files for Java 8
o Andres provided some updates
X https://github.com/processing/processing/issues/3288
o these will change again for Java 11, so wait until then
X opting not to do so
X https://github.com/processing/processing4/issues/210
X changes to how getFont() works for Preferences
X this may have been the cause of the old ghost NPEs on startup?
X turn off chooser.files.native on macOS
X We were shutting this off on macOS because it broke Copy/Paste:
o https://github.com/processing/processing/issues/1035
o https://github.com/processing/processing4/issues/77
X But changing this for 4.0 alpha 5, because the JFileChooser is awful,
X and even worse on Big Sur, and worse than the Copy/Paste issue.
X "Could not run" "For more information, read revisions.txt and Help → Troubleshooting."
X need to drop revisions.txt here and just reference Troubleshooting
X NoClassDefError: processing/core/PApplet when starting 4.0a2 on Windows 10
X https://github.com/processing/processing4/issues/154
X change application signature from Pde3 to Pde4
X also change the bundle identifier to avoid conflicts with 3
X remove template.app from macOS build
X was no longer in use, and causing notarization problems

javafx
X move JavaFX to its own library, too many weird quirks that it includes
o build bits should be in core/build.xml or javafx/build.xml
X by moving it out, all the strangeness of download and import is outside core
X add JavaFX library to IntelliJ
X #@$*$& the JavaFX jars are ever-so-slightly different between platforms
X Only specify --modules-path when running JavaFX apps
X https://github.com/processing/processing4/issues/209
X JavaFX now throws Exception on run b/c natives aren't present
X why are the jars even there? how is module path getting set?
o gonna have to cut loose running Tools from the PDE
o or make it possible to embed a JavaFX sketch, and the rest will work?
X working from the PDE, though not FX2D sketches
X debug JavaFX and Export to Application on Windows
X this was working on Saturday, now broken after the move to a separate library
/ now "Art Station" is broken because it actually creates an FX2D sketch
X (and FX2D isn't on the classpath by default)
X debug JavaFX and Export to Application on Linux
X fix modules path warning for Tools in the PDE
X "WARNING: Unsupported JavaFX configuration" when running Tools that use JavaFX
X we were probably spared the warnings because the older JARs were hanging around
X update modules path when exporting application
X You need to use "Import Library" to add processing.javafx.PGraphicsJavaFX
o automatically import JavaFX if FX2D is in sketch? or tell user?
X concerned about auto-import being too unreliable

major font cleanup
X JDK fonts have been removed; fonts folder too? (not seeing it in the JDK)
X https://www.oracle.com/java/technologies/javase/11-relnote-issues.html#JDK-8191522
X more reliable loading of default mono fonts
X processing.mono used in preferences.txt
X remove Preferences.getFont(), deal with incorrect usage
X getFont("editor.font") was returning getFont("editor.font.size")

windows/scaling
X we're turning off automatic UI scaling in Windows, should we turn it back on?
X using -Dsun.java2d.uiScale.enabled=false inside config.xml for launch4j
X this was for Java 9, and we should have better support now
X also check whether this is set on Linux
X Welcome screen doesn't size properly for HiDPI screens
X https://github.com/processing/processing/issues/4896
X getSystemZoom() not available to splash screen
X https://github.com/processing/processing4/issues/145
X move all platform code out that doesn't require additional setup?
X i.e. all the things that rely on preferences can be inited separately (later)


1273 (4.0a4)
X “An error occurred while starting the application” with 4.0a3 on Windows
X replace about.bmp that was causing processing.exe to crash on startup
Expand Down
101 changes: 1 addition & 100 deletions todo.txt
Original file line number Diff line number Diff line change
@@ -1,103 +1,4 @@
1274 (4.0a5)
X update JNA from 5.7.0 to 5.8.0
X bump minimum system version to 10.14.6
X remove ant binary from repo, update from 1.8.2 to 1.10.10
X refresh appbundler code a little
X disable "Launchpath: /path/to/Processing.app/Contents/PlugIns/jdk-11.0.11+9/Contents/Home/lib/jli/libjli.dylib" console message on startup
X update macOS SDK references in appbundler code
X fix compilation problem in appbundler iterator
X walk subfolders in the export to avoid duplicated core.jar and to include JavaFX
X fix FX2D applications on macOS
X they didn't properly have their library.path set
X dylib files were not included in the export
X Some 3.x Tools not working because JavaFX isn't on the classpath
X https://github.com/processing/processing4/issues/110
X https://github.com/processing/processing4/pull/112
X garbled text in JavaFX
X https://bugs.openjdk.java.net/browse/JDK-8234916
X bump JavaFX to 16, no longer the LTS version, but fixes garbled text
X and 11.0.8 is not available
X add more entitlements in an attempt to fix audio/video capture
X https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_audio-input
X https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_camera
X https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_microphone
X https://github.com/processing/processing4/commit/7b75acf2799f61c9c22233f38ee73c07635cea14
X update to launch4j 3.14, fixing Export to Application on Windows
X change defaults to get away from JFileChooser; it's awful
X working on JavaFX on Windows, more runtime problems, needing exports
X Export to Application with FX2D apps working on Windows
X make sure we're not embedding webkit with all JFX apps
X maybe just remove it from the main download as well
X remove javafx-swt.jar and javafx.web.jar / also their .so files
X more checking FX2D (and application export) on Windows
o update list of optional JRE files for Java 8
o Andres provided some updates
X https://github.com/processing/processing/issues/3288
o these will change again for Java 11, so wait until then
X opting not to do so
X https://github.com/processing/processing4/issues/210
X changes to how getFont() works for Preferences
X this may have been the cause of the old ghost NPEs on startup?
X turn off chooser.files.native on macOS
X We were shutting this off on macOS because it broke Copy/Paste:
o https://github.com/processing/processing/issues/1035
o https://github.com/processing/processing4/issues/77
X But changing this for 4.0 alpha 5, because the JFileChooser is awful,
X and even worse on Big Sur, and worse than the Copy/Paste issue.
X "Could not run" "For more information, read revisions.txt and Help → Troubleshooting."
X need to drop revisions.txt here and just reference Troubleshooting
X NoClassDefError: processing/core/PApplet when starting 4.0a2 on Windows 10
X https://github.com/processing/processing4/issues/154
X change application signature from Pde3 to Pde4
X also change the bundle identifier to avoid conflicts with 3
X remove template.app from macOS build
X was no longer in use, and causing notarization problems

javafx
X move JavaFX to its own library, too many weird quirks that it includes
o build bits should be in core/build.xml or javafx/build.xml
X by moving it out, all the strangeness of download and import is outside core
X add JavaFX library to IntelliJ
X #@$*$& the JavaFX jars are ever-so-slightly different between platforms
X Only specify --modules-path when running JavaFX apps
X https://github.com/processing/processing4/issues/209
X JavaFX now throws Exception on run b/c natives aren't present
X why are the jars even there? how is module path getting set?
o gonna have to cut loose running Tools from the PDE
o or make it possible to embed a JavaFX sketch, and the rest will work?
X working from the PDE, though not FX2D sketches
X debug JavaFX and Export to Application on Windows
X this was working on Saturday, now broken after the move to a separate library
/ now "Art Station" is broken because it actually creates an FX2D sketch
X (and FX2D isn't on the classpath by default)
X debug JavaFX and Export to Application on Linux
X fix modules path warning for Tools in the PDE
X "WARNING: Unsupported JavaFX configuration" when running Tools that use JavaFX
X we were probably spared the warnings because the older JARs were hanging around
X update modules path when exporting application
X You need to use "Import Library" to add processing.javafx.PGraphicsJavaFX
o automatically import JavaFX if FX2D is in sketch? or tell user?
X concerned about auto-import being too unreliable

major font cleanup
X JDK fonts have been removed; fonts folder too? (not seeing it in the JDK)
X https://www.oracle.com/java/technologies/javase/11-relnote-issues.html#JDK-8191522
X more reliable loading of default mono fonts
X processing.mono used in preferences.txt
X remove Preferences.getFont(), deal with incorrect usage
X getFont("editor.font") was returning getFont("editor.font.size")

windows/scaling
X we're turning off automatic UI scaling in Windows, should we turn it back on?
X using -Dsun.java2d.uiScale.enabled=false inside config.xml for launch4j
X this was for Java 9, and we should have better support now
X also check whether this is set on Linux
X Welcome screen doesn't size properly for HiDPI screens
X https://github.com/processing/processing/issues/4896
X getSystemZoom() not available to splash screen
X https://github.com/processing/processing4/issues/145
X move all platform code out that doesn't require additional setup?
X i.e. all the things that rely on preferences can be inited separately (later)
1275 (4.0a6)


for next release
Expand Down

0 comments on commit 07fffbb

Please sign in to comment.