Tyler Veness
d80e8039d7
[wpiutil] Suppress fmtlib clang-tidy warning in C++20 consteval contexts ( #4364 )
2022-08-19 23:52:19 -07:00
Tyler Veness
0e6d67b23b
[upstream_utils] Remove yapf format disable comment ( #4366 )
2022-08-19 23:51:57 -07:00
Tyler Veness
91002ae3cc
[wpimath] Upgrade to Drake 1.6.0 ( #4361 )
2022-08-18 14:03:28 -07:00
Tyler Veness
148c18e658
[wpinet] Upgrade to libuv 1.44.2 ( #4362 )
2022-08-18 13:57:49 -07:00
Tyler Veness
ea6b1d8449
[wpiutil] Remove unused ManagedStatic class ( #4358 )
...
We migrated to magic statics for lazy construction like the following:
```cpp
class Singleton {
static Singleton& GetSingleton() {
static Singleton instance;
return instance;
}
};
```
2022-08-17 18:04:42 -07:00
Tyler Veness
151dabb2af
[wpiutil] Upgrade to fmt 9.0.0 ( #4337 )
...
fmt removed fmt::make_args_checked since it's no longer needed for
constexpr format string checks.
fmt deprecated implicit conversions from enums to integers in format
arguments, so I added explicit static casts.
2022-08-16 15:35:26 -07:00
Tyler Veness
0e0786331a
Update LLVM libraries to 14.0.6 ( #4350 )
...
The main noticeable change is the SmallString conversion operator to std::string is now explicit instead of implicit.
2022-08-15 05:38:15 -07:00
Tyler Veness
c5db23f296
[wpimath] Add Eigen sparse matrix and iterative solver support ( #4349 )
...
These are useful for efficiently solving huge, but sparse systems of
equations that occur often in optimization problems.
2022-08-13 18:32:02 -07:00
Tyler Veness
44abc8dfa6
[upstream_utils] Remove git version from upstream patches ( #4351 )
...
This reduces commit noise when other git versions are used. The version
was removed by passing `--no-signature` to `git format-patch` which is
now documented in the readme.
2022-08-13 18:31:26 -07:00
Tyler Veness
d83e202f00
[upstream_utils] Update paths in update_fmt.py ( #4338 )
2022-07-22 18:08:36 -07:00
Tyler Veness
5eb44e22a9
Format Python scripts with black (NFC) ( #4325 )
2022-07-01 06:41:44 -07:00
PJ Reiniger
787fe6e7a5
[wpiutil] Separate third party libraries ( #4190 )
2022-06-18 08:08:31 -07:00
Tyler Veness
9b1bf5c7f1
[wpimath] Move Drake and Eigen to thirdparty folders ( #4307 )
2022-06-11 21:07:15 -07:00
Peter Johnson
41d40dd62f
[wpinet] Fix libuv unused variable warning on Mac ( #4299 )
2022-06-09 23:30:16 -07:00
Peter Johnson
1280a54ef3
[upstream_utils]: Make work with Python 3.8 ( #4298 )
...
str.removesuffix() is only available in Python 3.9, which is not in many
Linux installations.
2022-06-06 17:07:16 -07:00
Tyler Veness
57428112ac
[wpimath] Upgrade to Drake v1.3.0 ( #4279 )
2022-05-31 20:20:01 -07:00
PJ Reiniger
3e94805220
[wpiutil] Reduce llvm collections patches ( #4268 )
2022-05-27 13:41:28 -07:00
Tyler Veness
db2e1d170e
[upstream_utils] Document how to update thirdparty libraries ( #4253 )
...
Also, add a CI job to ensure the sources in the repo are consistent with
the update scripts.
2022-05-26 09:02:32 -07:00
Tyler Veness
96ebdcaf16
[wpimath] Remove unused Eigen AutoDiff module ( #4267 )
...
Drake's tests used to include it, but it's commented out since it's not
used.
2022-05-26 09:01:45 -07:00
PJ Reiniger
553b2a3b12
[upstream_utils] Fix stackwalker ( #4265 )
2022-05-24 21:51:32 -07:00
Tyler Veness
d651a1fcec
Fix internal deprecation warnings ( #4257 )
...
This allows us to error out on deprecation warnings for thirdparty
libraries and standard library features.
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2022-05-24 13:56:48 -07:00
Tyler Veness
d80e9cdf64
[upstream_utils] Use shallow clones for thirdparty repos ( #4255 )
...
This makes update_llvm.py in particular much faster because the full
repo requires fetching 2 GB.
2022-05-20 18:59:33 -07:00
Tyler Veness
7576136b4a
[upstream_utils] Make update_llvm.py executable ( #4254 )
2022-05-20 17:16:19 -07:00
PJ Reiniger
c3b223ce60
[wpiutil] Vendor llvm and update to 13.0.0 ( #4224 )
2022-05-20 15:59:53 -07:00
Tyler Veness
fff4d1f44e
[wpimath] Extend Eigen warning suppression to GCC 12 ( #4251 )
...
It originally only applied to GCC 11. The CMake build passed without
this change, but not the Gradle build.
2022-05-19 18:50:29 -07:00
Tyler Veness
3fada4e0b4
[wpinet] Update to libuv 1.44.1 ( #4232 )
2022-05-18 20:40:27 -07:00
Tyler Veness
4ac34c0141
[upstream_utils] Cleanup update_libuv.py ( #4249 )
2022-05-18 14:34:34 -07:00
Tyler Veness
8bd614bb1e
[upstream_utils] Use "git am" instead of "git apply" for patches ( #4248 )
...
This creates actual commits in the thirdparty repo, which makes rebasing
them onto new versions much easier.
2022-05-18 12:23:15 -07:00
Tyler Veness
4253d6d5f0
[upstream_utils] Apply "git am" patches individually ( #4250 )
...
Also, giving am_patches() zero patches isn't an error. The function will
just be a no-op.
2022-05-18 12:22:31 -07:00
Tyler Veness
6a4752dcdc
Fix GCC 12.1 warning false positives ( #4246 )
2022-05-18 12:22:10 -07:00
Tyler Veness
d364bbd5a7
[upstream_utils] Give vendor update scripts execute permissions ( #4226 )
2022-05-14 15:31:51 -07:00
PJ Reiniger
18db343cdc
[wpiutil, wpinet] Vendor libuv, stack walker ( #4219 )
2022-05-08 22:21:54 -07:00
Tyler Veness
63d1fb3bed
[wpiutil] Modify fmt to not throw on write failure ( #3919 )
...
This was causing issues with tools, as the launchers would close stdout/stderr, resulting in write failures.
2022-01-15 20:10:32 -08:00
Tyler Veness
b3707cca0b
[wpiutil] Upgrade to fmt 8.1.1 ( #3879 )
...
The changes to PneumaticsBase.cpp were to fix errors like the following
from enum classes not being formattable:
```
allwpilib/wpilibc/src/main/native/cpp/PneumaticsBase.cpp:36:9: required from here
allwpilib/wpiutil/src/main/native/fmtlib/include/fmt/core.h:2672:12: error: use of deleted function ‘fmt::v8::detail::fallback_formatter<T, Char, Enable>::fallback_formatter() [with T = frc::PneumaticsModuleType; Char = char; Enable = void]’
2672 | auto f = conditional_t<has_formatter<mapped_type, context>::value,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2673 | formatter<mapped_type, char_type>,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2674 | fallback_formatter<T, char_type>>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2022-01-08 11:10:42 -08:00
Tyler Veness
b3974c6ed3
[wpimath] Upgrade to Drake v0.37.0 ( #3786 )
2021-12-14 06:41:38 -08:00
Tyler Veness
f0ab6df5b6
[wpimath] Upgrade to Drake v0.36.0 ( #3722 )
2021-11-16 14:37:29 -08:00
Tyler Veness
2cb171f6f5
[docs] Set Doxygen extract_all to true and fix Doxygen failures ( #3695 )
...
The template argument order for UnscentedTransform was reversed to match
all the other UKF classes. Since UnscentedTransform is intended as a
class for internal use only, this shouldn't cause much breakage.
2021-10-29 15:07:05 -07:00
Tyler Veness
737b57ed5f
[wpimath] Update to drake v0.35.0 ( #3665 )
2021-10-22 23:02:08 -07:00
Tyler Veness
4676648b78
[wpimath] Upgrade to Drake v0.34.0 ( #3607 )
2021-09-29 15:39:47 -07:00
Tyler Veness
72716f51ce
[wpimath] Upgrade to Eigen 3.4
2021-09-17 12:12:19 -07:00
Tyler Veness
c8fc715fe2
[wpimath] Upgrade drake files to v0.33.0 ( #3531 )
2021-08-28 20:49:19 -07:00
Tyler Veness
bfc209b120
Automate fmt update ( #3486 )
...
Also refactored upstream_utils to make writing and maintaining new
upstream repo extractions easier.
2021-07-23 09:01:44 -07:00