Commit Graph

3966 Commits

Author SHA1 Message Date
Ivan Kravets 82de26d401 Bump version to 6.1.8b1 2023-06-21 13:56:50 +03:00
Dawid Nowak 31218060db ProjectOptionValueError: displays the config option description (#4674)
ProjectOptionValueError: display the config option description

It gives a bit more context of the problem for the user.

Example message with the description included:

`Error: Invalid value: 'invalid_debug_mode' is not one of 'always', 'modified', 'manual'. for option `debug_load_mode` (Allows one to control when PlatformIO should load debugging firmware to the end target) in section [env:nodemcu]`

Co-authored-by: Ivan Kravets <me@ikravets.com>
2023-06-21 13:49:22 +03:00
Ivan Kravets e25b170b34 Show error name when raising UserSideException 2023-06-21 13:47:45 +03:00
Ivan Kravets 326ebcf593 Support -std=gnu++2a and similar standards // Issue #3653 2023-06-21 12:45:28 +03:00
Dawid Nowak 8b604c1a03 fix typo in a method name (#4672) 2023-06-20 21:03:57 +03:00
Ivan Kravets f219f35ac8 Updated the "pio project metadata" command to return C/C++ flags as parsed Unix shell arguments 2023-06-20 20:55:00 +03:00
Ivan Kravets 4d89593b05 Removed PlatformIO IDE for Atom from the documentation as Atom has been deprecated 2023-06-20 17:53:37 +03:00
Ivan Kravets 3881a8c677 Removed PlatformIO IDE for Atom from the documentation as Atom has been deprecated 2023-06-20 14:47:20 +03:00
Ivan Kravets e9cf551101 Added a new --lint option to the pio project config command // Resolve #4644 2023-06-20 14:25:30 +03:00
Ivan Kravets 5ffa42a5a2 Eliminated erroneous warning regarding the use of obsolete PlatformIO Core // Resolve #4664 2023-06-19 19:01:05 +03:00
Ivan Kravets a5052433f2 Refactored Unit Testing engine to resolve compiler warnings with "-Wpedantic" option // Resolve #4671 2023-06-19 16:49:14 +03:00
Ivan Kravets 425332040e Bump version to 6.1.8a5 2023-06-19 14:25:21 +03:00
Ivan Kravets 3a230dfb51 Handle PlatformIO's "on_exit" event 2023-06-19 14:24:47 +03:00
Ivan Kravets 292dc3fd71 Update user-related exceptions to UserSideException 2023-06-19 11:40:40 +03:00
Ivan Kravets e48dfbaadc Update SPDX Data to v3.21 2023-06-19 11:38:43 +03:00
Ivan Kravets c0d2abc9a7 Call "on_platformio_end" when Click finished 2023-06-16 20:10:39 +03:00
Ivan Kravets d017a8197e Refactor event logging 2023-06-16 20:09:23 +03:00
Ivan Kravets 378528abfc Switch to Python's time module 2023-06-16 20:08:45 +03:00
Ivan Kravets 91487f179e Catch debug init error 2023-06-16 20:07:26 +03:00
Ivan Kravets 363fee4ba0 Use direct urllib3 module 2023-06-16 20:06:46 +03:00
Ivan Kravets 41cc735979 VCS base exception is UserSideException 2023-06-16 20:06:00 +03:00
Ivan Kravets c9235a5276 Use UTC-based timestamp 2023-06-09 15:18:07 +03:00
Ivan Kravets 355f5afab9 * Optimized project integration templates to address the issue of long paths on Windows // Resolve #4652 2023-06-08 15:03:42 +03:00
Ivan Kravets e3c33596db Use python -m pip instead of pip 2023-06-07 12:13:55 +03:00
Ivan Kravets 9df692529b Bump version to 6.1.8a4 2023-06-06 14:23:30 +03:00
Ivan Kravets 141d6fc4a6 Use unix timestamp as session id 2023-06-06 14:23:19 +03:00
Ivan Kravets 6bc915f7db Bump version to 6.1.8a3 2023-06-06 14:15:02 +03:00
Ivan Kravets 4ae24a619f Implement anonymous session mechanism to respect user privacy 2023-06-06 14:14:38 +03:00
Ivan Kravets 55e7b36dc4 Minor fixes 2023-06-05 18:51:58 +03:00
Ivan Kravets 395a4053aa Bump version to 6.1.8a2 2023-06-05 18:25:02 +03:00
Ivan Kravets cb65bdf22f Enhance user privacy protection through refined telemetry implementation 2023-06-05 18:24:42 +03:00
Ivan Kravets eeb0116f28 Skip exception when fetching SSL settings 2023-06-01 18:41:50 +03:00
Ivan Kravets 63ca19541f Enhance the parsing of the platformio.ini to provide comprehensive diagnostic information 2023-05-31 20:15:36 +03:00
Ivan Kravets 148ce1a897 Bump version to 6.1.8a1 2023-05-08 18:03:34 +03:00
Ivan Kravets 41fb1ca8bd Bump version to 6.1.7 2023-05-08 17:58:23 +03:00
Ivan Kravets f8f3e9863e Bump version to 6.1.7rc2 2023-05-04 23:14:21 +03:00
Ivan Kravets eb20f3410a Minor fixes 2023-05-04 23:13:10 +03:00
Ivan Kravets 681b90e6b2 Implement ProjectRPC.create_empty 2023-05-03 22:28:16 +03:00
Ivan Kravets c016d6827b Implement RPC notification system 2023-05-03 22:27:00 +03:00
Ivan Kravets f840577066 Remove unnecessary logging 2023-05-03 22:26:12 +03:00
Ivan Kravets 475c5d2a3c Implement native async RPC core.exec 2023-05-03 22:25:44 +03:00
Ivan Kravets f9cbf6cb97 Set caller id when available 2023-05-03 11:22:19 +03:00
Ivan Kravets d728e0e873 Introduced a new --sample-code option to the pio project init command 2023-05-03 11:21:49 +03:00
Ivan Kravets 7876626f04 Add BaseRPCHandler 2023-05-02 21:47:10 +03:00
Dawid Nowak f6aa95a4fe test/runners/unity.py: fixed warnings: [-Wunused-parameter] (#4610)
They appear when the tests are run with the `Wextra` flag.

I know of 3 possible solutions:
* A.) `static_cast<void>(unusedParameter);` – the preferred C++ way, but `unity` can also be used with `C`
* B.) `(void) unusedParameter;` – "old" C–style casting – the one I used – compatible with both C and C++
* C.) remove `unusedParameter` var from the function arguments – but keeping the name better explains what it is

```
Library Manager: Installing throwtheswitch/Unity @ ^2.5.2
Unpacking  [####################################]  100%
Library Manager: Unity@2.5.2 has been installed!
.pio/build/native/unity_config/unity_config.c:39:37: warning: unused parameter 'baudrate' [-Wunused-parameter]
void unityOutputStart(unsigned long baudrate) { }
                                    ^
1 warning generated.
Testing...
```
2023-05-01 14:30:27 +03:00
Ivan Kravets 4596acab81 Add os.call_path_module_func RPC 2023-05-01 11:37:44 +03:00
Ivan Kravets 1d0d89a4fa Remove unused code 2023-04-29 16:48:14 +03:00
Ivan Kravets 2908efd337 Bump version to 6.1.7rc1 2023-04-27 22:56:39 +03:00
Ivan Kravets 9dc6ed031f Resolved an issue where upgrading PlatformIO Core fails on Windows with Python 3.11 // Resolve #4540 2023-04-27 22:56:25 +03:00
Ivan Kravets 2c94fb2aad Resolved installation issues with PIO Remote on Raspberry Pi and other small form-factor PCs // Resolve #4425 , Resolve #4493 , Resolve #4607 2023-04-27 14:24:34 +03:00