ardour.git
7 years agoSome paths weren't getting set up correctly for the MSVC build
John Emmas [Sat, 4 Feb 2017 12:54:19 +0000 (12:54 +0000)]
Some paths weren't getting set up correctly for the MSVC build

Fortunately, only the VAMP_PATH was causing a problem. The others were only relevant for a Debug build

7 years agoclean up patch change/sysex headers.
nick_m [Wed, 1 Feb 2017 17:39:32 +0000 (04:39 +1100)]
clean up patch change/sysex headers.

7 years agoset sysex height & position on redisplay.
nick_m [Wed, 1 Feb 2017 16:58:01 +0000 (03:58 +1100)]
set sysex height & position on redisplay.

7 years agoimprove sysex data display.
nick_m [Wed, 1 Feb 2017 16:34:21 +0000 (03:34 +1100)]
improve sysex data display.

- don't add a new SysEx canvas item every time we zoom or drag.

- speed up redisplay generally using PatchChange-like method
  for finding items (find_canvas_sys_ex() in boost::unordered_map).

7 years agomore inconsistent menu item fiddling.
nick_m [Wed, 1 Feb 2017 12:50:42 +0000 (23:50 +1100)]
more inconsistent menu item fiddling.

7 years agomore messing about with inconsistent menu state.
nick_m [Wed, 1 Feb 2017 11:58:48 +0000 (22:58 +1100)]
more messing about with inconsistent menu state.

7 years agoallow "Glue to Bars & Beats" in region menu to be in an inconsistent state.
nick_m [Tue, 31 Jan 2017 15:08:04 +0000 (02:08 +1100)]
allow "Glue to Bars & Beats" in region menu to be in an inconsistent state.

- toggling an inconsistent lock style sets all selected regions
  to AudioTime

7 years agoremove unused empoMap::round_to_beat_subdivision()
nick_m [Mon, 30 Jan 2017 18:02:02 +0000 (05:02 +1100)]
remove unused empoMap::round_to_beat_subdivision()

7 years agonon-primary music-locked regions follow tempo changes while dragging.
nick_m [Mon, 30 Jan 2017 17:15:21 +0000 (04:15 +1100)]
non-primary music-locked regions follow tempo changes while dragging.

- the contents still don't update but position is much
          more wysiwyg.

7 years agorework RegionMotionDrag so that we can actually drag a region to zero.
nick_m [Mon, 30 Jan 2017 16:06:13 +0000 (03:06 +1100)]
rework RegionMotionDrag so that we can actually drag a region to zero.

- did this ever work?

7 years agomake dragging a region from the list not crash.
nick_m [Mon, 30 Jan 2017 16:03:45 +0000 (03:03 +1100)]
make dragging a region from the list not crash.

- its still a fake event, but we can at least get the snap correct.

- playlist->add_region() parameters were whacky
  (for Playlist::add_region_internal()?)

7 years agoensure region _quarter_note is set (factory).
nick_m [Mon, 30 Jan 2017 15:57:40 +0000 (02:57 +1100)]
ensure region _quarter_note is set (factory).

7 years agoensure region _quarter_note is set in offset ctor..
nick_m [Mon, 30 Jan 2017 15:56:41 +0000 (02:56 +1100)]
ensure region _quarter_note is set in offset ctor..

7 years agofix thinko wrt Drag::adjusted_frame()
nick_m [Mon, 30 Jan 2017 15:44:10 +0000 (02:44 +1100)]
fix thinko wrt Drag::adjusted_frame()

7 years agosetup_snap_delta() need only take a framepos_t.
nick_m [Thu, 26 Jan 2017 17:37:32 +0000 (04:37 +1100)]
setup_snap_delta() need only take a framepos_t.

7 years agorework snap
nick_m [Thu, 26 Jan 2017 13:41:17 +0000 (00:41 +1100)]
rework snap

snap now fills in a struct (MusicFrame) which contins a snapped frame
along with a music divisor.
this gives useful information wrt magnetic snap which may or may not
have rounded to an exact musical position.

region position may now be set musically (using quarter notes for now).

this patch fixes several problems in the current code:

- dragging a list of music-locked regions now maintains correct
  musical offsets within the list.

- splitting regions using magnetic snap works correctly (#7192)

- cut drag should now work correctly with magnetic snap.

- musical length of split midi regions is no longer frame based.

7 years agoanother tweak to maybe-fix crash in Playlist::fade_range()
Paul Davis [Fri, 3 Feb 2017 22:02:37 +0000 (23:02 +0100)]
another tweak to maybe-fix crash in Playlist::fade_range()

7 years agoTweak MIDI channel dialog layout.
Ben Loftis [Fri, 3 Feb 2017 03:44:31 +0000 (21:44 -0600)]
Tweak MIDI channel dialog layout.

7 years agoRemove redundant MIDI submenu. The items are now in the main menu.
Ben Loftis [Fri, 3 Feb 2017 03:21:11 +0000 (21:21 -0600)]
Remove redundant MIDI submenu. The items are now in the main menu.

7 years agopotential fix for crashes when creating fade-ranges
Robin Gareus [Thu, 2 Feb 2017 22:02:48 +0000 (23:02 +0100)]
potential fix for crashes when creating fade-ranges

7 years agofix crash when closing session w/action hooks
Robin Gareus [Thu, 2 Feb 2017 20:42:23 +0000 (21:42 +0100)]
fix crash when closing session w/action hooks

drop_callback() deletes the Callback itself (lua state is invalid)

7 years agoRight-click on a VCA to assign it to the selected channels.
Ben Loftis [Thu, 2 Feb 2017 17:02:10 +0000 (11:02 -0600)]
Right-click on a VCA to assign it to the selected channels.

7 years agotoolbar building from file given by command line
Paul Davis [Thu, 2 Feb 2017 13:33:41 +0000 (14:33 +0100)]
toolbar building from file given by command line

7 years agoLua script to save a snapshot after export
Robin Gareus [Thu, 2 Feb 2017 12:49:15 +0000 (13:49 +0100)]
Lua script to save a snapshot after export

7 years agocanvas tester tweak
Paul Davis [Thu, 2 Feb 2017 13:16:27 +0000 (14:16 +0100)]
canvas tester tweak

7 years agotoolbar creation from text files
Paul Davis [Thu, 2 Feb 2017 13:16:17 +0000 (14:16 +0100)]
toolbar creation from text files

7 years agoshorten enum/string for icons by avoiding Gtkmm2ext namespace
Paul Davis [Thu, 2 Feb 2017 13:09:42 +0000 (14:09 +0100)]
shorten enum/string for icons by avoiding Gtkmm2ext namespace

7 years agoinclude ArdourIcon in declared enums
Paul Davis [Thu, 2 Feb 2017 13:05:11 +0000 (14:05 +0100)]
include ArdourIcon in declared enums

7 years agouse different source file for canvas tester
Paul Davis [Thu, 2 Feb 2017 12:29:17 +0000 (13:29 +0100)]
use different source file for canvas tester

7 years agoadditional commit for removal of TransportControllables
Paul Davis [Thu, 2 Feb 2017 12:04:06 +0000 (13:04 +0100)]
additional commit for removal of TransportControllables

7 years agoARDOUR_UI transport buttons should use ArdourButton::set_related_action().
Paul Davis [Thu, 2 Feb 2017 12:03:32 +0000 (13:03 +0100)]
ARDOUR_UI transport buttons should use ArdourButton::set_related_action().

I have no idea what I or anyone was thinking with the silly
TransportControllable nonsense, but it's all gone now.

7 years agoGUI to select export session/snapshot name
Robin Gareus [Thu, 2 Feb 2017 11:44:08 +0000 (12:44 +0100)]
GUI to select export session/snapshot name

7 years agoExport option to use snapshot name instead of session name
Robin Gareus [Thu, 2 Feb 2017 11:40:26 +0000 (12:40 +0100)]
Export option to use snapshot name instead of session name

7 years agoupdate link to MB manual
Robin Gareus [Wed, 1 Feb 2017 22:33:44 +0000 (23:33 +0100)]
update link to MB manual

7 years agoReduce continuous stream of warning messages (latent plugin, PH @ zero)
Robin Gareus [Wed, 1 Feb 2017 22:20:27 +0000 (23:20 +0100)]
Reduce continuous stream of warning messages (latent plugin, PH @ zero)

7 years agoProperly remember window position.
Robin Gareus [Wed, 1 Feb 2017 22:05:49 +0000 (23:05 +0100)]
Properly remember window position.

Querying the position of unmapped windows may or may not return a valid
position. -- the configure handler is also called after hiding a window.

7 years agoplaying games with canvas (grid) test
Paul Davis [Wed, 1 Feb 2017 20:30:46 +0000 (21:30 +0100)]
playing games with canvas (grid) test

7 years agocanvas::grid - more tweaks and improvements
Paul Davis [Wed, 1 Feb 2017 20:30:29 +0000 (21:30 +0100)]
canvas::grid - more tweaks and improvements

7 years agocanvas::grid : compute all row/col extents
Paul Davis [Wed, 1 Feb 2017 19:35:52 +0000 (20:35 +0100)]
canvas::grid : compute all row/col extents

7 years agobasics of row/col span for Canvas::Grid
Paul Davis [Wed, 1 Feb 2017 19:22:19 +0000 (20:22 +0100)]
basics of row/col span for Canvas::Grid

7 years agouse new Grid API
Paul Davis [Mon, 30 Jan 2017 17:41:20 +0000 (18:41 +0100)]
use new Grid API

7 years agochange Grid API to avoid unnecessary Duple and open door for row/col span
Paul Davis [Mon, 30 Jan 2017 17:41:11 +0000 (18:41 +0100)]
change Grid API to avoid unnecessary Duple and open door for row/col span

7 years agoclear up some CSS padding/margin confusion, and add row/col spacing
Paul Davis [Mon, 30 Jan 2017 16:11:22 +0000 (17:11 +0100)]
clear up some CSS padding/margin confusion, and add row/col spacing

7 years agovalgrind option (commented) for canvas tester
Paul Davis [Mon, 30 Jan 2017 15:32:10 +0000 (16:32 +0100)]
valgrind option (commented) for canvas tester

7 years agomore sophisticated canvas tester
Paul Davis [Mon, 30 Jan 2017 15:31:52 +0000 (16:31 +0100)]
more sophisticated canvas tester

7 years agocanvas::grid starts being able to do its job a little
Paul Davis [Mon, 30 Jan 2017 15:31:35 +0000 (16:31 +0100)]
canvas::grid starts being able to do its job a little

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 agosome initial bits of work on canvas allocation
Paul Davis [Mon, 30 Jan 2017 13:46:14 +0000 (14:46 +0100)]
some initial bits of work on canvas allocation

7 years agomake the leftmost mixer stripable API at least work as advertised
Paul Davis [Wed, 1 Feb 2017 10:57:37 +0000 (11:57 +0100)]
make the leftmost mixer stripable API at least work as advertised

7 years agoadd new API to ControlProtocol to allow GUI to specify left-most mixer strip
Paul Davis [Wed, 1 Feb 2017 10:46:42 +0000 (11:46 +0100)]
add new API to ControlProtocol to allow GUI to specify left-most mixer strip

Subject To Change. Mileage May Vary. Offer Not Good In All Territories.

7 years agomackie: catch data on what presentation info aspects changed; don't change banks...
Paul Davis [Wed, 1 Feb 2017 09:27:13 +0000 (10:27 +0100)]
mackie: catch data on what presentation info aspects changed; don't change banks on a PI change

7 years agoSkip no-change re-ordering of tracks/busses
Robin Gareus [Tue, 31 Jan 2017 19:42:22 +0000 (20:42 +0100)]
Skip no-change re-ordering of tracks/busses

e.g. move top-most track up, bottom-most track down.

7 years agoDon't allow to select VCAs in the route-list
Robin Gareus [Tue, 31 Jan 2017 19:40:31 +0000 (20:40 +0100)]
Don't allow to select VCAs in the route-list

7 years agodebugging with markk: stacktrace on bank switch in mackie code
Paul Davis [Tue, 31 Jan 2017 19:12:04 +0000 (20:12 +0100)]
debugging with markk: stacktrace on bank switch in mackie code

7 years agoremove recently added MackieControl DEBUG_TRACE msgs
Paul Davis [Tue, 31 Jan 2017 18:16:50 +0000 (19:16 +0100)]
remove recently added MackieControl DEBUG_TRACE msgs

7 years agostop DEBUG_TRACE for MackieControl crashing in some conditions
Paul Davis [Tue, 31 Jan 2017 18:16:35 +0000 (19:16 +0100)]
stop DEBUG_TRACE for MackieControl crashing in some conditions

7 years agomackie: use "markN" for new markers, like the GUI (not "markerN")
Paul Davis [Tue, 31 Jan 2017 17:24:39 +0000 (18:24 +0100)]
mackie: use "markN" for new markers, like the GUI (not "markerN")

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