1. 01 Jun, 2020 3 commits
    • Massimiliano Pippi's avatar
      e1eec95b
    • Henrique's avatar
      Add support for i18n in the cli (#676) · d53a15ba
      Henrique authored
      * add po message catalog implementation
      
      * add po parser for i18n cmd
      
      * add po merge function
      
      * add command to generate en po file from source
      
      * add command to update local po files with en catalog change
      
      * add task to generate po files
      
      * add locale option for i18n
      
      * add dependencies for i18n
      
      * add unit test for i18n
      
      * add godoc to exported fields
      
      * add rice box for i18n messages
      
      * add readme for i18n module
      
      * update README to add instruction to install go-rice
      
      * remove warning log in case locale is not found
      
      * add command to pull and push translation files from/to transifex
      
      * remove unused import
      
      * dont generate new rice file if there are no translation changes
      
      * add copyright headers
      
      * use 'tr' function call as indicator for translations
      
      * adding documentation to pull,push translations and adding new languages
      
      * push only the reference translation catalog
      
      * add check on PR for updated catalog not commited
      
      * push message catalog to transifex
      
      * pull translations fro transifex weekly
      
      * get locale identifier from diferent OSes
      
      * get locale identifier from diferent OSes
      
      * match locale algo
      
      * add locale match test
      
      * preserve LF in translation string unchanged
      
      * init config before executing command
      
      * create arduino cmd dynamically
      
      * make all command init dynamically
      
      * save all message occurrences in catalog
      
      * add translatable cli usage template
      
      * add messages for cli usage template
      
      * remove standalone i18n message check
      
      * add more i18n tests
      
      * fix po parsing correctness and implement tests
      
      * fix configuration path search tests
      
      * update catalog command to find go files
      
      * update catalog with new path
      
      * fix docsgen command
      
      * remove dependency on shell script for windows compat
      
      * fix test workflow
      
      * update setup-go to v2
      
      * fail i18n:check task if catalog was not updated
      
      * replace windows separator with forward slash
      
      * use filepath function to translate windows paths
      
      * only update en catalog
      d53a15ba
    • Cristian Maglie's avatar
      [skip-changelog] Fixed codecov.yml file (#735) · 4b9c9241
      Cristian Maglie authored
      The file has been validated with the webservice provided by codecov.
      
      Before the patch:
      
      $ curl --data-binary @.codecov.yml https://codecov.io/validate
      Path: coverage->status->project->default->threshold
      <shared.validation.helpers.PercentSchemaField object at 0x7f172d3e5a10>.validate(None) raised TypeError('expected string or bytes-like object')
      
      After the patch:
      
      $ curl --data-binary @.codecov.yml https://codecov.io/validate
      Valid!
      
      {
        "comment": false,
        "coverage": {
          "status": {
            "patch": false,
            "changes": false,
            "project": {
              "default": {
                "target": 30.0
              }
            }
          }
        }
      }
      4b9c9241
  2. 29 May, 2020 2 commits
  3. 28 May, 2020 1 commit
  4. 27 May, 2020 2 commits
  5. 22 May, 2020 3 commits
  6. 21 May, 2020 4 commits
    • per1234's avatar
      [skip changelog] Clarify installation instructions for Windows (#706) · a7d7de0b
      per1234 authored
      * [skip changelog] Document the install script's compatibility with Windows
      
      It's already quite clear that the Homebrew installation method is not available for Windows, so the first option for Windows users is the install script, which is also not well supported on Windows.
      
      * [skip changelog] Make the PATH instructions more prominent in the installation docs
      
      Although the installation script does recommend adding Arduino CLI to PATH, I though it worth providing an explanation of why in installation instructions.
      
      I combined the various download sources into sub-headings of a single "Download" installation option section so that the PATH instructions could be provided prominently only once for that installation option.
      a7d7de0b
    • Massimiliano Pippi's avatar
      097212fd
    • Massimiliano Pippi's avatar
      Remove unused import (#715) · c283b0af
      Massimiliano Pippi authored
      * remove unused import
      
      * remove blank line
      c283b0af
    • Massimiliano Pippi's avatar
      Add versioning to docs (#711) · 70c62050
      Massimiliano Pippi authored
      * introduce mike
      
      * use default 'site' dir for output
      
      * install mike and pin material theme
      
      * add task to build&publish docs using Mike
      
      * publish dev and versioned docs
      
      * narrow down env definition
      
      * add build script to handle versioning
      
      * invoke task, not mike directly
      70c62050
  7. 19 May, 2020 3 commits
  8. 15 May, 2020 1 commit
    • Cristian Maglie's avatar
      Compile extract all artifacts in "sketch/build" folder (#687) · ebc28e1b
      Cristian Maglie authored
      * Deprecated exportFile/importFile in favor of exportDir/importDir
      
      * Updated compile/upload cli commands
      
      * Compile now saves artifacts in 'sketch/build/<FQBN>/...' folder
      
      * Upload now uses export folder
      
      * Test fix: use --output-dir option instead of deprecated --output
      
      * Text fix: no more need to check if "extension won't be added if already present"
      
      * Added Debug.ImportDir and deprecated Debug.ImportFile
      
      * Upload now uses export folder
      
      * Fixed GetCommandLine test
      
      * Fixed test_core_install_esp32
      ebc28e1b
  9. 13 May, 2020 5 commits
  10. 08 May, 2020 4 commits
  11. 07 May, 2020 3 commits
    • Cristian Maglie's avatar
      Sketch path can now be specified by folder (path/to/sketch/) or by file... · 6718cf41
      Cristian Maglie authored
      Sketch path can now be specified by folder (path/to/sketch/) or by file (path/to/sketch/sketch.ino) (#690)
      
      * Added test for different cases of sketch path
      
      case 1: /path/to/sketch
      case 2: /path/to/sketch/sketch.ino
      
      in the case 2 a compile+upload combo gives the following error:
      
      Error during Upload: cannot open sketch: stat /tmp/pytest-of-megabug/pytest-35/ArduinoTest1/CompileAndUploadIntegrationTest/CompileAndUploadIntegrationTest.ino/CompileAndUploadIntegrationTest.ino.arduino.samd.mkr1000.bin: not a directory
      
      * Fix sketch loading with different kind of input paths
      
      * Added unit-test for sketches module
      
      * Small test fix for Windows
      
      Paths are converted to \ when extracting Parent().
      
      === RUN   TestSketchLoadingFromFolderOrMainFile
      testdata/Sketch1 == testdata/Sketch1
      testdata\Sketch1 == testdata/Sketch1
      6718cf41
    • Roberto Sora's avatar
      b62c339a
    • Cristian Maglie's avatar
      [skip changelog] Small cleanups (#688) · 422a954b
      Cristian Maglie authored
      * Added FQBN.StringWithoutConfig() method
      
      * Removed useless local variables
      
      * Use fqbn.StringWithoutConfig() specific function
      
      * Added some more verbosity on upload
      422a954b
  12. 04 May, 2020 2 commits
  13. 24 Apr, 2020 1 commit
    • Roberto Sora's avatar
      Enhance "board details" command (#674) · 83d7f6e3
      Roberto Sora authored
      * Add properties to board details printing
      
      * Add usb IdentificationPrefs
      
      * Add more details
      
      * refactor board id
      
      * Add help and Package name
      
      * Inject package URL in package structs
      
      * Add tool release unroll
      
      * Prettify commands code
      
      * Polish struct usage
      
      * Add board details test
      
      * Reformat proto
      
      * Make linter happy
      
      * Add table printing
      
      * Make linter happy again
      
      * Add missing sizes to gold details json test
      
      * Add search for external package tool dependencies
      
      * Add --full flag and test table print comestics
      83d7f6e3
  14. 23 Apr, 2020 3 commits
  15. 22 Apr, 2020 3 commits