summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_actions.cc
AgeCommit message (Collapse)Author
2015-04-05Lock, Lock & LockRobin Gareus
2015-03-26fix thinko on bounce actionsBen Loftis
2015-01-11remove track-selection requirement so fit_selected_tracks works as coded. ↵Ben Loftis
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-08change Split menu entry to say Split/Separate (it was already doing that ↵Ben Loftis
anyway). also fix a bug so you can drag the playhead and split at the playhead location
2015-01-08Show Measure Lines instead of Show MeasuresBen Loftis
2015-01-07now that regions and range selections are exclusive, the separate actions to ↵Ben Loftis
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-02Add automation track control points to undo history (and selection_op history).nick_m
2015-01-02Make editor undo/redo actions sensitive at appropriate times.nick_m
2015-01-02Separate selection operations into their own temporary history mechanism.nick_m
The user can now replay *all* earlier selection operations until the next session undo/redo command, or the completion of a new operation. Nothing relating to selection ops is stored, and selection operation history is begun on first idle. Selection operation history is fundamentally different from the history of operations which act on a selection in terms of both their viewport and the amount of information required to replay them. WRT undo, the user of a selection op doesn't care about the viewport state at the beginning of an op, but rather that at the end of the previous one.
2014-12-28MIDI transform dialog.David Robillard
2014-12-22consolidate zoom-to-range and zoom-to-regions into: zoom-to-selection. ↵Ben Loftis
ToDo: zoom to selection of midi notes, control points, tracks(?)
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-12-18Remove internal edit mode and add "content" tool.David Robillard
2014-12-09add set-session-extents-from-edit-rangeBen Loftis
2014-12-07Unify gain and draw tools.David Robillard
There might be a few special cases lingering around from attempts at magic tool business, but this seems to work fine as far as I can tell.
2014-12-06Add legatize and remove overlap MIDI operations.David Robillard
We're going to need the ability to apply MIDI edit operations to a note/control selection soon...
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-10-21remove mouse zoom mode; bind z to zoom-to-rangePaul Davis
2014-10-02Text tweaks and typo fixesColin Fletcher
2014-09-17add action and menu item to control use of skip playbackPaul Davis
2014-07-29Consistent styling for toolbar buttons.David Robillard
All the different looks here didn't seem to convey anything useful to me, and looked sloppy. I went with the style of the transport button. It would be nice if we could style button elements like Inset in the configuration, but this would require some work.
2014-07-24Add track-rec/mute/solo actions to menu, so users can bind themBen Loftis
Make Fit-Tracks sensitive to track selections
2014-07-23Add some new zoom-to-selection actions, so zoom tool is less needed.Ben Loftis
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-07-14(Mixbus profile only) tentatively remove the Zoom and Cut tools, to save ↵Ben Loftis
space in the toolbar and reduce some highly redundant functions
2014-07-14remove EditAtSelectedMarker for Mixbus, to match mb2. (also fix an existing ↵Ben Loftis
thinko in the edit point selection actions) (oops: also fix previous track selection fix so that it pays attention to the selection property of the group)
2014-07-10add "fade range" operation, bound to alt-f at present by defaultPaul Davis
2014-07-08initial implementation of "bring all media into session folder". Incomplete ↵Paul Davis
but basically functional for audio files
2014-07-07add basics of Cut mouse mode, no functionality yet. Icon images are still ↵Paul Davis
required
2014-07-06remove some cruft with previous commits. remove option ↵Ben Loftis
link-region-and-track-selection since they are now exclusive, and rename select-all-regions to select-all-objects to match the implementation
2014-07-06now that track and region selections are mutually exclusive, you need a ↵Ben Loftis
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-07-06Q and W jump between markers. this puts them right next to Tab which ↵Ben Loftis
creates and deletes markers. numpad left/right arrows are an alternate action for this
2014-07-04rename the action that cycles through edit modes, since there are more than twoPaul Davis
2014-07-03lots of keybinding changes. added a new action to allow removing markers at ↵Ben Loftis
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
2014-07-02start-range and finish-range should graphically show the range being ↵Ben Loftis
created. also add bindings for comma and period in addition to existing bindings which require a numpad. the old ones are now alternates. all primary functionality should appear on the qwerrty, and the numpad should be considered an ergonomic redundant alternative if you have one
2014-07-01splice mode is undefined, undocumented, and buggy. ripple does most of what ↵Ben Loftis
we want. remove splice for now. leave code because it may be revived later
2014-07-01Merge branch 'ripple-mode-cc' into cairocanvasColin Fletcher
Fix up merge conflicts in gtk2_ardour/editor_mouse.cc gtk2_ardour/editor_ops.cc Also fix up compile errors.
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-25Rename PBD::find_file_in_search_path to just PBD::find_fileTim Mayberry
saves a bit of typing and not necessary if you look at how it is used.
2014-06-24add ability to save current action sensitivities and restore them, and to ↵Paul Davis
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.
2014-05-07Ripple mode: basic implementationColin Fletcher
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-05-01correctly set up ruler preferences for get_trx() == true casePaul Davis
2014-04-29"sequence regions" operation (remove space between selected regions) added, ↵Paul Davis
c/o Thomas Brand
2014-04-10first pass hiding/rearrangement of UI elements related to trxPaul Davis
2014-03-26the FlatFace element is no longer relevant. instead it was being used for an ↵Ben Loftis
inset jeweled look. changed name to match
2014-03-23New theme for editor window using ArdourMenuharrison
2014-02-25the forgotten second (amend to prev commit)Robin Gareus
2014-02-25fix prev_snap_choice() key="3" bindingRobin Gareus
2014-01-27various work to make loop/punch display work better (including fixes for ↵Paul Davis
bugs present in master also)
2013-06-13merge with masterPaul Davis
2013-06-14s/Framenumber/Frame number/Robin Gareus