Ben Fry
3380239e68
Merge pull request #5486 from JakubValtar/fix-status-exception
...
Fix sketch exception getting hidden by warning
2019-01-18 08:28:52 -08:00
Ben Fry
c3c2dbb4c2
resolve ambiguous import
2019-01-17 08:53:45 -08:00
Jakub Valtar
8f37ebcb18
Fix freeze when restarting sketch with variables in size
...
While sketch is running, rewriting sketch size to variables and trying to restart the sketch by pressing the play button causes PDE to freeze. Fixed by moving AWT call to EDT.
2018-11-17 15:11:06 +01: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
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
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
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
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
Ben Fry
9015177fb2
todo notes and clean up a few warnings
2018-05-05 09:54:44 -04:00
Jakub Valtar
d29366d34b
Change Editor status message only from EDT
...
This adapter invokes all status changes on the EDT instead of worker thread of the Runner. Modifying AWT components from the worker threads may introduce strange bugs and in this case caused UI changes to run out of order, hiding runtime exceptions under problems displayed when cursor moves to the offending line.
2018-04-24 11:31:27 +02:00
Ben Fry
f4bfffc5a9
remove preproc.substitute_unicode ( fixes #5456 )
2018-04-05 10:45:46 -04:00
gohai
7b273c83b3
Update java.lang.UnsupportedClassVersionError message
...
This came up in #5457
2018-03-31 14:20:18 -04:00
Ben Fry
6b7580889c
blendMode() should be a warning, not fatal
2018-03-28 10:40:13 -04:00
Ben Fry
b28139a035
notes about completion work
2018-03-26 17:43:36 -04:00
Ben Fry
6cc0791fad
more cleanup in completions code
2018-03-26 17:26:11 -04:00
Ben Fry
acacaf5225
more cleanup, time to merge these functions
2018-03-26 17:14:33 -04:00
Ben Fry
196a367449
more cleaning; switching to elementName instead of html parse (needs test)
2018-03-26 16:59:45 -04:00
Ben Fry
47a44983aa
cleaning up CompletionCandidate... hoo boy
2018-03-26 16:39:42 -04:00
Ben Fry
e1d3d56b87
set default button in the Rename dialog ( fixes #5400 )
2018-03-26 14:06:22 -04:00
Ben Fry
8692c146a4
redo the dreadful layout for the Rename dialog
2018-03-26 14:02:56 -04:00
Ben Fry
5722b5323b
close Rename (refactor) dialog on ESC ( fixes #5391 )
2018-03-26 12:02:21 -04:00
Ben Fry
bf29921140
moving more classes out, yech
2018-03-26 11:56:41 -04:00
Ben Fry
fcc6550960
breaking out these static classes to be on their own
2018-03-26 11:51:39 -04:00
Ben Fry
273b0d8b42
gonna move the rename dialog out
2018-03-26 11:42:14 -04:00
Ben Fry
e294030e47
major work on the Welcome screen ( fixes #3911 , #3912 )
2018-03-18 16:31:48 -04:00
Ben Fry
24c1266e5b
adding the Swing-based Welcome dialog from @whetfire ( #5210 )
2018-03-18 08:34:11 -04:00
Ben Fry
ca9262213d
add another try/catch for createWriter() call
2018-03-13 20:53:11 -04:00
Ben Fry
2ac50a99a5
show warning when using blendMode() with PDF ( fixes #5105 )
2018-03-13 20:13:09 -04:00
Ben Fry
e77da8db9f
fix rename dialog scaling for high density ( fixes #5368 )
2018-03-13 19:36:48 -04:00
Ben Fry
532860cd9a
erase types and make this if() a little less confusing
2018-03-13 13:08:18 -04:00
Ben Fry
3e495b33a5
do the same thing with less code
2018-03-13 12:37:41 -04:00
Jakub Valtar
728cb75494
Output java files in UTF-8 and force compiler to use UTF-8
2018-03-13 15:35:26 +01:00
Tobias Pristupin
bb48d84766
Updated comment
...
Comment said function throws RunnerException, but function throws SketchException which isn't related to RunnerException
2018-02-20 08:30:45 -05:00
Jakub Valtar
404990f29f
Fix Net library buffer sizes
...
Because I don't know how to count...
2018-02-02 17:14:56 +01:00
Jakub Valtar
d887779eb6
Net-client: perf tuning - make read buf the size of socket receive buf
2018-01-22 20:28:09 +01:00
Jakub Valtar
fe465fe4de
Net-client: remove unneeded synchronization block
2018-01-22 19:50:48 +01:00
Jakub Valtar
bb6c9a568a
Net-server: remove suspicious sleep
2018-01-22 19:50:06 +01:00