Commit Graph
1489 Commits
Author SHA1 Message Date
Mateusz Pusz a5c35a0cf6 refactor: parse_fill_align_width extracted as a standalone function 2024-01-23 21:31:45 +01:00
Mateusz Pusz b982c0654d refactor: parse_subentity_replacement_field moved to format.h 2024-01-23 21:20:22 +01:00
Mateusz Pusz 8fb800670c refactor: 'o' replaced with '1' as a modifier for unit_symbol_solidus::one_denominator 2024-01-23 21:20:22 +01:00
Mateusz Pusz 7eb8614d4c docs: formatting grammar comments fixed 2024-01-23 21:19:45 +01:00
Mateusz Pusz 4e88298ce3 feat: formatting error messages improved 2024-01-23 21:19:45 +01:00
Mateusz Pusz dbd3bd07f1 fix: unit formatting fixed 2024-01-23 21:19:45 +01:00
Mateusz Pusz 0ce6fed70d fix: quantity alignment formatting fixed 2024-01-23 21:19:45 +01:00
Mateusz Pusz 1e43758b54 feat: unit text output support added
Resolves #422
2024-01-23 21:19:45 +01:00
Mateusz Pusz 1817687ca2 feat: std::format support added
Resolves #503
2024-01-23 21:19:45 +01:00
Mateusz Pusz 030c53a404 fix: missing version header file added to hacks.h 2024-01-23 21:19:45 +01:00
Mateusz Pusz b7b5b58f73 feat: 💥 has_unit_symbol support removed 2024-01-23 21:19:45 +01:00
Mateusz Pusz f32d374fd5 feat: formatting grammar improved and units formatting support added 2024-01-23 21:16:47 +01:00
Mateusz Pusz a9b2865950 Merge branch 'master' of github.com:mpusz/mp-units 2024-01-23 21:15:55 +01:00
Nebojsa Cvetkovic 64c351906d feat: fmod floating-point division remainder 2024-01-22 10:48:15 +00:00
Nebojsa Cvetkovic 057d659c1f feat: atan2 2-argument arctangent 2024-01-20 19:37:00 +00:00
Nebojša CvetkovićandMateusz Pusz a62f061028 feat: ppm parts per million
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-01-20 14:37:36 +00:00
Mateusz Pusz 1df2cc7b58 feat: do not print space between a number and percent or per_mille 2024-01-19 21:20:33 +01:00
Mateusz Pusz 3a6249fc5e fix: explicit object parameter support fixed 2024-01-19 19:34:06 +01:00
Mateusz Pusz 840b0bd54e fix: performace regression in sudo_cast fixed 2024-01-19 16:04:55 +01:00
Mateusz Pusz fc7e1358cb feat: underlying_type type trait added 2024-01-19 16:03:21 +01:00
Mateusz Pusz d036af5647 fix: compilation errors after the last commit fixed 2024-01-19 11:09:29 +01:00
Mateusz Pusz b4f07f6e7c refactor: 💥 ReferenceOf does not take a dimension anymore
It seems unneeded and removing this check greatly simplifies common compilation errors.
2024-01-19 10:35:32 +01:00
Mateusz Pusz 81871bfd4c fix: fixed_string should not expose <iostream> 2024-01-18 19:00:06 +01:00
Mateusz Pusz 40dcc9de66 feat: basic_fixed_string contructor now can take a list of arguments 2024-01-18 18:59:10 +01:00
Mateusz Pusz 5183a5c830 fix: creation of std::string_view in basic_fixed_string::view() now is compatible with C++20 2024-01-18 18:41:29 +01:00
Mateusz Pusz 901e718deb feat: text output support added to basic_fixed_string 2024-01-18 18:07:07 +01:00
Mateusz Pusz 7296238223 refactor: 💥 fixed_string constructor taking a single character made explicit 2024-01-18 16:50:10 +01:00
Mateusz Pusz 12aebbb08b refactor: fixed_string::op[] now returns by value 2024-01-18 16:49:11 +01:00
Mateusz Pusz f2be389b57 feat: .view() member funciton added to fixed_string 2024-01-18 16:47:16 +01:00
Mateusz Pusz cc9947bd8b refactor: 💥 MP_UNITS_USE_LIBFMT renamed to MP_UNITS_USE_FMTLIB 2024-01-12 14:18:57 +01:00
Mateusz Pusz 9511995d04 build: find_package() calls don't spell CONFIG explicitly anymore 2024-01-12 12:32:12 +01:00
Mateusz Pusz 09873c203c fix: setting cxx_std_20 fixed for library modules 2024-01-08 13:11:05 +01:00
Mateusz Pusz 5293589900 build: all the targets now set C++20 as the minimum required version 2024-01-08 13:02:02 +01:00
Mateusz Pusz 720f31055f docs: chrono.h header file location updated 2024-01-07 15:44:36 +01:00
Mateusz Pusz 53e25582e6 fix: target_sources with FILE_SET HEADERS called only when headers are present 2024-01-06 09:14:42 +01:00
Mateusz Pusz 047b8a140a build: add_mp_units_module now use HEADER_SET 2024-01-06 08:51:01 +01:00
Mateusz Pusz e23be9aab5 fix: MP_UNITS_USE_LIBFMT was lost during refactoring 2024-01-06 08:51:01 +01:00
Mateusz Pusz 4960011ca5 fix: cxx_std_20 set for mp-units::core 2024-01-06 08:51:01 +01:00
Mateusz Pusz 44c557ff4b refactor: add_units_module renamed to add_mp_units_module and target_name parameter added 2024-01-06 08:51:01 +01:00
Mateusz Pusz a7cb512f87 fix: modules build fixed 2024-01-06 08:51:01 +01:00
Mateusz Pusz fb8552b1d9 refactor: core-fmt and core-ostream modules merged with core 2024-01-06 08:51:01 +01:00
Mateusz Pusz 0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00
Mateusz Pusz ea8450df9d build: _LIBCPP_NO_ABI_TAG define set for clang-17 modules build 2024-01-06 08:51:01 +01:00
Mateusz Pusz 50c8f0a20d build: projectPrefix applied to preprocessor define 2024-01-06 08:51:01 +01:00
Mateusz Pusz c0f264cae9 fix: mp-units-core-module now links with mp-units::utility 2024-01-06 08:51:01 +01:00
Mateusz Pusz 4069481331 refactor: math_core.h moved back to the utility directory 2024-01-06 08:51:01 +01:00
Johel Ernesto Guerrero PeñaandMateusz Pusz b5a7b815ba style: fix grammar of comment
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-01-06 08:51:00 +01:00
Johel Ernesto Guerrero Peña 7aa0690246 refactor: move compare.h and random.h to mp_units.core 2024-01-06 08:51:00 +01:00
Johel Ernesto Guerrero Peña 7cb2099af5 feat: add module mp_units 2024-01-06 08:51:00 +01:00
Mateusz Pusz 5382fdbc5c fix: ice_point is now defined with the integral offset from absolute_zero
Fixes #539
2024-01-05 11:56:55 +01:00