summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
AgeCommit message (Collapse)Author
2018-08-24use new CoreSelection methods in editor and mixerPaul Davis
2018-07-27new_grid: The Return of the snap_to_X functions.Ben Loftis
We no longer assume that Snap always uses the visible ruler lines. If you want to snap to the grid, and ignore the users zoom scale, use SnapPref::SnapToGrid_Unscaled This fixes 2 (known) oversights: "snap region(s) to grid" and "regions whose start are left of the canvas edge".
2018-06-08Allow snapping to the start of the video timeline. (should work, but needs ↵Ben Loftis
testing on a machine with harvid).
2018-05-17Playhead to Grid: handle case where PH is rolling, and we are prevented from ↵Ben Loftis
skipping backwards sensibly.
2018-05-08playhead_X_to_grid: Handle the case of GridTypeNoneBen Loftis
2018-05-08Arrow keys (playhead_x_to_grid()) should move the view along with it. This ↵Ben Loftis
is more consistent with jog-wheel operation, which has proven to work nicely.
2018-03-28fix undo/redo for duplicate-regions in ripple modePaul Davis
Also fix duplicate of multiple regions in the same track, and change "gap" variable name to "span" for greater clarity
2018-03-27duplicate (regions) should honor ripple edit modePaul Davis
2018-02-27Reinstate the ability to split regions while dragging playhead. I think ↵Ben Loftis
this was unintentionally lost.
2018-02-27Remove some redundant calls to snap_to(). get_preferred_edit_position() ↵Ben Loftis
already did it.
2018-02-26Should be able to Split in range mode, with a selected track.Ben Loftis
2018-02-26Fix bug: sequential pasting to the same time, but different tracks, would ↵Ben Loftis
trigger paste offset.
2018-02-24Fixes for region_boundary_cache:Ben Loftis
If no region-snaps are defined, bail out before generating cache. Avoid potential overflow at max_samplepos+1 Snap should continue to work beyond the End marker.
2018-02-24NO-OP: whitespaceRobin Gareus
- remove trailing whitespace - remove space after opening brackets and before closing brackets - add space around operators - do not use '//' for multi-line comments, do not use "//" on line-start to comment-out code breaking indenting (-Wmisleading-indent) - do add a single space after comment-start /*{SPACE}... or //{SPACE}... - reserve duplicate whitespace " " for alignment, remove other duplicate whitespace - use established "TODO" and "XXX" (highlighted keywords) - remove equal-sign series "====" (those indicate merge conflicts)
2018-02-23Tell the user why Insert/Remove Time failed, rather than fail silently.Ben Loftis
2018-02-11SoloSelection: gui part.Ben Loftis
2018-02-09new_grid: Rewrite of Snap and Grid. (squashed commit)Ben Loftis
Separate Snap from Grid. Lots of naming changes. Multiple simultaneous snap options allowed. Grid is one of the possible Snap options. Grid uses the same data as the rulers. Replace complicated tempo_lines with simple grid_lines. The Grid is zoom-scale-sensitive along with the rulers. If you are zoomed out, grid becomes coarser.
2017-12-12NO-OP: whitespaceRobin Gareus
2017-12-11zoom-to-selection should clear the selection, afterwards.Ben Loftis
2017-11-23Remove unreachable code.Robin Gareus
if (working_on_selection) { ... } else { if (working_on_selection) { .. never reached .. } } Found by PVS: https://www.viva64.com/en/b/0540/
2017-10-26remove unused variablePaul Davis
2017-09-24convert codebase to use Temporal for various time typesPaul Davis
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
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-18changes required to operate with the Evoral::Beats ticktime commitPaul Davis
2017-09-18no more per-track varispeedPaul Davis
2017-08-26Editor zoom: add zoom_to_extents()Ben Loftis
2017-08-26Editor zooming: Config preference to define how much zooming will be easily ↵Ben Loftis
allowed beyond the session_ui_extents()
2017-08-26Editor zooming: refactor zoom-limiting code into editor::session_gui_extents.Ben Loftis
2017-08-23Use new separate_by_channel APIRobin Gareus
2017-08-22Mark session dirty after applying MIDI transformRobin Gareus
2017-08-07slight tweak for more code consistency between ::toggle_solo() and ↵Paul Davis
::toggle_mute()
2017-08-07Improve Track > Toggle Solo/Mute, include VCAsRobin Gareus
2017-08-06Update Remove Track(s) dialog to include VCAsRobin Gareus
2017-08-06Allow to select VCAsRobin Gareus
2017-07-27Fix pasting automation at 0Robin Gareus
2017-07-25Fix #6280 – region (first_frame()==0) selectable with SnapRegionBoundaryJohannes Mueller
Issue #6280 states that when selecting ranges using SnapToRegionBoundary it's not possible to select regions with first_frame() == 0. This is because Playlist::find_next_region() does not consider region boundaries == pos but only > pos. Thus it never considers pos == 0 to be a region boundary. This solution tries to be as little invasive as possible without changing the semantics of PlayList::find_next_region(). Therefore position 0 is added to the region boundary cache if there's a region starting at position 0 in any track.
2017-07-22Rework region selection XMLnick_m
Ensures that selection is restored in the same object type order it was created in, which may some day make a difference.
2017-07-22Cropping a single region to time selection works for multiple rangesnick_m
Should fix 7285.
2017-07-22Add missing braces to Editor::cut_copy conditionalnick_m
2017-07-22Editor::playhead_forward/backward_to_grid snaps even in magnetic modenick_m
2017-07-19Rationalize Editor Zooming: make it harder for user to step into ridiculous ↵Ben Loftis
zoom-out scales.
2017-07-17Remove ArdourPrompter wrapperRobin Gareus
2017-07-17Remove <gtkmm.h> include from header files.Robin Gareus
2017-07-17Move more Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-06-21GUI: prepare for API changesRobin Gareus
remove use of - unbound_min/max - list->default_value and min/max_y
2017-06-17NO-OP: whitespaceRobin Gareus
2017-04-29Add a "select topmost" track editor actionRobin Gareus
2017-03-10Fix crash when removing time from track with automationTim Mayberry
Resolves : #7287