Commit graph

23840 commits

Author SHA1 Message Date
nick_m
650c1381d4 setup_snap_delta() need only take a framepos_t. 2017-02-04 22:57:36 +11:00
nick_m
59daffea1d 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-02-04 22:57:36 +11:00
Paul Davis
a21a414615 another tweak to maybe-fix crash in Playlist::fade_range() 2017-02-03 23:03:01 +01:00
Ben Loftis
306647b1d0 Tweak MIDI channel dialog layout. 2017-02-02 21:44:43 -06:00
Ben Loftis
bc79fc07ce Remove redundant MIDI submenu. The items are now in the main menu. 2017-02-02 21:44:43 -06:00
Robin Gareus
a1c15586e0 potential fix for crashes when creating fade-ranges 2017-02-02 23:02:48 +01:00
Robin Gareus
f84cdb3381 fix crash when closing session w/action hooks
drop_callback() deletes the Callback itself (lua state is invalid)
2017-02-02 21:42:57 +01:00
Ben Loftis
b759bae0cd Right-click on a VCA to assign it to the selected channels. 2017-02-02 11:02:10 -06:00
Paul Davis
71003b0235 toolbar building from file given by command line 2017-02-02 14:36:02 +01:00
Robin Gareus
f2327835f9 Lua script to save a snapshot after export 2017-02-02 14:20:08 +01:00
Paul Davis
2283e3b6ce canvas tester tweak 2017-02-02 14:16:27 +01:00
Paul Davis
c20ed6b9f6 toolbar creation from text files 2017-02-02 14:16:17 +01:00
Paul Davis
61138a9ef8 shorten enum/string for icons by avoiding Gtkmm2ext namespace 2017-02-02 14:09:42 +01:00
Paul Davis
d9dc2592d0 include ArdourIcon in declared enums 2017-02-02 14:05:11 +01:00
Paul Davis
82f104b8f0 use different source file for canvas tester 2017-02-02 13:29:17 +01:00
Paul Davis
f50c99e2a9 additional commit for removal of TransportControllables 2017-02-02 13:05:05 +01:00
Paul Davis
35f35ad662 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.
2017-02-02 13:05:05 +01:00
Robin Gareus
693baa8430 GUI to select export session/snapshot name 2017-02-02 12:44:08 +01:00
Robin Gareus
f74412c1e5 Export option to use snapshot name instead of session name 2017-02-02 12:40:26 +01:00
Robin Gareus
f4261f26a9 update link to MB manual 2017-02-01 23:33:44 +01:00
Robin Gareus
2721f2fc24 Reduce continuous stream of warning messages (latent plugin, PH @ zero) 2017-02-01 23:20:27 +01:00
Robin Gareus
ddd0e862ce 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.
2017-02-01 23:07:57 +01:00
Paul Davis
9144cbe93a playing games with canvas (grid) test 2017-02-01 21:58:20 +01:00
Paul Davis
f5d6c908ac canvas::grid - more tweaks and improvements 2017-02-01 21:58:20 +01:00
Paul Davis
fa2c4c525b canvas::grid : compute all row/col extents 2017-02-01 21:58:20 +01:00
Paul Davis
94443bab7e basics of row/col span for Canvas::Grid 2017-02-01 21:58:20 +01:00
Paul Davis
33bd5b3939 use new Grid API 2017-02-01 21:58:20 +01:00
Paul Davis
2c9b0796a3 change Grid API to avoid unnecessary Duple and open door for row/col span 2017-02-01 21:58:20 +01:00
Paul Davis
91908dde7e clear up some CSS padding/margin confusion, and add row/col spacing 2017-02-01 21:58:20 +01:00
Paul Davis
46041c0afa valgrind option (commented) for canvas tester 2017-02-01 21:58:20 +01:00
Paul Davis
b4cc6083b6 more sophisticated canvas tester 2017-02-01 21:58:20 +01:00
Paul Davis
14cb9ec795 canvas::grid starts being able to do its job a little 2017-02-01 21:58:20 +01:00
Paul Davis
e616324683 add basic data members and methods for adding an explicit size allocation for Canvas::Item 2017-02-01 21:58:20 +01:00
Paul Davis
52718b3411 some initial bits of work on canvas allocation 2017-02-01 21:58:20 +01:00
Paul Davis
e75c713e5e make the leftmost mixer stripable API at least work as advertised 2017-02-01 11:57:37 +01:00
Paul Davis
0f4530af0d 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.
2017-02-01 11:46:42 +01:00
Paul Davis
bb74bba1c7 mackie: catch data on what presentation info aspects changed; don't change banks on a PI change 2017-02-01 10:27:34 +01:00
Robin Gareus
6e09e72f11 Skip no-change re-ordering of tracks/busses
e.g. move top-most track up, bottom-most track down.
2017-01-31 20:42:33 +01:00
Robin Gareus
353eb5601c Don't allow to select VCAs in the route-list 2017-01-31 20:42:33 +01:00
Paul Davis
9e7652ca62 debugging with markk: stacktrace on bank switch in mackie code 2017-01-31 20:12:04 +01:00
Paul Davis
6f66fbbf73 remove recently added MackieControl DEBUG_TRACE msgs 2017-01-31 19:16:50 +01:00
Paul Davis
1c9df390bc stop DEBUG_TRACE for MackieControl crashing in some conditions 2017-01-31 19:16:35 +01:00
Paul Davis
0d72fe65a2 mackie: use "markN" for new markers, like the GUI (not "markerN") 2017-01-31 18:24:39 +01:00
Paul Davis
7c517f6566 mackie: check modifier bits for button AFTER identifying possibly remapped button ID 2017-01-31 18:08:44 +01:00
Paul Davis
efd222afe9 mackie: more debug tracing 2017-01-31 17:52:59 +01:00
Paul Davis
58c1ff368c mackie: more debug tracing 2017-01-31 17:48:49 +01:00
Paul Davis
9dc2ef28be mackie: more debug tracing for remapped buttons 2017-01-31 17:43:33 +01:00
Paul Davis
8f13d33efe Revert "mackie: make profile-mapped keys maybe actually do something"
This reverts commit 0d7f88afbd.
2017-01-31 17:37:45 +01:00
Paul Davis
de189721e8 Revert "mackie: improve previous commit - use button_id not button.bid() to make remapping work"
This reverts commit 16804e20c8.
2017-01-31 17:37:23 +01:00
Paul Davis
16804e20c8 mackie: improve previous commit - use button_id not button.bid() to make remapping work 2017-01-31 17:31:10 +01:00