Commit Graph

1672 Commits

Author SHA1 Message Date
Ben Fry
61763c19d7 Merge pull request #4117 from JakubValtar/debugger-fix
Debugger fixes
2016-02-13 10:36:47 -05:00
Ben Fry
a464a7a6e5 Merge pull request #4200 from GKFX/autoformat
Fix minor autoformatter bugs. Fixes #4185.
2016-02-13 10:11:43 -05:00
Ben Fry
962e699613 Merge pull request #4079 from JakubValtar/jit-bug-workaround
Workaround for JRE bug freezing the PDE
2016-02-13 09:30:11 -05:00
Manindra Moharana
578217c0ca Updated to use the modified ECS classloader 2016-01-27 02:45:06 -08:00
George Bateman
cbf974630b Fix minor autoformatter bugs. Fixes #4185.
Enums without semicolons and labels that aren't in a method body.
2015-12-12 14:37:42 +00:00
Jakub Valtar
05b66536a2 Code styling 2015-11-08 19:38:33 +01:00
Jakub Valtar
97ad08c2da Fix typo in debugger 2015-11-08 19:37:03 +01:00
Jakub Valtar
15b3a4718d Fix crash when entering static methods
Fixes #3590
2015-11-08 19:27:41 +01:00
Jakub Valtar
bbbfea9129 Fix modifiers on step button
Fixes #4116
2015-11-08 19:25:57 +01:00
Jakub Valtar
33d798867f Threading: touch UI only on AWT 2015-11-08 18:46:38 +01:00
Jakub Valtar
a1eb347338 Make CompletionCandidate immutable
This one goes from ASTGenerator on a background thread to the JList
which displays code suggestions. Until refactored, I'm making it
immutable with convenience methods returning mutated copies to prevent
possible threading issues.
2015-10-30 03:27:08 +01:00
Ben Fry
1ffe4b3bbb remove unused imports 2015-10-23 15:57:16 -04:00
Ben Fry
f411433eeb Merge pull request #4045 from JakubValtar/fix-preproc-crash
Prevent preprocessor from crashing when setup() has no body
2015-10-22 11:32:41 -04:00
Jakub Valtar
c62968da8e ANTLR does not support diamonds, ignore 2015-10-22 16:24:50 +02:00
Jakub Valtar
eddd963ca1 Fix exception in preprocessor
Trying to run sketch with setup() without a body would crash the
preprocessor. Now it gives correct error message.
2015-10-22 16:19:50 +02:00
Jakub Valtar
055125f89a Make warnings actually useful for beginners 2015-10-22 15:46:27 +02:00
Jakub Valtar
56a8e505ab Remove aggressive manual garbage collection 2015-10-22 15:10:38 +02:00
Jakub Valtar
dc528ada43 Styling 2015-10-22 14:39:05 +02:00
Jakub Valtar
715273a15b Unify compiler options, set level to Java 7
Does not guarantee support for all Java 7 features (only some), but
warns about lambdas not being available. Lambdas are not supported,
because they make ANTLR angry.

Fixes #4034
2015-10-22 12:45:54 +02:00
Jakub Valtar
d7f0bcf2e8 Compilation Checker cleanup 2015-10-22 12:37:37 +02:00
Jakub Valtar
3e2ea14925 Remove unused error logging 2015-10-22 12:25:22 +02:00
Ben Fry
d35035d371 more cleanups and notes 2015-10-21 06:36:57 -04:00
Jakub Valtar
9194d855d3 Merge pull request #4005 from JakubValtar/embed-fix
Export - fix java not being embedded on 64bit
2015-10-20 17:37:22 +02:00
Ben Fry
8185c6fbde Merge pull request #4015 from gohai/serial-fixes
Serial fixes
2015-10-20 09:19:33 -04:00
Ben Fry
641d9797b5 Merge pull request #4009 from JakubValtar/error-checker-document-listeners
Add error checker document listeners to all tabs
2015-10-20 09:18:28 -04:00
Ben Fry
3c3bc50809 Merge pull request #3997 from gohai/for-ben-14
Medium-sized I/O updates
2015-10-20 09:17:45 -04:00
Ben Fry
e3d9fc83d9 Merge pull request #4023 from erniejunior/master
Improved fix for Issue #4017 where tweak mode ignores some numbers in a second tab
2015-10-20 09:13:12 -04:00
gohai
4bfe0feea5 I/O: Another filename fix for PWM 2015-10-19 20:52:26 +02:00
gohai
5c5d0ce8d8 I/O: Fix PWM filenames 2015-10-19 20:13:18 +02:00
erniejunior
8d8c286f8e Fixed issue #4017 now with even fewer changes. 2015-10-18 23:58:07 +02:00
gohai
f4f00102bd Put back the Javadoc from the 2012-era Serial library 2015-10-18 12:51:57 +02:00
gohai
61fe120f7c Fix Serial SimpleWrite example
The Arduino code would read one byte from the buffer an then sleep for 1/10th of a second, while Processing would send a byte every frame. Instead, read in all the bytes in the input buffer and act on the most recent one.
2015-10-18 12:29:14 +02:00
Gal Sasson
43f261a7aa fix swing deadlock issue: https://github.com/processing/processing/issues/3928 2015-10-18 01:11:37 -04:00
Jakub Valtar
f12a42bdfb Add error checker document listeners to all tabs 2015-10-16 17:59:37 +02:00
Jakub Valtar
2b4a6ba359 Export - fix java not being embedded on 64bit 2015-10-15 23:50:24 +02:00
gohai
3905200c57 I/O: Documentation changes 2015-10-15 22:49:55 +02:00
gohai
bffe20f230 I/O: Rename to "Hardware I/O" 2015-10-15 13:15:57 +02:00
gohai
575edf00d1 I/O: Add @webref annotation 2015-10-15 13:07:59 +02:00
gohai
cd03e69f1a I/O: Rename LED.setBrightness() to LED.brightness()
Suggested by Ben. Note: still needs to be updated in processing-docs.
2015-10-15 13:00:05 +02:00
gohai
4d583abbb5 I/O: Remove GPIO.delay(), GPIO.delayMicroseconds()
Ben pointed out that there already is a delay in PApplet. Note: functions still need to be deleted from processing-docs.
2015-10-15 12:59:49 +02:00
gohai
4c94d1e1fa I/O: Convert constants to Javadoc style 2015-10-14 17:14:42 +02:00
gohai
3d42e22627 I/O: Add missing @param
This fixes the last Javadoc warning.
2015-10-14 16:18:50 +02:00
gohai
def1bddafa I/O: Cosmetic fixes 2015-10-14 15:16:54 +02:00
gohai
b20c2266fb I/O: Rename LED.set() to LED.setBrightness() 2015-10-14 15:16:24 +02:00
gohai
b80f6211e9 I/O: Make delay(), delayMicroseconds() public
Those mirror Arduino's API, and should come in handy when waiting for very short intervals between I/O operations.
2015-10-14 15:15:04 +02:00
REAS
5575b774b8 Tests for new Serial reference 2015-10-13 15:56:05 -07:00
Ben Fry
6a7cf8bf8a Merge pull request #3985 from gohai/for-ben-12
I/O library
2015-10-13 04:23:40 -04:00
gohai
6b58a22413 I/O: Tighten the heuristic for catching 8 bit I2C addresses 2015-10-12 17:15:31 +02:00
gohai
341a9073be I/O: Add helpful text for I2C errors 2015-10-12 17:10:15 +02:00
gohai
622e907d68 I/O: Comment fix 2015-10-12 17:02:16 +02:00