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

422 Commits

Author SHA1 Message Date
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
Cristian Maglie
9e5dc5ce3b Merge branch 'renaming' of https://github.com/matthijskooijman/Arduino 2016-01-19 13:53:50 +01:00
Hasso Tepper
d05b375810 Fix some incorrect I18n.format()/tr() usage 2016-01-18 09:47:05 +02:00
Martino Facchin
4fa57be5c7 partly revert commit 3c16ac02 to pass legacy tests
all this code will be replaced/removed as soon as the native library is fully validated
2016-01-07 15:47:04 +01: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
Matthijs Kooijman
9e4243bc7e Add FileUtils.splitFilename()
This allows splitting a filename into a basename and extension.
`FileUtils.hasExtension()` is updated to use it, in favour of the
String.split-based approached it used before.
2016-01-05 14:49:22 +01:00
Cristian Maglie
232f434ca8 Updated translations for translators 2016-01-05 12:54:17 +01:00
Cristian Maglie
37726c6150 Translations update 2016-01-05 12:28:17 +01:00
Cristian Maglie
d1455a070d Added Thai language 2016-01-05 12:25:18 +01:00
Hasso Tepper
7aa384db7c Add necessary spaces 2016-01-04 20:09:29 +02:00
Hasso Tepper
7d7a654bd9 Make "Retired" translatable 2016-01-04 20:09:29 +02: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
Matthijs Kooijman
1029e0b78d Delete temporary sketch copy after build
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.

Previously, this temporary copy was kept around and only deleted when
the IDE was closed. However, all files were written to it again on every
build, so keeping the old files around did not serve any real purpose.

When a file was renamed in the IDE, the original name would still be
present in the temporary copy, and could cause linker errors because
both were compiled.

This commit makes sure the temporary copy is deleted after every build,
instead of at IDE exit, which fixes this problem with renames.

When a file is deleted from the sketch, the file would also be deleted
from the temporary copy, presumably to fix this same problem for
deletes (but renames were forgotten). With this commit, this special
handling for deleting files is no longer needed, so it is removed.

This fixes #4335
2015-12-28 15:19:55 +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
376cb56fc0 Starting version 1.6.8 2015-12-21 12:05:04 +00:00
Martino Facchin
767867bacb Revert "Moved -Dawt.useSystemAAFontSettings=on out of java code, where, apparently,"
Fonts on Windows became ugly, reverting whole the commit since it brings no visible changes to Linux and OSX

This reverts commit 6c5e584454.
2015-12-16 10:02:37 +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
85a79b4a98 Updated translations 2015-12-14 11:19:34 +01:00
Federico Fissore
6c5e584454 Moved -Dawt.useSystemAAFontSettings=on out of java code, where, apparently,
has no effect
2015-12-14 10:03:16 +01:00
Federico Fissore
f702f1a4e7 Updated translations 2015-12-11 17:35:04 +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
5fcf5e3eb7 Updated translations 2015-12-01 12:21:30 +01:00
Federico Fissore
46d1c89073 Windows: even old settings folder may be missing from the registry. Fixes #4124 2015-12-01 11:36:45 +01:00
Federico Fissore
d9f9081f3c Updated translations 2015-11-30 14:02:17 +01:00
Federico Fissore
e224698ecf Files weren't deleted from temp unsaved sketch folder. Fixes #4233 2015-11-30 10:17:29 +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
89a36cad0a Updated translations 2015-11-26 11:38:03 +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
7dd6e8f57d Windows: proper, non blurry, icon displayed. Fixes #3473 2015-11-24 09:53:27 +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
80fec38a25 Updated translations 2015-11-20 09:25:23 +01:00
Federico Fissore
5e585135ce Updated translations 2015-11-19 13:52:30 +01:00
Federico Fissore
1862827c25 Portable folder can now be set to any arbitrary path, not just subfolders
of "portable". Fixes #4103
2015-11-19 13:43:49 +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
20ddeb0fe3 Updated translations 2015-11-18 17:27:51 +01:00
Federico Fissore
b450a2743e Allowing boards/libs types and categories to be translated. Fixes #3646 2015-11-18 17:27:35 +01:00
Federico Fissore
04cfe0c36d Windows: inverted folder entries, as Shell Folders is more reliable (when
present)
2015-11-18 16:00:11 +01:00
Federico Fissore
9729b1b069 Windows: in case Shell Folders entry is missing, attempts to discover Documents folder using User Shell Folders. See #4124 2015-11-18 15:55:26 +01:00