13
0
Commit Graph

8938 Commits

Author SHA1 Message Date
Carl Hetherington
d863c20002 Comment declick stuff a bit, and fix confusing use of bool instead of int to hold the value.
git-svn-id: svn://localhost/ardour2/branches/3.0@12800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 18:45:58 +00:00
Carl Hetherington
3c7f6a4a4c Unify clamping of frames-per-unit values during zoom; should help with #3514.
git-svn-id: svn://localhost/ardour2/branches/3.0@12796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 14:14:27 +00:00
Carl Hetherington
0fba3e073c Remove indirected method calls.
git-svn-id: svn://localhost/ardour2/branches/3.0@12795 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 14:14:22 +00:00
132334febe tweak expander label name as per thorsten wilms' suggestion
git-svn-id: svn://localhost/ardour2/branches/3.0@12794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 13:53:39 +00:00
30fa808732 tweak button label name as per thorsten wilms' suggestion
git-svn-id: svn://localhost/ardour2/branches/3.0@12793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 13:01:14 +00:00
Carl Hetherington
816d3da840 Very minor tidy-up.
git-svn-id: svn://localhost/ardour2/branches/3.0@12791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20 01:30:14 +00:00
Carl Hetherington
1173bae7c2 Clarify the meaning of the show-region-gain-envelopes option.
git-svn-id: svn://localhost/ardour2/branches/3.0@12790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 22:05:04 +00:00
Carl Hetherington
46f594ac83 Make sure we always copy Freesound imported files as well as MIDI ones (#4675).
git-svn-id: svn://localhost/ardour2/branches/3.0@12789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 21:40:06 +00:00
271c8c8f00 sndfile/export debuggign with ricardus
git-svn-id: svn://localhost/ardour2/branches/3.0@12788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 19:22:03 +00:00
1df227424a patch from colinf that adds an 'empty' preset to the preset drop-down list, so that plugins can be set back to the 'no preset' state rather than being stuck in the state of 'preset loaded and modified'. This should apply to all plugin types, though I've only tried it on LV2 and LADSPA.
git-svn-id: svn://localhost/ardour2/branches/3.0@12787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 16:02:24 +00:00
7a24e49fa0 2nd half of patch for handling LV2 presets from colinf (#4698)
git-svn-id: svn://localhost/ardour2/branches/3.0@12786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 15:59:50 +00:00
34321110dd patch for handling LV2 presets from colinf (#4698)
git-svn-id: svn://localhost/ardour2/branches/3.0@12785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 15:59:14 +00:00
Carl Hetherington
944dae2a41 Write the topologically sorted route list back to the session's list so that the 1-processor process code sees it. Should fix #4937.
git-svn-id: svn://localhost/ardour2/branches/3.0@12784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 15:51:56 +00:00
aea9601307 really, really do not signal MidiRegionView::SelectionCleared during destruction
git-svn-id: svn://localhost/ardour2/branches/3.0@12783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 14:15:02 +00:00
Carl Hetherington
d9709b8457 Change option name to clarify that get_default_narrow_ms is applied to the mixer only (#4512).
git-svn-id: svn://localhost/ardour2/branches/3.0@12782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 14:12:01 +00:00
Carl Hetherington
d54fb5f54e Add option to add new range marker from the context menu without needing the keyboard (#4378).
git-svn-id: svn://localhost/ardour2/branches/3.0@12781 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 13:54:28 +00:00
Carl Hetherington
3dd8fbdefa Hush some debug messages.
git-svn-id: svn://localhost/ardour2/branches/3.0@12779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 13:28:13 +00:00
Carl Hetherington
d57be75d1a Fix logic for setting mixer strip name button widths (#4448).
git-svn-id: svn://localhost/ardour2/branches/3.0@12778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 13:23:48 +00:00
Carl Hetherington
b2ad7c087b Use set_editable() rather than set_sensitive() to lock the clocks of locked markers, so that middle-click to locate to the marker still works even when locked (#4939).
git-svn-id: svn://localhost/ardour2/branches/3.0@12777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 13:07:02 +00:00
6b9d82be5c slighty brighten bar lines and slighty dim beat lines for easier visual distinction (#4930)
git-svn-id: svn://localhost/ardour2/branches/3.0@12776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 02:02:54 +00:00
Carl Hetherington
4d1246e0ee Add load_session to profiling.
git-svn-id: svn://localhost/ardour2/branches/3.0@12775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 00:25:26 +00:00
Carl Hetherington
508b5fa341 Disallow import-without-copy for MIDI files (#4148).
git-svn-id: svn://localhost/ardour2/branches/3.0@12774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 23:42:54 +00:00
d4a4dc20ab fix compilation on OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@12773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 22:57:16 +00:00
a11d9d4e5a define CHARSETALIASDIR (again) to stop various bits of the GNU stack from loading a charset.alias file that we did not provide; slightly rearrange logic of fixup_bundle() so that we can do more stuff even if we can't write to the user ardour conf dir (as in 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@12771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 21:33:55 +00:00
a8237f1aed make switching between input+disk monitoring work "right" for MIDI tracks; also fix a bug that led to messages about notes already being on at program start because of a double seek with no read in between
git-svn-id: svn://localhost/ardour2/branches/3.0@12762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 19:20:59 +00:00
88dfe91ce3 fix comment indentation
git-svn-id: svn://localhost/ardour2/branches/3.0@12761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 19:19:44 +00:00
Carl Hetherington
9d74f6ece9 Simple arrangement to run basic load tests on a corpus
of sessions.


git-svn-id: svn://localhost/ardour2/branches/3.0@12760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:40 +00:00
Carl Hetherington
c502f0981f Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@12759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:26 +00:00
Carl Hetherington
24b418598a Make EnumWriter exceptions a bit more informative.
git-svn-id: svn://localhost/ardour2/branches/3.0@12758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:19 +00:00
Carl Hetherington
49fec4f430 Fix (?) failure to load A2 sessions with a ControlOut.
git-svn-id: svn://localhost/ardour2/branches/3.0@12757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 18:28:06 +00:00
Carl Hetherington
3d3fa9ae02 Fix up profiling.
git-svn-id: svn://localhost/ardour2/branches/3.0@12754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:58:10 +00:00
Carl Hetherington
611936f346 Use a map of region names to speed up
RegionFactory::new_region_name; should help with #2982.


git-svn-id: svn://localhost/ardour2/branches/3.0@12753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 16:57:03 +00:00
Carl Hetherington
20ceeb6d3e Do XML comparisons better in tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@12752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:12 +00:00
Carl Hetherington
2a5bfa6dcb Basic region naming test.
git-svn-id: svn://localhost/ardour2/branches/3.0@12751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 15:19:05 +00:00
Carl Hetherington
a8773900a8 Profile of duplicating lots of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@12750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:51 +00:00
Carl Hetherington
8fc866309f Resurrect profiling code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:20:11 +00:00
Carl Hetherington
5b0ade2527 Use hardware optimization when running tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@12748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 21:19:53 +00:00
Carl Hetherington
95377c141c Hacky fix for track height step losing 'grip' on the
track being resized (#4503).


git-svn-id: svn://localhost/ardour2/branches/3.0@12747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 16:57:21 +00:00
Carl Hetherington
add52f1c0e Remove believed-unnecessary and broken MIDI thru option;
should fix #4749.


git-svn-id: svn://localhost/ardour2/branches/3.0@12746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 14:28:10 +00:00
2863640a52 make it possible for canvas patch changes to receive kbd events, and along the way clean up a couple of related issues, providing noevent-pixbuf (which we should probably use for regionview names too)
git-svn-id: svn://localhost/ardour2/branches/3.0@12745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 13:37:52 +00:00
Carl Hetherington
2e71cb2e26 Add option to disable autoscroll of editor (#4721).
git-svn-id: svn://localhost/ardour2/branches/3.0@12744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 12:38:59 +00:00
Carl Hetherington
0c714fe3de Simplify management of waveform visibility / shape / scale;
fixes #4727, I think.


git-svn-id: svn://localhost/ardour2/branches/3.0@12743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17 11:48:51 +00:00
Carl Hetherington
00f51c6abf Add missing set_state of _mute_control; fixes #3959.
git-svn-id: svn://localhost/ardour2/branches/3.0@12742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 19:00:38 +00:00
Carl Hetherington
daffec502e Return silence from read_from_sources() if we try to read a channel that our source does not have (if replicate-missing-region-channels is turned off); should fix #4934.
git-svn-id: svn://localhost/ardour2/branches/3.0@12741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 18:18:30 +00:00
Carl Hetherington
5ac22e9095 Add new SharedStatefulProperty which manages a shared_ptr to
some Stateful object, and a subclass to use this for
AutomationList.  SharedStatefulProperty will manage undo / redo
using full copies of the XML state, like MementoCommand,
but does it within the Property undo system.



git-svn-id: svn://localhost/ardour2/branches/3.0@12740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 17:20:10 +00:00
9429401f11 MCP: patch from seablade to fix pot displays (both absolute value and negative values)
git-svn-id: svn://localhost/ardour2/branches/3.0@12739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 03:10:26 +00:00
5b1da330a4 Ssshhhhh....
git-svn-id: svn://localhost/ardour2/branches/3.0@12738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 03:08:28 +00:00
223a5e217a extra insurance against ProcessThread::init() being called more than once
git-svn-id: svn://localhost/ardour2/branches/3.0@12737 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 02:53:50 +00:00
5f42daa272 do NOT call ProcessThread::init() **again** inside a freeze op, since this is a static, single-time call that sets up a per-thread (thread-private) storage key. Should fix #4722
git-svn-id: svn://localhost/ardour2/branches/3.0@12736 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 02:52:09 +00:00
0ea8ba3f56 never try to remove state from a read-only session
git-svn-id: svn://localhost/ardour2/branches/3.0@12735 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16 02:50:20 +00:00