ardour.git
7 years agomackie: check modifier bits for button AFTER identifying possibly remapped button ID
Paul Davis [Tue, 31 Jan 2017 17:08:44 +0000 (18:08 +0100)]
mackie: check modifier bits for button AFTER identifying possibly remapped button ID

7 years agomackie: more debug tracing
Paul Davis [Tue, 31 Jan 2017 16:52:59 +0000 (17:52 +0100)]
mackie: more debug tracing

7 years agomackie: more debug tracing
Paul Davis [Tue, 31 Jan 2017 16:48:49 +0000 (17:48 +0100)]
mackie: more debug tracing

7 years agomackie: more debug tracing for remapped buttons
Paul Davis [Tue, 31 Jan 2017 16:43:33 +0000 (17:43 +0100)]
mackie: more debug tracing for remapped buttons

7 years agoRevert "mackie: make profile-mapped keys maybe actually do something"
Paul Davis [Tue, 31 Jan 2017 16:37:45 +0000 (17:37 +0100)]
Revert "mackie: make profile-mapped keys maybe actually do something"

This reverts commit 0d7f88afbdb4477990706faa49a75e4dfb419b75.

7 years agoRevert "mackie: improve previous commit - use button_id not button.bid() to make...
Paul Davis [Tue, 31 Jan 2017 16:37:23 +0000 (17:37 +0100)]
Revert "mackie: improve previous commit - use button_id not button.bid() to make remapping work"

This reverts commit 16804e20c8d13b0b217410a208b9416845f48213.

7 years agomackie: improve previous commit - use button_id not button.bid() to make remapping...
Paul Davis [Tue, 31 Jan 2017 16:30:50 +0000 (17:30 +0100)]
mackie: improve previous commit - use button_id not button.bid() to make remapping work

7 years agoExpose a new lua hook for resetting a plugin processor ( convenience func only: this...
Ben Loftis [Tue, 31 Jan 2017 16:35:37 +0000 (10:35 -0600)]
Expose a new lua hook for resetting a plugin processor ( convenience func only: this avoids the necessity of an extra cast to PlugInsert )

7 years agomackie: make profile-mapped keys maybe actually do something
Paul Davis [Tue, 31 Jan 2017 16:23:45 +0000 (17:23 +0100)]
mackie: make profile-mapped keys maybe actually do something

7 years agomore mackie debug tracing
Paul Davis [Tue, 31 Jan 2017 16:05:30 +0000 (17:05 +0100)]
more mackie debug tracing

7 years agoimprovement to last loop button commit for MCP
Paul Davis [Tue, 31 Jan 2017 15:29:22 +0000 (16:29 +0100)]
improvement to last loop button commit for MCP

7 years agomackie support should use BasicUI::loop_toggle()
Paul Davis [Tue, 31 Jan 2017 15:10:23 +0000 (16:10 +0100)]
mackie support should use BasicUI::loop_toggle()

7 years agoGeneric MIDI controls should affect group members too, if they exist
Paul Davis [Tue, 31 Jan 2017 14:32:55 +0000 (15:32 +0100)]
Generic MIDI controls should affect group members too, if they exist

7 years agoPotential clock info-text color-glitch fix <span color>
Robin Gareus [Tue, 31 Jan 2017 10:39:24 +0000 (11:39 +0100)]
Potential clock info-text color-glitch fix <span color>

Don't switch between set_text() and set_markup(); always use markup because
set_markup() modifies the attribute list of the pango-layout.

This might fix: "Switch Int. clock to MTC and back to Int. and the
indicator redraws with improper colors"

7 years agofix a-fluidsynth bank select (use MMA style, 14 bit MSB/LSB)
Robin Gareus [Tue, 31 Jan 2017 09:44:07 +0000 (10:44 +0100)]
fix a-fluidsynth bank select (use MMA style, 14 bit MSB/LSB)

7 years agofix a-fluidsynth midnam bank select
Robin Gareus [Mon, 30 Jan 2017 23:43:43 +0000 (00:43 +0100)]
fix a-fluidsynth midnam bank select

7 years agounconditionally include gmsynth.lv2 in bundles (and avldrums with MB)
Robin Gareus [Mon, 30 Jan 2017 15:42:50 +0000 (16:42 +0100)]
unconditionally include gmsynth.lv2 in bundles (and avldrums with MB)

7 years agoPrefer General MIDI Synth as default instrument
Robin Gareus [Mon, 30 Jan 2017 15:42:11 +0000 (16:42 +0100)]
Prefer General MIDI Synth as default instrument

7 years agoFall back to general MIDI synth for auditioning.
Robin Gareus [Mon, 30 Jan 2017 15:41:56 +0000 (16:41 +0100)]
Fall back to general MIDI synth for auditioning.

7 years agoprevent crash when deselecting track from mixer.
Paul Davis [Mon, 30 Jan 2017 11:54:48 +0000 (12:54 +0100)]
prevent crash when deselecting track from mixer.

Need to defer PresentationInfo::Change till after we're done
changing our own cached set of axis views

7 years agoWhen building with MSVC, use perl to generate 'ardour.keys'
John Emmas [Mon, 30 Jan 2017 11:07:59 +0000 (11:07 +0000)]
When building with MSVC, use perl to generate 'ardour.keys'

7 years agoleft/right align mixer-strips
Robin Gareus [Mon, 30 Jan 2017 10:46:55 +0000 (11:46 +0100)]
left/right align mixer-strips

7 years agospeed up midi ghost region update
nick_m [Sun, 29 Jan 2017 14:46:38 +0000 (01:46 +1100)]
speed up midi ghost region update

- as MRV removes invalid notes from the GR, we
  can simply update all events after checking vertical visibility.

7 years agoprevent suggestion that MIDI tracks can be set to stacked view
Paul Davis [Sun, 29 Jan 2017 14:02:07 +0000 (15:02 +0100)]
prevent suggestion that MIDI tracks can be set to stacked view

7 years agoKeep tracks visible when re-ordering them in the editor
Robin Gareus [Sun, 29 Jan 2017 08:34:09 +0000 (09:34 +0100)]
Keep tracks visible when re-ordering them in the editor

7 years agofix up default key bindings to use correct binding groups after recent Editor ->...
Paul Davis [Sat, 28 Jan 2017 20:31:46 +0000 (21:31 +0100)]
fix up default key bindings to use correct binding groups after recent Editor -> Common migration

7 years ago2 new export formats for stems and such. They export at the current session sample...
Ben Loftis [Sat, 28 Jan 2017 19:34:30 +0000 (13:34 -0600)]
2 new export formats for stems and such.  They export at the current session sample rate.

7 years agoanother action name fix for Push2 support
Paul Davis [Sat, 28 Jan 2017 18:16:24 +0000 (19:16 +0100)]
another action name fix for Push2 support

7 years agofix action names in Mackie code after Editor=>Control migration
Paul Davis [Sat, 28 Jan 2017 17:50:12 +0000 (18:50 +0100)]
fix action names in Mackie code after Editor=>Control migration

7 years agofix another action name in BasicUI after Editor=>Control migration
Paul Davis [Sat, 28 Jan 2017 17:49:59 +0000 (18:49 +0100)]
fix another action name in BasicUI after Editor=>Control migration

7 years agofix action names in BasicUI after Editor=>Control migration
Paul Davis [Sat, 28 Jan 2017 17:47:38 +0000 (18:47 +0100)]
fix action names in BasicUI after Editor=>Control migration

7 years agofix action names in Push2 support code
Paul Davis [Sat, 28 Jan 2017 17:35:04 +0000 (18:35 +0100)]
fix action names in Push2 support code

7 years agomore modified key bindings
Paul Davis [Sat, 28 Jan 2017 17:33:46 +0000 (18:33 +0100)]
more modified key bindings

7 years agomove 10 more actions from Editor/* to Common/*
Paul Davis [Sat, 28 Jan 2017 17:32:59 +0000 (18:32 +0100)]
move 10 more actions from Editor/* to Common/*

7 years agoMCP GUI make surface numbering the same as port numbering and more explanatory.
Len Ovens [Sat, 28 Jan 2017 17:35:42 +0000 (09:35 -0800)]
MCP GUI make surface numbering the same as port numbering and more explanatory.

7 years agomackie surface support changes actions recently moved to Common/*
Paul Davis [Sat, 28 Jan 2017 17:20:49 +0000 (18:20 +0100)]
mackie surface support changes actions recently moved to Common/*

7 years agowiimote surface support changes actions recently moved to Common/*
Paul Davis [Sat, 28 Jan 2017 17:19:01 +0000 (18:19 +0100)]
wiimote surface support changes actions recently moved to Common/*

7 years agotwo more modified key bindings
Paul Davis [Sat, 28 Jan 2017 17:08:39 +0000 (18:08 +0100)]
two more modified key bindings

7 years agochange default keybindings for those using actions just moved from Editor/* to Common/*
Paul Davis [Sat, 28 Jan 2017 17:06:42 +0000 (18:06 +0100)]
change default keybindings for those using actions just moved from Editor/* to Common/*

7 years agomove 15 actions out of Editor/* namespace, and into Common/*
Paul Davis [Sat, 28 Jan 2017 17:02:28 +0000 (18:02 +0100)]
move 15 actions out of Editor/* namespace, and into Common/*

7 years agofurther improvement to Mixer_UI::move_stripable_into_view()
Paul Davis [Sat, 28 Jan 2017 16:08:40 +0000 (17:08 +0100)]
further improvement to Mixer_UI::move_stripable_into_view()

7 years agoimprove the behaviour of Mixer_UI::move_stripable_into_view()
Paul Davis [Sat, 28 Jan 2017 15:48:20 +0000 (16:48 +0100)]
improve the behaviour of Mixer_UI::move_stripable_into_view()

Don't change anything if the strip is visible; if we have to move to show it, try
to show the requested strip in the middle

7 years agouse VCA full name in strips and track headers
Paul Davis [Sat, 28 Jan 2017 15:06:44 +0000 (16:06 +0100)]
use VCA full name in strips and track headers

7 years agoadd VCA::full_name() which returns "VCA %n" : VCA %n" by default and "VCA %n : user...
Paul Davis [Sat, 28 Jan 2017 15:06:28 +0000 (16:06 +0100)]
add VCA::full_name() which returns "VCA %n" : VCA %n" by default and "VCA %n : user-provided-name" if the name has been set

7 years agomore consisten code to set menu item name from VCA name
Paul Davis [Sat, 28 Jan 2017 12:03:43 +0000 (13:03 +0100)]
more consisten code to set menu item name from VCA name

7 years agoPatch to bug 0007204 : Some options in the Group List context menu are not working
Ed Ward [Thu, 26 Jan 2017 08:09:05 +0000 (09:09 +0100)]
Patch to bug 0007204 : Some options in the Group List context menu are not working

7 years agomark loop button insensitive when there's no loop-range
Robin Gareus [Sat, 28 Jan 2017 11:04:31 +0000 (12:04 +0100)]
mark loop button insensitive when there's no loop-range

7 years agostop looping when deleting loop-range (fixes potential crash)
Robin Gareus [Sat, 28 Jan 2017 11:04:00 +0000 (12:04 +0100)]
stop looping when deleting loop-range (fixes potential crash)

7 years agoensure mixer shows a recently selected strip
Paul Davis [Sat, 28 Jan 2017 10:46:04 +0000 (11:46 +0100)]
ensure mixer shows a recently selected strip

This doesn't guarantee that is it the MOST recently selected strip

7 years agoensure that most recently stripable is visible in editor
Paul Davis [Sat, 28 Jan 2017 10:31:11 +0000 (11:31 +0100)]
ensure that most recently stripable is visible in editor

7 years agoend of selected tracks list is the most recently selected
Paul Davis [Sat, 28 Jan 2017 10:20:24 +0000 (11:20 +0100)]
end of selected tracks list is the most recently selected

7 years agominor logic changes to editor selection
Paul Davis [Sat, 28 Jan 2017 10:20:05 +0000 (11:20 +0100)]
minor logic changes to editor selection

Prevent mulitple PresentationInfo::Change signals if toggling several
tracks

7 years agomake editor respond to track seleciton change again
Paul Davis [Sat, 28 Jan 2017 10:16:50 +0000 (11:16 +0100)]
make editor respond to track seleciton change again

7 years agoimproved (as in "correct") deadlock fix for PresentationInfo::Change
Paul Davis [Sat, 28 Jan 2017 10:10:18 +0000 (11:10 +0100)]
improved (as in "correct") deadlock fix for PresentationInfo::Change

7 years agofix deadlock in mutex'ed PresentationInfo code
Paul Davis [Sat, 28 Jan 2017 08:57:21 +0000 (09:57 +0100)]
fix deadlock in mutex'ed PresentationInfo code

7 years agoMCP fix issue 7219 get GUI to show main surface for right port
Len Ovens [Sat, 28 Jan 2017 05:44:40 +0000 (21:44 -0800)]
MCP fix issue 7219 get GUI to show main surface for right port

7 years agouse a lock when dealing with PresentationInfo::Change emission
Paul Davis [Fri, 27 Jan 2017 21:15:10 +0000 (22:15 +0100)]
use a lock when dealing with PresentationInfo::Change emission

This allows us to emit the signal while still marking further emissions as blocked.
This in turns prevents handlers from recursively calling themselves.

7 years agoremove editor/mixer selection change signals; make editor and mixer use PresentationI...
Paul Davis [Fri, 27 Jan 2017 18:18:33 +0000 (19:18 +0100)]
remove editor/mixer selection change signals; make editor and mixer use PresentationInfo::Change more correctly; make Selection a bit smarter when setting track selection

7 years agoshow what PresentationInfo::Change is being used for
Paul Davis [Fri, 27 Jan 2017 18:17:47 +0000 (19:17 +0100)]
show what PresentationInfo::Change is being used for

7 years agoremove debug output/ifdef
Paul Davis [Fri, 27 Jan 2017 18:08:50 +0000 (19:08 +0100)]
remove debug output/ifdef

7 years agouse RAII for class-wide PresentationInfo::Change signal, along with properties to...
Paul Davis [Thu, 26 Jan 2017 18:20:40 +0000 (19:20 +0100)]
use RAII for class-wide PresentationInfo::Change signal, along with properties to describe what changed

7 years agouse RAII for class-wide PresentationInfo::Change signal, along with properties to...
Paul Davis [Thu, 26 Jan 2017 18:20:36 +0000 (19:20 +0100)]
use RAII for class-wide PresentationInfo::Change signal, along with properties to describe what changed

7 years agoadd undo for changing marker lock style from menu
nick_m [Thu, 26 Jan 2017 16:39:33 +0000 (03:39 +1100)]
add undo for changing marker lock style from menu

7 years agomark session dirty when moving range markers or altering location lock style.
nick_m [Thu, 26 Jan 2017 16:07:29 +0000 (03:07 +1100)]
mark session dirty when moving range markers or altering location lock style.

7 years agomark session dirty when dragging tempo markers.
nick_m [Thu, 26 Jan 2017 16:05:32 +0000 (03:05 +1100)]
mark session dirty when dragging tempo markers.

7 years agono-op - whitespace fix for libs/ardour/playlist.cc
nick_m [Thu, 26 Jan 2017 14:10:49 +0000 (01:10 +1100)]
no-op - whitespace fix for libs/ardour/playlist.cc

7 years agoMidiGhostRegion micro-optimisation.
nick_m [Thu, 26 Jan 2017 13:58:09 +0000 (00:58 +1100)]
MidiGhostRegion micro-optimisation.

7 years agoMidiRegionView::redisplay_model() - code cleanup
nick_m [Thu, 26 Jan 2017 13:56:39 +0000 (00:56 +1100)]
MidiRegionView::redisplay_model() - code cleanup

7 years agoFix mixer continuous multi-selection
Robin Gareus [Thu, 26 Jan 2017 13:08:58 +0000 (14:08 +0100)]
Fix mixer continuous multi-selection

Shift+select needs to iterate over strips as they are visually ordered.
(Previously the order of adding/loading strips was used)

7 years agoimprove range drag semantics
Paul Davis [Wed, 25 Jan 2017 20:46:24 +0000 (21:46 +0100)]
improve range drag semantics

If a track is selected during the drag (by moving the mouse pointer into a new track), but it was not
selected at the start, and is then de-selected (by moving the mouse back out of it), then remove
it from the selection.

7 years agoyet another case of misplaced parentheses during the removal of boost::optional from...
Paul Davis [Wed, 25 Jan 2017 15:56:31 +0000 (16:56 +0100)]
yet another case of misplaced parentheses during the removal of boost::optional from Canvas

7 years agoThis turns out to have been a band-aid over a deeper issue in libcanvas, fixed
Paul Davis [Wed, 25 Jan 2017 15:54:48 +0000 (16:54 +0100)]
This turns out to have been a band-aid over a deeper issue in libcanvas, fixed
in commit 49422aa89

Revert "fix an issue with selection rects not being redrawn correctly"

This reverts commit fa1a7ae9b91d0321b71b3de4f720a393d827cd9c.

7 years agoanother case of misplaced parentheses during the removal of boost::optional from...
Paul Davis [Wed, 25 Jan 2017 15:54:29 +0000 (16:54 +0100)]
another case of misplaced parentheses during the removal of boost::optional from Canvas

7 years agofix an issue with selection rects not being redrawn correctly
Paul Davis [Wed, 25 Jan 2017 15:45:38 +0000 (16:45 +0100)]
fix an issue with selection rects not being redrawn correctly

7 years agoThis wasn't supposed to be pushed to master.
Paul Davis [Tue, 24 Jan 2017 22:17:38 +0000 (23:17 +0100)]
This wasn't supposed to be pushed to master.

Revert "add basic data members and methods for adding an explicit size allocation for Canvas::Item"

This reverts commit d1c1d8df614672b00a9835ae04566b12d21be697.

7 years agoMIDI note copy needs to adjust pitch of new notes before adding them
Paul Davis [Tue, 24 Jan 2017 22:07:27 +0000 (23:07 +0100)]
MIDI note copy needs to adjust pitch of new notes before adding them

7 years agoadd basic data members and methods for adding an explicit size allocation for Canvas...
Paul Davis [Fri, 20 Jan 2017 11:08:58 +0000 (12:08 +0100)]
add basic data members and methods for adding an explicit size allocation for Canvas::Item

7 years agore-fine preferences dialog part 13 of 27 (probably):
Robin Gareus [Tue, 24 Jan 2017 16:35:07 +0000 (17:35 +0100)]
re-fine preferences dialog part 13 of 27 (probably):

* expose try-autostart engine
* move Session settings to sub-menu (general was getting to large)

7 years agostyleguide #6
Robin Gareus [Tue, 24 Jan 2017 12:47:01 +0000 (13:47 +0100)]
styleguide #6

7 years agoMeter point toggle button now uses a popup menu instead of toggling
Daniel Sheeler [Mon, 23 Jan 2017 01:00:16 +0000 (19:00 -0600)]
Meter point toggle button now uses a popup menu instead of toggling

7 years agosuffix region gain to TAVitem name
Robin Gareus [Tue, 24 Jan 2017 12:37:20 +0000 (13:37 +0100)]
suffix region gain to TAVitem name

7 years agoimplement copy-drag for MIDI notes.
Paul Davis [Mon, 23 Jan 2017 20:57:38 +0000 (21:57 +0100)]
implement copy-drag for MIDI notes.

Probably some corner cases to be fixed, but pretty functional and largely modelled
on existing code (paste, drag, step add note etc.)

7 years agoNO-OP: add a few spaces before function args
Paul Davis [Mon, 23 Jan 2017 20:48:01 +0000 (21:48 +0100)]
NO-OP: add a few spaces before function args

7 years agoSafe Mode: disable VST scan
Robin Gareus [Mon, 23 Jan 2017 18:53:18 +0000 (19:53 +0100)]
Safe Mode: disable VST scan

7 years agogeneric MIDI: put controllables into touch mode (if appropriate) when data is received
Paul Davis [Mon, 23 Jan 2017 12:25:56 +0000 (13:25 +0100)]
generic MIDI: put controllables into touch mode (if appropriate) when data is received

7 years agoat transport stop, clear all existing automation watches (touch)
Paul Davis [Mon, 23 Jan 2017 12:25:24 +0000 (13:25 +0100)]
at transport stop, clear all existing automation watches (touch)

7 years agomake undo/redo work for Regions > Edit > Close Gaps
Paul Davis [Sun, 22 Jan 2017 21:16:08 +0000 (22:16 +0100)]
make undo/redo work for Regions > Edit > Close Gaps

7 years agoUpdate Japanese translation
Hiroki Inagaki [Sun, 22 Jan 2017 07:43:23 +0000 (23:43 -0800)]
Update Japanese translation

7 years agoimplement Session::route_by_selected_count()
Paul Davis [Sun, 22 Jan 2017 18:48:10 +0000 (19:48 +0100)]
implement Session::route_by_selected_count()

7 years agoPresentationInfo needs to emit Change for selection/hide/order
Paul Davis [Sun, 22 Jan 2017 18:47:52 +0000 (19:47 +0100)]
PresentationInfo needs to emit Change for selection/hide/order

7 years agomore consistent terminology in a comment
Paul Davis [Sun, 22 Jan 2017 11:02:28 +0000 (12:02 +0100)]
more consistent terminology in a comment

7 years agoadd some comments
Paul Davis [Sat, 21 Jan 2017 18:20:04 +0000 (18:20 +0000)]
add some comments

7 years agoconsistent capitalization
Robin Gareus [Sat, 21 Jan 2017 22:29:08 +0000 (23:29 +0100)]
consistent capitalization

7 years agoardour runs fine in rr version 4.4.0, add scripts
Robin Gareus [Sat, 21 Jan 2017 22:10:33 +0000 (23:10 +0100)]
ardour runs fine in rr version 4.4.0, add scripts

7 years agoAdd Example script to import file(s)
Robin Gareus [Sat, 21 Jan 2017 19:18:04 +0000 (20:18 +0100)]
Add Example script to import file(s)

7 years agoLua: bindings for do_import()
Robin Gareus [Sat, 21 Jan 2017 19:08:12 +0000 (20:08 +0100)]
Lua: bindings for do_import()

7 years agoLua add an Empty/Nil shared-pointer constructor
Robin Gareus [Sat, 21 Jan 2017 19:07:54 +0000 (20:07 +0100)]
Lua add an Empty/Nil shared-pointer constructor

7 years agoLuaBindings: prefer shared_ptr over weak_ptr
Robin Gareus [Sat, 21 Jan 2017 19:06:54 +0000 (20:06 +0100)]
LuaBindings: prefer shared_ptr over weak_ptr

7 years agodon't repeat-hard-code names for 3 automation types.
Paul Davis [Sat, 21 Jan 2017 15:41:16 +0000 (15:41 +0000)]
don't repeat-hard-code names for 3 automation types.

Fixes warning during session loading

7 years agouse SSE/AVX for scaling gain automation buffer via masters' value
Paul Davis [Sat, 21 Jan 2017 15:22:38 +0000 (15:22 +0000)]
use SSE/AVX for scaling gain automation buffer via masters' value