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
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
Tyler Veness
19ea73ef69
[upstream_utils] Upgrade to fmtlib 11.0.0 ( #6796 )
2024-07-02 13:34:59 -07: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
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
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
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
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
aced2e7da6
Add roboRIO Team Number Setter tool ( #3744 )
2021-11-30 11:17:30 -08:00