Commit Graph

92 Commits

Author SHA1 Message Date
Ivan Kravets
4d84d03a63 Black 2019-10-18 15:56:41 +03:00
Ivan Kravets
065607b68c Disable PyLint's "import-outside-toplevel" 2019-10-18 15:41:52 +03:00
Ivan Kravets
d2abac9b18 Fixed an issue when configuration file options partly ignored when `--project-conf` // Resolve #3034 (#3055)
* Fixed an issue when configuration file options partly ignored when using custom ``--project-conf`` // Resolve #3034

* Py2 compatible makedirs

* Fix circle dependency

* Fix broken import in test examples

* Fix history

* Remove YAPF markers

* PyLint fix

* Fix invalid project conf path

* Move PIO Core to the root on Windows, issue with long CPPPATHs

* Respect global PLATFORMIO_BUILD_CACHE_DIR env var

* Fix Appveyor paths

* Minor changes
2019-09-27 14:13:53 +03:00
Ivan Kravets
7c41c7c2f3 Introduce Black to automate code formatting 2019-09-23 23:13:48 +03:00
Ivan Kravets
0677bcecb9 Improve printing of tabulated results 2019-08-17 20:55:16 +03:00
Ivan Kravets
6a90388649 Move FS related helpers to fs.py module 2019-08-12 19:44:37 +03:00
Ivan Kravets
b0aa4c6682 Renamed "enable_ssl" setting to "strict_ssl" 2019-07-17 00:53:40 +03:00
Ivan Kravets
71c4201487 Do not save unnecessary data for PIO Home 2019-07-16 14:15:48 +03:00
Ivan Kravets
ffcf6b873a Use native Windows API for getting My Documents folder path 2019-07-08 17:21:28 +03:00
Ivan Kravets
c79d5f0cf1 Fix an issue saving modified State 2019-07-02 15:52:12 +03:00
Ivan Kravets
bf9552bd56 Free lock when state is deleted 2019-07-02 00:45:35 +03:00
Ivan Kravets
d2c86ab71c Refactor state to a proxied dictionary 2019-07-02 00:41:47 +03:00
Ivan Kravets
6d9de80f12 Better comparison for app state changes 2019-07-01 20:42:23 +03:00
Ivan Kravets
394d272324 Fix numerous issues related to "UnicodeDecodeError" and international locales, or when project path contains non-ASCII chars // Resolve #143, Resolve #1342, Resolve #1959, Resolve #2100 2019-06-05 17:57:22 +03:00
Ivan Kravets
e269c91d26 Improve compatibility with hashlib Py2/Py3 2019-06-03 13:30:35 +03:00
Ivan Kravets
3df01405a1 Remove unused Python imports 2019-05-27 22:25:22 +03:00
Ivan Kravets
19725fec04 Add options to override default locations used by PlatformIO Core // Resolve #1615 2019-05-24 20:49:05 +03:00
Ivan Kravets
971049b41c Move process related helpers to "proc" module 2019-05-16 21:03:15 +03:00
Ivan Kravets
834206ff20 Move Python or Platform dependent code to "compat" module 2019-05-10 17:26:10 +03:00
Ivan Kravets
eb57e14ac1 Fix "ValueError: invalid literal for int() with base 10" // Resolve #2061 2019-01-23 17:54:45 +02:00
Ivan Kravets
3cc996d89f Fix "ValueError: invalid literal for int() with base 10" // Resolve #2058 2019-01-22 21:59:26 +02:00
Ivan Kravets
74218f4f93 Fix PyLint warning for Windows 2018-12-26 22:33:21 +02:00
Ivan Kravets
a60c57ac58 Initial support for Python 3.5+ // Resolve #895 Resolve #1365 2018-12-26 20:54:29 +02:00
Ivan Kravets
afdfaeec68 Check if "_lockfile" attribute exists 2018-12-03 18:31:12 -08:00
Ivan Kravets
e6fa8654ad YAPF 2018-09-20 14:55:55 +03:00
Ivan Kravets
d448a0ec5c Switch docs to HTTPS 2018-08-15 19:44:02 +03:00
Ivan Kravets
e1578dabac Lock interprocess requests to PlatformIO Package Manager for install/uninstall operations // Resolve #1462 2018-07-14 22:10:56 +03:00
Ivan Kravets
ad52f618cf Save data in UTF-8 by default 2018-03-20 01:14:29 +02:00
Ivan Kravets
bbb32607ed Catch UnicodeError when saving content cache 2018-03-20 01:06:05 +02:00
Ivan Kravets
c20cd1b464 Do not load automaically JSON from cached resources 2018-03-19 17:16:51 +02:00
Ivan Kravets
6ec1890f52 Fix GitHub's "TLSV1_ALERT_PROTOCOL_VERSION" issue when upgrading PIO Core to development version 2018-03-03 14:36:17 +02:00
Ivan Kravets
fab4f00ad4 Reformat exceptions 2017-12-23 19:48:16 +02:00
Ivan Kravets
7b8c68c934 Show error information when permissions are broken to PIO home dir 2017-12-19 15:05:41 +02:00
Ivan Kravets
05081561c3 Minor fixes 2017-12-16 01:07:03 +02:00
Ivan Kravets
42fb589369 Refactor PyLint "inconsistent-return-statements" 2017-12-15 22:16:37 +02:00
Ivan Kravets
bd611bbee8 Allow to change default projects location // Resolve #1161 2017-12-14 16:52:13 +02:00
Ivan Kravets
2522d19453 Fix issue when API cache is turned off 2017-12-14 14:55:04 +02:00
Ivan Kravets
8b4104bf5b YAPF 2017-11-22 21:09:16 +02:00
Ivan Kravets
61fc7d8589 Fix issue when can not load broken PIO Core state 2017-06-28 01:01:03 +03:00
Ivan Kravets
4d1a135d76 Apply YAPF 2017-06-05 16:05:05 +03:00
Ivan Kravets
45e75f7473 Copyright (c) 2014-present PlatformIO <contact@platformio.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2017-06-05 16:02:39 +03:00
Ivan Kravets
eafa586fdc Implement a delete functionality for State & ContentCache 2017-05-26 00:45:56 +03:00
Ivan Kravets
56d4d545c1 Don’t raise error when cache item has been deleted from another thread 2017-05-01 01:33:51 +03:00
Ivan Kravets
44be1dc1c7 Some fixes for new PyLint 2017-04-15 16:36:59 +03:00
Ivan Kravets
84d5fbcfe5 Don’t lock cache directory while cleaning 2017-02-02 02:52:07 +02:00
Ivan Kravets
50dc608456 Cleanup cache on platform update 2017-02-01 14:52:32 +02:00
Ivan Kravets
3d6dab39ca Minor fixes for content cacher 2017-02-01 02:49:25 +02:00
Ivan Kravets
b6e09c5da4 Fix direct access to non-existing ContentCache data 2016-12-26 14:44:19 +02:00
Ivan Kravets
c504001f04 PlatformIO Library Registry statistics with new pio lib stats 2016-12-23 21:57:11 +02:00
Ivan Kravets
ac01a37f5f Improve content caching system 2016-12-07 00:38:59 +02:00