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
Austin Schuh
4529ef0ea6
[bazel] Use script based python bootstrapping ( #8180 )
...
This fixes issues found building AOS with import paths.
2025-11-10 10:03:11 -07:00
PJ Reiniger
892666fbbe
[robotpy] Add build scripts for wpilib and dependencies ( #8348 )
...
This gets the majority of projects from mostrobotpy building in this mirror. Projects missing still are cscore and the halsim wrappers.
2025-11-09 10:32:58 -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
013a238994
HAND FIXES: Update maven info
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
07b60384d0
SCRIPT run upstream utils
2025-11-07 23:09:21 -08:00
PJ Reiniger
9aca8e0fd6
SCRIPT namespace replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
bf9da2cdea
SCRIPT run upstream utils
2025-11-07 23:09:21 -08:00
PJ Reiniger
1e7604f81c
SCRIPT: wpiformat
2025-11-07 23:09:21 -08:00
PJ Reiniger
c48b722dac
SCRIPT: Spotless Apply
2025-11-07 23:09:21 -08:00
PJ Reiniger
c89910b7c6
HAND FIXES: Fixup gradle / cmake / styleguide
2025-11-07 23:09:21 -08:00
PJ Reiniger
105deaddb0
HAND FIXES: Fixup java and python compilation
2025-11-07 23:09:21 -08:00
PJ Reiniger
108a8c0f9b
SCRIPT: Pregenerate files
2025-11-07 23:09:21 -08:00
PJ Reiniger
6b69aab44e
HAND FIX - Fixup bazel files
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
f0a3c64121
SCRIPT Run java package replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
c350c5f112
SCRIPT Move java files
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
Tyler Veness
bc44ced506
[upstream_utils] Upgrade to fmt 12.1.0 ( #8312 )
2025-11-01 16:19:37 -07:00
PJ Reiniger
49e84c6b52
[robotpy] Sync robotpy ( #8318 )
...
Project import generated by Copybara.
GitOrigin-RevId: f6818c55dda55da1226e47a05a22d30f7cc477f1
2025-11-01 10:28:05 -07: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
Austin Schuh
51fbde777b
[bazel] Package headers in ntcoreffi correctly ( #8170 )
...
* [bazel] Package headers in ntcoreffi correctly
The original package includes headers from ntcore and wpiutil, so
include those too.
* Merge in new 2027
2025-10-25 21:17:43 -07:00
PJ Reiniger
44b9cc1398
[robotpy] Mirror most other subprojects ( #8208 )
...
GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a
This mirrors the robotpy files for the following projects:
- apriltag
- datalog
- hal
- ntcore
- romiVendordep
- wpilibc
- wpimath
- xrpVendordep
This excludes cscore and the halsim wrappers for at this time.
NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
2025-10-23 22:28: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
Joseph Eng
5e7e5306df
[wpiutil] Update StructSerializable contract (NFC) ( #7441 )
...
Matches ProtobufSerializable. This is necessary for generic types.
2025-09-30 14:57:42 -06:00
Gold856
6447011bc3
[ci] Consolidate docs jobs ( #7910 )
...
We build docs in three different places, which is annoying to deal with, and it means we build docs two more times than necessary. Now, docs are built just once in the main Gradle workflow, with warnings promoted to errors, eliminating the need for the separate job in lint-format.yml. The uploaded docs artifact is then unpacked and commited to the GitHub Pages repo like normal.
2025-09-29 18:02:42 -07:00
Tyler Veness
bd5141e254
[upstream_utils] Upgrade to fmt 12.0.0 ( #8263 )
2025-09-29 11:45:15 -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
1ce2854a1e
Merge branch 'main' into 2027
2025-09-20 11:19:40 -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
Peter Johnson
f8ed2a4d92
[wpiutil] Synchronization: fix shutdown use-after-free ( #8213 )
...
Also in ntcore, join the notifier thread on shutdown.
This prevents tsan from reporting it as a leaked thread.
2025-09-08 21:15:00 -07:00
Gold856
5cd97c6353
[upstream_utils] Add Catch2 ( #8203 )
2025-09-08 15:14:23 -06:00
Tyler Veness
632749e6f3
[build] Upgrade Maven dependencies ( #8173 )
2025-09-01 08:13:46 -07:00
PJ Reiniger
bd1dcc4358
[bazel][robotpy] Add mirror for robotpy's wpiuil and wpinet libraries ( #8062 )
...
Project import generated by Copybara.
GitOrigin-RevId: 92ea93d1b47a82667044bd0af05f7fdb34d2c2c2
2025-08-30 11:55:11 -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
Peter Johnson
f89cf2e441
Merge branch 'main' into 2027
2025-08-09 00:55:56 -07:00
Peter Johnson
3e4e9c9b01
Merge branch 'main' into 2027
2025-08-09 00:55:26 -07:00
Iris
78fa67099e
[build] Small fixes to build on GCC 15 ( #8148 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2025-08-09 00:07:41 -07:00
Tyler Veness
9ac7e286f5
[build] Upgrade Gradle plugins ( #8166 )
...
I upgraded all plugins I could see except org.ysb33r.doxygen. 2.0 made
breaking changes, and I couldn't figure out how to migrate.
Most of the changes are for suppressing new linter purification rites.
2025-08-08 23:04:02 -07:00
Austin Schuh
13852760f6
[bazel] Build wpilibc docs with doxygen ( #8157 )
...
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-08-04 23:49:47 -06:00
Austin Schuh
12223ff188
[bazel] Implement cscore shared libraries ( #8089 )
...
Use all our fancy new linking code to link cscore properly. nm reports that the symbols look quite good.
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
Co-authored-by: PJ Reiniger <pj.reiniger@gmail.com >
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2025-07-31 21:04:22 -07:00