Commit Graph

  • 0e29354bc0 docs: TODO note added to unit_symbol() Mateusz Pusz 2023-11-30 10:55:41 +01:00
  • 2c8783bda1 refactor: unit_symbol_formatting enums now use std::int8_t as a representation type Mateusz Pusz 2023-11-30 10:54:49 +01:00
  • 8ca956d923 docs: "Derived unit symbols generation" chapter added Mateusz Pusz 2023-11-30 10:53:29 +01:00
  • ea62c74b88 docs: "Default formatting" chapter updated Mateusz Pusz 2023-11-30 09:59:55 +01:00
  • c002a7487a docs: commas removed from the units-unit-modifier token Mateusz Pusz 2023-11-30 09:47:57 +01:00
  • 5bb4e829bb docs: "Output stream formatting" chapter updated Mateusz Pusz 2023-11-30 09:27:43 +01:00
  • 29c83c0d84 feat: 💥 symbol_text definition simplified Mateusz Pusz 2023-11-30 09:25:29 +01:00
  • 97d5bb569b refactor: more type members added to fixed_string definition Mateusz Pusz 2023-11-30 09:23:13 +01:00
  • e689f6e582 docs: broken links to ISO 80000 fixed Mateusz Pusz 2023-11-29 14:13:15 +01:00
  • 683c49bef3 style: clang-format updated to 17.0.5 in pre-commit Mateusz Pusz 2023-11-28 14:19:04 +01:00
  • c98090f783 docs: measurement unit definition in Glossary improved Mateusz Pusz 2023-11-28 11:53:21 +01:00
  • fa596fffc6 refactor: 💥 make_xxx factory functions replaced with two-parameter constructors Mateusz Pusz 2023-11-28 11:52:37 +01:00
  • 80129b32d7 Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2023-11-08 15:37:16 -10:00
  • dc4d73a90c fix(example): fixing compilation after the previous commit Mateusz Pusz 2023-11-08 15:36:06 -10:00
  • fe15572e90 feat(example): unit symbols added to the currency example Mateusz Pusz 2023-11-08 15:30:24 -10:00
  • 10600868a2 docs: some docs updated Mateusz Pusz 2023-11-06 21:55:44 -10:00
  • 0c0b48f725 docs: Design overview graph updated Mateusz Pusz 2023-11-06 19:21:43 -10:00
  • ae69e2e2b6 fix: are_ingredients_convertible now mandates explicit conversion for To dimensionless quantities Mateusz Pusz 2023-11-06 16:52:10 -10:00
  • 162514c19e docs: "canonical unit" added to glossary and its documentation in code was updated Mateusz Pusz 2023-11-04 21:36:03 +01:00
  • 436d288154 style: whitespaces fixed to make pre-commit happy Mateusz Pusz 2023-11-04 19:43:44 +01:00
  • d195e2b3bf fix: equality for dimensions fixed to provide transitivity Mateusz Pusz 2023-11-03 21:18:57 +01:00
  • 3dba9416cb docs: "Design Overview" chapter added and "Concepts" chapter reworked Mateusz Pusz 2023-10-31 09:45:42 +01:00
  • ebc5757835 docs: "Basic Concepts" and "Interface Introduction" chapters updated Mateusz Pusz 2023-10-25 21:39:09 +02:00
  • 6c28d743db docs: "you" replaced to "we" in many places Mateusz Pusz 2023-10-25 21:27:01 +02:00
  • 1f14184ac3 style: clang-format updated to clang 17 Mateusz Pusz 2023-10-25 14:38:26 +02:00
  • 26c79a7a86 style: whitespaces fixed to make pre-commit happy Mateusz Pusz 2023-10-25 14:18:42 +02:00
  • 9962306fef docs: "Terms and Definitions" slightly updated Mateusz Pusz 2023-10-25 14:15:01 +02:00
  • ffbbd3848c docs: titles added to some important admonitions Mateusz Pusz 2023-10-25 14:14:26 +02:00
  • d824be6822 docs: ISO papers reference added to docs and README Mateusz Pusz 2023-10-25 14:13:00 +02:00
  • 0b3618d723 docs: "Getting Started" chapters updated Mateusz Pusz 2023-10-25 14:12:25 +02:00
  • 5cc7fb1f0b Merge branch 'master' of github.com:mpusz/mp-units Mateusz Pusz 2023-10-23 09:21:41 +02:00
  • 211ba6a5b3 docs: a representation type in a dimensionless quantity FAQ fixed Mateusz Pusz 2023-10-23 09:21:37 +02:00
  • 4abef7b245 refactor: duplicated forward declaration of quantity removed Mateusz Pusz 2023-10-21 08:17:55 +02:00
  • df2616927d refactor: quantity operators refactored Mateusz Pusz 2023-10-20 21:21:07 +02:00
  • 75fa12501c docs: CHANGELOG updated Mateusz Pusz 2023-10-20 20:02:59 +02:00
  • 15922b5bd8 fix: CommonlyInvocableQuantities was overconstrained for the current library design Mateusz Pusz 2023-10-20 09:39:24 +02:00
  • eaa2ddbf01 refactor: quantity operators constraints refactored Mateusz Pusz 2023-10-20 08:42:22 +02:00
  • 32ea1bd9b4 feat: common_type with a raw value is not needed anymore as for a long time now raw values are not convertible to the dimensionless quantities Mateusz Pusz 2023-10-18 21:03:21 +02:00
  • 90a862e8ac docs: YouTube video link updated to the C++ on Sea 2023 Mateusz Pusz 2023-10-18 17:40:33 +02:00
  • a0dc3885e5 fix(unit test): degree Fahrenheit unit test fixed Mateusz Pusz 2023-10-18 17:21:30 +02:00
  • d5549ff92d feat: zero_Fahrenheit point origin added Mateusz Pusz 2023-10-18 17:17:09 +02:00
  • d3ad78a9dd fix: Fahrenheit conversion ratio was inverted Mateusz Pusz 2023-10-18 16:34:39 +02:00
  • 8e48906729 refactor: quantity_from_origin_ data member now has much less friendly name Mateusz Pusz 2023-10-17 14:29:59 +02:00
  • abafd1d38e refactor: numerical_value_ data member now has much less friendly name Mateusz Pusz 2023-10-17 14:16:22 +02:00
  • 6e7a2fd0bb refactor: order of overload for Unit changed Mateusz Pusz 2023-10-17 12:11:32 +02:00
  • 98d07b9ed1 feat: 💥 quantity_spec and its kind should not compare equal Mateusz Pusz 2023-10-17 09:45:31 +02:00
  • e07eb14805 ci: elements in the CI reordered to get a better ordering of jobs in the web interface Mateusz Pusz 2023-10-17 09:41:40 +02:00
  • e89861cb3a ci: Added C++23 builds to the CI matrix Mateusz Pusz 2023-10-17 09:35:58 +02:00
  • 1230eb6d25 test: inherited dimension test added Mateusz Pusz 2023-10-17 09:32:53 +02:00
  • b17c354080 refactor(tests): unit_symbol_test.cpp updated with new unit_symbol() signature Mateusz Pusz 2023-10-17 09:12:51 +02:00
  • ff3d1e87fa refactor: 💥 unit_symbol<fmt>(U) signature refactored and the resulting text can now also be used at runtime Mateusz Pusz 2023-10-17 09:09:18 +02:00
  • 909d9a7089 feat: basic_fixed_string(const CharT*, std::integral_constant<std::size_t, N>) constructor added Mateusz Pusz 2023-10-17 08:59:25 +02:00
  • daadccebe0 refactor: additional constraints added to the fixed_string(CharT) constructor Mateusz Pusz 2023-10-17 08:25:13 +02:00
  • 18b4d3be33 fix: missing header include added to type_list.h Mateusz Pusz 2023-10-17 08:20:28 +02:00
  • 9d708c5e39 feat: 💥 mutating interface removed from fixed_string Mateusz Pusz 2023-10-17 08:19:26 +02:00
  • f4dfdc072e fix: printing of half_high_dot now properly updates the iterator Mateusz Pusz 2023-10-17 08:15:10 +02:00
  • 556df31590 feat: equality for dimensions now will allow derived classes as well (but not from derived_dimension) Mateusz Pusz 2023-10-15 17:08:19 +02:00
  • 3ec57f0c58 docs: admonition in "Value-preserving conversions" chapter removed Mateusz Pusz 2023-10-15 17:06:45 +02:00
  • 4bcf2cd149 docs: gravitational_potential_energy equation fixed on a graph Mateusz Pusz 2023-10-15 11:51:45 +02:00
  • b96be72457 feat: 💥 quantity_point does not provide zero() anymore Mateusz Pusz 2023-10-15 09:39:18 +02:00
  • fb71971ef0 fix: iterator is now properly updated for all cases in unit_symbol Mateusz Pusz 2023-10-14 11:44:50 +02:00
  • c9978dd479 refactor: some internal headers moce to the _bits/external_ subdirectory Mateusz Pusz 2023-10-14 11:43:18 +02:00
  • c75559dd34 docs: "i.e." replaced with "e.g." everywhere in the project Mateusz Pusz 2023-10-10 20:24:23 +02:00
  • b7e2033d33 refactor: dead code case for units ordering removed Mateusz Pusz 2023-10-09 12:07:09 -06:00
  • 84df87dd2c Merge pull request #496 from mpusz/unit_compose_ext Mateusz Pusz 2023-10-06 23:52:58 +02:00
  • e23f038173 Merge branch 'master' into unit_compose_ext Mateusz Pusz 2023-10-06 23:38:04 +02:00
  • 9017aab28d test: unit tests added for muliplication and divsion of a quantity by reference Mateusz Pusz 2023-10-06 15:20:20 -06:00
  • cb36e39c2a style: formatting fixed to make pre-commit happy Mateusz Pusz 2023-10-06 13:39:51 -06:00
  • 0d66089853 feat: 💥 inverse() support added for dimensions, quantity_spec, units, and references (1 / s will now create quantity and not a Unit) Mateusz Pusz 2023-10-06 12:53:18 -06:00
  • fa5419b792 fix: unused parametrs identifiers removed Mateusz Pusz 2023-10-04 10:14:57 -06:00
  • a32866abcf Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2023-10-04 10:09:08 -06:00
  • 25f986d32c fix: MSVC-related fixes and workarounds Mateusz Pusz 2023-10-04 10:00:17 -06:00
  • 00a2bce0e8 fix(example): latitude and longitude fixed to include 0 for N and E respectively Mateusz Pusz 2023-10-03 11:00:33 -06:00
  • 2281be0f76 feat: QuantityLike and QuantityPointLike conversions improved Mateusz Pusz 2023-10-02 21:12:25 -06:00
  • e9387c4014 Merge pull request #495 from mpusz/interop Mateusz Pusz 2023-10-01 16:42:55 +02:00
  • b12b9f87ae feat: quantity and quantity_point conversion operators now can also convert to const references Mateusz Pusz 2023-09-30 22:14:20 -06:00
  • 0999274680 Update src/core/include/mp-units/quantity_point.h Mateusz Pusz 2023-09-30 04:34:46 +02:00
  • 78bf9a9add Update src/core/include/mp-units/quantity.h Mateusz Pusz 2023-09-30 04:34:19 +02:00
  • 5a74cd66ba feat: interoperability with other libraries redesigned Mateusz Pusz 2023-09-29 12:47:02 +02:00
  • 335ebc9b7b style: whitespaces in FAQ fixed to make pre-commit happy Mateusz Pusz 2023-09-30 22:20:42 -06:00
  • cdd90fb93b docs: CameCase concept identifiers FAQ added Mateusz Pusz 2023-09-30 21:52:25 -06:00
  • 04588d9c8b feat: Magnitude / Unit operator added Mateusz Pusz 2023-09-30 21:36:23 -06:00
  • f15baf4c2a fix: clang compilation fixed Mateusz Pusz 2023-09-30 21:35:16 -06:00
  • b2423bfded feat: quantities can now be multiplied and divided by units Mateusz Pusz 2023-09-29 21:40:24 -06:00
  • 476a68ce8e docs: broken internal URL fixed Mateusz Pusz 2023-09-29 11:21:27 +02:00
  • 06e4548dc9 fix: clang compilation of inverse fixed Mateusz Pusz 2023-09-29 10:08:01 +02:00
  • 833851d1cb test: tests for printing of a symbol of a dimensionless unit with the ratio = 1 Mateusz Pusz 2023-09-29 06:31:32 +02:00
  • d5a0874bea fix: symbols of named dimensionless units with the ratio = 1 were not printed Mateusz Pusz 2023-09-29 06:30:28 +02:00
  • caf0e66cb2 test: more unit tests for unit conversions Mateusz Pusz 2023-09-28 09:01:52 +02:00
  • d427849477 refactor: in(U) and force_in(U) now return auto to provide better diagnostics on clang Mateusz Pusz 2023-09-27 17:10:20 +02:00
  • b4bb7227b9 feat: UnitCompatibleWith added and applied to in(U) and force_in(U) functions Mateusz Pusz 2023-09-27 17:06:08 +02:00
  • 969bf9716c ci: gcc-12 installation no longer needed in ci-conan Mateusz Pusz 2023-09-26 19:31:27 +02:00
  • 379a3c91f8 ci: gcc-13 installation added to ci-test-package-cmake Mateusz Pusz 2023-09-26 19:31:01 +02:00
  • b74c0bf6e8 ci: gcc-13 added to ci-test-package-cmake GHAction Mateusz Pusz 2023-09-26 19:17:04 +02:00
  • bbdf290009 fix: clang-17 compilation fixed Mateusz Pusz 2023-09-26 19:15:57 +02:00
  • 92b7069c35 ci: clang-17 enabled Mateusz Pusz 2023-09-26 18:55:02 +02:00
  • 94bd2a23ca build: got rid of old gcc hacks Mateusz Pusz 2023-09-26 18:25:03 +02:00
  • 25fee701a0 build: got rid of old clang hacks and range-v3 dependency Mateusz Pusz 2023-09-26 18:09:06 +02:00
  • 3b6a22d2c0 docs: degree_Celsius comment not needed anymore Mateusz Pusz 2023-09-26 15:48:17 +02:00
  • 993ea8e3ac ci: clang-tools installation added Mateusz Pusz 2023-09-26 15:40:08 +02:00