Commit Graph

12481 Commits

Author SHA1 Message Date
Jakub Valtar aadf2140ca Synchronize input event processing
Some renderers (OpenGL) fire events on background threads, which can
corrupt the event queue when the sketch is not looping and multiple
threads add and remove from the queue at the same time.

This PR uses blocking queue to serialize enqueuing and lock to
synchronize dequeuing.

In the ideal case, we should be able to invoke code on the animation
thread (ala invokeLater) and always dequeue events from there even when
the sketch is not looping.
2017-04-09 18:32:53 +02:00
Ben Fry a05a375104 set the font, even if not deriving 2017-03-17 20:41:39 -04:00
Ben Fry 764a978b3f bug fixes to temporary file handling 2017-03-14 08:59:37 -04:00
Ben Fry dc34d5ee37 note about #4956 2017-03-12 09:59:35 -04:00
Ben Fry c8c4539204 don't derive the font again if the size is unchanged (#4956) 2017-03-12 09:59:12 -04:00
Ben Fry 65276a3185 notes based on recent notifications 2017-03-09 20:56:25 -05:00
Ben Fry 3169269220 recent notes from github issues 2017-02-24 15:12:50 -05:00
Ben Fry a5f7c9933b Merge pull request #4922 from processing/revert-4915-arm-opengl
Revert "ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights"
2017-02-23 17:12:24 -05:00
Ben Fry d0707b5fd6 fix ordering of BufferedOutputStream; huge speed fix 2017-02-20 15:30:49 -05:00
Ben Fry f3f5583e9b maybe no space there after all 2017-02-20 15:17:01 -05:00
Ben Fry 27037f9fd0 set the look and feel on Windows for 2x and native-like support 2017-02-20 15:08:57 -05:00
Ben Fry e240a88af4 fix wrong ordering of buffered wrapping 2017-02-19 15:47:00 -05:00
Ben Fry 607af34852 missed wrapping this guy in a buffer 2017-02-19 15:37:14 -05:00
Ben Fry 669d56a926 deal with static access warning 2017-02-19 13:58:26 -05:00
Ben Fry 3353478000 Merge branch 'master' of github.com:processing/processing 2017-02-19 10:35:09 -05:00
Ben Fry 7bcb98debb createInput() and createOutput() now both use buffered streams by default 2017-02-19 10:35:02 -05:00
Gottfried Haider 5c6da26f9e Revert "ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights" 2017-02-19 10:03:06 +01:00
Gottfried Haider 432d9732f3 Merge pull request #4921 from gohai/pgl-multisampling-fallback
Retry with multisampling disabled if creating a framebuffer fails because of INCOMPLETE_MULTISAMPLE
2017-02-19 09:57:35 +01:00
gohai 2d70d0f28a Retry with multisampling disabled if creating a framebuffer fails because of INCOMPLETE_MULTISAMPLE 2017-02-19 09:56:50 +01:00
Gottfried Haider 72144dd282 Merge pull request #4920 from gohai/pgl-validateframebuffer
Report more error conditions in validateFramebuffer
2017-02-19 02:28:48 +01:00
gohai ba1b71a1f2 Make validateFramebuffer match latest Khronos doc for GL4
Suggested by @JakubValtar
2017-02-18 19:43:00 +01:00
Ben Fry f967150430 improve sum() functions in processing.data 2017-02-18 13:24:23 -05:00
gohai f8d985a94c Report more error conditions in validateFramebuffer 2017-02-18 18:48:05 +01:00
Ben Fry d571dd716b notes from github updates 2017-02-17 17:31:04 -05:00
Ben Fry 1378adb369 Merge pull request #4915 from gohai/arm-opengl
ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights
2017-02-17 17:30:39 -05:00
gohai b1e583bd82 ARM: Allow Raspberry Pi's Mesa GL driver to use up to 8 lights
This caused register allocation issues before, but now this seem to be only still necessary for the binary GLES2 driver, where even enabling one more light (from 2 to 3) will make the shader compiler unhappy. Tested with 11.1.0-1+rpi1 on all P2D & P3D examples.
2017-02-17 18:47:44 +01:00
Ben Fry 8414512af9 stumbled across spacing issues 2017-02-15 17:55:57 -05:00
Ben Fry e38630aef4 variable only used for execute(), remove declaration 2017-02-15 17:52:09 -05:00
Ben Fry 5fbbd50689 clean up type warnings 2017-02-15 17:50:39 -05:00
Ben Fry fa949f24b9 these were the things just closed 2017-02-15 14:57:39 -05:00
Ben Fry a7b4e07f2f notes on fixes from Jakub 2017-02-15 14:56:09 -05:00
Jakub Valtar f0434cb503 Merge pull request #4907 from JakubValtar/fix-preproc
Fix preprocessing of code with double backslash in string or char literal
2017-02-15 15:05:08 +01:00
Jakub Valtar ed17f6d21f Fix preprocessing of code with double backslash in string or char literal
Fixes #4903
2017-02-15 15:03:03 +01:00
Jakub Valtar 85c6178228 Merge pull request #4906 from JakubValtar/interpolation
Enable bicubic interpolation for image-based editor components
2017-02-15 14:14:57 +01:00
Jakub Valtar e25100360b Enable bicubic interpolation for possibly scaled components 2017-02-15 14:01:16 +01:00
Jakub Valtar 2430b84c99 Make editor buttons nice when scaling UI 2017-02-15 13:56:28 +01:00
Ben Fry 15d4da6e97 notes about confirmed fixes 2017-02-13 14:24:17 -05:00
Ben Fry df15bcefe5 Merge pull request #4707 from rzats/feature-4668
PDEX: Add 'Jump to Declaration' to right-click menu (#4668)
2017-02-13 14:16:23 -05:00
Ben Fry 90f64770fe add separate issue for cross-platform scaling 2017-02-12 14:44:12 -05:00
Ben Fry 06bd5f8c2b starting the next release (3.3.1) 2017-02-12 13:02:19 -05:00
Ben Fry 1bcd576aee fix font typo and add scaling caveat processing-0257-3.3 2017-02-12 12:28:44 -05:00
Ben Fry f49ab8a628 write release notes for 3.3 2017-02-12 12:23:17 -05:00
Ben Fry 67c37e6c40 fix up the todo list based on hidpi changes 2017-02-12 12:10:39 -05:00
Ben Fry cafc1c49b7 remove the old Source Sans 2017-02-12 10:24:42 -05:00
Ben Fry ab5465d1ef add "auto" option for interface scaling 2017-02-12 10:21:55 -05:00
Ben Fry e5ed6ae7f1 possible fix for visual artifacts seen in #4700 2017-02-12 10:02:10 -05:00
Ben Fry bf15163698 digging into system dpi settings 2017-02-12 09:38:53 -05:00
Ben Fry 5315b631b3 switch to em spacing (for hidpi), use renamed font to fix #4747 2017-02-12 09:31:23 -05:00
Ben Fry c9d6f99cda fix filter width 2017-02-11 18:35:54 -05:00
Ben Fry 670f2dc06f fix the icon sizing 2017-02-11 18:33:34 -05:00