13
0
livetrax/libs/temporal
Robin Gareus 23010a910d
Be liberal about what to accept
This addressee a bug where ardour 6 was able to write negative
duration `length="-1"` `length-beats="-3.3650500597559585e-05"`

Ideally timecnt_t::string_to should check for invalid,
negative, duration. But this also catches a more generic case.

```
exception at str.substr (1)
#3 Temporal::timepos_t::string_to (this=0x7fffffff7bb0, str="") at libs/temporal/timeline.cc:904
#4 Temporal::timecnt_t::string_to (this=0x7fffffff7ba0, str="-2") at libs/temporal/timeline.cc:294
#5 PBD::string_to<Temporal::timecnt_t> (str="-2") at libs/ardour/ardour/types_convert.h:131
```
2022-10-16 22:30:35 +02:00
..
MSVCtemporal
temporal Prevent overflow for huge time values (fix 99h clock limit @96kHz) 2022-10-16 18:46:36 +02:00
test fix RangeTest to account for Range now using exclusive ends, not inclusive 2022-10-05 17:30:45 -06:00
bbt_time.cc temporal: fix a bug in BBT_Time::round_up_to_bar() 2022-08-03 10:59:29 -06:00
beats.cc temporal: fix a bug in BBT_Time::round_up_to_bar() 2022-08-03 10:59:29 -06:00
debug.cc temporal: add new debug bit for debug tracing just TempoMap::reset_starting_at() 2022-05-13 19:05:13 -06:00
enums.cc
range.cc Remove Range::squish debug information, used fixed modulo operation 2022-06-30 01:07:32 +02:00
superclock.cc increase superclock_ticks_per_second to provide integer handling for NTSC (following Facebook "flicks") 2022-10-13 18:05:49 -06:00
tempo.cc remove some debug output 2022-09-21 09:13:26 -06:00
test2.cc
test.cc
time.cc
timeline.cc Be liberal about what to accept 2022-10-16 22:30:35 +02:00
wscript More unit-tests updates 2022-10-01 16:57:12 +02:00