Commit Graph

3167 Commits

Author SHA1 Message Date
Mateusz Pusz 63f97d3396 fix: improved text formatting in examples 2024-04-19 16:49:27 +01:00
Mateusz Pusz 41f500e729 Merge pull request #555 from mpusz/new_format
docs: new formatting syntax ideas
2024-04-20 00:18:23 +09:00
Mateusz Pusz 6ad831b573 docs: 2.2 release updated with mag_ratio 2024-04-19 16:14:34 +01:00
Mateusz Pusz 72491443fc fix: use std::formattable only when fmtlib is not used 2024-04-19 15:30:42 +01:00
Mateusz Pusz f90a218705 refactor: 💥 ratio hidden as an implementation detail behind mag_ratio 2024-04-19 15:29:00 +01:00
Mateusz Pusz 17de6bd872 fix: clang compilation fixed workarounded with the CTAD for quantity_formatter 2024-04-19 14:38:11 +01:00
Mateusz Pusz 00372cc5d5 docs: "Quantity formatting" chapter updated 2024-04-18 22:55:19 +01:00
Mateusz Pusz 4ee7fb3375 style: formatting fixed to make pre-commit happy 2024-04-18 22:41:57 +01:00
Mateusz Pusz 86743d6d24 fix: std::formattable usage is now conditional 2024-04-18 22:41:13 +01:00
Mateusz Pusz c5afd722e7 docs: Some docs updated to reflect the latest formatting changes 2024-04-18 22:40:30 +01:00
Mateusz Pusz fa04e93687 feat: New formatting specification implemented 2024-04-18 22:29:09 +01:00
Mateusz Pusz ae1003b279 Merge pull request #563 from NoahBres/master
Prepend detail namespace to `external/type_name`
2024-04-19 06:17:41 +09:00
nbresler 7705d8b746 New line 2024-04-18 10:35:01 -07:00
nbresler 0346a4a4d3 Prepend details namesapce 2024-04-18 10:21:26 -07:00
Mateusz Pusz c8b535cf4c feat: improved automatic mode of MP_UNITS_API_STD_FORMAT 2024-04-18 17:38:11 +01:00
Mateusz Pusz 832cba8134 Merge pull request #562 from nebkat/feat-remainder
feat:  IEEE floating-point division remainder
2024-04-18 21:35:36 +09:00
Nebojsa Cvetkovic 069f2bf11a feat: IEEE floating-point division remainder 2024-04-18 12:04:12 +01:00
Mateusz Pusz 1e3a93d10c docs: new formatting syntax ideas 2024-04-17 14:20:15 +01:00
Mateusz Pusz da9340005f docs: 2.2 release announcement updated 2024-04-17 12:16:40 +01:00
Mateusz Pusz 94b4d0a3e3 fix: bugs introduced by the flake8 recommendations fixed and those warnings are ignored from now on 2024-04-17 11:40:24 +01:00
Mateusz Pusz 4c9570e3ba docs: pre commit steps description for non-Conan users added to the contributing guide 2024-04-16 22:21:18 +01:00
Mateusz Pusz 8e50eae64f style: header files order changed to make pre-commit happy 2024-04-16 22:14:35 +01:00
Mateusz Pusz c40967bb2e fix: CMake config file now has a proper logic for std::format 2024-04-16 22:12:43 +01:00
Mateusz Pusz 23c4e0e45c fix: fmtlib handling in package_info() fixed 2024-04-16 22:08:03 +01:00
Mateusz Pusz 8e0a26b933 feat: 💥 API-related Conan, CMake, and preprocessor options redesigned 2024-04-16 21:48:36 +01:00
Mateusz Pusz 7b57ce5ab1 build: 💥 MP_UNITS_BUILD_LA and MP_UNITS_IWYU CMake options now have _DEV_ in the name 2024-04-12 09:43:02 +02:00
Mateusz Pusz 5036a3e0e0 docs: "The affine space" chapter improved 2024-03-24 07:16:23 +01:00
Mateusz Pusz 89e61169f8 style: whitespaces fixed to make pre-commit happy 2024-03-23 23:55:32 +09:00
Mateusz Pusz a18b4e6c59 docs: the affine space chapter rewritten 2024-03-23 22:21:33 +09:00
Mateusz Pusz 67caa04cbe ci: clang-18 added 2024-03-22 09:40:45 +09:00
Mateusz Pusz 0644790198 fix: zero-initialization for a unit symbol buffer 2024-03-19 10:37:47 +09:00
Mateusz Pusz a62fdd2331 refactor: precondition checks and asserts cleanup 2024-03-19 10:37:01 +09:00
Mateusz Pusz fb97c2ea5a refactor: basic_symbol_text renamed to symbol_text 2024-03-18 23:12:39 +09:00
Mateusz Pusz 7a0baae1ee feat: precondition checks added to basic_symbol_text 2024-03-18 22:52:30 +09:00
Mateusz Pusz 16f4f5d4a8 refactor: fixed_string refactored to reflect the latest changes to P3094R1 2024-03-18 22:50:35 +09:00
Mateusz Pusz 02dc42738f fix: missing gsl-lite.hpp includes added 2024-03-18 20:05:08 +09:00
Mateusz Pusz e7fdc96efe Merge branch 'master' of github.com:mpusz/units 2024-03-03 17:33:53 +01:00
Mateusz Pusz a04cc62911 refactor: return type constraints improved for quantity and quantity_point 2024-03-03 17:33:48 +01:00
Mateusz Pusz 5675002a76 docs: "Changes to units definitions" chapter reordered in TOC in the 2.2 release announcement 2024-03-03 17:20:04 +01:00
Mateusz Pusz 95c4ba8ee5 docs: text_encoding code comments improved 2024-02-28 08:52:58 +01:00
Mateusz Pusz 1c9eb2bdb8 feat: string header added to core_gmf 2024-02-28 08:52:40 +01:00
Mateusz Pusz 1bc2ce585f docs: "Improved text output" added to the 2.2 release announcement 2024-02-27 21:08:46 +01:00
Mateusz Pusz 88e2656dc7 style: trailing whitespaces removed to make pre-commit happy 2024-02-27 14:10:43 +01:00
Mateusz Pusz bcca52e298 docs: "Text Output" chapter updated with the recent formatting changes 2024-02-27 13:58:06 +01:00
Mateusz Pusz 5d041fda2d test: unit_symbol() and dimension_symbol() runtime unit tests added 2024-02-27 10:23:09 +01:00
Mateusz Pusz 0c97be0be1 refactor: workaround for clang bug added to unit_symbol() and dimension_symbol() 2024-02-27 10:22:26 +01:00
Mateusz Pusz 563895137a fix: missing header files added to unit.h and dimension.h 2024-02-27 10:21:44 +01:00
Mateusz Pusz 64b8ace663 fix: missing export added for text_encoding 2024-02-27 10:17:32 +01:00
Mateusz Pusz 19193577eb build: CTest usage with --output-on-failure enabled in conanfile 2024-02-27 09:46:22 +01:00
Mateusz Pusz 63d00977e1 docs: improved the docs for using-directives of unit_symbols 2024-02-27 09:44:42 +01:00