1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-12 23:08:52 +01:00
Commit Graph

89 Commits

Author SHA1 Message Date
Federico Fissore
3a916633b1 https links were not working properly on mac and win 2015-04-02 09:51:26 +02:00
Federico Fissore
f76d1d5678 Merge pull request #2850 from PaulStoffregen/duplicate-library-detect
Advise of duplicate libraries after compiling
2015-04-01 09:31:10 +02:00
Federico Fissore
5dd49352df Don't add keys (and display a warning) if the missing key doesn't make sense in target platform.txt. For a key to make sense, two tree level must be present already, eg: tools.avrdude 2015-04-01 09:03:17 +02:00
Federico Fissore
6e9d0e5f99 Ignoring rewrite rules if rewriting=disabled is present in target platform.txt 2015-04-01 09:01:31 +02:00
Federico Fissore
29cb42eb50 Bundled core is again inside the hardware folder.
Fixed a handful of glitches when dealing with multiple installed cores
2015-03-31 17:42:41 +02:00
PaulStoffregen
b5367bcdbe Advise of duplicate libraries after compiling 2015-03-30 10:24:18 -07:00
Federico Fissore
1fcd6ff1ce ArchiveExtractor was not making symlinks the right way 2015-03-30 17:12:38 +02:00
Federico Fissore
ecde17b6e2 Platform.txt in-memory rewrite rules: whenever loaded, if a property is set to a value known to be wrong/old, that property is replaced with the current/right value.
This happens in-memory, no platform.txt file were harmed during rewriting
Mitigate #2838
2015-03-30 16:18:08 +02:00
Federico Fissore
ea5155656a Starting 1.6.3
Updated toolchains: linux statically compiled, added gcc lto plugin (disabled)
2015-03-30 15:06:59 +02:00
Federico Fissore
fe739de2ad Getting rid of other unused jna stuff 2015-03-30 13:55:48 +02:00
Federico Fissore
b65b576eb0 Getting rid of native stuff. Avoid native stuff: it will break. Fixes #2828, #2829, #2830 2015-03-30 10:46:37 +02:00
Federico Fissore
3bcbf22a2a Libraries under "contributed" in lib menu are those that have types "contributed" 2015-03-27 14:51:20 +01:00
Federico Fissore
6e498ee5b9 LibraryManager: better type filtering 2015-03-27 14:51:19 +01:00
Federico Fissore
74a8ccdeb4 Introducing bundled_library_index.json 2015-03-27 14:51:19 +01:00
Federico Fissore
a1d99b9a9b LibraryManager: category is now topic, type added to list official/contributed/recommended libs 2015-03-27 14:51:19 +01:00
Federico Fissore
b0a357f5d3 Library Manager: added Type filter dropdown 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
Federico Fissore
24b32422e2 Fixed a bunch of code inspection warnings 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
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
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
251bb76ece Splashscreen 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
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
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
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
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
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
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
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
Federico Fissore
bf0a0dc566 MacOSX: disabling loading of Quaqua LaF 2015-03-26 12:07:51 +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
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
ad72e41aa0 Introducing CollectStdOut and CollectStdOutStderrExecutor, handy classes for executing external execs and collecting their outputs 2015-03-19 10:17:10 +01:00
Martino Facchin
2222e0f2cd Merge pull request #2709 from projectgus/master
Fix auto-reset on Leonardo-derived boards from Linux hosts
2015-03-16 15:29:47 +01:00
Richard Wackerbarth
0644bdc51c Convert to action pattern to allow multiple actions 2015-03-11 10:28:32 -05:00
Richard Wackerbarth
2f65f5fdc1 Provide Hooks before and after the build process
Closes #2732
2015-03-11 10:28:32 -05:00
Richard Wackerbarth
498d615fb8 Additional context for build hooks 2015-03-11 10:28:31 -05:00
Federico Fissore
c46e667e7a Started working on 1.6.2 2015-03-11 11:42:55 +01:00