Commit graph

23539 commits

Author SHA1 Message Date
nick_m
aa4bd44d4a set sysex height & position on redisplay. 2017-02-02 03:58:01 +11:00
nick_m
6fea93814d 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).
2017-02-02 03:34:21 +11:00
nick_m
ed16e15e8a more inconsistent menu item fiddling. 2017-02-01 23:50:42 +11:00
nick_m
8aacd09180 more messing about with inconsistent menu state. 2017-02-01 22:58:48 +11:00
nick_m
5a8ae036cb 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
2017-02-01 02:08:04 +11:00
nick_m
6856540a39 remove unused empoMap::round_to_beat_subdivision() 2017-01-31 05:02:02 +11:00
nick_m
818315a63c non-primary music-locked regions follow tempo changes while dragging.
- the contents still don't update but position is much
          more wysiwyg.
2017-01-31 04:15:21 +11:00
nick_m
92723299de rework RegionMotionDrag so that we can actually drag a region to zero.
- did this ever work?
2017-01-31 03:06:13 +11:00
nick_m
6164266a90 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()?)
2017-01-31 03:03:45 +11:00
nick_m
1311b1a5e8 ensure region _quarter_note is set (factory). 2017-01-31 02:57:40 +11:00
nick_m
b3117ab368 ensure region _quarter_note is set in offset ctor.. 2017-01-31 02:56:41 +11:00
nick_m
ded8f06270 fix thinko wrt Drag::adjusted_frame() 2017-01-31 02:44:10 +11:00
nick_m
8f30576a8a setup_snap_delta() need only take a framepos_t. 2017-01-30 03:15:18 +11:00
nick_m
9b90e60f50 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.
2017-01-30 03:15:18 +11:00
nick_m
ab052d0565 speed up midi ghost region update
- as MRV removes invalid notes from the GR, we
	  can simply update all events after checking vertical visibility.
2017-01-30 01:46:38 +11:00
Paul Davis
d29f6bde5e prevent suggestion that MIDI tracks can be set to stacked view 2017-01-29 15:03:29 +01:00
Robin Gareus
34da2896c6 Keep tracks visible when re-ordering them in the editor 2017-01-29 09:34:09 +01:00
Paul Davis
007ad4e334 fix up default key bindings to use correct binding groups after recent Editor -> Common migration 2017-01-28 21:32:00 +01:00
Ben Loftis
960d564582 2 new export formats for stems and such. They export at the current session sample rate. 2017-01-28 13:34:39 -06:00
Paul Davis
b424187be1 another action name fix for Push2 support 2017-01-28 19:16:24 +01:00
Paul Davis
41aaee6fe9 fix action names in Mackie code after Editor=>Control migration 2017-01-28 18:51:03 +01:00
Paul Davis
220fbbe0d8 fix another action name in BasicUI after Editor=>Control migration 2017-01-28 18:51:03 +01:00
Paul Davis
e92c169275 fix action names in BasicUI after Editor=>Control migration 2017-01-28 18:51:03 +01:00
Paul Davis
ade59c123c fix action names in Push2 support code 2017-01-28 18:51:03 +01:00
Paul Davis
806bfeced7 more modified key bindings 2017-01-28 18:51:03 +01:00
Paul Davis
80ee2f2c4d move 10 more actions from Editor/* to Common/* 2017-01-28 18:51:03 +01:00
Len Ovens
c8892f411a MCP GUI make surface numbering the same as port numbering and more explanatory. 2017-01-28 09:35:42 -08:00
Paul Davis
390ce9bc4f mackie surface support changes actions recently moved to Common/* 2017-01-28 18:20:49 +01:00
Paul Davis
8c7b0d1486 wiimote surface support changes actions recently moved to Common/* 2017-01-28 18:19:01 +01:00
Paul Davis
3346c69f2d two more modified key bindings 2017-01-28 18:08:39 +01:00
Paul Davis
7835a8d9e1 change default keybindings for those using actions just moved from Editor/* to Common/* 2017-01-28 18:06:42 +01:00
Paul Davis
3c2e69ea42 move 15 actions out of Editor/* namespace, and into Common/* 2017-01-28 18:02:28 +01:00
Paul Davis
570b921e47 further improvement to Mixer_UI::move_stripable_into_view() 2017-01-28 17:08:40 +01:00
Paul Davis
c98abcf293 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
2017-01-28 16:48:20 +01:00
Paul Davis
c786328966 use VCA full name in strips and track headers 2017-01-28 16:06:44 +01:00
Paul Davis
e12e8716ba add VCA::full_name() which returns "VCA %n" : VCA %n" by default and "VCA %n : user-provided-name" if the name has been set 2017-01-28 16:06:28 +01:00
Paul Davis
415c841645 more consisten code to set menu item name from VCA name 2017-01-28 13:04:32 +01:00
Ed Ward
c0c13d7c45 Patch to bug 0007204 : Some options in the Group List context menu are not working 2017-01-28 13:04:32 +01:00
Robin Gareus
0092442a64 mark loop button insensitive when there's no loop-range 2017-01-28 12:05:50 +01:00
Robin Gareus
487ae58301 stop looping when deleting loop-range (fixes potential crash) 2017-01-28 12:05:50 +01:00
Paul Davis
5a6ddb034e ensure mixer shows a recently selected strip
This doesn't guarantee that is it the MOST recently selected strip
2017-01-28 11:46:04 +01:00
Paul Davis
c5047ec431 ensure that most recently stripable is visible in editor 2017-01-28 11:31:11 +01:00
Paul Davis
5ba85b0850 end of selected tracks list is the most recently selected 2017-01-28 11:20:24 +01:00
Paul Davis
08bca2a07d minor logic changes to editor selection
Prevent mulitple PresentationInfo::Change signals if toggling several
tracks
2017-01-28 11:20:05 +01:00
Paul Davis
8ca53c4497 make editor respond to track seleciton change again 2017-01-28 11:16:50 +01:00
Paul Davis
5e76d8537b improved (as in "correct") deadlock fix for PresentationInfo::Change 2017-01-28 11:10:18 +01:00
Paul Davis
e998ef5a75 fix deadlock in mutex'ed PresentationInfo code 2017-01-28 09:57:21 +01:00
Len Ovens
c3d0af413a MCP fix issue 7219 get GUI to show main surface for right port 2017-01-27 21:44:40 -08:00
Paul Davis
2a95d79014 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.
2017-01-27 22:17:53 +01:00
Paul Davis
cc82fc675b remove editor/mixer selection change signals; make editor and mixer use PresentationInfo::Change more correctly; make Selection a bit smarter when setting track selection 2017-01-27 22:17:53 +01:00