1. 19 Apr, 2023 2 commits
    • Cristian Maglie's avatar
      Fix preprocess output (do not print stats after the preprocessed source) (#2152) · 2c2a5cc6
      Cristian Maglie authored
      * Added test
      
      * Hide compile stats when using preprocess flag
      2c2a5cc6
    • Cristian Maglie's avatar
      Implemented `--show-properties` in `board details` command (#2151) · 7b774e14
      Cristian Maglie authored
      * Renaming some variables for clarity
      
      * Moved 'build.board' property generation out of legacy package
      
      * Moved unit tests related to build properties out of legacy package
      
      * Removed legacy TargetBoardResolver and refactored unit-tests
      
      * Removed legacy HardwareLoader
      
      * Factored sketch-related build properties creation
      
      * Moved SetupBuildProperties into proper package
      
      * Removed SetCustomBuildProperties from legacy
      
      * Factored --show-properties cli flag parser
      
      * Made 'board ...' command arguments variables local
      
      * Implemented --show-properties in 'board details'
      
      * Fixed integration test
      7b774e14
  2. 12 Apr, 2023 2 commits
  3. 07 Apr, 2023 3 commits
  4. 05 Apr, 2023 1 commit
  5. 31 Mar, 2023 1 commit
  6. 30 Mar, 2023 1 commit
    • Cristian Maglie's avatar
      Remove legacy "rewrite-rules" feature (#2132) · 5a1c2fe8
      Cristian Maglie authored
      * Refactored AddMissingBuildPropertiesFromParentPlatformTxtFiles
      
      Previously the specific recipes to run CTags were added to global build
      properties. Now the global build properties are not altered anymore and
      the CTags-specific properties are created only to run CTags and dropped
      afterward.
      
      * Removed platform rewrite-rules functionality
      5a1c2fe8
  7. 29 Mar, 2023 3 commits
  8. 28 Mar, 2023 3 commits
  9. 27 Mar, 2023 5 commits
  10. 24 Mar, 2023 1 commit
  11. 22 Mar, 2023 4 commits
  12. 17 Mar, 2023 1 commit
    • Lluis Campos's avatar
      Fix invalid JSON and YAML outputs for `outdated` command (#2111) · a8b52ea5
      Lluis Campos authored
      Fixes issue #2104
      
      The code for `internal/cli/core` and `internal/cli/lib` has been
      refactored so that we can use only the `Get` functions from
      `internal/cli/outdated` package and compose there composited object.
      
      For regular text output, the new table will have some extra fields that
      either for platforms or for libraries will be blank.
      
      For JSON and YAML output, the resulting object will have the top-level
      keys `platforms` and `libraries` which contain, respectively, the array
      of outaded platforms and outdated libraries.
      Signed-off-by: default avatarLluís Martínez <lluis@tastaollet.es>
      a8b52ea5
  13. 16 Mar, 2023 3 commits
  14. 15 Mar, 2023 2 commits
  15. 14 Mar, 2023 1 commit
  16. 13 Mar, 2023 2 commits
    • per1234's avatar
      Allow leading underscore in sketch filenames (#2105) · 7feb54fb
      per1234 authored
      The Arduino Sketch Specification defines the allowed format of sketch folder names and sketch code filenames.
      
      The origin of the specification is the text of the error message shown in Arduino IDE when the user attempts to save to
      a name that contains disallowed characters:
      
      https://github.com/arduino/Arduino/blob/89539b1131f8cde9f7a83225f21c811071af53a8/app/src/processing/app/SketchController.java#L847-L853
      
      However, the implementation of the restriction in the IDE codebase has a bug that allows a leading underscore (because
      the code uses _ as the replacement character).
      
      After the restriction was implemented correctly in Arduino IDE 2.x, it was discovered that the loss of compatibility
      with these non-compliant names was impactful.
      
      One of the primary purposes for the specification and restrictions is to ensure sketches can be used in any tool. Since
      the tools support this name format and there is no technical reason to disallow it, the best thing to do is change the
      sketch specification to follow the historic tool behavior (even if that behavior was the result of a benign bug).
      
      Leading underscores in sketch folder names and sketch code filenames are hereby permitted by the Arduino Sketch
      Specification and `arduino-cli sketch new`.
      7feb54fb
    • Cristian Maglie's avatar
      Added `--omit-releases-details` flag in `lib search` (#2102) · 71a8576d
      Cristian Maglie authored
      * Added flag to LibrarySearchRequest gRPC API to reduce response output
      
      * Added --omit-releases-details flag in 'lib search'
      71a8576d
  17. 10 Mar, 2023 3 commits
  18. 08 Mar, 2023 1 commit
  19. 06 Mar, 2023 1 commit