@benfry benfry released this Jul 26, 2018 · 50 commits to master since this release

Assets 9
PROCESSING 3.4 (REV 0265) - 26 July 2018

Kind of a huge batch of bug fixes and updates. 

We've had trouble on Windows when MS Security Essentials or Windows Defender
decides to defend your machine from our software, removing files from the 
download and making Processing unusable. A few extra checks have been added
so that more helpful warnings can be conveyed when this happens.

The other important fix is better handling in the Contributions Manager 
for sites that use https. This fixes Python Mode installation, and many
others that have recently started reporting "Could not find a ... in the
downloaded file" when installing a Library, Mode, Tool, or Example set.

We're also bumping the release to 3.4 because of a lot of additions,
plus some internal changes that have an impact on API.


[ the big ones ]

+ Show alternate error message on Windows when jnidispatch.dll or core.jar 
  have been removed by Windows Defender or Microsoft Security Essentials.
  https://github.com/processing/processing/issues/5537
  https://github.com/processing/processing/issues/4929
  https://github.com/processing/processing/issues/5442
  This has been a huge headache for us. We've repeatedly submitted the 
  software and asked Microsoft for help, but haven't had any luck.
  If you run into this issue and would like to help, please submit the files
  to Microsoft here: https://www.microsoft.com/en-us/wdsi/filesubmission
  Perhaps if there are enough reports, they'll understand this is affecting
  a lot of people. 

+ Contributed libraries/examples/etc that redirect to https URLs now working.
  https://github.com/processing/processing/issues/5554
 

[ new features ] 

+ It's now possible to make your own theme file for Processing. Copy the
  theme.txt file from inside the Processing folder to your sketchbook
  folder, and then edit away. For instance, to make a dark theme:
  https://github.com/processing/processing/wiki/Dark-Theme-for-PDE

+ It's now possible to copy the text of the status bar. Click the clipboard
  icon at the right-hand side to copy the text to the clipboard. To search
  immediately, use shift-click. 
  https://github.com/processing/processing/issues/5271
  https://github.com/processing/processing/pull/5345
  The default search engine is Google, but you can modify that by altering
  the 'search.format' line in preferences.txt

+ Added pyde as a supported extension, so double-clicking 
  on Python sketches will launch the PDE.
  https://github.com/jdf/processing.py/issues/284


[ do you like data? ]

+ Added Double and Long versions of the data classes. Not sure if we'll 
  keep these, but we're trying them out.

+ Also add subset(long) and subset(double) to PApplet

+ Changed the internal Sort class to use int for comparisons for better 
  accuracy, especially when working with double and long values.

+ Consistently implemented write(PrintWriter) in the List and Dict classes

+ Added save(File) to the List and Dict classes

+ Prevent Table.sort() from throwing NullPointerException with empty cells


[ updates ]

+ Fixed up the Welcome dialog. When closing the window or hitting ESC, 
  the "show this" selection is recorded. Also clicking that text will 
  toggle the checkbox on/off, as users would expect.
  https://github.com/processing/processing/issues/3911
  https://github.com/processing/processing/issues/3912

+ Redesigned the Rename window to be less ugly. Now closes when ESC is
  pressed, and the default action is set so hitting Enter will work properly.
  https://github.com/processing/processing/issues/5391
  https://github.com/processing/processing/issues/5400

+ Rewrite exec() to do threads, also handle fast/excessive output cases

+ Rewrite requestImage() to fix errors/slowness/concurrency problems

+ Refactoring inside the completion code
  https://github.com/processing/processing/commit/7e3661e9f7a6df1569c8bebc683e7742f50caa25
  https://github.com/processing/processing/commit/20c6f86c0d600806c991962eb208548ac45e9e2a
  https://github.com/processing/processing/commit/8dda8a4d02bc9a1d15e81fee3e6c183e4076a40e
  https://github.com/processing/processing/commit/ff7dc4d5094ccf1cc35189c9412adda93153b436

+ Now using Java 8u181.
  https://github.com/processing/processing/pull/5586

+ Change lack of blendMode() to a warning rather than an error in PDF

+ Updated the copyright and year in the launch and About screen.


[ give gohai a hand, because he's all arm ]

+ A large number of changes and fixes for ARM submitted by Gottfried,
  who also posted 3.3.7.1 and 3.3.7.2 interim releases with some of these
  changes already present. Now we're back on track with 3.4.

+ Additional I/O improvements
  https://github.com/processing/processing/pull/5581

+ Fix regressions in 3.3.7.1
  https://github.com/processing/processing/issues/5582

+ OpenGL ES: Fix GLSL version number for 1.00
  https://github.com/processing/processing/pull/5583

+ Add ADS1X15 Analog-to-Digital converter example
  https://github.com/processing/processing/pull/5590

+ IO: pinMode() can now set pull-up and pull-down resistors on Raspbian
  thanks to @xranby for 64-bit help

+ Several new examples
  https://github.com/processing/processing/pull/5566

+ IO: New example sketch showing how to use a MPR121 capacitive touch sensor
  fun tutorial by @msurguy forthcoming

+ IO: New example sketch showing how to use a BME280 environmental sensor
  IO: New example sketch showing how to use a TSL2561 light sensor
  IO: New example sketch showing how to use a PCA9685 Servo & PWM controller
  ...all contributed by @OlivierLD

+ IO: pinMode() got faster
  https://github.com/processing/processing/pull/5557

+ IO: I2C now supports talking to slower devices, such as Arduino boards
  https://github.com/processing/processing/pull/5567

+ Support for ARM Mali graphics was added to P2D/P3D
  Thanks to seongwook from the forums for his help during bringup
  https://github.com/processing/processing/pull/5485

+ P3D now supports up to 4 lights on Pi using their OpenGL driver

+ Serial library now supports Raspbian's port naming (such as "/dev/serial0")

+ Enable exporting of Windows applications on ARM
  https://github.com/processing/processing/pull/5488
  https://github.com/processing/processing/issues/5287

+ Clarify SimpleInput example
  https://github.com/processing/processing/pull/5558

+ Various ARM-related updates
  https://github.com/processing/processing/pull/5440

+ Make P3D work on Linux SBCs using ARM Mali graphics and their ES 3.1 driver
  https://github.com/processing/processing/pull/5475


[ contributed by the community ]

+ Updates to Japanese translation
  https://github.com/processing/processing/pull/5263

+ Added Russian translation
  https://github.com/processing/processing/pull/5451

+ Make "loadXML(String)" handle "file not found"
  https://github.com/processing/processing/pull/5144

+ Update java.lang.UnsupportedClassVersionError message
  https://github.com/processing/processing/pull/5459
  
+ Semi-transparent colors do not display properly in PGraphics
  https://github.com/processing/processing/issues/5519
  https://github.com/processing/processing/pull/5522

+ Fixed a crash occuring while loading certain SVGs exported from Illustrator
  https://github.com/processing/processing/pull/5526

+ Support PShape.contains() on GROUP objects
  https://github.com/processing/processing/pull/5550

+ Improve implementation of PShape.contains() to take the CTM into account
  https://github.com/processing/processing/pull/5549


[ bug fixes ]

+ Make sure the editor is updated after reloading changes (from Jakub)
  https://github.com/processing/processing/pull/5487
  https://github.com/processing/processing/issues/5466

@gohai gohai released this Jul 22, 2018 · 193 commits to master since this release

Assets 4

This is another special release for ARM only. It fixes a couple of issues that some of you found in 3.3.7.1.

  • Fix P2D/P3D on Raspberry Pi using the "legacy" driver
  • IO: Fix pinMode() retry logic
  • IO: Make I2C errors more descriptive
  • Java got updated to 8u181

@gohai gohai released this Jul 1, 2018 · 193 commits to master since this release

Assets 4

This is a special release for ARM only:

  • IO: pinMode() can now set pull-up and pull-down resistors on Raspbian (thanks to @xranby for 64-bit help)
  • IO: New example sketch showing how to use a MPR121 capacitive touch sensor (fun tutorial by @msurguy forthcoming)
  • IO: New example sketch showing how to use a BME280 environmental sensor (contributed by @OlivierLD)
  • IO: New example sketch showing how to use a TSL2561 light sensor (contributed by @OlivierLD)
  • IO: New example sketch showing how to use a PCA9685 Servo & PWM controller (contributed by @OlivierLD)
  • IO: pinMode() got faster
  • IO: I2C now supports talking to slower devices, such as Arduino boards
  • Support for ARM Mali graphics was added to P2D/P3D (thanks to seongwook from the forums for his help during bringup)
  • P3D now supports up to 4 lights on Pi using their OpenGL driver
  • Serial library now supports Raspbian's port naming (such as "/dev/serial0")
  • Processing on ARM can now export applications for Microsoft Windows
  • Java got updated to 8u172

@benfry benfry released this Mar 14, 2018 · 193 commits to master since this release

Assets 9
PROCESSING 3.3.7 (REV 0264) - 13 March 2018

A rollup of several fixes from the last few months. 


[ changes most likely to be noticed ]

+ Windows Defender blocks Processing 3.3.6. Not sure why this was happening,
  but hopefully a new release should be all that's necessary to fix it.
  https://github.com/processing/processing/issues/5329

+ Lots of fixes for the Net Library by Jakub
  https://github.com/processing/processing/pull/5378
  https://github.com/processing/processing/issues/4419
  https://github.com/processing/processing/issues/5360
  https://github.com/processing/processing/issues/3970
  https://github.com/processing/processing/pull/5389

+ Include newlines at end of files (i.e. when saving .pde files)
  https://github.com/processing/processing/issues/5327
  Why do this? https://stackoverflow.com/a/729795

+ Rename (refactor) dialog is unusable on high density screen
  https://github.com/processing/processing/issues/5368

+ Detect errors from curved quotation marks (a headache when copying/pasting)
  https://github.com/processing/processing/issues/5133
  https://github.com/processing/processing/pull/5152

+ NullPointerException on close button with P3D and noLoop
  https://github.com/processing/processing/issues/5214
  https://github.com/processing/processing/pull/5384

+ Fix exception due to version parsing in Java 9
  https://github.com/processing/processing/issues/5275

+ Fix line joins on triangles
  https://github.com/processing/processing/issues/5353
  https://github.com/processing/processing/pull/5354


[ somewhere in the middle ]

+ Fix NullPointerException in ContributionManager.deleteFlagged()
  https://github.com/processing/processing/issues/5342

+ Fix scrub comments for empty block comment /**/
  https://github.com/processing/processing/pull/5265
  https://github.com/processing/processing/issues/5219
  
+ Fix error checker crash when className contains [ or ]
  https://github.com/processing/processing/pull/5304

+ Table.insertRow() causes ArrayIndexOutOfBoundsException (with fix)
  https://github.com/processing/processing/issues/5406

+ blendMode() with PDF isn't showing the warning about it not being available
  https://github.com/processing/processing/issues/5105

+ textureWrap() not updating when changed during draw()
  https://github.com/processing/processing/issues/5322

+ Cap frameRate() to 1000 in OpenGL
  https://github.com/processing/processing/issues/5404

+ ARM tweaks for shaders on the Raspberry Pi
  https://github.com/processing/processing/pull/5297

+ Fix 3D on contemporary versions of Linux
  https://github.com/processing/processing/pull/5428
  https://github.com/processing/processing/issues/5308

+ cursor() don't work after void noCursor() in P2D and P3D
  https://github.com/processing/processing/issues/5330
  https://github.com/processing/processing/pull/5340


[ changes least likely to be noticed ]

+ Fix JRE download issues
  https://github.com/processing/processing/issues/5284

+ Update to Java 8u162

+ PdePreprocessor change is breaking current source
  https://github.com/processing/processing/issues/5413

+ Output .java files in UTF-8 and force compiler to use UTF-8
  https://github.com/processing/processing/pull/5436

+ Refactor to use a few Java 8 features
  https://github.com/processing/processing/pull/5134

+ Remove "Pipe Organ" from exec() docs
  https://github.com/processing/processing/pull/5282

+ Fix typo in Italian translation
  https://github.com/processing/processing/issues/5365

+ Remove useless deprecation on PImage.mask(int[])

+ Make un/registering methods in PApplet thread-safe
  https://github.com/processing/processing/pull/5379

+ set colorModeDefault to true by default

+ Minor bezierPoint() rewrite for performance
  https://github.com/processing/processing/pull/5251


[ additions! new features! ]

+ Added setIndex() method to IntDict, FloatDict, StringDict

+ Added resize() to IntDict, FloatDict, StringDict

+ Fix entries() Iterator in IntDict, FloatDict, StringDict

@benfry benfry released this Sep 4, 2017 · 304 commits to master since this release

Assets 8
PROCESSING 3.3.6 (REV 0263) - 4 September 2017

A collection of mostly minor bug fixes that have accreted 
since the last release back in June.


[ contributions, we love 'em ]

+ Add Italian translation
  https://github.com/processing/processing/pull/5169
  
+ Wrong tab for missing brace
  https://github.com/processing/processing/pull/5180
  https://github.com/processing/processing/issues/5165

+ Fix typo in German translation
  https://github.com/processing/processing/pull/5195
  https://github.com/processing/processing/issues/5187
  
+ Movie Maker only works once
  https://github.com/processing/processing/issues/5168
  https://github.com/processing/processing/pull/5230
  
+ Add more build products to linux/.gitignore
  https://github.com/processing/processing/pull/5229

+ Add issue template to the repo
  https://github.com/processing/processing/issues/5239
  https://github.com/processing/processing/pull/5245

+ Add workaround for window size = 0 crash
  https://github.com/processing/processing/pull/5234
  https://github.com/processing/processing/issues/5052


[ jakub, we love him ]

+ Fix comment/uncomment adding slashes at wrong indent
  https://github.com/processing/processing/issues/5171
  https://github.com/processing/processing/pull/5185
  
+ Add JavaFX runtime to error checker class path
  https://github.com/processing/processing/pull/5186


[ gottfried, with gusto ]

+ Ironing out the new shell() command
  https://github.com/processing/processing/pull/5082

+ Workaround issues with August 2017 release of Raspbian
  https://github.com/processing/processing/pull/5222

+ Fix bugs in line vert shader
  https://github.com/processing/processing/pull/5184
  https://github.com/processing/processing/issues/5181
  https://github.com/processing/processing/issues/5182
  https://github.com/processing/processing/issues/5183
  https://github.com/processing/processing/issues/5194


[ behind the scenes ]

+ Updated to Java 8u144

+ Fixed issue with call to remove value instead of key in mode contrib hash
  (this was only in the code used by the command line mode loader)
Jul 11, 2017
finishing the shell item

@benfry benfry released this Jun 23, 2017 · 369 commits to master since this release

Assets 10
PROCESSING 3.3.5 (REV 0262) - 23 June 2017

Fixes for a couple problems introduced in the last release.


[ everything that went bad ] 

+ Console window was only remembering two lines of text 
  because of a name collision in the preferences handling.
  https://github.com/processing/processing/issues/5110
  
+ Something went wrong with the 64-bit Linux release:
  "libjli.so: cannot open shared object file: No such file or directory" 
  https://github.com/processing/processing/issues/5111

+ "Could not parse -1 for --display" message on some Windows machines
  https://github.com/processing/processing/issues/5118
  https://github.com/processing/processing/pull/5141


[ some new things hopefully going good ]

+ Fix a NullPointerException that showed up with textWidth() and OpenGL
  https://github.com/processing/processing/issues/5137
  https://github.com/processing/processing/pull/5138

+ Per request, use native file choosers by default on Linux. I'm told
  that the default Linux file choosers have grown up in the last decade. 
  I'm trusting the person who is making that claim and making them default.
  https://github.com/processing/processing/issues/5122
  To get the old behavior in the Editor, change preferences.txt to say:
  chooser.files.native = false
  Or in your code, add this line:
  useNativeSelect = false;

@benfry benfry released this Jun 3, 2017 · 378 commits to master since this release

Assets 8
PROCESSING 3.3.4 (REV 0261) - 3 June 2017

Several useful bug fixes and improvements. Some big, many small.


[ fixes you'll notice ]

+ Exported applications no longer report as "Damaged" on macOS Sierra
  https://github.com/processing/processing/issues/4705

+ Prevent the console from freezing up when print() and println()
  are used to print thousands of lines of output.
  https://github.com/processing/processing/pull/4935
  https://github.com/processing/processing/issues/4825

+ Apple broke key repeat in macOS Sierra, here's how to fix it:
  https://github.com/processing/processing/wiki/Troubleshooting#key-repeat-on-macos-sierra

+ Fix the keyPressed variable when multiple keys are pressed
  https://github.com/processing/processing/pull/5050
  https://github.com/processing/processing/issues/5049


[ some you probably won't ]

+ Clarify wording of error message regarding sketchbook location
  https://github.com/processing/processing/issues/4942

+ Remove 'run sketches on display' error text that showed up even 
  when using Processing for the first time

+ Implement alternate 'ant app' target for macOS application debugging

+ Added a null check to sketch loading to prevent some issues such as
  https://github.com/processing/processing/issues/4980

+ Handle edge case for set() being called with a 2D vector, on a 3D vector
  https://github.com/processing/processing/issues/5092
  

[ incomplete additions ]

+ Add exec() with StringList options (documentation coming soon)

+ Begin work on a shell() function to do exec() via a shell


[ other contributions - thank you! ] 
  
+ Add install/uninstall scripts for Linux and correct mime types for the PDE 
  https://github.com/processing/processing/pull/5106

+ IO library updates for ARM
  https://github.com/processing/processing/pull/5044
  
+ Check $SUDO_USER on Linux for locating the sketchbook folder
  https://github.com/processing/processing/pull/5055
  https://github.com/processing/processing/pull/5054

+ Debugging the "files changed" detector in the Editor
  https://github.com/processing/processing/issues/4713
  https://github.com/processing/processing/pull/5021
  https://github.com/processing/processing/pull/4849

+ Still more updates to the change detector
  https://github.com/processing/processing/pull/5075
  
+ Warn user to use L when creating a number constant that won't fit into an int
  https://github.com/processing/processing/issues/4878
  https://github.com/processing/processing/pull/5077

@benfry benfry released this May 2, 2017 · 424 commits to master since this release

Assets 10
PROCESSING 3.3.3 (REV 0260) - 2 May 2017

Happy birthday to my Dad and baby brother!

Let's celebrate with a couple bug fixes:

+ keyPressed not returning false once a key is released
  https://github.com/processing/processing/issues/5033

+ Image tint() was broken in 3.3.x
  https://github.com/processing/processing/issues/5040
  https://github.com/processing/processing/pull/5042
  
+ Deal with loadBytes() regressions introduced by their rewrite
  (was breaking p5jsMode because of its use of loadBytes(File)

@benfry benfry released this Apr 26, 2017 · 433 commits to master since this release

Assets 10
PROCESSING 3.3.2 (REV 0259) - 25 April 2017

Broke a few eggs with that last omelette, and left a little eggshell behind.
This version takes care of a handful of revisions.

[ bug fixes, mostly for regressions in 3.3.1 ]

+ ArrayIndexOutOfBoundsException when using tint() or loadFont()
  https://github.com/processing/processing/issues/5028
  https://github.com/processing/processing/pull/5029
  
+ createInput() wasn't returning null for files that were not found
  https://github.com/processing/processing/issues/5026

+ Assigning Pixels Vertically Flipped in P2D
  https://github.com/processing/processing/issues/5013


[ useful updates, that hopefully aren't regressions ]

+ Improve loadBytes() performance 
  https://github.com/processing/processing/pull/5027

+ Add (far) more efficient file loading for loadBytes(File)

+ Add loadBytes(URL) variant that uses content length header for array size

+ keyPressed is false if one key is released while multiple keys are pressed
  https://github.com/processing/processing/issues/4993