- 17 Jan, 2020 2 commits
-
-
Matthijs Kooijman authored
* [skip changelog] Pass path and contents separately to SketchSaveItemCpp Previously, these two arguments were wrapped together in a sketch.Item, but since all callers build such an item during the call, there is no compelling reason to do it like this. This commit splits the Item parameter into a separate path and contents, which prepares for removing the file contents from sketch.Item later. * [skip changelog] Let SketchMergeSources return error This adds an error return value, which is currently always nil. This prepares for making changes that require returning errors. * [skip changelog] Let sketch.Item.GetSourceStr return error This adds an error return value to this method, which is currently always nil. This prepares for actually returning errors later. * Load sketch file contents only when needed Previously, the full contents of *all* sketch files would be loaded into memory. This includes all source and header files inside the sketch directory, even when they will not even be compiled (e.g. subdirectories other than src). In practice, only the .ino file contents will actually be used, so these are now read on demand. Note that when copying the sketch into the build directory, the contents of all these sketch files *is* used, but that code (`writeIfDifferent()` in `arduino/builder/sketch.go`) already did not use the preloaded data but read the file contents when copying. For small sketches, this does not make much of a difference, but bigger sketches, especially when they include libraries, core definitions, tools, examples, documentation, etc. the memory usage can quite explode, for no good reason.
-
Aldo Armiento authored
-
- 14 Jan, 2020 3 commits
-
-
per1234 authored
[skip changelog] Demonstrate gRPC interface's LibraryResolveDependencies method in client_example (#552)
-
per1234 authored
- Demonstrate SetValue, Merge, GetValue, and GetAll. - Switch from the deprecated configuration request field of Init to using the Settings service to configure arduino-cli's directories.
-
Cristian Maglie authored
-
- 09 Jan, 2020 3 commits
-
-
Roberto Sora authored
* [skip changelog] [skip ci] Clarify additional-urls option usage * rephrase flag warning * stress 3rd party point
-
Massimiliano Pippi authored
* avoid paniking if main sketch file is missing * rewrite the sketch contents collection logic + tests * fix tests
-
Alessandro Ranellucci authored
-
- 08 Jan, 2020 1 commit
-
-
Massimiliano Pippi authored
* fix regression on board attach * fix integration tests
-
- 07 Jan, 2020 5 commits
-
-
Massimiliano Pippi authored
* Improve error message on build failure * properly report an error message
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
-
Federico Bond authored
-
Federico Bond authored
-
- 31 Dec, 2019 2 commits
-
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
* remove error checking on unused proto field, added deprecation comment * fix typo in function name * do not os.exit in library code * create data dir tree if it doesnt exist
-
- 30 Dec, 2019 1 commit
-
-
Piotr Henryk Dabrowski authored
-
- 27 Dec, 2019 1 commit
-
-
Federico Bond authored
* Improve error message when port or fqbn flags are missing * Redirect stderr for integration tests too
-
- 24 Dec, 2019 1 commit
-
-
Massimiliano Pippi authored
-
- 20 Dec, 2019 1 commit
-
-
Massimiliano Pippi authored
* convert to rST * downloads links in table * refactored the walkthrough * slim down install instructions
-
- 19 Dec, 2019 2 commits
-
-
Massimiliano Pippi authored
* rename Sketchbook folder to User * missing join on path
-
Massimiliano Pippi authored
* define proto messages and service * run protoc on settings interface, regenerate code * add service implementation and tests * remove test leftovers
-
- 16 Dec, 2019 1 commit
-
-
Massimiliano Pippi authored
* use pip-tools, bump packages to support 3.8 * Bump Python to 3.8 in the CI environment
-
- 13 Dec, 2019 3 commits
-
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
* add test for #443 * return an empty json array when there are no libs
-
Massimiliano Pippi authored
-
- 11 Dec, 2019 2 commits
-
-
HowJMay authored
Fix the inconsistent name of libraries when installing and uninstalling.
-
Massimiliano Pippi authored
* dump all settings * init config file using viper * remove configs package * use viper API * default url shouldnt be added to additional_urls * map log settings to config file * do not use logging before it's ready * look for project wide config file
-
- 06 Dec, 2019 1 commit
-
-
Cristian Maglie authored
* Update go-serial library to latest version Includes a fix to serial.Read method. Should fix: https://github.com/arduino/arduino-cli/issues/504 Actual patch: https://github.com/bugst/go-serial/pull/69 * Using versioned release of go.bug.st/serial
-
- 04 Dec, 2019 1 commit
-
-
Massimiliano Pippi authored
* extend search fields for libs, added tests * adjust tests
-
- 28 Nov, 2019 3 commits
-
-
Massimiliano Pippi authored
-
Lluis Campos authored
When only specifying folder, the logic will try both <DirName>.ino and <DirName>.pde as the main sketch file. If both are found, and error is also thrown (it would break on compile later on). Added couple of unit tests also. Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
-
Massimiliano Pippi authored
-
- 27 Nov, 2019 1 commit
-
-
Cristian Maglie authored
* Added infrastructure to handle 'dependency' field in library index * Added globals.ParseLibraryReferenceArgs method * Added check for missing library version/name in args * Added check for missing core/arch/version in core arg parsing * 100% test coverage for librariesindexer module * Added grpc call LibraryResolveDependencies (WIP) This is just the body of the call, no implementation yet. * Use semver.Dependency interface to represent a library dependency * Added library-dep resolution function in core modules * Added implementation for LibraryResolveDependency grpc call * Implementation of deps install in 'lib install' command * Added no-deps flag in lib install command * Added lib deps command
-
- 26 Nov, 2019 1 commit
-
-
Roberto Sora authored
* Replace asciilogo.txt with donwlodads index.html as a test resource * Remove prints and re-enable test pieces * Fix file size
-
- 21 Nov, 2019 1 commit
-
-
Massimiliano Pippi authored
-
- 20 Nov, 2019 1 commit
-
-
Cristian Maglie authored
Terminate daemon command when parent process exits; added "--daemonize" flag to keep old behaviour (#488) * daemon: terminate on parent process ending; added --daemonize flag This is useful when the cli daemon is launched from an external process to avoid leaving zombie process if the parent process unexpectedly dies. If daemonization (so no stdin/stdout) is the intended behaviour the --daemonize flag must be used. * (cosmetic) reorganized runDaemonCommand in a more straighforward way
-
- 19 Nov, 2019 1 commit
-
-
Massimiliano Pippi authored
* add an option to show all the versions * add all_versions option to the rpc proto * clean up code + docs * added integration tests
-
- 13 Nov, 2019 2 commits
-
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
-