Thad House
b8cdf97621
[build] Prepare for Windows arm64 builds ( #5390 )
...
Builds aren't actually enabled yet due to a bug in Gradle.
2023-07-24 22:46:25 -07:00
Tyler Veness
ba4ec6c967
[build] Fix clang-tidy false positive on Linux ( #4406 )
...
* Fix clang-tidy false positive on Linux
```
== clang-tidy /home/tav/frc/wpilib/allwpilib/wpiutil/src/main/native/windows/StackTrace.cpp ==
/home/tav/frc/wpilib/allwpilib/wpiutil/src/main/native/windows/StackTrace.cpp:12:33: error: expected class name [clang-diagnostic-error]
class StackTraceWalker : public StackWalker {
^
/home/tav/frc/wpilib/allwpilib/wpiutil/src/main/native/windows/StackTrace.cpp:16:17: error: unknown type name 'LPCTSTR' [clang-diagnostic-error]
void OnOutput(LPCTSTR szText) override;
^
/home/tav/frc/wpilib/allwpilib/wpiutil/src/main/native/windows/StackTrace.cpp:23:33: error: unknown type name 'LPCTSTR' [clang-diagnostic-error]
void StackTraceWalker::OnOutput(LPCTSTR szText) {
^
```
* Fix false positives for macOS code
2022-09-17 00:23:59 -07:00
Tyler Veness
a2a5c926b6
Fix clang-tidy warnings ( #4359 )
...
The warnings included recommendations of braces for if statement
readability, a recommendation for default initialization of an int
array, and include-what-you-use (indirectly through clang-tidy reporting
undefined symbols).
2022-08-17 19:53:56 -07:00
PJ Reiniger
553b2a3b12
[upstream_utils] Fix stackwalker ( #4265 )
2022-05-24 21:51:32 -07:00
Peter Johnson
d673ead481
[wpinet] Move network portions of wpiutil into new wpinet library ( #4077 )
2022-05-07 10:54:14 -07:00
Peter Johnson
a467392cbd
[wpiutil] StackTrace: Add ability to override default implementation ( #3951 )
2022-01-21 17:22:41 -08:00
Thad House
6c93365b0f
[wpiutil] MulticastService cleanup ( #3750 )
...
Fix duplicated constructors, and also use simpler utf conversion API on windows.
2021-12-02 21:06:55 -08:00
Thad House
6f51cb3b98
[wpiutil] MulticastResolver: make event manual reset, change to multiple read ( #3736 )
2021-11-27 11:16:24 -08:00
Thad House
82066946e5
[wpiutil] Add mDNS resolver and announcer ( #3733 )
2021-11-25 22:08:26 -08:00
Peter Johnson
b2c3b2dd8e
Use std::string_view and fmtlib across all libraries ( #3402 )
...
- Twine, StringRef, Format, and NativeFormatting have been removed
- Logging now uses fmtlib style formatting
- Nearly all uses of wpi::outs/errs have been replaced with fmt::print() or
std::puts()/std::fputs() (for unformatted strings).
- A wpi/fmt/raw_ostream.h header has been added to enable
fmt::print() with wpi::raw_ostream
2021-06-06 16:13:58 -07:00
Peter Johnson
2aed432b4b
Add braces to C++ single-line loops and conditionals (NFC) ( #2973 )
...
This makes code easier to read and more consistent between C++ and Java.
Also update clang-format settings to always add a line break (even if no braces are used).
2020-12-28 12:58:06 -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
Peter Johnson
795086b4cf
Fix Demangle when used standalone ( #2256 )
2020-01-10 23:41:40 -08:00
Thad House
936627bd94
wpilibc: Remove direct CameraServer dependency ( #1989 )
...
This makes linking easier, particularly for third party vendors and other language wrappers.
2019-10-27 08:37:30 -07:00
Tyler Veness
cce26ec78e
Replace CRLF line endings with LF ( #1902 )
2019-09-28 19:55:50 -07:00
Peter Johnson
f1d71da8a9
Move GetStackTrace and Demangle to wpiutil, add Windows support ( #1819 )
...
For Windows, import the StackWalker source (https://github.com/JochenKalmbach/StackWalker )
plus PR 35 in that repo, with a few simplifications to StackWalker.h.
2019-08-12 23:45:45 -07:00