Commit Graph

329 Commits

Author SHA1 Message Date
Federico Fissore 5b84aef301 Build path is now a function of sketch path. This allows to recycle previously
compiled files even when working with different sketches at the same time. In
such cases, recompiling is way faster
2015-09-18 10:47:23 +02:00
Federico Fissore 682a5ec331 Faster recompilation of unsaved sketches 2015-09-16 14:51:37 +02:00
Federico Fissore f906d45de0 Better to separate arguments only when specifying paths, otherwise we can't specify empty args like "-warnings=" 2015-09-16 11:30:48 +02:00
Federico Fissore 6847c52428 arduino-builder arguments must be passed in separate cmd.addArgument calls, otherwise special chars will break it. Fixes #3798 2015-09-16 10:45:52 +02:00
Federico Fissore e5ddd0be3b New compiler 2015-09-14 15:21:15 +02:00
Federico Fissore dedbb2cc6e Update translations 2015-09-14 09:13:08 +02:00
Federico Fissore 57bff44d0a Boards Manager: if a tool is not resolvable, print a warning and DON'T add a null ref 2015-09-11 14:02:32 +02:00
Federico Fissore 43d855c28b Proxy selection was using old logic when url resulted in 302 2015-09-09 11:21:22 +02:00
Federico Fissore a4a7e3ec96 Libraries in unknown categories get set as Uncategorized. Fixes #3732 2015-09-08 15:30:34 +02:00
Sandeep Mistry 7fa355a702 Call on onBoardOrPortChange after selectBoard in no GUI mode
Like GUI mode does when a board is changed.
2015-09-01 18:08:12 -04:00
Federico Fissore d6ea1c05a6 Cleanup 2015-08-31 08:45:58 +02:00
Federico Fissore f2427b47f0 LoadVIDPIDSpecificPreferences was giving for granted that the attached board provided VID & PID. This is not always true, especially with counterfeits. Fixes #3738 2015-08-28 09:01:47 +02:00
Federico Fissore f605d1d99b Added support to VID+PID specific build properties 2015-08-27 10:40:02 +02:00
Federico Fissore d9bb8965eb Update translations 2015-08-25 16:00:49 +02:00
Federico Fissore 47451c0f82 Update translations 2015-08-24 16:42:13 +02:00
Federico Fissore 6b9048751e Proxy PAC support: SubnetUtils is not IPv6 aware, using CIDRUtils to check if IP is in range 2015-08-21 10:38:42 +02:00
Federico Fissore 5e518b9929 Added missing license headers 2015-08-21 08:41:50 +02:00
Federico Fissore 17032ec543 Added proxy PAC file support functions 2015-08-21 08:41:50 +02:00
Federico Fissore 0c7e0d6bb4 CustomProxySelector: auto proxy (PAC) needs login info too 2015-08-21 08:41:50 +02:00
Federico Fissore 916de939e6 Using new CustomProxySelector in FileDownloader 2015-08-21 08:41:50 +02:00
Federico Fissore 708da3bd86 Introducing CustomProxySelector 2015-08-21 08:41:50 +02:00
Federico Fissore e45f07d507 Added missing license headers 2015-08-13 11:33:35 +02:00
Federico Fissore bd93add964 Update translations 2015-08-07 17:30:12 +02:00
Federico Fissore ae857efa78 Updating translations 2015-08-06 14:27:57 +02:00
Federico Fissore 64bf90fec4 Translations: fixed a nasty bug that prevented new translations to be included 2015-08-06 13:19:08 +02:00
Federico Fissore 2daf330c09 LibraryInstaller and ContributionInstaller are now singletons: members of Base, they get passed to dependents, thus allowing a synchronized method execution, needed to avoid race conditions when accessing files 2015-08-06 10:27:51 +02:00
Federico Fissore dc93bb93d0 ProgressListener is now a method arg (was an instance arg) 2015-08-06 10:27:51 +02:00
Federico Fissore b3baa27435 ContributionInstaller.onProgress is now a collaborator: ProgressListener 2015-08-06 10:27:51 +02:00
Federico Fissore c61c39f5d9 Canceling self check timer when opening boards/libs manager 2015-08-06 10:27:51 +02:00
Federico Fissore f9612bcdbd Updatable boards support and libraries notification 2015-08-06 10:27:51 +02:00
Federico Fissore 59dfede5ac Libraries with a .development file in their root are flagged as "OnDevelopment".
This allows users to edit and save those libraries examples: they won't be flagged as read-only any more
2015-08-05 16:26:21 +02:00
Federico Fissore 52fd3845ca Working on how sketches are marked readonly.
Initial refactorings: stopped using static members (static is evil)
2015-08-05 16:01:10 +02:00
Federico Fissore cb292d6114 Got rid of Guava lib: java 8 has its features builtin 2015-08-05 12:09:24 +02:00
Federico Fissore 50cacc1756 Got rid of Java 8 warnings about _ as a method name 2015-08-05 09:12:40 +02:00
Federico Fissore 5dd73a1828 Updating translations 2015-08-05 09:07:59 +02:00
Federico Fissore ce595ce818 Updating translations 2015-07-10 12:31:43 +02:00
Federico Fissore 5d388e1646 Cleanup and java8 goodness 2015-07-09 15:20:38 +02:00
Federico Fissore 43f33d8220 Tools marked as installed but missing (as when you want to use a system installed avr-gcc) sets to "" the final build preference. Fixes #3074 2015-07-09 15:16:19 +02:00
Federico Fissore 444babdcb8 Merge pull request #3483 from sandeepmistry/issue-2911
Hide stack trace when the SerialUploader cannot find the selected board
2015-07-09 09:25:41 +02:00
Chris--A 7f061ccb0c This adds 'hh' and 'hpp' as valid sketch files.
For completeness a sketch should allow the same extensions as a
library. These missing sketch extensions have already been enabled for
libraries in #3186.
2015-07-09 04:23:33 +10:00
Federico Fissore 0ad73ebed3 Boards manager, nightly core support: missing negation on String.empty() made check report an opposite result 2015-07-08 14:46:48 +02:00
Federico Fissore 03a66b1035 Applying code inspection suggestions 2015-07-08 14:46:44 +02:00
Federico Fissore dae6e4fff7 Dropping Guava predicates in favour of java.util.function.Predicate 2015-07-08 14:20:25 +02:00
Federico Fissore bf3fc880ac Compiler: compiled sketch discovery was missing merged sketch 2015-07-07 17:15:39 +02:00
Sandeep Mistry 40c8c067b6 Hide stack trace when the SerialUploader cannot find the selected board (#2911) 2015-07-04 09:47:46 -04:00
Federico Fissore 14586afcf5 Fixed possible NPE 2015-07-03 18:09:56 +02:00
Federico Fissore 987cad2633 Added core "post install" and "pre uninstall" script support.
If a core has a post/pre install/uninstall script, it will be execute at the appropriate time IF:
1) source (package_*_index) is trusted (GPG signed)
2) or users have explicitly added line "contributions.trust.all=true" to their preferences.txt
Some minor refactor and clean up while I was at it
2015-07-03 16:35:08 +02:00
Federico Fissore d02cdfdb07 If a contribution misses its checksum, consider it a development build: force re-downloading by deleting previously downloaded files and skip checksum verification 2015-07-02 15:04:10 +02:00
Federico Fissore fef4e56044 Tools path unversioned properties are adjusted right before compiling.
This way, when multiple versions of, e.g., bossac are installed and
a platform uses bossac 1.5, core author will be able to specify just
tools.bossac.path={runtime.tools.bossac.path}
and the IDE will set it to right version of bossac
Fixes #3325
2015-07-01 17:11:25 +02:00
Federico Fissore 32cf196271 "Merge sketch with bootloader" and "save hex" should work flawlessly with cores that save binaries in both buildpath/sketch and plain buildpath 2015-07-01 15:23:17 +02:00