Matthijs Kooijman
3d47995915
Remove unused imports
...
This silences some java warnings.
2016-01-21 17:18:55 +01:00
Matthijs Kooijman
40e9aa17b3
Fix file descriptor leak when downloads are interrupted
...
This fixes a java warning.
2016-01-21 17:15:42 +01:00
Cristian Maglie
6398cde1c8
Added 'arm' architecture support in Boards Manager
...
This is a necessary step to fully support ARM builds of the Arduino IDE
See #3549
2016-01-19 18:05:41 +01:00
Hasso Tepper
d05b375810
Fix some incorrect I18n.format()/tr() usage
2016-01-18 09:47:05 +02:00
Martino Facchin
a1c79ce188
Merge pull request #4211 from facchinm/iserial_field
...
cross-platform jni implementation for serial port details discovery
2016-01-07 12:25:10 +00:00
Martino Facchin
2a677b4bcd
avoid NPE if serial port gets discovered too early
2016-01-07 12:41:56 +01:00
Martino Facchin
7e17b5c318
Move vid/pid resolving to cross platform jni lib
2016-01-07 12:41:51 +01:00
Hasso Tepper
503cbbd745
Use formatted i18n string to ease a translation
2016-01-04 20:09:18 +02:00
Martino Facchin
9d676a71c8
Specify SSH authentication methods
...
Solves upload to particularly configured SSH servers which wrongly chooses Kerberos auth method
2016-01-04 10:58:18 +01:00
Martino Facchin
3c16ac025a
Add iSerial to reported VID_PID string
...
serial.port.iserial holds the iSerial value
2016-01-04 10:58:18 +01:00
Cristian Maglie
cce61f6aad
Remove unnecessary rename in GZippedJsonDownloader
...
See #4361
2015-12-30 10:08:29 +01:00
Cristian Maglie
29912a0ac9
Remove temporary files when updating library_index.json
...
Fix #4272 #4332
2015-12-28 19:17:29 +01:00
Cristian Maglie
7c089c96d3
Fixed NPE in some rare combinations of JSON files
...
The error triggered inside ContributioIndexer.mergeContributions()
while trying to remove a platform:
if (platform != null) {
targetPackage.getPlatforms().remove(platform);
}
remove() method calls ContributedPlatform.equals() to find the
element to remove but since the parentPackage fields are resolved
*after* merging contributions, the equls() method will fail with
a NullPointerException.
2015-12-21 18:15:52 +01:00
Martino Facchin
22a37ea41e
Merge pull request #4107 from me-no-dev/esp8266-ota
...
Enable OTA Update mechanism for any mDNS enabled platform
2015-12-16 09:28:13 +01:00
Federico Fissore
98d5ff79eb
Upgrading arduino-builder to 1.3.7, which changes the way messages are sent
...
back to the IDE. Instead of having just stdour and stderr, stdout only is
used, but each message has a log level: info, warn, debug, error
Plain stdout/stderr are still used by child processes
2015-12-11 14:25:13 +01:00
Federico Fissore
9a39e5e6ac
Some configuration may totally miss network interfaces, even localhost. Fixes #4249
2015-12-04 09:55:32 +01:00
Federico Fissore
1e074cce42
Whoops, a debuggin call to "peek" was committed. Removed.
2015-12-01 15:23:51 +01:00
Federico Fissore
aaebb0a4d6
Stored some regexps in static finals, given names to threads, and slightly
...
optimized ConsoleOutputStream
2015-11-27 15:07:44 +01:00
Federico Fissore
6855e91883
Fixed various Board/Library managers glitches, in particular when removing/upgrading
2015-11-24 16:14:16 +01:00
Federico Fissore
d5a0476948
Installing tools from packager (eg: arduino) in packager folder, thus avoiding
...
tools duplication and disk space wasting. Fixes #4193
2015-11-20 17:15:53 +01:00
Federico Fissore
a1e223ad62
License headers fixes
2015-11-20 15:17:32 +01:00
Federico Fissore
d0d9dfcfa8
If package doesn't have that tool, it probably comes from another package, so we consult the resolvedTools instead
2015-11-20 14:58:54 +01:00
Federico Fissore
907af81ff9
Fixed NPE when "tools" key was missing in package_*_index.json file
2015-11-19 12:41:53 +01:00
Federico Fissore
960918796e
Added support to file:// protocol. Fixes #4098
2015-11-19 12:08:17 +01:00
Federico Fissore
2747fddd10
Windows: when finding default Documents folder, if registry keys are missing,
...
fallback to environment variable. See #4124
2015-11-19 10:09:06 +01:00
Federico Fissore
13d8fa4dd0
Fixed typo
2015-11-18 09:49:46 +01:00
Federico Fissore
0fb04b3180
Updating arduino-builder to 1.2.1
2015-11-16 15:38:21 +01:00
Me No Dev
2b75aec6a6
Enable OTA Update mechanism for any mDNS enabled platform
...
Adds ability to update the firmware of non-SSH boards using TXT
parameters from mDNS
Three new TXT keys are added (defaults are capital):
ssh_upload=YES/no
tcp_check=YES/no
auth_upload=yes/NO
"ssh_upload" controls which Uploader should be used. Defaults to
SSHUploader
"tcp_check" controls wether TCP reachability test should be performed.
Defaults to "yes". Boards that have few TCP ports available, can use
"no" to skip the check and update over UDP (ESP8266 for example).
"auth_upload" controls wether authentication is required (only for
"ssh_upload=no").
One new pattern and two new variables are available.
Var "network.port" resolves to the advertised by mDNS device port.
Var "network.password" resolves to the entered device password if
upload authentication is used, else it's empty string.
Pattern "upload.network_pattern" is usable if the platform is using
different tool/command to do network updates. If not defined,
"upload.pattern" will be used instead.
2015-11-07 20:05:42 +02:00
Federico Fissore
5ceca65fe2
'.ino' extension of sketch file was hardcoded. But IDE supports '.pde' files as well. Fixes #4021
2015-11-02 12:56:04 +01:00
Federico Fissore
df2ae88469
Updating arduino-builder to 1.0.3
2015-10-30 09:11:01 +01:00
Federico Fissore
aaf86b4a50
arduino-builder: sketchbook libraries specified as last param, because they
...
are more important
2015-10-27 15:55:01 +01:00
Federico Fissore
d8d70ee0bd
Windows: ":" is an illegal char for a file name. Fixes #4026
2015-10-26 18:14:05 +01:00
Jesse Vincent
5b64cebdc5
Simplify and clarify new HID error messages.
...
The libraries in question are supported on a number of official Arduino boards. The new error message tries to be a bit more helpful.
2015-10-22 15:27:12 -07:00
Cristian Maglie
38701678b2
Specialized some Iterators with correct inferred type
2015-10-20 18:31:58 +02:00
Cristian Maglie
635de01975
Suppress java 'serial' warning in SignatureVerificationFailedException class
2015-10-20 18:30:27 +02:00
per1234
c1ce649554
Fix typos in ArchiveExtractor.java error messages
2015-10-12 14:34:52 -07:00
Federico Fissore
688c406cb9
Checking every candidate path when exporting, instead of assuming one is good if the other is not. Fixes #3905
2015-10-07 15:40:34 +02:00
Federico Fissore
5c7b8e6587
Don't stop downloading package*index.json files if ONE fails for whatever reason. Fixes #3906
2015-10-07 15:32:34 +02:00
Federico Fissore
aa654ba242
Updating arduino-builder to 1.0.0-beta24
2015-10-06 10:52:02 +02:00
Federico Fissore
f511c2451f
Fallback to stock library_index.json file if the copy in .arduino15 is missing/corrupted or if it the downloaded one if corrupted. Fixes #3778
2015-09-25 12:54:50 +02:00
Federico Fissore
71c81e30a7
Allow highlighting line with error even if gcc reports full path to file
2015-09-24 16:24:48 +02:00
Federico Fissore
fc8f84f06b
Adding .elf extension to compiled sketch list
2015-09-24 15:37:49 +02:00
Federico Fissore
2f586e2a88
Updated translations
2015-09-23 15:38:57 +02:00
Federico Fissore
9421e1ceb5
Updating arduino-builder to 1.0.0-beta12
2015-09-23 14:11:32 +02:00
Federico Fissore
ccb7dd2974
Made an arduino-builder message easier to understand
2015-09-22 15:03:19 +02:00
Federico Fissore
6128dace42
Removed some old code, including PdePreprocessor and OldCompiler
2015-09-21 15:20:31 +02:00
Federico Fissore
8767cd51b4
Returning a copy of installed libraries list, so clients can deal with it without incurring in concurrent list changes. See #3814
2015-09-18 17:03:59 +02:00
Federico Fissore
682a5ec331
Faster recompilation of unsaved sketches
2015-09-16 14:51:37 +02:00
Federico Fissore
f906d45de0
Better to separate arguments only when specifying paths, otherwise we can't specify empty args like "-warnings="
2015-09-16 11:30:48 +02:00
Federico Fissore
6847c52428
arduino-builder arguments must be passed in separate cmd.addArgument calls, otherwise special chars will break it. Fixes #3798
2015-09-16 10:45:52 +02:00