Commit Graph
1150 Commits
Author SHA1 Message Date
Mateusz Pusz dbdede8cfc build: minimum VS version fixed in conanfile.py 2021-03-15 22:10:19 +01:00
Mateusz Pusz 1f0dd453eb docs: clang support added to docs 2021-03-15 22:08:12 +01:00
Mateusz Pusz 18746db840 ci: clang support added to CI 2021-03-15 21:36:15 +01:00
Mateusz Pusz 5c94a40906 build: COMP_XXX renamed to UNITS_COMP_XXX 2021-03-15 21:13:21 +01:00
Mateusz Pusz 625f452daa build: libc++ support added 2021-03-15 21:11:26 +01:00
Mateusz Pusz 53f0b5a4e5 test: unused variable in Release disabled with [[maybe_unused]] 2021-03-15 18:48:18 +01:00
Mateusz Pusz c46ea4460f build: compiler warnings handling refactored for clang 2021-03-15 18:47:21 +01:00
Johel Ernesto Guerrero Peña 533595d669 fix: address comments from @mpusz 2021-03-15 15:19:52 +01:00
Johel Ernesto Guerrero Peña 94eb477f02 refactor: apply comments 2021-03-15 15:19:50 +01:00
Johel Ernesto Guerrero Peña dca553ed96 example: fix compilation for Clang 13 2021-03-15 14:26:46 +01:00
Johel Ernesto Guerrero Peña f228ddfd77 test: fix misc Clang warnings 2021-03-15 14:26:46 +01:00
Johel Ernesto Guerrero Peña 6a43e10fe6 test: compile quantity_point_kind_test.cpp 2021-03-15 14:26:46 +01:00
Johel Ernesto Guerrero Peña 0b961dc71c fix: check selective QuantityValue requirements 2021-03-15 14:26:46 +01:00
Johel Ernesto Guerrero Peña 5f135d11bb fix: check requirement early 2021-03-15 14:26:46 +01:00
Johel Ernesto Guerrero Peña 69fac6b695 test: don't support compiling quantity_test.cpp with downcasting off 2021-03-15 14:26:44 +01:00
Johel Ernesto Guerrero Peña c148fffd95 test: compile quantity_point_test.cpp 2021-03-15 14:26:21 +01:00
Johel Ernesto Guerrero Peña fe73c9abe2 fix: disable range-v3 in MSVC 2021-03-15 14:26:21 +01:00
Johel Ernesto Guerrero Peña 1fec222ad3 test: fix si_cgs_test.cpp 2021-03-15 14:26:21 +01:00
Johel Ernesto Guerrero Peña 3a033781cd test: fix warnings (quantity(_kind)_test.cpp) 2021-03-15 14:26:19 +01:00
Johel Ernesto Guerrero Peña 03a417196a test: compile quantity(_kind)_test.cpp with downcasting on 2021-03-15 14:25:25 +01:00
Johel Ernesto Guerrero Peña 3002c5673d test: compile quantity_test.cpp with -DUNITS_DOWNCAST_MODE=0 2021-03-15 14:24:26 +01:00
Mateusz Pusz b18061ab0e build: clang support added 2021-03-15 14:22:12 +01:00
Mateusz Pusz 1250b9618e build: Minimum VS version updated in conanfile.py 2021-03-15 14:18:49 +01:00
Mateusz Pusz 209f193086 fix: exalitre fixed
Resolves #252
2021-03-15 12:12:41 +01:00
Mateusz Pusz dd39dd4f6e Merge branch 'master' of github.com:mpusz/units 2021-03-14 16:50:28 +01:00
Mateusz Pusz c42b5c0498 docs: CMAKE_BUILD_TYPE is not needed as CMakeToolchain will provide it anyway 2021-03-14 16:50:24 +01:00
Mateusz Pusz 7c9e35dcd6 refactor: explicit usage unified accross the library 2021-03-13 19:55:18 +01:00
Mateusz Pusz 23da1299d6 build: CMake scripts cleanup 2021-03-13 19:53:09 +01:00
Mateusz Pusz b5f1eb33ac feat: energy_density and radioactivity definitions added
Although, they are disabled because of downcasting issues.
2021-03-13 19:39:59 +01:00
Mateusz Pusz 3b3b9d92fb docs: Minimum required VS version bumped to 16.9 2021-03-12 23:10:39 +01:00
Mateusz Pusz 069712b222 fix: ✨ Visual Studio caught up with terse form of constraints 2021-03-12 23:06:11 +01:00
Mateusz Pusz a91e234c90 build: get_version() replaced with set_version() 2021-03-05 12:14:42 +01:00
Mateusz Pusz 2229012f93 build: Additional Conan settings added 2021-03-05 12:12:01 +01:00
Mateusz Pusz 65e383a506 docs: Basic concepts embraced with examples 2021-03-05 11:31:46 +01:00
Mateusz Pusz a22600c8e3 ci: Scheduled task removed from CodeQL action 2021-03-05 09:19:19 +01:00
Mateusz Pusz 0d3740cc87 refactor: earth_radius moved to cpp file 2021-02-26 14:25:01 +01:00
Mateusz Pusz cdba0cdbc4 refactor: glide_computer refactored and extended with geographical coordinates 2021-02-26 14:10:36 +01:00
Johel Ernesto Guerrero Peña 929c197fff fix: downcasting facility for GCC 11 2021-02-26 11:07:19 +01:00
Mateusz Pusz 8632ac1461 chore: clang-format file updated for clang-format-12
clang-format-12 has still some issues with C++20 constraints declaration but is more usable now.
2021-02-23 20:42:34 +01:00
Mateusz Pusz db231659be docs: CHANGELOG updated 2021-02-23 20:35:10 +01:00
Yves Delley e5462c1b65 fixed sign-conversion warning in doubtful conversion between std::clock_t and std::time_t 2021-02-23 14:33:37 +01:00
Johel Ernesto Guerrero Peña 017183653d feat: full-on dimensional analysis between related quantity kinds 2021-02-21 00:17:03 +01:00
Mateusz Pusz dad9b4f166 fix: user-provided CTAD guides fixed
Resolves #227
2021-02-20 17:19:43 +01:00
Mateusz Pusz a41b3a42fe fix: gsl_ExpectsAudit() added for all relevant quantity and quantity_kind operations
Resolves @218
2021-02-20 17:17:45 +01:00
Mateusz Pusz 35e6253fb8 refactor: UDLs switched to use gsl_ExpectsAudit (checks enabled only in a Debug build) 2021-02-18 20:17:10 +01:00
Mateusz Pusz fe335b656a build: Audit contracts checking enabled for a Debug build 2021-02-18 20:15:52 +01:00
Mateusz Pusz f2cb24357c fix: UDLs cannot be consteval 2021-02-18 19:54:40 +01:00
Mateusz Pusz 419db7a36e Merge branch 'master' of github.com:mpusz/units 2021-02-18 19:34:22 +01:00
Johel Ernesto Guerrero Peña 8d6d43b32d feat: quantity point-like support 2021-02-17 19:40:52 +01:00
Mateusz Pusz a7f452cd12 refactor: Got rid of -Wsign-conversion warnings on UDLs
Refers to #226
2021-02-17 19:37:20 +01:00