Commit Graph

1550 Commits

Author SHA1 Message Date
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
Ben Fry
efeb9f5ace move that down there 2015-08-21 13:14:25 -04:00
Ben Fry
34a296d05a more scrubbing 2015-08-21 13:13:49 -04:00
Ben Fry
47d8405809 cleaning up and re-coloring 2015-08-21 12:57:13 -04:00
Ben Fry
61d3b74276 cleanups 2015-08-21 12:28:45 -04:00
Ben Fry
53405ecf4b fixing up colors per design spec 2015-08-21 12:25:51 -04:00
Ben Fry
7f62a019f2 Merge branch 'master' of github.com:processing/processing 2015-08-21 10:23:28 -04:00
Ben Fry
9f7d06c96b avoid NPE case on startup 2015-08-21 10:22:17 -04:00
Manindra Moharana
16bc17ae64 wrap up #2951 2015-08-20 21:04:03 -07:00
Ben Fry
7d8b9f92c6 who keeps letting this person check in code when they're tired? 2015-08-20 17:30:21 -04:00
Manindra Moharana
b0b558b86f Merge branch 'master' of https://github.com/processing/processing 2015-08-20 00:41:47 -07:00
Manindra Moharana
ce87a657c8 fixed bad formatting 2015-08-20 00:40:14 -07:00
Ben Fry
364e52d288 working on ui, update Java version 2015-08-19 18:05:26 -04:00