Commit Graph

4099 Commits

Author SHA1 Message Date
d441a90164 build: update dependencies to gsl-lite/0.42.0, ms-gsl/4.1.0, fmt/11.1.4, and catch2/3.8.0, and suppress warnings for gcc-12 2025-04-29 13:03:04 +02:00
4624367e8a docs: update TODO comment with issue link for clang-20.2 workaround 2025-04-29 12:01:30 +02:00
13715168b0 test: interconvertible checks removed from units tests 2025-04-29 11:38:03 +02:00
f9acaa8879 fix: text stripping in type_name fixed 2025-04-29 11:35:10 +02:00
110a56dc30 feat: is_value_preserving customization point added 2025-04-28 15:23:36 +02:00
9a270de16c docs: typo in comments fixed 2025-04-28 15:22:47 +02:00
710eda7737 feat: type_name(T) added 2025-04-28 15:22:05 +02:00
40f7f70e3e Merge pull request #697 from rothmichaels/bugfix/xcode-build
Fix Xcode long build times and/or crashes
2025-04-22 10:04:58 +02:00
dc47ac32df Fix for long Xcode 15 build time after removing Representation concept
For some reason this new implementation of `RepresentationOf` was
causing long build times again in the Kalman fiter examples.  I'm not
sure why this is and if we should keep the old implemention only for
Xcode 15 or if we should revert this implementation change in general.
2025-04-21 16:31:52 -04:00
2e7f25a782 Revert "fix: appleclang-15 timeout on compilation workaround"
This reverts commit 7d340d9098.

This fix was causing the following error:

```
fatal error: error in backend: SmallVector unable to grow.
```
2025-04-21 16:31:23 -04:00
cd5ee3b773 Revert "build: disable apple-clang-15 builds until the crash is fixed"
This reverts commit c2672c069b.
2025-04-21 16:30:33 -04:00
e0ce43c5ef feat: IsFloatingPoint removed and replaced with treat_as_floating_point 2025-04-03 16:05:31 +01:00
f64a155ed9 style: pre-commit 2025-04-03 08:20:26 +01:00
f7fc8dd715 Revert "refactor(example): explicit conversions added for ranged_representation arguments"
This reverts commit 0811ca92e1.
2025-04-03 08:17:54 +01:00
6e7eeedbd8 build: clang-20.1 workaround added to package_info 2025-04-03 08:10:02 +01:00
0c528583f5 build: clang-19 support removed from conanfile.py 2025-04-03 08:09:17 +01:00
c709a1c3e5 fix: checking for clang versions fixed in CMake scripts 2025-04-03 08:08:32 +01:00
ee02ed4fd1 fix: mag_constant workarounds branches for clang fixed 2025-04-03 08:06:13 +01:00
8cf0f4791e fix: expr_less now also sorts powers 2025-04-03 08:03:47 +01:00
b6c01ffe9a fix: arg.visit support fixed 2025-04-03 08:02:06 +01:00
0811ca92e1 refactor(example): explicit conversions added for ranged_representation arguments 2025-04-03 08:00:09 +01:00
40abc664e8 docs: clang-19 issues mentioned in a compiler support table 2025-04-03 07:59:18 +01:00
c49a8e2103 build: setting of "-Wno-unused-result" flag moved to a different CMake file 2025-03-20 17:33:26 +01:00
c2672c069b build: disable apple-clang-15 builds until the crash is fixed 2025-03-19 13:54:46 +01:00
d2668338a1 build: __cpp_deleted_function removed for clang-20 when C++ version < 26 2025-03-19 13:50:37 +01:00
5fde28332b style: pre-commit 2025-03-19 12:37:17 +01:00
6a9f883335 refactor: deprecated literal operators 2025-03-19 12:31:37 +01:00
ca9c3086f4 refactor: visit_format_arg is deprecated in C++26 2025-03-19 12:30:53 +01:00
8456416acc fix: Wunused-result warning disabled for clang-20.1 (compiler bug) 2025-03-19 12:27:55 +01:00
36d1b87019 build: clang-20 enabled in CI 2025-03-19 09:40:30 +01:00
37afc37eb6 Merge pull request #688 from jharwell/rng-distribution-fix
Fix {normal, extreme_value} distributions to work with quantities
2025-03-11 18:15:50 +01:00
7945e8e60f Merge branch 'master' of github.com:mpusz/units 2025-03-09 16:39:21 +01:00
6b80ef6302 fix: setting MP_UNITS_EXPLICIT_THIS_PARAMETER_SUPPORTED fixed to account for C++ version
Resolves #685
2025-03-09 16:39:17 +01:00
0d664b462d Fix {normal, extreme_value} distributions to work with quantities 2025-03-03 13:21:56 -06:00
7102a4f63d fix: previous commit put MSVC code in an incorrect scope 2025-02-15 18:41:50 +01:00
8454949adb build: silenced MSVC warning for #include in a module purview 2025-02-15 18:19:57 +01:00
8eef11144b refactor: branch with constant condition changed to if constexpr 2025-02-15 14:29:52 +01:00
a6c8130f88 fix: MSVC complained about the usage of deprecated member 2025-02-15 14:29:24 +01:00
e625843d93 Merge pull request #681 from mpusz/msvc_fix
refactor: MSVC bug is fixed so workaround is removed
2025-02-15 13:08:24 +01:00
dc8843eeeb refactor: MSVC bug is fixed so workaround is removed 2025-02-15 10:39:36 +01:00
014458864c fix: std::numeric_limits usage fixed 2025-02-13 19:48:13 +01:00
5a0e350be7 feat: lerp and midpoint for points added 2025-02-13 14:26:51 +01:00
f5f502e76f docs: CHANGELOG updated 2025-02-12 20:28:44 +01:00
7d340d9098 fix: appleclang-15 timeout on compilation workaround 2025-02-12 19:21:24 +01:00
ded736a422 style: pre-commit 2025-02-12 19:11:27 +01:00
92ee3a9e03 docs: old customization poits removed from the "Character of a Quantity" chapter 2025-02-12 18:58:15 +01:00
b10c611902 docs: "Cconcepts" chapter updated 2025-02-12 18:57:29 +01:00
4b1f7cd217 feat: 💥 Representation concept removed 2025-02-12 18:57:06 +01:00
5963a2eb87 refactor: 💥 MagConstant concept renamed to detail::is_mag_constant variable trait 2025-02-12 09:51:14 +01:00
47cd2fffcc refactor: math_concepts.h removed and concepts replaced with explicit expression in constraints 2025-02-12 08:40:06 +01:00