Ivan Kravets
abf6304818
Fixed an issue when using "Interpolation of Values" and merging str+int options // Resolve #4271
2022-05-17 16:03:33 +03:00
Ivan Kravets
b764a2220f
Improved support for the renamed configuration options // Resolve #4270
2022-05-17 13:33:25 +03:00
Ivan Kravets
19853b0b66
Implement config.get_default_env()
2022-05-14 17:55:36 +03:00
Ivan Kravets
ed0b12dcf9
Improve project config parser to resolve renamed options // Issue #4259
2022-05-12 13:24:27 +03:00
Ivan Kravets
653f22f85b
Fix issue with nested interpolation
2022-05-04 14:52:11 +03:00
Ivan Kravets
df3a13fc61
Move MISSING to the compat
2022-04-19 11:32:36 +03:00
Ivan Kravets
965feccfdc
Extended Interpolation of Values with "${this}" pattern // Resolve #3953
2022-04-09 20:31:06 +03:00
Ivan Kravets
5e18f9bbda
Finally removed all tracks to the Python 2.7
2022-04-09 17:46:21 +03:00
Ivan Kravets
86bd0f7c37
Show current working directory, not a path to platformio.ini
2022-02-11 22:21:44 +02:00
Ivan Kravets
04e9f38e0e
Check for default core dir in run-time (solves issue with tests)
2021-12-02 15:06:58 +02:00
Ivan Kravets
014090c407
Fixed an issue when referencing "*_dir" option from a custom project configuration environment // Resolve #4110
2021-12-02 14:19:54 +02:00
Ivan Kravets
e40b251c06
Fixed a bug when the system environment variable does not override a project configuration option // Resolve #4125
2021-12-02 13:13:07 +02:00
Ivan Kravets
8c8a94fc71
Run config option validation even in raw mode
2021-10-26 15:41:41 +03:00
Ivan Kravets
c0f2275b61
Restore ProjectConfig.get_optional_dir API, "platformio-node-helpers" depends on it
2021-10-26 14:34:32 +03:00
Ivan Kravets
7d7480c120
Show human-readable message when infinite recursion is detected while processing "Interpolation of Values" // Resolve #3883
2021-10-24 22:21:15 +03:00
Ivan Kravets
78182fea0a
Disabled resolving of SCons variables when preprocessing "Interpolation of Values" // Resolve #3933
2021-10-24 21:27:25 +03:00
Ivan Kravets
4839fe37a3
Improved PlatformIO directory interpolation (${platformio.***_dir}) in “platformio.ini” configuration file // Resolve #3934
2021-10-24 18:19:40 +03:00
Ivan Kravets
5b091b602f
Fixed a “TypeError” issue when extending configuration option in “platformio.ini” with the multi-line default value // Resolve #4082
2021-10-20 15:35:01 +03:00
Ivan Kravets
d819617d2b
Specify encoding for "open()" functions
2021-08-28 13:10:07 +03:00
Mikhail
7dc8463da9
Fix charmap error ( #3998 )
...
* Fix charmap error
Fix charmap error on cyrilic in platformio.ini file #3493
* Update config.py
Co-authored-by: Ivan Kravets <me@ikravets.com >
2021-07-07 18:25:55 +03:00
Ivan Kravets
b35c5a22bb
Fix a broken support for custom configuration file for pio debug command // Resolve #3922
2021-04-11 22:21:01 +03:00
Ivan Kravets
eebdf04357
Load "idedata" configuration from a dumped file
2021-03-19 13:46:27 +02:00
Ivan Kravets
a78db17784
Drop support for Python 2
2021-03-19 00:21:44 +02:00
Ivan Kravets
c0357daf01
Remove Python 2 code
2021-03-17 21:08:06 +02:00
Ivan Kravets
5a1b0e19b2
Initialize a new project or update existing passing working environment name and its options // Resolve #3686
2020-10-29 22:59:48 +02:00
Ivan Kravets
5cc21511ad
Show owner name for packages
2020-09-02 16:07:16 +03:00
Ivan Kravets
0eb8895959
Add support for “globstar/**” (recursive) pattern
2020-05-26 14:25:28 +03: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
36a2228220
Fixed "TypeError: unsupported operand type(s)" when system environment variable is used by project configuration parser // Resolve #3377
2020-02-13 13:34:34 +02:00
Ivan Kravets
2763853d8d
Fixed an issue when no error is raised if referred parameter (interpolation) is missing in a project configuration file // Resolve #3279
2020-02-08 19:10:48 +02:00
Ivan Kravets
81960ce051
Fix test
2020-02-06 17:41:35 +02:00
Ivan Kravets
09b3df5520
Fixed a "UnicodeDecodeError" when listing built-in libraries on macOS with Python 2.7 // Resolve #3370
2020-02-05 22:25:06 +02:00
Ivan Kravets
880d5bb8b0
Fix project saving
2020-01-25 20:47:10 +02:00
Ivan Kravets
e5aa71e4e1
Fix config saving when PY2 is used
2020-01-25 15:47:45 +02:00
Ivan Kravets
ba441ca77c
Remove double blank lines when saving project config // Resolve #3293
2020-01-24 22:15:33 +02:00
Ivan Kravets
49ceadc6ad
Move exceptions to their components
2019-11-28 16:15:54 +02:00
Ivan Kravets
47469e8759
Fix issue when None value is passed to config.set
2019-11-27 18:08:32 +02:00
Ivan Kravets
5b1c6daa2a
Fix a space in config header
2019-11-16 23:09:18 +02:00
Ivan Kravets
bcf09964ab
Better formatting for multi-line values in config option
2019-11-06 00:03:08 +02:00
Ivan Kravets
7345d3ea19
Improve dump of config data
2019-11-05 00:17:39 +02:00
Ivan Kravets
0a4bc1d4e3
Add "description" for project config options, configure "default" values
2019-11-02 19:41:39 +02:00
Ivan Kravets
1d5d09feab
Fixed an issue when Project Config Parser does not remove in-line comments when Python 3 is used // Remove #3213
2019-10-31 22:04:57 +02:00
Ivan Kravets
8ccf9d2e53
Implement project config "update" with "clear" option
2019-10-31 15:26:34 +02:00
Ivan Kravets
3146ab5d12
Allow export project config data as Tuple
2019-10-30 19:09:32 +02:00
Ivan Kravets
065607b68c
Disable PyLint's "import-outside-toplevel"
2019-10-18 15:41:52 +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
55d905a0d0
Add a new RPC method "project.config_call" for Home API
2019-10-12 20:00:12 +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
fe237f15aa
Implement "extends" for project configuration // Resolve #2953
2019-08-31 23:39:41 +03:00