Noam Zaks
d6cfdd3bae
[wpilib] Preferences: Deprecate Put* in favor of Set* ( #3337 )
...
This naming is more consistent with other APIs.
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2021-05-06 08:25:37 -07:00
Peter Johnson
8d961dfd25
[wpilibc] Remove ErrorBase ( #3306 )
...
Replace with new exception-based error reporting, consistent with Java.
This also builds stacktraces into the reporting/exceptions.
2021-04-18 20:35:29 -07:00
Peter Johnson
a79faace1b
[wpilibc] Return reference from GetInstance ( #3247 )
...
Improves consistency across all classes.
Affects Preferences, LiveWindow, and CameraServer.
Old commands Scheduler::GetInstance() was not updated as this is already
deprecated.
2021-03-21 11:13:49 -07:00
Peter Johnson
d11a3a6380
clang-tidy: modernize-use-override (NFC)
...
Add NOLINT to CommandTestBase due to gmock not adding "override" keyword,
which causes warnings on clang.
2020-12-29 14:26:19 -08:00
Peter Johnson
8f1f64ffb6
Remove year from file copyright message (NFC) ( #2972 )
...
Also update copyright to include "and other WPILib contributors" and clarify
license referral language to not be restricted to FIRST teams.
2020-12-26 14:12:05 -08:00
Prateek Machiraju
8f33d21bc2
[wpilib] Add init methods to Preferences ( #2443 )
2020-04-01 20:26:49 -07:00
Tyler Veness
1aa8446725
Add move constructors and assignment operators to wpilibc ( #1314 )
...
Fixes #898 .
2018-09-24 00:08:25 -07:00
Tyler Veness
d89b7dd412
Move CameraServer and WPILib headers into their own folder
...
The old headers were moved into folders because doing so avoids polluting
the system include directories.
Folder names were also normalized to lowercase.
2018-07-22 19:40:57 -07:00