Commit Graph

12979 Commits

Author SHA1 Message Date
Ben Fry
32bb3ef819 change back to px instead of em processing-0265-3.4 2018-07-26 17:59:08 -04:00
Ben Fry
a73e3e6296 writing corny release notes for 3.4 2018-07-26 17:22:24 -04:00
Ben Fry
74fea471ab make error message for failed startup more specific (#5537, #5442) 2018-07-26 16:42:35 -04:00
Ben Fry
382e0581ce Merge pull request #5522 from JakubValtar/fix-java2d-blending
Make sure Java2D is backed by INT_ARGB image
2018-07-26 15:24:39 -04:00
Ben Fry
61bc86c686 add note about #5590 2018-07-26 08:01:15 -04:00
Ben Fry
0e35694225 Merge pull request #5590 from gohai/io-examples-adc
IO: Add ADS1X15 Analog-to-Digital converter example
2018-07-26 08:00:23 -04:00
gohai
a7e2d6f122 IO: Unify ADC examples 2018-07-26 00:25:12 -07:00
gohai
a21e5a280e IO: Add ADS1X15 Analog-to-Digital converter example 2018-07-26 00:25:06 -07:00
Ben Fry
15472d3cab cleaning up from #5550 2018-07-25 11:44:54 -04:00
Ben Fry
720752d001 Merge pull request #5549 from alexrj/pshape-contains
Finish implementation of PShape.contains()
2018-07-24 19:21:01 -04:00
Ben Fry
01ed1babb0 Merge pull request #5550 from alexrj/pshape-group-contains
Support PShape.contains() on GROUP objects
2018-07-24 19:19:51 -04:00
Ben Fry
e860555fa3 fix contribs that were redirecting to https urls (fixes #5554) 2018-07-24 19:07:38 -04:00
Ben Fry
f5aeba3750 misc todo items 2018-07-24 19:02:47 -04:00
Ben Fry
c7579ed92e Merge pull request #5526 from liquid600pgm/master
Fixed a crash occuring while loading certain SVGs exported from Adobe Illustrator
2018-07-24 18:44:43 -04:00
Ben Fry
700dc1997e Merge pull request #5487 from JakubValtar/fix-change-detector
Make sure editor is updated after reloading changes
2018-07-24 18:39:58 -04:00
Ben Fry
5a363ee027 notes from github notifications 2018-07-23 18:55:00 -04:00
Ben Fry
be5c80cde9 Merge pull request #5583 from gohai/gles-fixes
OpenGL ES: Fix GLSL version number for 1.00 (#5582)
2018-07-23 18:42:09 -04:00
Ben Fry
a69d1c9b1f Merge pull request #5586 from gohai/jdk-update
Update Java to 8u181
2018-07-23 18:31:04 -04:00
gohai
342f0e60c0 Update Java to 8u181 2018-07-22 09:02:11 -07:00
gohai
4d15acae44 OpenGL ES: Fix GLSL version number for 1.00 (#5582)
Wikipedia had it wrong: the spec for the OpenGL ES Shading Language Version 1.00 defines the version preprocessor directive as "#version 100", and _not_ "#version 100 es", like version 3.00+ of the language wants it.

This made the Raspberry Pi with the legacy driver unhappy. Thanks @DangusTaargus for reporting.

see https://www.khronos.org/files/opengles_shading_language.pdf
2018-07-20 11:41:47 -07:00
Ben Fry
38ab1e3f66 Merge branch 'master' of github.com:processing/processing 2018-07-19 19:10:16 -04:00
Ben Fry
d53d91239e cleaning up the todo list with recent items 2018-07-19 19:09:55 -04:00
Ben Fry
b40502ad48 add more elaborate error message about Windows Defender (#5537, #5442) 2018-07-19 19:02:30 -04:00
Ben Fry
4edd8f95f0 change up the error message for the settings folder 2018-07-19 18:27:19 -04:00
Ben Fry
dbfe59d139 Merge pull request #5581 from gohai/io-changes
IO: Additional improvements
2018-07-19 18:11:53 -04:00
gohai
cbdfb06c99 IO: Add a dispose method to PCA9685 example, document pulse widths
Developed together with @OlivierLD
2018-07-12 13:27:30 -07:00
gohai
cc46c5e680 IO: Fix pinMode() retry logic
If the file node is not accessible yet, NativeInterface.writeFile() will return -EACCES instead of -EPERM. Thanks @msurguy for reporting this and testing.
2018-07-11 14:07:06 -07:00
gohai
80453e84ba IO: Make I2C errors more verbose
The error code returned from C seems to have changed from -EIO to -EREMOTEIO during some recent kernel version.
2018-07-10 10:16:46 -07:00
gohai
f14200e6fe Fix typo in todo.txt 2018-07-01 11:35:50 -07:00
gohai
46241287d3 Update todo.txt with changes that went into 3.3.7.1 2018-07-01 11:25:25 -07:00
gohai
89c7a24152 IO: Rename ServoSweep example 2018-07-01 10:05:18 -07:00
gohai
7bd50e435a IO: Remove the duplicate "duty" argument from the reference for PWM.set() 2018-07-01 10:05:18 -07:00
Olivier LeDiouris
9843d1c88d IO: Add PCA9685 servo/PWM controller example
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:05:18 -07:00
Olivier LeDiouris
5db3ec9227 IO: Add TSL2561 environmental sensor example
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:05:18 -07:00
Olivier LeDiouris
2e05386994 IO: Add BME280 environmental sensor example
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:05:18 -07:00
gohai
8aa1f803c4 IO: Add MPR121 capacitive touch example 2018-07-01 10:05:18 -07:00
gohai
67c4f3bd9d IO: Reorganize OOP examples 2018-07-01 10:05:18 -07:00
gohai
0bb5b77328 IO: Add a 100ms timeout to I2C to allow communication with Arduino
Note this currently does not include the compiled binary for linux-arm64
2018-07-01 10:05:03 -07:00
gohai
41a52e7423 IO: Fix crash when I2C.read() was called without prior write() 2018-07-01 10:05:03 -07:00
gohai
1f2b9a3e47 Enable exporting of Windows applications on ARM
Steps to compile ld & windres:
sudo aptitude install mingw-w64
wget https://ftp.gnu.org/gnu/binutils/binutils-2.30.tar.bz2
cd binutils-2.30
./configure --target=i686-w64-mingw32
make -j4 -l4
sudo make install
2018-06-26 19:14:24 -07:00
gohai
d8a2fd8cc7 Unconditionally disable POLYGON_SMOOTH in restoreGL()
This now matches the logic in setGLSettings(), as suggested by @JakubValtar.
2018-06-26 19:14:08 -07:00
gohai
3da84a9874 ARM Mali: Don't use GL_MULTISAMPLE or GL_POLYGON_SMOOTH on ES
Fixes:
GLDebugEvent[ id 0x32
    type Error
    severity High: dangerous undefined behavior
    source GL API
    msg Error:glEnable::<cap> is not one of the accepted values
    when 1524184964512
    source 3.1 (ES profile, arb, debug, compat[ES2, ES3, ES31], FBO, hardware) - OpenGL ES 3.1 v1.r17p0-01rel0.a881d28363cdb20f0017ed13c980967e - hash 0x1f928e9]
    [2]: jogamp.opengl.GLDebugMessageHandler$StdErrGLDebugListener.messageSent(GLDebugMessageHandler.java:347)
    [3]: jogamp.opengl.GLDebugMessageHandler.sendMessage(GLDebugMessageHandler.java:332)
    [4]: jogamp.opengl.GLDebugMessageHandler.glDebugMessageARB(GLDebugMessageHandler.java:358)
    [5]: jogamp.opengl.es3.GLES3Impl.dispatch_glEnable1(Native Method)
    [6]: jogamp.opengl.es3.GLES3Impl.glEnable(GLES3Impl.java:734)
    [7]: com.jogamp.opengl.DebugGLES3.glEnable(DebugGLES3.java:2121)
    [8]: processing.opengl.PJOGL.enable(PJOGL.java:1068)
    [9]: processing.opengl.PGraphicsOpenGL.setGLSettings(PGraphicsOpenGL.java:6784)
    [10]: processing.opengl.PGraphicsOpenGL.checkSettings(PGraphicsOpenGL.java:6740)
    [11]: processing.opengl.PGraphicsOpenGL.beginDraw(PGraphicsOpenGL.java:1463)
    [12]: processing.core.PApplet.handleDraw(PApplet.java:2388)
    [13]: processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:866)
    [14]: jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
    [15]: jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
    [16]: jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
    [17]: jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
    [18]: jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
    [19]: com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
    [20]: com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
    [21]: com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
    [22]: com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
    [23]: java.util.TimerThread.mainLoop(Timer.java:555)
    [24]: java.util.TimerThread.run(Timer.java:505)
2018-06-26 19:14:08 -07:00
gohai
99e5f74694 IO: Speed up GPIO.pinMode() 2018-06-26 19:13:19 -07:00
gohai
aba636275c IO: Clarify SimpleInput example
As suggested by @msurguy
2018-06-26 19:12:51 -07:00
Casey Reas
c968b6ea68 Merge pull request #5548 from gohai/io-pullup-raspbian
IO: Implement Raspbian-only method for setting pull{up,down} resistors
2018-06-19 10:04:22 -07:00
gohai
de2cac9860 IO: Implement Raspbian-only method for setting pull{up,down} resistors
Aarch64 version compiled courtesy of @xranby
2018-06-18 07:38:30 -07:00
Alessandro Ranellucci
d49ba8864c Finish implementation of PShape.contains() by considering the transformation matrix before checking for point inclusion. #1280 2018-06-15 16:20:25 +02:00
Alessandro Ranellucci
e3cdf37965 Support PShape.contains() on GROUP objects by looping through its children (unsupported children will be skipped gracefully) 2018-06-15 16:16:58 +02:00
lqdev
ba9dc95443 Removed unneccessary java.util.Arrays import 2018-06-05 20:47:25 +02:00
lqdev
48bd1fd7d2 Removed IntelliJ IDEA files 2018-06-05 20:30:15 +02:00