Matt Morley
db42c6cbba
[wpinet] Add mDNS discovery tests and fix mDNS JNI bugs ( #8682 )
...
In https://github.com/wpilibsuite/allwpilib/issues/8681 we discovered
that multicast service types need to be valid (end with _tcp or _udp),
or else errors are silently swallowed. Let's make our C++ unit test use
a valid name and also check that it works. I think if we
should/shouldn't do this is up for debate still.
I also discovered two bugs in the JNI code that lead to incorrect
results being returned
- Return array index was always 0
- Use of JLocal for the return value seems to mean that the array will
always be NULL in java
2026-03-29 20:41:32 -07:00
sciencewhiz
ceb712b089
[docs] Change NewCommands to Commands v2 (NFC) ( #8702 )
2026-03-29 20:40:36 -07:00
Thad House
d74644283b
[wpilibc] Fix GetUsbId on ExpansionHub in C++ ( #8704 )
2026-03-29 20:40:06 -07:00
Tyler Veness
f3757bdeae
[upstream_utils] Upgrade to Sleipnir 0.5.0 ( #8711 )
2026-03-29 20:39:18 -07:00
Thad House
962168acf1
[wpinet] Fix port having incorrect endian on windows resolver
...
For some reason, ip is in network order, but port is in host order.
2026-03-29 16:26:18 -07:00
Peter Johnson
dc4a8d572d
[wpilibc] Fix DriverStation comment (NFC)
2026-03-21 00:37:28 -07:00
Peter Johnson
1925cf0e1f
[wpilib] Rename LEDPattern constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
d05d3b1c78
[wpilib] Remove PWM.Period enum
...
Replace it with just numeric values.
2026-03-21 00:37:28 -07:00
Peter Johnson
f2929af00f
[wpilib] Rename ADXL345_I2C constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
ea32c247db
[wpilib] Rename PneumaticsModuleType constants
2026-03-21 00:37:28 -07:00
Peter Johnson
f060c98992
[wpilib] Rename drivetrain sim enums to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
a57d658ef1
[wpilib] Rename GenericHID and Gamepad enums to all caps
...
GenericHID.getSupportedOutputs(): Return EnumSet
Gamepad: Add Button-taking accessors
2026-03-21 00:37:28 -07:00
Peter Johnson
d86a745328
[wpilib] Rename DoubleSolenoid.Value constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
c5738fcbad
[wpilib] Rename AddressableLED.ColorOrder constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
87e677d4af
[wpilib] Rename MotorSafety constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
3776f8a1ef
[wpilib] Rename OnboardIMU constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
e73e2e99f7
[wpilibj] SerialPort: update comments to track rename (NFC)
2026-03-21 00:37:28 -07:00
Peter Johnson
49065aa07f
[wpilib] Rename CAN constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
38b9214e38
[wpilib] Rename PeriodicOpMode constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
09be21c319
[wpilib] Rename TimedRobot constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
48868020a9
[wpilib] Rename RobotDriveBase constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
7815248d62
[wpilib] Rename MotorType constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
6559d78658
[wpilib] Rename SysIdRoutineLog constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
8fa6976cb2
[wpilib] Rename EdgeConfiguration constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
5ec92df137
[wpilibj] Rename SensorUtil constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
8a802fd670
[wpilib] Rename private constants to all caps
2026-03-21 00:37:28 -07:00
Peter Johnson
b7122f0fda
[hal] Rename HAL_kInvalidHandle to HAL_INVALID_HANDLE ( #8698 )
2026-03-21 00:34:46 -07:00
Peter Johnson
4e4ad9c498
[wpinet] Rename constants to all caps ( #8696 )
2026-03-20 23:02:21 -07:00
Gold856
0fc1f45324
[wpical] Remove tag ID limit ( #8697 )
...
It's annoying to have to update this, and we forgot for 2026.
2026-03-20 20:31:11 -07:00
Gold856
dba033eaee
[hal] Clean up references to removed HAL features ( #8695 )
...
#7695 , #7696 , #7697 , #7701 , #7724 , #7753 , #7861 removed various features
from the HAL, but forgot to clean up the handles, the WS API, or both.
Additionally, since AnalogInput is the only remaining analog I/O,
AnalogJNI was renamed to the more specific AnalogInputJNI.
2026-03-20 16:50:02 -07:00
Gold856
f1aa84aecf
[hal,wpilib] Remove MXP mentions in API docs (NFC) ( #8694 )
2026-03-20 16:48:53 -07:00
Thad House
fb4bcefabc
[wpilibj] Allow passing DS Instance to Robot and OpModes ( #8626 )
...
Some discussion with the tech team showed that there were some real
advantages to being able to pass a 2nd type. It allows separating the DS
and Robot. Additionally, we can make the DriverStationBase class
actually usable instead of the existing DriverStation class which is
impossible to handle in intellisense because it has too much.
This won't fully be doable in C++, but we will need to implement
something similar in python.
2026-03-20 14:05:48 -06:00
Peter Johnson
b86204bf45
[wpiutil] Update Color.RGBChannel enum to all caps
2026-03-20 13:24:22 -06:00
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
c913b27a27
[wpiutil] Rename TimestampSource 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
8af6bd354e
[ntcore] Fix up constants renames ( #8693 )
...
Takes care of a few renames missed in #8676 .
2026-03-19 23:35:59 -07:00
Peter Johnson
0665aed66b
[hal] Fix Python CAN API types prefix ( #8687 )
2026-03-16 21:47:58 -07:00
Gold856
e81d47fb46
[hal,wpilib] Remove unused error/warning codes ( #8684 )
2026-03-16 20:26:43 -07:00
Peter Johnson
58e112480a
[ntcore] Prefix log levels to avoid macro conflicts ( #8686 )
2026-03-16 20:24:23 -07:00
Peter Johnson
aad08b9ad1
[hal] Rename SimDevice constants to all caps
...
Also use enum class for SimDevice C++ wrapper.
2026-03-15 22:38:09 -07:00
Peter Johnson
70f77a1f8e
[hal,wpilib] Rename SerialPort constants to all caps
2026-03-15 22:38:09 -07:00
Peter Johnson
68ca74c129
[hal,wpilib] Rename REVPH compressor constants to all caps
2026-03-15 22:38:09 -07:00
Peter Johnson
c18f811ea7
[hal,wpilib] Rename PowerDistribution constants to all caps
2026-03-15 22:38:09 -07:00
Peter Johnson
261a0ebbd7
[hal,wpilib] Rename I2C constants to all caps
2026-03-15 22:38:09 -07:00
Peter Johnson
b68fbb1adc
[hal,wpilib] Rename Encoder constants to all caps
2026-03-15 22:38:09 -07:00