Commit graph

588 commits

Author SHA1 Message Date
Paul Davis
60bb0b5f58 substantive changes to the logic and safety for naming of (audio/MIDI) sources, especially when created via import
Conflicts:
	libs/ardour/import.cc
2014-08-16 18:02:22 -04:00
Robin Gareus
40ffd0600b towards region-trims preserving fade duration 2014-08-16 17:58:34 -04:00
Robin Gareus
4e55433457 update x-fade context-menu 2014-08-16 17:56:09 -04:00
Paul Davis
c752167ccc change return type of Editor::axis_view_from_route() 2014-08-16 16:56:28 -04:00
Colin Fletcher
80f04cc298 Ripple mode: basic implementation
Add a value for Ripple to EditMode enum.

Add Ripple edit mode to edit mode dropdown, by adding it to the
Editor::build_edit_mode_menu() helper function, and remove the old code that
added items to the (now unused) Editor::edit_mode_strings.

Add the regions that should be affected by the drag to RegionDrag::_views so
that the drag carries them along automatically.

Use a copy of the RegionList in Playlist::core_ripple(), since bad things
happen when iterating over regions and they get moved around in the list.

Handle rippling in removal of regions from playlist.

When dragging in ripple mode, exclude all regions that lie before the
original start position of the selected regions being dragged from
rippling: this is what Mixbus does.

Make editor dragging respect snap-to settings, by using the existing
compute_x_delta() function, which did almost the right thing. Move setting
of _last_frame_position out of that function so all ripple-dragged regions
can move.

Ripple when dragging from region list: even though Mixbus doesn't do this, it
seems like a good idea.

Prevent multi-track selection being dragged across tracks, by making
RegionMotionDrag::y_movement_allowed() virtual, and overriding it in
RegionRippleDrag to forbid dragging of selections containing regions on more
than one track to dofferent tracks in ripple mode.

Remember which TimeAxisView a ripple-mode drag that's allowed cross-track
drags started from, so that the effect of rippling regions after any region
that's dragged off that track can be undone.
2014-08-16 16:36:03 -04:00
Paul Davis
e08ec37f69 "sequence regions" operation (remove space between selected regions) added, c/o Thomas Brand 2014-08-16 16:10:38 -04:00
Ben Loftis
cbddc02511 cherry-pick 6bcee4e9 then manually resolve conflicts (via git rerere) 2014-08-15 22:07:59 -04:00
harrison
c7d4ce1399 cherry-pick b9708d5f6b, then manually resolve conflicts (thanks git rerere) 2014-08-15 22:06:18 -04:00
nikolay
6809921555 [Summary] Session auto save
[Reviewed] GZharun
2014-08-13 15:17:51 +03:00
nikolay
6270ee768f [Summary] Added menu item "Delete selected tracks". Refactoring of the RouteUI::remove_this_route(). Bug fix in top bar (set menu items "Move this track up/down" not selectable in case of Master was selected).
[Reviewed] GZharun
2014-08-13 11:21:11 +03:00
GZharun
7a410d5a45 [Summary] Refactored master ui according to requirements
[Details] Changed global MUTE button
Made Master UI selectable
Refactored "show master bus in the inspector" usecases
2014-08-13 10:43:03 +03:00
VKamyshniy
65035584c9 [Summary] Adding the TRACKs specific meter bridge view. 2014-08-11 12:56:58 +03:00
nikolay
faf47b3b78 [Summary]
1. Changed Ardour's random color generator to Tracks's
MixerStrip::palette_random_color()
2) Apply selected color to all activated routes
MixerStrip::color_button_clicked (WavesButton *button)
3) Set black default color to new added tracks
[Review] GZharun
2014-08-08 13:13:04 +03:00
GZharun
d1413f60a6 [Summary] Implemented use case to show and select master bus on MasterLevelMeter click 2014-08-05 16:18:08 +03:00
GZharun
6acabf15ce [Summary] Implemented master bus use cases for inspector track view
[Details] 1. Made master bus shownable in inspector when no track selected in StereoOut, StereoOut mode has just been enabled, or there is no tracks at all in StereoOut.
2. Made master bus hidden in MultiOut mode in any case.
2014-08-04 14:35:13 +03:00
GZharun
6f215a3537 [Summary] Added new track creation by double click under the list of tracks. Removed New Track menu appearance on the right click on the same region 2014-08-01 10:45:28 +03:00
VKamyshniy
0f3f0d0a4a [Summary] Implementing synchronously changed tracks/busses selection in the editor and embedded mixer bridge view. 2014-07-29 09:29:40 +03:00
VKamyshniy
f2251dd1c2 [Summary] Progressing UI 2014-07-28 11:06:02 +03:00
VKamyshniy
0ef3ed02c1 [Summary] Progressing UI 2014-07-27 09:36:49 +03:00
nikolay
281394cf91 [Summary] Alt+Click on horizontal fader to set its value to default
[Review] Nobody
2014-07-22 15:21:08 +03:00
VKamyshniy
dd51b638bc [Summary] Progressing embedded meterbridge 2014-07-20 18:02:36 +03:00
VKamyshniy
a5caa2778b [Summary] Progressing TRACKS Meter Bridge (invented name = compact meter bridge) 2014-07-19 18:32:45 +03:00
VKamyshniy
596e3b9140 [Summary] Progressing MASTER UI and occasional cleanup 2014-07-16 00:12:14 +03:00
VKamyshniy
44dcd48be4 [Summary] Progressing MASTER UI 2014-07-15 00:44:46 +03:00
VKamyshniy
3833e3b627 Merge branch 'master' of git.waves.com:waves/tracks 2014-07-04 18:04:39 +03:00
VKamyshniy
ebe7c829e4 [Summary] XML-izing MIXER STRIP UI 2014-07-04 18:00:45 +03:00
nikolay
f28dcaa77f [Summary] Implementation of the AUTO LOCK TIMER and minor improvement of session_lock_dialog
[Review] GZharun
2014-07-03 17:52:57 +03:00
Paul Davis
385629b8c3 add timer-based trigger for locking.
Also changed the lock dialog to be a normal Gtk::Dialog because ArdourDialog forwards events to the Editor.
Not sure if this is true for WavesDialog at present.
2014-06-25 08:37:10 -04:00
Paul Davis
c7e7940364 add Editor::lock() and Editor::unlock() and the to-be-replaced Lock dialog from Ardour 2014-06-25 08:00:11 -04:00
Valeriy Kamyshniy
b25e95ef60 [Summary] Adding ZOOM TOOL actions.
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 464697]
2014-06-03 20:24:00 -04:00
Valeriy Kamyshniy
0089053814 [Summary] Rearranging transport toolbar and other tools in editor window
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 461983]
2014-05-20 09:12:48 -05:00
Valeriy Kamyshniy
5f65b603ad [Summary] Rearranging transport toolbar and other tools in editor window
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 461669]
2014-05-19 17:28:29 -05:00
Grygorii Zharun
ce2a519afa [Summary] Merging from GIT
[Details] Starting point:
Mar 24 2014, 11:47 PM
Commit: 87184ab80d

Target point:
Commit: 59e6694405
Apr 16 2014, 4:01 PM

[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 453690]
2014-04-18 04:21:54 -05:00
Valeriy Kamyshniy
210689572b [P4/git history rebuild] further changes related to this codebase missing Ardour canvas autoscroll commits. Hopefully to be undone later by commits from a merge by Paul and Grygorii 2014-05-27 21:19:58 -04:00
Paul Davis
4f7d94ea67 latest tweaks to autoscroll: symmetrical boundary on both sides, stop runaway scrolling, and more 2014-03-21 09:49:35 -04:00
Paul Davis
65b4308c84 first pass at quantizing vertical scroll to whole tracks.
Dragging regions vertically does the quantization BUT speed control is lacking and the region ends up on
a track that is still invisible ... to be fixed as the sun rises.
2014-03-21 07:02:32 -04:00
Paul Davis
9df3157dfc big rework of scrolling, horizontal part considered almost 100% done.
Many more changes than I would typically like in a single commit, but this was all very intertwined.
Vertical scrolling using track-stepping still to follow.
2014-03-20 13:29:45 -04:00
Paul Davis
5cbb60d339 fix display of time selection rect(s) when switching mouse modes 2014-02-26 10:50:51 -05:00
Paul Davis
c04285addf convert canvas_event_frame() and window_event_frame() to canvas_event_sample() and window_event_sample() to go along with the convention adopted in cairocanvas code re: frames+samples 2014-02-26 08:43:53 -05:00
Paul Davis
d00dc6a706 various work to make loop/punch display work better (including fixes for bugs present in master also) 2014-01-27 21:27:13 -05:00
Paul Davis
d23c2499bf rationalize, consolidate and make work dbl-click editing for regions and markers, as part of the Drag model rather than discretely 2014-01-27 10:09:58 -05:00
Paul Davis
b2895eaa50 fix visibility of punch and loop rects.
They used to be in the time_line_group but this is regularly cleared of all its members (which were assumed to be time lines).
2014-01-26 14:04:23 -05:00
Paul Davis
84f55440a3 fix redrawing of canvas with an optimized build
Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number,
which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events
would be delivered to the canvas in an optimized build during drags (and maybe more).
2013-12-23 15:35:49 -05:00
Robin Gareus
dc7878760d vtl: do not lock audio [to video] when extracting audio-only. 2013-12-23 10:28:32 +01:00
Paul Davis
ea1ccb869a fix merge with master 2013-10-31 13:16:51 -04:00
Colin Fletcher
abb05680b4 Make double-click on marker pop up rename dialogue. 2013-10-25 17:03:45 +01:00
Colin Fletcher
89193dc40b Add a double-click handler for items in the editor window. 2013-10-25 17:03:45 +01:00
Paul Davis
e5888d3983 merge with master and fix 2 conflicts 2013-10-16 22:06:56 -04:00
Robin Gareus
c2b2953f8c export video-range: add to context menu 2013-10-12 22:56:08 +02:00
Colin Fletcher
1da655c2eb Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-08-08 15:24:15 -04:00