Paul Davis
e00d35f1e8
Revert "ARDOUR_UI transport buttons should use ArdourButton::set_related_action()."
...
This reverts commit 35f35ad662 .
This commit was a mistake: the controllables are needed to allow MIDI binding
to transport buttons.
2017-02-21 15:49:31 +01:00
Robin Gareus
9de5c61b9e
better solution of 3c25d26e9
2017-02-21 12:25:57 +01:00
Robin Gareus
3c25d26e91
Fix potential crash at exit/close.
...
~DisplaySuspender's PresentationInfo::unsuspend_change_signal
can try to update Stripable PresentationInfo for a session that's
no longer present.
2017-02-21 01:35:18 +01:00
Robin Gareus
c56635e71c
Group-Tabs keyboard shortcuts
...
* The return of the ctrl+right-click (edit)
* and consistent shift+right click (remove)
2017-02-21 00:11:38 +01:00
Robin Gareus
b409a27f4b
fix typo in prev commit
2017-02-21 00:07:47 +01:00
Robin Gareus
13cce8957c
MB: prefs are detached initially
2017-02-20 22:55:46 +01:00
Robin Gareus
15eb6f716d
fix thinko in prev commit
2017-02-20 21:52:13 +01:00
Robin Gareus
4ece934e66
Fix iterator off-by-one: Allow to move top-most track. via ctrl up/down
2017-02-20 21:37:50 +01:00
Robin Gareus
3a50975c3d
First-time startup logic update.
...
When *not* copying old config, Ardour should display the "first time"
dialog.
2017-02-20 20:47:57 +01:00
Robin Gareus
5f5bdca15b
Consistent VCA naming (Ardour/Mixbus)
2017-02-20 16:50:42 +01:00
Robin Gareus
6df23c4e65
consolidate Ardour+Mixbus code, fix duplicate SeparatorElem in MB.
2017-02-20 16:35:55 +01:00
Paul Davis
8876955762
use "VCA" rather than "Control Master" in the GUI
2017-02-20 15:40:24 +01:00
Paul Davis
006a4c0373
ensure that when mixer is shown in its own tab, it has a default focus widget, so that alt-m will always work
2017-02-20 13:58:54 +01:00
Robin Gareus
0aa631b6af
Increase default size of script-editor pane
2017-02-20 03:57:53 +01:00
Robin Gareus
2157cd0e94
Lua binding for pango_cairo_layout_path (text outlines)
2017-02-20 03:56:32 +01:00
Paul Davis
542b789a42
probable fix for crash while dragging playhead
2017-02-19 19:44:37 +01:00
Robin Gareus
94ec54a3c4
Consistent dialog title (match "Show Protocol Settings" button)
2017-02-19 17:14:59 +01:00
Robin Gareus
05149f9bc5
Connect Script Manager "Edit" -> Lua Scripting Window
2017-02-19 01:29:08 +01:00
Robin Gareus
ceb7884380
Build-in some doc (script types)
...
This should probably be optional, but there's space in the dialog.
2017-02-19 01:29:08 +01:00
Robin Gareus
b15bebd3c0
Remove unused ArdourUI code to add/remove Lua Session Scripts.
2017-02-19 01:29:08 +01:00
Robin Gareus
356a422531
Update menu for Lua
...
- remove "Session > Scripting" entry point
- change ActionScripts to LuaScripts (all of them sans DSP)
2017-02-19 01:29:08 +01:00
Robin Gareus
a732c7c9fa
Allow to un/load Lua Session Scripts in the Script Manager
2017-02-19 01:29:08 +01:00
nick_m
b066ad3164
fix missing command in Editor::snap_regions_to_grid ()
...
- fixes 7246
2017-02-19 07:13:26 +11:00
Robin Gareus
695554ab9b
re-layout script-selector (only grow description vertically)
2017-02-18 19:01:00 +01:00
Robin Gareus
92e203a19e
Consolidate ActionChanged callbacks, add tooltips
2017-02-18 16:14:41 +01:00
Robin Gareus
2d50871034
Remove LuaCairo.color_to_rgba (now Ardour.LuaAPI.color_to_rgba)
2017-02-18 16:13:49 +01:00
Robin Gareus
2c992c093f
Allow to un-assign action-scripts via shift+right-click
2017-02-18 02:24:23 +01:00
Robin Gareus
c8d6ddfd10
Don't scroll-jump when selecting all tracks
2017-02-18 01:25:13 +01:00
Robin Gareus
85e3d2158e
Prevent direct and indirect selection of VCAs
...
the ::selection_filter() does not cover select-all and various other
indirect selection operations.
2017-02-18 00:45:37 +01:00
Robin Gareus
4258bad19d
VCA spill should not show hidden tracks
2017-02-18 00:09:52 +01:00
Robin Gareus
dcce5f0080
Allow to re-scan VST plugins after changing VST-paths
2017-02-17 23:30:30 +01:00
Robin Gareus
09bb0bf1e6
Add gcc suggested parentheses
2017-02-17 23:29:12 +01:00
Robin Gareus
3bbb4b76f7
Add Lua API to convert Canvas::Color to Cairo RGBA
2017-02-17 23:28:03 +01:00
Robin Gareus
b5b9e1d1e5
Fix button sizing for IconRenderCallback
2017-02-17 20:51:15 +01:00
Robin Gareus
472f14c803
Allow Lua action scripts to provide a button icon
2017-02-17 18:58:11 +01:00
Robin Gareus
3b8348f009
Implement icon-render callback in ArdourButton
2017-02-17 18:58:11 +01:00
Damien Zammit
4f4400b764
PT import: Add MIDI import functionality
...
This change adds support for importing all MIDI regions
from a PT session onto a single track.
Unfortunately, currently we don't know how to set the start
offset of MIDI regions reliably, therefore all midi regions
get dumped at the beginning of the Ardour session.
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2017-02-17 15:36:02 +01:00
Robin Gareus
cded378e17
Mark session dirty when changing scripts
2017-02-17 11:17:54 +01:00
Robin Gareus
61d038637a
Allow binding Lua Action Scripts via right-click
2017-02-17 11:15:14 +01:00
Robin Gareus
3864f2c32c
Version keybindings file.
...
Allow to run both Ardour 5.5 and later (changed bindings name)
with the same config folder.
Like with .color files, custom .keys files won't be taken into account
when updating to a new version.
This is mostly a stopgap solution. Eventually we'll have to come up with a
merge&prune mechanism for bindings or maintain a separate version for
these files. Hopefully some better idea will come up...
2017-02-17 00:59:48 +01:00
Robin Gareus
91cee14ca6
Fix route ordering (mixer TV lacks master-bus)
...
Skip master bus' order-key when re-ordering routes in the mixer.
This also fixes a related issue:
When a new track is added, Session::RouteAdded will call be handled by
Editor::add_routes AND Mixer_UI::add_routes, leading to calls to both:
- EditorRoutes::sync_presentation_info_from_treeview()
- Mixer_UI::sync_presentation_info_from_treeview ()
which potentially set different order-keys.
2017-02-17 00:44:02 +01:00
Ben Loftis
d2b823b3c5
Toolbar spacing: Add back one pixel of vertical padding, and preserve it regardless of which button sections are hidden.
2017-02-16 14:37:56 -06:00
Robin Gareus
2d0200209f
Prevent "punch" and "mon" buttons from increasing toolbar height.
2017-02-16 20:49:18 +01:00
Robin Gareus
9c10fc5b5c
Properly update main window-title.
...
This fixes an issue with Session > Snapshot & switch, not updating
the widow title to the new snapshot (and probably some other edge cases
where it was possible for a detached editor and main window to
have different titles).
The main UI now updates the window-title like the Editor on StateSaved.
(it may lead to dup updates with DirtyChanged, c'est la vie)
2017-02-16 16:07:59 +01:00
Paul Davis
a31e70a7d5
check region action sensitivity from two more places that may alter it
2017-02-16 10:29:48 +01:00
Paul Davis
4d05af8e71
improve logic for region action sensitivity settings
2017-02-16 10:29:48 +01:00
nick_m
858e44745b
fix constrained region drags across tracks (7242).
2017-02-16 08:57:03 +11:00
Paul Davis
d463720b6d
simplify arguments to Editor::sensitize_the_right_region_actions()
2017-02-15 20:07:49 +01:00
Paul Davis
3d3f2a79f6
use leave/enter from track canvas to be the primary driver of region action sensitivity
...
This works for context menus also, because GTK sends us leave/enter notify
events when they appear.
2017-02-15 20:07:49 +01:00
Paul Davis
0a41daa932
classify all region actions based on how they get a list of regions to operate on; use this in Editor::sensitize_the_right_region_actions()
...
There are still problems because actions like trim_front()
that use the edit point get the edit point with different
results than the code that sensitizes actions
2017-02-15 20:07:49 +01:00