Federico Fissore
24b32422e2
Fixed a bunch of code inspection warnings
2015-03-27 14:51:18 +01:00
Federico Fissore
ed3d467329
DownloadableContributionsDownloader: fixed wrong math when downloading partially downloaded files
2015-03-27 14:51:18 +01:00
Federico Fissore
e646ca2525
ContributionInstaller OS check: MacOSX now uses real arch rather than JVM one
2015-03-27 14:51:18 +01:00
Federico Fissore
a19cdf1492
ArchiveExtractor: allowing symlinks with absolute paths, still printing a warning
2015-03-27 14:51:18 +01:00
Federico Fissore
02b7fa87eb
Leave relative symlinks as they are
2015-03-27 14:51:17 +01:00
Federico Fissore
59b8177916
Separate HTTPS proxy support (server and port)
2015-03-27 14:51:17 +01:00
Federico Fissore
29d20f297c
Fixed missing symlinks after extraction
2015-03-27 14:51:17 +01:00
Federico Fissore
fc4179f1f7
Cores manager:
...
added post install script support
absolute path symlinks are converted to relative to the local folder and a warning is printed
2015-03-27 14:51:16 +01:00
Federico Fissore
6b5244eafe
Some ArchiveExtractor bugs fixed and its code formatted
2015-03-27 14:51:16 +01:00
Federico Fissore
323458c8d8
Added HTTPS proxy properties
2015-03-27 14:51:16 +01:00
Federico Fissore
b32dc93506
Ported UX of library manager to core manager
2015-03-27 14:51:16 +01:00
Federico Fissore
17d3729426
Package names refactoring: contributions is the main package, libs and cores are subpackages
2015-03-27 14:51:16 +01:00
Federico Fissore
fe85083f0b
Setting preferences.txt permissions to 600 on linux and mac
2015-03-27 14:51:16 +01:00
Federico Fissore
4db6c737be
Preferences: added proxy settings
2015-03-27 14:51:16 +01:00
Federico Fissore
103f2e433a
Continuing improving library manager
2015-03-27 14:51:15 +01:00
Federico Fissore
8e5a04f6a9
Various improvements on library manager
2015-03-27 14:51:15 +01:00
Federico Fissore
6d55c6ea03
FileDownloader: made it play nice with 301 status code
2015-03-27 14:51:15 +01:00
Federico Fissore
0489585c3e
Now using semantic versioning
2015-03-27 14:51:14 +01:00
Federico Fissore
251bb76ece
Splashscreen
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
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
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
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
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
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
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