Commit Graph

2688 Commits

Author SHA1 Message Date
codeanticode
043eaa96c2 show warning when calling modelX/Y/Z in P2D, fixes #4813 2017-01-09 08:49:31 -05:00
Jakub Valtar
58df48655c Fix typo in glsl preprocessor
Add missing 2D which disappeared in

https://github.com/processing/processing/pull/4052/files#diff-88c7dd4e8f37672d20e228a71a433a6dL1889
2017-01-06 21:45:53 +01:00
Ben Fry
87d1fdb61d Merge pull request #4797 from JakubValtar/fix-mouse-button-events
Unify mouse pressed/released events across renderers
2017-01-06 10:56:09 -05:00
Ben Fry
e086ceea2d Merge pull request #4798 from JakubValtar/fx-exception-handler
FX: Add exception handler which reports exceptions from user code
2017-01-06 10:50:19 -05:00
Ben Fry
86af999af5 Merge pull request #4800 from JakubValtar/fix-fx-curves
FX: Fix curveVertex drawing all curves together as one long curve
2017-01-06 10:49:14 -05:00
Ben Fry
702e4cf8cb Merge pull request #4796 from JakubValtar/fx-mouse-wheel
FX: Implement mouse wheel event
2017-01-06 10:42:04 -05:00
Ben Fry
583b3f43d4 Merge pull request #4795 from JakubValtar/master
FX: Reset transform to identity before drawing background
2017-01-06 10:41:13 -05:00
Jakub Valtar
ec8e023e80 FX: Fix curveVertex drawing all curves together as one long curve
Fixes #4382
2016-12-29 21:29:57 +01:00
Jakub Valtar
faa22de621 FX: Prevent matrix stack overflow
Matrix stack could overflow in a very special case when beginShape() was
called while strokeWeight=1 and then strokeWeight was changed before
endShape(). This PR makes sure matrix is popped correctly even when user
changes strokeWeight in the beginShape()/endShape() block.

Decided to bug user only when necessary and not show warining when user
changes strokeWeight in the beginShape()/endShape() block, same as in
JAVA2D. Otherwise we could add checks for all the other things which are
mentioned in the docs, but it would be hell to maintain and use.

Fixes #4206
2016-12-29 19:00:24 +01:00
Jakub Valtar
fceb13bf73 FX: Add exception handler which reports exceptions form user code
Fixes #4339
2016-12-29 17:04:16 +01:00
Jakub Valtar
7f93baa904 Unify mouse pressed/released events across renderers
OPENGL and FX renderers will now correctly report button which triggered
this pressed/released event (same as JAVA2D).

Previously:
- OPENGL would report currently pressed buttons in order LEFT, CENTER,
RIGHT regardless of which button triggered the event. E.g. when holding
LEFT and presing RIGHT, LEFT would be reported. When holding CENTER and
pressing LEFT, LEFT would be reported
- FX would report only first button which is down, so in RELEASE event
button would be missing

Now:
- event contains only button which triggred this event (button just
pressed or just released)
2016-12-29 15:48:15 +01:00
Jakub Valtar
e5e5dc3dc8 FX: Implement mouse wheel event 2016-12-29 15:35:30 +01:00
Jakub Valtar
2439db5574 FX: Reset transform to identity before drawing background 2016-12-29 14:15:06 +01:00
codeanticode
c4560e6945 Allow setting vertex of geometry 2D PShape in P3D, fixes #4773 2016-12-20 16:21:59 -05:00
Ben Fry
dc69bc3813 documentation auto-update 2016-11-30 12:09:34 -05:00
REAS
30ea717b7b Remove CATEGORY as a parameter for Table.addColumn() pointed out in processing/processing-docs#501 2016-11-22 20:03:35 -08:00
REAS
a470c951f4 Clarification for image() reference based on Issue #500 2016-11-22 19:35:12 -08:00
Ben Fry
29d56d1ed3 several XML fixes and adding print() 2016-11-16 17:12:42 -05:00
REAS
c95b76eefa Fixes for nfs(), helps the Reference at the expense of the JavaDoc 2016-11-15 13:29:13 -08:00
REAS
2e8bfde5ce More changes to PApplet to fix web reference for number formatting, but not yet fixing the JavaDoc 2016-11-15 13:15:49 -08:00
REAS
e9a7e6f48d Returning code at top of INT NUMBER FORMATTING to prior state 2016-11-15 12:25:43 -08:00
REAS
7903cdc623 Next step to correcting reference for nf() 2016-11-15 12:12:12 -08:00
REAS
1f95a7a52c Working toward fixing reference for nf() 2016-11-15 12:08:19 -08:00
REAS
d72f111916 Attempt to separate number formatting parameters into arrays (nums) and primitive data (num) 2016-11-15 11:28:51 -08:00
Ben Fry
09950036c0 add suport for iterating over dictionary entries, cleaning up todo list 2016-11-14 21:27:21 -05:00
Ben Fry
84273784a2 add increment() method that takes IntDict to merge another dictionary 2016-11-14 20:37:16 -05:00
Ben Fry
4ea9793dcd add listPaths(), listFiles() (fixes #4622) 2016-11-14 20:29:38 -05:00
Ben Fry
6c08a0d8cc Merge branch 'master' of github.com:processing/processing 2016-11-11 06:12:02 -05:00
Ben Fry
214758d9be remove debug information, oops 2016-11-11 06:11:56 -05:00
REAS
1808568f15 Add reference info for sort() method for Table class 2016-11-10 21:55:37 -08:00
REAS
c66e2df08b Attempt to correct reference for nfc() 2016-11-10 20:51:48 -08:00
REAS
c7b6469e09 Parameter descriptions for saveJSONArray and saveJSONObject 2016-11-10 15:32:51 -08:00
Ben Fry
00d809cffc write docs for exec() (fixes #4740) 2016-11-10 18:21:23 -05:00
REAS
f0b6f49068 Remove periods (.) from @brief descriptions in TableRow.java 2016-11-10 13:40:00 -08:00
REAS
72c28b2643 Removing TableRow methods from Web Reference, but keeping the data for the JavaDoc 2016-11-10 10:39:47 -08:00
Ben Fry
4eaf7b2fa8 Merge pull request #4333 from suheb/fix-issue4332
Adding missing docs and keywords for TableRow.
2016-11-10 11:55:05 -05:00
Ben Fry
7a719e1b5e trying to clean up DetailPanel 2016-11-05 14:05:07 -04:00
codeanticode
10104cc009 framerate warning 2016-11-04 09:05:36 -03:00
codeanticode
35e4381cfb check point and line attributes at the end, so that defines can override
autodetection
2016-11-03 10:15:41 -03:00
codeanticode
50a0943d60 some cosmetic changes 2016-11-02 20:57:51 -03:00
codeanticode
92d663efb0 use alternative regex in point and line shader autodetect, fixes #4725 2016-11-02 20:52:03 -03:00
Ben Fry
67e9d13148 clean up toString() and implement toJSON() consistently 2016-10-30 16:12:40 -04:00
codeanticode
35b9e99a40 removed redundant sphere stroke edges 2016-10-30 10:56:52 -03:00
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