Commit Graph

3930 Commits

Author SHA1 Message Date
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
Ivan Kravets
2312ca929d Cleanup code 2023-04-27 14:19:31 +03:00
Ivan Kravets
6f0b1fbb91 Resolved an issue where multiple targets were not executed sequentially // Resolve #4604 2023-04-25 22:32:18 +03:00
Ivan Kravets
c8eea40dd0 Better handling "clean" & "monitor" targets 2023-04-25 20:47:04 +03:00
Ivan Kravets
53cd43b676 Remove obsolate code 2023-04-25 16:32:17 +03:00
Ivan Kravets
981266646c Force drive letter to lower case when calculating project checksum on Windows // Resolve #4600 2023-04-24 18:24:35 +03:00
Ivan Kravets
0acf968b2d Return result for JSON RPC 2023-04-24 18:20:15 +03:00
Ivan Kravets
1e5a728f3c Return result for JSON RPC 2023-04-24 16:43:42 +03:00
Ivan Kravets
c4d178e50e Bump version to 6.1.7b2 2023-04-22 22:32:42 +03:00
Ivan Kravets
b991d9f25c Do not normalize path to abs if directory does not exist 2023-04-21 12:52:39 +03:00
Ivan Kravets
82d380d895 Improve docs for "build_flags" 2023-04-21 11:40:54 +03:00
Ivan Kravets
9344f3cd81 Revert "Improved support for projects located on Windows network drives // Issue #3417"
This reverts commit a0c959be28.
2023-04-21 11:25:48 +03:00
Ivan Kravets
6ee9cc04fb Minor SCons optimizations 2023-04-20 22:29:00 +03:00
Ivan Kravets
a0c959be28 Improved support for projects located on Windows network drives // Issue #3417 2023-04-20 19:34:15 +03:00
Ivan Kravets
df896ad401 Fix normalizing path to unix // Resolve #4117 2023-04-20 18:58:04 +03:00
Ivan Kravets
743fc8e636 Improved support for projects located on Windows network drives // Resolve #3417 2023-04-20 18:57:22 +03:00
Ivan Kravets
fa255ff8b3 Provide verbose unpacking in non-terminal mode 2023-04-20 14:21:34 +03:00
Ivan Kravets
97a7cdd2a2 Check simultaneous use of monitor_raw and monitor_filters 2023-04-18 21:35:22 +03:00
Ivan Kravets
f71317dad9 Bump version to 6.1.7b1 2023-04-17 13:17:27 +03:00
Ivan Kravets
4444a0db99 Implement PIO Home PlatformRPC 2023-04-17 13:15:21 +03:00
Ivan Kravets
e8ffa244e5 Better handling of verbosity in debug mode 2023-04-17 13:15:00 +03:00
Ivan Kravets
7e9b637143 Resolved an issue where the PlatformIO Debugging solution was not escaping the tool installation process into MI2 correctly // Resolve #4565 2023-04-15 19:21:46 +03:00
Ivan Kravets
0d9ee75b05 Resolved an issue where native tests would fail if a custom program name was specified // Resolve #4546 2023-04-15 13:40:53 +03:00
Ivan Kravets
66fe55668e Resolved an issue where the incorrect debugging environment was generated for VSCode in "Auto" mode // Resolve #4597 2023-04-12 22:21:51 +03:00
Ivan Kravets
5c3ae15bee Store device monitor logs in the project "logs" directory // Resolve #4596 2023-04-12 20:02:26 +03:00
Ivan Kravets
58a1d5d96e Revert "InoToCpp: add ':' to arguments regexp" (#4595)
Revert "InoToCpp: add ':' to arguments regexp (#4586)"

This reverts commit 71bb84f3f2.
2023-04-12 14:18:33 +03:00
Max Prokhorov
71bb84f3f2 InoToCpp: add ':' to arguments regexp (#4586)
InoToCpp: allow ':' in arguments
2023-04-07 22:58:08 +03:00
Ivan Kravets
0fb064eba3 Fixed an issue where organization details could not be updated 2023-03-27 18:59:06 -06:00
Ivan Kravets
62e9589851 Use the built-in SCons "compile_db" tool 2023-03-26 14:36:51 -06:00
Ivan Kravets
7d86eebe77 Upgraded the build engine to the latest version of SCons (4.5.2) 2023-03-26 14:35:59 -06:00
Ivan Kravets
4b446b0d72 Fixed an issue when "build_cache_dir" was not honored across different environments // Resolve #4574 2023-03-20 15:40:24 -06:00
Ivan Kravets
f43f41cc53 Format code 2023-03-20 15:39:51 -06:00
Ivan Kravets
00c5d30ce9 Bump version to 6.1.7a4 2023-03-20 15:00:59 -06:00
Ivan Kravets
269d5e0a3e Added validation for project working environment names 2023-03-20 15:00:22 -06:00
Ivan Kravets
331ff2dc9c Format code 2023-03-20 12:38:40 -06:00
Ivan Kravets
a24cf50413 Minor fixes 2023-03-18 23:13:24 -06:00
Ivan Kravets
8d33a3d151 Do not build project when only "monitor" target is passed 2023-03-18 22:41:14 -06:00