Commit Graph

  • 52544678c1 [msvc][fix] add Workaround Macro to conan test-package Jonas Hoppe 2024-09-09 12:37:38 +02:00
  • eaed0614ef [msvc][fix][unit.h] move requires before function signature instead of using MP_UNITS_IS_CONST_EXPR_WORKAROUND Jonas Hoppe 2024-09-09 12:29:50 +02:00
  • 9ce76ede3a [msvc][fix] remvoe MP_UNITS_IS_CONST_EXPR_WORKAROUND in constexpr branches Jonas Hoppe 2024-09-09 12:25:09 +02:00
  • aebf55c09a Revert "Merge branch 'master-msvc-194-only-lib' into master-msvc-194" Jonas Hoppe 2024-09-09 12:10:39 +02:00
  • 1d0dbf48b1 Merge remote-tracking branch 'mpusz/master' into master-msvc-194 Jonas Hoppe 2024-09-09 12:05:19 +02:00
  • e3034c5554 Merge branch 'master-msvc-194-only-lib' into master-msvc-194 Jonas Hoppe 2024-09-09 11:49:37 +02:00
  • aedcbcf2e7 docs: minor formatting and spelling improvements to the "CONTRIBUTING.md" Mateusz Pusz 2024-09-08 11:46:34 +02:00
  • ee21ae0e1f docs: "Generating API reference" chapter added Mateusz Pusz 2024-09-08 11:45:19 +02:00
  • efc7cb338b ci: generated api_reference destination directory fixed Mateusz Pusz 2024-09-08 10:35:08 +02:00
  • 1a7f461a08 ci: tex2html path export fixed Mateusz Pusz 2024-09-08 09:36:26 +02:00
  • be1fc86daf ci: api_reference/src path fixed Mateusz Pusz 2024-09-08 09:27:04 +02:00
  • 804814e9b0 feat: API reference generation added Mateusz Pusz 2024-09-08 09:23:03 +02:00
  • 32712a20a8 style: pre-commit formatting issues resolved Mateusz Pusz 2024-09-08 08:32:17 +02:00
  • 3d3990f3b5 Merge pull request #546 from JohelEGP/ref_docs Mateusz Pusz 2024-09-08 15:21:54 +09:00
  • c4a3103267 feat: update .gitignore to exclude generated api reference files Mateusz Pusz 2024-09-08 08:20:26 +02:00
  • 40d81d0f3e feat: mkdocs-exclude plugin added Mateusz Pusz 2024-09-08 08:20:26 +02:00
  • 4512e29b1b refactor: api.md renamed to the api_reference.md Mateusz Pusz 2024-09-08 08:20:26 +02:00
  • 09167990ad chore: *.tex files moved to api_reference/src directory Mateusz Pusz 2024-09-08 08:20:26 +02:00
  • 20d58666fe docs: add reference documentations Johel Ernesto Guerrero Peña 2024-09-08 08:20:26 +02:00
  • 04f128623e Merge pull request #532 from mpusz/api_reference Mateusz Pusz 2024-09-08 15:18:20 +09:00
  • b56bc8b5b2 docs: example generated files removed Mateusz Pusz 2024-09-07 15:46:13 +02:00
  • 1b4f451f90 docs: "API Reference" support added Mateusz Pusz 2024-09-07 15:46:13 +02:00
  • 40dc07a42c refactor: quantity_point default-constructibility removed from the quantity_from constraints Mateusz Pusz 2024-09-06 18:31:51 +02:00
  • c06a533f50 refactor: Representation concepts now requires WeaklyRegular instead of std::regular Mateusz Pusz 2024-09-06 18:30:58 +02:00
  • 3d39472f46 test: unit tests for creating a quantity from a volatile variable Mateusz Pusz 2024-09-06 18:07:33 +02:00
  • 664d52c0c0 refactor: perfect forwarding interfaces improved Mateusz Pusz 2024-09-06 16:02:51 +02:00
  • cbe37cdadf fix: compiler crashes workaround Mateusz Pusz 2024-09-06 15:57:11 +02:00
  • a9bcec46c8 fix: static removed from a constexpr variable in a constexpr function as this is supported in C++23 only Mateusz Pusz 2024-09-06 15:56:45 +02:00
  • 1570bda905 fix: quantity scaling between different prefixes improved Mateusz Pusz 2024-09-06 12:28:11 +02:00
  • 7eb9b764bd fix: workarounds for not-working CWG2387 Mateusz Pusz 2024-09-05 22:05:35 +02:00
  • 45013f6752 fix: inline restored for non-template constexpr global variables Mateusz Pusz 2024-09-05 10:06:43 +02:00
  • 2e840cfdb4 refactor: Repetitive inline constexpr removed as no longer needed Mateusz Pusz 2024-09-05 08:43:36 +02:00
  • 2a4e1e3d95 docs: Rework of "Getting Started" section Mateusz Pusz 2024-09-05 08:17:35 +02:00
  • 93af5db137 [clang-format] Jonas Hoppe 2024-09-04 10:30:39 +02:00
  • 3174291f95 Merge branch 'master-msvc-194' into master-msvc-194-only-lib Jonas Hoppe 2024-09-04 10:27:41 +02:00
  • 8be458b0b7 [msvc] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND Jonas Hoppe 2024-09-04 10:19:15 +02:00
  • b05b3796ce [PR] move is_mp_units_stream to detail and change from concept to constexpr function Jonas Hoppe 2024-09-04 09:49:04 +02:00
  • 712afc34b7 [PR] rename macros to match naming conventions for workaround Jonas Hoppe 2024-09-04 09:37:41 +02:00
  • d18bb28a25 [PR] remove MP_UNITS_TYPENAME Jonas Hoppe 2024-09-04 09:32:21 +02:00
  • d1897b1fe9 [PR] change disable error to macro Jonas Hoppe 2024-09-04 09:28:44 +02:00
  • af077ef3c5 [msvc][fix] revert changes in example and test folder Jonas Hoppe 2024-09-03 13:20:54 +02:00
  • 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