Commit Graph

2870 Commits

Author SHA1 Message Date
Valerii Koval 32cb0d6e4d Handle possible issue on Python 2.x when writing to thread buffer
The problem happens when value has type "unicode" that shouldn't be decoded
2020-05-22 14:17:17 +03:00
Ivan Kravets ec34a65cff Bump version to 4.3.4a5 2020-05-21 15:40:38 +03:00
Valerii Koval 735435306d Copy and remove cloned package instead of moving // Resolve #2844, Resolve #3328
On Windows, it’s not possible to move a file which is used by another
process (e.g. Git extension in VSCode)
2020-05-20 21:32:55 +03:00
Ivan Kravets bdd57bf356 Ensure that copytree preserves symlinks 2020-05-20 20:57:55 +03:00
Valerii Koval 8840b28968 Handle possible issue on Python 2.x when writing to thread buffer
The problem happens when value has type "unicode" that shouldn't be decoded
2020-05-20 17:04:50 +03:00
Valerii Koval e31591a35e Print warning about an issue with mapped network drives on Windows // Issue #3417
Starting with Python 3.8 paths to mapped network drives are resolved
to their real path in the system, e.g.: "Z:\path" becomes "\\path" which
causes weird errors in the default terminal with a message that UNC
paths are not supported
2020-05-19 22:37:05 +03:00
Ivan Kravets 9724660dda Update SPDX licenses to 3.9 2020-05-19 13:27:44 +03:00
ShahRustam eac6c1c552 Handle error when internet is offline. Resolve # 3503 (#3505)
* Handle error when internet is offline.

* Fix

* minor fix
2020-05-17 22:44:27 +03:00
Ivan Kravets 099e3c7198 Use original MongoDB license for "compilation_db.py" 2020-05-13 00:48:11 +03:00
Valerii Koval 2a0a1247e3 Revert "Add initialization config for new simavr tool"
This reverts commit 16966a4957.
2020-05-11 18:21:48 +03:00
Valerii Koval 7555d66748 Revert "Add special debug port for simavr tool"
This reverts commit 7b43444d81.
2020-05-11 18:21:26 +03:00
Ivan Kravets c76940f7ce PyLint fix 2020-05-10 19:11:06 +03:00
Ivan Kravets b2ed027bc3 Bump version to 4.3.4a4 2020-05-10 18:36:16 +03:00
Ivan Kravets 01a1981ca1 Added PlatformIO CLI Shell Completion for Fish, Zsh, Bash, and PowerShell // Resolve #3435 2020-05-10 18:35:50 +03:00
Ivan Kravets 03228c528e Bump version to 4.3.4a3 2020-05-09 16:36:05 +03:00
ShahRustam ac510c1553 fix summary caching (#3500) 2020-05-09 16:35:21 +03:00
ShahRustam a1ff5e1a4f Save summary data to local session. (#3497)
* Save summary data to local session.

* naming

* fix account summary test

* add ttl for summary cache

* refactoring get_account_info

* fix
2020-05-08 21:34:52 +03:00
Valerii Koval 7b43444d81 Add special debug port for simavr tool 2020-05-08 12:31:48 +03:00
Valerii Koval 16966a4957 Add initialization config for new simavr tool 2020-05-08 01:14:15 +03:00
Ivan Kravets f32dbeeb6d Bump version to 4.3.4a2 2020-05-06 12:30:41 +03:00
Ivan Kravets f78ffaded0 Remove local PIO Account session from PIO Remote when token is broken 2020-05-06 12:29:01 +03:00
Ivan Kravets 8480ebde89 Rename "authenticating" to "authorizing" wording for PIO Account 2020-05-06 12:27:29 +03:00
ShahRustam 2ab47b7968 Remove account state item if refreshing token failed (#3487) 2020-05-04 13:14:52 +03:00
Ivan Kravets b82eaca45e Enable caching for PIP when building contrib-pysite 2020-05-02 15:29:24 +03:00
Ivan Kravets f7995ce49a PyLint fix 2020-04-29 12:56:54 +03:00
Ivan Kravets 2c2309acac Bump version to 4.3.4a1 2020-04-29 12:41:56 +03:00
Ivan Kravets 5f79ab34f5 Automatically build `contrib-pysite` package on a target machine when pre-built package is not compatible // Resolve #3482 2020-04-29 12:40:04 +03:00
Ivan Kravets 72e7492a78 Bump version to 4.3.3 2020-04-28 18:06:46 +03:00
Ivan Kravets 5e4b4bbacd Fix "UnicodeDecodeError: 'utf-8' codec can't decode byte" when non-Latin chars are used in project path // Resolve #3481 2020-04-28 18:05:08 +03:00
Ivan Kravets f35e6e99af Bump version to 4.3.2 2020-04-28 13:25:52 +03:00
Ivan Kravets 5d8440fdd1 PyLint fixes 2020-04-28 12:48:15 +03:00
Ivan Kravets d1b394b20a Bump version to 4.3.2rc2 2020-04-27 23:42:22 +03:00
Ivan Kravets 520d6decac Nominate some exceptions to UserSideException 2020-04-27 23:42:02 +03:00
Ivan Kravets 4a251f0ab0 Fix JSONDecodeError when bottle.SimpleTemplate is used 2020-04-27 23:41:36 +03:00
Ivan Kravets c215abb50c Bump version to 4.3.2rc1 2020-04-26 19:46:33 +03:00
Ivan Kravets 31ca47837d Disable build cache for Github Actions 2020-04-26 12:58:32 +03:00
Ivan Kravets 560699fc6b Apply formatting 2020-04-26 12:58:05 +03:00
Valerii Koval ac1210fbea Add -imacros files to forcedInclude field in VSCode template 2020-04-26 00:35:22 +03:00
Valerii Koval c03f93521b Refactor PIO Check feature (#3478)
* Add new option --skip-packages for check command

Check tools might fail if they're not able to preprocess source
files, for example, Cppcheck uses a custom preprocessor that is
not able to parse complex preprocessor code in zephyr framework).
Instead user can specify this option to skip headers included from
packages and only check project sources.

* Fix toolchain built-in include paths order
C++ and fixed directories should have higher priority

* Refactor check feature

The main purpose is to prepare a more comprehensive build environment.
It's crucial for cppcheck to be able to check complex frameworks like
zephyr, esp-idf, etc. Also detect a special case when cppcheck fails to check
the entire project (e.g. a syntax error due to custom preprocessor)

* Add new test for check feature

Tests ststm32 platform all tools and the main frameworks

* Update check tools to the latest available versions

* Test check tools and Zephyr framework only with Python 3

* Tidy up code

* Add history entry
2020-04-26 00:10:41 +03:00
Ivan Kravets 62ede23b0e Bump version to 4.3.2b1 2020-04-25 15:48:55 +03:00
Ivan Kravets 60f28599d9 Echo what is typed when "send_on_enter" device monitor filter is used // Resolve #3452 2020-04-25 15:48:37 +03:00
Ivan Kravets 629f23c4f3 Bump version to 4.3.2a4 2020-04-25 13:20:56 +03:00
Ivan Kravets 27db344739 Bump version to 4.3.2a3 2020-04-25 13:15:55 +03:00
Ivan Kravets 777a47fd99 Minor improvements 2020-04-25 13:14:54 +03:00
Ivan Kravets b285c3137a Extend remote hosts with PlatformIO when checking internet connection 2020-04-24 16:25:02 +03:00
ShahRustam 0a46b8ab6a add login with code method for account client. add new account rpc handler. (#3468) 2020-04-21 22:44:32 +03:00
Valerii Koval a556573a4f Move env dependent directories to appropriate CMAKE_BUILD_TYPE // Issue #3460
This will allow to dynamically populate list of sources depending on
selected environment. At the same time "src" and "lib" folders remain
common for all environments
2020-04-21 22:01:07 +03:00
Valerii Koval fd91819b2c Fix missing include paths for check tools
Includes are now split by scopes and imported as a dictionary
2020-04-21 19:26:00 +03:00
Valerii Koval 24c04057e9 CLion: Add paths to libraries specified via lib_extra_dirs option (#3463)
* Add paths to libraries specified via lib_extra_dirs option

Besides, global folders in SRC_LIST seem a bit unnecessary
since there might be unused libraries in these folders

* Refactor processing of includes when exporting IDE/Editor projects

Split includes according to their source. That will help export includes in a more flexible way.
For example some IDEs don't need include paths from toolchains

* Add new record to history log

* Typo fix
2020-04-21 17:37:55 +03:00
Ivan Kravets 2960b73da5 Fix an issue when PIO Remote agent was not reconnected automatically 2020-04-21 12:32:03 +03:00