Commit graph

41590 commits

Author SHA1 Message Date
Robin Gareus
878d10ef02
Trigger Page: consistent selection property box layout
This also fix Trigger page property box content not showing
(due to Frame size being under-allocated)
2025-08-27 15:23:28 +02:00
Robin Gareus
9ac66b3d86
Another safeguard against pianoroll timer issues 2025-08-27 15:11:18 +02:00
Robin Gareus
a8092c1782
Frame: only warn when allocation is smaller than requested size
When using Gtk Box packing and the box has a border-width set
the child widget may get an allocation that is less that than
the requested size.
2025-08-27 15:10:53 +02:00
Robin Gareus
385ff3b3e2
Another fix for pianoroll use-after-free
`SessionHandleRef::session_going_away` sets `session = 0;`
the timer needs to be disconnected before then.
2025-08-27 13:49:57 +02:00
Robin Gareus
a4e9b242e8
Potential fix for AAF region gain 2025-08-27 13:19:05 +02:00
Robin Gareus
f8377cf3b0
Fix Application bar tooltips
Tooltips depend actions for a given butten (if any).
A later call to set_related_action() will break tooltips
for a given widget.
2025-08-27 12:45:30 +02:00
Franke Burgarino
9fd131fbaa MCU: fix banking in the plugin subview
the addition of the current bank to the global strip position was just
causing the vpots to be off by the bank number, so past bank 1 the pots
were tied to the wrong plugins
2025-08-26 17:37:25 -05:00
Franke Burgarino
b501ae855d MCU: remove vpot control in plugin subview
when switching to the plugin subview, vpots were still attached to
pan controls
2025-08-26 17:37:25 -05:00
Franke Burgarino
92727dccc3 MCU: fix plugin subview crash
fixed a crash that occurred when attempting to vselect an empty pot
in the plugin subview
2025-08-26 17:37:25 -05:00
Franke Burgarino
2ecd265daa MCU: clear pot LEDs when pot is empty 2025-08-26 17:37:25 -05:00
Robin Gareus
4885d7f073
RTA: fix potential invalidated iterator when clearing RTA 2025-08-26 18:11:42 +02:00
Paul Davis
3c238e26b6 fix kbd-editing of automation point values by allowing full range 2025-08-25 20:50:01 -06:00
Robin Gareus
89c4fdc186
VST3: implement host/global IContextInfoProvider
This should fix crashes at instantiating sonible VST3
plugins.
2025-08-25 22:34:20 +02:00
Robin Gareus
0d03390976
VST3: Ardour enumerates Tracks/Busses by type
e.g. Track 1, Bus 1
2025-08-25 22:23:22 +02:00
Robin Gareus
e6dd5512b6
VST3: fix debug message 2025-08-25 22:23:21 +02:00
Franke Burgarino
9bc35232b3 MCU: update pot LEDs when switching to the track/pan subview 2025-08-25 15:06:02 -05:00
Paul Davis
7b1b1bac73 if visible note range is set to 1 note, treat just like any other range < 12 2025-08-25 13:41:29 -06:00
Paul Davis
61a766fece don't try to reset visible MIDI note range directly when adding a note
This method is only used for GUI interaction, so the note must already be in the visible
note range
2025-08-25 13:39:54 -06:00
Robin Gareus
5e706c4fd4
Remove debug message 2025-08-25 01:08:55 +02:00
Paul Davis
540f0b1f61 pianoroll's have nothing (?) to do when a region's length changes
In particular, they should not call ::set_region() again to try to make something
happen
2025-08-24 16:30:19 -06:00
Paul Davis
01000ab6c9 do not short-circuit CueEditor::set_region() if used with the current region
This stops us from failing to calling unset(), which was resulting in a pianoroll
being over-connected to a region's property change signal.

Also, EC_LOCAL_TEMPO_SCOPE is inappropriate in a method that will
call set_local_tempo_map()
2025-08-24 16:28:56 -06:00
Paul Davis
ab588efd8c remove debug message 2025-08-24 16:25:10 -06:00
Paul Davis
20a19e3a99 automation kbd-editing on single points ONLY 2025-08-24 11:55:06 -06:00
Robin Gareus
e5e9229eb2
Allow numeric entry with "shift" when using dbl-click to reset 2025-08-24 17:02:57 +02:00
Robin Gareus
4e78f25149
Don't update bottom attachment when it's not visible 2025-08-24 15:09:08 +02:00
Robin Gareus
32325e84d7
Allow clearing RoutePropertiesBox 2025-08-24 15:09:08 +02:00
Robin Gareus
cca8de9d6c
Make keyboard shortcuts work in RTA Window 2025-08-24 15:09:08 +02:00
Paul Davis
e684fb4eaf use Session::request_locate() fully, to avoid 2nd session transport request 2025-08-23 22:35:16 -06:00
Paul Davis
12aeeade3c make pianoroll update happen on same timer as main editor playhead 2025-08-23 22:35:16 -06:00
Paul Davis
d20987aba4 get playhead on timeline and in pianorolls to be in sync
We have to convert from audible sample to beats using the global tempo map, then
back to samples using the local tempo map
2025-08-23 22:35:16 -06:00
Paul Davis
7dadddb3dc temporal: provide TempoMap::global_fetch()
This always returns a shared ptr to the global tempo map, without setting the
thread-local pointer
2025-08-23 22:35:16 -06:00
Daniel Appelt
4b5a55546a
Add example Lua script to set color transparency 2025-08-24 00:58:31 +02:00
Daniel Appelt
7fa17f50da
Add support to set color transparency from Lua 2025-08-24 00:58:20 +02:00
Daniel Appelt
d09a972b73
Add example script to create a midi region clone 2025-08-23 21:50:19 +02:00
Daniel Appelt
26c9621aca
Add support to create midi regions from Lua 2025-08-23 21:49:48 +02:00
Robin Gareus
a6e3708a8a
NO-OP: format comment 2025-08-23 21:46:35 +02:00
Robin Gareus
45724aec9d
Expose preference to disable implicit grouping 2025-08-23 10:07:05 +02:00
Robin Gareus
a94dba4ef4
Add preference to disable implicit grouping 2025-08-23 09:59:02 +02:00
Franke Burgarino
faebc7ab35 MCU: show surround master in global/mixer view
only if the controller doesn't have a master fader
2025-08-22 14:47:48 -05:00
Franke Burgarino
a57e3db41c MCU: clean up MackieControlProtocol::get_sorted_stripables logic 2025-08-22 13:58:52 -05:00
Franke Burgarino
d49e44c5c7 MCU: add MackieControlProtocol::is_bus 2025-08-22 13:56:50 -05:00
Franke Burgarino
75f8aa3673 MCU: bring back foldbacks with correct sorting 2025-08-22 13:54:53 -05:00
Paul Davis
bb13bd48b2 several more bbt_delta() unit tests 2025-08-22 10:59:06 -06:00
Paul Davis
27ffd1628d temporal: remove iterative bbt_delta() since unit test shows breakage 2025-08-22 10:51:16 -06:00
Paul Davis
fd53cf87ed temporal: new non-iterative implementation of Meter::bbt_delta() 2025-08-22 10:45:12 -06:00
Paul Davis
26e63fca9b add unit test for Meter::bbt_delta() 2025-08-22 10:45:12 -06:00
Robin Gareus
a6b07256aa
Fix expanding application bar
`on_parent_changed()` which does the layout is
called before ui_actions_ready(). This caused to Lua buttons
to briefly be displayed.
2025-08-22 15:47:52 +02:00
Paul Davis
07b20aa60a kbd automation: no popup immediately after add, 2nd Return/Enter for that
Also, two different bindings for adding a point with and without guard points.
2025-08-21 18:56:00 -06:00
Paul Davis
05210fc7e2 Evoral: add ControlList::has_event_at (timepos_t) 2025-08-21 18:56:00 -06:00
Paul Davis
40b7b0a55c canvas: fix enter notify event handler to work with gtk ungrabs
GTK delivers both window and root coordinates as (0,0) for GDK_CROSSING_GTK_UNGRAB
modes. We need the real coordinates of the pointer to pick the right canvas item
2025-08-21 18:56:00 -06:00