Commit Graph

13056 Commits

Author SHA1 Message Date
Ben Fry 75efd1a212 greatly improve startup slowness on systems that have a lot of fonts installed 2019-01-18 14:32:22 -08:00
Ben Fry fca49356b3 cleanups for default font warning (#5606 and #5481) 2019-01-18 12:02:56 -08:00
Ben Fry 642f9a4495 Merge pull request #5605 from FlorisVO/master
Shows a warning when createFont can't find a named font (#5481)
2019-01-18 11:50:24 -08:00
Ben Fry ab6cd9f922 additional cleanup to SVG code after incorporating #4168 2019-01-18 11:44:12 -08:00
Ben Fry f82e7039d7 Merge pull request #4168 from poqudrof/master-origin
Extended support of SVG format
2019-01-18 11:35:32 -08:00
Ben Fry b4f18cf7f9 wrapping up #4805 and #4808 2019-01-18 11:25:11 -08:00
Ben Fry 60f324c434 simpler solution for disappearance warning (#4805) 2019-01-18 11:23:50 -08:00
Ben Fry fc6b8385bd prevent infinite "sketch disappeared" warnings (fixes #4805) 2019-01-18 11:19:28 -08:00
Ben Fry 7236c84a63 update to Java 8u202 2019-01-18 11:05:54 -08:00
Ben Fry c795fd0750 more cleanup; use buttonSize constant instead of sizeH for clarity 2019-01-18 10:47:01 -08:00
Ben Fry 92975fbd27 incorporating console collapse button (#5115) 2019-01-18 10:35:39 -08:00
Ben Fry 69bee72578 remove unnecessary cast 2019-01-18 09:55:51 -08:00
Ben Fry 3673396587 move to JDK 1.8 instead of 1.6 b/c of Eclipse warnings 2019-01-18 09:55:43 -08:00
Ben Fry b520823618 Merge pull request #5115 from GKFX/feature-hideconsole
Add console hiding button
2019-01-18 09:52:41 -08:00
Ben Fry 3380239e68 Merge pull request #5486 from JakubValtar/fix-status-exception
Fix sketch exception getting hidden by warning
2019-01-18 08:28:52 -08:00
Ben Fry 16b6ecd89f other notes and cleanup 2019-01-17 09:12:14 -08:00
Ben Fry 5b6a89a833 more notes and updates for recent issues 2019-01-17 08:54:00 -08:00
Ben Fry c3c2dbb4c2 resolve ambiguous import 2019-01-17 08:53:45 -08:00
Ben Fry ec87b4e651 update out-of-date Help menu links (fixes #5729) 2019-01-17 08:53:11 -08:00
Ben Fry 45c3ea86d3 temporarily ignore IntelliJ files 2019-01-17 08:52:46 -08:00
codeanticode 6739c2c862 create attribute in setAttrib() functions if does not exist, and also fix indexing bug 2019-01-15 13:33:04 -05:00
codeanticode 5d05885774 set tessGeo when collecting custom vertex attributes 2019-01-15 13:30:24 -05:00
Ben Fry 12664c1621 still more bug reports 2019-01-11 19:44:48 -05:00
Ben Fry a23efc8c9c Merge pull request #5699 from JakubValtar/fix-pgraphicsopengl-setsize
Recreate FBOs when offscreen PGraphicsOpenGL is resized
2019-01-11 19:42:36 -05:00
Ben Fry 6d2c788819 Merge pull request #5698 from JakubValtar/fix-poly-vertex-buffer
Fix vertex buffer initialized with wrong number of components
2019-01-11 19:41:45 -05:00
Ben Fry 2aba49c756 Merge pull request #5697 from JakubValtar/improve-frame-rate
Stop frame rate counter from exaggerating
2019-01-11 19:40:52 -05:00
Ben Fry a8d993c87b Merge pull request #5674 from JakubValtar/fix-ctrl-click
Make sure Ctrl+Left Mouse on MacOS is consistent
2019-01-11 19:37:22 -05:00
Ben Fry ac5660fd86 Merge pull request #5708 from JakubValtar/fix-freeze
Fix freeze when restarting sketch with variables in size
2019-01-11 19:23:59 -05:00
Ben Fry 72943abd89 updates for github issues, etc 2019-01-11 18:42:39 -05:00
codeanticode 6df06674f0 check if pixels is null 2019-01-10 08:19:13 -05:00
codeanticode 9605d80e64 do not show NSWindow warning in the console, cannot hide the native errors though 2019-01-10 07:04:04 -05:00
codeanticode a6a57e80f3 removed use of transform stack in PShapeOpenGL 2019-01-10 06:49:40 -05:00
codeanticode 7e59e4c578 added 2D version of invMatrix utility methods 2019-01-10 06:47:07 -05:00
codeanticode 6cfe24af2f unload pixels if only used to init texture 2019-01-10 05:14:24 -05:00
codeanticode 74d6becd05 skip Android's SDK folder when adding sketches 2019-01-03 23:47:57 +09:00
Jakub Valtar 8f37ebcb18 Fix freeze when restarting sketch with variables in size
While sketch is running, rewriting sketch size to variables and trying to restart the sketch by pressing the play button causes PDE to freeze. Fixed by moving AWT call to EDT.
2018-11-17 15:11:06 +01:00
Ben Fry ad2e2baf2e fix downloader bug due to Oracle response code change 2018-11-12 06:02:56 -05:00
Jakub Valtar d77543a3c9 Recreate FBOs when offscreen PGraphicsOpenGL is resized
Otherwise FBOs keep the old size and things understandably break.
2018-11-07 22:47:38 +01:00
Jakub Valtar 809115c131 Fix buffer initialized with wrong number of components
Poly vertex buffer was initialized with 3 components, but has 4.
2018-11-07 22:30:11 +01:00
Jakub Valtar b237961450 Stop frame rate counter from exaggerating
Frame rate counter finally gets its ticket for speeding.

Frame rate is now calculated by averaging frame times instead of averaging frame rates. Rationale is explained in the comment.
2018-11-07 22:24:45 +01:00
Ben Fry db5cff7128 update to Java 8u192 2018-10-17 07:25:31 -04:00
Jakub Valtar d512d21fcf Move Ctrl+Left Mouse code from surfaces to PApplet 2018-10-09 09:19:36 +02:00
Jakub Valtar eb64449f9b Make sure Ctrl+Left Mouse on MacOS is consistent
Make sure PRESS, DRAG and RELEASE report the same mouse button on MacOS.

- If CTRL was pressed during Left PRESS, report Right Button until the button is released, regardless of whether CTRL is still down.
- If CTRL was not pressed during Left PRESS, report Left Button until the button is released, regardless of CTRL state.

Fixes #5672
2018-10-07 21:55:14 +02:00
Ben Fry fa0c337339 add notes about fix for #5246 2018-09-20 18:45:36 -04:00
Ben Fry 0e3fcfed25 add IntelliJ bits to .gitignore 2018-09-20 18:45:07 -04:00
Ben Fry 434ce4ef41 Merge pull request #5654 from Sardtok/5246
Fixes #5246 by overriding getPreferredSize and setting height to 0.
2018-09-20 18:26:07 -04:00
Ben Fry 8c0199e019 note about the revert for #5476 2018-09-18 10:16:00 -04:00
Ben Fry 7c747c659c Merge pull request #5652 from gohai/jogl-mesa-fix-revert
Revert "Fix 3D on contemporary versions of Linux (fixes #5308)"
2018-09-17 18:06:57 -04:00
gohai 35eaaaf0d6 Revert "Fix 3D on contemporary versions of Linux (fixes #5308)"
This reverts commit acee59918b.

While this appears to have fixed GL for the AMD graphics users in #5308 it seems to have broke it for folks in #5476. It seems JOGL is abandoned these days, and I don't have the capacity to figure this out on my own. This patch reverts the "fix", so that it will continue to work on the systems that it traditionally worked on (and probably not on newer configuration not properly handled by JOGL).
2018-09-16 15:02:28 -07:00
Sigmund Hansen 7034461caa Fixes #5246 by overriding getPreferredSize and setting height to 0. 2018-09-14 23:27:42 +02:00