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
beats.cc
debug.cc
enums.cc
range.cc
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