Peter Johnson
410c11994e
[wpiutil] Update MappedFileRegion MapMode enum to all caps
2026-03-20 13:24:22 -06:00
Peter Johnson
c5e32652f9
[wpiutil] Rename WPI_kInvalidFile to WPI_INVALID_FILE
2026-03-20 13:24:22 -06:00
Peter Johnson
4059797635
[hal,ntcore,cscore] Update Handle constants to all caps
2026-03-20 13:24:22 -06:00
Peter Johnson
aa88fa0fcf
[wpiutil] Rename struct constants to all caps
2026-03-20 13:24:22 -06:00
Peter Johnson
9ce9918763
[wpiutil] Rename PixelFormat constants to all caps
2026-03-20 13:24:22 -06:00
Peter Johnson
e5107e7e00
[wpiutil] Rename Color constants to all caps
2026-03-20 13:24:22 -06:00
Joseph Eng
1a5b023235
[wpiutil] Add WPI_String usage documentation (NFC) ( #8675 )
...
The description is adapted from the PR description in #6299 .
2026-03-14 22:38:12 -07:00
Thad House
b2b111dc11
Rename FRC to WPILib ( #8637 )
2026-03-13 23:05:55 -07:00
Tyler Veness
907bf05607
[ci] Upgrade to wpiformat 2026.56 ( #8666 )
2026-03-13 13:15:01 -07:00
Peter Johnson
e9d226491c
[cscore] Split cscore classes into separate headers
...
Fixes #3713 .
2026-03-04 22:09:40 -07:00
Peter Johnson
f08258f784
[wpiutil] Split C++ header files
2026-03-04 22:09:40 -07:00
Peter Johnson
42992953ed
[wpiutil] Move Color and Color8Bit from wpilib to wpiutil ( #8437 )
...
Removes one of the org.wpilib.util package conflicts for modularization.
Only a few minor tweaks were required to remove the wpimath dependency.
2025-11-30 11:11:48 -08:00
Tyler Veness
b482fa02df
Shorten wpiformat config ( #8427 )
2025-11-27 17:30:06 -08:00
Tyler Veness
7a04d6a6a2
Merge wpiformat configs ( #8365 )
...
After replacing the remaining include guards with `#pragma once`, I was
able to merge all the wpiformat configs into one file in the repo root.
This should make the config easier to reason about and maintain in the
future.
2025-11-11 22:00:42 -08:00
Tyler Veness
23906ee2f7
[wpiutil] Add JNI array factories for more types ( #8355 )
...
The Sleipnir Java bindings needed these.
2025-11-11 18:06:55 -08:00
Tyler Veness
1705b2d61c
Upgrade wpiformat and use clang-format's include sorting ( #8350 )
...
This PR also uses the newly added -default-branch flag to generate the list of changed files with respect to the correct branch (2027).
2025-11-11 18:05:12 -08:00
Tyler Veness
aeedfa588c
[build] Fix clang-tidy warnings ( #8343 )
2025-11-08 14:07:00 -08:00
PJ Reiniger
2109161534
SCRIPT: wpiformat
2025-11-07 23:09:21 -08:00
PJ Reiniger
3f740894c9
HAND FIXES: Manual cleanup of namespaces
2025-11-07 23:09:21 -08:00
PJ Reiniger
9aca8e0fd6
SCRIPT namespace replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
1e7604f81c
SCRIPT: wpiformat
2025-11-07 23:09:21 -08:00
PJ Reiniger
7c6efa41ae
SCRIPT Run cc include replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
7ca1be9bae
SCRIPT Move cc files
2025-11-07 23:09:21 -08:00
Tyler Veness
3bdaeac3e1
[build] Upgrade to Doxygen 1.15.0 ( #8328 )
2025-11-02 05:18:58 -08:00
Peter Johnson
cc043df07f
Merge branch 'main' into 2027
2025-11-01 09:39:08 -07:00
Tyler Veness
4aef52a117
[ci] Upgrade to wpiformat 2025.36 ( #8308 )
...
clang-format 21 made some formatting changes. Since wpiformat's stdlib
task was removed, I removed NOLINT comments for it and removed some
std:: prefixes it added to comments.
2025-10-28 20:17:04 -07:00
Peter Johnson
7ff312bb69
Merge branch 'main' into 2027
2025-10-06 19:43:02 -07:00
Peter Lilley
f1b9be551b
[wpiutil] Add reverse/bidirectional iterators to wpi::circular_buffer ( #8275 )
...
Use std::reverse_iterator<> to create reverse iterators, make other
iterators bidirectional to allow for this. Added unit tests.
2025-10-03 23:13:55 -07:00
Peter Johnson
ef676aca70
Merge branch 'main' into 2027
2025-09-25 22:17:00 -07:00
Tyler Veness
ab53d51c6f
Fix or suppress clang-tidy warnings ( #8254 )
2025-09-25 21:28:04 -07:00
Peter Johnson
855ef10d58
[wpiutil] DynamicStruct: Make GetEnumValues() const ( #8223 )
...
Also remove unnecessary include.
2025-09-12 07:27:43 -07:00
Peter Johnson
90d90f334d
[wpiutil] Add alloc_wpi_string() and copy_wpi_string() ( #8222 )
...
These are useful to allocate a WPI_String, rather than referencing existing data.
2025-09-12 07:27:09 -07:00
Gold856
d4311d5a29
[wpiutil,glass,dlt] Replace libprotobuf with upb for dynamic decode ( #7988 )
...
libprotobuf is a very annoying dependency to deal with, and with the switch to nanopb for generated C++ code, libprotobuf is only used for dynamic decode in the GUI apps. libprotobuf has been swapped out with upb, a much smaller C-based library that supports reflection and can therefore do dynamic decode. This means we can remove the libprotobuf dependency and stop dealing with build issues because of it.
2025-08-16 22:56:32 -07:00
Ryan Blue
fa08679762
[wpiutil] Enable priority_mutex for systemcore ( #8071 )
2025-07-11 08:29:44 -05:00
Thad House
2af8c59858
Replace /home/lvuser with /home/systemcore ( #8002 )
2025-06-02 16:42:56 -07:00
DeltaDizzy
da47f06d70
[datalog] Move all DataLog functionality to new datalog library ( #7641 )
...
Currently the major DataLog backend API (reading and writing) is split between wpiutil and glass. In the interest of allowing code that wants to use these APIs to not need to link to glass and declutter wpiutil, all of those APIs are moved to a new library named "datalog".
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com >
2025-02-19 21:08:17 -08:00
DeltaDizzy
297f0d1b03
[wpiutil] Change kInvalidFile to macro ( #7750 )
...
This is needed on Windows because accessing global variables across shared library boundaries doesn’t work.
2025-01-30 20:01:35 -07:00
Peter Johnson
eee30c49e2
[wpilib] Remove LiveWindow ( #7733 )
...
This will be replaced by a different mechanism, but removing it eases
the initial implementation burden of a new Telemetry/Sendable framework.
2025-01-25 10:52:19 -08:00
Peter Johnson
d9f8fded09
Merge branch 'main' into 2027
2025-01-16 23:17:59 -08:00
Thad House
afbaa43539
[wpiutil] Remove roboRIO-specific timestamp code ( #7669 )
2025-01-13 15:59:11 -07:00
Matt
2de03c9601
[cscore] Use frame time in Linux UsbCameraImpl ( #7609 )
2025-01-07 09:33:20 -07:00
Peter Johnson
9b08f0244c
[wpiutil] SignalObject: Fix move operator= ( #7649 )
2025-01-06 20:11:34 -08:00
Peter Johnson
148fcdca85
[wpiutil] DataLog: Move schema info to a separate map ( #7626 )
2025-01-03 13:28:50 -08:00
Peter Johnson
12a1475ee4
[wpiutil] Remove LEB128 ( #7628 )
...
This was only used for NT3.
2025-01-03 07:13:49 -08:00
Tyler Veness
0470e51569
[upstream_utils] Upgrade to fmt 11.1.0 ( #7593 )
...
Usage of FMT_STRING() was removed since it caused compilation failures,
and https://fmt.dev/11.1/api/#compile-time-checks says it's no longer
necessary for compile-time format strings.
Fixes #7592 .
2024-12-26 19:14:02 -06:00
Ryan Blue
9d40b993f8
[wpiutil] Fix HasNestedStruct docs (NFC) ( #7459 )
2024-11-30 07:44:19 -08:00
Tyler Veness
8ec22b7d5c
[wpiutil] Remove unfinished ct_map class ( #7406 )
2024-11-17 21:31:25 -08:00
Tyler Veness
a04c40f589
Replace std::make_pair with std::pair CTAD ( #7405 )
2024-11-17 20:29:23 -08:00
Thad House
969664ceaa
[wpiutil] Faster nanopb submessage encode ( #7374 )
...
Due to how submessages are encoded (with a length prefix), nanopb currently does the encoding twice. It encodes once to get the length to write, then writes the length, then reencodes the entire message a 2nd time.
This results in a requirement that each encode always encodes the same. Generally, this is fine, but it'd be nice to not make this a requirement.
The double encode also requires going through the entire set of fields again, which has the possibility to be slow.
Instead of doing this, write to a temporary SmallVector. Then we can just encode the length of that buffer, and do a memcpy into primary stream. Theoretically in most cases, this should be much faster.
2024-11-16 07:26:10 -08:00
Peter Johnson
0921054a28
[ntcore] Split ServerImpl implementation into separate files
2024-11-08 00:46:27 -07:00