Commit Graph

  • 0b265f362d refactor: is_derived_from_specialization_of_v added and applied to remove custom traits Mateusz Pusz 2024-09-23 14:25:33 +02:00
  • dca6bc3555 refactor: unnecessary custom versions of is_specialization_of removed Mateusz Pusz 2024-09-23 14:17:49 +02:00
  • 3671f64153 refactor: 💥 magnitudes code cleanup + mag_pi is now mag<pi> Mateusz Pusz 2024-09-23 12:39:22 +02:00
  • 4492d42b91 Revert "build: package_type is dynamically set in conanfile.py depending if we build modules or not" Mateusz Pusz 2024-09-20 17:05:52 -06:00
  • 1933aadf93 docs: API Reference PDF generation dependencies added Mateusz Pusz 2024-09-20 14:17:18 -06:00
  • 7a83c2b391 feat: iec::var unit added Mateusz Pusz 2024-09-20 10:57:23 -06:00
  • e92178abef refactor: 💥 iec80000 system renamed to iec Mateusz Pusz 2024-09-20 09:52:24 -06:00
  • e6c65d6c89 build: MP_UNITS_BUILD_IMPORT_STD CMake option removed Mateusz Pusz 2024-09-20 09:34:38 -06:00
  • 7f0dea9d18 feat: complex quantity character added Mateusz Pusz 2024-09-19 21:57:03 -06:00
  • 696f789e77 fix: complex_power & co fixed Mateusz Pusz 2024-09-19 21:43:19 -06:00
  • 6e6e0ce2d8 docs: line breaks in mermaid graphs fixed Mateusz Pusz 2024-09-19 21:12:16 -06:00
  • 61a730d0a4 build: latex dependencies installation Mateusz Pusz 2024-09-19 17:09:53 -06:00
  • bbdb750362 build: package_type is dynamically set in conanfile.py depending if we build modules or not Mateusz Pusz 2024-09-19 17:02:30 -06:00
  • bfa221857e docs: enabled generation of PDF for API Reference Mateusz Pusz 2024-09-19 15:54:48 -06:00
  • 7cbbcb5c17 fix: header conflict resulting from a merge fixed Mateusz Pusz 2024-09-19 15:31:59 -06:00
  • 3a9f09345e style: reformat test_package/conanfile.py Mateusz Pusz 2024-09-19 15:28:09 -06:00
  • adbae41175 feat: MP_UNITS_IMPORT_STD and MP_UNITS_MODULES handled properly in test_package.cpp Mateusz Pusz 2024-09-19 15:26:33 -06:00
  • 64056ee321 build: target_compile_features now uses CMAKE_CXX_STANDARD Mateusz Pusz 2024-09-19 14:50:32 -06:00
  • e9284652ab build: target_include_directories is not needed anymore Mateusz Pusz 2024-09-19 14:47:36 -06:00
  • f43310585a build: generate() in test_package now correctly propagates project's options Mateusz Pusz 2024-09-19 14:46:43 -06:00
  • 8e18803083 build: gitpod Dockerfile fixed Mateusz Pusz 2024-09-18 19:41:02 -06:00
  • 089ce3f9d9 style: pre-commit updated to clang-format-18.1.8 Mateusz Pusz 2024-09-17 20:27:26 -06:00
  • 831c017a22 build: std_format enabled for MSVC Mateusz Pusz 2024-09-17 20:14:57 -06:00
  • 0c9e62a288 Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2024-09-17 17:14:26 -06:00
  • 5305de7a28 docs: "Text Formatting" tag removed from avg_speed example Mateusz Pusz 2024-09-17 17:12:14 -06:00
  • 7e777f228a fix: hw_voltage compilation fixed on C++20 Mateusz Pusz 2024-09-17 17:10:53 -06:00
  • 3ead7c2d52 feat: hw_voltage example added Mateusz Pusz 2024-09-17 16:12:03 -06:00
  • 80880f1014 docs: examples line numbers fixed Mateusz Pusz 2024-09-17 16:11:19 -06:00
  • 7ce8d695b1 test: std::complex-based quantities tests added Mateusz Pusz 2024-09-17 12:48:13 -06:00
  • 8a68221eb9 Merge pull request #613 from burnpanck/improvement/test-on-arm64 Mateusz Pusz 2024-09-17 09:27:54 +09:00
  • 3e502fb795 increase tolerance for certain math tests to two epsilon Yves Delley 2024-09-16 20:34:12 +02:00
  • add0a817e2 Merge branch 'mpusz:master' into improvement/test-on-arm64 Yves Delley 2024-09-16 20:24:31 +02:00
  • 747086efce Merge branch 'master' into improvement/test-on-arm64 Yves Delley 2024-09-16 17:30:53 +02:00
  • 910f5d5395 Merge branch 'master' of github.com:mpusz/mp-units Mateusz Pusz 2024-09-15 19:30:23 -06:00
  • 78efb77b96 style: empty leading line removed from quantity.h Mateusz Pusz 2024-09-15 19:30:13 -06:00
  • 618b097c42 refactor: value_cast<Rep, U> now reuses value_cast<U, Rep> Mateusz Pusz 2024-09-15 19:29:40 -06:00
  • 25534c6998 also run conan tests on macOS 14 (again, an example for arm64) Yves Delley 2024-09-15 18:34:28 +02:00
  • bd4a61d518 added test for upstream clang on macos-14, as an example for an arm64 platform Yves Delley 2024-09-15 17:36:14 +02:00
  • 2e96871176 refactor: is_power_of_quantity_spec and is_power_of_dim variable templates converted to concepts Mateusz Pusz 2024-09-14 19:41:43 -06:00
  • 326837a04a Merge pull request #612 from burnpanck/bugfix/fix-611 Mateusz Pusz 2024-09-15 08:52:16 +09:00
  • 9ca56f6911 avoid precision loss warning in magnitudes' root; fixes #611 Yves Delley 2024-09-14 21:37:00 +02:00
  • 0670fbdd9f feat: value_cast<Representation, Unit>() complementary conversion function added Mateusz Pusz 2024-09-13 21:38:59 +02:00
  • ae816a97fc docs: "Unit symbols" chapter added Mateusz Pusz 2024-09-13 17:07:03 +02:00
  • 93f41cf499 docs: Compiler Explorer link to basic operations example updated Mateusz Pusz 2024-09-13 10:48:46 +02:00
  • 866550eefc docs: MSVC compilation announced and its bugs listed on the compiler's conformance page Mateusz Pusz 2024-09-10 21:00:30 +02:00
  • 3e31067ce4 refactor: has_common_type_v simplified Mateusz Pusz 2024-09-10 18:48:11 +02:00
  • 8103a4039f fix: std::format does not have to use Char* as iterators Mateusz Pusz 2024-09-10 18:43:19 +02:00
  • 39d735fb2c Merge pull request #607 from czjhoppe/master-msvc-194-only-lib Mateusz Pusz 2024-09-10 19:52:15 +09:00
  • 329b17ec8c clang-format Jonas Hoppe 2024-09-10 11:14:45 +02:00
  • 5ecb6c295a [msvc][fix] add Todo comment for bug https://developercommunity.visualstudio.com/t/Discrepancy-in-Behavior-of-operator-an/10732445 Jonas Hoppe 2024-09-10 11:01:15 +02:00
  • 4f4da588b1 [msvc][fix] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND in example Jonas Hoppe 2024-09-10 10:15:24 +02:00
  • 0532f41872 Merge branch 'master' into master-msvc-194-only-lib Jonas Hoppe 2024-09-10 10:04:14 +02:00
  • 413966efca [msvc][fix] revert changes in example and test folder Jonas Hoppe 2024-09-10 10:03:37 +02:00
  • f651438f29 [clang-format] Jonas Hoppe 2024-09-10 09:58:05 +02:00
  • ee4a7066ca [msvc][fix] remove MP_UNITS_IS_CONST_EXPR_WORKAROUND Jonas Hoppe 2024-09-10 08:56:52 +02:00
  • 32d4821f4a chore: Dockerfile updated for gitpod Mateusz Pusz 2024-09-09 18:19:16 +00:00
  • e792eb303c chore: .gitignore updated to account also for the docs/api_reference/gen symbolic link Mateusz Pusz 2024-09-09 14:39:36 +02:00
  • e42e568f44 fix: conversion operator to std::chrono types fixed Mateusz Pusz 2024-09-09 14:37:22 +02:00
  • 3da6db7d04 [msvc][fix] remove all unnecessary MP_UNITS_IS_CONST_EXPR_WORKAROUND Jonas Hoppe 2024-09-09 13:35:55 +02:00
  • 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