ardour/libs
Paul Davis 369fc2c15c temporal: fix a major thinko when removing/replacing map points
Despite comments already in the code, the logic used to remove a
{Tempo,Meter,BarTime} point from the _points list was incorrect. While it is
true that we can use a duple of (type,time) to find a given point,
::remove_point() was not doing that and instead assumed just the time value
could be used.

This meant that if you placed a tempo and meter at the same point in time, then
changed one of them, ::remove_point() could remove the wrong point from the
_points list.

In #10063 this manifests as the wrong grid being drawn after a tempo point
edit.

This commit alters the ::core_remove_xxx() methods to return a pointer to the
actual Point object that was removed from {_tempos,_meters,_bartimes} and then
we pass that to ::remove_point() for lookup and removal by address.

It also "fixes" a couple of instances of ::core_remove_xxx() without any
removal from the _points list (since ::core_remove_tempo() and
::core_remove_meter() do not do this; ::core_remove_bartime() does,
however). It is not immediately obvious what bad behavior would arise from the
existing code in these cases, but it seems clearly incorrect that the _points
list would contain points no longer present in _tempos or _meters.
2025-12-27 12:14:49 -07:00
..
aaf
appleutility
ardour update german translation 2025-12-20 16:58:43 +01:00
ardouralsautil
audiographer Remove deprecated no-op function (1/2) 2025-11-20 23:10:52 +01:00
auscan
backends Use compiler provided PTW_VERSION define for compatibility 2025-12-05 16:00:09 +01:00
canvas
clearlooks-newer Clearlooks: don't hardcode define HAVE_UNISTD_H 2025-11-25 16:17:36 +01:00
ctrl-interface
evoral SMF import: attempt to find tempo-related metadata in any track 2025-12-11 18:20:17 -07:00
fluidsynth Update fluidsynth cflags 2025-12-13 16:05:09 +01:00
fst
gtkmm2ext Update Polish translation 2025-12-16 19:59:40 +01:00
hidapi
libltc
lua
midi++2 Clean out more unconditional, unnecessary unistd.h 2025-11-28 12:15:54 +01:00
panners Who needs unistd.h, now that we have glibmm? 2025-12-18 16:09:13 +01:00
pbd A minor comment change 2025-12-20 12:27:09 +00:00
plugins
ptformat
qm-dsp
staffpad
surfaces Use shared_ptr to manage RouteGroups everywhere (libs edition) 2025-12-14 23:46:48 +01:00
temporal temporal: fix a major thinko when removing/replacing map points 2025-12-27 12:14:49 -07:00
tk Change to ytk wscript, to work slightly better with MSVC 2025-11-14 00:21:11 +01:00
vamp-plugins
vamp-pyin
vfork
vst3
waveview
widgets move UIConfigurationBase from libs/widgets to libs/gtkmm2ext 2025-11-18 13:08:45 -07:00
zita-convolver Fix source-code visibility comments 2025-12-13 20:14:05 +01:00
zita-resampler Fix source-code visibility comments 2025-12-13 20:14:05 +01:00