Commit Graph

158 Commits

Author SHA1 Message Date
Mateusz Pusz
7512e29137 fix: Windows build fixed 2021-04-16 14:55:42 +02:00
Mateusz Pusz
554323d3a6 refactor: conversions part of the custom_systems refactored to be more explicit 2021-04-16 14:41:05 +02:00
Mateusz Pusz
340e62f833 refactor: IWYU 2021-04-16 13:59:41 +02:00
Mateusz Pusz
3c56375e85 refactor: Example updated to benefit from USCS system 2021-04-16 13:01:12 +02:00
Mateusz Pusz
46e1e5e932 refactor: US system renamed to USCS 2021-04-16 12:40:52 +02:00
Mateusz Pusz
70bff31d06 feat: quantity aliases support addded 2021-04-15 19:13:25 +02:00
Mateusz Pusz
813197021f refactor: measurement example moved to a root examples directory 2021-04-15 14:05:36 +02:00
Mateusz Pusz
cee27390e6 feat: Formatting support for Kalman related types added 2021-04-14 20:22:20 +02:00
Mateusz Pusz
90af542308 fix: MSVC build fixed 2021-04-13 20:35:11 +02:00
Mateusz Pusz
2d7c3612cd refactor: IWYU 2021-04-13 19:29:35 +02:00
Mateusz Pusz
d2a7df6540 fix: clang compilation fixed 2021-04-13 19:28:53 +02:00
Mateusz Pusz
97245a8c96 feat: Kalman Filter tutorials 1-8 added 2021-04-13 18:16:11 +02:00
Mateusz Pusz
c545328be7 docs: Added the comment about the reason of ignoring diagnostics in experimental_angle 2021-04-08 12:41:23 +02:00
Mateusz Pusz
9c8deb6187 refactor: capacitor_time_curve refactored for references 2021-04-07 19:09:00 +02:00
Mateusz Pusz
e5af317a0a refactor: avg_speed example refactored to better use literals 2021-04-07 19:07:55 +02:00
Mateusz Pusz
8ca2b25349 fix: torque literal fixed + experimental_angle example refactored 2021-04-07 19:07:25 +02:00
Mateusz Pusz
dddc7572aa refactor: conversion_factor example moved to the main examples directory 2021-04-07 19:05:02 +02:00
Mateusz Pusz
fdc31e7cde refactor: example applications refactored to benefit more from references 2021-04-07 13:56:20 +02:00
Mateusz Pusz
40de14b9b7 refactor: common part of glide_computer moved to a directory 2021-04-07 12:36:39 +02:00
Mateusz Pusz
cf14032dce refactor: custom_systems example moved to the parent directory 2021-04-07 11:54:35 +02:00
Mateusz Pusz
bd862d3517 refactor: Fine-grained references support added 2021-04-07 11:26:45 +02:00
Mateusz Pusz
afa67c5f43 refactor: IWYU 2021-04-06 22:21:45 +02:00
Mateusz Pusz
1f80c57fad refactor: hello_units fixed to provide literals and references preprocessor defines explicitly 2021-04-06 16:36:52 +02:00
Mateusz Pusz
b982921d27 refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00
Mateusz Pusz
c3659dbb47 refactor: UNITS_UDLS renamed to UNITS_LITERALS
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
2021-04-06 13:33:27 +02:00
Mateusz Pusz
b50df22901 refactor: IWYU 2021-04-02 19:31:58 +02:00
Mateusz Pusz
e1d8d6b81d fix: Fixed shadowing warnings on clang 2021-04-02 19:31:36 +02:00
Mateusz Pusz
1a5b4fc85e refactor: UDLs support switched off by default 2021-04-02 18:56:28 +02:00
Mateusz Pusz
309da80c32 refactor: unit_text.h header include moved to text-related targets 2021-03-31 12:25:26 +02:00
Mateusz Pusz
441db47928 fix: MSVC Release build fixed + pragmas usage refactored 2021-03-30 20:00:23 +02:00
Mateusz Pusz
8a26eaf420 fix: VS build fixed 2021-03-30 14:47:05 +02:00
Mateusz Pusz
a7cd8d5131 build: Local directory added to include dirs for glide_computer 2021-03-30 14:01:58 +02:00
Mateusz Pusz
06c1cbde06 fix: glide_computer_example.cpp compilation fixed 2021-03-30 14:01:19 +02:00
Mateusz Pusz
37cfc53d1d refactor: IWYU applied to the source files
`alternative_namespaces` examples left out as I consider them a subject for removal in the nearest future.
2021-03-30 13:21:05 +02:00
Mateusz Pusz
88e642ec74 refactor: QuantityValue concept renamed to Representation 2021-03-19 07:53:18 +01:00
Mateusz Pusz
901b09fd52 refactor: quantity::count() renamed to quantity::number()
Resolves #259
2021-03-19 06:47:37 +01:00
Johel Ernesto Guerrero Peña
0b87e7c99c refactor!: require explicit number for references
Addresses:
- https://github.com/mpusz/units/pull/261#discussion_r596651065
- https://github.com/mpusz/units/pull/261#discussion_r596664550
- https://github.com/mpusz/units/pull/261#discussion_r597132294
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña
018c5837f9 refactor: rename unit_constants to references
Addresses https://github.com/mpusz/units/pull/261#discussion_r596663522.
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña
9a520edfe9 refactor!: replace one_rep with reference<D, U> 2021-03-18 22:37:25 +01:00
Mateusz Pusz
37473eb8ad refactor: core-io and core-fmt separate modules added 2021-03-17 13:46:28 +01:00
Mateusz Pusz
221883bb25 build: core library and each system separated to dedicated CMake targets
Refers to #249
2021-03-16 23:05:45 +01:00
Mateusz Pusz
bbbb77286c refactor: physical replaced with isq
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz
23720d055e refactor: Refactored the library file tree
Resolves #249
2021-03-16 09:32:28 +01:00
Mateusz Pusz
625f452daa build: libc++ support added 2021-03-15 21:11:26 +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
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
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
8476517185 refactor: box_example modernized 2021-02-16 16:21:05 +01:00