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

7020 Commits

Author SHA1 Message Date
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
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
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
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
Dario Pennisi
fecc311b5e
Merge pull request #6681 from per1234/issue-template
Add an issue template that is a reminder to read the Contributing Rules
2019-05-07 16:53:41 +02:00
Dario Pennisi
0119fe3ea4
Merge pull request #6357 from per1234/improve-contribution-guidelines
Improve CONTRIBUTING.md
2019-05-07 16:53:19 +02:00
Martino Facchin
d518d7683c Fix NPEs if no hardware core is installed
Fixes #8229
2019-05-06 15:10:42 +02:00
per1234
5008ca745c Remove mention of Playground being a publicly editable wiki from CONTRIBUTING.md
Arduino decided to make the Arduino Playground read only, so it is no longer possible for people to edit it directly. They will now need to report issues or suggestions for improvement to the arduino/Arduino issue tracker so that someone with edit privileges can make the required changes.
2019-04-24 03:49:45 -07:00
Martino Facchin
c3675a8bef Linux: fix icon permissions if installed via sudo 2019-04-18 11:52:59 +02:00
Martino Facchin
6b770d0190 Fix UpdateTextAreaAction test 2019-04-18 11:15:58 +02:00
Martino Facchin
baeb4c63a7
Merge pull request #8669 from artynet/arduino-linux-setup-refresh
updating arduino-linux-setup.sh script to release v10
2019-04-18 10:05:31 +02:00
Martino Facchin
e92d5948fe
Merge pull request #8672 from Pieter12345/contextual-menus
Add contextual menus to input fields
2019-04-18 10:00:19 +02:00
Martino Facchin
eb48db2eec
Merge pull request #8682 from Pieter12345/ant-build-bugfix
Replace "unzip/tar" in build.xml by Ant's provided unzip/untar method
2019-04-18 09:47:54 +02:00
Martino Facchin
9bb8fc3755
Merge pull request #8764 from sandeepmistry/wifi101-updater-v0.10.8
Update WiFi101-Updater plugin to 0.10.8
2019-04-18 09:45:51 +02:00
Martino Facchin
ad69480ce1
Merge pull request #8781 from MrMebelMan/fix_linux_build_symlink_error
Linux build: remove symlinks only if they exist
2019-04-15 10:47:30 +02:00
Vladyslav Burzakovskyy
8cff0dbef4 Linux build: remove symlinks only if they exist 2019-04-12 21:55:13 +02:00
Sandeep Mistry
723a29fbb0 Update WiFi101-Updater plugin to 0.10.8 2019-04-09 12:29:02 -04:00
Cristian Maglie
72330aaddd Fix .classpath: commons-lang3-3.3.2 -> commons-lang3-3.8.1.jar 2019-04-02 16:36:08 +02:00
Martino Facchin
26f428384b Preferences: remove outdated preferences 2019-04-02 16:20:58 +02:00
Martino Facchin
4c8ac04727 Preferences: allow smaller window since checkboxes take less space
Fixes #8238
2019-04-02 16:20:58 +02:00
Martino Facchin
b1253e2f0a Preferences: arrange checkboxes into two columns 2019-04-02 16:20:58 +02:00
Mattia Bertorello
eb055cc4c0 Add user agent in the connection to api-builder.arduino.cc/builder/v1/boards/ 2019-04-02 15:32:37 +02:00
Martino Facchin
05de5c9593 Follow symlinks when saving sketch
Fixes #8535
2019-04-02 15:05:08 +02:00
Martino Facchin
96e7bc29fc Use tar native binary for extraction on unix
To overcome ant untar behaviour (executable bits being lost)
2019-03-29 02:55:48 +01:00
Pieter12345
afbf75651f Remove default excludes for Ant directory tasks
Besides that these default excludes get ignored when using the Cygwin terminal on Windows, they cause Ant move tasks to not remove the 'moved' directory if it contains a `.gitignore`  or other default exclude file.
2019-03-29 02:55:48 +01:00
Pieter12345
126c79a3ed Replace "unzip/tar" in build.xml by Ant's provided unzip/untar method
Replace the "unzip" and "tar" command used while building Arduino by the unzip and untar method that Ant provides.
This fixes #8617, meaning that "ant run" will work again and no files/directories are created with weird permissions and share names anymore.
2019-03-29 02:55:48 +01:00
Pieter12345
941050ecf0 Add contextual menus to input fields
- Add contextual menus to text-based monitors (serial / network monitor).
- Add contextual menu to installer dialog search filter fields (library manager / contribution manager).
- Make installer dialogs focus the search filter field on window-open. This prevents pastes from ending up elsewhere in the case that they are performed before the field has been focussed at least once.
Fixes #8423.
2019-03-29 02:26:41 +01:00
Sandeep Mistry
a87024dcd4 Update WiFi101-Updater plugin to 0.10.7 2019-03-27 11:56:10 -04:00
Pieter12345
933bbb3a39 Fix CommandLineTest.testCommandLineVersion() on Windows
Fix CommandLineTest.testCommandLineVersion() failing on Windows due to Runtime.exec() returning `\r\n` line endings where the test expected `\n` line endings.
2019-03-26 18:46:09 +01:00