Commit Graph

3646 Commits

Author SHA1 Message Date
Ivan Kravets b41262a20e Fix broken "init" command 2020-02-12 16:34:38 +02:00
Ivan Kravets d0a6861369 Fix "TypeError: TypeError: write() argument 1 must be unicode" when generating project on Windows/Python 2 2020-02-12 15:14:58 +02:00
Ivan Kravets 0bc872eafd Remap command before calling Click 2020-02-12 13:47:42 +02:00
Ivan Kravets edc2d10574 Update SPDX License List to 3.8 2020-02-11 18:59:35 +02:00
Ivan Kravets 86f2dde6f3 Do not overwrite a custom items in VSCode's "extensions.json" // Resolve #3374 2020-02-08 21:36:32 +02:00
Ivan Kravets 96f60aab66 Bump version to 4.2.0rc2 2020-02-08 20:35:43 +02:00
Ivan Kravets 2763853d8d Fixed an issue when no error is raised if referred parameter (interpolation) is missing in a project configuration file // Resolve #3279 2020-02-08 19:10:48 +02:00
Ivan Kravets a78b461d45 Code formatting 2020-02-08 19:10:15 +02:00
Valerii Koval 0b0b63aa7d Update templates for Atom, VSCode, CLion (#3371)
* Wrap flags with whitespace chars when exporting data for IDEs

* Update IDEs templates

Take into account compiler flags that can contain whitespace characters (e.g. -iprefix)

* Update template for VSCode

* Add history record
2020-02-07 11:26:45 +02:00
valeros fe174e35c8 Suppress warnings from packages dir instead of core dir for CppCheck 2020-02-06 23:48:13 +02:00
Ivan Kravets 88e40e28fc Bump version to 4.2.0rc1 2020-02-06 23:33:27 +02:00
Ivan Kravets 73ce3c94e9 Initial support for `Project Manager // Resolve #3335 2020-02-06 23:32:43 +02:00
valeros d2033aacea Remove the entire folder with temp files used by pvs-studio tool 2020-02-06 23:21:27 +02:00
Ivan Kravets 81960ce051 Fix test 2020-02-06 17:41:35 +02:00
Ivan Kravets 2ecceb8ed2 Generate absolute path for compilation DB item 2020-02-06 17:30:55 +02:00
Ivan Kravets 00a9a2c04d Generate `compilation database "compile_commands.json" // Resolve #2990 2020-02-06 17:19:48 +02:00
Valerii Koval 7716fe1d1c Autodetect monitor port for boards with specified HWIDs // Resolves #3349 (#3369)
* Autodetect serial port for boards with specified hwids

* Add new record to history log
2020-02-05 22:33:05 +02:00
Ivan Kravets 09b3df5520 Fixed a "UnicodeDecodeError" when listing built-in libraries on macOS with Python 2.7 // Resolve #3370 2020-02-05 22:25:06 +02:00
Ivan Kravets ee2e4896d2 Fixed an issue when Project Inspector crashes when flash use > 100% // Resolve #3368 2020-02-05 18:15:44 +02:00
Ivan Kravets 390f1935d6 Fix parsing dependency in a legacy format 2020-02-05 15:43:39 +02:00
Ivan Kravets 365c3eaf4b Fixed an issue when invalid CLI command does not return non-zero exit code 2020-02-05 15:31:32 +02:00
Ivan Kravets efe8e599fd Added support for Arduino's library.properties `depends` field // Resolve #2781 2020-02-05 00:04:16 +02:00
valeros bc69259dd1 Update tool-unity package to v2.5.0 // Resolve #3362 2020-01-31 15:10:45 +02:00
Ivan Kravets 607e8eb477 Improve detecting of active Internet connection // Resolve #3359 2020-01-29 18:54:30 +02:00
Ivan Kravets 848e525919 Bumo PIO Home to 3.1.0-rc.2 2020-01-26 00:31:55 +02:00
Ivan Kravets 13e9306753 Bump version to 4.1.1b9 2020-01-25 20:50:26 +02:00
Ivan Kravets 880d5bb8b0 Fix project saving 2020-01-25 20:47:10 +02:00
Ivan Kravets f9de23b16f Bump version to 4.1.1b8 2020-01-25 15:48:14 +02:00
Ivan Kravets e5aa71e4e1 Fix config saving when PY2 is used 2020-01-25 15:47:45 +02:00
Ivan Kravets ba441ca77c Remove double blank lines when saving project config // Resolve #3293 2020-01-24 22:15:33 +02:00
Ivan Kravets decf482367 Use io.DEFAULT_BUFFER_SIZE as default chunk size 2020-01-24 22:05:24 +02:00
Ivan Kravets 253e4b13b5 Disable buffering file calculating checksum for downloaded file 2020-01-24 21:40:12 +02:00
Ivan Kravets 04ca6621f1 Verify downloaded package checksum with native Python's hashlib and support all OS 2020-01-24 20:43:05 +02:00
Ivan Kravets 20334772b5 Install a dev-platform with ALL declared packages using a new `--with-all-packages` option // Resolve #3345 2020-01-24 20:20:56 +02:00
Ivan Kravets a62bc3846e Update IPs when checking for Internet 2020-01-24 19:50:55 +02:00
Ivan Kravets 3b092f28c3 Added support for "pythonPackages" in platform.json 2020-01-24 19:47:47 +02:00
Ivan Kravets 2de46f545f Formatter 2020-01-24 19:47:20 +02:00
Valerii Koval 46a9c1b6b2 Add initial support for PVS-Studio check tool (#3357)
* Add initial support for PVS-Studio check tool

* Enable all available PVS-Studio analyzers by default

* Add tests for PVS-Studio check tool

* Improve handling check tool extra flags that contain colon symbol
2020-01-23 12:57:54 +02:00
Max Prokhorov 5ac1e9454f pio-test: pass --verbose to the run command context (#3338)
* pio-test: pass --verbose to the run command context

* restore old output behavior
2020-01-23 12:56:08 +02:00
Valerii Koval 5bdec19f31 Add new debug_build_flags option (#3355)
This will allow users to override default debug flags for example in cases when
the final binary built in debug mode is too large to be loaded on target
2020-01-22 20:41:42 +02:00
Ivan Kravets 7e41841a74 Allow to call Downloader API in silent mode 2020-01-11 15:23:36 +02:00
Ivan Kravets 0f296e7e37 Skip broken example definitions in package manifest 2020-01-10 21:28:19 +02:00
Ivan Kravets 60139035d8 Include hidden files by default in a package 2020-01-05 18:29:19 +02:00
Ivan Kravets 5ab34436ec Cleanup package file name when packing 2020-01-04 23:48:06 +02:00
Ivan Kravets 178080fd12 Improve boards search 2020-01-04 13:53:08 +02:00
Ivan Kravets 915b9145f6 Filter boards by ID+Name 2020-01-04 11:46:25 +02:00
Ivan Kravets ec82fc82a2 Support packages with nested folders and with a custom "root" 2020-01-03 22:55:56 +02:00
Ivan Kravets 8d7b775875 Implement package packer 2020-01-03 15:52:54 +02:00
Ivan Kravets 682114d6f1 Bump version to 4.1.1b7 2019-12-31 20:11:14 +02:00
Ivan Kravets 0ac5cd6789 Skip empty "export" values when parsing library.json manifest 2019-12-31 10:21:20 +02:00