Carl Hauser
39d05ebe7c
[rtns] Capture exitCode from ssh_channel_get_exit_status ( #7541 )
2024-12-12 19:18:02 -08:00
Tyler Veness
a04c40f589
Replace std::make_pair with std::pair CTAD ( #7405 )
2024-11-17 20:29:23 -08:00
Tyler Veness
db552317e7
[dlt, rtns] Fix libssh deprecation warnings ( #7284 )
...
```
/home/tav/frc/wpilib/allwpilib/roborioteamnumbersetter/src/main/native/cpp/SshSession.cpp: In member function ‘void rtns::SshSession::Execute(std::string_view)’:
/home/tav/frc/wpilib/allwpilib/roborioteamnumbersetter/src/main/native/cpp/SshSession.cpp:89:44: warning: ‘int ssh_channel_get_exit_status(ssh_channel)’ is deprecated [-Wdeprecated-declarations]
89 | INFO("{} {}", ssh_channel_get_exit_status(channel), cmd);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
```
```
/home/tav/frc/wpilib/allwpilib/roborioteamnumbersetter/src/main/native/cpp/SshSession.cpp:139:44: warning: ‘int ssh_channel_get_exit_status(ssh_channel)’ is deprecated [-Wdeprecated-declarations]
139 | INFO("{} {}", ssh_channel_get_exit_status(channel), cmd);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
```
```
/home/tav/frc/wpilib/allwpilib/roborioteamnumbersetter/src/main/native/cpp/SshSession.cpp:143:46: warning: ‘int ssh_channel_get_exit_status(ssh_channel)’ is deprecated [-Wdeprecated-declarations]
143 | *exitStatus = ssh_channel_get_exit_status(channel);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
```
```
/home/tav/frc/wpilib/allwpilib/datalogtool/src/main/native/cpp/Sftp.cpp:79:33: warning: ‘int sftp_async_read_begin(sftp_file, uint32_t)’ is deprecated [-Wdeprecated-declarations]
79 | int rv = sftp_async_read_begin(m_handle, len);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
```
```
/home/tav/frc/wpilib/allwpilib/datalogtool/src/main/native/cpp/Sftp.cpp: In member function ‘size_t sftp::File::AsyncRead(void*, uint32_t, AsyncId)’:
/home/tav/frc/wpilib/allwpilib/datalogtool/src/main/native/cpp/Sftp.cpp:87:28: warning: ‘int sftp_async_read(sftp_file, void*, uint32_t, uint32_t)’ is deprecated [-Wdeprecated-declarations]
87 | auto rv = sftp_async_read(m_handle, data, len, id);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
```
2024-10-23 20:34:54 -06:00
Gold856
22f086aba8
Fix app icons on Windows ( #7116 )
...
The SysId icon has a bunch of weird artifacting and it's not transparent on Windows. Some of the other icons have issues as well and all of them are inconsistent. GIMP was used to regenerate all the icons from the PNGs, using PNG compression on all the layers.
2024-09-22 23:54:23 -07:00
Tyler Veness
554024767e
Fix errors from new cpplint.py ( #7105 )
2024-09-20 17:43:39 -07:00
Ryan Blue
64df5e21c0
[build] cmake: Fix libssh search on windows ( #7081 )
...
This uses the package config files provided by libssh rather than the module file.
2024-09-14 14:47:12 -07:00
Gold856
9c35aa6bbf
[build] Remove redundant _M_ prefix from artifact file name ( #6983 )
2024-08-27 17:05:29 -07:00
Tyler Veness
e2143c4b5a
[rtns] Fix namespace of DeploySession and SshSession ( #6925 )
2024-08-10 23:39:35 -07:00
Ryan Blue
ceaac96ac8
[rtns] Fix crash when ssh error occurs during refresh ( #6936 )
2024-08-10 23:31:01 -07:00
PJ Reiniger
6922b9dd5e
[upstream_utils] Add imgui and friends ( #6822 )
2024-07-20 22:11:54 -07:00
Tyler Veness
19ea73ef69
[upstream_utils] Upgrade to fmtlib 11.0.0 ( #6796 )
2024-07-02 13:34:59 -07:00
Thad House
9d55941ce5
[build] Fix macOS apps not always being an application ( #6286 )
2024-01-21 20:41:08 -08:00
Thad House
e408f3ad27
[rtns] Add functionality to enable and disable webserver ( #6270 )
2024-01-20 20:15:30 -08:00
Tyler Veness
67e8306819
gitattributes: Mark C++ source files as text ( #6210 )
...
Some C++ files had been checked in with CRLF line endings.
This fixes those and also fixes future commits.
2024-01-12 10:53:56 -08:00
Tyler Veness
f29a7d2e50
[docs] Add missing JavaDocs ( #6146 )
2024-01-04 08:38:06 -08:00
Gold856
4fcf0b25a1
[build] Apply a formatter for CMake files ( #5973 )
2023-11-30 16:52:21 -08:00
Tyler Veness
5f651df5d5
[build] Clean up Gradle configs ( #5685 )
...
Putting an early exit if statement at the top instead of wrapping the
whole file contents unbreaks unit test configs, as was discovered for
SysId. It reduces nesting as well.
Unused plugins were removed from the beginnings of files as well.
2023-09-27 21:45:25 -07:00
Tyler Veness
383289bc4b
[build] Make custom CMake macros use lowercase ( #5594 )
...
Most of them already do use lowercase, and uppercase is like screaming
at the user.
2023-08-30 21:17:09 -07:00
Thad House
ea17f90f87
[build] Fix tool builds with multiple arm platforms installed ( #5586 )
2023-08-29 08:57:33 -07:00
Tyler Veness
165ebe4c79
Upgrade to fmt 10.1.0 ( #5326 )
2023-08-28 15:15:14 -07:00
Tyler Veness
338f37d302
Fix header sorting of libssh ( #5507 )
2023-08-05 14:16:55 -07:00
Thad House
91392823ff
[build] Update to gradle 8.1 ( #5303 )
2023-05-12 21:27:31 -07:00
Cory
9cbeb841f5
[rtns] Match imaging tool capitalization ( #5265 )
2023-04-28 20:57:12 -07:00
Peter Johnson
193a10d020
[wpigui] Limit frame rate to 120 fps by default ( #5030 )
...
Limiting with vsync is apparently unreliable on a number of systems;
this resulted in high CPU/GPU usage.
Also add current actual frame rate to about dialog of GUI tools.
2023-02-03 15:21:52 -08:00
Thad House
5e74ff26d8
[apriltag, build] Update native utils, add apriltag impl and JNI ( #4733 )
...
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
2022-11-30 00:16:29 -08:00
Thad House
b7ca860417
[build] Use build cache for sign step ( #4635 )
...
The signing step does not get passed the username and password to the server, so it will just read from the build cache. Then to make sure the tasks are all updated correctly, use if developerid exists as a property to all sign tasks, so it will see the new variable value, and relink. Additionally only update the archives during signing, which will speed up signing.
2022-11-14 19:23:13 -08:00
Thad House
648ab6115c
[wpigui,dlt,glass,ov] Support arm in GUI tools ( #4527 )
2022-10-26 23:16:23 -07:00
Tyler Veness
1fc098e696
Enable log macros to work with no args ( #4475 )
...
This is enabled by the C++20 __VA_OPT__ feature.
Uses of "{}" format string were updated.
Some warning suppressions were required for older clang versions.
Also improve codegen of wpi::Logger::Log(), frc::ReportError(), and frc::MakeError();
these generate better and less redundant code if they use fmt::string_view for the
format string instead of templating on it.
2022-10-19 10:49:27 -07:00
Peter Johnson
90cfa00115
[build] cmake: Fix libssh include directory order ( #4459 )
...
This broke the build if the directory where libssh was installed also
contained a system libuv install.
2022-10-07 22:53:22 -07:00
Thad House
aa221597bc
[build] Add M1 builds, change arm name, update to 2023 deps ( #4315 )
2022-06-20 12:28:46 -06:00
Thad House
a18d4ff154
[build] Fix tools not being copied when built with -Ponly* ( #4276 )
2022-05-29 22:09:00 -07:00
Peter Johnson
d673ead481
[wpinet] Move network portions of wpiutil into new wpinet library ( #4077 )
2022-05-07 10:54:14 -07:00
Tyler Veness
3f77725cd3
Remove uses of iostream ( #4004 )
...
Most of these were unused, the IMU ones were just debug messages.
The only one that wasn't removed is in portable-file-dialogs.cpp since
the replacement looks less trivial.
2022-02-05 23:00:31 -08:00
Thad House
84df14dd70
[rtns] Fix icons ( #3972 )
2022-01-27 20:58:07 -08:00
Thad House
88f5cb6eb0
[build] Publish PDBs with C++ tools ( #3960 )
2022-01-24 20:32:17 -08:00
Peter Johnson
41c5b2b5ac
[rtns] Add cmake build ( #3866 )
...
This needs libssh to build, so on Linux systems it's necessary to
install libssh-dev.
2022-01-08 00:14:48 -08:00
Thad House
d51a1d3b3d
[rtns] Fix icon ( #3749 )
2021-11-30 21:58:58 -08:00
Thad House
aced2e7da6
Add roboRIO Team Number Setter tool ( #3744 )
2021-11-30 11:17:30 -08:00