Commit graph

41602 commits

Author SHA1 Message Date
Robin Gareus
2bf4fd1796
Don't show empty GUI if instrument plugin has no custom view 2025-11-13 00:35:06 +01:00
Robin Gareus
aae94e859f
Add preference to opt-out of auto showing instrument plugin GUIs 2025-11-13 00:07:39 +01:00
Paul Davis
143bca4a6d SessionDialog: move NEW button to the bottom
This creates a default focus chain that allows easy access to all 3
buttons before traversing other focusable widgets in the dialog
2025-11-12 16:02:12 -07:00
Paul Davis
bbf2920f7f SessionDialog: associate actions with buttons
This allows SPACE to activate the button
2025-11-12 15:41:01 -07:00
Paul Davis
e7f0234c38 SessionDialog: create actions 2025-11-12 15:38:30 -07:00
Paul Davis
2301f7c55a SessionDialog: add methods that can be used in Actions for new/recent/open 2025-11-12 15:25:29 -07:00
Paul Davis
39d069a6a2 session dialog buttons can focus, to allow tab navigation 2025-11-12 15:01:05 -07:00
Paul Davis
e97d1d3d3f (maybe) fix MIDI consolidation issues
Stay in BeatTime, not audio time.
2025-11-12 14:24:21 -07:00
Paul Davis
5d08e01b10 show instrument plugin GUIs when new tracks/busses with instruments are added
If multiple tracks are added, we only show the GUI for the first one
2025-11-12 12:31:34 -07:00
Paul Davis
d479ca55d6 a single auto-fication 2025-11-12 12:31:34 -07:00
Paul Davis
f895bc2cd9 new Session signal to indicate that instrument tracks/busses were added and are configured
Existing code sent RouteAdded() before the instrument plugin(s) were added. Rather than risk changing code
ordering, just emit a 2nd signal to notify (the GUI) that new instrument tracks/busses were added
2025-11-12 12:31:34 -07:00
Paul Davis
c469c33bc4 auto-ify libs/ardour/route.cc iterating over processors
Because there's nothing else to do on a Wednesday morning
2025-11-12 12:31:34 -07:00
Robin Gareus
d088e9c17c
Remove gtk2-ardour eyedropper special case 2025-11-12 14:57:58 +01:00
Robin Gareus
a7e557ad65
Hide colorpicker eyedropper on platforms where it does not work 2025-11-12 14:57:53 +01:00
Robin Gareus
224e5ec163
When Ardour is running, there is at least 1 CPU core available 2025-11-12 02:22:26 +01:00
Robin Gareus
ac0bbfb481
Fix class/struct mismatch 2025-11-12 02:22:23 +01:00
Paul Davis
e50032ecb5 for debug builds, show stacktrace for TempoMap::fetch_condition() failure 2025-11-11 14:35:55 -07:00
Paul Davis
de151f2e8e auto-fication 2025-11-11 13:02:25 -07:00
Paul Davis
f932e4bf15 UndoTransaction: do not delete a Command when handling its DropReferences signal 2025-11-11 13:01:50 -07:00
Paul Davis
decb945300 simpler assert 2025-11-11 13:01:50 -07:00
Paul Davis
751dea75d3 use drop_and_kill() when connecting Commands to their dependents 2025-11-11 13:01:50 -07:00
Paul Davis
210f58ddb7 add Destructible::drop_and_kill()
This should be used when a Destructible-derived object needs to be
deleted. Handlers of the DropReferences signal should not responsible for
deleting the Destructible, since that would happen in the middle of signal
emission.

Instead, emit the DropReferences signal, then delete the Destructible.
2025-11-11 13:01:50 -07:00
Paul Davis
a1d5294af5 use nullptr not zero 2025-11-11 13:01:50 -07:00
Robin Gareus
99aab0179d
Revert "We still need libregex for libardour (for now)"
This reverts commit e7d407d6e3.
2025-11-11 19:04:35 +01:00
Robin Gareus
f6a2ee0103
Prefer std::regex, and modern C++ string search 2025-11-11 19:04:16 +01:00
Robin Gareus
7eb92253c6
The return of the visilble scrollbar slider 2025-11-11 17:10:33 +01:00
Robin Gareus
8085627173
Add a FIXME note (MClk when vari-speeding from stop) 2025-11-11 01:59:37 +01:00
Robin Gareus
04d3206976
Fix shuttle background color 2025-11-11 01:59:03 +01:00
Robin Gareus
d8ea090902
Add preference to configure VST3 Knob mode 2025-11-11 01:34:34 +01:00
Robin Gareus
6d53b42022
Add enum to configure VST3 knob mode 2025-11-11 01:04:24 +01:00
Robin Gareus
0b9b4ff6b9
Don't list foldback busses in editor and triggerbase "Tracks" list
There ought to be no timeline dependence for those and they
there is no FoldbackTimeAxis to begin with.
2025-11-10 21:18:31 +01:00
Robin Gareus
e7d407d6e3
We still need libregex for libardour (for now)
see b3e4deb32f.
2025-11-10 20:21:00 +01:00
Robin Gareus
599d02bd2e
Amend previous commit, fix diff 2025-11-10 20:12:53 +01:00
Robin Gareus
8929147566
Another partial revert of 4998b114ea, fix mingw builds 2025-11-10 20:04:11 +01:00
Robin Gareus
57fc904004
Undo changes from 4998b114e that break existing MSVC build
This defines should be in common header file and wrapped
in an #ifndef clause
2025-11-10 16:00:48 +01:00
Robin Gareus
7a5558af65
Properly forward MutePointChanged to mutable
The GUI only subscribes to the mutable's mute_points_changed
signal, without direct access to to the MuteMaster itself.

Previously changing mute points by means other than the GUI,
did not update existing context menus in the mixer GUI.
2025-11-10 00:42:17 +01:00
Robin Gareus
b3e4deb32f
Prefer std::regex over C regex_t 2025-11-09 21:27:26 +01:00
Robin Gareus
bf154d0239
AmEND 2025-11-09 20:55:42 +01:00
Robin Gareus
4998b114ea
First batch of change of waf/MSVC specific changes from EZ4Stephen 2025-11-09 20:51:56 +01:00
Robin Gareus
e29523ab52
Update YTK unistd.h checks 2025-11-09 20:51:51 +01:00
Robin Gareus
1ee5a68d76
Use consistent defines for header availability 2025-11-09 20:51:36 +01:00
Robin Gareus
83d44860e0
Set some more waf MSVC flags 2025-11-09 16:36:28 +01:00
Robin Gareus
289f7b10d2
Remove cycle based storing timer, prefer TimerRAII
..besides with dummy backend one can measure performance
on instruction level granularity with valgrind.
2025-11-09 16:32:24 +01:00
Robin Gareus
b3bf623c4b
Remove unused cycle timer from plugins
These days performance is measured on PluginInsert level
using more elaborate PBD::TimingStats
2025-11-09 16:24:17 +01:00
Robin Gareus
0fd67d36d9
Fix adding C++ class instances to Lua STL containers
This is because Userdata::getClass() doesn't handle
negative stack indexes. It worked fine for Lua built-in types.
2025-11-09 03:48:39 +01:00
Paul Davis
d9af50449d play transposed notes/chords (if requested) 2025-11-07 09:47:39 -07:00
Robin Gareus
9e1e8fd1e0
New set of favorite/star icons from prokoudine 2025-11-07 02:27:10 +01:00
Robin Gareus
767ae0656d
Fix Favorite column flicker on plugin-select 2025-11-07 02:19:00 +01:00
Robin Gareus
4d0fa60d47
Use "star" icon to indicate favorite plugin in plugin-selector 2025-11-07 02:12:31 +01:00
Paul Davis
26ada8eb7d hide (and do not create user-chosen MIDI automation buttons from bottom of Pianoroll 2025-11-06 16:48:46 -07:00