George Bateman
5767b086f6
Fix most Javadoc errors, except syntax
2016-05-10 19:13:20 +01:00
Ben Fry
822089487b
Merge pull request #4321 from kfeuz/serial_readbytes
...
Added readBytes(max) to serial library
2016-05-08 15:06:09 -04:00
Jakub Valtar
dd8698427c
Update app to Java 8
2016-04-02 23:17:25 +02:00
kfeuz
bad395b08d
Added readBytes(max) to serial library
2016-02-18 22:21:04 -07: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
REAS
5575b774b8
Tests for new Serial reference
2015-10-13 15:56:05 -07:00
REAS
85fc361ce3
Change name of Serial I/O library to Serial
2015-10-06 10:03:01 -07:00
Ben Fry
f496709a87
update our own libraries to use .properties files ( fixes #3574 )
2015-08-11 10:30:37 -04:00
Ben Fry
a32a634b72
deal with .class signing conflicts and use JDT .jar files for compilation
2015-01-21 19:43:02 -05:00
Kyle Feuz
c7759f2a78
Bring in upstream changes from 'master'
2014-11-21 10:31:28 -07:00
Kyle Feuz
85d511975b
unset executable bit for .txt files
2014-11-20 13:20:33 -07:00
Kyle Feuz
cc312f8b76
Unset the executable bit on xml files
2014-11-20 13:17:33 -07:00
Kyle Feuz
49c3435b36
Normalize line endings. Auto-detect textfiles. Force .java and .pde files to be treated as text.
2014-11-20 12:57:04 -07:00
Ben Fry
96b9f8dc21
remove unnecessary parens
2014-11-14 15:08:52 -07:00
Ben Fry
ee9584bf53
Merge pull request #2588 from kfeuz/Issue2364
...
Implements the active() method for Serial and Server (Issue #2364 ).
2014-11-14 15:01:17 -07:00
Federico Bond
ce5daefffd
Use 1.7 as source and target Java version
2014-10-20 23:52:26 -03:00
Kyle Feuz
6274986bd6
Implements the active() method for Serial and Server (Issue #2364 ).
2014-06-10 23:22:08 -07:00
Jonathan Feinberg
bd3fe3514c
Permit implementing serialEvet and serialAvailable without having to link to Serial at buildtime.
...
This is useful for Python mode, or any other Java-compatible Processing that doesn't allow reflection on the sketch.
2014-05-19 20:42:26 -04:00
gohai
5235b190c2
Serial: Remove debug code again
2013-12-15 16:02:23 -08:00
gohai
1c95fd341e
Serial: Only use workaround if we're using serialEvent
2013-12-15 15:55:31 -08:00
gohai
59761b42d2
Serial: Only read a single character at a time to emulate RXTX behavior
2013-11-25 08:23:40 -08:00
gohai
541cab2bd9
Add a debug() method to Serial
...
This commit also turns a 100ns wait inside JSSC in a yield() and removes the invocation of serialEvent outside the synchronized block.
2013-11-24 20:52:38 -08:00
gohai
0ef72e25c9
Serial: Switch the examples over to printArray()
2013-11-19 17:22:13 -08:00
gohai
95bac1d04c
Serial: Add basic tests for throughput and latency
2013-11-19 16:37:14 -08:00
gohai
72ec72ae53
Add missing readStringUntil() method
2013-10-28 17:18:13 +01:00
melgior
e208f2fec8
Updated Arduino example code to be Arduino 1.0+ compatible
2013-10-17 13:22:10 +02:00
melgior
f5eb74c083
Updated Arduino example code to be Arduino 1.0+ compatible
2013-10-17 13:20:53 +02:00
melgior
8e47e8b3c5
Updated Arduino example code to be Arduino 1.0+ compatible
2013-10-17 13:17:33 +02:00
gohai
3b8ed3db55
Document how to compile the native JSSC library
2013-10-01 21:29:15 -07:00
gohai
7c2f50ef8a
Remove obsolete .cvsignore file
2013-10-01 21:27:48 -07:00
gohai
ba4f204c25
Remove commented out lines
2013-10-01 21:27:27 -07:00
Ben Fry
f2bc900427
update serial with p5 code conventions, fix two warnings
2013-09-25 14:12:56 -04:00
gohai
d46e55714d
Replace RXTX-based serial library by one based on JSSC
...
Development on this was done in https://github.com/gohai/processing-serial-jssc . See also https://github.com/gohai/java-simple-serial-connector for changes to JSSC (not yet upstreamed).
2013-09-24 08:26:08 -07:00
Ben Fry
7eb0f19d65
change build scripts to use built-in ecj (removes jdk req)
2013-09-12 19:21:57 -04:00
Ben Fry
eee6123135
adding ignore files
2013-01-27 10:52:36 -05:00
benfry
8b771c0d98
cleaning up stop/dispose events
2012-11-25 17:41:33 +00:00
benfry
54b524d22a
add tool to fix the serial port on OS X
2012-10-21 00:12:26 +00:00
benfry
ab815ede89
update source/target settings in build b/c of Java 7 warnings
2012-10-19 14:48:48 +00:00
benfry
e85b1c7496
throw an exception when /var/lock does not exist.. otherwise too subtle
2012-08-05 14:37:33 +00:00
benfry
02b4e738f5
fix problem with bufferUntil() not properly handling values over 127 (issue #1079 )
2012-08-04 19:57:29 +00:00
benfry
c5db8dbb16
add 64-bit version of OS X serial, also add warning about lock files
2012-08-04 19:30:44 +00:00
benfry
7a7b856385
making further progress on build process
2012-07-20 23:21:24 +00:00
benfry
436a81e330
cleaning up warnings, specifying Java 1.6 for build in Eclipse, remove unused
2011-11-12 17:31:06 +00:00
Casey Reas
adfaed5e1a
Basic 2.0 Ref changes
2011-07-27 16:04:21 +00:00
benfry
e4f3bf393a
updating to new rxtx version
2011-01-28 20:15:14 +00:00
benfry
b9d14b44d5
fixing build scripts for new locations
2011-01-26 21:53:07 +00:00
benfry
a53f278863
moving examples to hang out with their libraries
2011-01-26 19:43:04 +00:00
benfry
7f118cf342
moving to new structure
2011-01-26 19:12:55 +00:00