mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 10:21:26 +01:00
processing-1271-4.0a2
Processing 4.0
Processing 4 is an exciting next step for Processing in which the internals of the software will see important updates, helping prepare the platform for its future. This includes the move to JDK 11 and support for new Java language features. The changes should be transparent to most users, but because of the massive shift behind the scenes, this will be 4.0.
API Changes
As with all releases, we'll do everything possible to avoid breaking API. However, there will still be tweaks that have to be made. We'll try to keep them minor. Our goal is stability, and keeping everyone's code running.
alpha 2
- See
changes.mdif you're usingsurface.setResizable()with this release on macOS and with P2D or P3D renderers. - The
staticversions ofselectInput(),selectOutput(), andselectFolder()inPApplethave been removed. These were not documented, hopefully were not in use anywhere. - The
frameobject has been removed fromPApplet. We've been warning folks to usesurfacesince 2015, but we still should warn users PImage.checkAlpha()is nowpublicinstead ofprotected- All AWT calls have been moved out of
PImage, which may be a problem for anything that was relying on those internals - Removed
MouseEvent.getClickCount()andMouseEvent.getAmount(). These had been deprecated, not clear they were used anywhere.
alpha 1
Base.defaultFileMenuis nowprotectedinstead ofstatic public
Other Changes
alpha 2
- 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 the minimum 10.14.x by the time 4.x ships.
alpha 1
- Processing 4 will be 64-bit only. This is the overwhelming majority of users, and we don't have the necessary help to maintain and support 32-bit systems.
Build Changes
-
If you're using Eclipse, it'll complain about the lack of
jogl-all-src.jar. Steps to create your own:git clone --recurse-submodules git://jogamp.org/srv/scm/jogl.git jogl cd jogl git checkout 0779f229b0e9538c640b18b9a4e095af1f5a35b3 zip -r ../jogl-all-src.jar src
Description
Source code for Processing, the software sketchbook and Java-based programming language for students, artists, designers, educators, hobbyists, and creative coders. Includes the core library, and editor (PDE)
Readme
215 MiB
Languages
Java
91.3%
Kotlin
3.7%
Processing
1.6%
ANTLR
0.9%
GLSL
0.8%
Other
1.6%