ardour.git
7 years agocomplete changes to tempo type.
nick_m [Sat, 25 Feb 2017 15:22:19 +0000 (02:22 +1100)]
complete changes to tempo type.

- this implements in the intention behind the previous commit.
  a tempo mark is constant until its end has been changed by a
  shift-drag on the next marker.

7 years agocompile fix
Ben Loftis [Sat, 25 Feb 2017 13:04:15 +0000 (07:04 -0600)]
compile fix

7 years agomake new (ramped) tempi indidstiguishable from constant to the novice user.
nick_m [Sat, 25 Feb 2017 12:32:02 +0000 (23:32 +1100)]
make new (ramped) tempi indidstiguishable from constant to the novice user.

- stretch drag (using shift on the curve) operates on
  the true meaning of constant. in other words,
  the only way you can make a tempo ramped is by adjusting the end
  tempo (shift drag on the *next* mark). from this point onwards.
  shift-drag the curve will change the start tempo and ctrl-drag
  the curve will change the end (needs work). to reset the
  curve to constant, 'make constant' should simply set the end
  tempo (unimplemented).

7 years agocorrect (?) behaviour of TempoMap::replace_tempo
nick_m [Fri, 24 Feb 2017 19:59:05 +0000 (06:59 +1100)]
correct (?) behaviour of TempoMap::replace_tempo

7 years agorework tempo editing.
nick_m [Fri, 24 Feb 2017 18:09:16 +0000 (05:09 +1100)]
rework tempo editing.

most changes are due to a new design where tempo discontinuities at the
beginning of a ramped section may be set.
this allows easier mapping of live performance, especially in
the common case of a ramped ritard before the beginning of a new section.

feature summary:

holding constraint modifier (shift) while dragging the BBT ruler area
drags the tempo lines by changing the start tempo (as before)

holding copy modifier (control) while dragging the BBT ruler area
drags the tempo lines by changing the end tempo (ahem. not quite there)

dragging a tempo mark while holding constraint (shift) will change the
previous end tempo to match the marker position *worth trying*.

holding constraint and copy modifier (control + shift) while dragging
the BBT ruler area attempts to'pinch' or twist the surrounding tempi
sp that later ones are not repositioned (currently suffereng from
rounding errors)

7 years agoDe-cramp the transcoding dialog widgets.
Ben Loftis [Mon, 27 Feb 2017 15:49:00 +0000 (09:49 -0600)]
De-cramp the transcoding dialog widgets.

7 years agofix crash caused by trying to connect monitor section before it has ports. 5.8
Paul Davis [Mon, 27 Feb 2017 15:40:53 +0000 (16:40 +0100)]
fix crash caused by trying to connect monitor section before it has ports.

This does not fix the ordering issues caused by things happening
before the monitor section gaining ports

7 years agofix crash caused by thinko in 123fcf3cf
Paul Davis [Mon, 27 Feb 2017 15:39:22 +0000 (16:39 +0100)]
fix crash caused by thinko in 123fcf3cf

7 years agoConsistent naming of installers: Name + Version [+Variant] + Arch 5.7
Robin Gareus [Sun, 26 Feb 2017 18:04:47 +0000 (19:04 +0100)]
Consistent naming of installers: Name + Version [+Variant] + Arch

7 years agomake sure that when extending the selection in the editor and mixer, the clicked...
Paul Davis [Sun, 26 Feb 2017 17:22:39 +0000 (18:22 +0100)]
make sure that when extending the selection in the editor and mixer, the clicked-upon track gets set_selected() called last

This makes it be the "first" selected strip for control surfaces and the editor mixer

7 years agoremove method no longer needed
Paul Davis [Sun, 26 Feb 2017 17:21:48 +0000 (18:21 +0100)]
remove method no longer needed

Editor::track_selection_changed() is now invoked by EditorRoutes::sync_treeview_from_presentation_info(),
AFTER the Selection has been updated

7 years agomake Selection::set (TrackViewList*) more efficient and emit less PI::Change signals
Paul Davis [Sun, 26 Feb 2017 17:19:50 +0000 (18:19 +0100)]
make Selection::set (TrackViewList*) more efficient and emit less PI::Change signals

7 years agoavoid doing needless duplicate work in Selection::add (TimeAxisView*)
Paul Davis [Sun, 26 Feb 2017 17:19:00 +0000 (18:19 +0100)]
avoid doing needless duplicate work in Selection::add (TimeAxisView*)

7 years agoselected Stripables now have a counter to indicate the order they were selected in
Paul Davis [Sun, 26 Feb 2017 17:17:50 +0000 (18:17 +0100)]
selected Stripables now have a counter to indicate the order they were selected in

7 years agoupcoming codenames
Robin Gareus [Sun, 26 Feb 2017 14:35:40 +0000 (15:35 +0100)]
upcoming codenames

7 years agoFix yet another oversight for the windows icon file update
Robin Gareus [Sun, 26 Feb 2017 13:39:48 +0000 (14:39 +0100)]
Fix yet another oversight for the windows icon file update

7 years agoFix windows builds, rename icons following 4e96285ba5
Robin Gareus [Sun, 26 Feb 2017 13:25:55 +0000 (14:25 +0100)]
Fix windows builds, rename icons following 4e96285ba5

7 years agoWindows installer: use upper-case for program-name
Robin Gareus [Sat, 25 Feb 2017 19:03:03 +0000 (20:03 +0100)]
Windows installer: use upper-case for program-name

7 years agoDon't use upper-case in options (only headings)
Robin Gareus [Sat, 25 Feb 2017 19:02:32 +0000 (20:02 +0100)]
Don't use upper-case in options (only headings)

7 years agoRevert "libs: debug output for faderport/editor mixer strip sync"
Paul Davis [Sat, 25 Feb 2017 18:56:51 +0000 (19:56 +0100)]
Revert "libs: debug output for faderport/editor mixer strip sync"

This reverts commit 6fb91b1ac25bbeb282228822efbdc91b62941f6e.

7 years agofix potential crash bug in RouteProcessorSelection
Paul Davis [Sat, 25 Feb 2017 18:55:22 +0000 (19:55 +0100)]
fix potential crash bug in RouteProcessorSelection

7 years agoprevent double-emission of PresentationInfo::Change when making mixer-view selection...
Paul Davis [Sat, 25 Feb 2017 18:54:58 +0000 (19:54 +0100)]
prevent double-emission of PresentationInfo::Change when making mixer-view selection set changes

7 years agoAdd some missing luabridge::ClassInfo<>::getClassKey() - fix windows builds
Robin Gareus [Sat, 25 Feb 2017 17:38:11 +0000 (18:38 +0100)]
Add some missing  luabridge::ClassInfo<>::getClassKey() - fix windows builds

7 years agoOSC: correct busses spelling in GUI
Len Ovens [Sat, 25 Feb 2017 16:49:18 +0000 (08:49 -0800)]
OSC: correct busses spelling in GUI

7 years agoTweak preferences text
Robin Gareus [Sat, 25 Feb 2017 16:43:51 +0000 (17:43 +0100)]
Tweak preferences text

7 years agoTweak metering prefs: clarify default type behavior
Robin Gareus [Sat, 25 Feb 2017 03:45:41 +0000 (04:45 +0100)]
Tweak metering prefs: clarify default type behavior

7 years agoNO-OP, re-arrange code
Robin Gareus [Sat, 25 Feb 2017 03:44:42 +0000 (04:44 +0100)]
NO-OP, re-arrange code

7 years agoSnap-back fader on release (follow-up to e8cebac6a36a)
Robin Gareus [Fri, 24 Feb 2017 22:55:16 +0000 (23:55 +0100)]
Snap-back fader on release (follow-up to e8cebac6a36a)

When dragging a fader out-of-bounds (VCA slave constraint), move it back
on release.

7 years agoAdd some Lua-script icon.
Robin Gareus [Fri, 24 Feb 2017 22:40:30 +0000 (23:40 +0100)]
Add some Lua-script icon.

7 years agoGroup-override for faders
Robin Gareus [Fri, 24 Feb 2017 22:40:13 +0000 (23:40 +0100)]
Group-override for faders

Tentative solution. Eventually the gain_adjustment should be moved
into the PixFader or SliderController and a dedicated API
should replace  gain_adjustment.signal_value_changed()

7 years agoAllow to switch master-meter type in the toolbar-meter
Robin Gareus [Fri, 24 Feb 2017 22:37:23 +0000 (23:37 +0100)]
Allow to switch master-meter type in the toolbar-meter

7 years agoNO-OP resolve an ambiguity, just because.
Robin Gareus [Fri, 24 Feb 2017 22:35:26 +0000 (23:35 +0100)]
NO-OP resolve an ambiguity, just because.

Due to  LevelMeterVBox : public LevelMeterBase, public Gtk::VBox;

LevelMeterBase::get_type() overloads Gtk::Widget::get_type(),
Glib::Object::get_type(), Atk::Implementor::get_type() etc..

Besides Ardour-style prefers not to use  get_...()

7 years agogui: debug output for faderport/editor mixer strip sync
Paul Davis [Fri, 24 Feb 2017 22:10:09 +0000 (23:10 +0100)]
gui: debug output for faderport/editor mixer strip sync

7 years agolibs: debug output for faderport/editor mixer strip sync
Paul Davis [Fri, 24 Feb 2017 22:10:03 +0000 (23:10 +0100)]
libs: debug output for faderport/editor mixer strip sync

7 years agotry to make sure faderport shows the same strip as the editor mixer strip
Paul Davis [Fri, 24 Feb 2017 21:53:30 +0000 (22:53 +0100)]
try to make sure faderport shows the same strip as the editor mixer strip

7 years agono-op: move method order in file
Paul Davis [Fri, 24 Feb 2017 11:03:38 +0000 (12:03 +0100)]
no-op: move method order in file

7 years agoadd a missing class-key
Robin Gareus [Fri, 24 Feb 2017 16:52:56 +0000 (17:52 +0100)]
add a missing class-key

7 years agoSave Lua script file origin (for later updates) -- GUI+Session plugin
Robin Gareus [Fri, 24 Feb 2017 15:08:46 +0000 (16:08 +0100)]
Save Lua script file origin (for later updates) -- GUI+Session plugin

7 years agoSave Lua script origin (for later updates) -- DSP plugin
Robin Gareus [Fri, 24 Feb 2017 13:11:56 +0000 (14:11 +0100)]
Save Lua script origin (for later updates) -- DSP plugin

7 years agoAdd static class-keys for windows
Robin Gareus [Fri, 24 Feb 2017 12:44:41 +0000 (13:44 +0100)]
Add static class-keys for windows

7 years agoadd an example script to show/hide TAVs
Robin Gareus [Fri, 24 Feb 2017 12:42:54 +0000 (13:42 +0100)]
add an example script to show/hide TAVs

7 years agoAdd some convenient public editor methods (for lua-bindings)
Robin Gareus [Fri, 24 Feb 2017 12:03:24 +0000 (13:03 +0100)]
Add some convenient public editor methods (for lua-bindings)

and s/get// in the old API for consistency.

7 years agothe daily dose of const'ness
Robin Gareus [Fri, 24 Feb 2017 11:59:07 +0000 (12:59 +0100)]
the daily dose of const'ness

7 years agore-order inheritance
Robin Gareus [Fri, 24 Feb 2017 11:53:49 +0000 (12:53 +0100)]
re-order inheritance

LuaBridge only allows one parent class, others need explicit casts.
Allowing RoutUI to be passed as Selectable argument is handy.

7 years agoremove misleading/incorrect comment
Paul Davis [Fri, 24 Feb 2017 09:18:57 +0000 (10:18 +0100)]
remove misleading/incorrect comment

The previously-commented code is precisely what gets invoked
when solo state changes, and had nothing to do with actually
changing solo state in any way.

7 years agoOSC: remove invalid feedback for solo and pan az.
Len Ovens [Thu, 23 Feb 2017 23:45:28 +0000 (15:45 -0800)]
OSC: remove invalid feedback for solo and pan az.

7 years agofix solo + mute controls when slaved
Paul Davis [Thu, 23 Feb 2017 21:53:50 +0000 (22:53 +0100)]
fix solo + mute controls when slaved

clamp/scale by masters only applies to non-boolean controls

7 years agoAdd static Class-Keys for Windows build
Robin Gareus [Thu, 23 Feb 2017 21:31:50 +0000 (22:31 +0100)]
Add static Class-Keys for Windows build

7 years agoLua bindings to access editor selection + region selection bindings
Robin Gareus [Thu, 23 Feb 2017 21:31:03 +0000 (22:31 +0100)]
Lua bindings to access editor selection + region selection bindings

7 years agoLuaBridge: Dedicated type for pointer-lists and const version
Robin Gareus [Thu, 23 Feb 2017 21:21:08 +0000 (22:21 +0100)]
LuaBridge: Dedicated type for pointer-lists and const version

"class C*" cannot be defined nor resolved, so STL containers
to class instance pointers need to be special-cased.

7 years agoluaBridge support const references to class-instance pointers
Robin Gareus [Thu, 23 Feb 2017 21:19:19 +0000 (22:19 +0100)]
luaBridge support const references to class-instance pointers

Support passing "T*" as as "const T* &"  argument
e.g. std::list<T*>::push_back ( const T* & )

7 years agoConstrain VCA slave value to controllable range
Robin Gareus [Thu, 23 Feb 2017 17:33:10 +0000 (18:33 +0100)]
Constrain VCA slave value to controllable range

This prevents overshoot e.g. when writing automation (and related oddities)

7 years agoremove explicit line-break (rely on wrap)
Robin Gareus [Thu, 23 Feb 2017 16:40:33 +0000 (17:40 +0100)]
remove explicit line-break (rely on wrap)

7 years agoDo not bundle default system_config (prefer built-in defaults)
Robin Gareus [Thu, 23 Feb 2017 15:23:10 +0000 (16:23 +0100)]
Do not bundle default system_config (prefer built-in defaults)

Inside the bundle, those files are read-only, anyway.
This alleviates us from generating/updating the files with whenever
the built-in default changes and also makes architecture dependent
default-config (compile time #defines) work.

7 years agoClarify prefs
Robin Gareus [Thu, 23 Feb 2017 14:54:30 +0000 (15:54 +0100)]
Clarify prefs

7 years agoalso fix flying percussive hits while copy-dragging.
nick_m [Thu, 23 Feb 2017 14:11:56 +0000 (01:11 +1100)]
also fix flying percussive hits while copy-dragging.

7 years agohotfix for flying percussive hits while dragging.
nick_m [Thu, 23 Feb 2017 13:36:58 +0000 (00:36 +1100)]
hotfix for flying percussive hits while dragging.

- Hit::position still may not be set correctly,
  but this patch eliminates the error for now.

7 years agoUpdate lua-script to use new playlist-API
Robin Gareus [Thu, 23 Feb 2017 02:22:13 +0000 (03:22 +0100)]
Update lua-script to use new playlist-API

7 years agoMove Select-All-Tracks into the Selection category. Currently used only when printing...
Ben Loftis [Wed, 22 Feb 2017 16:29:37 +0000 (10:29 -0600)]
Move Select-All-Tracks into the Selection category. Currently used only when printing keybindings.  But we should also use this for categorizing the keybindings dialog IMHO.

7 years agofix deadlock when assigning a VCA master
Paul Davis [Wed, 22 Feb 2017 17:27:07 +0000 (18:27 +0100)]
fix deadlock when assigning a VCA master

7 years agoUpdate processor Lua bindings
Robin Gareus [Wed, 22 Feb 2017 14:24:33 +0000 (15:24 +0100)]
Update processor Lua bindings

7 years agoamend a2d54c3d9710 (w64 debug builds)
Robin Gareus [Wed, 22 Feb 2017 11:28:56 +0000 (12:28 +0100)]
amend a2d54c3d9710 (w64 debug builds)

7 years agoGUI support to re-locate missing external (abs-path) files
Robin Gareus [Wed, 22 Feb 2017 09:38:43 +0000 (10:38 +0100)]
GUI support to re-locate missing external (abs-path) files

7 years agoPrepare re-locating missing external files.
Robin Gareus [Wed, 22 Feb 2017 09:38:17 +0000 (10:38 +0100)]
Prepare re-locating missing external files.

7 years agoNO-OP: whitespace
Robin Gareus [Wed, 22 Feb 2017 09:26:58 +0000 (10:26 +0100)]
NO-OP: whitespace

7 years agoNO-OP; whitespace
Robin Gareus [Wed, 22 Feb 2017 09:25:58 +0000 (10:25 +0100)]
NO-OP; whitespace

7 years agoThe return of the w64 debug build
Robin Gareus [Wed, 22 Feb 2017 09:17:33 +0000 (10:17 +0100)]
The return of the w64 debug build

7 years agoremove cruft
Robin Gareus [Wed, 22 Feb 2017 09:13:26 +0000 (10:13 +0100)]
remove cruft

7 years agoif a slave's masters are at zero, lock slave to zero and not NaN
Paul Davis [Wed, 22 Feb 2017 08:35:49 +0000 (09:35 +0100)]
if a slave's masters are at zero, lock slave to zero and not NaN

7 years agofix crash when removing a TimeAxisView from the selection
Paul Davis [Tue, 21 Feb 2017 18:11:14 +0000 (19:11 +0100)]
fix crash when removing a TimeAxisView from the selection

7 years agofix thinko/typo which failed to notify when a VCA is unassigned
Paul Davis [Tue, 21 Feb 2017 17:50:32 +0000 (18:50 +0100)]
fix thinko/typo which failed to notify when a VCA is unassigned

7 years agoPBD::Signal<...>::connect() is already thread safe, so drop intermediate proxy/call_s...
Paul Davis [Tue, 21 Feb 2017 17:45:16 +0000 (18:45 +0100)]
PBD::Signal<...>::connect() is already thread safe, so drop intermediate proxy/call_slot() invocation in handling Controllable::Changed within AutomationController

7 years agoAdd Lua binding to query monotonic time (in microseconds)
Robin Gareus [Tue, 21 Feb 2017 15:13:25 +0000 (16:13 +0100)]
Add Lua binding to query monotonic time (in microseconds)

7 years agoupdate plugin-utils Lua example script
Robin Gareus [Tue, 21 Feb 2017 15:12:24 +0000 (16:12 +0100)]
update plugin-utils Lua example script

7 years agoAllow to access/load LuaDSP plugins with default plugin lua-bindings API
Robin Gareus [Tue, 21 Feb 2017 15:11:34 +0000 (16:11 +0100)]
Allow to access/load LuaDSP plugins with default plugin lua-bindings API

7 years agoRevert "ARDOUR_UI transport buttons should use ArdourButton::set_related_action()."
Paul Davis [Tue, 21 Feb 2017 14:44:12 +0000 (15:44 +0100)]
Revert "ARDOUR_UI transport buttons should use ArdourButton::set_related_action()."

This reverts commit 35f35ad662933e30242c825fb5317f181e9a232c.

This commit was a mistake: the controllables are needed to allow MIDI binding
to transport buttons.

7 years agoImplementations for Plugin-Preset-Load to set automation
Robin Gareus [Tue, 21 Feb 2017 14:24:02 +0000 (15:24 +0100)]
Implementations for Plugin-Preset-Load to set automation

7 years agoAdd API allowing plugin preset load to affect automation
Robin Gareus [Tue, 21 Feb 2017 14:02:29 +0000 (15:02 +0100)]
Add API allowing plugin preset load to affect automation

7 years agoredesign VCA control over gain (and theoretically other scalar controls)
Paul Davis [Tue, 21 Feb 2017 14:04:20 +0000 (15:04 +0100)]
redesign VCA control over gain (and theoretically other scalar controls)

master(s) value now just scales the control's own value; a trivial
bit of math at assign/deassign ensures that values do not change
during add/remove master operations

7 years agobetter solution of 3c25d26e9
Robin Gareus [Tue, 21 Feb 2017 11:25:57 +0000 (12:25 +0100)]
better solution of 3c25d26e9

7 years agoFix potential crash at exit/close.
Robin Gareus [Tue, 21 Feb 2017 00:35:18 +0000 (01:35 +0100)]
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.

7 years agoGroup-Tabs keyboard shortcuts
Robin Gareus [Mon, 20 Feb 2017 23:11:38 +0000 (00:11 +0100)]
Group-Tabs keyboard shortcuts

* The return of the ctrl+right-click (edit)
* and consistent shift+right click (remove)

7 years agofix typo in prev commit
Robin Gareus [Mon, 20 Feb 2017 23:07:47 +0000 (00:07 +0100)]
fix typo in prev commit

7 years agoMB: prefs are detached initially
Robin Gareus [Mon, 20 Feb 2017 21:55:46 +0000 (22:55 +0100)]
MB: prefs are detached initially

7 years agoAllow to pre-seed Tabbable detached state.
Robin Gareus [Mon, 20 Feb 2017 21:55:31 +0000 (22:55 +0100)]
Allow to pre-seed Tabbable detached state.

7 years agofix thinko in prev commit
Robin Gareus [Mon, 20 Feb 2017 20:52:13 +0000 (21:52 +0100)]
fix thinko in prev commit

7 years agoFix iterator off-by-one: Allow to move top-most track. via ctrl up/down
Robin Gareus [Mon, 20 Feb 2017 20:37:50 +0000 (21:37 +0100)]
Fix iterator off-by-one: Allow to move top-most track. via ctrl up/down

7 years agoFirst-time startup logic update.
Robin Gareus [Mon, 20 Feb 2017 19:47:57 +0000 (20:47 +0100)]
First-time startup logic update.

When *not* copying old config, Ardour should display the "first time"
dialog.

7 years agoConsistent VCA naming (Ardour/Mixbus)
Robin Gareus [Mon, 20 Feb 2017 15:50:42 +0000 (16:50 +0100)]
Consistent VCA naming (Ardour/Mixbus)

7 years agoconsolidate Ardour+Mixbus code, fix duplicate SeparatorElem in MB.
Robin Gareus [Mon, 20 Feb 2017 15:35:38 +0000 (16:35 +0100)]
consolidate Ardour+Mixbus code, fix duplicate SeparatorElem in MB.

7 years agouse "VCA" rather than "Control Master" in the GUI
Paul Davis [Mon, 20 Feb 2017 14:40:24 +0000 (15:40 +0100)]
use "VCA" rather than "Control Master" in the GUI

7 years agoensure that when mixer is shown in its own tab, it has a default focus widget, so...
Paul Davis [Mon, 20 Feb 2017 11:58:09 +0000 (12:58 +0100)]
ensure that when mixer is shown in its own tab, it has a default focus widget, so that alt-m will always work

7 years agoAdd a missing #define to our MSVC project (portaudio_backend)
John Emmas [Mon, 20 Feb 2017 09:16:51 +0000 (09:16 +0000)]
Add a missing #define to our MSVC project (portaudio_backend)

7 years agoAnd some more action-script icons
Robin Gareus [Mon, 20 Feb 2017 02:58:52 +0000 (03:58 +0100)]
And some more action-script icons

7 years agoIncrease default size of script-editor pane
Robin Gareus [Mon, 20 Feb 2017 02:57:53 +0000 (03:57 +0100)]
Increase default size of script-editor pane

7 years agoLua binding for pango_cairo_layout_path (text outlines)
Robin Gareus [Mon, 20 Feb 2017 02:56:32 +0000 (03:56 +0100)]
Lua binding for pango_cairo_layout_path (text outlines)

7 years agoAdd 2 more action-script icons
Robin Gareus [Sun, 19 Feb 2017 23:53:09 +0000 (00:53 +0100)]
Add 2 more action-script icons

7 years agoNO-OP; clean up script spacing and remove goto
Robin Gareus [Sun, 19 Feb 2017 23:52:40 +0000 (00:52 +0100)]
NO-OP; clean up script spacing and remove goto

7 years agoAdd a Lua script to send multiple tracks to an aux-bus.
Robin Gareus [Sun, 19 Feb 2017 23:29:39 +0000 (00:29 +0100)]
Add a Lua script to send multiple tracks to an aux-bus.

7 years agoAllow to create aux sends from Lua scripts
Robin Gareus [Sun, 19 Feb 2017 23:17:42 +0000 (00:17 +0100)]
Allow to create aux sends from Lua scripts