- 01 Jun, 2020 3 commits
-
-
Massimiliano Pippi authored
-
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
-
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 } } } } }
-
- 29 May, 2020 2 commits
-
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
Massimiliano Pippi authored
-
- 28 May, 2020 1 commit
-
-
Henrique authored
-
- 27 May, 2020 2 commits
-
-
Cristian Maglie authored
We are currently hitting ~31.8% of test coverage, keeping the threshold to 35% will mark all the commits as failing.
-
Cristian Maglie authored
Previously, if there were many serial port connected, multiple Performing 1200-bps touch reset on serial port /dev/ttyACMxx were printed due to misplacement of the verbose print.
-
- 22 May, 2020 3 commits
-
-
per1234 authored
[skip changelog] Use local path for github.com/arduino/arduino-cli module dependency of docsgen (#719) Previously, docsgen used a pinned version of the github.com/arduino/arduino-cli module, which resulted in the generated command documentation not reflecting updates to the Arduino CLI command line interface made after the pinned version. The new approach is to use the current version of the module from the local path, resulting in the generated documentation always matching the associated version of Arduino CLI.
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
* config git in publish step, remove magic string from build script * expand build.py CLI to simplify action's code * build when workflow changes * fetch gh-pages branch * fix version selector * Remove testing code * document who owns commits on gh-pages
-
- 21 May, 2020 4 commits
-
-
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.
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
* remove unused import * remove blank line
-
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
-
- 19 May, 2020 3 commits
-
-
Henrique authored
* add configuration for cli httpclient * add httpclient roundtripper with proxy and user-agent * add cli httpclient * set downloader user-agent tp equal cli httpclient * use cli httpclient on board list command * add unit tests for httpclient * add copyright notice * upgrade downloader to v2 with httpclient injection * change go.mod to point to upstream downloader project v2
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
- 15 May, 2020 1 commit
-
-
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
-
- 13 May, 2020 5 commits
-
-
Cristian Maglie authored
-
per1234 authored
This feature has not been implemented, so the field has no purpose.
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
- 08 May, 2020 4 commits
-
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
per1234 authored
[skip changelog] Replace obsolete BoardDetailsResp.GetRequiredTools() call in gRPC client example (#685) The new equivalent method is GetToolsDependencies().
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
Martino Facchin authored
* Fix mixed code precompiled libraries This patch restores some functionalities broken by https://github.com/arduino/arduino-cli/pull/512 . It introduces a BREAKING CHANGE to "precompiled" field If merged, "precompiled" means that the library ONLY contains a precompiled library and its headers. No file containing implementation will be compiled if the library is specified as such. Fixes https://github.com/arduino/arduino-builder/issues/353 Tested with * https://github.com/arduino/arduino-cli/pull/512#issuecomment-565070453 (Nano33BLE and generic MKR board) * https://github.com/BoschSensortec/BSEC-Arduino-library (works after removing precompiled=true directive in library.properties) * https://github.com/vidor-libraries/USBBlaster (MKRVidor, fully precompiled) * Added test-build for Arduino_TensorFlowLite * Added another test for Bosch Sensor lib * Fallback search for precompiled libraries in non-fpu specific directories * variable renamed * Moved fixLDFLAG inside compileLibraries * Inlined FixLDflags * Using more paths helpers to simplify code * Added support for "precompiled=full" in library.properties This flag allow the deployment of a pure precompiled library that ships also the source code of the precompiled part. This allows to possibly compile-from-source as a fallback if the library does not provide a precompiled build for the current architecture. The "precompiled=true" instead has been ported back to the old behaviour (for libraries that ships a precompiled binary and support source code that wraps/uses the precompiled part). * Updated tests * Fixed test compile-build on very long paths on Windows * Removed constants.BUILD_PROPERTIES_COMPILER_LIBRARIES_LDFLAGS * Add space before "-L" gcc flag to allow multiple precompiled libs to be included Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
-
- 07 May, 2020 3 commits
-
-
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
-
Roberto Sora authored
-
Cristian Maglie authored
* Added FQBN.StringWithoutConfig() method * Removed useless local variables * Use fqbn.StringWithoutConfig() specific function * Added some more verbosity on upload
-
- 04 May, 2020 2 commits
-
-
Roberto Sora authored
-
Roberto Sora authored
* Update Arduino CLI logo * Resize logo * Resize logo again * Resize logo very small * Add resized logo * Add resized logo to 1/2
-
- 24 Apr, 2020 1 commit
-
-
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
-
- 23 Apr, 2020 3 commits
-
-
Roberto Sora authored
-
Roberto Sora authored
-
Massimiliano Pippi authored
-
- 22 Apr, 2020 3 commits
-
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
* add stats script * send metrics * add failure event and comments * confusing languages * testing failures * revert, failures reporting works ok * rename file, remove test clause
-
Roberto Sora authored
* [skip changelog] Add stats fetching from Arduino CDN using AWS Athena * Fix path typo for athena stats * Fix path typo for athena stats again * Add sh * Add checkout step * Add STATS_ prefix to stats secret and env vars * Use latest version of jq * Use latest version of jq inside fetch action * Use PATH override to use latest version of jq inside fetch action * Fix path typo * Remove push event
-