1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Commit Graph

6402 Commits

Author SHA1 Message Date
Cristian Maglie
b00185e63d juint tests now use the correct jna lib again 2016-11-03 15:01:36 +02:00
Cristian Maglie
21ff728c59 Merge remote-tracking branch 'cmaglie/fix-win-paths' 2016-11-03 12:10:24 +01:00
Martino Facchin
1d74bb87ac Trigger Keywords update if a new library is added
Fixes #5415
2016-10-27 12:47:00 +02:00
Martino Facchin
c6642c1bd2 Reorder tabs when a new file is inserted/renamed
Fixes #5402
2016-10-27 12:47:00 +02:00
Martino Facchin
4e84238527 Restore "Delete" tab functionality
The file was being deleted but the tab was still there
2016-10-27 12:47:00 +02:00
Martino Facchin
12eb09f0b9 Fix NPE if referred core is nonexistent
Fixes #5502
2016-10-27 12:46:44 +02:00
Martino Facchin
de9bd89a01 Update libListSerial to 1.2.0 2016-10-21 16:39:59 +02:00
Cristian Maglie
d50d0be345 SD lib is now downloaded from lib manager 2016-10-20 16:34:08 +02:00
Cristian Maglie
3af99c0847 Use Documents/ArduinoData when running as a Windows UWP
LocalAppData is restricted for Windows Apps, so we are forced to use
a document folder.
2016-10-19 16:28:21 +02:00
Cristian Maglie
cb50ebc9c1 Slightly simplified argument passing to arduino-builder 2016-10-19 16:28:21 +02:00
Cristian Maglie
2856600463 Windows: Use Shell32 utility to determine known paths 2016-10-19 16:28:21 +02:00
Cristian Maglie
cbf3cdcfbb Added Win32KnownFolders class 2016-10-19 16:28:21 +02:00
Cristian Maglie
7d9ec39ca9 Update jna.jar to 4.2.2 2016-10-19 16:28:20 +02:00
Cristian Maglie
3d6abacee4 Merge branch 'master' of git://github.com/duff2013/Arduino 2016-10-18 16:39:30 +02:00
duff2013
9a3881ecce set grid color through theme.txt now 2016-10-18 00:04:43 -07:00
Cristian Maglie
8093858306 Merge branch 'utoa_def' of git://github.com/kevans91/Arduino 2016-10-17 16:08:25 +02:00
Cristian Maglie
1e7c6cc660 Merge branch 'WiFi101-Updater-0.8.1' of git://github.com/sandeepmistry/Arduino 2016-10-17 15:27:05 +02:00
Kyle Evans
549a8055fa Fix signature and definition of utoa to match name 2016-10-13 17:21:11 -05:00
Cristian Maglie
31a9029c1d Updated i18n strings 2016-10-05 15:55:32 +02:00
Cristian Maglie
7883835b84 If an archive is corrupted (CRC error) retry the download
Previously the CRC error was quite annoying to recover because
the user needed to manually delete the corrupted file from the
staging folder (without knowing the exact path of the file to
remove).

Now the IDE tries autonomously to resolve the situation by
removing the file and downloading it again.

Fixes #5394 #4303
2016-10-05 12:56:40 +02:00
Sandeep Mistry
bff2702ec2 Use version 0.8.1 of the WiFi101 firmware updater 2016-10-04 10:39:31 -04:00
Cristian Maglie
6bae5a5dd4 Merge branch 'verify-properties-default-values' of https://github.com/per1234/Arduino 2016-10-04 14:22:50 +02:00
Cristian Maglie
67f7039639 Update changelog 2016-10-04 14:18:10 +02:00
Cristian Maglie
a8525c6bb0 Parse libraries index after updating it (when launche from CLI)
Fix #5424
2016-10-04 14:06:32 +02:00
duff2013
db8526c27c upgrade Serial Plotter 2016-10-03 19:34:57 -07:00
Cristian Maglie
653a05273d Check sanitaryName only on basename without extension
This regression originates from:

8725bb1e Clean up sketch loading

before this commit the sketch name sanitization was made on the sketch
name without the extension.
After 8725bb1e instead the name sanitization is made on the filename, so
including the ".ino" extension.

This lead to a weird corner case, caused by the limit of 63 characters
on the sketch name: before 8725bb1e it would be possible to save a sketch
with a name of exactly 63 characters, but after 8725bb1e this sketch will
suddenly becomes invalid becuase the 63 chars name + extension would exceed
the 63 characters limit.

This commit fix this regression.

Fix #5431
2016-10-03 17:00:08 +02:00
Cristian Maglie
bc5c9b8b7e Merge branch 'serialplotter' of https://github.com/xloem/Arduino 2016-10-03 13:39:46 +02:00
Martino Facchin
0a8e7a14f1 Make sure DiscoveryManager is not null when calling it
Solves #5413
2016-10-03 11:07:10 +02:00
xloem
8b5a900ae1 Message parsing logic fix
comparison was invalid if some parts were not parsable numbers
2016-09-30 17:04:01 -04:00
xloem
be01c39c3a Empty graph hack fixes #4722 and fixes #5316 2016-09-30 16:56:57 -04:00
per1234
80f51f4c08 Set default values for Arduino AVR Boards upload.verify and program.verify
Arduino AVR Boards 1.6.11 added the {upload.verify} property to the tools.avrdude.upload recipe and {program.verify} to the tools.avrdude.program recipe to support the File > Preferences > Verify code after upload setting.

In Arduino IDE versions 1.6.8 and previous upload.verify is set to true or false depending on the preferences setting which causes Upload to an AVR board with Arduino IDE 1.6.8 or older and Arduino AVR Boards 1.6.11 or newer to generate AVRDUDE commands like:

avrdude -CC:\Users\per\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/etc/avrdude.conf -v true -patmega328p -carduino -PCOM21 -b115200 -D -Uflash:w:C:\Users\per\AppData\Local\Temp\buildece560c1024a4a94b7c3b05be61aa2fc.tmp/sketch_sep28a.ino.hex:i

program.verify is unset, which causes Upload Using Programmer to an AVR board with Arduino IDE 1.6.8 or older and Arduino AVR Boards 1.6.11 or newer to generate AVRDUDE commands like:

avrdude -CC:\Users\per\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino6/etc/avrdude.conf -v {program.verify} -patmega328p -cusbasp -Pusb -Uflash:w:C:\Users\per\AppData\Local\Temp\build77ff2e21c5523c5895e8d065447461cb.tmp/sketch_sep28a.ino.hex:i

AVRDUDE 6.0.1 is able to ignore the spurious item in the command and successfully upload but when used with AVRDUDE 6.3.0 this causes upload to fail:

avrdude: no programmer has been specified on the command line or the config file
         Specify a programmer using the -c option and try again

This means that Arduino AVR Boards 1.6.12 and 1.6.14 are not backwards compatible with Arduino IDE 1.6.8 and previous.

Setting a default empty value for the upload.verify and program.verify properties in platform.txt causes Arduino IDE 1.6.8 and older to generate an AVRDUDE command identical to that generated with Arduino AVR Boards 1.6.10 or older(meaning that, as previously, the preferences setting has no effect):

avrdude -CC:\Users\per\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/etc/avrdude.conf -v -patmega328p -carduino -PCOM21 -b115200 -D -Uflash:w:C:\Users\per\AppData\Local\Temp\buildece560c1024a4a94b7c3b05be61aa2fc.tmp/sketch_sep28a.ino.hex:i

Arduino IDE 1.6.9 and newer overrides the default values of upload.verify and program.verify, therefore this change has no effect on the AVRDUDE command generated and verification is controlled by the preferences setting as usual.

Tested back to Arduino IDE 1.6.2, the oldest IDE version that supports Boards Manager updates.
2016-09-29 15:42:38 -07:00
Cristian Maglie
ec2e9a642a Added all missing @Override annotations 2016-09-29 20:15:57 +02:00
Cristian Maglie
46dfd7603c Removed warning about accessing a non-accessible member of an enclosing type 2016-09-29 20:15:56 +02:00
Cristian Maglie
bd7e76533a Removed redundant type specifiers for generics 2016-09-29 20:15:56 +02:00
Cristian Maglie
72a1d928b4 Removed useless cast 2016-09-29 20:15:56 +02:00
Cristian Maglie
4d579f7652 Removed extra semicolon 2016-09-29 20:15:56 +02:00
Cristian Maglie
fca863f325 Removed unused variable 2016-09-29 20:15:55 +02:00
Cristian Maglie
3cc9446f04 Removed unused import 2016-09-29 20:15:55 +02:00
Cristian Maglie
53e456936d Silenced lint warnings in ContributedLibrary
Comparing strings with `==` operator triggers a lint4j warning.
This refactoring avoids the use of `thisVersion == otherVersion`.
2016-09-29 20:15:55 +02:00
Cristian Maglie
0def10443f Fixed another error in string comparison 2016-09-29 20:15:55 +02:00
Cristian Maglie
5c097c03c5 Fixed regression: trivial error on String comparison
Fix #5423

The regression has been introduced in:
72f815b Refactor file adding and renaming, and save as handling
2016-09-29 18:21:09 +02:00
Martino Facchin
be9bbc3255 Merge pull request #5407 from pfeerick/patch-1
Minor change to example sketch comment
2016-09-23 15:10:01 +02:00
pfeerick
dc165ce46e Minor change to example comment
Can't be the right word! ;)
2016-09-23 13:11:19 +10:00
Martino Facchin
69fd6debbd Starting version 1.6.13 2016-09-22 12:42:35 +02:00
Martino Facchin
af334d59f1 Fix bundled avrdude urls 2016-09-22 12:40:51 +02:00
Martino Facchin
b4cdb3b362 Fix link for bundled avr core in package_index_bundled 2016-09-21 15:05:17 +02:00
Martino Facchin
d966990b94 Releasing 1.6.12 2016-09-21 12:09:37 +02:00
Cristian Maglie
f73694a0e7 Merge remote-tracking branch 'arduino/1.6.12_rc1' 2016-09-21 12:03:04 +02:00
Cristian Maglie
e100aa8f41 Update Ethernet to 1.1.2 2016-09-21 11:53:39 +02:00
Cristian Maglie
00637906e5 Updated Temboo to 1.1.7 2016-09-21 10:45:01 +02:00