Commit Graph

237 Commits

Author SHA1 Message Date
Ivan Kravets 029e66cd06 PyLint fixes 2022-07-02 19:19:48 +03:00
Ivan Kravets b006f53010 PyLint: Fix "useless-object-inheritance" 2022-07-02 19:03:25 +03:00
Ivan Kravets 19d518fc4c Fix PyLint: Consider explicitly re-raising 2022-07-02 18:37:57 +03:00
Ivan Kravets 1f096fe03f Fixed "non-existent variable ''projenv''" when ESP-IDF is used // Resolve #4329 2022-06-28 14:28:52 +03:00
Ivan Kravets 1ea6d47110 Initialize unit testing target once per project builder 2022-06-25 22:44:35 +03:00
Ivan Kravets 284ccc9e8a Remove ProjectAsLibBuilder's singleton 2022-06-25 20:53:08 +03:00
Ivan Kravets 655eedd7b0 Export Unit Testing flags only to the project build environment 2022-06-25 20:20:13 +03:00
Ivan Kravets 300b7b2138 Minor improvements to the ProjectAsLibBuilder 2022-06-25 20:10:18 +03:00
Ivan Kravets 86c4bd69d2 Fixed an issue with the LDF when recursively scanning dependencies in the "chain" mode 2022-06-24 21:17:26 +03:00
Ivan Kravets 50cbc4d4e2 Allowed to Import("projenv") in a library extra script // Resolve #4305 2022-06-16 13:04:38 +03:00
Ivan Kravets e12bc9fe5f Do not resolve dependencies from the project "src" folder when the test_build_src option is not enabled 2022-06-15 18:05:55 +03:00
Ivan Kravets 2564b9eb78 Move http module to the root 2022-05-30 20:29:35 +03:00
Ivan Kravets 460a983ab2 Do not export empty scopes to the build environment 2022-05-26 19:15:15 +03:00
Ivan Kravets 6f6460fd4e Minor improvements 2022-05-26 19:10:58 +03:00
Ivan Kravets e27c1c39e4 Remove debug messages 2022-05-19 18:38:17 +03:00
Ivan Kravets 06ed9ba77d Fixed an issue when "build_src_flags" were applied outside project scope // Resolve #4277 2022-05-19 17:55:27 +03:00
Ivan Kravets 0c4c4ac657 Use globals() instead of sys.modules 2022-05-18 23:14:15 +03:00
Ivan Kravets 3f46a97b6b Fix LDF lib resolving 2022-05-07 16:44:11 +03:00
Ivan Kravets f19058df65 Try to resolve paths if the common part is not found 2022-05-06 19:40:00 +03:00
Ivan Kravets c4388a6904 Fixed an issue when LDF ignores build_src_flags in the “deep+” mode // Resolve #4253 2022-05-06 10:31:34 +03:00
Ivan Kravets ee43b86742 Introduce a new PlatformIO Unit Testing engine 2022-04-21 18:11:49 +03:00
Ivan Kravets 5a0a215bfc Use PY3 super() zero-argument syntax 2022-04-15 14:44:30 +03:00
Ivan Kravets 5515bef3d7 Add backward compatibility with ESP-IDF build script // Resolve #4225 2022-04-13 12:47:17 +03:00
Ivan Kravets 16f5374474 Typo fix 2022-04-08 21:58:29 +03:00
Ivan Kravets b414745aa1 Fixed an issue when LDF ignores the project "lib_deps" while resolving library dependencies // Resolve #3598 2022-04-08 18:37:16 +03:00
Ivan Kravets e2f21212b7 Added support for symbolic links allowing pointing the local source folder to the Package Manager // Resolve #3348 2022-04-04 23:14:19 +03:00
Ivan Kravets a03d82ff1a Replace package meta URL with URI 2022-04-04 14:18:11 +03:00
Ivan Kravets f289ebd1f3 Revert back lib deps tree to ascii chars 2022-04-03 23:17:29 +03:00
Ivan Kravets 279fdfc47a Show project dependency licenses when building in the verbose mode 2022-04-02 16:28:40 +03:00
Ivan Kravets b137b25169 Enhance library dependency tree 2022-03-23 17:55:27 +02:00
Ivan Kravets 83fe00a0cf Revert "Run library extra script only at a build process" (breaks mbed framework) // Issue #3915 2022-02-11 17:00:33 +02:00
Ivan Kravets e5fca99b52 Run library extra script only at a build process // Resolve #3915 2022-02-03 15:33:03 +02:00
Ivan Kravets 38cc493eb7 Minor improvements 2022-01-04 17:17:51 +02:00
Ivan Kravets 4687665ff3 Improved support for projects located on a network share // Resolve #3417 , Resolve #3926 , Resolve #4102 2021-11-12 15:17:25 +02:00
Ivan Kravets 1dd0635e5e Use secured bitly 2021-10-25 20:25:23 +03:00
Ivan Kravets 8afe4bae87 Typo fix 2021-10-08 15:31:26 +03:00
Ivan Kravets df83d90c06 Handle upper-cased "Include" & "Src" folders 2021-10-08 14:58:41 +03:00
Ivan Kravets e8769fff7d Improved handling of a library root based on "Conan" or "CMake" build systems // Resolve #3887 2021-09-29 19:21:31 +03:00
Ivan Kravets b6f783674b Allowed to override a default library builder via a new `builder field in a build group of library.json` // Resolve #3957 2021-09-26 15:27:41 +03:00
Ivan Kravets 369e994b0d Check for "build.mcu" and "build.cpu" when looking for precompiled library // Issue #405 2021-09-16 21:51:53 +03:00
Ivan Kravets 27f326673c Fixed a "KeyError: Invalid board option 'build.cpu'" when using a precompiled library with a board that does not have a CPU field in the manifest // Resolve #405 2021-09-16 21:13:54 +03:00
Ivan Kravets 55408f6ccb Fixed an issue when PlatformIO archives a library that does not contain C/C++ source files // Resolve #4019 2021-09-13 14:56:24 +03:00
Ivan Kravets dce5a39b10 Process "precompiled" and "ldflags" properties of the "library.properties" manifest // Resolve #3994 2021-09-13 14:48:48 +03:00
Ivan Kravets 131f4be4ea Fix PyLint's "use-dict-literal" and "use-list-literal" 2021-08-28 13:14:40 +03:00
Ivan Kravets d819617d2b Specify encoding for "open()" functions 2021-08-28 13:10:07 +03:00
Ivan Kravets a78db17784 Drop support for Python 2 2021-03-19 00:21:44 +02:00
Ivan Kravets bd4d3b914b Revert "lib_compat_mode" changes // Resolve #3811 Resolve #3806 2021-01-24 15:49:56 +02:00
Ivan Kravets 484567f242 Project's "lib_compat_mode" has higher priority than "library.json" 2021-01-23 15:54:52 +02:00
Ivan Kravets f9384ded27 Fixed an issue when “strict” compatibility mode was not used for a library with custom “platforms” field in library.json manifest // Resolve #3806 2021-01-22 22:45:36 +02:00
Ivan Kravets 083edc4c76 Refactor to os.path 2020-09-02 20:52:11 +03:00