13
0
Commit Graph

28820 Commits

Author SHA1 Message Date
ab7b5c6089 add safety tests inside ShuttleControl to deal with _session == 0 2019-12-14 09:58:53 -07:00
9743d75fc2 remove use of os_log() API from macOS
This enables building on earlier versions of that platform. It was only used for debugging anyway
2019-12-14 09:02:12 -07:00
b2071bd8ed
Use InlineControl Port Property
This replaces the special case of showing send-level controls
inline in the mixer-strip with a generic Controllable::InlineControl
property.
2019-12-14 15:51:09 +01:00
93180ceea9
Add Inline Control Port Property
This allows to indicate that a control should by default be displayed
inline in the mixer-strip.

Previously that was hard-coded for and enabled for send-level
controls only.
2019-12-14 15:50:56 +01:00
d4ad9e3486
Make BusSendLevel 1st class citizen (2/2) 2019-12-14 15:06:34 +01:00
d4e023e1cb
Make BusSendLevel 1st class citizen (1/2)
Equivalent to Gain and Trim (gain-coefficient, not dB) and use
it for Sends.
2019-12-14 15:06:23 +01:00
d2facbf9c1
DSPLoad report: allow to sort plugins by load 2019-12-14 11:44:28 +01:00
01a68cc2a6
Increase contrast of Plugin DSP load report bar colors 2019-12-14 10:50:11 +01:00
2efc96a9b8
Add Lua bindings to query AutomationControl paramater ranges 2019-12-13 23:05:15 +01:00
40d266fc0e
Amend 561cf86919 commit (toolbar sensitivity) 2019-12-13 23:03:34 +01:00
ff3cc400ac allow setting debug flags via an environment variable (ARDOUR_DEBUG_FLAGS) 2019-12-13 13:14:15 -07:00
f009f10894 fix up stderr and stdout on macOS to write to log files in ~/Library/Preferences/PROGRAM_NAME 2019-12-13 13:14:15 -07:00
561cf86919
Fix session sensitivity of some toolbar controls 2019-12-13 16:33:12 +01:00
cc9f941488
VKeybd: shrink height when hiding config pane 2019-12-13 16:04:34 +01:00
3ddfb4ffe3
Fix mismatched delete 2019-12-13 15:42:09 +01:00
5324587a80
Vkeybd: default to single-row QWERTY binding 2019-12-12 23:59:38 +01:00
c3a27fadae
NO-OP: some const correctness 2019-12-12 23:59:38 +01:00
f2170f0a2f
VKeybd: fix MacOS key-bindings 2019-12-12 23:59:37 +01:00
1b91615b2c fix startup FSM handling when pre-release dialog is shown AND cmdline session info is given 2019-12-12 13:33:11 -07:00
3437fec785 fix ASL logging/stdout+stderr when running from terminal in macOS 2019-12-12 13:33:11 -07:00
5f6b2d6843
Allow to bind initial Lua action via left-click 2019-12-12 20:53:18 +01:00
d226b63e70
Pre-seed Lua action-buttons 2019-12-12 20:53:17 +01:00
3208535c20
Add method to look up Lua script by name 2019-12-12 20:53:17 +01:00
bf8c256771 reduce another race condition risk
overwrite_queued == true is equivalent to _pending_overwrite != 0
2019-12-12 12:09:15 -07:00
0b0c415b40 remove debug output 2019-12-12 12:08:48 -07:00
3c8b506ace remove useless lock
rbuf allocation/use is protected by process_lock
2019-12-12 11:31:43 -07:00
35bea337d2 fix playback of newly added/modified MIDI data 2019-12-12 11:25:14 -07:00
de8983ca72 expand DEBUG_TRACE() statement 2019-12-12 11:25:14 -07:00
f171e88775
BOOST_SP_NOEXCEPT is n/a in boost 1.62
Even though the method that is overridden (shared_ptr<t>::operator=),
has that signature in modern boost, it's of no real significance
for the case at hand (ExportChannel, ExportTimespan)
2019-12-12 16:06:46 +01:00
87f4a4afff use process lock to lock out process() during playback buffer resizing 2019-12-11 20:36:10 -07:00
f78c659840 remove MIDI readahead parameter
We just don't do this anymore
2019-12-11 20:36:10 -07:00
e8b3d38112 variable renaming in Butler for various buffer sizes 2019-12-11 20:36:10 -07:00
dc0037230e
Fix stackoverflow, endless recursion on ComparableSharedPtr assignment
boost::shared_ptr & operator=(shared_ptr const & r);
is not declared virtual and cannot safely be overloaded.
2019-12-12 03:57:58 +01:00
a92dddda25
Fix automation dropdown menu-item active state
Extra XML/GUI has not been in use since ages.
Automation Lane visibility is saved as GUIObjectState.

This properly marks DropDown Menu items as active when a
Plugin Automation Lane is displayed
2019-12-12 03:02:48 +01:00
ff7fe6d4d6 when loading a session into a running instance, if the SR doesn't match the engine, stop engine and show dialog 2019-12-11 14:53:00 -07:00
debcb22697 NOOP: line merge 2019-12-11 14:53:00 -07:00
0a5837ec71
Fix loading plugin state from sessions
While loading a session XML state, set_state must use
`Stateful::loading_state_version`.

When later copying processor state,
`Stateful::current_state_version` is correct.
2019-12-11 16:25:08 +01:00
dd18be15fb
Remove hardcoded session-state versions 2019-12-11 13:56:44 +01:00
3dafaaf2df should probably resolve MIDI notes when loop bounds change
We don't really need to do this if the bounds have moved "outwards", but
at present we don't know if that is the case, so be safe and resolve in
case the loop bounds moved "inwards" and we would otherwise get stuck notes
caused by the now-missing noteOffs
2019-12-10 21:27:10 -07:00
e46c45f6f0 fix unnecssary disruption of MIDI stream when disabling loop 2019-12-10 19:30:37 -07:00
a660ab2584 Monitor Section: Add a spacer so the topmost buttons are not visually grouped with buttons in the editor toolbar. 2019-12-10 14:35:03 -06:00
50d118f8b1 Source List nomenclature: Whole files get imported to the SOURCE list. 2019-12-10 14:10:32 -06:00
963f2a470a use PlayistChanged appropriately to fix MIDI output
We didn't render the MIDI data when a playlist was set, only when modified.
2019-12-10 12:22:05 -07:00
af2d0dfb15 use bitmask values for OverwriteReason, as was intended 2019-12-10 12:21:28 -07:00
c3e3930f14 revert to single buffer for disk playback, and 5.x-style overwrite
Also address issues with MIDI and also atomicity of _pending_overwrite
2019-12-10 09:29:22 -07:00
7457fd2e27 Autostart must {try to} use the session sample-rate. There is no ambiguity here. 2019-12-09 16:49:15 -06:00
941aa20148 Fix font size on Push2
At least on my machine, the fonts on the Push display were ridiculously large,
making everything overlapping and unusable.  I suspect this is because
pango_cairo_font_map_get_default() inherits DPI from the system, so the
monitor scaling factor got applied to the Push display as well.

This commit instead creates a new plain font map, and sets the resolution to
96, which looks like what the UI was designed for.  Some more tweaking of the
Pango context might make things more optimal on the Push, but just setting the
resolution makes things look reasonable to me anyway.
2019-12-09 23:38:10 +01:00
3c3b4b9a15 Suppress warnings in Gtk headers 2019-12-09 23:27:04 +01:00
8ec3e5fb54 Fix deprecated-copy warnings
It's long been a guideline (and IIRC a Weff-c++ warning) that either all, or
none, of the copy methods should be defined, but this became a standard warning
in GCC9.  Presumably to account for a later language change though I'm not sure
which.

I don't remember why the ChanMapping copy constructor can't just be a simple
copy (it's just a map of POD), but figure it's safer to just copy what that
does.
2019-12-09 23:25:59 +01:00
39bdde4250 Use labs() for long instead of abs() 2019-12-09 23:25:51 +01:00