Commit Graph

  • 6033f96267 Enable implicit ratio construction Chip Hogg 2022-01-08 14:03:52 -05:00
  • 14d8d96b3c Replace static_assert with template parameter constraints Chip Hogg 2022-01-04 20:06:41 -05:00
  • 63910131ff Try fixing MSVC 14 bug Chip Hogg 2022-01-04 14:14:22 -05:00
  • 4246f2db2a Remove unused variable names Chip Hogg 2022-01-04 14:01:42 -05:00
  • bb4fe5040d Factor out logic into pairwise_all() helper Chip Hogg 2022-01-03 15:20:05 -05:00
  • cef01ba67c Remove redundant inline specifiers Chip Hogg 2021-12-31 09:54:10 -05:00
  • 998266e780 Try fixing MSVC 14.2 Chip Hogg 2021-12-31 09:35:30 -05:00
  • 626c7bfe39 Fix up for review Chip Hogg 2021-12-30 10:47:01 -05:00
  • 05934c8b72 Add make_base_power() helper Chip Hogg 2021-12-29 21:37:06 -05:00
  • c75eb02ea7 Finish fleshing out make_ratio Chip Hogg 2021-12-29 21:10:29 -05:00
  • 8a1ed3adcb Add make_ratio() helper and prime factorization Chip Hogg 2021-12-29 20:56:10 -05:00
  • a86cac8705 Capitalize more template arguments Chip Hogg 2021-12-29 20:53:55 -05:00
  • 2c229710e7 Create and use BasePower concept Chip Hogg 2021-12-29 19:24:24 -05:00
  • 4f759f95e8 Use Magnitude concept where appropriate Chip Hogg 2021-12-29 11:44:22 -05:00
  • 0566158e91 Add concept for magnitude Chip Hogg 2021-12-29 11:38:56 -05:00
  • 0c5ae082d5 Add magnitude with product, inverse, quotient Chip Hogg 2021-12-29 07:51:44 -05:00
  • a80378cae8 Support addition and negation in ratio Chip Hogg 2021-12-29 07:51:16 -05:00
  • 3bf3bebb6a build: export config to local build (#322) Johel Ernesto Guerrero Peña 2021-12-13 10:16:08 -04:00
  • a6a2549fe7 build: MSVC versioning updated according to the latest Conan support Mateusz Pusz 2021-12-13 12:29:01 +01:00
  • 0a5e791550 docs: range-v3 dependency note fixed on the usage page Mateusz Pusz 2021-12-13 10:20:12 +01:00
  • 4efed3c6d4 refactor: update Clang 14 to not require range-v3 (#321) Johel Ernesto Guerrero Peña 2021-12-13 05:01:16 -04:00
  • eb94f1cc0e ci: Conan MSVC 14.2 support fixed Mateusz Pusz 2021-12-13 09:28:33 +01:00
  • 511280d250 ci: MSVC support updated to conform to new Conan versioning for this compiler Mateusz Pusz 2021-12-12 18:38:49 +01:00
  • ab351433ee docs: typo fixed Mateusz Pusz 2021-11-26 10:30:20 +01:00
  • 571df5ed33 feat: conversion from quantity_point to std::chrono::time_point added Mateusz Pusz 2021-11-23 14:37:08 +01:00
  • af928dd0c7 feat: conversion helpers from mp-units to std::chrono types added Mateusz Pusz 2021-11-23 11:17:47 +01:00
  • 163a2502ad fix: account for an empty string in VS2022 Mateusz Pusz 2021-11-16 10:51:04 +01:00
  • f6250d69e1 ci: VS2019 configuration restored Mateusz Pusz 2021-11-16 09:19:10 +01:00
  • e3f0d5f3dc build: fmt::fmt dependency added only when needed Mateusz Pusz 2021-11-16 08:34:56 +01:00
  • 0de7991375 ci: switching to Windows 2022 for MSVC 19.30 Mateusz Pusz 2021-11-15 19:50:18 +01:00
  • 1f7c72b4af ci: setting of a Visual Studio version for MSVC toolchain added Mateusz Pusz 2021-11-15 19:39:22 +01:00
  • 4320e674c8 build: msvc compiler validation fixed Mateusz Pusz 2021-11-15 19:17:18 +01:00
  • 4cd90674d5 Feat: Round (#313) Markus Hofbauer 2021-11-15 18:53:15 +01:00
  • 0d16427116 ci: trying to add MSVC 19.30 support Mateusz Pusz 2021-11-15 17:50:54 +01:00
  • e19b9e93e9 test: forgot to change the other preprocessor check as well Mateusz Pusz 2021-11-15 17:41:02 +01:00
  • d6bb6c8bc9 test: fmt test compilation on VS2019 fixed Mateusz Pusz 2021-11-15 17:12:44 +01:00
  • 7bf06e2b91 fix: const_iterator replaced back with iterator in formatter Mateusz Pusz 2021-11-15 16:52:22 +01:00
  • 6f38e77426 test: [fmt] unit test fixed for std::format in VS2022 Mateusz Pusz 2021-11-15 16:36:09 +01:00
  • 0ce18dc3c7 feat: std::format usage enabled for VS2022 Mateusz Pusz 2021-11-15 16:28:26 +01:00
  • 57ec615d79 fix: VS2022 issues related to the std::string_view iterator fixed Mateusz Pusz 2021-11-15 13:57:47 +01:00
  • a09cef4a3f fix: fix VS2022 shadowing issues Mateusz Pusz 2021-11-15 13:46:24 +01:00
  • 50b9050d6b Feat: Overloads for floor and ceil accepting quantities (#314) Markus Hofbauer 2021-11-15 12:23:28 +01:00
  • 3f28b55ab1 refactor: more constraints added to floor and ceil Mateusz Pusz 2021-11-13 21:53:53 +01:00
  • b881b56480 feat: first draft ceil Markus Hofbauer 2021-11-13 12:51:04 +01:00
  • e82bfa23a5 Feat: Floor (#309) Markus Hofbauer 2021-11-13 12:17:43 +01:00
  • 331024a199 refactor: simplified formatting of latitude and longitude Mateusz Pusz 2021-11-11 07:45:46 +01:00
  • 3c2b705ded Revert "refactor: got rid of CRTP for latitude and longitude" Mateusz Pusz 2021-11-10 19:45:39 +01:00
  • 65fed78c98 refactor: got rid of CRTP for latitude and longitude Mateusz Pusz 2021-11-10 19:44:22 +01:00
  • c950a513a4 refactor: latitude and longitude simplified Mateusz Pusz 2021-11-10 19:02:08 +01:00
  • 6e6c5c281a feat: math functions can now be safely used with user-defined types Mateusz Pusz 2021-11-09 19:26:26 +01:00
  • 506408a316 fix: fmt_test compilation fixed Mateusz Pusz 2021-11-08 19:05:08 +01:00
  • d5f9c6b988 Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2021-11-08 18:37:44 +01:00
  • 9f95799288 refactor: got rid of FMT_RUNTIME() as it is not the part of C++20 Mateusz Pusz 2021-11-08 18:37:37 +01:00
  • 44a8d0ad1e build: forgot to commit changes in one CMake file :-( Mateusz Pusz 2021-11-07 09:42:15 +01:00
  • cbed8b06b8 docs: fexed broken link to LA library Mateusz Pusz 2021-11-07 09:19:00 +01:00
  • 212c9e05f2 build: check_libcxx_in_use() fixed Mateusz Pusz 2021-11-06 10:35:44 +01:00
  • 7006dfcafb build: Sphinx documentation install step refactored Mateusz Pusz 2021-11-05 23:55:24 +01:00
  • ec6b625135 build: units_as_system renamed to unitsAsSystem Mateusz Pusz 2021-11-05 23:36:14 +01:00
  • f9fb6cc8b3 build: projectPrefix usage added Mateusz Pusz 2021-11-05 23:25:20 +01:00
  • bc7849beb1 docs: mp-units talk updated to the one provided at NDC TechTown 2021 Mateusz Pusz 2021-11-05 11:32:09 +01:00
  • 54457b2457 style: typo fixed Mateusz Pusz 2021-11-04 12:24:34 +01:00
  • 2333c4b3ea build: CMake targets generated by Conan updated Mateusz Pusz 2021-11-04 12:09:54 +01:00
  • 66fc906558 docs: CITATION.cff file added Mateusz Pusz 2021-11-04 11:17:22 +01:00
  • 8b28a0c6b9 chore: documentation requirements now installed properly on gitpod Mateusz Pusz 2021-10-20 21:16:23 +00:00
  • 627f39742d docs: SVG files are now copied and searched correctly Mateusz Pusz 2021-10-20 22:28:42 +02:00
  • ca3d111579 fix: CTAD test disabled for most of the compilers Mateusz Pusz 2021-10-20 20:18:15 +02:00
  • 240ec3a460 build: CTAD for quantity is not supported by clang Mateusz Pusz 2021-10-20 19:58:31 +02:00
  • 6eae368ad4 build: forgot to commit a CMakeFile for docs :-( Mateusz Pusz 2021-10-20 19:53:21 +02:00
  • b7b8a0bf93 fix: CTAD for aliases fixed Mateusz Pusz 2021-10-20 18:52:13 +02:00
  • 72ef7584a4 docs: basic concets UML refactored Mateusz Pusz 2021-10-20 11:21:58 +02:00
  • 1525101555 docs: UML diagrams replaced to plantuml generated SVGs Mateusz Pusz 2021-10-20 10:52:57 +02:00
  • 8fccfd2d68 docs: quantity arithmetics moved to a separate chapter Mateusz Pusz 2021-10-20 09:49:23 +02:00
  • 21cea146a5 docs: quick start example updated Mateusz Pusz 2021-10-17 12:27:07 +02:00
  • bf938c4fa4 Implemented correctly, included type_list Soham Roy 2021-10-14 17:43:19 +00:00
  • 1b834e8e49 Replaced macro redefinition with appropriate usage Soham Roy 2021-10-14 06:51:21 +00:00
  • 4c9c651a9e Replace naked pragmas with defines Soham Roy 2021-10-13 21:50:52 +00:00
  • 7d370eb496 refactor: forward_range replaced with input_range Mateusz Pusz 2021-10-15 18:21:26 +02:00
  • 342b8c9acf fix: missing input_iterator definition for clang added Mateusz Pusz 2021-10-15 18:18:04 +02:00
  • d853a2937a refactor: fmt algorithms were overconstrained with forward_iterator Mateusz Pusz 2021-10-15 17:44:49 +02:00
  • 5bd7852ae5 build: UNITS_USE_LIBFMT support improved Mateusz Pusz 2021-10-15 17:43:58 +02:00
  • ee70c48b13 build: linear_algebra examples re-enabled on gcc11 Mateusz Pusz 2021-10-15 16:14:00 +02:00
  • 93921e8f31 chore: trond-snekvik.simple-rst VSCode extension added to gitpod Mateusz Pusz 2021-10-15 08:57:59 +02:00
  • 2fa96c80ab chore: Minor comments change in gitpod.yml Mateusz Pusz 2021-10-14 17:28:44 +02:00
  • f90cdd1b31 chore: gitpod updated Mateusz Pusz 2021-10-14 16:13:53 +02:00
  • 5f7b285c8c build: linear-algebra Conan repo is no needed anymore Mateusz Pusz 2021-10-14 15:14:40 +02:00
  • 3f0691d3e0 chore: "restructuredtext" extension settings added Mateusz Pusz 2021-10-14 15:07:54 +02:00
  • b08f626af2 chore: "C++ TestMate" extension added to gitpod Mateusz Pusz 2021-10-14 14:29:29 +02:00
  • 901f53cf16 chore: vscode settings should now be dynamically created and used in gitpod Mateusz Pusz 2021-10-01 12:41:53 +02:00
  • 76f500d6c4 chore: gitpod docker base image updated Mateusz Pusz 2021-10-01 11:44:32 +02:00
  • 0514c57492 chore: gitpod prebuilds definition added Mateusz Pusz 2021-10-01 11:27:28 +02:00
  • a26eef0d93 docs: docs updated for gitpod Mateusz Pusz 2021-10-01 11:27:01 +02:00
  • c061b7ae95 chore: gcc-10 support added Mateusz Pusz 2021-10-01 01:34:15 +02:00
  • 7cc34a3c87 chore: Conan initialization fixed Mateusz Pusz 2021-10-01 01:17:13 +02:00
  • efc4ecf84a fix: It seems that CMake does not like when symlinks and real paths are mixed in configure step Mateusz Pusz 2021-09-30 21:44:59 +00:00
  • 448e1333e1 chore: gitpod now properly uses CMake multi-config pipeline Mateusz Pusz 2021-09-30 21:10:14 +00:00
  • ca61f575f0 chore: conan install -u option removed from gitpod Mateusz Pusz 2021-09-30 22:30:29 +02:00
  • f1eb22468b chore: Conan update step added for gitpod.io Mateusz Pusz 2021-09-30 22:23:28 +02:00
  • 7b36f54872 fix: Invalid paths in .gitpod.yml fixed Mateusz Pusz 2021-09-30 22:02:50 +02:00
  • 2b3ae64ba1 chore: VSCode initial settings added for gitpod.io needs Mateusz Pusz 2021-09-30 21:58:51 +02:00
  • c7c4fdd7b3 Merge branch 'gitpod' of https://github.com/mpusz/units into gitpod Mateusz Pusz 2021-09-30 21:31:15 +02:00