Commit Graph

11123 Commits

Author SHA1 Message Date
Jakub Valtar 9dbf41ec57 Make preprocessor scope-aware
- scope is taken into account when determining the sketch mode and
looking for size()
- error checker received some love and now understands JAVA mode

Modes:
- JAVA sketch contains "public class <sketchName> extends PApplet" in
the global scope
- ACTIVE sketch contains a method declaration in the global scope
- STATIC sketch is everything else

size() parsing:
- JAVA sketches: no parsing
- ACTIVE mode: if there is setup() in global scope, we look there for
the first occurrence, no parsing otherwise
- STATIC sketches: first occurrence of size() in global scope
2015-09-17 11:01:26 -04:00
REAS 86ee09bbdb Update keywords.txt for next release, fix for #3751 2015-09-14 10:54:30 -07:00
Manindra Moharana ff039cf482 Implemented code folder imports. Fixes #3732 2015-09-13 23:58:00 -07:00
codeanticode 0c3364d00f don't queue setSize() in the EDT 2015-09-13 20:43:56 -04:00
codeanticode fac863ad6c keep deprecated requestFBOLayer() method for now. 2015-09-13 06:47:21 -04:00
codeanticode 19ff731e7c changes to facilitate android port, update copyright notices 2015-09-12 14:10:01 -04:00
Ben Fry e56547f2d1 note about the surface update 2015-09-12 09:00:34 -04:00
codeanticode c92167ce67 request glwindow focus in the EDT 2015-09-12 06:20:00 -04:00
Ben Fry 89ca5d43ff starting the next release 2015-09-11 18:47:25 -04:00
Ben Fry c48c130332 fix late-breaking NPE in PGL processing-0244-3.0b6 2015-09-11 17:57:29 -04:00
Ben Fry f01c829beb Merge pull request #3792 from JakubValtar/save-the-day
Fix NPE in PGL
2015-09-11 17:56:49 -04:00
Jakub Valtar 389373f53e Fix NPE in PGL 2015-09-11 17:55:41 -04:00
Ben Fry a38264a873 better verb here if we're gonna be gender-specific 2015-09-11 17:07:22 -04:00
Ben Fry c965996caa release notes for beta 6 2015-09-11 17:06:24 -04:00
Ben Fry 80e61d288c Fix flickering cursor regression with Java2D on Windows introduced by #3472 2015-09-11 16:39:49 -04:00
Ben Fry 6483976130 add license informatino 2015-09-11 16:16:44 -04:00
Ben Fry 17fc18b09c more notes about changes and closing/opening more bugs 2015-09-11 16:13:07 -04:00
Ben Fry b9d44a243f change constants for better error checks (fixes #3776) 2015-09-11 15:37:25 -04:00
Ben Fry 2e7d5f3331 don't allow breakpoints to be set on blank lines (fixes #3765) 2015-09-11 15:27:34 -04:00
Ben Fry 04ce0e92bd add note about cursors 2015-09-11 15:27:11 -04:00
Ben Fry 615017b041 Merge branch 'master' of github.com:processing/processing 2015-09-11 15:20:01 -04:00
codeanticode 2c3146fa40 makes sure that setup runs in the animator thread, and issue all
window.set*() calls in the EDT
2015-09-11 14:55:46 -04:00
Ben Fry 2fddd1c9a7 cleaning up the new cursor code 2015-09-11 14:31:31 -04:00
Ben Fry 2ace98d41a implement default cursor images for OpenGL (fixes #3554) 2015-09-11 14:28:12 -04:00
Ben Fry ebdccb9876 change tweak comment matcher (fixes #3742) 2015-09-11 09:43:39 -04:00
Ben Fry b8ed1abcdb add surface.setAlwaysOnTop(boolean) for all renderers (fixes #3718) 2015-09-11 09:33:41 -04:00
Ben Fry e83c78def3 remove old versions of processing-java when installing on OS X (fixes #3786) 2015-09-11 08:51:45 -04:00
Ben Fry 8895d48e3f Merge pull request #3781 from JakubValtar/bugfix-pshape-p3d
Fix PShape creation in P3D
2015-09-09 18:33:16 -04:00
Jakub Valtar 2422321d7f Fix PShape creation in P3D
Related to #3776
2015-09-09 18:07:58 -04:00
Ben Fry 238e0c0be9 Merge pull request #3780 from JakubValtar/preproc-anonymous-classes
Allow anonymous classes in static mode
2015-09-09 16:53:04 -04:00
Jakub Valtar cbb4ada378 Boolean was not invited to the party 2015-09-09 15:01:38 -04:00
Jakub Valtar dd18ab02c9 Improve "void setup" regexp
Now captures multiple whitespace characters between "void" and "setup"
2015-09-09 12:42:40 -04:00
Jakub Valtar c0de3e36f7 Allow anonymous classes in static mode
catch: if they have a method in their body named setup or draw, mode is
always (sometimes incorrectly) detected as Active

Fixes #533
2015-09-09 12:36:41 -04:00
codeanticode 6b10aaadfa removing some unneeded code in GL surface 2015-09-09 06:31:46 -04:00
codeanticode 297d6c887d don't add bevel triangles when line segments are in different geometry
caches
2015-09-08 22:30:52 -04:00
codeanticode 928449ad38 correctly apply matrix transformation on line directions 2015-09-08 19:22:20 -04:00
codeanticode b8fc29d939 Merge branch 'master' of https://github.com/processing/processing.git 2015-09-08 18:10:08 -04:00
codeanticode a375d5de91 store end of segment for next bevel 2015-09-08 18:09:59 -04:00
Ben Fry cea73e68cf Merge pull request #3778 from JakubValtar/editor-fix-markercolumn
Recalculate positions in error marker column on resize
2015-09-08 17:54:12 -04:00
Jakub Valtar ffc3f3853c Recalculate positions in error marker column on resize
Fixes #3619
2015-09-08 17:14:38 -04:00
codeanticode c4855f017a more cleaning up 2015-09-08 15:40:59 -04:00
Ben Fry f0e953f09e today's updates 2015-09-08 14:57:51 -04:00
Ben Fry 589b8a28f6 Merge pull request #3771 from JakubValtar/fx-tint-cache-fix
FX - fix bug where fonts would share a tint cache
2015-09-08 14:28:05 -04:00
Manindra Moharana e227a77dcd Merge branch 'master' of https://github.com/processing/processing 2015-09-07 20:54:02 -07:00
Manindra Moharana 074b306d4a Fixes #3720 2015-09-07 20:53:46 -07:00
codeanticode cdffca3e5c cleanup changes 2015-09-07 23:37:37 -04:00
codeanticode 78626a598b trying different blitting order 2015-09-07 20:37:26 -04:00
codeanticode fef27522a9 restart FBO layer when window is resized 2015-09-07 16:02:49 -04:00
codeanticode 095ebe4f35 implements cursor setting in opengl 2015-09-07 12:23:36 -04:00
codeanticode 5f627f54fa move framebuffer blitting after restoring screen fb 2015-09-07 11:14:47 -04:00