Commit Graph

185 Commits

Author SHA1 Message Date
Ivan Kravets
5f3ad70190 Rename meta.PackageSourceItem or PackageItem 2020-08-14 16:38:46 +03:00
Ivan Kravets
d5451756fd Minor improvements 2020-08-12 20:09:10 +03:00
Ivan Kravets
893ca1b328 Switch library manager to the new package manager 2020-08-12 13:27:05 +03:00
Ivan Kravets
39cb23813f Allow ignoring "platforms" and "frameworks" fields in "library.json" and treat a library as compatible with all 2020-07-25 11:51:47 +03:00
Ivan Kravets
ea30d94324 Automatically enable LDF dependency chain+ mode (evaluates C/C++ Preprocessor conditional syntax) for Arduino library when “library.properties” has “depends” field // Resolve #3607 2020-07-21 12:41:38 +03:00
Ivan Kravets
5d8440fdd1 PyLint fixes 2020-04-28 12:48:15 +03:00
Ivan Kravets
d32312e738 Fixed an issue when lib_archive = no was not honored in "platformio.ini" 2020-03-20 13:34:35 +02:00
Ivan Kravets
3ef96cb215 Minor fixes 2020-03-06 00:43:57 +02:00
Ivan Kravets
59e1c88726 Fixed an issue when `"libArchive": false` in "library.json" does not work // Resolve #3403 2020-03-06 00:37:48 +02:00
Ivan Kravets
ce6b96ea84 Use native open/io.open for file contents reading/writing 2020-03-05 23:52:13 +02:00
Ivan Kravets
5cc9a328ab Fixed an issue when Library Dependency Finder (LDF) ignores custom "libLDFMode" and "libCompatMode" options in library.json 2020-02-14 22:57:51 +02:00
Ivan Kravets
00a9a2c04d Generate `compilation database "compile_commands.json" // Resolve #2990 2020-02-06 17:19:48 +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
2f05040081 Fixed an issue with LDF when header files not found if "libdeps_dir" is within a subdirectory of "lib_extra_dirs" // Resolve #3311 2019-12-24 14:36:44 +02:00
Ivan Kravets
7c481291dc Warn about about broken library manifest when scanning dependencies // Resolve #3268 2019-11-12 18:14:06 +02:00
Ivan Kravets
7784743cb1 Switch to default values from project configuration options 2019-11-02 19:44:28 +02:00
Ivan Kravets
a18f8b2a4c Use default values from project options 2019-10-31 15:28:02 +02:00
Ivan Kravets
334d50c367 Use package parser for package manager and LDF 2019-10-24 13:42:46 +03:00
Ivan Kravets
dd1da95a40 Fix issue when wrong library was picked up by LDF when framework is not declared 2019-10-24 00:28:03 +03:00
Ivan Kravets
6684ac5a57 LDF: Check project include dirs before looking for dependencies 2019-10-23 22:55:02 +03:00
Ivan Kravets
b533d7a1dd LDF: Check global CPPPATH when looking for dependencies 2019-10-23 22:31:26 +03:00
Ivan Kravets
be9aaf8902 Be compatible with Python 3.8, on Windows skip HOME and check for USERPROFILE 2019-10-17 20:57:40 +03:00
Ivan Kravets
6218b773fd Better support for file contents writing // Issue #2796 2019-10-17 18:48:59 +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
fa090131ae Do not parse visited source files for LDF 2019-08-27 00:15:12 +03:00
Ivan Kravets
2eecbf966c Fixed an issue with a broken LDF when checking for framework compatibility // Resolve #2940 2019-08-23 15:45:45 +03:00
Ivan Kravets
42ee6fe96e Fixed an issue when library.json had priority over project configuration for LDF // Resolve #2867 2019-08-19 15:54:07 +03:00
Ivan Kravets
04ebdf428b Move "match_src_files" to FS module 2019-08-12 20:32:26 +03:00
Ivan Kravets
6a90388649 Move FS related helpers to fs.py module 2019-08-12 19:44:37 +03:00
Ivan Kravets
affa54e5fc Fix an issue when lib_compat_mode = strict does not ignore libraries incompatible with a project framework 2019-07-04 16:46:54 +03:00
Ivan Kravets
4123aa4c23 Look in for "lib_deps" in all declared library storages // Resolve #2708 2019-06-28 13:27:05 +03:00
Ivan Kravets
17fa5f77d5 Fix LDF recursive behaviour 2019-06-23 21:23:19 +03:00
Ivan Kravets
c0a9ae5c70 Better handling of library.properties "architectures" meta data 2019-06-23 21:21:34 +03:00
Ivan Kravets
1339924c2e Print installation progress for "lib_deps" after LDF banner 2019-06-13 19:54:40 +03:00
Ivan Kravets
46eab99888 Typo fix 2019-06-13 18:31:03 +03:00
Ivan Kravets
461d71c2c7 Look firstly in built-in library storages for a missing dependency instead of PlatformIO Registry // Resolve #1654 2019-06-13 18:22:36 +03:00
Ivan Kravets
1ccc526960 Revert "Revert back "Look firstly in built-in library storages""
This reverts commit 4ae302762a.
2019-06-13 13:08:53 +03:00
Ivan Kravets
4ae302762a Revert back "Look firstly in built-in library storages" 2019-06-13 00:42:10 +03:00
Ivan Kravets
d5c98e4f27 Look firstly in built-in library storages for a missing dependency instead of PlatformIO Registry // Resolve #1654 2019-06-12 22:02:59 +03:00
Ivan Kravets
e269c91d26 Improve compatibility with hashlib Py2/Py3 2019-06-03 13:30:35 +03:00
Ivan Kravets
c5177efd0b Minor fixes 2019-06-01 22:24:38 +03:00
Ivan Kravets
6257480d0d Print platform package details, such as version, VSC source and commit // Resolve #2155 2019-06-01 19:44:45 +03:00
Ivan Kravets
61db0f1d6a YAPF 0.27.0 2019-05-30 23:42:15 +03:00
Ivan Kravets
0ce2343836 Do not pass project settings as SCons arguments // Resolve #1637 2019-05-30 17:08:00 +03:00
Ivan Kravets
a6e5a0c7f5 Fix an issue for Project Generator when include path search order is inconsistent to what passed to the compiler // Resolve #2509 2019-05-24 16:06:27 +03:00
Ivan Kravets
9a95b0df56 Fix handling custom includeDir and srcDir for library.json // Resolve #2518 2019-05-24 01:15:47 +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
899de600e4 Fix broken "util.string_types" 2019-05-16 21:11:21 +03:00
Ivan Kravets
834206ff20 Move Python or Platform dependent code to "compat" module 2019-05-10 17:26:10 +03:00