Commit Graph

1712 Commits

Author SHA1 Message Date
Jakub Valtar 0a767acafb Don't append noLoop() in error checker
Prevent "can't invoke noLoop() on obj" when you type "obj." in STATIC
mode
2015-09-21 11:56:45 -04:00
Jakub Valtar bf438dd5e4 Prevent completion panel getting focus 2015-09-21 11:55:23 -04:00
Jakub Valtar aa138107d9 Refactor ASTNodeWrapper.highlightNode 2015-09-21 11:47:03 -04:00
Jakub Valtar 0efbb48e85 Upgrade completions to JLS8 2015-09-21 11:41:53 -04:00
Jakub Valtar 4488e1df40 Synchronize access to ASTGenerator
We might want to remove this later
2015-09-21 11:39:53 -04:00
Jakub Valtar c2b2148a12 Fix field name 2015-09-21 11:34:36 -04:00
Ben Fry adc63a5431 make rollovers update with key presses; changes EditorButton constructor 2015-09-20 17:09:13 -04:00
Ben Fry 9cbc1a79f4 show hover text when the mouse is over the 'debug' button 2015-09-20 15:46:30 -04:00
Ben Fry e483323c61 looking into erratic placement of error squiggle for #3759 2015-09-20 13:05:54 -04:00
Ben Fry 0e8a90da2b remove tooltip text 2015-09-19 21:56:02 -04:00
REAS 0d849e194b Update for SVG syntax highlight 2015-09-18 11:30:15 -07:00
Ben Fry 7fe3b83119 more whacks at #3591 2015-09-18 09:36:34 -04:00
Ben Fry ca320883ff get rid of warnings 2015-09-18 09:30:22 -04:00
Ben Fry 95215e68e3 notes and potential workaround for #3591 2015-09-18 09:27:53 -04:00
Ben Fry 854a4aa409 Merge pull request #3810 from JakubValtar/preprocessor-scopes
Make preprocessor scope-aware
2015-09-17 15:27:11 -04:00
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 808aa79127 Remove rotate(x, y, z) from Reference 2015-09-16 20:19:17 -07:00
Ben Fry f71b180014 in search of the prediction prep deadlock on OS X (might be related to #3741) 2015-09-16 10:33:35 -04:00
Ben Fry d10c37c430 warnings cleanup 2015-09-15 10:47:18 -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
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 ebdccb9876 change tweak comment matcher (fixes #3742) 2015-09-11 09:43:39 -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
Jakub Valtar ffc3f3853c Recalculate positions in error marker column on resize
Fixes #3619
2015-09-08 17:14:38 -04:00
Manindra Moharana 074b306d4a Fixes #3720 2015-09-07 20:53:46 -07:00
Ben Fry 1824067cd5 fix the library export issues 2015-09-01 11:45:25 -04:00
Manindra Moharana e7ea6c7a3d Removed unnecessary error message 2015-08-28 21:13:34 -07:00
Manindra Moharana 2e0d96e58e Removed unnecessary exception 2015-08-28 21:00:06 -07:00
Ben Fry e8b4806cfd oops, broke the build 2015-08-28 18:19:17 -04:00
Manindra Moharana 43ca4f1789 Modes can now specifiy additional jars for ecs/cc classpath 2015-08-27 23:07:06 -07:00
Jakub Valtar 4a41846f4f FX - add FX2D keyword, remove JFX keyword 2015-08-27 16:16:18 -04:00
Ben Fry 5fd4dce6f4 misc notes and repair ConcurrentModificationException in the editor (fixes #3726) 2015-08-27 08:07:01 -04:00
Ben Fry f714d2e977 ignore case with D and F modifiers (fixes #3707) 2015-08-24 11:37:34 -04:00
Ben Fry 4a8553237f cleaning 2015-08-23 17:48:28 -04:00
Ben Fry 8456a826e5 Merge pull request #3700 from federicobond/misc-fixes
Miscelaneous language improvements
2015-08-23 07:38:36 -04:00
Ben Fry 00dbc293c3 fix up the error table a little more 2015-08-22 16:13:24 -04:00
Ben Fry 6bbd18c200 all set with the separation 2015-08-22 15:29:01 -04:00
Ben Fry c0496d2269 better pref handling 2015-08-22 15:08:42 -04:00
Ben Fry 30145b3540 more ErrorTable into processing.app.ui 2015-08-22 14:57:19 -04:00
Ben Fry 6c01bd3471 removing Java Mode dependencies from ErrorTable 2015-08-22 14:46:11 -04:00
Ben Fry a06fd7a644 implement the design of the errors table 2015-08-22 13:45:50 -04:00
Ben Fry eaac38a9a5 remove dead code and replace tabs with spaces 2015-08-21 15:59:34 -04:00
Ben Fry 553121ab7e more cleaning, add utility method for more cleanup 2015-08-21 15:57:07 -04:00
Ben Fry 345e043527 fix logic issues and find nearest point 2015-08-21 15:15:51 -04:00
Ben Fry 889b9352ec remove unused code 2015-08-21 15:02:56 -04:00
Ben Fry 85046fece9 no stone unturned 2015-08-21 13:15:33 -04:00