ab7f800fb4
split out State... objects and rename as Property...
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6682 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-13 17:51:40 +00:00
fccd7d5103
torben's latest fix for the MTC PiC (adjust catch factor)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6679 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-12 18:40:42 +00:00
a1e0dc13df
tweak Stateful/StatefulDiffCommand changes so that SessionObject's actually get a name; make StatefulDiffCommand use a weak_ptr, not a raw ptr; use .val() rather than .get() to avoid confusion with boost:: smart ptr method of the same name
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 23:10:29 +00:00
f938687f87
fix last commit
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6677 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 18:05:51 +00:00
47018a3bd1
some fixes/tweaks for MTC slaving, some untested
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 18:00:50 +00:00
Carl Hetherington
3a27410dcb
More tinkering with State<>. Use some StateDiffCommands instead of
...
MementoCommand<Region>. More use of State<> for Region members.
git-svn-id: svn://localhost/ardour2/branches/3.0@6675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-11 17:08:34 +00:00
24fbade20a
get sample rate properly injected into session file
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-10 22:42:25 +00:00
be9a75a8e6
get OMF loader into working shape
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-10 22:15:04 +00:00
cd0e83e010
pass 0.92 of an OMF2 importer, based on the Reaper extension by Hannes Breul
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-10 03:45:13 +00:00
Carl Hetherington
3c00a7ca2a
Move ARDOUR::Change into PBD so that Stateful can be aware of
...
what Change a State reflects. Hence allow Stateful to do some
of the work of set/get_state in Region.
git-svn-id: svn://localhost/ardour2/branches/3.0@6671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-10 01:38:20 +00:00
Carl Hetherington
c9d433d9b3
Make the MementoCommand and StatefulDiffCommand factories look up region IDs in the RegionFactory's map, so that they find the ones they are looking for.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 22:45:13 +00:00
Carl Hetherington
12b9571b80
Save and not-yet-working restore of StatefulDiffCommands.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 22:28:46 +00:00
Carl Hetherington
cf9ce8636a
Further removal of default state setting, to allow partial (diff) state sets.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 22:28:13 +00:00
Carl Hetherington
a78ad5441c
Fix cross-track region drags.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 22:27:30 +00:00
Carl Hetherington
dbc3faa913
Remove erroneous delete of States; they are owned by the subclass that adds them.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6666 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 22:26:14 +00:00
Carl Hetherington
5526aa2935
Add missing files from previous commit.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 14:44:24 +00:00
Carl Hetherington
a5c59175eb
Modify Stateful to allow undo to be done using differences in state.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 14:44:01 +00:00
76ad2dfea0
Shrink zoom buttons.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6663 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 04:54:10 +00:00
3b01f732ac
Fix rulers on intial display (fix item 1 of ticket #2740 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 04:43:48 +00:00
e6033ea2f9
Center port matrix if IO selector window is too large.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 03:43:06 +00:00
cf32bf81b8
Move object+range button up with the rest of the tool buttons (bringing edit toolbar back to correct height).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6660 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 03:17:02 +00:00
f6c30de0cc
Add --args so ardbg obeys ardour options.
...
Not sure if someone reverted this on purpose, but switching it for every commit is entirely too annoying :)
git-svn-id: svn://localhost/ardour2/branches/3.0@6659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 03:16:16 +00:00
157c2a866c
Fix crash when setting loop or punch range after creating a new session (and probably any scenario where the session changes).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6658 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 01:51:04 +00:00
b5148d93d5
Add keyboard shortcut to tooltip text where possible.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09 00:50:24 +00:00
Carl Hetherington
535d602374
Fix logic so that soloing a bus does not mute things that feed it.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 21:41:24 +00:00
b48e221484
Add tooltips for link buttons.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 21:20:51 +00:00
295f26fff9
Fix unused variable warning.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 21:20:38 +00:00
30dd55bccd
use RegionCommand for same-track region drags
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 19:41:43 +00:00
e2baff4f7d
new RegionCommand object; remove unused string argument from Region::thaw(); add map<ID,Region> in RegionFactory so that we can look up regions by ID
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 19:39:17 +00:00
1afb1cfea4
add variants of atoi etc. for std::string
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 19:37:51 +00:00
222c18d18a
add copy constructor for PBD::ID
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 19:37:30 +00:00
ea63af333e
fix up note names (from Don F, via SoftWerk)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 19:36:25 +00:00
Carl Hetherington
c3b5e572df
Preserve and restore x and y origin of editor viewport in Editor state.
...
Clean up Editor's update of various things by:
1. merging Editor's handlers of SuperRapidScreenUpdate.
2. separating out work to be done on this update and work to be done
on a locate.
Hopefully easier to understand this way.
git-svn-id: svn://localhost/ardour2/branches/3.0@6648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-08 01:25:06 +00:00
Carl Hetherington
2c16f7aa7f
Move a couple of methods into editor.cc, where they seem to be more at home than in editor_mixer.cc
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 23:11:17 +00:00
Carl Hetherington
34ea7bb5c7
Make Editor::set_state work again.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 23:05:39 +00:00
Carl Hetherington
3ae1bd3723
Remove my attempts to autoscroll based on dragged region edges (rather than just pointer position); too many corner cases and not really worth the bother.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 03:23:20 +00:00
Carl Hetherington
9daf5b8121
Fix panner write automation.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 02:53:14 +00:00
Carl Hetherington
a0598953d9
Fix pan value update so that modifier-click on the panner correctly returns to centre.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 02:48:43 +00:00
Carl Hetherington
797cd64d12
Coding style.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6642 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 02:48:07 +00:00
Carl Hetherington
0e1c62150a
Remove some unnecessary includes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 02:47:17 +00:00
Carl Hetherington
420e28f4d8
Coding style cleanups. Preserve mono state in XML for panners.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07 02:45:55 +00:00
8d64ce26c4
Remove weird/pointless Automatable::data().
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-05 20:03:57 +00:00
249bc2f744
Move i18n stuff into autowaf.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-03 19:02:09 +00:00
0a508ffb5d
ifdef'd out deferred plugin selector load (-DDEFER_PLUGIN_SELECTOR_LOAD will improve startup time significantly).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-03 19:00:58 +00:00
Carl Hetherington
d89b7897f0
Allow buss names to be edited in the track/bus list.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-03 01:23:38 +00:00
Carl Hetherington
c3bfc3ec4e
Stop crash on deleting a plugin when its generic UI window is open.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-03 00:52:45 +00:00
faa2b3a3ad
fixup some issues with the miditracer
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-02 17:47:05 +00:00
18087e555d
Fix NULL dereference.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-01 20:06:45 +00:00
d4789d9070
Fix memory leak.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-01 20:05:13 +00:00
192e2593b6
Fix array out of bounds error.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-01 20:04:06 +00:00