Tyler Veness
77c09b9ce2
[docs] Build with JavaDoc 17 and add missing docs ( #6220 )
...
Co-authored-by: Sam Carlberg <sam.carlberg@gmail.com >
2024-01-19 23:42:09 -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
211c2a375c
[build] Run formatter on generate_usage_reporting.py ( #6197 )
2024-01-10 20:47:54 -08:00
Starlight220
4595f84719
[wpilib] Report LiveWindow-enabled-in-test ( #6158 )
2024-01-05 11:57:14 -08:00
Tyler Veness
106518c3f8
[docs] Fix wpilibj JavaDoc warnings ( #6154 )
2024-01-05 07:35:59 -08:00
m10653
13f4460e00
[docs] Add missing docs to enum fields (NFC) ( #6150 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-01-04 21:36:26 -08:00
Tyler Veness
4210f5635d
[docs] Fix warnings about undocumented default constructors ( #6151 )
2024-01-04 13:57:21 -08:00
Tyler Veness
f29a7d2e50
[docs] Add missing JavaDocs ( #6146 )
2024-01-04 08:38:06 -08:00
m10653
01fb98baaa
[docs] Add Missing JNI docs from C++ (NFC) ( #6139 )
2024-01-02 20:13:46 -08:00
Tyler Veness
ad0859a8c9
[docs] Add missing JavaDocs ( #6125 )
2024-01-01 22:56:23 -08:00
m10653
8a0bf2b7a4
[hal] Add CANAPITypes to java ( #6121 )
2024-01-01 16:51:17 -08:00
sciencewhiz
7d3e4ddba9
[docs] Add warning about using user button to docs (NFC) ( #6129 )
2024-01-01 11:53:21 -08:00
m10653
c16946c0ec
[hal] Add CANJNI docs (NFC) ( #6120 )
2023-12-31 22:44:27 -08:00
David Vo
07183765de
[hal] Fix formatting of HAL_ENUM enums (NFC) ( #6114 )
2023-12-30 09:22:46 -06:00
Thad House
636ef58d94
[hal] Properly error check readCANStreamSession ( #6108 )
2023-12-29 23:57:00 -06:00
Thad House
cc631d2a69
[build] Fix generated source set location in the HAL ( #6113 )
2023-12-29 23:56:38 -06:00
Thad House
24a76be694
[hal] Add method to detect if the CAN Stream has overflowed ( #6105 )
2023-12-29 09:10:48 -08:00
Thad House
9333951736
[hal] Allocate CANStreamMessage in JNI if null ( #6107 )
2023-12-29 00:50:57 -06:00
Asa Anderson
1dba26c937
[wpilib] Add method to get breaker fault at a specific channel in PowerDistribution[Sticky]Faults ( #5521 )
...
Co-authored-by: Ryan Blue <ryanzblue@gmail.com >
2023-12-23 12:14:13 -08:00
Ryan Blue
4059e0cd9f
[hal,wpilib] Add function to control "Radio" LED ( #6073 )
2023-12-22 10:57:52 -08:00
Guinea Wheek
9599c1f56f
[hal] Add usage reporting ids from 2024v2 image ( #6041 )
2023-12-14 20:53:40 -08:00
Thad House
54a55b8b53
[wpiutil,hal] Update image; init Rio Now() HMB with a FPGA session ( #6016 )
2023-12-08 23:22:59 -08:00
Gold856
f5fc101fda
[build] cmake: Export jars and clean up jar installs ( #6014 )
2023-12-06 18:28:38 -08:00
PJ Reiniger
2676b77873
Fix compilation issues that occur when building with bazel ( #6008 )
2023-12-04 21:18:26 -08:00
Tyler Veness
2bb1409b82
Clean up Java style ( #5990 )
...
Also make equivalent changes in C++ where applicable.
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2023-12-03 16:21:32 -08:00
Gold856
890992a849
[hal] Commit generated usage reporting files ( #5993 )
2023-12-03 15:53:24 -08:00
Tyler Veness
ca272de400
[build] Fix Gradle compile_commands.json and clang-tidy warnings ( #5977 )
2023-12-02 21:20:43 -08:00
Thad House
ca684ac207
[hal] Add capability to read power distribution data as a stream ( #4983 )
2023-11-30 21:09:14 -08:00
Gold856
4fcf0b25a1
[build] Apply a formatter for CMake files ( #5973 )
2023-11-30 16:52:21 -08:00
Gold856
25b7dca46b
[build] Remove CMake flat install option ( #5944 )
2023-11-21 11:48:32 -08:00
Isaac Turner
9ada181866
[hal] DriverStation.h: Add stddef.h include ( #5897 )
2023-11-11 21:30:23 -08:00
Thad House
ec1d261984
[hal] Fix garbage data for match info before DS connection ( #5879 )
...
NetComm writes garbage data before the DS connects. Make sure this doesn't make it up to the user.
2023-11-04 22:15:24 -07:00
Kevin-OConnor
9540b6922d
[hal] Add CAN IDs for AndyMark and Vivid Hosting ( #5852 )
2023-10-31 15:59:42 -07:00
Gold856
9eecf2a456
[build] Add CMake option to build Java sources jars ( #5768 )
2023-10-30 09:57:28 -07:00
sciencewhiz
abe1cec90c
[wpilib] Update Usage Reporting ResourceType from NI Libraries ( #5842 )
...
Disable PS4 controller reporting until added by NI
2023-10-27 20:21:46 -07:00
Thad House
3f08bcde54
[hal] Fix HAL AllianceStation on rio ( #5811 )
2023-10-23 21:32:21 -07:00
sciencewhiz
f4cbcbc984
Fix typos (NFC) ( #5804 )
2023-10-23 09:15:58 -07:00
Gold856
820728503d
[hal] Remove extra semicolon in RoboRioData ( #5786 )
2023-10-18 23:12:05 -07:00
Peter Johnson
7d9ba256c2
Revert "[build] Add CMake option to build Java source jars ( #5756 )" ( #5766 )
...
This reverts commit 1c724884ca .
This commit broke local builds on the second run of cmake configure.
2023-10-14 23:53:27 -07:00
Gold856
1c724884ca
[build] Add CMake option to build Java source jars ( #5756 )
2023-10-11 12:50:54 -07:00
Peter Johnson
d404af5f24
[wpilib] RobotController: Add isSystemTimeValid() ( #5696 )
...
This returns true when the system date/time (wall clock) is valid.
2023-09-30 09:22:51 -07:00
Tyler Veness
17f1062885
Replace std::snprintf() with wpi::format_to_n_c_str() ( #5645 )
...
fmtlib uses consteval format string processing, which makes it more
efficient than std::snprintf().
snprintf()s in libuv, mpack, processstarter, and wpigui were left alone.
processstarter uses stdlib only, and wpigui only depends on imgui.
fmt::format_to_n() is analogous to std::format_to_n()
(https://en.cppreference.com/w/cpp/utility/format/format_to_n )
wpi::format_to_n_c_str() is a wrapper which adds the trailing NUL.
2023-09-17 20:00:16 -07:00
autoantwort
cb99517838
[build] cmake: Use default install location on windows for dlls ( #5580 )
2023-09-17 16:17:32 -07:00
Ryan Blue
ac23f92451
[hal] Add GetTeamNumber ( #5596 )
2023-09-01 23:34:18 -07:00
Ryan Blue
b2dd59450b
[hal] Fix unfinished/incorrect GetCPUTemp functions ( #5598 )
2023-08-31 11:51:57 -07:00
Tyler Veness
165ebe4c79
Upgrade to fmt 10.1.0 ( #5326 )
2023-08-28 15:15:14 -07:00
Tyler Veness
8e2a7fd306
Include thirdparty libraries with angle brackets ( #5578 )
2023-08-28 15:13:34 -07:00
Tyler Veness
9d86624c00
[build] Fix CMake configure warnings ( #5577 )
...
FetchContent requires CMake 3.11 (released Mar 28, 2018).
Fixed this warning:
```
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1316 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
imgui/CMakeLists.txt:23 (FetchContent_Declare)
```
2023-08-28 15:06:51 -07:00
Joseph Eng
2e4ad35e36
[wpiutil] jni_util: Add JSpan and CriticalJSpan ( #5554 )
...
These replace JArrayRef et al and support statically sized arrays similar to std::span.
2023-08-24 00:02:56 -07:00
Tyler Veness
96f7fa662e
Upgrade Maven dependencies ( #5553 )
...
The following source code changes were required:
* Whitespace changes from spotless
* PMD warning suppressions for utility class tests
* PMD warning rename from "BeanMembersShouldSerialize" to
"NonSerializableClass"
* Declared more class members as final
2023-08-18 19:18:33 -07:00