Commit Graph

224 Commits

Author SHA1 Message Date
48886565cf fix mouse-audition playback of a given region 2020-05-12 13:08:38 -06:00
668ff4b638 if setting the selected MIDI region view to the currently selected MRV, do nothing 2020-05-05 18:00:05 -06:00
575c818482 when a MIDI region has a note selected with none previously, cancel existing MIDI region/note selection 2020-05-01 17:39:13 -06:00
65f7a6a938 changes to deal with region/note selection when changing into/out of internal edit mode
Also, activate MIDI editing actions so that they are effective in internal edit mode
2020-04-16 17:48:12 -06:00
142ce953da Split Select-All-Tracks into 2 appropriately named actions
Existing function select-all-tracks is now renamed select-all-visible-lanes, to match its behavior.

New function select-all-tracks will select all Tracks, as the name implies.

To maintain consistency for those users who actively used select-all-tracks,
  the default shortcut ctrl+t  will continue calling select-all-visible-lanes.
2020-01-22 10:33:15 -06:00
30553a2675 Apply some missing widget names 2020-01-12 18:13:47 -06:00
e0f7514e82
Fix nested comments 2019-12-07 01:13:38 +01:00
2920bd0253
Region selection cannot change without a session
Without a session, there are no regions. Besides,
there is an unconditional call using _session directly
after the if (_session) clause, which would segfault...
2019-08-23 23:54:34 +02:00
128623e7fb
Fix midi-note selection invert
Selecting Notes in a region does not select the region itself.

Invert-selection needs to iterate over midi-regions that contain
the selection.
2019-08-12 02:28:38 +02:00
4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
da3d8e5418 (Source List) Implement insert-region action... now uses the Source List. 2019-08-01 12:11:31 -05:00
0b699ac9f7 (Source List) merge fixes 2019-08-01 12:11:31 -05:00
375a090295 (Source List) Make clock change func more explicit. 2019-08-01 12:11:31 -05:00
95c8490920
Remove cruft (commented code) 2019-04-08 20:59:23 +02:00
37d28c63db Selection-after-split behavior ( libardour part ) 2019-02-12 11:34:50 -06:00
55596e2bf0 Change color of nudge-buttons depending on selection.
Experimental.
This indicates region selection:
  * nudge region(s): red
  * nudge playhead or marker(s): default gray

This does not indicate marker selection (nudge marker vs playhead),
nor does it change when primary-modifier is held (force playhead
nudge).
2018-10-04 21:55:44 +02:00
7cdf25e02f Remove cruft 2018-10-04 03:57:49 +02:00
5ca53856ab invert-selection: if tracks are selected, invert selection at that level, unless in internal edit mode 2018-08-24 10:08:08 -04:00
929cea9ef4 Remove debug message and trailing whitespace 2018-03-27 15:30:48 +02:00
292f998298 Fix bug: sequential pasting to the same time, but different tracks, would trigger paste offset. 2018-02-26 19:40:24 -06:00
f54f270627 Fix a few warnings 2018-02-17 09:12:38 -06:00
0299229e41 SoloSelection: gui part. 2018-02-11 09:39:45 -06:00
ba2b136af2 NO-OP: whitespace 2017-12-12 00:13:12 +01:00
0b7298e22e Fix another case where: a Range selection must enforce some tracks selected as well. 2017-12-11 10:51:33 -06:00
231e25544b Tweak 842d758e: selection & move into view
Use separate editor + mixer flags for moving selected tracks into view.
Changing selection in the Editor will only pan the mixer-view and vice-
versa. This fixes an issue with the track that is being clicked-on to
be moved out of view (due to groups)
2017-10-21 21:07:18 +02:00
842d758ed2 Don't move track into view due to indirect selection
This fixes an issue with grouped tracks, starting a [range] selection
on the bottom-most. Due to group-selection all tracks in the group
are selected. Previously this vertically-scrolled to move the
top-most into view, which could move the bottom-most out of view.
2017-10-20 19:08:48 +02:00
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
cbe342c357 some structure/code for managing menu sensitivity now that VCAs are selectable 2017-08-07 12:04:11 -04:00
af2ee3c856 Don't de-select tracks when order changes 2017-06-17 16:14:28 +02:00
f77540120c Remove Cruft 2017-06-17 15:52:03 +02:00
eb3f50e15c change the way ControlProtocols (control surfaces) are notified and handle Stripable selection changes
The Editor continues to notify them, but via a direct call to ControlProtocolManager, not a signal.
The CP Manager calls the ControlProtocol static method to set up static data structures holding
selection info for all surfaces and then notifies each surface/protocol that selection has changed.
2017-05-12 14:51:39 +01:00
dc0139d4af use CoreSelection for track selection 2017-05-05 18:56:25 +01:00
cbe1f5d395 extend 3cda0e2a: Don't switch to range-mode if not needed for similar OPs. 2017-04-28 15:07:41 +02:00
3cda0e2a93 When in smart-mode, don't switch to range-mode after "set range selection"
closes #7332
2017-04-28 14:57:13 +02:00
7cd70e0c91 make sure that when extending the selection in the editor and mixer, the clicked-upon track gets set_selected() called last
This makes it be the "first" selected strip for control surfaces and the editor mixer
2017-02-26 18:24:56 +01:00
437ec10b31 gui: debug output for faderport/editor mixer strip sync 2017-02-24 23:10:09 +01:00
1e4e97019d Lua bindings to access editor selection + region selection bindings 2017-02-23 22:32:32 +01:00
c8d6ddfd10 Don't scroll-jump when selecting all tracks 2017-02-18 01:25:13 +01:00
a31e70a7d5 check region action sensitivity from two more places that may alter it 2017-02-16 10:29:48 +01:00
4d05af8e71 improve logic for region action sensitivity settings 2017-02-16 10:29:48 +01:00
d463720b6d simplify arguments to Editor::sensitize_the_right_region_actions() 2017-02-15 20:07:49 +01:00
3d3f2a79f6 use leave/enter from track canvas to be the primary driver of region action sensitivity
This works for context menus also, because GTK sends us leave/enter notify
events when they appear.
2017-02-15 20:07:49 +01:00
0a41daa932 classify all region actions based on how they get a list of regions to operate on; use this in Editor::sensitize_the_right_region_actions()
There are still problems because actions like trim_front()
that use the edit point get the edit point with different
results than the code that sensitizes actions
2017-02-15 20:07:49 +01:00
2cc94f8880 tentative steps in trying to fix region action sensitivity 2017-02-15 20:07:49 +01:00
70e4bb30a0 'CheckMenuItem' conflicts with an item already existing in MSVC 2017-02-04 16:14:55 +00:00
nick_m
1cfa6bd69f more messing about with inconsistent menu state. 2017-02-04 22:57:36 +11:00
nick_m
f336f4e6d1 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-04 22:57:36 +11:00
c5047ec431 ensure that most recently stripable is visible in editor 2017-01-28 11:31:11 +01:00
5ba85b0850 end of selected tracks list is the most recently selected 2017-01-28 11:20:24 +01:00
efd55f7526 Fix a leftover from 3e214e (Follow Range behavior). 2016-12-19 14:10:58 -06:00