Processing 4.x releases for Java 17
OTHER License
Bot releases are hidden (Show)
Published by benfry over 3 years ago
Revision 1273 - 15 June 2021
Happy birthday to my goddaughter Kelsey! Let's celebrate with another alpha release.
This should be a bit more stable than the last round. I've rolled back some of the more aggressive anti-AWT changes (bad for longevity, good for compatibility) so images in particular are now behaving better.
But enough of that, let's go to the phone lines:
Sketch window location is saved once again: re-running a sketch will open the window in the same location. This was broken for a while! #158, #5843, #5781
When using multiple monitors, new Editor windows will open on the same display as the most recently opened Editor window. #205, formerly #1566
A major Undo fix, this may even be the big one, but it's not confirmed. (Please help confirm!) #175
cursor(PImage)
broken everywhere because PImage.getNative()
returns null
#180
PImage.resize()
not working properly. #200
copy()
not working correctly. #169
Catch NoClassDefError
in Platform.deleteFile()
(still unclear of its cause) on Big Sur. #159, #6185
Fixed Exception in thread "Contribution Uninstaller" NullPointerException
when removing an installed contribution. #174
If the default display is selected in the Preferences window, store that, rather than its number. It was discovered that plugging in a second display could bump the “default” display to number 2, even while it was still selected. Yay!
Sort out calling unregisterMethod()
for dispose
from dispose()
makes for bad state situation. #199
Some exciting things are on the way for the documentation and web site. #191
Tweak the circle for number of updates based on Akarshit's initial attempt. #201, #4097
Make parseJSONObject()
and parseJSONArray()
return null
when parsing fails. #165, #166
PVector.setHeading()
for parity with p5.js. #193
textFont()
isnot used) has been changed to Source Sans instead of Lucida Sans. I just couldn't take Lucida any longer.Updated to JDK 11.0.11+9
Update from JNA 5.2.0 to 5.7.0
Modernize the RegisteredMethods code to use collections classes w/ concurrency. #199
Set closed issues to automatically lock after they've been closed for 30 days. (This has no effect on open issues, only closed ones.) Actually this one you may have noticed if you had a lot of notifications turned on.
Slowly transitioning some of the older code to newer syntax (lambda functions, etc). This is not a priority for anyone else: it's being done slowly, and as a chance to do code review on some very old work.
Fix textMode(SHAPE) is not supported by this renderer
message with SVG Export. #202, #6169
Published by benfry almost 4 years ago
Revision 1272 - 17 January 2021
Happy Martin Luther King Day! (Or MLK Day Eve, if you're reading this on Sunday.)
Several bug fixes and updates in this release, the most significant being video capture on macOS should be working again, and several OpenGL fixes that come with an updated release of JOGL. (Thanks to Sven Göthel, who continues working on it after many years.)
Update - 18 January 2021 - The app was broken on Windows because of the… splash screen. The download link has been updated with a new zip that fixes the issue, or if you've already downloaded alpha 3, you can download the attached processing.exe
and replace just that file.
surface.setResizable()
workaround in the previous release is now properly fixed. 124
NullPointerException
in getSystemZoom()
on startup in alpha 2. 143
loadJSONObject()
and loadJSONArray()
now return null
if the given file was not found (in line with other loadXxxx()
APIs. 6081
U+FEFF
character with trim()
.PShapeOpenGL.setAttrib()
warning referenced setNormal()
instead of setAttrib()
. 141
var
keyword to highlighting 114
size()
command to follow our guidelines. 136, 138
PdePreprocessIssueException
to the test package. 130, 139
smooth(4)
was showing the “smooth() can only be used inside settings()” error. 149, 152
.jar
file by typing ant source-jar
inside the core
directory. 118
0xFEFF
chars in a .properties
filePlatform
code
editor.laf.vaqua
preference (use the editor.laf
preference instead)DefaultPlatform
and into MacPlatform
.dll
and .jar
files were includedPublished by benfry about 4 years ago
Revision 1271 - 15 September 2020
Several fixes for this round, plus working on the guts quite a bit to prepare for newer/faster/better rendering methods.
The minimum system version for macOS (for the PDE and exported applications) is now set to 10.13.6 (the last update of High Sierra). Apple will likely be dropping support for High Sierra in late 2020, so we may make Mojave (10.14) the minimum by the time Processing 4.x ships.
surface.setResizable(true)
inside setup()
, you'll need to (temporarily) move that into draw()
. We had to do an ugly hack at release time due to issue 124. The ugly hack also involves the window flickering once when it first opens in this situation. We should have that fixed for the next release.buildMenu()
into populateMenu()
method to delay Debugger init 73
NullPointerException
in ContributionManager.updateFlagged()
on startup. Now checks for directory modes
and tools
directories and read/write access on startup 6034
getImage()
call 62, commit
To make way for more advanced rendering options, the exorcism of AWT from the base classes inside core has begun. More about that here: https://github.com/processing/processing4/wiki/Exorcising-AWT
PApplet
55
--disable-awt
option to PApplet.main()
displayDensity(int)
, it's been returning the main display's valueJOptionPane
selectInput/Output/Folder
to ShimAWT
classjava.awt.Frame
object from PApplet
loadImage()
into ShimAWT
desktopFile()
and desktopPath()
methods are supported, unless we find they're troubleShimAWT.loadImage()
to the PSurface
subclassesjava.awt
and javax.imageio
out of PImage
getModifiersEx()
instead of getModifiers()
4
PImage.save()
breakage due to AWT changes above (saving to PNG was broken in anything but the default renderer) 80
WARNING: Illegal reflective access by processing.opengl.PSurfaceJOGL” on getContextCapabilities()
50, 76
color
as return type was broken 104, 105
Published by benfry over 4 years ago
Revision 1270 - 18 January 2019
This is a massive update! With the help of Sam Pottinger, we're working to get Processing to run with Java 11. This will give us a more stable platform for the next few years.
In the process, there are also significant updates which include updated Java syntax support and lots of other long-awaited features.
We've started a Changes in 4.0 document to keep track of all the details.
We recommend using a different sketchbook location for 4.0, to avoid confusion with things that might be incompatible with your 3.0 work.
Native.load()
calls. 7, 15
import static
. 18, 5577
GraphicsConfiguration
. 32, 35, 34
WARNING: Illegal reflective access by processing.app.ui.Toolkit to field sun.awt.CGraphicsDevice.scale
warning on startup.setResizable()
. 36
ant dist
. 38, 8
PSurfaceFX
. 5286
Table
's use of deprecated isAccessible()
. 33, 3
rotateZ()
was breaking in PShapeOpenGL
. 28, 41