Commit Graph

  • e353bb3436 refactor(unit test): support for new features added to unit and dimension unit tests Mateusz Pusz 2023-02-13 19:07:16 +01:00
  • 6d033d72fe fix(unit test): quantity construction switched to a new syntax in unit tests Mateusz Pusz 2023-02-13 19:05:58 +01:00
  • 7160caa597 refactor(example): avg_speed example don't need a quantity_cast anymore Mateusz Pusz 2023-02-13 19:01:30 +01:00
  • 1b924ffbc1 fix(example): Kalman filter examples now use a correct quantity of time Mateusz Pusz 2023-02-13 18:59:36 +01:00
  • f446b4f7a7 feat: standard_gravity now uses acceleration_of_free_fall Mateusz Pusz 2023-02-13 18:56:20 +01:00
  • 3c2e6d06bb refactor: ISQ system refactored to benefit from the latest changes Mateusz Pusz 2023-02-13 18:55:54 +01:00
  • 4e3daf3f02 fix: quantity construction in random.h fixed Mateusz Pusz 2023-02-13 18:42:48 +01:00
  • 8e6fb7818b fix: isq_angle compilation fixed Mateusz Pusz 2023-02-13 18:39:12 +01:00
  • f667037216 feat: associated quantities provided for units in various systems Mateusz Pusz 2023-02-13 18:37:27 +01:00
  • 89756c5b74 feat: QuantityKindSpec concept support added + some cleanup Mateusz Pusz 2023-02-13 18:35:07 +01:00
  • dd7c63b242 fix: quantity construction fixed in some operators Mateusz Pusz 2023-02-13 18:34:00 +01:00
  • 6b2606a8aa feat: explicit quantity_spec conversion support added to quantity constructor Mateusz Pusz 2023-02-13 18:33:19 +01:00
  • 41043c25f2 refactor: base unit definition refactored Mateusz Pusz 2023-02-13 18:30:41 +01:00
  • 0d33926a74 feat: specifying an associated quantity for a derived unit support added Mateusz Pusz 2023-02-13 18:29:03 +01:00
  • 1492c5c19e refactor: expr_fractions now takes a class-based type trait Mateusz Pusz 2023-02-13 18:23:35 +01:00
  • 75c3e26a53 fix: has_associated_quantity fixed Mateusz Pusz 2023-02-13 18:18:08 +01:00
  • a37df7504b fix: quantity_cast fixed Mateusz Pusz 2023-02-13 18:17:41 +01:00
  • 195f9c13b9 feat: get_common_base() added Mateusz Pusz 2023-02-13 18:14:46 +01:00
  • a13e627c9f feat: proper support of kinds added to get_associated_quantity() Mateusz Pusz 2023-02-13 18:13:41 +01:00
  • 9436229ed2 refactor: the rest of the code refactored for new quantity construction way Mateusz Pusz 2023-02-10 17:20:48 -08:00
  • a56696ee74 feat: leveled quantity specification conversion introduced Mateusz Pusz 2023-02-10 17:16:51 -08:00
  • 761919c1be feat: added new SI prefixes based on CGPM 2022 Resolution 3 Mateusz Pusz 2023-02-09 11:25:18 -08:00
  • 6794485b02 refactor: small cleanup of IEC 80000 definitions Mateusz Pusz 2023-02-09 10:02:58 -08:00
  • 17e8558555 refactor: operations on friends made hidden friends Mateusz Pusz 2023-02-09 09:59:11 -08:00
  • d70b95237c refactor: Quantity no longer can be constructed with a raw value Mateusz Pusz 2023-02-09 09:42:00 -08:00
  • bb6c942e0c refactor: common_quantity_spec now starts with a check of arguments equality Mateusz Pusz 2023-02-08 22:15:44 -08:00
  • 3686397882 refactor: minor code cleanup Mateusz Pusz 2023-02-08 22:07:12 -08:00
  • bb05e3434e feat: type traits for template template auto parameters added Mateusz Pusz 2023-02-08 22:03:41 -08:00
  • 0417507b49 refactor: math refactored to the latest library state Mateusz Pusz 2023-02-08 21:49:19 -08:00
  • 859bc20fdc refactor: all examples refactored to use a simplified quantity creation Mateusz Pusz 2023-02-08 21:47:48 -08:00
  • 26ed241662 fix: value_cast fixed Mateusz Pusz 2023-02-08 21:15:42 -08:00
  • 1f2e57a575 refactor: interconvertible renamed to convertible_to Mateusz Pusz 2023-02-08 21:14:17 -08:00
  • c21bde85a3 refactor: same_canonical_reference_unit renamed to have_same_canonical_reference_unit Mateusz Pusz 2023-02-08 21:11:57 -08:00
  • faffbefad2 refactor: get_dimension_for() no longer needed Mateusz Pusz 2023-02-08 21:09:20 -08:00
  • 4484148735 fix: ambiguity on common_reference resolved Mateusz Pusz 2023-02-08 21:06:14 -08:00
  • fbc34c8b98 refactor: get_associated_quantity.h moved to a dedicated header file Mateusz Pusz 2023-02-08 21:05:31 -08:00
  • 290f406746 fix: quantity creation in its operator/ fixed Mateusz Pusz 2023-02-08 21:00:52 -08:00
  • 68617f68b0 feat: quantity.h now exports quantity_cast and value_cast to simplify library usage Mateusz Pusz 2023-02-08 20:59:08 -08:00
  • 8a0a61b589 refactor: DerivedQuantitySpec implementation simplified Mateusz Pusz 2023-02-07 22:28:14 -08:00
  • 8de74eb6f7 feat: call operator of reference does not produce a quantity anymore Mateusz Pusz 2023-02-06 22:39:23 -08:00
  • ebccabc94c refactor: DerivedDimension definition simplified Mateusz Pusz 2023-02-06 22:34:59 -08:00
  • 8e61286548 docs: "Terms and Definitions" added to README Mateusz Pusz 2023-02-04 08:28:29 +01:00
  • 0cebb68e2e fix: broken concept names fixed Mateusz Pusz 2023-02-03 16:58:33 +01:00
  • 83aee04da0 refactor: quantity_io.h renamed to iostream.h Mateusz Pusz 2023-02-03 16:57:48 +01:00
  • 764e211f9a fix: perfect forwarding of a number in the reference multiply operator fixed Mateusz Pusz 2023-02-03 16:52:17 +01:00
  • 0b053933bd feat: core.h header added Mateusz Pusz 2023-02-03 16:51:26 +01:00
  • cd0ee9276b feat: quantity_cast and multiplying by reference now use perfect forwarding of a number Mateusz Pusz 2023-02-03 15:22:54 +01:00
  • 7dd5580afb fix: value_cast compilation fixed Mateusz Pusz 2023-02-03 15:19:25 +01:00
  • b4f47c3fef feat: value_cast support added Mateusz Pusz 2023-02-03 11:08:13 +01:00
  • cf3408a3c8 refactor: implementation cleanup + support for units as references started Mateusz Pusz 2023-02-02 14:56:29 +01:00
  • c86359f37e docs: simple documentation typo fixed to trigger a documentation build in CI Mateusz Pusz 2023-02-02 10:23:49 +01:00
  • 749ec8d379 build: enable CMake configuration files generation for doxygen in a new Conan version Mateusz Pusz 2023-02-02 10:21:58 +01:00
  • 03eeea172a Merge pull request #431 from aostrowski/fix-isort Mateusz Pusz 2023-02-01 22:42:29 +01:00
  • e6227c36fb Update isort to work around build from source bug Adrian Ostrowski 2023-02-01 22:31:31 +01:00
  • 6030b2e4e4 Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2023-02-01 21:03:56 +01:00
  • 48d11cce8a docs: Compiler Explorer examples compilation fixed Mateusz Pusz 2023-02-01 21:03:44 +01:00
  • 622b3e3cbd test: unit_symbol() tests moved to a dedicated separate test file Mateusz Pusz 2023-01-28 11:11:07 +01:00
  • 1b2d77af41 feat: quantities of the same kind can now be added, subtracted, or compared to each other Mateusz Pusz 2023-01-28 11:00:50 +01:00
  • d35e9e33b8 Merge pull request #424 from chiphogg/chiphogg/badge Mateusz Pusz 2023-01-14 21:12:40 +01:00
  • 712a38eda6 Fix badge image links Chip Hogg 2023-01-14 14:11:21 +00:00
  • 3a4eb9143c Merge pull request #420 from Twon/update_codeql_cachekey Mateusz Pusz 2023-01-07 12:21:40 +01:00
  • cfb4614fb6 Remove whitespace Antony Peacock 2023-01-07 10:27:38 +00:00
  • 05e80a75f6 Merge branch 'master' into update_codeql_cachekey Antony Peacock 2023-01-07 10:24:33 +00:00
  • a1ed005c12 Ensure OS present Antony Peacock 2023-01-07 10:15:48 +00:00
  • af5d562047 Merge pull request #419 from Twon/update_codeql_cachekey Mateusz Pusz 2023-01-07 10:10:50 +01:00
  • 09c2fabec4 Stray stdlib with old style expansion Antony Peacock 2023-01-07 08:52:26 +00:00
  • 845d347773 Cache keys were missed in last update Antony Peacock 2023-01-07 08:34:36 +00:00
  • 57ad07573d Merge pull request #418 from Twon/workflow_run_on_requires_matrix Mateusz Pusz 2023-01-07 09:22:04 +01:00
  • 6fbbdb0e47 Remove trailing white space Antony Peacock 2023-01-06 22:45:19 +00:00
  • 30d0dbfff8 Run on does not have access to environment. Use matrix for common OS setting Antony Peacock 2023-01-06 22:40:08 +00:00
  • 867e5cd2b8 Merge pull request #417 from Twon/conan_cache_fix Mateusz Pusz 2023-01-06 20:19:13 +01:00
  • c786ae1e47 Whitespace fix Antony Peacock 2023-01-06 17:07:17 +00:00
  • c677264e44 Syntax fix Antony Peacock 2023-01-06 16:49:48 +00:00
  • 10df364407 Missing env Antony Peacock 2023-01-06 16:35:44 +00:00
  • b028f76664 Remove matrix values Antony Peacock 2023-01-06 16:33:24 +00:00
  • 93e2daced8 Environment variable acccess does not require env prefix Antony Peacock 2023-01-06 16:20:12 +00:00
  • 4e89392beb Merge pull request #416 from Twon/buildinfo_in_cachekey Mateusz Pusz 2023-01-06 14:31:30 +01:00
  • 8b0b477e52 Merge branch 'master' into buildinfo_in_cachekey Antony Peacock 2023-01-06 13:11:42 +00:00
  • 41d90cc917 Update all workflows to use new Conan cache key Antony Peacock 2023-01-06 13:05:36 +00:00
  • 46d72d5cd7 Merge pull request #415 from Twon/buildinfo_in_cachekey Mateusz Pusz 2023-01-06 12:43:54 +01:00
  • e002c3f0c6 Merge branch 'master' into buildinfo_in_cachekey Antony Peacock 2023-01-06 11:30:07 +00:00
  • 7a79a44343 Move the cachekey to using build information for identiciation. Antony Peacock 2023-01-06 11:17:52 +00:00
  • 9a7a55b873 test: test's text output fixed after unit ordering change Mateusz Pusz 2023-01-05 10:39:23 +01:00
  • 7c43d27a21 ci: there is no clang-12 on jammy Mateusz Pusz 2023-01-04 20:50:20 +01:00
  • 1a3e29ebbb docs: trailing whitespace removed from glossary docs Mateusz Pusz 2023-01-04 20:47:29 +01:00
  • 48265f0d4e ci: gcc-12 support added Mateusz Pusz 2023-01-04 20:40:12 +01:00
  • f7cd43da35 docs: linear algebra examples added to the "quantity value" in glossary Mateusz Pusz 2023-01-04 20:18:33 +01:00
  • 163295842e test: initial version of linear_algebra_test added Mateusz Pusz 2023-01-04 19:06:25 +01:00
  • 1d83b7a99c fix: incorrect function trailing ; removed Mateusz Pusz 2023-01-04 15:34:10 +01:00
  • b78b53e757 build(example): custom_systems example removed as not relevant anymore Mateusz Pusz 2023-01-04 15:32:13 +01:00
  • da64f17895 feat: quantity::number_in(Unit auto) added + removed non-const lvalue overload of number() Mateusz Pusz 2023-01-03 17:44:44 +01:00
  • eec4312e01 style: clang-format applied to last commits to make pre-commit happy Mateusz Pusz 2023-01-03 14:27:44 +01:00
  • 8644df8a98 Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2023-01-03 14:23:30 +01:00
  • 49ba489118 Merge pull request #407 from burnpanck/feature/make-fmt-more-embedded-friendly Mateusz Pusz 2023-01-01 22:45:20 +01:00
  • 662df7c406 docs: CONTRIBUTING.md instructions updated Mateusz Pusz 2022-12-31 18:18:27 +01:00
  • a6901a17e8 double check MSVC fix Yves Delley 2022-12-31 14:07:33 +01:00
  • 02f6f36aeb one more attempt at fixing the MSVC failures Yves Delley 2022-12-31 12:45:55 +01:00
  • b6da63b2f0 refactor macros to start with UNITS_ and fix an MSVC issue with FMT_THROW Yves Delley 2022-12-30 17:16:26 +01:00
  • 2cf736a1e6 feat: preventing possible future units crash when using namespace std; Mateusz Pusz 2022-12-29 20:18:48 +01:00
  • 6b72dd39c1 refactor: headers with system definitions moved to _systems_ subdirectory Mateusz Pusz 2022-12-29 19:27:54 +01:00