Commit graph

39979 commits

Author SHA1 Message Date
Paul Davis
200fe85ee2 use nullptr as return value instead of 0 2024-11-10 22:07:58 -07:00
Paul Davis
9f62e034b7 fix dangiling regionviews (and thus region refs) when streamview is deleted 2024-11-10 22:07:58 -07:00
Paul Davis
b8e1f67b75 C++ demangnling: make it work on macOS as well as linux 2024-11-10 22:07:58 -07:00
Robin Gareus
2e4f0e8181
Use attachment icons 2024-11-10 23:27:36 +01:00
Robin Gareus
f3ff1a1100
Add Attachment icons 2024-11-10 23:27:36 +01:00
Robin Gareus
19fc6e831b
Fix missing calls to SessionHandlePtr::session_going_away()
Explicit calls to set_session(0) will disconnect the
callback to session_going_away(). So don't do that.
2024-11-10 23:27:36 +01:00
Robin Gareus
0f0006cebc
Debug set_session(0) calls preventing session_going_away() 2024-11-10 23:27:36 +01:00
Ben Loftis
983236f348
implement focus_on_clock for each tabbable 2024-11-10 23:27:35 +01:00
Ben Loftis
9a03fa59b1
store and recall the sidebar List visibility on the trigger page 2024-11-10 23:27:35 +01:00
Ben Loftis
451facf7d4
Pack the editor-mixer-strip in Tabbable's strip ebox 2024-11-10 23:27:35 +01:00
Ben Loftis
6e6119c1eb
re-pack the gradient above the editor toolbar 2024-11-10 23:27:35 +01:00
Ben Loftis
8f183e26ee
Use tabbable visibility functions on all pages 2024-11-10 23:27:35 +01:00
Ben Loftis
ba2fbfa2cf
ArdourUI packs the tabbable visibility buttons 2024-11-10 23:27:35 +01:00
Robin Gareus
82a9fc4abb
Remove unused tabbed-changed callback 2024-11-10 23:27:35 +01:00
Ben Loftis
166c446974
ArdourUI no longer has his own transport bar 2024-11-10 23:27:35 +01:00
Ben Loftis
4b1e09f810
Pack Pages using Tabbable constructs 2024-11-10 23:27:35 +01:00
Robin Gareus
948b49d72d
Defer TransportBar setup until ActionsReady 2024-11-10 23:27:34 +01:00
Ben Loftis
1b18c3e76c
Use Transport Bar in top-level pages 2024-11-10 23:27:34 +01:00
Robin Gareus
b2e4dd91b9
Update Tabbable c'tor to allow member as top-level widget
Derived classes cannot use `Tabbable (_content_vbox,..)`
`_content_vbox` is a member of Tabbable (which has not
yet been initialized) at the point of construction.

This breaks internal API, hence the omnibus commit
2024-11-10 23:27:34 +01:00
Robin Gareus
8ca9e6bcdd
Tabbable overhaul: consistent toplevel packing 2024-11-10 23:27:34 +01:00
Ben Loftis
9f93f730c5
Remove cruft, cleanup transport_bar.cc 2024-11-10 23:27:34 +01:00
Robin Gareus
36fa17e388
Transfer Lua Action Buttons from ArdourUI 2024-11-10 23:27:34 +01:00
Ben Loftis
e36a6f5180
Stop publishing mini_timeline from ardour_ui.h, and fix the fallout 2024-11-10 23:27:34 +01:00
Robin Gareus
057ddabada
Transfer mini-timeline ArdourUI and subscribe to config changes 2024-11-10 23:27:34 +01:00
Robin Gareus
fb07b8b57c
Transfer Cue State from ArdourUI 2024-11-10 23:27:34 +01:00
Robin Gareus
c815ffcdb3
Transfer Monitor Box from ArdourUI 2024-11-10 23:27:33 +01:00
Robin Gareus
e0e0eb09f3
Transfer indicators from ardour_ui 2024-11-10 23:27:33 +01:00
Robin Gareus
c808deae46
Transfer Transport Clocks to Transport Bar 2024-11-10 23:27:33 +01:00
Ben Loftis
1cc8b8ae5b
TransportClocks can do some of their own housekeeping 2024-11-10 23:27:33 +01:00
Ben Loftis
bf3fc3f92a
Add Transport Clock widgets that reflect the canonical ones in ArdourUI 2024-11-10 23:27:33 +01:00
Robin Gareus
1641be9f7a
Transfer from ardour_ui (pack ARDOUR_UIs clocks) 2024-11-10 23:27:33 +01:00
Ben Loftis
efbb222277
Transfer from ardour_ui (follow, auto return) 2024-11-10 23:27:33 +01:00
Robin Gareus
723aa8461b
Transfer from ardour_ui (PDC controls) 2024-11-10 23:27:33 +01:00
Ben Loftis
97791de333
Transfer from ardour_ui (punch, rec-mode and labels) 2024-11-10 23:27:33 +01:00
Ben Loftis
7b75c6f8de
Transfer from ardour_ui (sync and shuttle) 2024-11-10 23:27:33 +01:00
Ben Loftis
1557e41f5e
Transfer from ardour_ui (transport_table) 2024-11-10 23:27:32 +01:00
Ben Loftis
b9d173c17a
Initial implementation of TransportBar 2024-11-10 23:27:32 +01:00
Robin Gareus
2066f7018d
ArdourButton: add option to expand buttons to be square 2024-11-10 23:27:30 +01:00
Paul Davis
0254e7e6b0 removed unused optimization iterator from GhostRegions 2024-11-10 13:45:13 -07:00
Paul Davis
cdf88efeff fix crash caused by VelocityDisplay _optimization_iterator
Never use the _optimization_iterator when looking for a note to update or select
because those two conditions may be preceded by note add/delete operations (including
those via undo/redo) which would make the iterator invalid.

The _optimization_iterator only makes sense when actually iterating over the event list,
which is ironic because that's the one time we don't need it
2024-11-10 12:44:05 -07:00
Paul Davis
96ef4d20f2 when recording MIDI, create active_notes on demand
Since the signal handler for "data recorded" is in the GUI thread, we can do
whatever we want there, including memory allocation
2024-11-09 09:20:25 -07:00
Paul Davis
a7bd0da8ea fix missing initialization 2024-11-09 09:19:01 -07:00
Paul Davis
a76afae0e9 use smaller ("very small") text for rulers on macOS
This fixes a years-long visual issue with the rulers on macOS, where the
text has been MUCH larger than on Linux (and maybe Windows, not sure)
2024-11-08 17:16:12 -07:00
Paul Davis
8196734e3f change references to what was "very small text" to "smaller text";
This is more consistent with the naming of the font size for the canvas
via wscript.

Also, provide the new "very small" font size.

Also, several styles defined in clearlooks.rc.in used spaces in
font names or derived styles instead of underscores, this fixes that.
2024-11-08 17:14:33 -07:00
Paul Davis
c08cfa8109 more work on multiple automation display 2024-11-08 12:16:09 -07:00
Robin Gareus
c8b2c0c543
Fix crash looking up smart-mode
we need to call
  get_toggle_action (char const*, char const, bool d = false)
and not
  get_toggle_action (const string& name, bool)

For whatever reason `(string, char*)` matches the latter
function's signature.
2024-11-08 19:15:46 +01:00
Paul Davis
bbdb6b0e63 more extensive automation display design for cue editor 2024-11-07 16:10:31 -07:00
Paul Davis
f8f6e5d2ab implement newly-required inclusion of <cassert> 2024-11-07 16:10:02 -07:00
Juan Vardy
f2fc5fc0dc
Update Spanish translation 2024-11-07 17:51:11 +01:00
Robin Gareus
efbc8b4390
Turn touchscreen debug prints into gdk-debug messages 2024-11-07 06:13:12 +01:00