Serial: Add basic tests for throughput and latency
Merge pull request #2225 from gohai/serial-new

Serial: Add basic tests for throughput and latency
Serial: Switch the examples over to printArray()
Merge pull request #2226 from gohai/serial-new

Serial: Switch the examples over to printArray()
removed ALREADY_DRAWING_ERROR and NO_BEGIN_DRAW_ERROR
getCanvas() in PGL so libraries can access the native surface
fix #2232
Merge branch 'master' of https://github.com/processing/processing.git
fix #2233
added getCanvas to PLWJGL
implementing depth sorting
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.
Merge pull request #2237 from gohai/serial-new

Add a debug() method to Serial
Merge remote-tracking branch 'remotes/upstream/master'