ardour.git
7 years agouse, or mostly use PresentationInfo for selection status of Routes.
Paul Davis [Mon, 6 Jun 2016 00:50:40 +0000 (20:50 -0400)]
use, or mostly use PresentationInfo for selection status of Routes.

Needs extension to Surfaces, replacing GuiSelectionChanged signal concept

7 years agofix Session::get_remote_nth_stripable() to use zero-based numbering
Paul Davis [Mon, 6 Jun 2016 00:49:45 +0000 (20:49 -0400)]
fix Session::get_remote_nth_stripable() to use zero-based numbering

7 years agoextend/modify PresentationInfo to make searching for routes via Session::get_remote_n...
Paul Davis [Mon, 6 Jun 2016 00:49:14 +0000 (20:49 -0400)]
extend/modify PresentationInfo to make searching for routes via Session::get_remote_nth_stripable() work

7 years agoAxisView does not need to initialize Selectable::_selected
Paul Davis [Sun, 5 Jun 2016 23:50:24 +0000 (19:50 -0400)]
AxisView does not need to initialize Selectable::_selected

7 years agotweak API of Selectable
Paul Davis [Sun, 5 Jun 2016 23:49:51 +0000 (19:49 -0400)]
tweak API of Selectable

7 years agoOS X specific fix, to match new mixer TreeModel structure
Paul Davis [Sun, 5 Jun 2016 22:00:28 +0000 (18:00 -0400)]
OS X specific fix, to match new mixer TreeModel structure

7 years agoOS X clang build issue fix
Paul Davis [Sun, 5 Jun 2016 21:59:56 +0000 (17:59 -0400)]
OS X clang build issue fix

7 years agofix switching from generic to custom plugin UI
Robin Gareus [Sun, 5 Jun 2016 21:54:51 +0000 (23:54 +0200)]
fix switching from generic to custom plugin UI

7 years agouse PresentationInfo color to set route colors. GUI appears to respond as expected
Paul Davis [Sun, 5 Jun 2016 21:16:20 +0000 (17:16 -0400)]
use PresentationInfo color to set route colors. GUI appears to respond as expected

7 years agodon't connect to individual PresentationInfo signals per Stripable; we only reorder...
Paul Davis [Sun, 5 Jun 2016 20:32:54 +0000 (16:32 -0400)]
don't connect to individual PresentationInfo signals per Stripable; we only reorder strips once, when the global signal arrives

7 years agoStripable signals moved to PresentationInfo
Paul Davis [Sun, 5 Jun 2016 20:30:18 +0000 (16:30 -0400)]
Stripable signals moved to PresentationInfo

7 years agoStripable signals moved to PresentationInfo
Paul Davis [Sun, 5 Jun 2016 20:29:47 +0000 (16:29 -0400)]
Stripable signals moved to PresentationInfo

7 years agosubstantive redesign of Gtk::TreeModel used inside Mixer_UI to hold both VCAs and...
Paul Davis [Sun, 5 Jun 2016 20:29:22 +0000 (16:29 -0400)]
substantive redesign of Gtk::TreeModel used inside Mixer_UI to hold both VCAs and Routes

7 years agocatch up on change in definition of various AxisView {set,is}_selected() implementations
Paul Davis [Sun, 5 Jun 2016 20:28:53 +0000 (16:28 -0400)]
catch up on change in definition of various AxisView {set,is}_selected() implementations

7 years agocatch up on change in definition of various AxisView {set,is}_selected() implementations
Paul Davis [Sun, 5 Jun 2016 20:27:25 +0000 (16:27 -0400)]
catch up on change in definition of various AxisView {set,is}_selected() implementations

7 years agocatch up on change in definition of various AxisView {set,is}_selected() implementations
Paul Davis [Sun, 5 Jun 2016 20:18:14 +0000 (16:18 -0400)]
catch up on change in definition of various AxisView {set,is}_selected() implementations

7 years agocleanup API for RouteUI
Paul Davis [Sun, 5 Jun 2016 20:16:34 +0000 (16:16 -0400)]
cleanup API for RouteUI

7 years agoStripable signals moved to PresentationInfo
Paul Davis [Sun, 5 Jun 2016 20:15:39 +0000 (16:15 -0400)]
Stripable signals moved to PresentationInfo

7 years agomissing mod to MonitorSection declaration, per previous commit
Paul Davis [Sun, 5 Jun 2016 20:15:35 +0000 (16:15 -0400)]
missing mod to MonitorSection declaration, per previous commit

7 years agoremove duplicate name_label widget from TimeAxisView (AxisView provides it)
Paul Davis [Sun, 5 Jun 2016 20:14:21 +0000 (16:14 -0400)]
remove duplicate name_label widget from TimeAxisView (AxisView provides it)

7 years agoRouteUI connects to Route's PropertyChange signal; derived types implement route_prop...
Paul Davis [Sun, 5 Jun 2016 20:13:52 +0000 (16:13 -0400)]
RouteUI connects to Route's PropertyChange signal; derived types implement route_property_changed()

7 years agodon't add routes+VCAs separately to editor routes during startup; merge into single...
Paul Davis [Sun, 5 Jun 2016 20:10:33 +0000 (16:10 -0400)]
don't add routes+VCAs separately to editor routes during startup; merge into single list of Stripables

7 years agoremove unused sort object
Paul Davis [Sun, 5 Jun 2016 20:09:57 +0000 (16:09 -0400)]
remove unused sort object

7 years agouse PresentationInfo API to mark Stripable elements hidden (from editor)
Paul Davis [Sun, 5 Jun 2016 20:09:47 +0000 (16:09 -0400)]
use PresentationInfo API to mark Stripable elements hidden (from editor)

7 years agoupdate use of PresentationInfo/Stripable API
Paul Davis [Sun, 5 Jun 2016 20:09:20 +0000 (16:09 -0400)]
update use of PresentationInfo/Stripable API

7 years agofix initialization in MidiTimeAxisView
Paul Davis [Sun, 5 Jun 2016 20:07:22 +0000 (16:07 -0400)]
fix initialization in MidiTimeAxisView

This is another "most derived" class and so needs to initialize the SessionHandlePtr virtual base class

7 years agoStripable signals moved to PresentationInfo
Paul Davis [Sun, 5 Jun 2016 20:03:36 +0000 (16:03 -0400)]
Stripable signals moved to PresentationInfo

7 years agonew color utility functions to convert between uint32_t and Gdk::Color
Paul Davis [Sun, 5 Jun 2016 20:03:08 +0000 (16:03 -0400)]
new color utility functions to convert between uint32_t and Gdk::Color

7 years agoStripable signals moved to PresentationInfo
Paul Davis [Sun, 5 Jun 2016 20:02:35 +0000 (16:02 -0400)]
Stripable signals moved to PresentationInfo

7 years agouse modified PresentationInfo/Stripable API
Paul Davis [Sun, 5 Jun 2016 19:59:39 +0000 (15:59 -0400)]
use modified PresentationInfo/Stripable API

7 years agowhen adding a list of Stripables, sort them into PresentationInfo order first
Paul Davis [Sun, 5 Jun 2016 19:59:00 +0000 (15:59 -0400)]
when adding a list of Stripables, sort them into PresentationInfo order first

7 years agono-op: one line not 3
Paul Davis [Sun, 5 Jun 2016 19:58:33 +0000 (15:58 -0400)]
no-op: one line not 3

7 years agothere is no PresentationInfo::global_order_t any more
Paul Davis [Sun, 5 Jun 2016 19:57:47 +0000 (15:57 -0400)]
there is no PresentationInfo::global_order_t any more

7 years agoRouteUI is no longer an AxisView so use ARDOUR_UI::instance()->gui_object_state(...
Paul Davis [Sun, 5 Jun 2016 19:56:35 +0000 (15:56 -0400)]
RouteUI is no longer an AxisView so use ARDOUR_UI::instance()->gui_object_state() directly

7 years agoadd braces
Paul Davis [Sun, 5 Jun 2016 19:55:19 +0000 (15:55 -0400)]
add braces

7 years agouse new RouteGroup property names
Paul Davis [Sun, 5 Jun 2016 19:54:37 +0000 (15:54 -0400)]
use new RouteGroup property names

7 years agobring back the beta release warning for users new to 5.x-preN
Paul Davis [Sun, 5 Jun 2016 19:48:01 +0000 (15:48 -0400)]
bring back the beta release warning for users new to 5.x-preN

7 years agoRouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix initialization.
Paul Davis [Sun, 5 Jun 2016 19:47:39 +0000 (15:47 -0400)]
RouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix initialization.

Only "most derived" classes can initialize virtual base classes (SessionHandlePtr)

7 years agochange AxisView color API to be virtual and implement per-type variants
Paul Davis [Sun, 5 Jun 2016 19:39:22 +0000 (15:39 -0400)]
change AxisView color API to be virtual and implement per-type variants

7 years agoadjust color API for RouteUI to use PresentationInfo's color
Paul Davis [Sun, 5 Jun 2016 19:26:12 +0000 (15:26 -0400)]
adjust color API for RouteUI to use PresentationInfo's color

7 years agomake AxisView::marked_for_display() be virtual so we can use the a Stripable's Presen...
Paul Davis [Sun, 5 Jun 2016 19:19:54 +0000 (15:19 -0400)]
make AxisView::marked_for_display() be virtual so we can use the a Stripable's PresentationInfo hidden() status

7 years agoextensive changes to PresentationInfo API
Paul Davis [Sun, 5 Jun 2016 19:11:43 +0000 (15:11 -0400)]
extensive changes to PresentationInfo API

Now handles color, partially.

7 years agofix registration of PresentationInfo enums
Paul Davis [Sun, 5 Jun 2016 19:10:48 +0000 (15:10 -0400)]
fix registration of PresentationInfo enums

7 years agoextend comments to avoid unused-variable warnings from commented code
Paul Davis [Sun, 5 Jun 2016 19:10:24 +0000 (15:10 -0400)]
extend comments to avoid unused-variable warnings from commented code

7 years agochange property names (not quark/strings) for RouteGroup properties to avoid collisio...
Paul Davis [Sun, 5 Jun 2016 19:09:53 +0000 (15:09 -0400)]
change property names (not quark/strings) for RouteGroup properties to avoid collisions with new ones

7 years agoUse non-magic widths for the now fixed-width mode region list.
nick_m [Sun, 5 Jun 2016 19:46:29 +0000 (05:46 +1000)]
Use non-magic widths for the now fixed-width mode region list.

7 years agogeneric plugin UI: insensitive NotAutomatable
Robin Gareus [Sun, 5 Jun 2016 18:00:00 +0000 (20:00 +0200)]
generic plugin UI: insensitive NotAutomatable

7 years agoMidi regions recalculate their length in frames when moved/copied.
nick_m [Sun, 5 Jun 2016 17:54:23 +0000 (03:54 +1000)]
Midi regions recalculate their length in frames when moved/copied.

- should fix 6793

7 years agoplugin support for Controllable::NotAutomatable
Robin Gareus [Sun, 5 Jun 2016 17:04:33 +0000 (19:04 +0200)]
plugin support for Controllable::NotAutomatable

7 years agoOSC: Added feedback for /select
Len Ovens [Sun, 5 Jun 2016 14:25:54 +0000 (07:25 -0700)]
OSC: Added feedback for /select

7 years agoprepare for LV2 non-automatable control ports
Robin Gareus [Sun, 5 Jun 2016 12:45:24 +0000 (14:45 +0200)]
prepare for LV2 non-automatable control ports

7 years agorefine self-automating plugin interface
Robin Gareus [Sun, 5 Jun 2016 12:44:54 +0000 (14:44 +0200)]
refine self-automating plugin interface

* thin automation at end
* allow plugins to disable its internal write state (ctrl port)
* Debug messages

7 years agoFix ignored note_type in TempoMap::frames_per_beat_at().
nick_m [Sat, 4 Jun 2016 21:10:06 +0000 (07:10 +1000)]
Fix ignored note_type in TempoMap::frames_per_beat_at().

7 years agoshow existing automation lanes regardless if they were visible before.
Robin Gareus [Sat, 4 Jun 2016 16:52:57 +0000 (18:52 +0200)]
show existing automation lanes regardless if they were visible before.

Automation can be recorded with the automation time axis not being
visible.

7 years agoOSC: Bug fix for no monitor, bug fix heart beat on turned global feedback on.
Len Ovens [Sat, 4 Jun 2016 14:04:32 +0000 (07:04 -0700)]
OSC: Bug fix for no monitor, bug fix heart beat on turned global feedback on.
Start select code.

7 years agoClamp tempo curve height.
nick_m [Fri, 3 Jun 2016 21:24:04 +0000 (07:24 +1000)]
Clamp tempo curve height.

7 years agoallow latent self-automating plugins
Robin Gareus [Fri, 3 Jun 2016 21:09:08 +0000 (23:09 +0200)]
allow latent self-automating plugins

7 years agoupdate session-utils
Robin Gareus [Fri, 3 Jun 2016 15:37:05 +0000 (17:37 +0200)]
update session-utils

* use target name in help text
* add options and documentation to copy-mixer

7 years agoFix FramedCurve Outside fill for curve.
nick_m [Fri, 3 Jun 2016 21:03:18 +0000 (07:03 +1000)]
Fix FramedCurve Outside fill for curve.

7 years agoMore FramedCurve render work
nick_m [Fri, 3 Jun 2016 20:40:59 +0000 (06:40 +1000)]
More FramedCurve render work

- draw last point correctly if applicable

- comment intent.

7 years agoNO-OP: add blank line to make comments clearer
Paul Davis [Fri, 3 Jun 2016 20:12:26 +0000 (16:12 -0400)]
NO-OP: add blank line to make comments clearer

7 years agofix both canvas scrolling and interleaving of VCA + Routes in editor
Paul Davis [Fri, 3 Jun 2016 20:12:13 +0000 (16:12 -0400)]
fix both canvas scrolling and interleaving of VCA + Routes in editor

7 years agoFix framed curve thinko.
nick_m [Fri, 3 Jun 2016 20:00:41 +0000 (06:00 +1000)]
Fix framed curve thinko.

- in FramedCurve, the first _point is used for the bounding box.
  Don't confuse this with actual data.

7 years agomove from PresentationInfo::global_order() to PresentationInfo::order, and fix up...
Paul Davis [Fri, 3 Jun 2016 19:15:30 +0000 (15:15 -0400)]
move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour

Dragging tracks/busses in the editor *below* VCAs still does not work

7 years agomove from PresentationInfo::global_order() to PresentationInfo::order
Paul Davis [Fri, 3 Jun 2016 19:14:48 +0000 (15:14 -0400)]
move from PresentationInfo::global_order() to PresentationInfo::order

7 years agosimplify PresentationInfo concept of order so that it is always global
Paul Davis [Fri, 3 Jun 2016 19:14:23 +0000 (15:14 -0400)]
simplify PresentationInfo concept of order so that it is always global

Cases that need more complex sort orders (e.g. all routes, then all vcas then master) need
to take of this themselves

7 years agofix a -Wreorder
Robin Gareus [Thu, 2 Jun 2016 21:50:16 +0000 (23:50 +0200)]
fix a -Wreorder

7 years agoNOOP: space required
Paul Davis [Thu, 2 Jun 2016 23:19:10 +0000 (19:19 -0400)]
NOOP: space required

7 years agothere is no explicit "Remote Control ID" control anymore - all done by ordering in...
Paul Davis [Thu, 2 Jun 2016 23:18:54 +0000 (19:18 -0400)]
there is no explicit "Remote Control ID" control anymore - all done by ordering in the GUI

7 years agoRemove references to a "master faders" window. We went the other way.
Paul Davis [Thu, 2 Jun 2016 21:01:03 +0000 (17:01 -0400)]
Remove references to a "master faders" window. We went the other way.

7 years agocopy mixer utility evolution
Robin Gareus [Thu, 2 Jun 2016 20:25:18 +0000 (22:25 +0200)]
copy mixer utility evolution

7 years agosession-utils tweaks
Robin Gareus [Thu, 2 Jun 2016 20:02:37 +0000 (22:02 +0200)]
session-utils tweaks

* emulate 256 i/o (don't loose connections)
* allow "silent" start

7 years agofix creating aux-busses from templates, reset return-bitslot
Robin Gareus [Thu, 2 Jun 2016 20:01:36 +0000 (22:01 +0200)]
fix creating aux-busses from templates, reset return-bitslot

7 years agofix possible deadlock replacing processor state.
Robin Gareus [Thu, 2 Jun 2016 17:33:39 +0000 (19:33 +0200)]
fix possible deadlock replacing processor state.

7 years agofix typo in export-util help text
Robin Gareus [Thu, 2 Jun 2016 17:32:45 +0000 (19:32 +0200)]
fix typo in export-util help text

7 years agomake new action to bind BackSpace to in processors box
Paul Davis [Thu, 2 Jun 2016 18:46:22 +0000 (14:46 -0400)]
make new action to bind BackSpace to in processors box

7 years agochange name of a Session method to makes its intended function clear
Paul Davis [Thu, 2 Jun 2016 15:47:19 +0000 (11:47 -0400)]
change name of a Session method to makes its intended function clear

7 years agomark session dirty on creation/deletion of a VCA
Paul Davis [Thu, 2 Jun 2016 14:30:52 +0000 (10:30 -0400)]
mark session dirty on creation/deletion of a VCA

7 years agomake all TimeAxisView derived types return PresentationInfo for sorting
Paul Davis [Thu, 2 Jun 2016 12:54:33 +0000 (08:54 -0400)]
make all TimeAxisView derived types return PresentationInfo for sorting

7 years agoActions - make set-tempo-from-edit-range sensitive to time selection.
nick_m [Thu, 2 Jun 2016 17:16:50 +0000 (03:16 +1000)]
Actions - make set-tempo-from-edit-range sensitive to time selection.

7 years agoSmall cleanup in FramedCurve.
nick_m [Thu, 2 Jun 2016 16:02:50 +0000 (02:02 +1000)]
Small cleanup in FramedCurve.

7 years agoFix assorted drawing bugs in framed curve.
nick_m [Thu, 2 Jun 2016 14:00:31 +0000 (00:00 +1000)]
Fix assorted drawing bugs in framed curve.

- treat drawing area of boxes and curves similarly.

- handle a redraw request between
  the last sample and the last point.

7 years agovarious safety checks for the result of dynamic_cast-ing a TimeAxisView to RouteTimeA...
Paul Davis [Thu, 2 Jun 2016 12:42:58 +0000 (08:42 -0400)]
various safety checks for the result of dynamic_cast-ing a TimeAxisView to RouteTimeAxisView

Now that we have VCATimeAxisView, this needed to be done, but it also potentially applied with automation

7 years agopart three of using LocaleGuard with pane sizes
Paul Davis [Thu, 2 Jun 2016 12:17:20 +0000 (08:17 -0400)]
part three of using LocaleGuard with pane sizes

7 years agothe second half of using LocaleGuard with pane sizes
Paul Davis [Thu, 2 Jun 2016 12:09:08 +0000 (08:09 -0400)]
the second half of using LocaleGuard with pane sizes

7 years agoprototype tool to copy mixer/route settings between sessions
Robin Gareus [Thu, 2 Jun 2016 12:07:00 +0000 (14:07 +0200)]
prototype tool to copy mixer/route settings between sessions

7 years agoadd LocaleGuards to 2 places where we save pane sizes (which are floating point value...
Paul Davis [Thu, 2 Jun 2016 12:04:08 +0000 (08:04 -0400)]
add LocaleGuards to 2 places where we save pane sizes (which are floating point values now)

7 years agofix case where pane divider is not redrawn after a leave event.
Paul Davis [Thu, 2 Jun 2016 02:30:17 +0000 (22:30 -0400)]
fix case where pane divider is not redrawn after a leave event.

7 years agofix styling of pane dividers (the original reason for the "*Pane*" widget=>style...
Paul Davis [Thu, 2 Jun 2016 02:23:34 +0000 (22:23 -0400)]
fix styling of pane dividers (the original reason for the "*Pane*" widget=>style spec)

7 years agoremove un-used name_hbox widget from TimeAxisView
Paul Davis [Thu, 2 Jun 2016 01:57:32 +0000 (21:57 -0400)]
remove un-used name_hbox widget from TimeAxisView

7 years agoremove unneeded widget style definition
Paul Davis [Thu, 2 Jun 2016 01:56:29 +0000 (21:56 -0400)]
remove unneeded widget style definition

7 years agoremove unnecessary wildcard GTK widget=>style mapping
Paul Davis [Thu, 2 Jun 2016 01:55:30 +0000 (21:55 -0400)]
remove unnecessary wildcard GTK widget=>style mapping

7 years agoadd Open Target Folder button to Export Dialog
Robin Gareus [Wed, 1 Jun 2016 21:54:54 +0000 (23:54 +0200)]
add Open Target Folder button to Export Dialog

7 years agoOSC: Fixed some button type commands to have path only as well as path f
Len Ovens [Wed, 1 Jun 2016 21:27:30 +0000 (14:27 -0700)]
OSC: Fixed some button type commands to have path only as well as path f

7 years agofix OS X bundling to include theme files
Paul Davis [Wed, 1 Jun 2016 21:04:10 +0000 (17:04 -0400)]
fix OS X bundling to include theme files

7 years agosave version string with session for informational purposes
Robin Gareus [Wed, 1 Jun 2016 20:27:55 +0000 (22:27 +0200)]
save version string with session for informational purposes

7 years agoonly show "Pin Connections..." in mixer-strip if there are plugins
Robin Gareus [Wed, 1 Jun 2016 20:26:32 +0000 (22:26 +0200)]
only show "Pin Connections..." in mixer-strip if there are plugins

7 years agofix crash during session deletion while removing VCA masters
Paul Davis [Wed, 1 Jun 2016 19:15:03 +0000 (15:15 -0400)]
fix crash during session deletion while removing VCA masters

7 years agoisspace
Robin Gareus [Wed, 1 Jun 2016 17:19:09 +0000 (19:19 +0200)]
isspace

7 years agostrip trailing whitespace from lv2 log message
Robin Gareus [Wed, 1 Jun 2016 17:01:13 +0000 (19:01 +0200)]
strip trailing whitespace from lv2 log message