Commit Graph
3594 Commits
Author SHA1 Message Date
Mateusz Pusz 0417507b49 refactor: math refactored to the latest library state 2023-02-08 21:49:19 -08:00
Mateusz Pusz 859bc20fdc refactor: all examples refactored to use a simplified quantity creation 2023-02-08 21:47:48 -08:00
Mateusz Pusz 26ed241662 fix: value_cast fixed 2023-02-08 21:15:42 -08:00
Mateusz Pusz 1f2e57a575 refactor: interconvertible renamed to convertible_to 2023-02-08 21:14:17 -08:00
Mateusz Pusz c21bde85a3 refactor: same_canonical_reference_unit renamed to have_same_canonical_reference_unit 2023-02-08 21:11:57 -08:00
Mateusz Pusz faffbefad2 refactor: get_dimension_for() no longer needed 2023-02-08 21:09:20 -08:00
Mateusz Pusz 4484148735 fix: ambiguity on common_reference resolved 2023-02-08 21:06:14 -08:00
Mateusz Pusz fbc34c8b98 refactor: get_associated_quantity.h moved to a dedicated header file 2023-02-08 21:05:31 -08:00
Mateusz Pusz 290f406746 fix: quantity creation in its operator/ fixed 2023-02-08 21:00:52 -08:00
Mateusz Pusz 68617f68b0 feat: quantity.h now exports quantity_cast and value_cast to simplify library usage 2023-02-08 20:59:08 -08:00
Mateusz Pusz 8a0a61b589 refactor: DerivedQuantitySpec implementation simplified 2023-02-07 22:28:14 -08:00
Mateusz Pusz 8de74eb6f7 feat: call operator of reference does not produce a quantity anymore 2023-02-06 22:39:23 -08:00
Mateusz Pusz ebccabc94c refactor: DerivedDimension definition simplified 2023-02-06 22:34:59 -08:00
Mateusz Pusz 8e61286548 docs: "Terms and Definitions" added to README 2023-02-04 08:28:29 +01:00
Mateusz Pusz 0cebb68e2e fix: broken concept names fixed 2023-02-03 16:58:33 +01:00
Mateusz Pusz 83aee04da0 refactor: quantity_io.h renamed to iostream.h 2023-02-03 16:57:48 +01:00
Mateusz Pusz 764e211f9a fix: perfect forwarding of a number in the reference multiply operator fixed 2023-02-03 16:52:17 +01:00
Mateusz Pusz 0b053933bd feat: core.h header added 2023-02-03 16:51:26 +01:00
Mateusz Pusz cd0ee9276b feat: quantity_cast and multiplying by reference now use perfect forwarding of a number 2023-02-03 15:22:54 +01:00
Mateusz Pusz 7dd5580afb fix: value_cast compilation fixed 2023-02-03 15:19:25 +01:00
Mateusz Pusz b4f47c3fef feat: value_cast support added
Resolves #239 and #120
2023-02-03 11:08:13 +01:00
Mateusz Pusz cf3408a3c8 refactor: implementation cleanup + support for units as references started 2023-02-02 14:56:29 +01:00
Mateusz Pusz c86359f37e docs: simple documentation typo fixed to trigger a documentation build in CI 2023-02-02 10:23:49 +01:00
Mateusz Pusz 749ec8d379 build: enable CMake configuration files generation for doxygen in a new Conan version 2023-02-02 10:21:58 +01:00
Mateusz Pusz 03eeea172a Merge pull request #431 from aostrowski/fix-isort
Update isort to work around build from source bug
2023-02-01 22:42:29 +01:00
Adrian Ostrowski e6227c36fb Update isort to work around build from source bug
A Poetry update broke isort: https://github.com/PyCQA/isort/issues/2077
The bug occurs when building from source, which is what pre-commit does.
The latest version of isort fixes this issue.
2023-02-01 22:38:03 +01:00
Mateusz Pusz 6030b2e4e4 Merge branch 'master' of github.com:mpusz/units 2023-02-01 21:03:56 +01:00
Mateusz Pusz 48d11cce8a docs: Compiler Explorer examples compilation fixed 2023-02-01 21:03:44 +01:00
Mateusz Pusz 622b3e3cbd test: unit_symbol() tests moved to a dedicated separate test file 2023-01-28 11:11:07 +01:00
Mateusz Pusz 1b2d77af41 feat: quantities of the same kind can now be added, subtracted, or compared to each other 2023-01-28 11:00:50 +01:00
Mateusz Pusz d35e9e33b8 Merge pull request #424 from chiphogg/chiphogg/badge
Fix badge image links
2023-01-14 21:12:40 +01:00
Chip Hogg 712a38eda6 Fix badge image links
For background, see: https://github.com/badges/shields/issues/8671
2023-01-14 14:11:21 +00:00
Mateusz Pusz 3a4eb9143c Merge pull request #420 from Twon/update_codeql_cachekey
Update codeql cachekey
2023-01-07 12:21:40 +01:00
Antony Peacock cfb4614fb6 Remove whitespace 2023-01-07 10:27:38 +00:00
Antony Peacock 05e80a75f6 Merge branch 'master' into update_codeql_cachekey 2023-01-07 10:24:33 +00:00
Antony Peacock a1ed005c12 Ensure OS present 2023-01-07 10:15:48 +00:00
Mateusz Pusz af5d562047 Merge pull request #419 from Twon/update_codeql_cachekey
Update codeql cachekey
2023-01-07 10:10:50 +01:00
Antony Peacock 09c2fabec4 Stray stdlib with old style expansion 2023-01-07 08:52:39 +00:00
Antony Peacock 845d347773 Cache keys were missed in last update 2023-01-07 08:34:36 +00:00
Mateusz Pusz 57ad07573d Merge pull request #418 from Twon/workflow_run_on_requires_matrix
Run on does not have access to environment.  Use matrix for common OS setting
2023-01-07 09:22:04 +01:00
Antony Peacock 6fbbdb0e47 Remove trailing white space 2023-01-06 22:45:19 +00:00
Antony Peacock 30d0dbfff8 Run on does not have access to environment. Use matrix for common OS setting 2023-01-06 22:40:08 +00:00
Mateusz Pusz 867e5cd2b8 Merge pull request #417 from Twon/conan_cache_fix
Environment variable access does not require env prefix
2023-01-06 20:19:13 +01:00
Antony Peacock c786ae1e47 Whitespace fix 2023-01-06 17:07:17 +00:00
Antony Peacock c677264e44 Syntax fix 2023-01-06 16:49:48 +00:00
Antony Peacock 10df364407 Missing env 2023-01-06 16:35:44 +00:00
Antony Peacock b028f76664 Remove matrix values 2023-01-06 16:33:24 +00:00
Antony Peacock 93e2daced8 Environment variable acccess does not require env prefix 2023-01-06 16:20:12 +00:00
Mateusz Pusz 4e89392beb Merge pull request #416 from Twon/buildinfo_in_cachekey
Update missed workflows to use new Conan cache key
2023-01-06 14:31:30 +01:00
Antony Peacock 8b0b477e52 Merge branch 'master' into buildinfo_in_cachekey 2023-01-06 13:11:42 +00:00