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
Mattia Bertorello
d3e712232b
Convert CircularRedirectException in IOException
2019-06-28 17:52:31 +02:00
Mattia Bertorello
e6f09123bc
Remove notNull annotation that failed the build
2019-06-28 17:49:05 +02:00
Mattia Bertorello
d089323342
Fix possible empty files during the download of the package index
2019-06-28 17:44:17 +02:00
Mattia Bertorello
8ca093b945
Add slf4j, optimize some code and fix reported lint problem
2019-06-28 13:02:50 +02:00
Mattia Bertorello
6592c42dcf
Add the file downloader cache to make faster the library/boards manager
2019-06-28 09:02:21 +02:00
Martino Facchin
3af92cdfc8
Update signatures for avrdude-6.3-arduino17
2019-06-19 17:09:31 +02:00
Martino Facchin
b12ae2059e
Mass update bundled resources
...
This PR contains:
- avr-gcc 7.3.0 (should fix OSX 10.15 complaining about 32bit apps)
- new avrdude (arduino17) (should close A LOT of open bugs)
- WiFi101-Updater 0.10.9 - with new Nina FW
2019-06-16 14:03:57 +02:00
Martino Facchin
f1c2fb21c0
Update to arduino-builder 1.4.5
2019-06-16 14:03:57 +02:00
per1234
d70a25c7f8
Update issue template to reflect change in GitHub's new issue page
...
At the time the original issue template was created, GitHub always displayed a reminder to read CONTRIBUTING.md with a link above the new issue creation field. Unfortunately, this has since been changed so that a reminder is now shown on the right side of the field only for new contributors or if CONTRIBUTING.md has changed since the user's last contribution, and a less prominent link to the right otherwise.
2019-06-06 00:05:17 -07:00
Martino Facchin
00a7546fb4
Merge pull request #8857 from facchinm/allow_no_hw_folder
...
Fix NPEs if no hardware core is installed
2019-05-21 09:29:17 +02:00