Commit Graph

3093 Commits

Author SHA1 Message Date
Mateusz Pusz
a907bcdcfd style: whitespaces fixed in a Dockerfile 2024-02-22 11:19:19 +01:00
Mateusz Pusz
e37c83d5e1 docs: Cairo dependency described in the MkDocs section 2024-02-22 09:44:30 +01:00
Mateusz Pusz
cc05323b36 Merge pull request #551 from mpusz/typed_references
feat: improve types readability by eliminating extraneous () for a value of a type for references
2024-02-21 10:36:09 +01:00
Mateusz Pusz
6fed655bc3 refactor: reference interface refactored a bit to workaround clang-16 linking issues 2024-02-21 10:17:04 +01:00
Mateusz Pusz
e6b9a5cb92 Revert "refactor: make_reference used to return values from reference operations"
This reverts commit 963256acf1.
2024-02-21 10:06:31 +01:00
Mateusz Pusz
1afb3d5c18 Merge branch 'master' of github.com:mpusz/units 2024-02-20 19:59:53 +01:00
Mateusz Pusz
cd61e077b7 test: a few quantity_spec tests added 2024-02-20 19:59:46 +01:00
Mateusz Pusz
f81e9bdcfe refactor: kind_of_ refactored to take a type to improve error messages 2024-02-20 19:49:22 +01:00
Mateusz Pusz
792bd2c191 style: small formatting cleanup of conanfile.py 2024-02-17 23:02:00 +01:00
Mateusz Pusz
d4f41bb513 refactor: _min_cppstd replaced with an inlined version 2024-02-17 23:00:23 +01:00
Mateusz Pusz
8e2a3c6340 style: CheckCXXFeatureSupported.cmake reformatted to make pre-commit happy 2024-02-17 22:50:47 +01:00
Mateusz Pusz
aacdf6770b build(conan): can_run check added before running tests 2024-02-17 22:47:46 +01:00
Mateusz Pusz
8cb8416ea5 build(conan): generate() now set cache_variables 2024-02-17 22:46:24 +01:00
Mateusz Pusz
3d89bec4b9 feat: 💥 MP_UNITS_AS_SYSTEM_HEADERS support removed 2024-02-17 22:45:23 +01:00
Mateusz Pusz
762f56d865 build: include_guard added to AddMPUnitsModule 2024-02-17 22:44:30 +01:00
Mateusz Pusz
532b9e53d4 build: check_cxx_feature_supported added 2024-02-17 22:43:48 +01:00
Mateusz Pusz
9f08f4b170 refactor: validate_ascii_string refactored to is_basic_literal_character_set 2024-02-17 08:40:54 +01:00
Mateusz Pusz
cb858f1e51 feat: ABI concerns resolved with introduction of u8 strings for symbols 2024-02-16 22:13:13 +01:00
Mateusz Pusz
54dbeea68b style: AddMPUnitsModule reformatted with cmake-format 2024-02-16 17:02:56 +01:00
Mateusz Pusz
8b9ca0e342 Merge branch 'master' of github.com:mpusz/mp-units 2024-02-16 15:46:44 +01:00
Mateusz Pusz
0035015133 build: CMake header sets require at least 3.23 2024-02-15 22:22:35 +01:00
Mateusz Pusz
c24a0c060d build: add_mp_units_module improved 2024-02-15 22:20:46 +01:00
Mateusz Pusz
4145f3f6f1 refactor(example): partial headers replaced with the isq header 2024-02-15 22:19:29 +01:00
Mateusz Pusz
d5474cc095 docs: minor fixes 2024-02-15 22:18:39 +01:00
Mateusz Pusz
bde00c80c6 refactor: total energy refactored to use CTAD instead of auto 2024-02-15 22:13:24 +01:00
Mateusz Pusz
19826eaf3d fix: compilation fixed on C++23 2024-02-14 07:07:21 +01:00
Mateusz Pusz
2e609d9d6d fix: add missing unit test changes 2024-02-13 21:14:00 +01:00
Mateusz Pusz
26a7b35e73 Merge pull request #550 from mpusz/typed_prefixes
feat: improve types readability by eliminating extraneous `()` for a value of a type for prefixes
2024-02-13 20:45:53 +01:00
Mateusz Pusz
f1353a7166 docs: get_kind() note added to "Systems of Quantities" chapter 2024-02-13 20:25:28 +01:00
Mateusz Pusz
202c1d10da refactor: get_kind() now returns kind_of 2024-02-13 20:23:03 +01:00
Mateusz Pusz
f16ac802b3 fix: a value set for __cpp_explicit_this_parameter 2024-02-13 16:26:38 +01:00
Mateusz Pusz
28896583e5 Merge pull request #554 from NAThompson/atomic_compatibility
Ensure mp-units are compatible with std::atomic
2024-02-10 21:47:07 +01:00
Nick
34eac6a61e Update test/runtime/atomic_test.cpp
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-02-10 11:35:09 -08:00
Nick
947baa6d67 Update test/runtime/atomic_test.cpp
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-02-10 09:35:04 -08:00
Nick Thompson
c313c2c083 Ensure mp-units are compatible with std::atomic 2024-02-10 08:43:44 -08:00
Mateusz Pusz
cb3fd0043f Merge branch 'master' of github.com:mpusz/units 2024-02-10 12:19:49 +01:00
Mateusz Pusz
862e39ec97 refactor: 💥 Conan config options renamed to user.mp-units.* 2024-02-10 12:19:44 +01:00
Mateusz Pusz
755a09d100 build: cmake.useCMakePresets set to always for Gitpod 2024-02-06 17:18:46 +01:00
Mateusz Pusz
963256acf1 refactor: make_reference used to return values from reference operations 2024-02-06 11:28:20 +01:00
Mateusz Pusz
1663aa082f fix: quantity_spec compilation fixed 2024-02-05 20:43:36 +01:00
Mateusz Pusz
8b5d2ead52 fix: si_test compilation fixed 2024-02-05 19:45:08 +01:00
Mateusz Pusz
b4c08bb8fe feat: improve types readability by eliminating extraneous () for a value of a type for references
Resolves #533
2024-02-05 19:41:53 +01:00
Mateusz Pusz
25a4c7c128 fix: quantity_test compilation fixed 2024-02-05 19:32:38 +01:00
Mateusz Pusz
96dcea751d feat: improve types readability by eliminating extraneous () for a value of a type for prefixes 2024-02-05 19:12:47 +01:00
Mateusz Pusz
d4dde886cb build: explicit this enabled with a workaround for clang-18 2024-02-05 16:33:32 +01:00
Mateusz Pusz
1bf723e0fe build: more gitpod-related changes 2024-02-05 09:38:36 +00:00
Mateusz Pusz
0c27be46f8 build: more gitpod improvements 2024-02-04 18:01:12 +00:00
Mateusz Pusz
d5d803fe07 build: liveserver no longer needed in gitpod 2024-02-03 17:49:28 +00:00
Mateusz Pusz
79591bca0b style: more whitespaces fixed 2024-02-03 17:46:25 +00:00
Mateusz Pusz
d0cbc53585 style: whitespaces fixed to make pre-commit happy 2024-02-03 17:37:22 +00:00