Jakub Valtar
921099df04
Make tooltips saner
2015-11-07 11:16:20 +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
gohai
06799bb757
I/O: Move GPIO examples away from I2C pins
...
It appears as if using the I2C pins for GPIO requires a restart of the Raspberry Pi before the I2C interface can be used again. Play safe and move the examples to pins that aren't used for anything else.
2015-10-12 17:00:49 +02:00
gohai
3ddf2d773c
I/O: Remove casts to byte from example sketches
2015-10-12 16:59:04 +02:00
gohai
edf411e566
I/O: Make I2C & SPI accept ints for write()
...
This makes everyone's sketches a bit lighter, since it is not longer necessary to explicitly cast to byte or call byte(). Instead, we throw an exception if the value does not fit into the byte.
2015-10-12 16:56:01 +02:00
Jakub Valtar
2d03060841
AstGenerator cleanup
2015-10-12 12:34:29 +02:00
Jakub Valtar
5cd4e1ae75
Fix contrib library suggestions
2015-10-12 12:04:48 +02:00
Jakub Valtar
f23c2a44b0
Clean up error checker
2015-10-12 02:15:25 +02:00
gohai
bc02e4b7b6
I/O: Add examples
2015-10-12 00:11:55 +02:00
gohai
59e05393a5
I/O: Improve messaging when user doesn't have permissions to write to LEDs
...
This is e.g. the case with the newly released Raspbian 2015-09-24.
2015-10-12 00:06:39 +02:00
gohai
eb240c6192
I/O: Don't throw an exception when trying to release unused pins
2015-10-12 00:05:34 +02:00
gohai
fb6437f307
Add I/O library for Raspberry Pi and similar Linux-based micro computers
2015-10-11 11:50:17 +02:00