Commit Graph

1581 Commits

Author SHA1 Message Date
Ben Fry
cc9af84a68 Merge pull request #3856 from JakubValtar/fix-completion
Error checker refactoring
2015-09-22 20:54:18 -04:00
Jakub Valtar
5e574a963b Error checker refactoring 2015-09-22 20:52:52 -04:00
REAS
3bb326da9d Add parseJSONArray() and parseJSONObject() to keywords.txt 2015-09-22 11:19:23 -07:00
Ben Fry
d5f39ee20e more scrubbing before redoing ContributionManagerDialog 2015-09-22 08:30:24 -04:00
Ben Fry
bb985b0e4a cleaning and todo notes 2015-09-21 23:43:07 -04:00
Jakub Valtar
19fec47211 Remove color debug message
Typing "new color()" now results in error "class 'color' does not
exists"
2015-09-21 23:24:05 -04:00
Ben Fry
b93fca9f95 Merge pull request #3848 from JakubValtar/multiline-wiggly-underlines
Multiline wiggly underlines
2015-09-21 23:02:15 -04:00
Jakub Valtar
ca0fd8c848 Multiline wiggly underlines
with handy tooltips
2015-09-21 22:38:10 -04:00
Ben Fry
124e4873b6 remove warning, notes in the todo list 2015-09-21 19:42:39 -04:00
Ben Fry
557bae9e4f don't insert a space when typing ctrl-space (fixes #3847) 2015-09-21 19:35:21 -04:00
Ben Fry
fc3e006772 button format note, debugging flickery popup 2015-09-21 19:06:24 -04:00
Ben Fry
1733c90261 scrubbing the class paths for #3812 2015-09-21 18:28:55 -04:00
Ben Fry
a682332b67 remove goofy warning since it isn't fatal (#3835) 2015-09-21 16:44:01 -04:00
Ben Fry
02e8baed3a clean up warnings 2015-09-21 15:57:24 -04:00
Ben Fry
f90c363cb4 Merge branch 'master' of github.com:processing/processing 2015-09-21 15:54:51 -04:00
Ben Fry
821939626d Merge pull request #3845 from JakubValtar/code-completion
Code suggestions refactoring
2015-09-21 15:54:35 -04:00
Ben Fry
dc64dbbedf trying to clear up the "Save As" progress frame and avoid bugs 2015-09-21 15:53:14 -04:00
Jakub Valtar
52a2724aca Code suggestions refactoring
- fixed threading
- support for array types
- support for static access
- support for local classes
2015-09-21 15:48:43 -04:00
Jakub Valtar
6845c3b904 Move to error checker 2015-09-21 14:46:19 -04:00
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