Peter Johnson
ca7718cb08
[glass] FMS: Fix reading past end of GSM buffer ( #8268 )
2025-10-02 17:35:50 -07:00
Tyler Veness
ab53d51c6f
Fix or suppress clang-tidy warnings ( #8254 )
2025-09-25 21:28:04 -07:00
Tyler Veness
0a0adebd89
[build] Upgrade to Gradle 8.14.3 ( #8164 )
...
This fixes local builds with JDK 24.
I fixed deprecation warnings from `./gradlew wrapper --warning-mode all`
as well.
2025-08-08 09:08:34 -06:00
Peter Johnson
ccc9740d56
[glass] Fix NT int64 value display ( #8038 )
2025-06-27 06:33:31 -07:00
Tyler Veness
057f5ddf81
[glass] Fix compilation errors from C++23 clang ( #8008 )
2025-06-16 19:01:00 -07:00
Jade
631521a980
[thirdparty] Set IMGUI_DEFINE_MATH_OPERATORS ( #7899 )
...
This avoids the need to define it early in the include order everywhere else.
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2025-04-29 08:44:17 -06:00
Tyler Veness
bd78215b43
[glass] Fix compilation error with protobuf 30.1 ( #7890 )
...
```
/home/tav/frc/wpilib/allwpilib/glass/src/libnt/native/cpp/NetworkTables.cpp: In function ‘void UpdateProtobufValueSource(glass::NetworkTablesModel&, glass::NetworkTablesModel::ValueSource*, const google::protobuf::Message&, std::string_view, int64_t)’:
/home/tav/frc/wpilib/allwpilib/glass/src/libnt/native/cpp/NetworkTables.cpp:363:27: error: no match for ‘operator+’ (operand types are ‘const char [7]’ and ‘google::protobuf::internal::DescriptorStringView’ {aka ‘std::basic_string_view<char>’})
363 | out->typeStr = "proto:" + desc->full_name();
| ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
| | |
| const char [7] google::protobuf::internal::DescriptorStringView {aka std::basic_string_view<char>}
```
2025-04-07 07:31:31 -06:00
Rain Heuer
b0e588fd49
[glass] Update Field2D default field to 2025 ( #7820 )
2025-02-25 19:04:16 -08:00
Ryan Heuer
8e459a4f2a
[glass] Field2d: Fix custom image padding to maintain aspect ratio ( #7648 )
2025-01-06 21:16:14 -08:00
sciencewhiz
7032de3d5d
[glass] Field2D: Change field picker to show JSONs first ( #7643 )
...
Too many people don't realize that glass/simgui field2d can load
pathweaver JSON field files since it's hidden.
2025-01-05 22:36:14 -08:00
Wispy
17a03514ba
[glass, simgui] Fix minimum widths of windows ( #7604 )
2025-01-01 15:20:35 -08:00
Gold856
b670a59b5b
[build] Fix imgui libraries not being published ( #7575 )
2024-12-23 19:05:06 -08:00
Peter Johnson
b6de7acbdb
[sim] GUI: Don't show Window menu if it has no contents ( #7432 )
2024-11-25 17:25:55 -08:00
Ryan Blue
8588b5e520
[glass] Revert "Storage: Store Value by value" ( #7333 )
...
This reverts commit 309b370223 .
Storage::GetChildArray never initializes the child array when the entry is new, so it returns invalid references.
2024-11-04 23:34:18 -07:00
Peter Johnson
e49d452e46
[glass] Context: Store storageRoots by value
2024-10-31 22:04:13 -07:00
Peter Johnson
5c0edc2410
[glass] Field2D: Store field objects by value
2024-10-31 22:04:13 -07:00
Peter Johnson
309b370223
[glass] Storage: Store Value by value
...
This is possible because std::map has stable value pointers.
2024-10-31 22:04:13 -07:00
Peter Johnson
f620141e0d
[wpiutil] Replace LLVM StringMap impl with std::map
...
As string_view operations on std::map<std::string> won't be integrated
until C++26, placeholder implementations are used which are less efficient
in a couple of situations (e.g. insert with hint).
2024-10-31 22:04:13 -07:00
Gold856
0424e5ba36
[build] Remove unnecessary symbol exclusions ( #7221 )
...
The symbol exporter in native-utils was updated and stopped exporting the excluded symbols.
2024-10-17 16:19:19 -07:00
Ryan Heuer
f7dddb8014
[glass] Add Alerts widget ( #7219 )
2024-10-16 13:45:56 -06:00
Tyler Veness
fad06ae1e7
Merge .inc files into headers ( #7215 )
2024-10-15 23:42:57 -07:00
Ryan Heuer
40caabea23
[glass] Align Field2d border and image padding ( #7214 )
2024-10-15 22:02:08 -07:00
Peter Johnson
2d6f02d15b
[glass] Check for struct descriptor size 0 ( #7192 )
...
This avoids a potential divide by 0.
2024-10-11 16:09:32 -07: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
Joseph Eng
1f3ef019ce
[wpiutil] Return wpi::expected from MemoryBuffer::GetFile ( #7069 )
2024-09-12 23:45:35 -07:00
Tyler Veness
d44b651558
[build] Make Protobuf optional in CMake build ( #7061 )
2024-09-12 23:44:19 -07:00
Jade
495c371ce7
[glass] NetworkTables provider: Add immediate flag to listener ( #7013 )
2024-08-31 09:44:52 -07:00
Gold856
9c35aa6bbf
[build] Remove redundant _M_ prefix from artifact file name ( #6983 )
2024-08-27 17:05:29 -07:00
Ryan Blue
cf691f744f
[glass] Use type string constant in NTStringChooser ( #6992 )
2024-08-22 23:36:07 -07:00
Gold856
dc25c13051
[build] CMake: remove redundant logic ( #6971 )
2024-08-15 21:36:45 -07:00
Gold856
e3a5299552
[build] Always statically build Glass libraries ( #6867 )
...
Also don’t rename libglass on Windows to avoid PDB name collision.
2024-07-22 08:03:19 -07:00
PJ Reiniger
6922b9dd5e
[upstream_utils] Add imgui and friends ( #6822 )
2024-07-20 22:11:54 -07:00
Wispy
7d64d4e24c
[sim] Add GUI support for the REV PH ( #6704 )
2024-07-15 17:28:05 -07:00
Joseph Eng
d6b66bfa55
[wpiutil] Add remove_prefix() and remove_suffix() ( #6118 )
2024-06-04 21:01:52 -07:00
Wispy
e2545231b8
[glass] Save input after clicking away ( #6657 )
2024-05-25 09:19:52 -07:00
Ryan Blue
65f4505e3c
[wpimath] Add constraints support to ProfiledPIDController Sendable implementation ( #6354 )
2024-05-24 10:39:56 -07:00
Tyler Veness
d88c71ffdc
[wpiutil] Upgrade to fmt 10.2.1, add wpi::print ( #6161 )
...
We now use a wrapper (wpi::print) to catch exceptions since we can't patch
std::print() to not throw when we ultimately migrate to it.
fmtlib and std format/print throw the same exceptions and always have. We previously patched fmt::print() to not throw a write failure exception, but we can't do that for std::print(); wpi::print() is the migration plan.
2024-05-12 06:25:42 -07:00
Ryan Heuer
ac32f921f6
[glass] Add math expression input for NetworkTables numerical values ( #6530 )
2024-04-28 12:03:49 -07:00
Tyler Veness
74f648689e
[build] Add exports to CMake subprojects ( #6505 )
...
This allows consuming allwpilib via FetchContent.
2024-04-10 22:04:22 -07:00
Peter Johnson
74057543aa
[glass] Don't limit window name+label to 128 chars ( #6447 )
2024-03-18 14:28:00 -07:00
Peter Johnson
4b94a64b06
[glass] Fix FMS game data display and editing ( #6381 )
...
Also don't require Enter for editing game data or match time.
2024-02-18 16:29:58 -08:00
Chris Gerth
a70e83ae2e
[glass] Update field size defaults in Field2D.cpp ( #6298 )
...
Looks like the field length is longer in 2024. Used the onshape model to measure the size.
2024-01-23 21:28:17 -08:00
Thad House
9d55941ce5
[build] Fix macOS apps not always being an application ( #6286 )
2024-01-21 20:41:08 -08:00
Peter Johnson
3928ed5647
[sim] Sim GUI DS: Add "Disconnected" state and start in it ( #6218 )
...
The default state for the DS in the simulated HAL is changed to disconnected.
The FMS view is now only editable in DS disconnected state.
This enables more robot and field-like testing of robot code, as the
alliance color and other parameters start in invalid states and are
only set when the DS connects.
2024-01-20 21:10:02 -08:00
Peter Johnson
4d109309c9
[glass] Reduce NT log level
2024-01-20 07:24:16 -08:00
Peter Johnson
ecf1755e3e
[glass] Default to 2024 field image ( #6225 )
...
Also relax field scale check a bit so 2024 field image passes.
2024-01-14 14:47:54 -08:00
Peter Johnson
7e3678b0a4
[glass] Fix Field2d position and scaling ( #6222 )
...
Also adds some border padding for the non-image case.
2024-01-13 21:09:02 -08:00
Peter Johnson
7c26bc70ab
[sysid] Load DataLog files directly for analysis ( #6103 )
...
Co-authored-by: Oblarg <emichaelbrnett@gmail.com >
2024-01-05 16:24:31 -08:00
Tyler Veness
f29a7d2e50
[docs] Add missing JavaDocs ( #6146 )
2024-01-04 08:38:06 -08:00