13
0
Commit Graph

1528 Commits

Author SHA1 Message Date
Carl Hetherington
9d9905f443 Clear out any command line session name on closing a session so that the same session isn't just reloaded straight away.
git-svn-id: svn://localhost/ardour2/branches/3.0@5619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 22:19:50 +00:00
Carl Hetherington
4b5426edde Fix erroneous parameter passed to Editor::motion_handler. Makes autoscroll work again in various drags.
git-svn-id: svn://localhost/ardour2/branches/3.0@5618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 22:02:34 +00:00
Carl Hetherington
25cec845c5 Put advanced bits in an expander. Still need to make the export code default to exporting the master bus from the whole session, somehow.
git-svn-id: svn://localhost/ardour2/branches/3.0@5614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:14:13 +00:00
Carl Hetherington
33ac710a63 Update coverage frames when a track changes height. Remove some unnecessary namespace qualifiers.
git-svn-id: svn://localhost/ardour2/branches/3.0@5608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-31 23:09:09 +00:00
Carl Hetherington
7076f0e88e Make drag selection work properly with stacked region mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@5607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-31 22:49:26 +00:00
Carl Hetherington
1aa38f074f Don't setup panner UI unless it has changed.
git-svn-id: svn://localhost/ardour2/branches/3.0@5606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-30 00:40:48 +00:00
Carl Hetherington
95c4046ff9 Set route remote control IDs from a dialog rather than a menu. I think this is
more practical (especially with large track counts), and also prevents a N-entry
menu being built for each of N tracks every time the mixer strip order is changed,
which speeds some operations up.


git-svn-id: svn://localhost/ardour2/branches/3.0@5605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29 23:31:59 +00:00
Carl Hetherington
7c49119be0 Modify hacks associated with initial sizing of port matrices to try and make things work with both fluxbox and metacity.
git-svn-id: svn://localhost/ardour2/branches/3.0@5604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29 20:48:11 +00:00
Carl Hetherington
5cbfdb8bed Remove some unnecessary code. Preserve selection when regions are dragged to new tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@5602 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-28 23:50:42 +00:00
Carl Hetherington
89a9b17ac9 Remove some debugging code.
git-svn-id: svn://localhost/ardour2/branches/3.0@5601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-28 23:47:46 +00:00
e7e071db1a more MIDI editing tweaks ; flip mouse mode buttons around for MIDI so that "object" mode is the most likely mode for both region \& region editing ; frame handle events (from lincoln's region trimming patch) are now handled more explicitly
git-svn-id: svn://localhost/ardour2/branches/3.0@5600 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-28 16:06:08 +00:00
710ba02c70 add quantize dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@5597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-27 12:47:04 +00:00
3845af6ce9 lots of MIDI editing stuff. to be explained on the website when its done
git-svn-id: svn://localhost/ardour2/branches/3.0@5596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-27 03:09:30 +00:00
Carl Hetherington
c6be9b6888 Make stacked region coverage frames correctly respect regions being muted.
git-svn-id: svn://localhost/ardour2/branches/3.0@5595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 02:19:36 +00:00
Carl Hetherington
8934ff7867 Reintroduce crossfade views for tracks in stacked region mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@5594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 01:49:08 +00:00
Carl Hetherington
ae6dbb836c Preserve stacked / overlaid state of tracks in the session file.
git-svn-id: svn://localhost/ardour2/branches/3.0@5593 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 01:06:31 +00:00
Carl Hetherington
edfcc7badc Remove unused declaration.
git-svn-id: svn://localhost/ardour2/branches/3.0@5592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 00:42:17 +00:00
Carl Hetherington
28af0265b5 When a track is in "stacked" mode, allow regions to be moved to different layers by dragging
and dropping.  In stacked mode, the relayering by "recently added / moved etc. is higher" setting
is ignored, and regions are put on the layer that they are dropped to, unless:

1. they are dropped so that they overlap another region on the same layer, in which case they
are put on the layer above that one.
2. they are dropped such that they could be put on a lower layer with no audible difference, in
which case they are put on the lower layer.



git-svn-id: svn://localhost/ardour2/branches/3.0@5590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 00:06:21 +00:00
Carl Hetherington
33328b868d Make fade edits and trim possible on stacked regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@5589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-25 21:53:21 +00:00
Carl Hetherington
bc18abeba9 Slightly modified patch from lincoln to fix mantis 1636.
git-svn-id: svn://localhost/ardour2/branches/3.0@5588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 23:52:33 +00:00
Carl Hetherington
ce1f2f73db Patch from lincoln to add track resize buttons to the top-left corner of the editor (underneath the zoom buttons). Mantis 2768.
git-svn-id: svn://localhost/ardour2/branches/3.0@5587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 22:28:00 +00:00
Carl Hetherington
32dd2a43d8 Don't use the edit position to gather regions to cut, otherwise it can be confusing.
git-svn-id: svn://localhost/ardour2/branches/3.0@5585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 20:56:24 +00:00
Carl Hetherington
df71243d6c Alter snap modifier so that it turns the grid on when it's off as well as vice-versa.
git-svn-id: svn://localhost/ardour2/branches/3.0@5584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 20:26:34 +00:00
Carl Hetherington
29fea7b61d Don't use pointer_frame_offset for playhead cursor drags as it seems more intuitive without.
git-svn-id: svn://localhost/ardour2/branches/3.0@5583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 19:23:01 +00:00
Carl Hetherington
96a85da8dd Tertiary-modifier click locates the viewbox in the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@5582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 19:02:26 +00:00
Carl Hetherington
32acb9377f Minor cosmetic tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@5581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 18:49:27 +00:00
Carl Hetherington
cee3c427d7 Reorder initialisation to prevent access to an uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 18:20:10 +00:00
Carl Hetherington
66451b1836 Remove commented out call to reset_dpi hoping to find the true cause of the bug.
git-svn-id: svn://localhost/ardour2/branches/3.0@5577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 17:11:50 +00:00
Carl Hetherington
27feb19897 Small cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@5574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 02:10:46 +00:00
Carl Hetherington
09eee1bb7c Remove unused method in RouteTimeAxisView. Fix bug with switching to layered region mode.
Optimise Playlist::relayer().


git-svn-id: svn://localhost/ardour2/branches/3.0@5572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 01:01:18 +00:00
Carl Hetherington
c91da28eb2 Some improvements to performance with crossfades: don't recompute a whole track's crossfade curves
when one region is moved and the display is overlaid; use a std::map for an AudioStreamView's crossfades
list so that add_crossfade can find whether a CrossfadeView already exists without looking through
the whole list.


git-svn-id: svn://localhost/ardour2/branches/3.0@5571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-23 19:42:01 +00:00
Carl Hetherington
789949faf9 Fix crash on drag selection.
git-svn-id: svn://localhost/ardour2/branches/3.0@5569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 19:54:32 +00:00
Carl Hetherington
d25742b28f Fix remainder of bug 1605 so that when snapping to region starts / ends, the crossover between the current snap and the next one happens halfway between the two.
git-svn-id: svn://localhost/ardour2/branches/3.0@5568 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 19:45:40 +00:00
Carl Hetherington
970a3a7292 Introduce an accurate version of coefficient_to_dB and use it in non speed-critical
code.  Fixes mantis 2833.


git-svn-id: svn://localhost/ardour2/branches/3.0@5565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 10:21:39 +00:00
Carl Hetherington
4f3bddf7ef Apply patch from mantis 2761 from tinram to add padding and make a string translatable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 21:38:59 +00:00
Carl Hetherington
58dad0c280 Fix mantis 2804: improve title of recent sessions dialogue and make it translatable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5560 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 21:33:48 +00:00
Carl Hetherington
cb160c81fa Apply patch from mantis 2766 to fix apply sensitivity when editing the meter marker at 0. Cleanup visual appearance of tempo and meter dialogues.
git-svn-id: svn://localhost/ardour2/branches/3.0@5559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 21:21:07 +00:00
Carl Hetherington
c00243d103 Remove an unused action and some duplicated code.
git-svn-id: svn://localhost/ardour2/branches/3.0@5558 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 20:34:12 +00:00
Carl Hetherington
76594112af Don't locate summary view box on a click outside it, to be consistent with fader behaviour. Allow Ctrl-drag (zoom) from anywhere in the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@5557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 19:12:24 +00:00
9153ef3297 minor fixes/changes based on comparison with existing bindings
git-svn-id: svn://localhost/ardour2/branches/3.0@5554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 16:30:01 +00:00
b116282bbb make shift-click for extend-selection sort-of work for MIDI
git-svn-id: svn://localhost/ardour2/branches/3.0@5541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-18 02:37:57 +00:00
3162ffb4f4 move assignments out of assert() in editor_drag (thanks lincoln); change mouse mode buttons when in internal/MIDI mode; arrow key control of note velocity, value and position - hey look ma, MIDI editing!
git-svn-id: svn://localhost/ardour2/branches/3.0@5539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-17 15:58:47 +00:00
e3ac55f7b1 fix up display of notes when creating/editing a MIDI region with the pencil; fix position of paste for regions that are not at frame zero
git-svn-id: svn://localhost/ardour2/branches/3.0@5527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-14 03:00:41 +00:00
e57c4d4c43 more MIDI paste improvements, plus move region-mute binding to PRIMARY-m and use "m" for toggle-internal-editing
git-svn-id: svn://localhost/ardour2/branches/3.0@5525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 19:48:10 +00:00
84fb6ae9ba actually paste MIDI at the right spot
git-svn-id: svn://localhost/ardour2/branches/3.0@5521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 12:19:28 +00:00
02e3f7c769 kinda-sorta paste MIDI at the right spot
git-svn-id: svn://localhost/ardour2/branches/3.0@5519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 12:10:34 +00:00
0178875021 MIDI cut&paste round two (not done yet); a small region trim fix from lincoln s.
git-svn-id: svn://localhost/ardour2/branches/3.0@5517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 01:57:03 +00:00
Carl Hetherington
677bb36f5c Fix route group collect option.
git-svn-id: svn://localhost/ardour2/branches/3.0@5515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 21:13:33 +00:00
17e8e74dad add new file
git-svn-id: svn://localhost/ardour2/branches/3.0@5512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 20:13:13 +00:00
0bf3eb7759 first part of MIDI cut/copy/paste ; fix for input/output_streams of an IOProcessor being reported in a misleading way; in/out translation fix from 2.X, sort of
git-svn-id: svn://localhost/ardour2/branches/3.0@5510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 19:29:29 +00:00