Commit graph

454 commits

Author SHA1 Message Date
Nikolay
86f858c82b [Summary] Embed (DRAG-nDROPped) file with different sample rate DIALOG
[Feature reviewed] Mykhailo Kosharnyy
[Reviewed] YPozdnyakov
2015-01-15 18:23:41 +02:00
Nikolay
894959ead8 [Summary] Bug #44605 "Zoom out with key "-" leads Tracks to SWOD or crash"
[Reviewed] YPozdnyakov
2015-01-14 11:28:21 +02:00
GZharun
5f6020efad [Summary] Removed master track 2015-01-12 10:32:12 +02:00
GZharun
012e1811d1 [Summary] Fixed range specific context menu operations making them non related to selected track header 2015-01-09 10:36:17 +02:00
GZharun
d7cbd9ef0c [Summary] Fixed bug with incorrectly selected regions after paste 2014-12-27 01:07:27 +02:00
GZharun
8db6861fa2 [Summary] Implemented waveform zoom. Added feature to save waveform zoom state with the session. 2014-12-27 00:56:21 +02:00
Nikolay
13c45a865a [Summary] Vertical zoom performance improvement sugested by Valery
[Reviewed] VKamyshniy
2014-12-24 18:18:13 +02:00
GZharun
b5d7da6142 [Summary] Restricted placing markers closer then one frame by + button and mouse double click
[Reviewed by QA] MKosharnyy
2014-12-18 11:40:49 +02:00
GZharun
fc5d97edc2 [Summary] Fixed bug 44136. Region was not selected after paste operation 2014-12-17 18:31:57 +02:00
Nikolay
9a9f9eb878 [Summary] Allow to set waveform colour in the Preference Panel 2014-12-12 11:03:16 +02:00
GZharun
ff619cbdb6 [Summary] Fixed issue when righthand region was not selected after cut (with cut tool) 2014-12-09 15:37:22 +02:00
Nikolay
d9e0a534a5 [Summary] Message Dialog rework
[Reviewed] VKamyshniy
2014-12-09 11:57:30 +02:00
GZharun
930b87d8e1 [Summary] Reworked range selection according to PRD
[Details] Eliminated range selection relation to track header selection
Made range drag with region cut/copy reversible
Fixed bugs

Still to do with range selection: shift+click support, Enable Group Edit operation
2014-12-04 15:44:17 +02:00
VKamyshniy
fa02cb2f6e [Summary] SET Zoom Focus to PlayHead when zooming by the slider in top bar. 2014-11-27 15:34:27 +02:00
VKamyshniy
8a9f8de8f2 [Summary] Debugging info added to exchange with other bug hunters. 2014-11-25 18:59:12 +02:00
Paul Davis
f8d4b66205 a few tweaks to zoom computations so that zoom-to-range works correctly 2014-10-22 09:17:00 -04:00
GZharun
048d03ecd8 [Summary] When range sellection covers multiple regions all of them will be processed by range drag 2014-10-01 17:56:06 +03:00
GZharun
2abdc5a66c [Summary] Made route selected after cut even if there were no selected route before. 2014-09-30 16:27:10 +03:00
GZharun
d798a8fc49 [Summary] Made only right side regions selected after cut 2014-09-30 11:29:19 +03:00
GZharun
ea7ba3ed57 [Summary] Made correct region to be cut, when multiple rage selection are present. 2014-09-29 18:38:38 +03:00
GZharun
d006e75f43 [Summary] Implemented range drag functionality as required by PRD
[Details] Range cuts region when dragged, range copies region when dragged with Alt pressed
2014-09-25 17:55:07 +03:00
Paul Davis
d7f37c9bab do not stupidly try to save punch/loop/session ranges during clear_ranges op 2014-09-17 16:29:36 -04:00
Ben Loftis
0e44be211c fix various loop-initiation faults 2014-09-17 07:06:05 -04:00
Colin Fletcher
98bf6497b8 Make zoom-to-session include regions currently being recorded 2014-09-17 07:06:05 -04:00
Ben Loftis
93a20f469d fix Play Loop from range context menu 2014-09-17 07:06:03 -04:00
Paul Davis
b5491ad6d3 use Marker::default_new_marker_prefix 2014-09-11 17:00:18 -04:00
Paul Davis
7ee8dd4159 use Editor::reset_controls_layout_height() when resetting height after fit_tracks(), rather than tweaking it directly 2014-09-04 10:50:43 -04:00
Ben Loftis
7d0bfeadd8 Add some new zoom-to-selection actions, so zoom tool is less needed.
Reverse order of items in the zoom menus to match Ardour.
Consolidate the extra zoom math into a function;  this fixes a problem in zoom-to-session.
2014-08-18 12:42:16 -04:00
Paul Davis
9b240978a7 add Editor::trackviews_height() convenience function to determine height of trackview area of canvas; use to help fix set_visible_track_count(); don't consider hidden tracks in that function; add "Selected" to that selector menu 2014-08-18 12:30:22 -04:00
Paul Davis
90502b200d scroll up/down by tracks uses top edge as "focal point"; fix some other nasty code details 2014-08-18 12:23:52 -04:00
Paul Davis
f6fd3d18b9 restore correct functioning of fit-tracks, which was mistakenly removed because of a failure to understand its complexities 2014-08-17 21:12:15 -04:00
Paul Davis
10becc1411 add "fade range" operation, bound to alt-f at present by default 2014-08-17 21:00:59 -04:00
Ben Loftis
31ffc2aa85 fix thinko with split selections. also ignore follow_edits when we are splitting, because the playlist freeze and the newly added regions cause the playhead to jump to unexpected locations 2014-08-17 20:44:22 -04:00
Paul Davis
3b0ce4038e initial implementation of "bring all media into session folder". Incomplete but basically functional for audio files 2014-08-17 20:43:49 -04:00
Ben Loftis
2e3acae230 now that track and region selections are mutually exclusive, you need a separate action to select-all-tracks and select-all-regions. also, preserve region selection during a split, iff we are working on a region selection: only add the newly created regions, dont change anything else in the selection; leave that in control of the user 2014-08-17 20:38:04 -04:00
Ben Loftis
f0d7b35bc7 new approach to selections which will help rationalize Split and similar functions. Object and Track selections are now mutually exclusive. a split will happen at (a) selection->regions (b) the intersection of edit_point and selection->tracks or (c) the region under the mouse, IFF nothing else is selected. 2014-08-17 20:37:37 -04:00
Ben Loftis
d4ca0151b4 further rationalization of the editor. after a split, ardour was switching the tool to object mode. this is the only place were ardour switched the tool for the user. that has been removed. Delete operation should not depend on the mouse mode, but rather the existence of selections. this solves the problem where you have selected regions in smart mode, but cant delete them because the mouse is in the top half (fange mode) of a track 2014-08-17 20:37:31 -04:00
Paul Davis
e33f682577 add new regions created by split to selection after operation is complete 2014-08-17 20:35:57 -04:00
Ben Loftis
a15ab33edf lots of keybinding changes. added a new action to allow removing markers at the playhead location. numpad now allows you to access marks higher than 9. to locate to a marker, use the numpad decimal to start and end the operation - for example press .19. to locate to marker 19. also added alternate bindings for redo, delete, and several other alternates that will be needed in subsequent commits. tab is not working, using either Tab or nabla in the binding.in file
Conflicts:
	gtk2_ardour/ardour_ui.cc
2014-08-17 20:35:46 -04:00
Ben Loftis
2be8f11a3e fix the naming and behavior of always-play-range to match the button, which is follow-edits. when you select a range, the playhead should jump to the start of the range and begin to play the selection. BUT (unlike previous implementation) if the user wants to relocate the playhead, then that should be allowed. The user should always remain in charge of the playhead location. NOTE: your previous config setting will be invalidated. You must re-save a session to overwrite with the new config variable 2014-08-17 20:34:46 -04:00
Paul Davis
fbad093b59 simplify zooming, remove Editor::clamp_samples_per_pixel(), fix getting "stuck" at max and min zoom levels 2014-08-17 20:34:07 -04:00
Colin Fletcher
1f3d036bf8 Remove unused code
This code was changed to implement ripple mode, but meanwhile it was
removed altogether in cairocanvas. Remove it here too to simplify merging.

Conflicts:
	gtk2_ardour/editor_ops.cc
2014-08-17 20:31:08 -04:00
Robin Gareus
94632100a6 suspend route redisplay for (rec-en, solo, mute and monitor) batch changes
Conflicts:
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/route_ui.cc
2014-08-17 19:56:45 -04:00
Robin Gareus
3e4c9fcea2 use state Session::StateProtector 2014-08-17 19:48:51 -04:00
Paul Davis
21c26c8688 replace old implementation of Editor::_ensure_time_axis_view_is_visible() with the guts of Editor::ensure_track_is_visible(), then remove the latter.
Also change all users of ensure_track_is_visible() to use _ensure_time_axis_view_is_visible()
2014-08-17 19:47:36 -04:00
Paul Davis
50c5ba16b8 add ability to save current action sensitivities and restore them, and to disable all action sensitivity.
This is needed to be able to lock the application fully on OS X, where the global menu bar would still allow interaction
even when a modal dialog is displayed.

Conflicts:
	gtk2_ardour/editor.h
	gtk2_ardour/editor_ops.cc
	gtk2_ardour/verbose_cursor.cc
2014-08-17 19:45:04 -04:00
Robin Gareus
a17616f1da move utility functions into a dedicated namespace
Conflicts:
	gtk2_ardour/about.cc
	gtk2_ardour/editor_ops.cc
2014-08-17 18:51:22 -04:00
Paul Davis
8473bd72e1 remove unused code
Conflicts:
	gtk2_ardour/editor_ops.cc
2014-08-17 18:45:50 -04:00
Paul Davis
2e8f7c5c93 a set of inter-related subtle changes to get vertical autoscrolling to work, or at least work better. 2014-08-17 15:33:01 -04:00
Paul Davis
1776e12f26 remove header file includes of now-removed gtk custom ruler 2014-08-17 15:07:49 -04:00