Commit Graph

7591 Commits

Author SHA1 Message Date
gohai e08e7bcd13 Serial: Update to latest upstream (fixes potential port handle leak) 2014-02-14 14:19:52 -08:00
gohai 7d9e51e9ae Appbundler: Add Contents/Java to java.library.path for loadLibrary to find .jnilib files
Upon including processing.serial.*, the java.library.path of the sketch - when compiled normally - gets expanded to include the location of the specific library subfolder. For exported sketches on MacOS, java.library.path points just to Contents/MacOS inside the application, which causes loadLibrary inside custom libraries to fail. Since those library files (*.jnilib) get copied into Contents/Java, change the java.library.path to include this location as well.

Somewhat confident that this shouldn't break things, but this is touching core infrastructure.
2013-12-17 00:02:07 -08:00
gohai 2dad0c169d Serial: Handle the UnsatisfiedLinkError when loading the native library fails
This currently happens with exported applications (see #2249).
2013-12-15 21:06:57 -08:00
gohai c5f5e7e30e Serial: Revert jSSC to the version that was shipped with 2.1
This removes some debug code that was temporarily added and turns yield() back into a 100ns delay, which probably won't make a difference for throughput but will be a bit lighter on the CPU.
2013-12-15 16:13:42 -08: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
codeanticode 4f186536bf move drawElements() call to PShader.draw() 2013-10-27 23:49:13 -04:00
Ben Fry 732452564e starting the next revision after 2.1 2013-10-27 17:42:46 -04:00
Ben Fry 0849866d05 add some notes about building src version processing-0223-2.1 2013-10-27 16:44:46 -04:00
Ben Fry aa679a98de remove .gitignore for folder that no longer exists 2013-10-27 16:33:23 -04:00
Ben Fry 7f70c7425f set default to embed Java on export app 2013-10-27 16:23:40 -04:00
Ben Fry 795a0c681a write release notes 2013-10-27 15:52:43 -04:00
Ben Fry 9ccc04b5d5 fixes for pixel ARGB vs RGB issues (#2030) 2013-10-27 15:38:17 -04:00
Ben Fry 8a0a226eb7 fix dataPath() for OS X and Java 7 2013-10-27 14:26:20 -04:00
REAS 76f99a232f Reference changes for 2.1, new keywords.txt 2013-10-26 21:02:36 -07:00
codeanticode e1f4b82d3c minor correction in the name of the texture sampler 2013-10-26 22:06:25 -04:00
REAS c6b9f16c42 printArray() added to type examples 2013-10-26 10:16:12 -07:00
codeanticode 15156353e8 don't call swapBuffers() in PGraphicsOpenGL.dispose() for offscreen
surfaces.
2013-10-25 18:02:36 -04:00
Ben Fry fe27b9cd4e release notes and todo items 2013-10-25 17:44:51 -04:00
Ben Fry bad24c1443 Merge branch 'master' of github.com:processing/processing 2013-10-25 15:43:36 -04:00
Ben Fry 935c509abc get Commander working on OS X, addl updates 2013-10-25 15:43:33 -04:00
codeanticode acaa6f50bf additional resource de-allocation in dispose, this might solve #2074 2013-10-25 15:09:57 -04:00
codeanticode b372046e44 comments for issues #1844 and #2125, added some warnings, fixed #2034 2013-10-25 12:38:33 -04:00
codeanticode fff45fad48 Merge branch 'master' of https://github.com/processing/processing.git 2013-10-25 10:53:56 -04:00
codeanticode 38fcc65950 added a couple of missing GL constants 2013-10-25 10:53:42 -04:00
Ben Fry d291df309b additional font tweaks (#2135) 2013-10-25 10:04:44 -04:00
Ben Fry 55ffd815f6 more 1.7 notes 2013-10-25 09:53:02 -04:00
Ben Fry 8572e317c7 switching to Java 1.7 for source because of revalidate() usage 2013-10-25 09:51:20 -04:00
Ben Fry 8ba8c1595e Merge pull request #2146 from KiwiStrongis/master
added PMatrix.preApply( PMatrix) to resolve Issue #2145
2013-10-25 06:40:27 -07:00
codeanticode e10ffbc5e2 updated to jogl-2.1-b1115, gluegen-2.1-b735 for OSX 10.9 support 2013-10-25 09:39:33 -04:00
codeanticode 0ff68bca2f add setters for boolean uniforms contributed by AmnonOwed, fixes #1991. 2013-10-24 23:58:45 -04:00
codeanticode 09c03d0dcb Merge branch 'PShader.set(boolean)' of https://github.com/AmnonOwed/processing 2013-10-24 23:45:31 -04:00
codeanticode c6fddfdac7 Merge branch 'master' of https://github.com/processing/processing.git 2013-10-24 21:57:50 -04:00
codeanticode 73d57f8d22 fixes #2162 2013-10-24 21:57:35 -04:00
Ben Fry b2bd2c4217 Add option to not embed the Java runtime 2013-10-24 21:50:51 -04:00
codeanticode cd4a5ae453 constrain depth and stencil bits to requested values, use capabilities
to obtain current values
2013-10-24 17:59:27 -04:00
codeanticode 68f44f14bc removing debug messages 2013-10-24 17:13:11 -04:00
codeanticode e6b8c04607 allocate in setSize() 2013-10-24 15:25:50 -04:00
codeanticode c60ba7e6d7 better handling of glsl code in different versions 2013-10-24 12:51:38 -04:00
codeanticode 1ce9c9d360 assuming npot texture support, auto mipmaps generation, etc, are part of
core gl profile when using gl3
2013-10-24 12:17:50 -04:00
codeanticode 56317a8827 some edits to LowLevelGL example 2013-10-24 11:58:33 -04:00
codeanticode 91e416b28e handle Camera.list() returning null 2013-10-24 10:19:57 -04:00
codeanticode 59371bd884 Merge branch 'master' of https://github.com/processing/processing.git 2013-10-24 10:05:22 -04:00
Ben Fry b8f9bb628f reset everyone's anti-aliasing setting for the editor (#2164) 2013-10-23 18:24:20 -04:00
Ben Fry e22a3f314b fix return code and other notes 2013-10-23 18:23:59 -04:00