lumiera_/src/stage
Ichthyostega 50c602ec3f Library: rectify clipping of time::Duration (see #1263)
This is a deep refactoring to allow to represent the distance
between all valid time points as a time::Offset or time::Duration.

By design this is possible, since Time::MAX was defined as 1/30 of
the maximum value technically representable as int64_t. However,
introducing a different limiter for offsets and durations turns
out difficult, due to the inconsistencies in the exiting hierarchy
of temporal entities. Which in turn seems to stem from the unfortunate
decision to make time entities immutable, see #1261

Since the limiter is hard wired into the `time::TimeValue` constructor,
we are forced to create a "backdoor" of sorts, to pass up values
with different limiting from child classes. This would not be so
much of a problem if calculations weren't forced to go through `TimeVar`,
which does not distinguish between time points and time durations.

This solution rearranges all checks to be performed now by time::Offset,
while time::Duration will only take the absolute value at construction,
based on the fact that there is no valid construction path to yield
a duration which does not go through an offset first.

Later, when we're ready to sort out the implementation base of time values
(see #1258), this design issue should be revisited
- either we'll allow derived classes explicitly to invoke the limiter functions
- or we may be able to have an automatic conversion path from clearly
  marked base implementation types, in which case we wouldn't use the
  buildRaw_() and _raw() "backdoor" functions any more...
2022-12-05 00:58:32 +01:00
..
ctrl Lib/Diff: prefer the name "emplace" over "build" 2021-05-02 18:31:47 +02:00
dialog ElementBox: working draft of ElementBoxWidget, establishing ctor framework 2022-09-01 19:34:38 +02:00
draw Global-Layer-Renaming: rename namespaces 2018-11-15 23:55:13 +01:00
interact Clip-Drag: further investigation and clean-up 2021-06-19 17:12:02 +02:00
model Library: rectify clipping of time::Duration (see #1263) 2022-12-05 00:58:32 +01:00
output Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
panel Project: update and clean-up Doxygen configuration 2021-01-24 19:35:45 +01:00
setting Lib/Diff: prefer the name "emplace" over "build" 2021-05-02 18:31:47 +02:00
timeline Timeline: draft arrangement to provide a display-metric (closes #1213) 2022-10-28 02:08:34 +02:00
widget ElementBox: successfully implemented size-constrained ClipWidget (closes #1235) 2022-10-21 19:18:21 +02:00
workspace ElementBox: integrate new Placement and Menu icon design (closes #1236) 2022-10-15 19:44:41 +02:00
config-keys.cpp Global-Layer-Renaming: rename namespaces 2018-11-15 23:55:13 +01:00
config-keys.hpp Global-Layer-Renaming: rename namespaces 2018-11-15 23:55:13 +01:00
DIR_INFO Global-Layer-Renaming: rearrange directories 2018-11-15 23:28:03 +01:00
display-service.cpp Global-Layer-Renaming: rename namespaces 2018-11-15 23:55:13 +01:00
display-service.hpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
gtk-base.hpp move some common helpers into central UI headers 2021-04-04 15:46:40 +02:00
gtk-lumiera.cpp move some common helpers into central UI headers 2021-04-04 15:46:40 +02:00
guifacade.hpp some whitespace clean-up 2021-08-20 14:33:21 +02:00
id-scheme.hpp some whitespace clean-up 2021-08-20 14:33:21 +02:00
lumiera-light-theme-complement.css ElementBox: establish basic styling 2022-10-02 03:57:16 +02:00
lumiera.css UI-Style: reorganise style constants and introduce some BEM notation 2019-08-08 19:08:04 +02:00
notification-service.cpp Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
notification-service.hpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
style-scheme.cpp ElementBox: integrate new Placement and Menu icon design (closes #1236) 2022-10-15 19:44:41 +02:00
style-scheme.hpp ElementBox: integrate new Placement and Menu icon design (closes #1236) 2022-10-15 19:44:41 +02:00
ui-bus.cpp Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
ui-bus.hpp Lib: fix a bug with diagnostic output 2022-09-27 01:51:21 +02:00