Skip to content

Releases: processing/processing4

Processing 4.3.2

12 Dec 16:24
672a936
Compare
Choose a tag to compare
Processing 4.3.2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: processing-1294-4.3.1...processing-1295-4.3.2

Processing 4.3.1

12 Nov 14:38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: processing-1293-4.3...processing-1294-4.3.1

Processing 4.3

12 Nov 10:27
Compare
Choose a tag to compare

Revision 1293 – 26 July 2023

This release incorporates several contributed fixes (see below) and a few additional bug fixes and changes. The icons have ben updated a bit so that Processing is less likely to be confused with Visual Studio Code when seen in the dock or task bar, and the splash screen colors and layout have design tweaks as well.

  • Update documentation and process for updating language files for localization 722

  • Inherit dark mode from system settings on macOS 699

  • Use calculated text height instead of OS ascent for better vertical centering. Note: this may cause some sketches to look slightly different if textAlign(..., CENTER) is being used. 739

  • Bumped Java to 17.0.8+7.

  • Fix NullPointerException when background() exceeds color range when writing PDF 740

Contributions

  • Updated icons and splash screen colors from @fathompaul.

  • Register pde:// browser protocol for .pdez and .pdex files on Linux from @lala-lala-lori 674, 696

  • Syntax error highlighting placement / width incorrect from @sampottinger 714, 715

  • Better comment/uncomment key shortcut for French systems from @ThinkDumbIndustries 625, 660

  • Fix tweak mode issue with hex codes including transparency from @sampottinger 720, 721

  • LSP feature/declaration support from @Efratror 676, 678

  • Also reference support for Language Server Protocol from @Efratror 684, 690

  • Updates to the Spanish and Catalan translations from @trikaphundo 744, 746, 743, 745

  • Debugger was listing immediate array dimension last, fix from @WillRabalais04 606, 729

  • Second beginDraw() / endDraw() call clears PGraphics object when created w/ P2D 641, 728

Processing 4.2

19 Aug 06:45
Compare
Choose a tag to compare

Revision 1292 – 20 February 2023

Impress your friends with new pde:// protocol handlers! With Processing 4.2, you can link to .pdex and .pdez files to immediately run and install libraries and sketches. How it works:

  • Linking to pde://processing.org/somesketch.pdez in the browser will download somesketch.pdez and load it into the editor. It also works for files, for instance pde:///Users/ada/Desktop/somesketch.pdez will open an archive found on the Desktop.

  • This also works for contributions (Libraries, Modes, Tools) archived as .pdex files.

Both file types are simply a renamed .zip file. So to create sketches in .pdez format, use Tools → Archive Sketch, and replace the .zip with .pdez.

This is implemented for macOS and Windows (#559), based on this article which appears to be from @pboucher. Thank you! We still need help with implementing and testing it on Linux (#674). We would also like to add a warning dialog when opening files this way (#560).

In addition to the protocol handlers, there are a number of fixes in this release, especially for Windows users (and soon, for Python users).

Windows users, we still love you

  • The .pde, .pdex, and .pdez icons now work on Windows!

  • Exporting projects to Windows resulted in “cannot find Java” errors, now fixed. #667

Snake people, we love you too

  • Several internal changes have been made to better support future releases of Python Mode. Fingers crossed that we'll be able to launch some of this soon.

And still we fix the bugs

  • Fix encoding problem in “has been resized from 100?100 to 116?100 by the window manager” messages when using OpenGL.

  • fullScreen(P2D) not using the full screen when Windows display is scaled to fractional sizes. #514.

  • Table.getString() raises stack overflow when column type set to double. #671

  • Added support chained decimals during SVG Parsing (contribution from @bsapozhnikov) #515, #659

  • Applications were being exported to the wrong folder. #601

  • Fixed more /tmp folder problems on Linux. #666

Processing 4.1.3

19 Aug 06:44
Compare
Choose a tag to compare

Revision 1291 – 9 February 2023

Rollup of bug fixes from the past few weeks. Mostly in the Contributions Manager, several others too.

bug fixin'

  • Lots of work on the Contributions Manager to deal with concurrency issues (and myriad problems revealed in the process). #640

  • Preferences were not saved when closing Processing under certain circumstances. #608

community contributin'

  • Fix typos in French translation. #661

  • Improved documentation for lerpColor() function. #655

house cleanin'

  • Warn users about multiple libraries with the same name.

  • Tool tips for errors and warnings not picking up correct colors from the theme. Also made fixes for the margins and border of the popup.

  • Many more updates to the contribs wiki

internal changin'

  • Update to JDK 17.0.6+10 from Adoptium

  • Set all build.xml files to use Java 17. Also fix several that still had tabs instead of spaces.

  • Add exports to the library parameters.

  • Fix inversion of handleSaveAs() (regression from earlier)

Processing 4.1.2

19 Aug 06:44
Compare
Choose a tag to compare

Revision 1290 – 16 January 2023

Happy Martin Luther King Jr. day!

Contributions Manager

The majority of the work for this release went into cleaning up and fixing the Contributions Manager. (What you see when importing Libraries, managing Modes, etc.) Please, please, please help us out and give it a lot of testing. This is old, messy, and important code that is easy to break in major ways. If you have trouble with it, please file an issue!

  • The “Manage Modes…” menu item was opening an empty window. #613

  • Fix Cannot invoke "javax.swing.JProgressBar.setVisible(boolean)" because "this.progressBar" is null error when using Update All. #618

  • Libraries from the Foundation (i.e. Video, Sound, and JavaFX) will now be reported properly on the stats page.

  • Updated the Wiki pages about Libraries, Modes, Tools, and Examples for Processing 4. These pages were copied over from the Processing 3 repository, but needed some cleaning. Still more work to do here, but it's a start.

  • Implemented per-line indicators for download/install status. Eventually these will replace the progress bar in the bottom panel.

  • Removed an old workaround for a NullPointerException while making selections. If it reappears, please file a new issue. #3667

@sampottinger saves us again

  • “Cannot find a class or type named ‘PApplet’” error #626, #635

  • Cannot use @Override and @Deprecated in static mode #619, #622

  • color in imports shows up as an error in the editor (even though the code still runs) #521, #636

  • Sketch folders with spaces or hyphens showing errors in the editor window (even though the code still runs) #610, #637

Other Bug Fixes

  • Help Menu sometimes disabled on macOS. This is a Java bug, but it's been closed as “cannot reproduce,” so I managed to find a workaround. #4353, #617, #638

  • Fixed ClassCastException with copy() and PGraphicsJava2D. #624

Additions? Why Not.

  • The shortcuts for Find Next and Find Previous (i.e. ctrl-G and ctrl-shift-G on Windows/Linux) now work inside the Find/Replace window.

  • Show a warning when calling clear() on the primary drawing surface. #627

Processing 4.1.1

19 Aug 06:44
Compare
Choose a tag to compare

Revision 1289 – 28 November 2022

See the release notes for 4.1 and 4.0.2 for major updates since 4.0.1 was released in August.

This release adds a single file for Language Server support that was missing in the 4.1 release from a few hours ago.

And if you'd like to try out the Language Server with Visual Studio Code, you can give this project a try.

Processing 4.1

19 Aug 06:44
Compare
Choose a tag to compare

Revision 1288 – 28 November 2022

Compared with the 4.0.2 release which was focused on stability, this 4.1 release is focused on instability adding a couple new features. They'll need more testing, but hopefully you'll find them useful.

what makes this 4.1 instead of 4.0.3

  • This release adds initial support for Language Server Protocol, which means we will soon be able to integrate the compile/run process with other editors like Visual Studio Code. There is still a lot of work to be done here (this code is probably more “alpha” quality) but it's a good step forward. To use it, we'll first need an LSP “client,” which can be a community contribution so keep an eye out for that in the coming weeks and months. Thanks to @kgtkr for the LSP code here, it's a huge help. #117

  • Support has been added for extended language tags, which makes available a Traditional Chinese (zh_TW) translation in addition to the previously available Simplified Chinese translation (originally zh, now renamed to zh_CN). You can see the full list of supported language tags here. We will keep the existing two-digit tags in place for now, and update them as needed when new language translations are added. Read more on the Translations page on the Wiki. Thanks to @jsyeh for the zh_TW translation. #600

  • Since the redesign of Processing.org, the offline reference is too large to include the download. In this release, a “Download Offline Reference” item was added to the Help Menu, for people who need an offline copy. It creates a file called reference.zip in the sketchbook. If that file is present, then the Help menu links and Find in Reference will use that copy of the reference. If it is not present, online URLs will be used. You can also manually copy the reference.zip file from sketchbook to sketchbook. Put reference.zip in the root of your sketchbook and restart Processing so that it picks up the new file. For instance, in a class situation, you might put the file on a shared server and tell people where to find it. Read more on the Offline Reference page on the Wiki. #524, #213

contributed fixes

other updates

  • In some cases, the Theme was not being saved after Processing was restarted. #565

  • A few updates and clarifications in the size() reference.

  • The Java version has been bumped from 17.0.4 to 17.0.5.

Processing 4.0.2

19 Aug 06:44
Compare
Choose a tag to compare

Revision 1287 – 24 November 2022

🦃 Happy Thanksgiving! 🦃

Fixing more regressions and other steps backward found since the 4.0 release. Enjoy!

the big ones

  • OpenGL apps now work with macOS Ventura, once again thanks to @jaegonlee. #544

  • Library version number parsing wasn't ignoring comments properly, so libraries that followed the template closely were showing The version number for “…” is not a number. #586, #553

  • The Updates tab of the Contribution Manager was throwing error messages about this.progressBar. #567

  • fullScreen() with pixelDensity(2) was broken with the default renderer. On startup, the sketch would report Display -1 does not exist, returning 1 for displayDensity(-1). #487

  • JSSC update for M1/M2 from @sampottinger #525, #577

the li'l and medium ones

  • After creating 26 sketches, the “take a break” message still showed up after restarting Processing. #582

  • With multiple users sharing a machine, Processing would not work properly for the second user due to a problem with the temporary directory. #549

  • Added explanation for how to fix Processing when a user disallows access to the Documents folder on macOS. #581

  • Fixed an infinite loop that could be caused by running out of options for a sketch naming scheme.

  • When calling random() on a list (now choice()) with no elements, it would throw a weird Exception. Now it throws a more descriptive exception.

need some help here

Contributions from the community!

steps forward

  • Added a choice() method to the XxxxList classes, which returns a random value from the list. Similarly removeChoice() removes a random element from the list and returns the value.

  • Also added a choice() method that returns random integers. So int value = choice(10) is a shorthand way of saying int value = (int) random(10)

  • Removed the choice() (formerly random()) method from the XxxxList classes that took a PApplet object for its random number seed/generator. Just feels like overkill at this point.

internal changes

  • Using more Java 17 syntax in the code. No plans to really scrub everything to change the syntax over, just a matter of cleaning things up as we go.

  • Fixed a potential casting problem with Platform and DefaultPlatform. Should have been unreachable, but fixed anyway.

  • Brought back getCodeIndex() for GUI Builder Tool… then removed it again. #545, #596

me talking on the wiki

  • Added a Translations page to the 4.x wiki, which is update to the Localization page from the 3.x repository.

  • Posted an explanation of how to create a naming.json file so you can set up your own sketch naming schemes.

Processing 4.0.1

19 Aug 06:44
Compare
Choose a tag to compare

Revision 1286 – 9 August 2022

And what sort of anniversary would it be without a regression that breaks a major feature? Ahem. Here's 4.0.1…

  • In the 4.0 release, switching to p5.js Mode caused an error message to pop up. Now fixed. #530

  • One minor addition: in the Preferences window, clicking the “More preferences can be found…” text will open the wiki page with more details about all these wonderful options.

Other than that, please see the release notes for 4.0