1. 13 Nov, 2023 1 commit
  2. 08 Nov, 2023 1 commit
  3. 02 Nov, 2023 1 commit
  4. 31 Oct, 2023 3 commits
  5. 26 Oct, 2023 1 commit
  6. 19 Oct, 2023 3 commits
    • github-actions[bot]'s avatar
    • Umberto Baldi's avatar
      Introduce new "v" version format (#2374) · 74cdc800
      Umberto Baldi authored
      we'll keep 0.35.x release branch name. We'll use "v" only for the tag,
      this way the documentation branches will work just like before,
      we are using "v" only for the github tag
      this way we are semver compliant
      74cdc800
    • Cristian Maglie's avatar
      [skip-changelog] refactor: Made `command` functions to access PackageManager... · 4b2a32be
      Cristian Maglie authored
      [skip-changelog] refactor: Made `command` functions to access PackageManager unavailable from public API (#2335)
      
      * Let instance commands require an *rpc.Instance
      
      Removed the shorthand of the InstanceCommand interface.
      This makes the API more coherent among the `commands` instance handling.
      
      * Moved 'command' package's instances functions inside internal package
      
      This change highlights the incorrect PackageManager access in 'cli'
      package. Now those are errors:
      
      package github.com/arduino/arduino-cli
      	imports github.com/arduino/arduino-cli/internal/cli
      	imports github.com/arduino/arduino-cli/internal/cli/board
      	imports github.com/arduino/arduino-cli/internal/cli/arguments
      	internal/cli/arguments/completion.go:23:2: use of internal package github.com/arduino/arduino-cli/commands/internal/instances not allowed
      package github.com/arduino/arduino-cli
      	imports github.com/arduino/arduino-cli/internal/cli
      	imports github.com/arduino/arduino-cli/internal/cli/board
      	imports github.com/arduino/arduino-cli/internal/cli/arguments
      	internal/cli/arguments/port.go:24:2: use of internal package github.com/arduino/arduino-cli/commands/internal/instances not allowed
      
      * Made CoreInstance private
      
      * Inlined coreInstancesContainer singleton methods
      
      * Removed all wrong accesses to package Explorer
      
      * Replaced DiscoveryManager.Watch with equivalent gRPC BoardListWatch call
      
      * Replaced direct access to PackageManager to get discovery protocols
      
      Previously the function GetConnectedBoards() counter-intuitively
      returned a list of port address. Now it has been reneamed
      GetAvailablePorts() and returns the full Port object that is mapped into
      an array of Addresses or into an array of Prorocols based on the
      auto-completion request.
      4b2a32be
  7. 18 Oct, 2023 2 commits
  8. 17 Oct, 2023 3 commits
  9. 16 Oct, 2023 1 commit
  10. 13 Oct, 2023 3 commits
  11. 12 Oct, 2023 1 commit
  12. 11 Oct, 2023 1 commit
  13. 09 Oct, 2023 1 commit
  14. 02 Oct, 2023 3 commits
  15. 27 Sep, 2023 1 commit
  16. 26 Sep, 2023 1 commit
  17. 25 Sep, 2023 3 commits
  18. 22 Sep, 2023 1 commit
  19. 21 Sep, 2023 1 commit
    • Cristian Maglie's avatar
      legacy: Make a lot of Builder internals private (#2325) · dde30647
      Cristian Maglie authored
      * Removed logger as a field of BuildOptionManager
      
      * Made BuildOptionsManager a field of Builder
      
      * Renamed BuildOptionsManager -> BuildOptions
      
      * Made WipeBuildPath a method of Builder
      
      * Removed unused currentBuildOptionsJSON field
      
      * Separated wipeBuildPath and createBuildOptionsJSON actions
      
      * Made wipe() a proper method -> Buidler.wipeBuildPath()
      
      * Made BuildOptions private
      
      * Made SketchLibrariesDetector a private field of Buidler
      
      * Made BuildArtifacts private
      
      * Made all builder subpackages internal
      
      * Moved initialization of private structs inside NewBuilder
      dde30647
  20. 20 Sep, 2023 3 commits
  21. 18 Sep, 2023 1 commit
    • MatteoPologruto's avatar
      Add support for pre_uninstall scripts (#2311) · 29c70df8
      MatteoPologruto authored
      * Add skip_pre_uninstall parameter to gRPC platform requests
      
      * Add pre-uninstall flags to CLI arguments
      
      * Run pre-uninstall script when a platform or tool is uninstalled
      
      * Document the changes
      
      * Include pre-uninstall script run into the unit test
      29c70df8
  22. 16 Sep, 2023 1 commit
  23. 15 Sep, 2023 3 commits
    • Alessio Perugini's avatar
      55fc5aa7
    • Alessio Perugini's avatar
      [skip-changelog] bye bye legacy (#2317) · 4c0d72e5
      Alessio Perugini authored
      * Move Preprocess and Build in arduino/builder
      
      * Move the detector inside arduino/builder
      
      * remove legacy targets from TaskFile
      
      * inline some variable declaration
      
      * remove no longer used builder getters
      
      * make only necessary function public in the new builder
      
      * fix CR: avoid mutating internal state
      
      * fix CR: only print normaloutput when is not verbose
      4c0d72e5
    • Alessio Perugini's avatar
      Porting `legacy` tests to new integration-test infra (part 4...) (#2315) · 6d57ce69
      Alessio Perugini authored
      * ported SketchThatIncludesArduinoH from legacy into integration test
      
      * ported SketchWithStaticAsserts from legacy into integration test
      
      * ported SketchWithEnumClass from legacy into integration test
      
      * ported SketchWithExternC from legacy into integration test
      
      * ported testBuilderSketchWithMultilinePrototypes from legacy into integration test
      
      * ported SketchWithExternCMultiline from legacy into integration test
      
      * ported SketchWithMultilineTemplate from legacy into integration test
      
      * ported SketchWithFakeFunctionPointer from legacy into integration test
      
      * fix wrong templating
      
      * ported SketchWithMinMaxDefinitions from legacy into integration test
      
      * ported SketchWithFastledsLibrary from legacy into integration test
      
      * ported sketch with merged sketch and bootloader from legacy into integration test
      
      * temporary disable legacy test, before porting them to the new infra
      
      * update .gitignore
      
      * ported CheckBuildOptionsFile from legacy into integration test
      
      * ported SketchClassFunction from legacy into integration test
      
      * ported SketchThatChecksIfSPIHasTransactionsAndIncludesMissingEthernet from legacy into integration test
      
      * remove legacy builder test folder
      
      * remove unsued fields from context
      6d57ce69