Commit Graph

12398 Commits

Author SHA1 Message Date
Jonathan Feinberg 7d12f8b597 Delete stray println. 2017-02-01 12:55:41 -05:00
Ben Fry d006c3a6a9 change some null handling with JSON 2017-01-31 20:46:52 -05:00
Ben Fry b6238441b5 Merge pull request #4862 from jdf/master
Fix a number of memory leaks.
2017-01-31 20:43:31 -05:00
Ben Fry 72b19485cd don't delete export folders if they don't exist 2017-01-31 17:11:29 -05:00
Ben Fry 7384e91df6 remove rows/cols from beginning in trim() 2017-01-31 04:58:33 -05:00
Ben Fry c90176cf8a fixing up StringDict(TableRow) and Table.trim() now removes extra rows and columns 2017-01-31 04:55:03 -05:00
Ben Fry ea65d7f034 consume Unicode BOM (0xFEFF) in createReader() and Table parser 2017-01-30 19:23:02 -05:00
Ben Fry da04e3682f make trim(String[]) handle arrays, Table.trim() handles columns 2017-01-30 18:54:38 -05:00
Ben Fry 8e5c3be1b7 return null for PApplet.trim(null) 2017-01-30 18:53:08 -05:00
Ben Fry 6f2297681c add StringDict constructor, another double quote case 2017-01-30 18:50:16 -05:00
Jonathan Feinberg a0f0da5217 Use Java standard modifier order. 2017-01-30 15:58:35 -05:00
Jonathan Feinberg b62564e3a9 Protect disposables from ClassCastException. 2017-01-30 13:47:03 -05:00
Jonathan Feinberg 9bd385eec5 Reformat long line. 2017-01-30 13:40:08 -05:00
Jonathan Feinberg 3f6b7917b4 Restore reachability for weakrefs. 2017-01-30 13:38:31 -05:00
Ben Fry 0353d175eb note about previous release 2017-01-29 20:26:01 -05:00
Ben Fry 96051e257c starting the next release 2017-01-29 20:20:46 -05:00
Jonathan Feinberg 1ce4ecba88 Unscrewup merge. 2017-01-29 18:00:32 -05:00
Jonathan Feinberg ce94a7ca73 Sshhhh. 2017-01-29 17:51:42 -05:00
Jonathan Feinberg 8fba6ce033 Fix a number of memory leaks. 2017-01-29 17:51:16 -05:00
Ben Fry 5d090a4e8d set version number processing-0256-3.2.4 2017-01-29 14:38:10 -05:00
Ben Fry b7db358b79 write release notes 2017-01-29 14:33:19 -05:00
Ben Fry 001d2610d2 clearing out some old todo items 2017-01-29 12:47:37 -05:00
Ben Fry f0bf95e42d more cleanups heading toward release 2017-01-29 11:09:09 -05:00
Ben Fry 91412c8fc9 handle spaces properly for processing-java on macOS (fixes #4779) 2017-01-29 11:07:41 -05:00
Ben Fry 022c27633c deal with a handful of warnings 2017-01-29 10:57:44 -05:00
Ben Fry cacac6fa90 more notes on fixes 2017-01-29 10:56:15 -05:00
Ben Fry a43ec78579 Merge pull request #4806 from joelmoniz/bugfix-debug-newline
Replace keyChar with keyCode to prevent new line error when debugging
2017-01-29 10:50:12 -05:00
Ben Fry 23c085a49a notes from merges, finish adding #4843 2017-01-29 10:47:20 -05:00
Ben Fry 08e158d1e7 Merge pull request #4839 from JakubValtar/fix-zombie-process
Allow JAVA2D to terminate when animation thread dies
2017-01-29 10:42:36 -05:00
Ben Fry 92045a1c66 Merge pull request #4842 from JakubValtar/fix-sketchbook-update
Rebuild sketchbook window when needed
2017-01-29 10:41:18 -05:00
Ben Fry dffceffd8f adding fix from #4843 manually 2017-01-29 10:36:25 -05:00
Ben Fry 72730ba8d6 Merge pull request #4844 from JakubValtar/cm-extra
Grab bag of Contribution Manager fixes I accumulated while fixing other stuff
2017-01-29 10:32:28 -05:00
Ben Fry 4b81579384 Merge pull request #4847 from JakubValtar/fix-pgl-timer
Keep Windows timer resolution high for OpenGL sketches
2017-01-29 10:30:38 -05:00
Ben Fry 398d1f60b2 Merge pull request #4848 from JakubValtar/fix-run-threads
Improvements to sketch launching and stopping
2017-01-29 10:29:40 -05:00
Jakub Valtar d8e8619f6e Fix restarting sketch in Debug mode when Run is pressed
Disconnect event of the old VM would arrive after the new VM was
created, closing it instantly and leaving user without a running sketch.
2017-01-23 03:09:51 +01:00
Jakub Valtar 95ebcdb825 Add proper synchronization for sketch launching and closing
Pressing Run button twice launched two sketch windows, but only one of
them could be closed by Stop button. Pressing Stop had effect only after
sketch VM was launched.

Both of these issues are now fixed and buttons can handle a
frustration-relieving session of aggressive clicking, leaving one sketch
window if Run was the last button pressed or no window if Stop was the
last button pressed.
2017-01-23 03:07:42 +01:00
Jakub Valtar 28052c2b39 Make run button behave
When clicking run button while a sketch is running, it will be activated
again when the sketch is restarted. Previously it got deactivated by the
old sketch runner, because it was quitting after the new sketch runner
started.
2017-01-22 23:24:32 +01:00
Jakub Valtar 345b8ca3d9 Keep Windows timer resolution high for OpenGL sketches
Otherwise java.util.Timer used by FPSAnimator uses 10 or 15 ms
resolution, which results in 60 fps sketches running at around 30 fps
and 30 fps sketches running at around 21 fps.

Fixes #4846
2017-01-22 21:44:53 +01:00
Jakub Valtar 916e38b98d Small threading fixes for run/present/tweak 2017-01-21 19:03:12 +01:00
Jakub Valtar 9749ad28ec Fix broken Update tab
Contribution stays there with spinning wheel until the installation
completes
2017-01-21 06:56:32 +01:00
Jakub Valtar c31c5f3ec6 Remove some unnecessary code 2017-01-21 05:21:05 +01:00
Jakub Valtar 6782337913 Get rid of unnecessary manual synchronization
Remove manual synchronization on visibleContributions and
panelByContribution. Both are accessed only from EDT.
2017-01-21 04:42:33 +01:00
Jakub Valtar e77d81c137 Remove gratuitous invokeLater()
Again, just unwrapped bodies from invokeLater, because they run on EDT
already. Some were called in loops and spammed EDT with hundreds of
Runnables.
2017-01-21 04:26:26 +01:00
Jakub Valtar 43975107d7 Add filter conditions so contribs from other tabs are ignored
Wrapped both method bodies with one if condition each. Blame the diff.
2017-01-21 04:16:05 +01:00
Jakub Valtar 6d997906ab Fire change notifications after all changes has been made 2017-01-21 04:11:40 +01:00
Jakub Valtar 37d2c26b89 Rebuild menus after deleting sketch 2017-01-21 00:54:21 +01:00
Jakub Valtar 5172f5b780 Make sure old windows are disposed properly 2017-01-21 00:53:27 +01:00
Jakub Valtar 78ace8cdde Hide sketchbook window before creating a new one
Copy pasted from rebuildExamplesFrame()
2017-01-21 00:52:49 +01:00
Jakub Valtar b531199eb5 Allow JAVA2D to terminate when animation thread dies
When Java2D sketch crashes, closing the window does not stop Event
Dispatch Thread. This fix makes PApplet.exit() do the right thing and
not wait for surface to finish when the thread is already dead.

Fixes #4831
2017-01-20 12:49:23 +01:00
Ben Fry c5d9b713b8 add patch note 2017-01-18 06:48:56 -05:00