Commit Graph

65 Commits

Author SHA1 Message Date
Ivan Kravets 0f02b3b653 Improved support for Arduino "library.properties" `depends` field 2020-03-07 17:44:28 +02:00
Ivan Kravets efe8e599fd Added support for Arduino's library.properties `depends` field // Resolve #2781 2020-02-05 00:04:16 +02:00
Ivan Kravets 334d50c367 Use package parser for package manager and LDF 2019-10-24 13:42:46 +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 ed39a755bc Update to semantic_version 2.8.0 2019-08-29 13:49:52 +03:00
Ivan Kravets b0aa4c6682 Renamed "enable_ssl" setting to "strict_ssl" 2019-07-17 00:53:40 +03:00
Ivan Kravets 98513c9967 Fix nested import 2019-06-12 23:47:22 +03:00
Ivan Kravets bcff26d4d7 Refactor using "@util.memoized" 2019-06-06 00:13:04 +03:00
Ivan Kravets 61db0f1d6a YAPF 0.27.0 2019-05-30 23:42:15 +03:00
Ivan Kravets 3f96dc1432 Fixed an issue when package cache (Library Manager) expires too fast // Resolve #2559 2019-05-27 12:24:20 +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 8643f0454e Move "glob_escape" and "get_file_contents" helpers to "compat" module 2019-05-17 13:18: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 947e31ca8d Fix some PyLint errors 2019-05-07 23:51:46 +03:00
Ivan Kravets 237d55208c Fix "Unnecessary "else/elif" after "raise"" by PyLint 2019-03-07 12:35:34 +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 5c278b54f7 Use "super" when calling parent class // Issue #895 2018-10-27 15:24:10 +03:00
Ivan Kravets e6fa8654ad YAPF 2018-09-20 14:55:55 +03:00
Ivan Kravets 2fb8128791 YAPF 2018-06-02 16:14:58 +03:00
Ivan Kravets 50c568c232 Fix "RuntimeError: maximum recursion depth exceeded" for library manager // Resolve #1528 2018-04-26 01:49:16 +03:00
Ivan Kravets d54327f1a9 Refactor @memoized decorator with expiration feature; cache installed boards per platform 2018-03-23 00:08:07 +02:00
Ivan Kravets 218a1dccf6 Fix issue with installing only the one platform package by specified type 2018-03-16 13:33:59 +02:00
Ivan Kravets 591e876660 Move http://platformio.org to https://platformio.org 2018-02-13 01:34:24 +02:00
Ivan Kravets 2b4b2eb571 Pass a list iterator directly to "any" or "all" functions 2018-01-18 22:04:43 +02:00
Ivan Kravets d822334fdd Drop "python-dateutil" dependency, implement light-weight "parse_date" 2018-01-16 00:57:06 +02:00
Ivan Kravets 3289b36450 Refactore code without "arrow" dependency (resolve issue with "ImportError: No module named backports.functools_lru_cache") 2018-01-16 00:06:24 +02:00
Ivan Kravets 24f314d73d Improve a work in off-line mode 2018-01-13 19:44:05 +02:00
Ivan Kravets ad08ed8d12 Improve support for partial package versions 2017-12-27 19:37:26 +02:00
Ivan Kravets 5dd97a35cc Reinstall/redownload package with a new `-f, --force` option // Resolve #778 2017-12-19 00:51:35 +02:00
Ivan Kravets 42fb589369 Refactor PyLint "inconsistent-return-statements" 2017-12-15 22:16:37 +02:00
Ivan Kravets 547e983a86 Improved handling of library dependencies defined as VCS or SemVer in platformio.ini // Resolve #1155 2017-11-25 19:22:00 +02:00
Ivan Kravets 53b37216cc Improve support for VCS packages 2017-11-25 00:31:16 +02:00
Ivan Kravets 25da978fee Add support for "author" field in library.json manifest // Resolve #1055 2017-09-21 15:07:38 +03:00
Ivan Kravets 674aa5c4d8 Decrease API cache timeouts 2017-09-09 20:57:25 +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 d0f2aa38ca Fixed infinite dependency installing when repository consists of multiple libraries // Resolve #935 2017-04-15 20:32:11 +03:00
Ivan Kravets ac245ad0a4 Handle circle dependencies for package // Resolve #919 2017-03-26 21:04:16 +03:00
Ivan Kravets 4e5f34ec19 Allow installing package by framework name 2017-03-26 19:43:00 +03:00
Ivan Kravets 2fe4b7c0ec Change manifests order for Library Manager 2017-03-08 17:33:25 +02:00
Ivan Kravets 58942c3f38 Significantly improve Package Manager // Resolve #913
* Handle dependencies when installing non-registry package/library (VCS, archive, local folder)
2017-03-08 17:24:58 +02:00
Ivan Kravets fe1846c2e1 YAPF formatting 2017-03-02 17:09:22 +02:00
Ivan Kravets 1143012216 Improve Package Manager when check for updates // Resolve #892 2017-01-30 20:21:16 +02:00
Ivan Kravets 8a7d255361 Handle libraries without manifests 2017-01-28 17:06:20 +02:00
Ivan Kravets b8de4b26b0 List built-in libraries based on development platforms with pio lib builtin command 2017-01-15 00:12:41 +02:00
Ivan Kravets 72e94398bf Improve output of pio lib list and pio lib search commands 2016-12-29 01:31:44 +02:00
Ivan Kravets e7cc94c27e Show detailed info about a library using pio lib show command // Resolve #430 2016-12-28 15:55:08 +02:00
Ivan Kravets 08cda5e7ea Enable caching by default for API requests and Library Manager 2016-12-05 18:51:25 +02:00