Commit Graph

2629 Commits

Author SHA1 Message Date
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
Leslie Watkins
c6f11b3aaa added a check for length 0 arrays in expand() 2016-06-02 15:30:14 -04:00
inkwellsiesta
2bb3582195 fixed iterator remove() methods so they dont skip container elements 2016-06-01 16:14:46 -04:00
gohai
da02a33e68 Temporarily add warning to PSurfaceJOGL for Raspbian issue
Installing Processing on a recent Raspbian distribution won't work without changes, due to a change they made, which is incompatible with JOGL. Put in this warning until this gets fixed.

User hitting this is e.g.:
https://github.com/gohai/processing-glvideo/issues/3
2016-05-27 11:04:31 +02:00
Jakub Valtar
e48c35733e Give helpful message when createFont() called before setup()
Fixes #4486
2016-05-23 16:39:38 +02:00
Jakub Valtar
2920fb0744 Prevent NPE in loadImage() when called before setup() 2016-05-23 15:56:57 +02:00
Ben Fry
b4e85cbbd3 implement support for encoding= option in loadTable() 2016-05-12 07:41:44 -04:00
Ben Fry
f1482418aa Merge pull request #4465 from JakubValtar/async-save-update
Async save update
2016-05-11 07:57:17 -04:00
codeanticode
e7fb3ce4ff custom error message when texture map is missing, fixes #3990 2016-05-11 06:24:09 -04:00
codeanticode
c5d41191c2 makes OBJ parsing less strict, fixes #3156 2016-05-11 06:02:17 -04:00
Jakub Valtar
1653a2af3f Async Image Saver: use Files instead of filenames
- solves headaches with path equivalence
2016-05-11 10:50:01 +02:00
Jakub Valtar
688487f3ae Block when loading image which is being saved asynchronously 2016-05-11 10:35:34 +02:00
Ben Fry
167220b90a todo notes, plus recent PRs, fix last 3 javadoc errors 2016-05-10 14:24:59 -04:00
George Bateman
5767b086f6 Fix most Javadoc errors, except syntax 2016-05-10 19:13:20 +01:00
Ben Fry
171195426d add print() and write() to Table and TableRow (fixes #4396) 2016-05-08 14:31:29 -04:00
Ben Fry
5935e62b6f Merge pull request #4432 from gohai/opengl-runtime-exception
Be more verbose with drawExceptions with cause null
2016-05-06 20:05:33 -04:00
Ben Fry
12a62ae5cd Merge pull request #4416 from gohai/gles2-mipmap
Add automatic mipmap support to GLES2
2016-05-06 19:59:39 -04:00
codeanticode
f870930ed6 null buffer check 2016-05-04 21:53:09 -04:00