1. 30 Jun, 2023 1 commit
    • Cristian Maglie's avatar
      Disable DTR clearing on 1200-bps touch (only on Windows) (#2234) · fe6d7499
      Cristian Maglie authored
      The reason why it was originally introduced:
      https://github.com/arduino/Arduino/pull/2709/commits/a6909bdb49d99253b4e684365e72e5dce31a49a7
      
      Why we are removing it now?
      * Windows does preserve the state of the RTS/DTR bits on successive
        opening of the serial port.
      * The serial library used in the Arduino IDE 1.8.x has a bug when trying
        to set DTR=false, on successive opening of the port the DTR line is
        set back high by the USB serial driver. This works differently from
        the serial library we use in the Arduino CLI, that sets DTR=false for
        good and this change is preserved on the successive opening of the
        port.
      * Having the serial port left in a state with DTR=false may cause
        problems to tools uploading later.
      
      It may probably completely removed, but for now, to reduce the testing
      surface, it will be disabled only for Windows.
      fe6d7499
  2. 27 Jun, 2023 3 commits
  3. 21 Jun, 2023 3 commits
  4. 20 Jun, 2023 2 commits
  5. 19 Jun, 2023 1 commit
  6. 16 Jun, 2023 1 commit
    • Cristian Maglie's avatar
      Automatically download indexes, if missing, in gRPC `Init` call (#2119) · 82e6f5d7
      Cristian Maglie authored
      * Created core.PlatformList implementaion follow gRPC naming
      
      Previously it was named GetPlatforms with a different return type than
      the one defined in gRPC API .proto files.
      
      * Added test for #1529
      
      * Perform first-update automatically in gRPC Init
      
      * Made cli.instance.Create function private
      
      * Extract function to compute index file name
      
      * Auto-download 3rd party indexes as part of the Init
      82e6f5d7
  7. 15 Jun, 2023 2 commits
  8. 14 Jun, 2023 1 commit
  9. 13 Jun, 2023 2 commits
  10. 08 Jun, 2023 1 commit
    • Cristian Maglie's avatar
      [skip-changelog] legacy: some simple refactorings (#2206) · 8cd72974
      Cristian Maglie authored
      * Factored a method in library.List
      
      * Fixed lint check
      
      * Moved ResolveLibrary function in the correct source file
      
      * Rename variable 'includes' -> 'includeFolders'
      
      * Rename variables to use snakeCase (golang idiomatic)
      
      * Rename variable 'include' -> 'missingIncludeH'
      
      * Use pointers for SourceFile queues
      
      * Clean up implementation of UniqueSourceFileQueue
      8cd72974
  11. 06 Jun, 2023 1 commit
  12. 01 Jun, 2023 2 commits
    • Alessio Perugini's avatar
      [skip-changelog] Update protobuf deps (#2196) · f3ee0a83
      Alessio Perugini authored
      * upgrade protoc to v23.2
      * protoc-gen-go to v1.30.0
      * protoc-gen-go-grpc to v1.3.0
      * bump buf tooling to v1.20.0
      * bump grpc and protobuf go deps
      f3ee0a83
    • Cristian Maglie's avatar
      [skip-changelog] legacy: Arduino preprocess subroutine refactorization (part 5) (#2195) · 46557b27
      Cristian Maglie authored
      * Moved CTags parser out of legacy
      
      * Moved CTags preprocess subroutine in proper place
      
      * Factored all c++ source lines parsers
      
      * Removed useless builderCtx field SketchSourceAfterCppPreprocessing
      
      * Removed useless builderCtx field SketchSourceAfterArduinoPreprocessing
      
      * Removed useless builderCtx field SketchSourceMerged
      
      * Moved ctag preprocessor into proper location
      
      * Moved ctags parser shenanigans into `internal` package
      
      * Fixed linter warnings
      46557b27
  13. 31 May, 2023 6 commits
  14. 30 May, 2023 1 commit
    • Cristian Maglie's avatar
      [skip-changelog] legacy: Arduino preprocess subroutine refactorization (part 2) (#2191) · 41bd2e45
      Cristian Maglie authored
      * Movec ctags-related structs in ctags package
      
      * Unified GCCPreprocRunner* functions
      
      There is no need to duplicate a function that basically does the same
      thing.
      
      * Added implementation of functional algorithms
      
      (until they are available in the golang standard library...)
      
      * legacy: use generic algos where possibile
      
      * Removed useless call to FilterSketchSource
      
      * Converted AddPrototypes into a function
      41bd2e45
  15. 29 May, 2023 1 commit
  16. 26 May, 2023 5 commits
  17. 24 May, 2023 2 commits
    • Alessio Perugini's avatar
      Identify managed platforms not tracked by a package index (#2174) · 493fa838
      Alessio Perugini authored
      * Load indexes first
      
      * add new props to Index and Platform to understand if the platform is globally indexed
      
      * add the new fields in the protobuf api
      
      * generate protobuf stuff
      
      * add the new fields in the PlatformReleaseToRPC mapping
      
      * return the Platform struct from the PlatformUpgrade commands
      
      * update the PlatformUpgrade daemon
      
      * add the new props in the boards.ListAll func
      
      * add the new props in the boards.Search func
      
      * fix CR
      493fa838
    • Cristian Maglie's avatar
      [skip-changelog] Fixed integration test (#2185) · fbf3255e
      Cristian Maglie authored
      * Use json output in test
      
      * Fixed integration test
      
      The dependency has been updated, previously it was downloaded the version
      3.3.1, but at the moment the new dependency is 3.4.0.
      This fix makes the test independent from such changes.
      fbf3255e
  18. 19 May, 2023 1 commit
  19. 18 May, 2023 1 commit
  20. 16 May, 2023 1 commit
  21. 15 May, 2023 2 commits