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

4341 Commits

Author SHA1 Message Date
Cristian Maglie
1f564d6709 Cores Installer UI refactor (WIP) 2015-03-27 14:51:12 +01:00
Federico Fissore
56b9fd7d93 LibraryIndex: removed cateogories field, generating it every time
LibrariesIndexer: setting category to Uncategorized when missing
2015-03-27 14:51:11 +01:00
Federico Fissore
86f84c8a3e Changed package_index and library_index json urls to use download.php proxy
Installed a ESC key listener: it allows to close the dialog pressing the ESC key
2015-03-27 14:51:11 +01:00
Federico Fissore
589f514a47 ContributedPlatform.getResolvedTools returns a copy of the original list (otherwise violating inner state) 2015-03-27 14:51:11 +01:00
Federico Fissore
6007403834 Removed some printStackTrace in favour of throwing RuntimeExceptions. DefaultUncoughtExceptionHandler will handle them 2015-03-27 14:51:11 +01:00
Federico Fissore
fe6718ce4f Removing previously installed platform on upgrade 2015-03-27 14:51:11 +01:00
Cristian Maglie
b1e0249a4f Tools path are now always available through preferences
The preference key is:
{runtime.tools.TOOLNAME.path}
{runtime.tools.TOOLNAME-VERSION.path}

For example the tool "avrdude" is now available through

{runtime.tools.avrdude.path}

or if a specific version is needed:

{runtime.tools.avrdude-5.11.path}
2015-03-27 14:51:11 +01:00
Cristian Maglie
2c941d424e Factored installer GUI code 2015-03-27 14:51:11 +01:00
Cristian Maglie
dece2b4751 Update eclipse java-formatter settings 2015-03-27 14:51:11 +01:00
Cristian Maglie
14a3dde7ce IDE build.xml doesn't build hardware folder anymore.
Platforms are downloaded through "Boards installer"
2015-03-27 14:51:11 +01:00
Cristian Maglie
12a2d872d6 Added empty library_index.json if default is not available. 2015-03-27 14:51:10 +01:00
Cristian Maglie
98fec7222b Use Downloader* helper classes on ContributionInstaller.
This rationalize and simplify a lot of code.
2015-03-27 14:51:10 +01:00
Cristian Maglie
0755c7c004 Library installer UI 2015-03-27 14:51:10 +01:00
Cristian Maglie
0b9223c158 Added Contributions for libraries 2015-03-27 14:51:10 +01:00
Cristian Maglie
75d1cb874d Available boards are updated right after closing "Boards Installer"
Boards menu list has been moved into Base class where it looks a more
appropriate place to reduce interactions between Editor class and Base
class.

Probably shared menus can be moved in a separate, specific, class.
2015-03-27 14:51:10 +01:00
Cristian Maglie
0783f40ba5 Added VersionComparator to be used for comparing versions numbers (WIP) 2015-03-27 14:51:10 +01:00
Cristian Maglie
1aab726750 Fixed glitch in "Boards Installer" GUI 2015-03-27 14:51:10 +01:00
Cristian Maglie
fe2d087ebd Implemented "Update List" button of Boards Installer. 2015-03-27 14:51:10 +01:00
Cristian Maglie
5d1e4e3f70 Inverted MVC logic on installer to get a cleaner code.
Part of the control logic was moved from listeners to GUI class methods.
This goes against a pure MVC but makes the code much more cleaner.
2015-03-27 14:51:10 +01:00
Cristian Maglie
cf058c37ba Categories and filter search on installer 2015-03-27 14:51:10 +01:00
Cristian Maglie
353a35942c Another installer GUI improvement. 2015-03-27 14:51:10 +01:00
Cristian Maglie
56ae061d7e Improved platforms installer GUI. Platforms are now downloaded from network. 2015-03-27 14:51:09 +01:00
Cristian Maglie
b249be46c7 Added FileDownloader 2015-03-27 14:51:09 +01:00
Cristian Maglie
915c9d6f8f Introducing 'Progress' interface. 2015-03-27 14:51:09 +01:00
Cristian Maglie
2a8c742453 Added Contribution installer, install and remove correctly.
Tested on linux
2015-03-27 14:51:09 +01:00
Cristian Maglie
373a625903 GUI for platform installer, first draft 2015-03-27 14:51:09 +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
8c49ee4206 Added class ArchiveExtractor 2015-03-27 14:51:09 +01:00
Cristian Maglie
7d5d7a8b31 Added FileNativeUtils class (for Linux, Windows and Mac)
Provides the following native methods:
- chmod
- link
- symlink
2015-03-27 14:51:09 +01:00
Cristian Maglie
38aefb2ab4 Added FileHash utility class 2015-03-27 14:51:09 +01:00
Cristian Maglie
0588790f5b Added JARs Bouncy Castle, Jackson, Common-compress 2015-03-27 14:51:08 +01:00
Cristian Maglie
48ad7ed769 Added FileUtils.createTempFolderIn(folder) method 2015-03-27 14:51:08 +01:00
Federico Fissore
a8b29d48a5 MacOSX: it looks like filtering cu* ports was not a good choice. Filtering tty* instead 2015-03-27 14:46:30 +01:00
Martino Facchin
ae8549cfcb update revisions.txt and fix comments in Esplora library 2015-03-26 17:23:00 +01:00
Federico Fissore
155abfe280 MacOSX: Fest is not working well with java7+, needs a cheat 2015-03-26 15:16:44 +01:00
Federico Fissore
bf0a0dc566 MacOSX: disabling loading of Quaqua LaF 2015-03-26 12:07:51 +01:00
Federico Fissore
aac484e364 MacOSX: working directory for tests is changed 2015-03-26 09:59:40 +01:00
Federico Fissore
f261f35907 Forgot to update build_pull_request.bash with the bundled MacOSX jvm 2015-03-25 11:15:15 +01:00
Federico Fissore
b48e07c8c3 MacOSX: switching to bundled JVM (1.8), deprecating java 6 2015-03-25 11:08:05 +01:00
Federico Fissore
f183966296 Added GTKLookAndFeelFixer, courtesy Klaus Reimer
https://www.ailis.de/~k/archives/67-Workaround-for-borderless-Java-Swing-menus-on-Linux.html
It makes menu separators visible on linux with the GTK look and feel
2015-03-25 10:16:07 +01:00
Federico Fissore
36079efccb Added missing license headers 2015-03-25 10:13:42 +01:00
Martino Facchin
ab5aea40a6 Stream: set findMulti function as protected
let's not expose it until the API is not accepted
widely by the dev mailing list
2015-03-24 17:13:14 +01:00
Federico Fissore
41d5cad91e MacOSX: appbundler is now the upstream one, not our fork 2015-03-24 16:45:25 +01:00
Martino Facchin
c25dc61bd6 Merge pull request #2814 from facchinm/test_pr2696
Fix findUntil in Stream library
2015-03-24 15:24:42 +00:00
Martino Facchin
948bf209fa Merge branch 'master' of https://github.com/arduino/Arduino 2015-03-24 14:56:39 +01:00
Martino Facchin
9141edcf5b update revisions.txt 2015-03-24 14:56:13 +01:00
Federico Fissore
6fa73cfc7d Update revisions.txt 2015-03-24 14:39:37 +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
Jim Leonard (Xuth)
f43a7a698e Fix findUntil in Stream library
PR #2696 without timeout-related changes
2015-03-24 12:31:50 +01:00