Carl Hetherington
1f2a518ee2
Clean up and simplify code to find marks before and after a position, and hence improve snap to markers so that both start and end positions of a range marker are taken into account.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5897 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-23 22:28:27 +00:00
bc56eb8bd7
Fix unused parameter warnings since GCC apparently doesn't feel like listening to -Wno-unused-parameter
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-21 00:15:42 +00:00
Carl Hetherington
2898c4fa70
Make the behaviour zoom to region more intuitive (IMHO); ie always zoom to the selected region. Not quite sure what the zoomed_to_region flag was intended to achieve. Fixes mantis 2154.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 18:20:38 +00:00
Carl Hetherington
9155aca8c2
Tidy up the popup region editor and fix a few bugs with it; should close mantis 2601 and 2602.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-20 01:05:33 +00:00
Carl Hetherington
09ec342926
Tidy up window titles, according to GNOME HIG and as suggested in mantis 2803.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19 17:25:37 +00:00
8713667ec1
rework Stateful::set_state() patch to avoid default version argument
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15 18:56:11 +00:00
Carl Hetherington
79f91c7a20
Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty.
...
LOADING 2.X SESSIONS WITH THIS COMMIT IN PLACE WILL (PROBABLY) CORRUPT THE .ardour FILE,
MAKING THE SESSION UNLOADABLE ON 2.X AND LOSING INFORMATION.
So don't do that unless you make a backup of the session file first.
git-svn-id: svn://localhost/ardour2/branches/3.0@5786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15 00:57:55 +00:00
bb9cc45cd2
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
...
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent...
git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 16:10:01 +00:00
e488378d42
string_is_affirmative() fix for 3.0
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02 20:53:31 +00:00
Sakari Bergen
1928f286e9
Fix some trivial compiler warnings and add editor_imageframe.cc to gtk2_ardour/wscript
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5716 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02 11:16:15 +00:00
265cf739b5
add MIDI panic action (which has to be on a menu, sigh ... stupid GTK)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5658 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-12 17:49:57 +00:00
65c5e7ae47
save & restore internal-edit status
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11 02:01:16 +00:00
Carl Hetherington
58f5ad6406
Clean up some confusion about offering a denormalize menu option when a region may not necessarily be normalized.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:39:33 +00:00
Carl Hetherington
a0b9c52a5e
Remove excess menu separator.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:25:16 +00:00
c3c5c9a559
just one timeout callback for step editing, not one per track
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-05 14:11:48 +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
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
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
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
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
a7f4f66095
Another similar fix for use of an uninitialized variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 02:17:14 +00:00
Carl Hetherington
7ed2058e3e
Fix random-crash-inducing use of uninitialized variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:31:32 +00:00
3ae28868ff
remove all MIDI-specific editing modes by making standard work either at object level or within (e.g. notes, etc) ; make tool buttons proxies for GtkActions ; internal sends have their own BufferSet now, instead of using Session ones; don't make internal sends to the monitor bus active when added to the Route
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-28 20:51:28 +00:00
Carl Hetherington
45564fa469
Clean up range menu a bit. Make a couple of range actions happen to all tracks if no tracks nor regions are selected. Stop involvement of the edit point in those same actions as it doesn't seem to make much sense.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 19:55:12 +00:00
Carl Hetherington
b65f8073ba
Fix some unused parameter warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 15:55:17 +00:00
Carl Hetherington
7eea227bcd
Use track colours in the port matrix.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5367 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17 13:18:58 +00:00
Carl Hetherington
402cc384ce
Back out big shared_ptr change. Moving to a branch. Apologies all.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-09 17:58:13 +00:00
Carl Hetherington
4297071b3f
Use shared_ptr for the TimeAxisView hierarchy.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-09 13:39:45 +00:00
Carl Hetherington
40b0b216de
Add option to collect a route group, so that its member routes are reordered to be together in the editor. A few cleanups along the way.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 13:44:01 +00:00
Carl Hetherington
69a8c81c43
Pull snapshots code out of Editor class.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03 23:51:58 +00:00
Carl Hetherington
a3f7f86d9b
Factor regions list out of Editor.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03 22:42:22 +00:00
Carl Hetherington
b233455b3f
Split route group list out of Editor.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03 18:37:15 +00:00
Carl Hetherington
5b97b13766
Separate route list code from Editor into its own object, EditorRouteList. Hopefully makes things a bit better.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-01 23:20:18 +00:00
4df4574be4
editor toggle button fix from lincoln; refresh location display when loop range changes; fix up BufferSet::merge_from() to be less fragile to wierd merge conditions
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-29 14:29:53 +00:00
Carl Hetherington
26328c9ef1
lincoln's patch from mantis 2757 to add route group property checkboxes in the route groups
...
editor list, and to initialise new route groups with some appropriate properties.
git-svn-id: svn://localhost/ardour2/branches/3.0@5295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-29 00:57:27 +00:00
Carl Hetherington
911c484bd7
Only resize other selected tracks if the one being dragged is selected.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-26 14:06:49 +00:00
Carl Hetherington
fdceb08a93
Don't resize selected tracks when dragging an automation view.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-26 12:18:57 +00:00
Carl Hetherington
0758c7e16a
Fix track selection interaction with route groups.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-26 12:13:41 +00:00
Carl Hetherington
498afeb63e
Various adjustments to make more operations respect the Edit property on route groups.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5273 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-25 20:58:32 +00:00
Carl Hetherington
474bf32ae3
Make sure group tabs are updated when dragging track heights.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 22:13:05 +00:00
Carl Hetherington
167929c25a
Use the same menu for the editor route group list and the editor group tabs.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-22 01:25:21 +00:00
Carl Hetherington
955d731fa6
Merge edit and mix groups to just being route groups. Add properties to route groups to decide what things their member routes will share. Allow edits to happen across a route group without its tracks necessarily being selected.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-21 19:59:56 +00:00
Carl Hetherington
9dfa933c6e
Remember last normalization value when the dialog is re-opened.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5227 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20 15:46:43 +00:00
Carl Hetherington
b895b677bf
Optional tabs down the LHS of the editor window to indicate edit group membership.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20 13:41:55 +00:00
8b63f9cac7
modified patch from lincoln to show/control rec-enable status in track/bus list
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-18 01:48:11 +00:00
Carl Hetherington
1fed50f817
Reduce complexity of previous commit slightly.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5215 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 22:43:27 +00:00
Carl Hetherington
9402d3f1e3
Remove unused resize-line code. When resizing multiple tracks, resize them in proportion, as per mantis 2732.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 22:08:51 +00:00
Sampo Savolainen
45671f13e3
Pack the summarizer in a vpaned instead of the edit_packer
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5211 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 20:10:43 +00:00