13
0
Commit Graph

23925 Commits

Author SHA1 Message Date
0a40909655 Bundle Audio to MIDI Lua script 2017-02-18 02:25:28 +01:00
2c992c093f Allow to un-assign action-scripts via shift+right-click 2017-02-18 02:24:23 +01:00
c8d6ddfd10 Don't scroll-jump when selecting all tracks 2017-02-18 01:25:13 +01:00
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
4258bad19d VCA spill should not show hidden tracks 2017-02-18 00:09:52 +01:00
dcce5f0080 Allow to re-scan VST plugins after changing VST-paths 2017-02-17 23:30:30 +01:00
09bb0bf1e6 Add gcc suggested parentheses 2017-02-17 23:29:12 +01:00
b475a81f98 Update Lua action-icon doc 2017-02-17 23:28:53 +01:00
3bbb4b76f7 Add Lua API to convert Canvas::Color to Cairo RGBA 2017-02-17 23:28:03 +01:00
b4dd020139 ..and another action-button icon 2017-02-17 21:03:30 +01:00
b5b9e1d1e5 Fix button sizing for IconRenderCallback 2017-02-17 20:51:15 +01:00
144bfba2dd Example Lua action script icon 2017-02-17 18:58:11 +01:00
472f14c803 Allow Lua action scripts to provide a button icon 2017-02-17 18:58:11 +01:00
149634c2cf Allow to use any Lua function factory, produce bytecode 2017-02-17 18:58:11 +01:00
3b8348f009 Implement icon-render callback in ArdourButton 2017-02-17 18:58:11 +01:00
22d676c7b6 ptformat: Update lib to upstream 3b60276
bugfix: Empty out MIDI events per region

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2017-02-18 03:01:16 +11:00
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
cb0189845e ptformat: Update the lib to 9d0b64f (upstream ptformat)
Adds MIDI region import support and simplifies XOR decryption.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2017-02-17 15:36:02 +01:00
64eb3bc724 Refine faders-to-trim script 2017-02-17 11:19:15 +01:00
cded378e17 Mark session dirty when changing scripts 2017-02-17 11:17:54 +01:00
61d038637a Allow binding Lua Action Scripts via right-click 2017-02-17 11:15:14 +01:00
83c9bb20b7 Don't bundle rewind example script 2017-02-17 11:14:43 +01:00
b5dbfc9931 leave a ToDo note for the mackie surface 2017-02-17 04:02:15 +01:00
9d8829f5bf Remove direct calls to set solo_control()
Changing solo-state needs to be done in rt-context to atomically
propagate solo/mute.

set_control() queues a rt-event, later Session::rt_set_control() calls
Session::update_route_solo_state() to propagate solo/mute.
2017-02-17 03:58:51 +01:00
fef0739a10 Update solo/mute example script (use sessions' set_control(s) 2017-02-17 03:38:15 +01:00
c98116ad44 Add Lua bindings related to solo/mute and realtime control changes 2017-02-17 03:37:51 +01:00
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
d0e3eb42a6 Fix initial order-keys when creating tracks/busses
.. and leave some notes for the day when UI treemodel won't be canonical
to set order-keys.
2017-02-17 00:50:52 +01:00
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
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
2d0200209f Prevent "punch" and "mon" buttons from increasing toolbar height. 2017-02-16 20:49:18 +01:00
eba5f0d2e1 Better solution 213cc1d32 2017-02-16 16:08:33 +01:00
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
a31e70a7d5 check region action sensitivity from two more places that may alter it 2017-02-16 10:29:48 +01:00
4d05af8e71 improve logic for region action sensitivity settings 2017-02-16 10:29:48 +01:00
nick_m
461c0374a1 amend 32248b755b (legacy tempo map). 2017-02-16 09:06:07 +11:00
nick_m
858e44745b fix constrained region drags across tracks (7242). 2017-02-16 08:57:03 +11:00
d463720b6d simplify arguments to Editor::sensitize_the_right_region_actions() 2017-02-15 20:07:49 +01:00
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
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
2cc94f8880 tentative steps in trying to fix region action sensitivity 2017-02-15 20:07:49 +01:00
213cc1d320 Allow bundling suil/qt4,5 using system-wide QT 2017-02-15 19:42:51 +01:00
nick_m
32248b755b fix loading of 4.x sessions with a missing initial tempo section.
- behaviour should match that of 4.x (move the first tempo
	  to frame 0).
2017-02-16 04:58:45 +11:00
61ae00ed23 Example lua script to re-order/reverse plugins 2017-02-15 18:12:51 +01:00
1f4d16fe0f Add Lua bindings for plugin re-ordering 2017-02-15 18:12:28 +01:00
41c432ed3b Don't copy-construct MusicFrame, pass const reference. 2017-02-15 14:20:26 +01:00
nick_m
d9c7a2ad49 unconditionally set region quarter note in set_position().
- this fixes incorrect timing of new regions recorded
	  before the music origin.
2017-02-15 22:55:51 +11:00
03dc458645 Separate MSB/LSB MIDI Bank select 2017-02-14 23:53:23 +01:00
8eff36913c Save/restore location clock mode
- save mode separately for Editor-sidebar and Location Window
- cache mode (multiple calls to set_session())
- fix restore: after creating the editor, instant_save() is called,
  potentially overwriting the previous value.
2017-02-14 17:15:16 +01:00
cf66f894bb NO-OP: whitespace 2017-02-14 15:46:37 +01:00