Commit Graph

3146 Commits

Author SHA1 Message Date
codeanticode
52d4880d88 do not call handleDraw() after the sketch is finished 2016-10-30 10:23:16 -03:00
Ben Fry
b2f7fddaa5 more notes and get()/put() stuff with JSON 2016-10-29 11:07:59 -04:00
Ben Fry
e847d62813 Merge pull request #4336 from Akarshit/bugifx-accessModifier
Changed the access modifier of get()
2016-10-29 11:06:12 -04:00
Ben Fry
9452068b66 go back to textMode(MODEL) is native font not available for textMode(SHAPE) fixes #4680 2016-10-29 10:51:38 -04:00
Ben Fry
1da78654e3 add notes about getRowMap() 2016-10-29 10:38:04 -04:00
Scott Murray
6d392a7c9d Added related reference to point() 2016-10-28 14:45:43 -07:00
Scott Murray
945f46235f Added related reference to point() 2016-10-28 14:41:42 -07:00
codeanticode
189d98a1f2 handle contours 2016-10-14 00:06:22 -04:00
codeanticode
7552988a4b implements PShape PDF recording in P2D, fixes #4647 2016-10-13 16:36:40 -04:00
codeanticode
ab6443486a put clearDepthStencil() in the right spot 2016-10-12 17:43:27 -04:00
codeanticode
45062aff5e added resolution uniform 2016-10-12 16:29:00 -04:00
codeanticode
8ad3c11f93 extra logic to make sure that the depth buffer is always clear at the
beginning of a new frame
2016-10-12 16:25:54 -04:00
codeanticode
a1dcc32044 coalesce glClear calls, fixes #4694 2016-10-12 15:38:34 -04:00
codeanticode
303a4e9667 remove second dispose() call 2016-10-07 05:37:29 -04:00
codeanticode
0b132279f8 separate current from default camera properties, fixes #4609 2016-10-06 23:10:23 -04:00
codeanticode
40fd7f9e9c pre-apply PShape transformation, fixes #4662 2016-10-06 00:07:54 -04:00
codeanticode
ba23ac851c fix edge closing in quad strips, fixes #4656 2016-10-05 22:18:51 -04:00
Ben Fry
cedf101ccc avoid crash when closing an app window (fixes #4690) 2016-10-04 13:53:48 -04:00
jshrake
1418f9ff4d Call glGetProgramiv to retrieve program log length
Calling glGetShaderiv to retrieve the program log length produces a
GL_INVALID_OPERATION error and length < 0, preventing the return of the
actual info log. This fix replaces the call to glGetShaderiv with
glGetProgramiv.

Closes #4659
2016-09-10 21:31:21 -07:00
Ben Fry
4b6f16fac0 fix quoting problem in IntDict.toJSON() 2016-08-30 09:29:47 -04:00
codeanticode
decf462b1b keep current user-provided FBO 2016-08-30 02:20:24 -04:00
Ben Fry
7a80b16237 testing out a lookup function 2016-08-27 11:01:16 -04:00
Ben Fry
f8ef7f8c42 funnel exceptions to one method, implement uncaught ex handler so OS X will quit on first attempt 2016-08-17 22:12:58 -04:00
Ben Fry
814b33846c add printStackTrace() method that can be overridden (fixes #222) 2016-08-12 22:51:02 -04:00
Ben Fry
2c0c1b9a36 bring back getImage() to fix #4473 2016-08-12 21:34:50 -04:00
Ben Fry
6cf8e399fe properly put escapes on strings 2016-08-09 18:35:21 -04:00
Ben Fry
02e2f02eec Merge pull request #4268 from Akarshit/bugfix-sameErrorMessage
Changed the error message in JSON functions
2016-08-06 14:39:21 -04:00
Jakub Valtar
2ea9758dc2 Fix resizing targets for async save
Got burned by not setting pixelWidth and pixelHeight properly.

Fixes #4578
2016-08-06 15:23:08 +02:00
Ben Fry
c1e130925f trying out a toJSON() method 2016-08-03 18:30:25 -04:00
Ben Fry
9fdf090bba add support for PApplet.main(Class c) 2016-08-01 11:41:17 -04:00
Ben Fry
61272265ea the stones said it best: syntactic sugar, why do you taste so good? 2016-07-31 20:20:41 -04:00
Ben Fry
55075d1058 remove dumb UnsupportedEncodingException stuff that is no longer necessary 2016-07-31 20:10:21 -04:00
Ben Fry
acafc7464a that ain't supposed to be in there 2016-07-31 20:05:56 -04:00
Ben Fry
b65249d532 minor edits pulled in from ftsv project 2016-07-31 16:42:52 -04:00
Ben Fry
e9720f1e3f @#($*&! 2016-07-29 11:02:42 -04:00
Ben Fry
ead25795df disable async image saving by default 2016-07-29 10:28:35 -04:00
Ben Fry
2c1303b317 Merge pull request #4554 from gohai/chip-XQueryBestCursor-workaround
Add a temporary workaround for the CHIP
2016-07-28 19:45:50 -04:00
Ben Fry
762251b257 fix to prevent random(lo, hi) from returning hi (fixes #4551) 2016-07-28 19:13:12 -04:00
Ben Fry
8004c7c507 Merge pull request #4582 from JakubValtar/fix-network-locations
Fix running PDE from network locations
2016-07-28 18:52:32 -04:00
Ben Fry
db2bcb4f44 rewrite csv handling, fix parsing bugs, remove newlines option, improve performance 2016-07-25 21:52:08 -04:00
Jakub Valtar
2c1741c452 Fix running PDE from network locations
Java has problems dealing with UNC paths. See
http://wiki.eclipse.org/Eclipse/UNC_Paths#Programming_with_UNC_paths to
get an idea how bad it is. Scheme specific part should contain the whole
decoded URI except the protocol name and following colon, which should
shield us from Java parsing URL parts incorrectly.
2016-07-22 18:00:52 +02:00
gohai
6ce890bffb Add a temporary workaround for the CHIP
Reported this to the CHIP team: Seeing some odd exception from deep within Java's awt classes ("Width (0) and height (0) must be non-zero"). This is triggered because the libX11 function XQueryBestCursor is returning a width and height of zero, which seems to be a bug. I am guessing that this will also pop up with other Java applications.

This makes things work on the CHIP w/ OS image 4.4 and latest packages. I also tested on OS X, but I am not familiar enough with the Tweak Mode to say for sure.
2016-07-01 14:18:09 +02:00
codeanticode
d00bff1307 call getUniformLoc() in consumeUniforms, 2016-06-19 22:41:06 -04:00
Ben Fry
76955b3bdf Merge pull request #4524 from gohai/arm-updates
Fix GLExceptions on Raspberry Pi when using offscreen PGraphics
2016-06-06 16:39:33 -04:00
Ben Fry
7ba7e0bd31 Merge branch 'master' of github.com:processing/processing 2016-06-06 15:24:07 -05:00
gohai
adaf62ff2e Fix GLExceptions on Raspberry Pi when using offscreen PGraphics 2016-06-03 23:28:49 -04:00
Ben Fry
3aca49a983 Merge pull request #4505 from JakubValtar/loadimage-npe
Prevent NPE in loadImage() when called before setup()
2016-06-02 16:38:40 -04:00
Ben Fry
24a316a2bf clean up error message 2016-06-02 16:36:44 -04:00
Ben Fry
a433ea82a9 Merge pull request #4506 from JakubValtar/npe-createfont
Give helpful message when createFont() called before setup()
2016-06-02 16:35:32 -04:00
Ben Fry
87f4409ed6 Merge pull request #4508 from gohai/arm-updates
ARM Updates
2016-06-02 16:33:33 -04:00