Tyler Veness
b4674bacb9
[wpiutil] Upgrade to LLVM 18.1.1 ( #6405 )
2024-03-17 18:39:03 -07:00
Tyler Veness
d895a0c09f
[wpiutil] Add std::expected shim ( #6310 )
...
Its tests use Catch2 instead of GoogleTest, so we can't import them.
2024-01-25 22:21:37 -08:00
Tyler Veness
d431abba3b
[upstream_utils] Fix GCEM namespace usage and add hypot(x, y, z) ( #6002 )
2023-12-03 16:40:08 -08:00
Tyler Veness
e8f8c0ceb0
[upstream_utils] Update to latest Eigen HEAD ( #5996 )
...
There hasn't been a release in 2.5 years.
There's performance improvements for some NEON instructions, UB fixes, a lot of internal cleanup with the jump from C++11 to C++14, and more constexpr.
2023-12-03 16:18:19 -08:00
Peter Johnson
76ae090570
[wpiutil] type_traits: Add is_constexpr() ( #5997 )
2023-12-02 20:54:22 -08:00
Tyler Veness
74b85b76a9
[wpimath] Make gcem call std functions if not constant-evaluated ( #5983 )
...
The one exception is macOS, which doesn't support std::beta().
2023-12-01 09:08:04 -08:00
Tyler Veness
23dd591394
[upstream_utils] Remove libuv patch that adjusts whitespace ( #5976 )
2023-11-29 12:22:28 -08:00
Tyler Veness
841ea682d1
[upstream_utils] Upgrade to LLVM 17.0.5 ( #5970 )
2023-11-28 10:01:48 -08:00
Thad House
9280054eab
Revert "[build] Export wpimath protobuf symbols ( #5952 )"
...
This reverts commit c80b2d2017 .
2023-11-23 22:40:47 -08:00
Peter Johnson
c80b2d2017
[build] Export wpimath protobuf symbols ( #5952 )
2023-11-23 11:27:54 -08:00
Peter Johnson
bdc8620d55
[upstream_utils] Fix fmt compilation errors on Windows ( #5948 )
...
Using `this->` in decltype doesn't work in the latest MSVC.
2023-11-21 08:16:30 -08:00
Tyler Veness
a8b80ca256
[upstream_utils] Update to libuv 1.47.0 ( #5889 )
2023-11-14 12:12:56 -08:00
Tyler Veness
fa6b171e1c
[wpiutil] Suppress protobuf warning false positives on GCC 13 ( #5907 )
2023-11-10 15:12:18 -08:00
Tyler Veness
c6aff2c431
[upstream_utils] Update to LLVM 17.0.4 ( #5855 )
2023-11-01 16:45:32 -07:00
Peter Johnson
07e13d60a2
[ntcore] Fix write_impl ( #5847 )
...
The previous fix didn't handle all cases correctly. Instead, add a new
function to raw_ostream (SetNumBytesInBuffer) to allow always using the
full buffer size, and revamp write_impl to more cleanly handle all
cases.
2023-10-30 08:23:33 -07:00
Benjamin Hall
63ef585d4b
[wpiutil] Fix compilation of MathExtras.h on Windows with /sdl ( #5809 )
...
Fix copied from the LLVM main branch.
2023-10-23 21:35:13 -07:00
Tyler Veness
45f307d87e
[upstream_utils] Upgrade to LLVM 17.0.3 ( #5785 )
2023-10-18 19:18:35 -07:00
Peter Johnson
638f04f626
[wpiutil] Add protobuf to thirdparty sources ( #5746 )
2023-10-14 21:54:17 -07:00
PJ Reiniger
210255bfff
[wpiutil] Update json to 3.11.2 ( #5680 )
2023-10-14 21:53:56 -07:00
Tyler Veness
227e660e20
[upstream_utils] Upgrade to LLVM 17.0.2 ( #5750 )
2023-10-10 16:30:31 -07:00
Tyler Veness
0960f11eba
[wpinet] Revert removal of uv_clock_gettime() ( #5723 )
...
GetSystemTimePreciseAsFileTime() is supposed to be available, and
wpiutil already uses it.
2023-10-03 20:39:09 -07:00
Tyler Veness
1b6ec5a95d
[wpiutil] Upgrade to LLVM 17.0.1 ( #5482 )
2023-09-21 19:54:33 -07:00
Tyler Veness
494cfd78c1
[wpiutil] Fix deprecation warning in LLVM for C++23 ( #5642 )
2023-09-15 19:57:14 -07:00
Tyler Veness
ab3bf39e0e
[wpiutil] Upgrade to fmt 10.1.1 ( #5585 )
...
This fixes a partial template specialization error internal to fmt that
was encountered in #5560 .
2023-08-28 21:16:53 -07:00
Tyler Veness
165ebe4c79
Upgrade to fmt 10.1.0 ( #5326 )
2023-08-28 15:15:14 -07:00
Tyler Veness
360fb835f4
[upstream_utils] Handle edge case in filename matches ( #5576 )
...
endswith() leaves files out from subdirectories, which means projects
that add new subdirectories won't have those files included when they
probably should be.
2023-08-28 15:07:13 -07:00
Tyler Veness
969979d6c7
[wpiutil] Update to foonathan memory 0.7-3 ( #5573 )
2023-08-28 15:03:36 -07:00
Tyler Veness
0d2d989e84
[wpimath] Update to gcem 1.17.0 ( #5575 )
2023-08-28 15:03:06 -07:00
Tyler Veness
cf86af7166
[wpiutil] Update to mpack 1.1.1 ( #5574 )
2023-08-28 15:02:36 -07:00
Tyler Veness
349141b91b
[upstream_utils] Document adding a patch (NFC) ( #5432 )
...
Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com >
2023-08-24 15:00:07 -07:00
Tyler Veness
26d6e68c8f
[upstream_utils] Add GCEM to CI ( #5483 )
2023-07-31 19:18:32 -07:00
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
3c4b58ae1e
[wpinet] Upgrade to libuv 1.46.0 ( #5446 )
2023-07-14 18:55:32 -07:00
Tyler Veness
828bc5276f
[wpiutil] Upgrade to LLVM 16.0.6 ( #5435 )
...
Fixes #5332 .
2023-07-12 22:50:13 -07:00
autoantwort
a6463ed761
[wpiutil] Fix unused variable warning in release build ( #5430 )
2023-07-10 09:48:51 -07:00
Ryan Blue
d466933963
[wpiutil] Group doxygen into MPack module ( #5380 )
2023-06-08 20:00:16 -07:00
Tyler Veness
652d1c44e3
[wpiutil] Upgrade to macOS 12 to remove concept shims ( #5379 )
...
The macOS deployment target has been upgraded from 10.15 to 11. Also, a
deprecation warning for sprintf() in libuv was suppressed.
2023-06-08 19:59:54 -07:00
Ryan Blue
7ab5800487
[wpiutil] Fix docs typo in SmallVector ( #5381 )
2023-06-08 19:58:21 -07:00
Tyler Veness
063c8cbedc
Run wpiformat (NFC) ( #5341 )
2023-05-17 18:00:26 -07:00
Tyler Veness
fd294bdd71
[build] Fix compilation with GCC 13 ( #5322 )
2023-05-16 13:31:58 -07:00
Tyler Veness
abc19bcb43
[upstream_utils] Zero out commit hashes and show 40 digits in index hashes ( #5336 )
2023-05-16 09:41:46 -07:00
Tyler Veness
52bd5b972d
[wpimath] Rewrite DARE solver ( #5328 )
...
I timed the DARE unit tests, and the new solver is 0 to 100% faster in
all cases (that is, it's at least as fast as Drake's and up to 2x faster
in some cases).
The new solver is also much simpler, takes less time to compile, and
drops the libwpimath.so size from 325 MB to 301 MB.
I think most of the compilation time is coming from the eigenvalue
decompositions used to enforce argument preconditions.
2023-05-14 22:23:00 -07:00
Tyler Veness
77c2124fc5
[wpimath] Remove Eigen's custom STL types ( #4945 )
...
In C++20, overaligned types are handled properly, so Eigen's STL types
with custom allocators are no longer needed.
2023-05-12 21:32:58 -07:00
Tyler Veness
7ce75574bf
[wpimath] Upgrade to Drake v1.15.0 ( #5310 )
2023-05-07 22:54:58 -07:00
Tyler Veness
f53c6813d5
[wpimath] Patch Eigen warnings ( #5290 )
2023-04-28 20:51:22 -07:00
Peter Johnson
504fa22143
[wpimath] Workaround intellisense Eigen issue ( #4992 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-01-21 15:16:12 -08:00
Ege Akman
5a320c326b
[upstream_util, wpiutil] Refactor python scripts ( #4614 )
...
Co-authored-by: Sourcery AI <>
Co-authored-by: Vasista Vovveti <vasistavovveti@gmail.com >
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2022-11-13 23:11:54 -08:00
PJ Reiniger
fa44a07938
[upstream-utils][mpack] Add upstream util for mpack ( #4500 )
2022-11-04 20:03:49 -07:00
David K Turner
3a5a376465
[wpimath] Increase constexpr support in geometry data types ( #4231 )
...
This uses std::is_constant_evaluated() to conditionally use the gcem library for constexpr calculations.
2022-10-31 09:17:00 -07:00
Tyler Veness
1fc098e696
Enable log macros to work with no args ( #4475 )
...
This is enabled by the C++20 __VA_OPT__ feature.
Uses of "{}" format string were updated.
Some warning suppressions were required for older clang versions.
Also improve codegen of wpi::Logger::Log(), frc::ReportError(), and frc::MakeError();
these generate better and less redundant code if they use fmt::string_view for the
format string instead of templating on it.
2022-10-19 10:49:27 -07:00