c2493141d9
fix "stuck marker focus" after deleting marker.
2015-12-08 23:39:47 +01:00
André Nusser
00c68ae2e6
Remove "Fill Range with Region" from menu and also its function.
2015-12-04 11:40:24 +01:00
André Nusser
0040ab5158
Fix "Crop Region to Range" -- second attempt.
2015-12-03 12:57:01 -05:00
eb1d1acab8
fix double template syntax
2015-12-02 16:59:11 -05:00
André Nusser
653789424b
Fix "Fill Track".
...
It now behaves like Multi-Duplicate until the end marker. The end
marker is excluded as this would often lead to size 1 regions.
2015-12-02 14:59:43 -05:00
André Nusser
add37c6b96
Fix "Crop Region to Range".
...
Before only regions that contained the start of the range were cropped,
now all are cropped.
2015-12-02 14:58:42 -05:00
ca381a908e
provide user preference for pre-roll
2015-11-19 16:56:09 -06:00
André Nusser
2cc707e88f
Fix fencepost error in duplicate_some_regions. Adapt start position.
2015-11-04 17:50:12 -05:00
4a3413f2d4
suspend timers while flushing the gtk-event queue.
...
This fixes an issues where Ardour never completes to flush the GUI event
queue due to rapid updates for meters and similar events.
ARDOUR_UI::load_session() never returned and the complete session
ran inside Gtkmm2ext::UI::flush_pending(), this later causes a crash
at exit.
as side effect, this also speeds up session load.
2015-10-30 15:55:27 +01:00
d04c16e927
fix edge-case: (move playhead w/o session)
2015-10-22 14:14:27 +02:00
André Nusser
e807fe2b28
Introduce "Transpose..." also in the context menu of selected notes.
2015-10-17 22:12:55 -04:00
André Nusser
bc83699e44
Fix tiny memory leak.
2015-10-17 22:12:54 -04:00
f307080808
disable follow-edits with external sync #6577
2015-10-18 02:03:41 +02:00
38405fa210
fix crash on 2nd Lock
2015-10-07 15:50:55 +02:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
95df99e6d4
remove unused function
2015-10-04 17:53:02 +02:00
621fd845e6
Revert "add new action and loop marker menu item for setting up loop record"
...
This reverts commit ebb43508f1
.
2015-09-28 17:44:04 -04:00
ebb43508f1
add new action and loop marker menu item for setting up loop record
2015-09-28 17:42:11 -04:00
André Nusser
6a248b61f0
fix duplicating multiple selected regions - fixes #6202
2015-09-20 22:22:39 +02:00
646bc2bb43
fix possible endless loop in silence detection
2015-09-19 19:00:43 +02:00
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
7b82277c7e
Don't try and split a region when dragging, should fix bug #6338
2015-09-16 16:28:18 +10:00
3eb7ee6ac1
Check that a route has a track before trying to insert time on it.
...
Routes which are busses don't have a track, and thus no playlists either:
avoid a crash when inserting time when a bus is selected and 'all
playlists' is chosen.
2015-09-10 11:50:20 +01:00
43f3c0e0f2
clean-up previous commit
2015-08-27 10:13:35 -05:00
84845833c1
Add missing actions from MB2 for Mike:
...
Set-Loop-Start/End-From-Edit-Point
Set-Punch-Start/End-From-Edit-Point
2015-08-19 14:53:35 -05:00
9673e6b271
merge fix again
2015-07-16 17:14:14 -05:00
46c8369328
merge fix
2015-07-16 16:13:24 -05:00
a81bfbfc41
use Tracks' MainMenuDisabler during session lock (could be improved with more RAII)
2015-06-29 14:18:09 -04:00
ee791f251a
make the quantize dialog persistent so that settings are retained
2015-06-26 12:47:11 -04:00
94e4e2f55f
rename TempoMap::cut_time() to remove_time()
...
Everywhere else, 'cut time' has been renamed to 'remove time': for consistency,
rename this one remaining function to match.
2015-06-25 15:33:53 +01:00
b56bb944f6
Rename 'Cut time' to 'Remove time'
...
'Cut time' implies that the cut timeline items might end up on the
clipboard to be pasted somewhere: this isn't the case at present, so rename
the functions, class, &c. to say 'remove' rather than 'cut'.
Rename insert_time_dialog.{cc|h} to insert_remove_time_dialog while we're
at it.
2015-06-17 17:15:21 +01:00
721608aef3
Update 'Cut time' to match 'Insert time', and fix cut-time moving range markers
...
Add options to move glued & locked markers to Editor::cut_time(), in line
with the insert_time() implementation.
Fix up the order in which operations apply to range marker start & end
points, to avoid problems when a range which lies after the cut point is
shorter than the length of the cut.
2015-06-17 17:15:21 +01:00
e234e98f13
Use 'Insert time' dialogue for 'Cut time' too.
2015-06-17 17:15:21 +01:00
292f704b30
Insert time: don't unlock markers we're not going to move anyway
...
Move checking for locked markers in Editor::insert_time() so it doesn't
happen if we're going to skip the marker because it's glued to musical
time.
2015-06-17 17:15:21 +01:00
34e1e00f8b
Insert time: fix moving of range markers
...
When inserting time and moving a range marker, move its end first, before
moving its start, so that if the time being inserted is greater than the
length of the range, we don't try to set its start to after its end.
2015-06-17 17:15:21 +01:00
nick_m
d019ee836c
Use a better pattern to avoid abort_reversible_command().
...
- also, duplicated regoins are now selected and some end-of sesion
bugs fixed there.
- should fix lack of tempomap undo in Editor::insert_time ()
2015-06-17 09:54:23 +10:00
nick_m
4c1d79af4a
Unbreak region brush drag wrt undo, avoid some dangling commands in the gui
...
- also allow moving of automation lines in internal mouse mode.
- this is also a first pass at ensuring that if an operation does
nothing, avoid an undo entry.
2015-06-17 09:54:22 +10:00
4aace9be68
new actions: allow user to set session start and end to playhead location
2015-04-27 15:59:03 -05:00
e2afdb21c3
minor tweaks to Cut Time dialog. Use an enum to tell preferred_edit_location what to ignore, so cut and insert dialogs will never use mouse location.
2015-04-21 10:22:28 -05:00
84f0dceefb
Port 'Cut time' code from Mixbus
...
Copy the 'Cut time' code from Mixbus, making a few obvious fixes to work in
A3 (e.g. nframes_t => framepos_t / framecnt_t).
Seems to work to move & remove markers, tempo & meter markers, and regions on
selected tracks.
Still TODO:
- use existing A3 'Insert time' dialogue
- make it respect 'No selection = all tracks'
- rename the command to something like 'Remove time' or 'Delete time': 'Cut'
sounds to me as if the removed range should end up on the clipboard ready
to be pasted somewhere, which of course it doesn't.
2015-04-21 10:22:27 -05:00
803853b4a4
rationalize incorrect design for removing tracks.
...
Still requires a way to make this work correctly from the mixer window
2015-04-06 17:56:23 -04:00
d05c09c1f6
consistent message session start->end.
2015-03-25 12:33:51 +01:00
5dc7866132
only temp. disable visual state saving.
2015-03-21 16:09:35 +01:00
f121d04d6d
vertical fit: hide tracks in-between
2015-03-21 16:09:35 +01:00
6874bca886
vertical scroll stop on automation lanes
2015-03-19 20:32:59 +01:00
45f874cfab
remove locate before loop, which was causing intermittent loop behavior
2015-01-30 10:26:27 -06:00
c7affd79c2
remove track-selection requirement so fit_selected_tracks works as coded. change name to fit-selection. remove action to zoom (both axes) because this can trivially be accomplished by clicking (f)it and (z)oom sequentially, and it frees a keybinding. remaining bug: Fitting a selection of MIDI regions doesnt work right
2015-01-11 11:46:36 -06:00
f7e3d1be2c
change Split menu entry to say Split/Separate (it was already doing that anyway). also fix a bug so you can drag the playhead and split at the playhead location
2015-01-08 16:00:49 -06:00
a4f7c21ec3
now that regions and range selections are exclusive, the separate actions to set ranges or zoom to selections are redundant. save some menu entries and keybindings by consolidating them. also consolidate some code with new function get_selection_extents(). as a side-effect, this checkin fixes the assert failure in play_with_preroll
2015-01-07 15:31:30 -06:00