Skip to content

Processing 4.0 alpha 6

Compare
Choose a tag to compare
@processing-bot processing-bot released this 19 Aug 06:43
· 2296 commits to main since this release

Revision 1275 – 10 July 2021

Code completion is back!

Added a new Movie Maker that creates MP4s and Animated GIFs!

And a new color scheme sure to bring out the cranks!

New Features

  • Movie Maker has been rewritten and much improved! It can now directly create high quality MPEG-4 videos and Animated GIFs. Due to Apple removing support for most video codecs after macOS Mojave, we could no longer export QuickTime videos. The new Tool uses FFmpeg behind the scenes. The Tool also supports Apple ProRes 4444, which is very high quality, and incidentally, the format that Apple's “QTMovieModernizer” formerly used to re-encode “legacy” video formats. #6110

Design and Themes

  • We've started work on refreshing the design. This round has a new set of colors. If you like them, great! If not, please hold your complaints. The internet doesn't need more negativity! We know some people won't like it, and we're still working on it. We think you'll be happy with the final version—we have some exciting updates that we aren't yet ready to share, and it will all make more sense as the system comes together. #48

  • In the meantime, if you'd like to customize the colors, instructions are here.

  • The "4" icon and the current "About" screen are only placeholders. I was tired of looking at the 3.x design, and also needed to be able to tell the versions apart from one another. It's also necessary to start the replacement process: figuring out what things need to be updated when we incorporate the real versions.

  • All that said, major work underway for improvements to how the visual theme is handled. We hope to ship with a dark mode option as well. Stay tuned!

  • The splash screen handler has been rewritten because the Windows version in launch4j was too brittle. The downside is that it's a fraction of a second slower to show up, but the upside is that hi-res Linux and Windows displays get a nice 2x version instead of the crunchy low-fi (not in a good way) version.

  • Add ui.font.family and ui.font.size as preferences.

  • Added support for 0x numbers to support alpha colors in theme.txt.

Bug Fixes

  • Code completion is fixed. Thanks Sam! #177, #219

  • mouseButton was not set correctly on mouseReleased() with Java2D. #181

  • A more useful message for the NoClassDefError: processing/core/PApplet startup error on Windows was in the alpha 5 source, but may not have made it into the actual release. #154

  • Fix Module javafx.base not found on Linux. Thanks letorbi. #214, #215

  • After selecting a font other than Source Code Pro, font went to a default. #216

  • unregisterMethod() was broken. #223

  • Fixed "No library found for org.w3c.dom" message when using that (built-in) package.

Changes

  • When changing to an incompatible Mode, just open a new window instead of giving the user a potentially confusing error message about it. #189

API Changes

None of these should break anything, but if they do, please let us know!

  • Editor.applyPreferences() was protected, now it's public.

  • Removed Editor.repaintErrorBar() and Editor.showConsole() because they didn't appear to be in use. Holler if this breaks anything.

  • Renamed TextAreaPainter.getCompositionTextpainter() to getCompositionTextPainter().

Internal Changes

  • Removed java.class.path when launching code from inside the PDE. This should prevent conflicts, and avoid introducing problems when using Export to Application.

  • Removed compound key actions (which were undocumented and not in use). This clears up a lot of complexity in DefaultInputHandler.

  • Remove jdt.compiler.jar from subprojects.

  • Cleaned up lots of dead/unused parts of javafx/build.xml.

  • Move ISSUE_TEMPLATE to the .github subfolder.

  • Removed extra files from Tools folders for the download.

  • Moved doclet to separate repo. Thanks DSI! #218, #222