Commit Graph

412 Commits

Author SHA1 Message Date
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
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 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
Federico Fissore 13d8fa4dd0 Fixed typo 2015-11-18 09:49:46 +01:00
Federico Fissore 73e857fda9 Removed some warnings which are emitted from arduino-builder at compile time
Fixes #4177
2015-11-18 09:40:04 +01:00
Federico Fissore 1328f3a9e2 Library and Boards Managers were using old copies of library/boards indeces. thus making the UI show old data. Fixes #4139 #3904 #3795 2015-11-17 12:24:28 +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 2e80ee5bbd Testing translation for proper formatting. This test will fail when a
translation uses wrong syntax, thus avoiding any future issue similar to #4095
2015-11-06 17:24:26 +01:00
Federico Fissore fd8cb4649b Updating translations 2015-11-06 16:11:18 +01:00
Federico Fissore eb732def4f Updating version in BaseNoGui 2015-11-04 15:24:54 +01:00
Federico Fissore 20dad1eed6 Updating translations 2015-11-02 13:09:55 +01: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