Commit Graph

  • 61ada08c3b [msvc][conan] update test_package.cpp Jonas Hoppe 2024-09-03 13:20:11 +02:00
  • 0b0d3345e5 [clang-format] Jonas Hoppe 2024-09-03 13:17:44 +02:00
  • b5c9dca61f [naming] change some more names Jonas Hoppe 2024-09-03 12:31:19 +02:00
  • 48c4f297c8 [hacks] add MP_UNITS_IS_CONST_EXPR(from) Jonas Hoppe 2024-09-03 12:27:57 +02:00
  • a89bfc6c21 [hacks] add MP_UNITS_IS_VALUE Jonas Hoppe 2024-09-03 12:14:42 +02:00
  • 5ae1304eee [hacks] add MP_UNITS_EXPRESSION Jonas Hoppe 2024-09-03 12:07:08 +02:00
  • e258009a6a [msvc][fmt] diable warning in smalest scope Jonas Hoppe 2024-09-03 11:27:53 +02:00
  • 4d715734bf [msvc][fix] update changes for master Jonas Hoppe 2024-09-03 11:27:44 +02:00
  • 4b61716bb4 💥 [msvc][conan] enable msvc with version 194. Jonas Hoppe 2024-08-30 13:42:28 +02:00
  • 918a8b7e8f [msvc][fix] parse error in refernce.h. resolved with more brackets. Jonas Hoppe 2024-08-30 13:37:51 +02:00
  • 3a6fc90c7b [msvc][fix] compiler does not get that expression can be evalutated to a const. (caused by read of variable outside its lifetime) Jonas Hoppe 2024-08-30 13:36:12 +02:00
  • cea5d70dc0 [msvc][fix] disable C4702 unreachable code Jonas Hoppe 2024-08-30 13:33:16 +02:00
  • 924782f557 [mscv][fix] weird problem with PO in quantity_point.h. replace with point_origin where needed Jonas Hoppe 2024-08-30 13:32:55 +02:00
  • 3d32d5d833 [msvc][fix] internal compiler error for requires expression. "simplify" with extra concept Jonas Hoppe 2024-08-30 13:27:37 +02:00
  • 5e657bac70 [msvc][fix] msvc complains about requires expression (no common type found) replace with concept has_common_type Jonas Hoppe 2024-08-30 13:26:38 +02:00
  • 464c55538f [msvc][fix] resolve ambigious call to find_first_of Jonas Hoppe 2024-08-30 13:23:41 +02:00
  • 19e358e56d [mscv][fix] string_view iterator is not castalbe to char Jonas Hoppe 2024-08-30 13:21:25 +02:00
  • 482150eca1 [msvc][fix] some more errros in examples Jonas Hoppe 2024-08-30 13:20:16 +02:00
  • 1913fbe344 [msvc][cmake] disable linear_algebra_test.cpp tests because of errors in mdspan Jonas Hoppe 2024-08-30 13:19:35 +02:00
  • e9ad43a71a [msvc][fix] CTAD for quantity_point does not work. Jonas Hoppe 2024-08-30 13:18:27 +02:00
  • d491758697 [msvc][fix] return type of chrono_literal "s" is not defined. Is double for msvc Jonas Hoppe 2024-08-30 13:14:54 +02:00
  • 30ac2882bd [msvc][fix] a lot of brackets where msvc prefers the type and not the value. (Issue reported) Jonas Hoppe 2024-08-30 13:12:10 +02:00
  • 5d3ed201b6 [msvc][fix] some short names hide global identifier Jonas Hoppe 2024-08-30 11:48:31 +02:00
  • aa26488b60 [msvc][fix] msvc compiler has different behaviour for *= and * at compile time (issue reported) Jonas Hoppe 2024-08-30 11:47:11 +02:00
  • 33837c5042 [msvc][fix] some short names hide global identifier Jonas Hoppe 2024-08-30 11:43:57 +02:00
  • 72e03f4f59 [msvc][fix] msvc needs explicit namespace for some using-declarations Jonas Hoppe 2024-08-30 11:23:30 +02:00
  • f0e19d004c fix: the remaining pascal macro conflicts fixed Mateusz Pusz 2024-08-25 17:31:58 +02:00
  • 77625d63cb feat: 💥 unit_can_be_prefixed removed - from now on all named units can be prefixed Mateusz Pusz 2024-08-22 08:06:00 +02:00
  • aab0ef8ea0 docs: a tip with unit_can_be_prefixed workaround added Mateusz Pusz 2024-08-21 11:17:41 +02:00
  • ab51b47328 Merge pull request #601 from chiphogg/chiphogg/sqrt-mag#474 Mateusz Pusz 2024-07-31 05:24:27 +09:00
  • f983c31eb2 fix: workaround for linking issues on the older clang compilers Mateusz Pusz 2024-07-30 16:07:45 +02:00
  • f088d544b3 Fix known errors Chip Hogg 2024-07-29 20:43:06 -04:00
  • e2829de1c8 Merge branch 'master' into chiphogg/sqrt-mag#474 Chip Hogg 2024-07-29 20:36:40 -04:00
  • 0850a200cd fix: import_std setting fixed for clang-tidy Mateusz Pusz 2024-07-29 13:13:51 +02:00
  • c7c446250d fix: import_std setting fixed Mateusz Pusz 2024-07-29 12:21:36 +02:00
  • 399c939c4f ci: import_std conan option is now dynamically deduces from other options Mateusz Pusz 2024-07-29 12:01:05 +02:00
  • 1788d9616f build: CMake's verify_header_sets disabled for import std; Mateusz Pusz 2024-07-29 11:20:15 +02:00
  • a8b79ff57f ci: import_std disabled for CMake CI Mateusz Pusz 2024-07-29 10:28:39 +02:00
  • 9448ef52b9 fix: std_format Conan option can be removed in configure Mateusz Pusz 2024-07-29 10:25:09 +02:00
  • d04d546b17 fix: target_compile_definitions scope fixed for import std; Mateusz Pusz 2024-07-29 10:04:07 +02:00
  • 3a6fac9858 Move tests to runtime Chip Hogg 2024-07-24 20:03:47 -04:00
  • f6696e8f68 Fix formatting Chip Hogg 2024-07-24 19:48:05 -04:00
  • f5eda4a25b fix: bump minimum conan version required Mateusz Pusz 2024-07-24 22:44:51 +02:00
  • 7e894788d7 Compute values for rational magnitude powers Chip Hogg 2024-07-24 10:31:44 -04:00
  • f9ae701b4e fix: MP_UNITS_BUILD_IMPORT_STD verification fixed Mateusz Pusz 2024-07-17 21:31:28 +02:00
  • fb9043b649 fix: setting of MP_UNITS_BUILD_IMPORT_STD in generate() added Mateusz Pusz 2024-07-16 20:51:59 +02:00
  • 698accac4f docs: import std; row added to the "C++ compiler support" table Mateusz Pusz 2024-07-16 20:50:42 +02:00
  • 27bd2690bd fix: preventing import std; in GMF Mateusz Pusz 2024-07-16 20:50:04 +02:00
  • 2411a7ef12 build: minimum required CMake version bumped to 3.25 Mateusz Pusz 2024-07-16 20:35:05 +02:00
  • 2e1e4f122a chore: update CMakeLists.txt option description for building as system headers Mateusz Pusz 2024-07-16 17:37:19 +02:00
  • 827b0f5ee1 docs: small celanup of "Build options" chapter Mateusz Pusz 2024-07-16 17:36:41 +02:00
  • b870b85c25 feat: import std; support added Mateusz Pusz 2024-07-16 17:36:00 +02:00
  • a4691825ee build: conanfile bumped to use fmt/11.0.1 Mateusz Pusz 2024-07-16 12:16:04 +02:00
  • 180358814f build: conanfile bumped to use catch2/3.6.0 Mateusz Pusz 2024-07-16 12:14:40 +02:00
  • 551ed9e094 test: conversion to chrono unit tests added Mateusz Pusz 2024-07-16 12:13:29 +02:00
  • d51fb6d6c1 refactor: consistent std::size_t usage Mateusz Pusz 2024-07-16 12:12:54 +02:00
  • c57142c18a fix: common_type_t with std::chrono::seconds unit test removed Mateusz Pusz 2024-07-14 22:22:39 +02:00
  • d84a2beae5 fix: common_type_t unit tests fixed Mateusz Pusz 2024-07-14 22:12:25 +02:00
  • fcc16ae282 feat: convertibility of a quantity with a unit one with the raw value added Mateusz Pusz 2024-07-14 18:31:11 +02:00
  • 0dfd323c4b feat: ValuePreservingTo extended with the explicit convertibility requirement Mateusz Pusz 2024-07-14 18:06:02 +02:00
  • 73f7901329 build: duplicated cmake_minimum_required commands removed Mateusz Pusz 2024-07-14 18:04:05 +02:00
  • 2e557e4179 build: all CMake modules bumped to require at least CMake 3.15 Mateusz Pusz 2024-07-14 18:02:53 +02:00
  • e2a0e678a1 refactor: small cleanup in the quantity.h Mateusz Pusz 2024-07-13 08:37:40 +02:00
  • fa25d11275 refactor: ValuePreservingTo concept added Mateusz Pusz 2024-07-13 08:36:48 +02:00
  • 160a74a94a ci: runtime unit tests disabled for clang-tidy CI Mateusz Pusz 2024-07-12 19:50:40 +02:00
  • f66222fb87 fix: _angular impulse_ unit symbol formatting unit test fixed Mateusz Pusz 2024-07-12 19:48:01 +02:00
  • 498d895fe5 fix: designated initialization of extract_results removed to enable clang-16 compilation Mateusz Pusz 2024-07-12 18:47:19 +02:00
  • 0653a2dbf7 fix: non-portable unit test removed Mateusz Pusz 2024-07-12 18:46:26 +02:00
  • d341c166e1 fix: types ordering in one of the unit tests fixed Mateusz Pusz 2024-07-12 18:31:54 +02:00
  • f73f924b80 refactor: small cleanup of unit_test.cpp Mateusz Pusz 2024-07-12 17:49:09 +02:00
  • adbc77432e feat: all tags in the expression templates are now ordered by the type names Mateusz Pusz 2024-07-12 17:48:38 +02:00
  • f0e94e06da fix: quantity_spec_interface_base introduced to fix the compilation on the older compilers Mateusz Pusz 2024-07-12 17:10:30 +02:00
  • 0010d868a7 feat: tag types-related operators are now hidden friends as well Mateusz Pusz 2024-07-12 16:01:03 +02:00
  • b5e8f2afcd fix: si.h and angular.h now properly include hacks.h to define MP_UNITS_HOSTED before its usage Mateusz Pusz 2024-07-12 15:03:19 +02:00
  • bc234b0093 fix: disabled partial convertibility of binary operators arguments Mateusz Pusz 2024-07-12 15:02:29 +02:00
  • e5e0e47c36 refactor: small quantity and quantity_point interface cleanup Mateusz Pusz 2024-07-11 19:34:31 +02:00
  • dd52808999 Merge pull request #577 from mpusz/hidden_friends Mateusz Pusz 2024-07-12 02:19:59 +09:00
  • 175fd04c3a fix: LA library bug workaround Mateusz Pusz 2024-07-11 19:18:28 +02:00
  • a70ef1ebc3 Revert "fix: disabled convertibility of quantity binary operators arguments" Mateusz Pusz 2024-07-11 18:05:51 +02:00
  • 037964bbba fix: disabled convertibility of quantity binary operators arguments Mateusz Pusz 2024-07-11 17:19:31 +02:00
  • bfb964b017 docs: CHANGELOG updated Mateusz Pusz 2024-07-11 16:08:47 +02:00
  • 50cc9dfded refactor: binary operators of quantity and quantity_point are now hidden friends Mateusz Pusz 2024-07-11 16:08:47 +02:00
  • c8849e5781 refactor: improvements in are_ingredients_convertible Mateusz Pusz 2024-07-10 10:23:55 +02:00
  • 390a0cee5d refactor: small refactoring of conditions in convertible_impl Mateusz Pusz 2024-07-08 09:12:16 +02:00
  • 0586ce030b refactor: prepend_and_process_rest refactored Mateusz Pusz 2024-07-07 22:27:35 +01:00
  • 382695623a refactor: a few functions that look for convertible ingredeints renamed Mateusz Pusz 2024-07-07 22:05:50 +01:00
  • 0368d0a56d fix: MP_UNITS_API_CONTRACTS should have a priority over headers availability (compat_macros) Mateusz Pusz 2024-07-07 21:14:04 +01:00
  • 6a5e6902fe fix: MP_UNITS_API_CONTRACTS should have a priority over headers availability Mateusz Pusz 2024-07-06 18:09:41 +01:00
  • 9df601f522 build: fmt updated to 11.0.0 Mateusz Pusz 2024-07-05 14:03:39 +01:00
  • b803e5b701 fix: most of the previous commit reverted (accidentaly too many files with changes were included) Mateusz Pusz 2024-07-05 10:05:25 +01:00
  • c30f62e7f5 docs: 2.2.0 release announcement updated to point to 2.2.1 Mateusz Pusz 2024-07-04 22:57:49 +01:00
  • 2cff579650 feat: representation type template parameter added to value convertion functions Mateusz Pusz 2024-07-04 22:05:40 +01:00
  • 5903e5661f refactor: 💥 quantity_point_like_traits now use numerical value instead of the quantity Mateusz Pusz 2024-07-04 16:40:40 +01:00
  • 360eb85d09 docs: TODO note changed in the unit_symbol and dimension_symbol Mateusz Pusz 2024-07-04 15:03:58 +01:00
  • 170a345fdf fix: unit_symbol and dimension_symbol fixed for pre-C++23 compilation Mateusz Pusz 2024-07-04 14:46:14 +01:00
  • 14d1a4e06b fix: mkdocs dependencies fixed in the gitpod dockerfile Mateusz Pusz 2024-07-04 14:18:43 +01:00
  • 246923d877 refactor: unit_symbol and dimension_symbol refactored for readability and consteval Mateusz Pusz 2024-07-04 14:16:19 +01:00
  • 79488ef17d docs: one more small improvement Mateusz Pusz 2024-07-04 12:15:31 +01:00
  • 5a588e5f45 docs: code example in "Radians and degrees support" chapter improved Mateusz Pusz 2024-07-04 12:14:40 +01:00
  • b3cd2cf6e3 feat: text output for angular units improved (space before symbol removed) Mateusz Pusz 2024-07-04 10:40:12 +01:00