Federico Fissore
2aec5ed4fb
Fixed copyright header
2015-03-27 14:51:13 +01:00
Federico Fissore
64e6edde96
Added HostDependentDownloadableContributionTest
2015-03-27 14:51:13 +01:00
Federico Fissore
e5e5880a15
HostDependentDownloadableContribution better handles Macosx
2015-03-27 14:51:13 +01:00
Federico Fissore
a98240bc58
Fixed error when building light bundle
2015-03-27 14:51:13 +01:00
Federico Fissore
9f68d4df74
First round of UX feedback
2015-03-27 14:51:13 +01:00
Federico Fissore
d050c4ee4a
AVR bundle: by default the IDE is built bundled with the avr toolchain and cores
...
By passing -Dlight_bundle=1 to ant, an light/empty IDE is built
2015-03-27 14:51:13 +01:00
Federico Fissore
562c566618
Changed labels
2015-03-27 14:51:13 +01:00
Federico Fissore
0435a80f6d
Error messages printed in the installer dialog, also get printed in the lower black area
2015-03-27 14:51:12 +01:00
Federico Fissore
3be821dfcf
avr platform: fixed avrdude path
2015-03-27 14:51:12 +01:00
Federico Fissore
7d6729ab93
Fixed platforms(.txt)
2015-03-27 14:51:12 +01:00
Federico Fissore
5989bb400d
When the cores or libraries list are empty, they get automatically updated
2015-03-27 14:51:12 +01:00
Federico Fissore
357d5954c3
Error message is printed at the bottom of the dialog
2015-03-27 14:51:12 +01:00
Cristian Maglie
6f5f9bedb4
Library Installer: Allows libraries to be updated
2015-03-27 14:51:12 +01:00
Cristian Maglie
2c234a09f1
Libraries Installer UI refactor
2015-03-27 14:51:12 +01:00
Federico Fissore
f833ff84a7
Base and BaseNoGui: removed uncaught exception handler
...
ContributionManagerUI: after install/upgrade/remove, cell updated and not in edit mode
2015-03-27 14:51:12 +01:00
Federico Fissore
33457adafe
Restored Add .ZIP Library... menu
...
Fixed missing platform name label when using custom platforms
2015-03-27 14:51:12 +01:00
Federico Fissore
cb6514e4bb
Added InstallerTableCell.setJTextPaneDimensionToFitContainedText
2015-03-27 14:51:12 +01:00
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