1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-13 07:54:20 +01:00

7298 Commits

Author SHA1 Message Date
Cristian Maglie
b30379dfbc Updated GRPC/arduino-cli to version 0.7.2 2020-07-24 12:37:53 +02:00
Cristian Maglie
197992c8f5 Updated arduino-cli to 0.7.2 2020-07-24 12:37:53 +02:00
Cristian Maglie
2fd0d35a6e Small update to ProgressWrapper 2020-07-24 12:37:53 +02:00
Cristian Maglie
ce05a6831b Removed no more needed UserLibrary constructor/parser 2020-07-24 12:37:53 +02:00
Cristian Maglie
5295e106db Use Library.RealName for installed libraries 2020-07-24 12:37:53 +02:00
Cristian Maglie
3ba507ab43 Lib manager GUI: removed some static access to ArduinoCoreService 2020-07-24 12:37:53 +02:00
Cristian Maglie
bdd621786a Removed no more needed LibraryInstaller (it's now done via GRPC) 2020-07-24 12:37:53 +02:00
Cristian Maglie
401fe65418 Removed, no more needed, LibraryInstaller::updateIndex method 2020-07-24 12:37:53 +02:00
Cristian Maglie
0056cbc545 Removed the now useless UserLibraryFolder 2020-07-24 12:37:53 +02:00
Cristian Maglie
3c46af8d2c Removed the, now useless, library folder handling 2020-07-24 12:37:53 +02:00
Cristian Maglie
56bd779288 Installed libraries are now detected via GPRC calls 2020-07-24 12:37:53 +02:00
Cristian Maglie
7da6bd91aa Using Collection instead of List on some Library types
This helps in transitioning to GRPC on next commits.
2020-07-24 12:37:53 +02:00
Cristian Maglie
e5e1892037 Added GRPC libraryList command 2020-07-24 12:37:53 +02:00
Cristian Maglie
f6ca1f7b16 Library manager through arduino-cli (WIP, part 1)
- library index is now fetched arduino-cli
- ContributedLibraries and derivatives classes have been adapted
  to arduino-cli structure
- install/update/remove are temporary disabled
- library index updated is now done trough arduino-cli
- added progress wrapper

Next steps:

- detect installed libraries using arduino-cli
- implement install/update/remove using arduino-cli
2020-07-24 12:37:53 +02:00
Cristian Maglie
cc26e75e96 GRPC: Added lib index update command with progress wrapper 2020-07-24 12:37:53 +02:00
Cristian Maglie
84b9518776 GRPC: removed limit to max message size 2020-07-24 12:37:53 +02:00
Cristian Maglie
310a5df5e1 Rename ContributeLibrary and ContributeLibraryReleases
the classes have been renamed as:

  ContributedLibrary -> ContributedLibraryRelease
  ContributedLibraryReleases -> ContributedLibrary

The reason is that a ContributedLibrary will have a name and a list of
releases, each one containing the relative metadata. The changes to
reflect that will be made in the next commits.
2020-07-24 12:37:53 +02:00
Cristian Maglie
9500b34719 Added more GRPC commands 2020-07-24 12:37:52 +02:00
Cristian Maglie
a9681bd833 Added arduino-cli daemon startup and some basic control code 2020-07-24 12:37:52 +02:00
Cristian Maglie
6c7c24f25b GRPC binding to arduino-cli (EXPERIMENTAL) 2020-07-24 12:37:52 +02:00
Cristian Maglie
a381235aa0 Added arduino-cli 0.6.0 to the build 2020-07-24 12:37:52 +02:00
Cristian Maglie
8625b14de3 fixed some trivial warnings 2020-07-24 12:37:52 +02:00
Cristian Maglie
ab9ba6ad4b Use Optional<> for getting selected Board/Platform
Optionals should make explicit the possibility to get empty results from
BaseNoGui.getTargetBoard/Platform methods.
2020-07-24 12:37:52 +02:00
Cristian Maglie
bbb81671d6 Removed TargetBoard parameter from newUploader factory
The parameter is not used.
2020-07-24 12:37:52 +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