Robin Gareus
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
Robin Gareus
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
Robin Gareus
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
Ben Loftis
da3d8e5418
(Source List) Implement insert-region action... now uses the Source List.
2019-08-01 12:11:31 -05:00
Ben Loftis
0b699ac9f7
(Source List) merge fixes
2019-08-01 12:11:31 -05:00
Ben Loftis
375a090295
(Source List) Make clock change func more explicit.
2019-08-01 12:11:31 -05:00
Robin Gareus
95c8490920
Remove cruft (commented code)
2019-04-08 20:59:23 +02:00
Ben Loftis
37d28c63db
Selection-after-split behavior ( libardour part )
2019-02-12 11:34:50 -06:00
Robin Gareus
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
Robin Gareus
7cdf25e02f
Remove cruft
2018-10-04 03:57:49 +02:00
Paul Davis
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
Robin Gareus
929cea9ef4
Remove debug message and trailing whitespace
2018-03-27 15:30:48 +02:00
Ben Loftis
292f998298
Fix bug: sequential pasting to the same time, but different tracks, would trigger paste offset.
2018-02-26 19:40:24 -06:00
Ben Loftis
f54f270627
Fix a few warnings
2018-02-17 09:12:38 -06:00
Ben Loftis
0299229e41
SoloSelection: gui part.
2018-02-11 09:39:45 -06:00
Robin Gareus
ba2b136af2
NO-OP: whitespace
2017-12-12 00:13:12 +01:00
Ben Loftis
0b7298e22e
Fix another case where: a Range selection must enforce some tracks selected as well.
2017-12-11 10:51:33 -06:00
Robin Gareus
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
Robin Gareus
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
Paul Davis
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
Paul Davis
cbe342c357
some structure/code for managing menu sensitivity now that VCAs are selectable
2017-08-07 12:04:11 -04:00
Robin Gareus
af2ee3c856
Don't de-select tracks when order changes
2017-06-17 16:14:28 +02:00
Robin Gareus
f77540120c
Remove Cruft
2017-06-17 15:52:03 +02:00
Paul Davis
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
Paul Davis
dc0139d4af
use CoreSelection for track selection
2017-05-05 18:56:25 +01:00
Robin Gareus
cbe1f5d395
extend 3cda0e2a: Don't switch to range-mode if not needed for similar OPs.
2017-04-28 15:07:41 +02:00
Robin Gareus
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
Paul Davis
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
Paul Davis
437ec10b31
gui: debug output for faderport/editor mixer strip sync
2017-02-24 23:10:09 +01:00
Robin Gareus
1e4e97019d
Lua bindings to access editor selection + region selection bindings
2017-02-23 22:32:32 +01:00
Robin Gareus
c8d6ddfd10
Don't scroll-jump when selecting all tracks
2017-02-18 01:25:13 +01:00
Paul Davis
a31e70a7d5
check region action sensitivity from two more places that may alter it
2017-02-16 10:29:48 +01:00
Paul Davis
4d05af8e71
improve logic for region action sensitivity settings
2017-02-16 10:29:48 +01:00
Paul Davis
d463720b6d
simplify arguments to Editor::sensitize_the_right_region_actions()
2017-02-15 20:07:49 +01:00
Paul Davis
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
Paul Davis
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
Paul Davis
2cc94f8880
tentative steps in trying to fix region action sensitivity
2017-02-15 20:07:49 +01:00
John Emmas
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
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
Ben Loftis
efd55f7526
Fix a leftover from 3e214e (Follow Range behavior).
2016-12-19 14:10:58 -06:00
Ben Loftis
386a1ed96e
Separate is an Editor action (like Delete), not a Region action.
2016-12-19 14:08:23 -06:00
nick_m
2d7bdda0be
Extending an empty selection selects the clicked region.
...
- fixes a crash where the first operation on loading a session
is a constrained drag
2016-08-20 01:34:53 +10:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Paul Davis
da0bd3d8a5
fix region action sensitivity issues.
...
Desensitize all region actions initially, and toggle that state
appropriately when region selection changes
2016-07-08 08:44:21 -04:00
Paul Davis
8125ea5909
tweak API of Selectable
2016-06-05 20:50:57 -04:00
Paul Davis
2161c5d507
use new RouteGroup property names
2016-06-05 16:33:01 -04:00
Paul Davis
260058a4a9
move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
...
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00