1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-21 10:52:14 +01:00

7343 Commits

Author SHA1 Message Date
per1234
ed67cd330a
Merge pull request #11331 from per1234/security-disclosure-policy
Add security policy link to readme
2021-03-09 00:20:05 -08:00
per1234
69cffd3c9c
Add security policy link to readme 2021-03-08 17:51:33 -08:00
Martino Facchin
b3d609f4de Update WiFi Firmware Updater to 0.10.13 2021-01-29 10:55:08 +01:00
Cristian Maglie
4cc99a9506 Update arduino-builder to 1.5.6 2021-01-27 19:20:32 +01:00
Cristian Maglie
06e969e606 update changelog 2021-01-26 11:59:08 +01:00
Cristian Maglie
b2265ce4ed
Merge pull request #11200 from magedrifaat/linestatusbug
Fix status bar custom board preferences disappearing
2021-01-26 11:56:31 +01:00
maged
5e7519473e Fix status bar custom board preferences disappearing 2021-01-24 16:26:17 +02:00
jenkins
f4e8a91f10 update arduino-builder to 1.5.5 2020-12-15 11:01:09 +01:00
Martino Facchin
350e825217
Merge pull request #11028 from n-elia/add-shift-click-to-serial-monitor-button-on-toolbar
Add Shift+click on serial monitor toolbar button to open serial plotter
2020-12-04 17:06:27 +01:00
Nicola Elia
f315208495 Add shift+click to serial monitor button on the toolbar to open serial plotter 2020-12-03 20:09:07 +01:00
Martino Facchin
76dfd0acc2
Merge pull request #10922 from matthijskooijman/fix-no-board-null-pointer
rebuildProgrammerMenu: Handle no current board
2020-12-01 10:06:59 +01:00
Matthijs Kooijman
61e12d582a rebuildProgrammerMenu: Handle no current board
This can happen happen in some unlikely cases (such as when renaming a
platform in a way that breaks the "select a board when none is selected
logic").

Even though a board should always be selected, code should still handle
no selected board gracefully (rather than raising a NullPointerException
like this used to do).

See #10887 for the underlying issue that caused no board to be selected.
2020-11-04 23:28:33 +01:00
Cristian Maglie
a056a5fdc7
Merge pull request #10844 from per1234/fix-build-system
Fix built-in examples update during build
2020-10-09 12:11:56 +02:00
per1234
5bf14b8b7b Fix built-in examples update during build
Previously, the built-in examples assembly step of the build system set the
`final_folder` parameter of the `unzip` target to the true final
installation location of the examples.

The behavior of the `unzip` target is to only unzip the archive if
`final_folder` doesn't exist. Because that folder will exist any time a
previous build has been done and `ant clean` was not run, the archive will
not be unzipped. This causes the build to fail after an update to the
built-in examples version when it attempts to copy the examples from the
version-dependent extraction staging folder to the final location.

The fix is to set the `final_folder` parameter to the version-dependent
staging folder location, which will cause the extraction to happen every
time the examples version is updated, but to be skipped when there was no
update.
2020-10-08 21:57:16 -07:00
Cristian Maglie
7a9234c304
Merge pull request #10734 from per1234/remove-built-in-examples
Move built-in examples to dedicated repository
2020-09-23 10:24:34 +02:00
Cristian Maglie
2fd5944231
Merge pull request #10747 from cmaglie/fix_mac_ssl_errors
Fix increase in ssl error for MacOS users
2020-09-14 15:21:14 +02:00
Cristian Maglie
20761e5bae Update appbundler to 1.0ea-arduino9 2020-09-10 23:40:23 +02:00
per1234
99d3114168 Move built-in examples to dedicated repository
A dedicated repository for the examples will make it easier for them to be built in to arbitrary development tools. It will make it easier to use them for compilation testing of boards platforms. It provides a dedicated location for issue reports and pull requests that are specific to the examples. It continues the work done by moving the AVR and SAM boards platforms and built-in libraries towards making the arduino/Arduino repository solely a place to host the GUI code of the Arduino IDE.
2020-09-07 04:52:40 -07:00
Martino Facchin
5e30bec235 Update WiFi101-Updater-Plugin to 0.10.12 2020-08-17 12:57:46 +02:00
Cristian Maglie
80dc652ceb
Merge pull request #10541 from cmaglie/board-lib-manager-fixes
Fixed Boards and Libraries Manager "filters" persistence
2020-07-23 15:59:55 +02:00
Cristian Maglie
10bee204e6 Lib manager: added getContribModel() as in Boards manager 2020-07-23 12:10:45 +02:00
Cristian Maglie
851b5b14b1 Lib manager GUI is updated after installing/upgrading library 2020-07-23 12:10:45 +02:00
Cristian Maglie
a81772afc6 Boards Manager: update UI after an install/remove 2020-07-23 12:10:45 +02:00
Cristian Maglie
1361bce6bc Board manager: Update filters UI only if categories changes 2020-07-23 12:10:45 +02:00
Cristian Maglie
4c45ea8ecc Fixed NPE in buildProgrammersMenu
Some platforms may not define directly 'build.core' because it may be defined
through a custom menu.

For example, the arduboy platform has in the boards.txt:

   [...]
   menu.core=Core
   [...]
   # core #
   arduboy-homemade.menu.core.arduboy-core=Arduboy optimized core
   arduboy-homemade.menu.core.arduboy-core.build.core=arduboy
   arduboy-homemade.menu.core.arduino-core=Standard Arduino core
   arduboy-homemade.menu.core.arduino-core.build.core=arduino:arduino
   [...]

the build.core is determined only after applying the submenu options.
2020-07-23 11:00:44 +02:00
Cristian Maglie
bf24880d7c Merge branch 'lib_manager_filters_fix' of https://github.com/cmaglie/Arduino (#10440) 2020-07-15 17:23:02 +02:00
Martino Facchin
a0acb3ebcb Update WiFi101-Updater to 0.10.11 2020-07-13 17:19:12 +02:00
Cristian Maglie
b66ed5e5d7 LibraryManager: correctly apply "type" and "category" filters together
Previously changing "Category" would filter libraries by the selected
category but without applying the "Type" previously selected.
For instance selecting Type="Installed" and Category="Communication"
will display *all* the libraries belonging to "communication" instead of
the installed only.

This commit fix this behavior.
2020-06-29 17:27:11 +02:00
Cristian Maglie
3263967893 Removed unused include and clueless whitespaces 2020-06-29 17:13:43 +02:00
Cristian Maglie
42865229c2 Library manager: update filters combo box only if there are changes
The filters content is unlikely to change, so just prevent it from live
updating it because it has some side effects:

- it's slow
- it changes the selection back to the default and it's very tricky to
  make it re-select the previous selection.

Fixes #10439
2020-06-29 16:58:25 +02:00
Cristian Maglie
ea84e7383a Starting Arduino IDE 1.8.14 2020-06-24 12:48:12 +02:00
Cristian Maglie
5adf408270 update changelog 1.8.13 2020-06-16 11:37:49 +02:00
Martino Facchin
7e0df39c99
Merge pull request #10371 from cmaglie/fix_http_accept_header
Fixed invalid http accept header
2020-06-16 11:31:09 +02:00
Cristian Maglie
43da7400e4 Fixed invalid http accept header
This patch overrides the default JDK accept header that happens to be
invalid, as per RFC 7231.

Real issue: https://bugs.openjdk.java.net/browse/JDK-8163921

Fix https://github.com/arduino/Arduino/issues/10264
2020-06-15 18:14:07 +02:00
Cristian Maglie
5693423bfe Updated translations 2020-06-15 17:29:51 +02:00
Cristian Maglie
606a0dd2a1 Updated changelog 2020-06-15 17:26:09 +02:00
Martino Facchin
7451dc8b1f avr 1.8.3: add missing checksum file 2020-06-12 18:18:42 +02:00
Martino Facchin
7ce3ca382b avr 1.8.3: update package_index_bundled.json 2020-06-12 18:15:53 +02:00
jenkins
a262cf7e72 update arduino-builder to 1.5.4 2020-06-12 18:10:08 +02:00
Martino Facchin
54e751b012 Update avr core to 1.8.3 and toolchain to 7.3.0-atmel3.6.1-arduino7 2020-06-12 12:24:53 +02:00
Martino Facchin
02d844d806
Merge pull request #10357 from cmaglie/jre-fix-2
Updated appbundler to 1.0ea-arduino8 (fix crash on Macosx Catalina + multi monitor setup)
2020-06-12 12:16:12 +02:00
Cristian Maglie
38c9ed4ce4 Updated appbundler to 1.0ea-arduino8 2020-06-11 16:22:35 +02:00
Martino Facchin
bd0e74345a Update jmdns to 3.5.5 2020-06-03 10:21:06 +02:00
Ricardo JL Rufino
b914070c90 Avoid usueless double calls to rescanLibraries()
Previously rescanLibraries() was automatically called internally in
setLibrariesFolder(). This lead to double calls to rescanLibraries()
when setLibrariesFolder() was used in combination with an explicit
call to rescanLibraries().

This commit adds a new method setLibrariesFoldersAndRescan(..) and
removes the internal call to rescanLibraries() from setLibrariesFolder().

The existing setLibrariesFolder()+rescanLibraries() combos have been
replaced with setLibrariesFoldersAndRescan().

Fix #10228
2020-05-25 17:09:20 +02:00
Ricardo JL Rufino
cc65234582
[IDE] Title of sketch is misaligned on Linux (#10210)
Fix #10209
2020-05-20 11:29:31 +02:00
jenkins
02a2e22649 update arduino-builder to 1.5.3 2020-05-14 17:36:14 +02:00
Cristian Maglie
15089f0c54 Update CONTRIBUTING.md
Co-authored-by: per1234 <accounts@perglass.com>
2020-05-12 16:27:18 +02:00
Gabriel Staples
3aad31489e fix minor error in readme, & explain what is markdown code fencing 2020-05-12 16:27:18 +02:00
Matthijs Kooijman
6d3ad183ab Handle CR without NL printed in EditorConsole
Previously, any CR without NL was treated just like a NL. For tools that
used single CRs to update a progress bar (such as dfu-util), this would
end up printing the subsequent versions of the progress bar below each
other, instead of updating a single line as intended. Additionally,
since ConsoleOutputStream only scrolled the view on \n, these updates
would end up outside of the main view, making the upload progress quite
unclear.

This commit makes EditorConsole support lone CRs by resetting the insert
position to the start of the current line, so subsequent writes
overwrite existing content. If subsequent lines are shorter than an
earlier line, only part of the earlier line will be overwritten (this
mimics what terminal emulators do).
2020-05-12 10:36:45 +02:00
Matthijs Kooijman
fa267da74b EditorConsole: Set up System.out/err redirection in setCurrentEditorConsole
Previously, the redirection would be triggered in the EditorConsole
constructor. However, this was problematic for unittests, which do not
need this redirection.

Since the redirection really is not useful intul there is a current
EditorConsole anyway, it can just be delayed a bit until
setCurrentEditorConsole is called.
2020-05-12 10:36:45 +02:00