summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
AgeCommit message (Collapse)Author
2010-12-09fix computation of silence text, and its display. it is still not on top of ↵Paul Davis
the canvas, which is a small problem git-svn-id: svn://localhost/ardour2/branches/3.0@8227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09make strip silence work (again?)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-08move display of silence for strip-silence into regionviews, along with text ↵Paul Davis
to describe impact on the region. this doesn't actually make strip-silence work any better, but the display is improving git-svn-id: svn://localhost/ardour2/branches/3.0@8224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07fix infinite loop in quantize setupPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8204 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25Fix some messed up code (spacey tabs).David Robillard
(There is faar more of this... FIX YOUR EDITORS!) git-svn-id: svn://localhost/ardour2/branches/3.0@8086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-23make region trim keybinding work again; don't show quantize dialog if its ↵Paul Davis
not relevant (no MIDI regions selected git-svn-id: svn://localhost/ardour2/branches/3.0@8076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16Move mouse cursor stuff out of Editor into its own class.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-06Fix crash on clear current playlists (#3524).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-04Tidy up close gap dialogue box.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-03Tidy up the region menu a bit, and hopefully clarify what regions will beCarl Hetherington
operated on in different circumstances. Make the main menubar Region menu the same as the context one, and use the same logic to sensitize/desensitize actions for them. git-svn-id: svn://localhost/ardour2/branches/3.0@7954 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-29Similarly don't use the edit point to decide what to reset region gain on.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-29Don't include edit-point-related regions when choosing what to normalize.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-28Make normalize cancel button work.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-28Fix up progress bar on normalization.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-27Improve efficiency of normalization using multiple regions in some cases.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-27Use ProgressReporter class for normalization. Report progress for ↵Carl Hetherington
individual regions. Fix crash on normalising a single region (#3510). git-svn-id: svn://localhost/ardour2/branches/3.0@7924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-26Move normalize dialogue to its own file. Add progress bar. Clean up ↵Carl Hetherington
labelling. Should fix 2825. git-svn-id: svn://localhost/ardour2/branches/3.0@7923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-20Clean up get_regions_for_action prototype slightly.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-19Modify get_regions_for_action to fix #2960. Rationale is in the comment for ↵Carl Hetherington
that method. This method is used a lot, so this commit may have unwanted side-effects. git-svn-id: svn://localhost/ardour2/branches/3.0@7908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-22much craziness with canvas cursors; fix 0 beat cursor text when shortening ↵Paul Davis
notes; fix crash when trimming locked regions; don't show trim cursors when region is locked; partial version of enumwriter validation fix from 2.X (less necessary with 3.0; probably more ... git-svn-id: svn://localhost/ardour2/branches/3.0@7831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21lincoln's patch that makes us pay attention to region copies w.r.t the ↵Paul Davis
region list, PLUS make region list insert drags work again by not insisting that the list of regionviews be non-empty as the drag is constructed PLUS the start of tracking mouse cursor position in MIDI notes PLUS a bit of leftover debugging info git-svn-id: svn://localhost/ardour2/branches/3.0@7817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20Add progress bar to strip silence dialogue. Fixes #3103.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-19Put images on the fade in/out menus. Fixes #3411.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus patch #2 for today: remove nframes64_t and sframes_t from sourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus commit: (1) add __STD_(LIMIT|FORMAT)_MACROS to command line flags ↵Paul Davis
for cc and c++ builds, remove them from source (2) add new Property::midi_data used by MidiRegion to signal that its (MIDI) contents have changed (3) massive switch from nframes_t to framepos_t/framecnt_t including removal of ARDOUR::max_frames (replaced by ARDOUR::max_frame{pos,cnt} (lots more to do but this set was driven by changes to the Diskstream API to use framepos_t git-svn-id: svn://localhost/ardour2/branches/3.0@7791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-15fix crash caused when deleting a region without a playlist PLUS make it ↵Paul Davis
impossible to select a region without a playlist (i.e. part of an unfinished capture pass). fixes #1502 git-svn-id: svn://localhost/ardour2/branches/3.0@7779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14remove Glib::ustring from gtk2_ardourPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-07Trim some debug output.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-06Cleanup of region drag code to be a bit more efficient and shorter. Fixes ↵Carl Hetherington
crashes when dragging regions to the wrong track type. git-svn-id: svn://localhost/ardour2/branches/3.0@7744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02Paste to the source of a copy if there are no selected tracks (rather than ↵Carl Hetherington
using the track under the mouse). Fixes #3333. git-svn-id: svn://localhost/ardour2/branches/3.0@7729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-29Fix up some inconsistencies in handling of region sync points.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7706 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-26Fix crossfade undo using the stateful diff system. Fixes #3257.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-25clear_history -> clear_changes and some comments.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-17forward port 2.X changes up to and including rev 6767Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-12Add option to normalize across all selected regions. Clean up the region ↵Carl Hetherington
context menu a bit with respect to its handling of multiple selected regions. git-svn-id: svn://localhost/ardour2/branches/3.0@7611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-11Add option to insert time to move glued / locked markers. Fixes #3393.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-11Move insert time dialog to its own file.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09Fix fitting of automation tracks. Fixes #3384.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09Allow markers to be glued to bar/beat time. Fixes #1815.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-24step editing now accessed via a context menu on MIDI track rec-enable ↵Paul Davis
buttons. along the way, fixed up confusion between set_rec_enable() and set_rec_enabled() methods in Route/Track/Diskstream git-svn-id: svn://localhost/ardour2/branches/3.0@7482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06beat slicing patch #1 from lincoln spiteriPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28split when in range mode or object/range mode with a range defined will now ↵Paul Davis
split at teh range boundaries, rather than just the edit point git-svn-id: svn://localhost/ardour2/branches/3.0@7312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28Add an EnumProperty for enumerated properties and hence make ↵Carl Hetherington
Region::position_lock_style a stateful property. git-svn-id: svn://localhost/ardour2/branches/3.0@7306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23midway snapshot of work done on managing Region & Source lifetimes ↵Paul Davis
correctly. may fix missing MIDI file bug ; save empty playlists because they may be referred to by the history file ; undo commands auto-delete when objects they refer to die (currently not commands built from XML deserialization); Sources now know how many regions are using them for something, meaning that we know if we can delete the files holding any data for the source git-svn-id: svn://localhost/ardour2/branches/3.0@7291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-16prevent removal of master/monitor busses without explicit (and hard to set) ↵Paul Davis
approval git-svn-id: svn://localhost/ardour2/branches/3.0@7265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-10Preserve region state as well as playlist state in undo of bounce range. ↵Carl Hetherington
Fixes #3234. git-svn-id: svn://localhost/ardour2/branches/3.0@7252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-20(1) make quantize actually use the main grid setting and not just default to ↵Paul Davis
beats (2) apply quantize to all notes if none are selected git-svn-id: svn://localhost/ardour2/branches/3.0@7126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-19MIDI region forking, plus Playlist::regions_to_read() fix forward ported ↵Paul Davis
from 2.X. region forking requires a few cleanups git-svn-id: svn://localhost/ardour2/branches/3.0@7118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-11Fix track height menu.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7093 d708f5d6-7413-0410-9779-e7cbd77b26cf