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

7195 Commits

Author SHA1 Message Date
Mattia Bertorello
df5a52407e Add PREF_CONTRIBUTIONS_TRUST_ALL and download the signature in any case 2019-08-20 17:06:36 +02:00
Martino Facchin
c3fdb10244
Merge pull request #9145 from joew46167/master
Add in accessibility support for screen readers in board and library managers
2019-08-19 11:16:06 +02:00
Joe Wegner
6bcd0529c1 Add in accessibility support for screen readers:
ContributedLibraryTableCellJPanel.java: Add description to accessibility context
   ContributedPlatformTableCellJPanel.java: Add description to accessibility context

   ProgressJProgressBar.java:
      Add status to accessibility context
      make progress bar focusable so screen reader can access
2019-08-15 07:14:08 -04:00
Martino Facchin
452ac63200 Refresh lineStatus when tab gets focus
Fixes #9138
2019-08-12 10:07:41 +02:00
Kyle Lobo
19c3def582 Update CONTRIBUTING.md
Co-Authored-By: per1234 <accounts@perglass.com>
2019-08-02 11:53:03 +02:00
Kyle Lobo
0f5b1467e7 Update CONTRIBUTING.md
Co-Authored-By: per1234 <accounts@perglass.com>
2019-08-02 11:53:03 +02:00
Kyle Lobo
5857c333e0 Fix grammatical errors
1. _The_ demonstration code should be complete
2. Search the issues to see if there has been _a_ discussion
3. Each commit should result in _a_ fully functional code
4. one commit per file modified is not _a_ good practice
5. Separate title from _the_ body with a blank line
6. Include _a_ rationale for the change
7. adding unnecessary extra commits to the pull request _,_ you can squash
2019-08-02 11:53:03 +02:00
Cristian Maglie
da6c73102f fixed comment 2019-08-02 11:52:15 +02:00
Mattia Bertorello
01d3d02a0f Use the BoardCloudResolver instead of the Platform class to get cloud vid pid 2019-08-02 11:48:07 +02:00
Mattia Bertorello
bcb8e90534 Remove getBoardWithMatchingVidPidFromCloud and make a new class BoardCloudResolver 2019-08-02 11:48:07 +02:00
Mattia Bertorello
824567d763 Change variable name where store log directory to "log4j.dir" 2019-08-02 11:48:07 +02:00
Mattia Bertorello
a80fd4af06 Add line number to the logs (%L)
https://logging.apache.org/log4j/2.x/manual/layouts.html
2019-08-02 11:48:07 +02:00
Martino Facchin
adabb08390 NetworkUpload. use ipAddress to start jSch session
Fixes #9097
2019-07-30 10:26:03 +02:00
Mattia Bertorello
f0722843f6 Add logging 2019-07-23 09:49:55 +02:00
Mattia Bertorello
dd1d713d19 Fix condition when the file is not expire but the lastETag is changed 2019-07-23 09:49:55 +02:00
Martino Facchin
b2235c3a4a Avoid NPE and spurious unlock if serial monitor is clicked at upload warmup 2019-07-22 14:50:10 +02:00
Martino Facchin
13b74f5ccb Avoid reopening the serial monitor during upload
avoidMultipleOperations becomes false with a 10 seconds timeout after pressing the compile button.

The new code introduced by 99f6043ced didn't take this into account, so the port was being reopened before staring the actual upload.

Also, make uploading variable static to avoid preferences confusion (this should be solved in a saner way giving every Editor instance its own set of properties, but it will hopefully fixes by the cli integration and workspace concept)
2019-07-19 12:23:31 +02:00
Cristian Maglie
e659825058 Fixed test UpdateTextAreaActionTest 2019-07-18 14:25:24 +02:00
Cristian Maglie
dcee1846bd Updated eclipse classpath 2019-07-18 14:24:59 +02:00
Martino Facchin
b7a6d93d0a Fix SerialMonitor reopen on reconnect 2019-07-18 13:50:03 +02:00
Alogitt
9a63965904 Added comment to address A-Style Autoformatter (#7550)
* Added comment to address A-Style Autoformatter

* Update preferences.txt
2019-07-18 12:47:05 +02:00
Mattia Bertorello
a492c1ac44 Fix test about the contributions downloader 2019-07-18 12:26:55 +02:00
Pieter12345
1d21f0cca3 CommandHistory optimization
- Use LinkedList with ListIterator to make all methods except for `clear()` run in `O(1)` (constant runtime) instead of `O(n)` (linear runtime).
- No longer store executed commands that are executed multiple times (executing {1, 1, 1, 1, 2} now only adds {1, 2} to the history).
2019-07-18 12:22:08 +02:00
Pieter12345
f5b383113f Add serial monitor command history
The behavior is as follows:
- Pressing the UP key will select older commands.
- Pressing the DOWN key will select newer commands, restoring the last unexecuted command if available.
- Pressing the ESC key will reset the input field to the latest unexecuted command and reset the traversal location. Pressing ESC while the latest unexecuted command is selected will clear the input field.

This fixes #4891, with the difference that the proposed solution has a command history per Arduino session and this implementation has a command history per serial monitor start.
2019-07-18 12:22:08 +02:00
Huang Rui
c88ff311f1 Support .tar.xz for ArchiveExtractor
Now ```tar.xz``` format is widely used, and the official arduino
IDE download URL also shows that arduino uses ```tar.xz``` format.
(https://downloads.arduino.cc/arduino-1.8.9-linux64.tar.xz).

As we all know, the tar.xz format has the optimal size compared to tar,
tar.gz, tar.bz2, and zip.
(https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-comparison/)

Therefore, it is very unreasonable not to support tar.xz.

Supporting this format can save almost half of the bandwidth resources
and download time when compressing the gcc toolchain,
making users more comfortable.

Signed-off-by: Huang Rui <vowstar@gmail.com>
2019-07-18 12:16:27 +02:00
Tomáš Roj
4e26d85230 Rename PULL_REQUEST_TEMPLATE_md to PULL_REQUEST_TEMPLATE.md 2019-07-18 12:13:59 +02:00
per1234
3ce17536d7 Update PULL_REQUEST_TEMPLATE_md
Co-Authored-By: TomasRoj <42382743+TomasRoj@users.noreply.github.com>
2019-07-18 12:13:59 +02:00
Tomáš Roj
9dc62f9b6f Delete issue_template.md 2019-07-18 12:13:59 +02:00
Tomáš Roj
a448533537 Create issue_template.md 2019-07-18 12:13:59 +02:00
Tomáš Roj
fd2d08c665 Create PULL_REQUEST_TEMPLATE_md 2019-07-18 12:13:59 +02:00
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