1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Commit Graph

7065 Commits

Author SHA1 Message Date
Martino Facchin
ba121d974c
Merge pull request #8948 from per1234/update-issue-template
Update issue template to reflect change in the GitHub issue creation page
2019-07-18 12:12:31 +02:00
Martino Facchin
5904ddfb81 Add proper checksum for arduinoOTA-1.3.0-linux_arm64 2019-07-18 12:02:37 +02:00
Martino Facchin
324a9bcbbb
Merge pull request #9023 from mattiabertorello/add-file-cache
Add file downloader cache to make faster the library/boards manager
2019-07-18 11:29:09 +02:00
Martino Facchin
9ce5101df1
Merge branch 'master' into add-file-cache 2019-07-18 11:28:46 +02:00
Martino Facchin
ba34eb640e Move ArduinoSerialPlotterProtocol docs in build/shared folder 2019-07-18 10:49:55 +02:00
Wilhelm Wiens
7f1f987cf5 Create ArduinoSerialPlotterProtocol.md 2019-07-18 10:45:02 +02:00
Wilhelm Wiens
c217429c0a Serialplotter protocol documentation 2019-07-18 10:45:02 +02:00
Wilhelm
f70dd8330f Added labels to legend 2019-07-18 10:45:02 +02:00
Pieter12345
9aea65bee6 Use user-defined tab settings in new sketch generation
When creating a new sketch, it is initialized with the BareMinimum example sketch. This example sketch uses 2-width whitespace indentation, which might differ from the user-defined tab settings. This commit makes the generated example sketch consistent with the user-defined tab settings.
2019-07-18 10:40:19 +02:00
Cristian Maglie
3438b86699 Some small makeup
- use diamond notation <> to remove redundant type specification
- do no cache listeners, because it makes the code heavier for a
a very small gain in memory usage.
- removed redundant "this" keywords
2019-07-18 10:38:37 +02:00
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