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

7155 Commits

Author SHA1 Message Date
Cristian Maglie
2f68d2af1b Remove Base dependency from AstractTextMonitor
See https://github.com/arduino/Arduino/pull/8704#issuecomment-477585720
2019-07-18 10:38:37 +02:00
Cristian Maglie
1cacd79689 Make the dialog appear in the correct position 2019-07-18 10:37:36 +02:00
Cristian Maglie
4dc5176c0f Fix some linter suggestions 2019-07-18 10:37:36 +02:00
Cristian Maglie
745cb01ed5 Better names for ContributedLibrary dependencies fields 2019-07-18 10:37:36 +02:00
Cristian Maglie
492553cde0 When resolving dependencies consider installed contributions first
Consider a case where the user decides to install a library `A` that
depends on library `B` and `B` is not up-to-date (i.e. is installed a
version that is not the latest), then the user is asked to "install"
both libraries `A` and `B`, effectively upgrading `B`.

With this change the already installed library `B` is left untouched
and not displayed in the missing dependencies.
2019-07-18 10:37:36 +02:00
Cristian Maglie
ed81292b14 Added library dependencies install dialog 2019-07-18 10:37:36 +02:00
Cristian Maglie
07e1518b28 Now libraries are installed with all the dependencies
This is the base for the GUI that will be introduced in the
next commits.
2019-07-18 10:37:36 +02:00
Cristian Maglie
67e38bc80a LibraryInstaller now autodetects if a library is being replaced
It's no more required to pass this information from outside,
just library that is being installed is now sufficient.
2019-07-18 10:37:36 +02:00
Cristian Maglie
4266b3a700 Lib installer: factored out method to perform lib installation
The new method will be used in next commits to handle installations
of multiple libraries.
This commit fix also minor bug in progress bar.
2019-07-18 10:37:36 +02:00
Cristian Maglie
d6f561bd53 Added library-dependency resolver 2019-07-18 10:37:36 +02:00
Cristian Maglie
1ebdb02954 Added helper methods to compare versions 2019-07-18 10:37:36 +02:00
Cristian Maglie
d72cb2350d Renamed ContributedLibraryReference to ContributedLibraryDependency 2019-07-18 10:37:36 +02:00
Cristian Maglie
894b1abd8a Improved lib equality check 2019-07-18 10:37:36 +02:00
Martino Facchin
2ec8c539b2 Match CustomMenu against unique platform id
platform.getId() gives the same result for derived cores.
Issue #5260 is caused by both cores declaring as `avr`, with the same label but different identifier.
This patch completes the previous one by adding the folder where the core resides to the matching id.
2019-07-18 10:30:40 +02:00
Martino Facchin
2778651eb6 Allow multiple boards to share the same menu
This stuff is truly madness, should be refactored from the ground up by a Java expert
2019-07-18 10:30:40 +02:00
Martino Facchin
06cfbbfa74 Annotate custom menu to avoid name clashing
Fixes #5260
2019-07-18 10:30:40 +02:00
Mattia Bertorello
3c5dbe6f9d
Parse the old library index file also when the signature verify fail 2019-07-18 10:27:20 +02:00
Martino Facchin
ef8d669f6a Don't report an exception if waitForUploadPort fails after successfull upload
Fixes #8851
2019-07-18 10:11:43 +02:00
Martino Facchin
99f6043ced Don't try automatic resume during upload 2019-07-18 10:11:43 +02:00
Martino Facchin
693498fb76 Handle suspend/resume if serial port disappears
Similar to minicom behaviour.
Automatically reopens the port only if it takes the same name (could be improved based on vid/pid)
2019-07-18 10:11:43 +02:00
Martino Facchin
e7d85d8b6d Reopen serial monitor on correct port if changed from menu 2019-07-18 10:11:43 +02:00
Martino Facchin
465c766efb
Merge pull request #8976 from facchinm/64_bit_osx
Mass update bundled resources
2019-07-18 10:00:10 +02:00
Martino Facchin
fb9ce0ade3 Update jssc to arduino4
Repackage jssc-2.8.0-arduino1 and add aarch64 lib instead than plain jssc

Fixes #9062
2019-07-16 11:03:02 +02:00
Mattia Bertorello
636f93058b
Fix linter problems 2019-07-12 15:40:53 +02:00
Mattia Bertorello
4da41f7fa5
Complete disable cache if the file is not a *_indexes 2019-07-12 14:53:03 +02:00
Mattia Bertorello
85e91ef079
Change builder domain with https and add logging 2019-07-12 14:36:15 +02:00
Mattia Bertorello
2d042820a0
Delete cached file if the signature verify fail 2019-07-12 14:36:03 +02:00
Mattia Bertorello
1bfdf83db8
Reduce download method complexity of FileDownloader class. 2019-07-11 16:36:04 +02:00
Mattia Bertorello
a8c7184c11
Do not cache the core or the library because are too big
and will be downloaded only one time
2019-07-11 15:01:41 +02:00
Mattia Bertorello
dde5668b27
Increase the redirect to follow to 20
Add the possibility to configure them `http.max_redirect_number`
2019-07-11 14:36:45 +02:00
Mattia Bertorello
58fc5a5011
Add commons-io dependency and replace the extract file name with FilenameUtils 2019-07-11 14:32:50 +02:00
Mattia Bertorello
4a944df758
Fix portable mode and make the fileCached immutable 2019-07-07 16:39:55 +02:00
Mattia Bertorello
fa77c15e8e
Not delete the file if the signature fail 2019-07-05 17:00:12 +02:00
Mattia Bertorello
183e1c9ff6
Remove empty string from the http.signature_verify_domains preferences 2019-07-05 12:36:18 +02:00
Mattia Bertorello
bd85fdc084
Add log4j.xml configuration 2019-07-05 11:47:36 +02:00
Mattia Bertorello
53695d49d8
Add comments 2019-07-04 18:14:06 +02:00
Mattia Bertorello
ba79e26cbc
Add dependencies for windows build 2019-07-04 15:54:43 +02:00
Mattia Bertorello
412b6d1bf3
Fix download package index from external sources 2019-07-03 18:38:08 +02:00
Mattia Bertorello
9e38c878ec
Add Copyright in the files 2019-07-03 18:08:08 +02:00
Mattia Bertorello
f2a4ea5e15
Code reformat 2019-07-03 18:06:16 +02:00
Mattia Bertorello
1bc994ec86
Use verifyDomain also for the library index 2019-07-03 18:02:49 +02:00
Mattia Bertorello
e1e4fb30b8
Refactoring FileDownloaderCache 2019-07-03 18:02:21 +02:00
Mattia Bertorello
5dba31bfd7
Change key from connection_timeout to connection_timeout_ms preferences 2019-07-03 15:41:29 +02:00
Mattia Bertorello
a7d395f45e
Add cache.json file and improve stability 2019-07-03 15:29:42 +02:00
Mattia Bertorello
00818af181
Refactoring HttpConnectionManger and request-id 2019-07-03 15:27:50 +02:00
Mattia Bertorello
5157688590
Split download and check signature, add check signature to library index 2019-07-03 15:26:57 +02:00
Mattia Bertorello
2596ecee28
Add log4j configuration 2019-07-03 15:25:48 +02:00
Mattia Bertorello
53be417989
Add log4j dependencies 2019-07-02 16:10:12 +02:00
Mattia Bertorello
207128db91
fix the misleading exception throw on windows
- The file will be close before delete it
- Some refactoring of the downloader cache
2019-06-29 18:16:59 +02:00
Mattia Bertorello
934df81b23
Add slf4j option to show the datetime in the logs 2019-06-28 18:22:27 +02:00