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

7115 Commits

Author SHA1 Message Date
Cristian Maglie
6179b15449 Force python2 when running Transifex updates 2019-09-13 12:13:04 +02:00
Martino Facchin
fcafc8719a Fix macOS signed package generation 2019-09-11 16:42:41 +02:00
jenkins
0c0dfa00ad update arduino-builder to 1.4.7 2019-09-10 14:59:37 +02:00
jenkins
e5252adfc0 update arduino-builder to 1.4.6 2019-08-27 16:52:37 +02:00
Martino Facchin
930ec16321
Merge pull request #9168 from joew46167/scrollMenu
Tools Boards menu scroll updates for accessibility
2019-08-26 14:09:09 +02:00
Joe Wegner
b9c3f008b0 When deleting set modal to false so editor can resume 2019-08-26 10:47:48 +02:00
Joe Wegner
2a53cba139 Clean up code 2019-08-23 12:28:11 -04:00
Joe Wegner
a908b7b0d9 A way to make the scrolling menu on Tools | Boards menu more accessible friendly - but it's ugly 2019-08-23 10:26:24 -04:00
Martino Facchin
aaef9221a2
Merge pull request #9164 from joew46167/buttonsInManagers
Add Buttons in Library and Boards managers
2019-08-22 09:51:40 +02:00
Joe Wegner
1b515b1767 [Board/Lib manager] When the ide.accessible setting is enabled use buttons instead of links 2019-08-22 09:49:19 +02:00
Joe Wegner
199a943177 Set accessibility description of filter field so screenreaders can tell users where they are 2019-08-22 09:49:19 +02:00
Martino Facchin
a7400216ee Fix UpdateNotification string for boards+libraries 2019-08-21 12:32:27 +02:00
Martino Facchin
140f8e345c
Merge pull request #9158 from joew46167/master
Make update boards and libraries startup dialog accessible -
2019-08-21 10:32:33 +02:00
Joe Wegner
710667d15b Remove duplicate code in Preferences 2019-08-21 10:26:53 +02:00
Joe Wegner
2b4c4b57d8 Make UpdateNotification popup accessible
When accessible use buttons instead of links in in Updates Available dialog
Handle buttons and prevent auto-close for accessible dialog box
2019-08-21 10:25:23 +02:00
Joe Wegner
88bda6eb4e Add Accessibility checkbox on Preferences panel 2019-08-21 10:25:01 +02:00
Cristian Maglie
5bb9f87fae Do not fail abruptly if signature verification fails
If the package_index.json signature is not valid, a dialog box asking
the user to "update" the index is shown. Previously a java-exception
was printed if running from terminal or the IDE would not start at
all (with no apparent reason) if lanched from GUI.
2019-08-20 18:01:58 +02:00
Cristian Maglie
842c35be3e Added warning about forcing untrusted contributions 2019-08-20 17:06:36 +02:00
Mattia Bertorello
94dd695355 Add areInsecurePackagesAllowed method 2019-08-20 17:06:36 +02:00
Mattia Bertorello
76852465d2 Add the copy the sig to the destination file when the skip verification is true 2019-08-20 17:06:36 +02:00
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