Cristian Maglie
971bd77058
Removed redundant call to File.deleteIfExists()
...
file is already checked for being not null, no need to check again.
2015-05-14 19:36:37 +02:00
Cristian Maglie
956ddda98e
Removed buggy redundant check in FileUtils.deleteIfExists()
...
The documentation for File.delete() says that the method return true
if the the file is successfully deleted, otherwise false is returned.
An exception is thrown only when the file is not accessible (for
permission problem).
Removing the extra check solves another problem, for example in a
folder with the following situation:
linkToFileA -> FileA
FileA
if we remove FileA, we remain with a broken link that can't be removed
using FileUtils.deleteIfExists() because calling File.exists() on a
broken link returns *false*. This commit solve this problem.
2015-05-14 19:18:24 +02:00
Federico Fissore
0c123d7d14
Deleting json files if they are some how corrupted. Fixes #3015
2015-05-04 17:44:16 +02:00
Federico Fissore
cd49d29e52
Lots of unclosed input and output streams now properly closed. They were preventing Boards Manager from working on Windows
2015-05-04 15:44:34 +02:00
Federico Fissore
7552636bd1
File.listFiles() can return null
2015-04-29 11:57:27 +02:00
Federico Fissore
96c4576962
Added --preserve-temp-files command line option
2015-04-15 11:00:01 +02:00
Federico Fissore
61592d78fa
New preference: enable all compiler warnings, off by default. Fixes #1728 and #2415 . Also affects #2634 and #2207
2015-04-10 15:29:15 +02:00
Federico Fissore
87e2e68b85
CLI: Board and Lib Manager, syntax change: --install-boards (plural) and arduino:avr:1.6.2 (with the arch, not the name of the selected platform)
2015-04-09 13:03:43 +02:00
Federico Fissore
09255254d7
Preliminary command line support to boards manager and library manager
2015-04-08 15:15:41 +02:00
Federico Fissore
74a8ccdeb4
Introducing bundled_library_index.json
2015-03-27 14:51:19 +01:00
Federico Fissore
6679393b7a
Assuming the bundled version is an AVR bundle, force unpacking the default package if it's missing
2015-03-27 14:51:19 +01:00
Cristian Maglie
100dd21bd0
Added Contributed Platforms.
...
- TargetPackage / TargetPlatform / TargetBoard are now interfaces
- Contributions installed are detected during init time
- Tools must be referenced through "path" property (automatically set
by the IDE to the contributed tool path)
2015-03-27 14:51:09 +01:00
Cristian Maglie
183c386e8c
PGP Digital signature verifier class
2015-03-27 14:51:09 +01:00
Cristian Maglie
48ad7ed769
Added FileUtils.createTempFolderIn(folder) method
2015-03-27 14:51:08 +01:00
Federico Fissore
70bbe398ab
Network and Serial board ports discovery is now asynchronous, hence it does not block "tools" menu any more.
...
Fixes #2788
2015-03-24 13:41:10 +01:00
Federico Fissore
39d1dfc999
Added warning for uncertified boards
2015-03-10 08:52:41 +01:00
Federico Fissore
aca6c223de
MacOSX: previous better IDE was missing some pieces. Added
2015-03-04 11:23:36 +01:00
Federico Fissore
0990f98b14
InetAddress.isReachable is reported reliable on mac and recent java versions
...
Refactored NetUtils.isReachable to two functions:
isReachableByEcho and isPortOpen
If the first one will fail, the second one will be used
2015-02-19 09:34:32 +01:00
Federico Fissore
3fec636b29
An attempt to improve Yun's discovery. Thanks @roadfun. See #2576
2015-02-19 09:15:23 +01:00
Federico Fissore
e76d413454
When build.core is not defined, fall back to "arduino". Fixes #2635
2015-02-12 17:27:58 +01:00
Cristian Maglie
ec67b0d4be
Optimized FileUtils.recursiveDelete(File) function
2015-01-13 23:16:53 +01:00
Cristian Maglie
ba8eadeeb5
Split IDE into 2 projects.
...
BEWARE: HIGHLY EXPERIMENTAL BRANCH
2014-11-13 16:34:24 +01:00