1. 08 Jan, 2024 1 commit
    • Cristian Maglie's avatar
      [breaking] Improved .pde warnings detection subroutines / gRPC LoadSketch API improvement (#2490) · ea8c281f
      Cristian Maglie authored
      * sketch.GetProfile returns an error if profile is not found
      
      * Added Profile.ToRpc helper
      
      * Added Sketch.ToRpc helper
      
      * Factored Sketch message in gRPC API for 'LoadSketch' call
      
      * Inline function call
      
      * Improved implementation of sketch.GetSketchProfiles
      
      * Moved subroutine that warns about .pde files in feedback package
      
      * Updated docs
      
      * Improved 'sketch archive' parameters check
      
      * Fixed bug detected by integration test... oops
      ea8c281f
  2. 04 Jan, 2024 1 commit
  3. 03 Jan, 2024 1 commit
  4. 02 Jan, 2024 4 commits
    • Cristian Maglie's avatar
      [breaking] feature: Added gRPC `close` signal to `Monitor` call (allows... · 0dbd871c
      Cristian Maglie authored
      [breaking] feature: Added gRPC `close` signal to `Monitor` call (allows graceful close of monitor) (#2276)
      
      * Refactored gRPC Monitor API
      
      * Added Close request to gRPC Monitor API
      
      * Updated docs
      
      * Made CreateEnvForDaeamon available in all integration tests
      
      * Added integration test
      
      * lint: avoid redefinition of the built-in function close
      
      * lint: comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error
      
      * Allow up to 5 seconds for a pluggable monitor to gracefully close
      
      * Made the gRPC daemon actually wait for port close completion
      0dbd871c
    • Alessio Perugini's avatar
    • Cristian Maglie's avatar
      Fix concurrent access to libraries manager gRPC functions. (#2480) · 19114483
      Cristian Maglie authored
      * Removed libraries index fields from LibraryManager
      
      The presence of the Index* fileds inside LibraryManager didn't give any
      functional benefit.
      
      * Removed all references to LibraryManger.Index
      
      * Removed unused tmp file creation
      
      * downloadLibrary do not require a libmanager but just the downloadDir
      
      * Inline method LibrariesManager.Install
      
      * Move initializations closer to usage
      
      * Use LibraryManager.FindAllInstalled instead of direct access to field
      
      * Made LibraryManager.Libraries private
      
      * Simplified libraries resolver init
      
      * Made LibrariesManager.LibrariesDir private
      
      * Removed DownloadsDir field from LibraryManager
      
      * Removed librariesindex.Reference structure and related helpers
      
      It does make things more complicated without any actual benefit.
      
      * Removed state-altering methods from LibrariesManager
      
      The original LibrariresManager has been split into three objects with
      specific goals:
      * The Builder object is used to construct a new LibrariesManager. It has
        methods to add librarires directories and to build the LibrariesManager.
      * The Explorer object is used to query the LibrariesManager about
        installed libraries.
      * The Installer object is used to rescan installed libraries and to
        install and uninstall.
      
      * Fixed test
      19114483
    • Cristian Maglie's avatar
      [skip-changelog] Removed 'export_cmake' hack (#2482) · bba8f72e
      Cristian Maglie authored
      It is buggy, unmaintained and no more used.
      bba8f72e
  5. 27 Dec, 2023 2 commits
  6. 22 Dec, 2023 1 commit
  7. 21 Dec, 2023 1 commit
    • Cristian Maglie's avatar
      [breaking] gRPC updates to `CompilerResponse`,... · 6732ae0a
      Cristian Maglie authored
      [breaking] gRPC updates to `CompilerResponse`, `UploadUsingProgrammerResponse`, and `BurnBootloaderResponse` (#2472)
      
      * Refactored gRPC CompilerResponse
      
      * Refactored gRPC UploadUsingProgrammerResponse and BurnBootloaderResponse
      6732ae0a
  8. 20 Dec, 2023 1 commit
    • Martino Facchin's avatar
      Reuse (cache) object archives in large sketch projects (#2464) · 72dd2499
      Martino Facchin authored
      * Reuse archiveCompiledFiles helper for long commandline shrink
      
      Since archiveCompiledFiles already handles hot cache correctly, this avoids objs.a being rebuilt even if files don't change.
      
      Would be ideal if PathList could expose a generic Filter API (to get rid of the "duplicated" filter)
      
      * Upgrade go-paths / remove duplicate filter function
      
      * Consider existing archives during the build
      
      * Simplified archiveCompiledFiles function signature
      
      It doesn't make sense anymore to keep path and filename separated.
      
      * Added integration test
      
      ---------
      Co-authored-by: default avatarCristian Maglie <c.maglie@arduino.cc>
      72dd2499
  9. 19 Dec, 2023 4 commits
  10. 18 Dec, 2023 1 commit
  11. 14 Dec, 2023 1 commit
  12. 13 Dec, 2023 3 commits
  13. 07 Dec, 2023 2 commits
  14. 05 Dec, 2023 1 commit
  15. 04 Dec, 2023 1 commit
  16. 01 Dec, 2023 1 commit
    • Cristian Maglie's avatar
      Added `debug check` command to check if a combination of board/programmer... · d41da430
      Cristian Maglie authored
      Added `debug check` command to check if a combination of board/programmer supports debugging. (#2443)
      
      * Moved rcp message to proper position
      
      * Added gRPC command to check for debugger support
      
      * Made debug flags var non-global
      
      * Implementation of 'debug check' command
      
      * Implementation of cli command 'debug check'
      
      * added integration test
      
      * Renamed field for clarity
      
      * Added minimum debug_fqbn computation in 'debug check' command
      d41da430
  17. 29 Nov, 2023 2 commits
  18. 27 Nov, 2023 3 commits
  19. 24 Nov, 2023 2 commits
  20. 22 Nov, 2023 1 commit
  21. 16 Nov, 2023 2 commits
  22. 15 Nov, 2023 3 commits
  23. 14 Nov, 2023 1 commit