f0e16a09f7
try (unsuccessfully) to fix gcc complaints about function-pointer/object-pointer mixing (its much deeper than this change suggests)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-01 23:54:40 +00:00
0c20d48e7d
finish getting rid of RegionCommand
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-22 18:03:34 +00:00
d9d1a4a5cf
add begin/end undo/redo signals so that playlist can freeze/thaw itself around potentially NxM region property changes; clean up debug output; don't connect streamview to Playlist::ContentsChanged because there appears to be no need for it - we catch add/remove region, and region property changes are handled by RegionView
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 21:49:56 +00:00
fa701b8c06
change PropertyChange from a bitfield into a real object, with all the many widespread changes that causes
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 18:09:08 +00:00
728bedf9b9
connect Streamview to Playlist::ContentsChanged signal so that it updates after a Playlist::set_state() call
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6700 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 16:34:57 +00:00
993af4468b
do not save editor state in every reversible commands
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 14:44:08 +00:00
ce7a5e1c9f
the Properties & 64bit region commit
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 13:59:49 +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
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
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
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
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
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
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
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
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
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
74c03b9fc0
mixing monospace font thing for miditrace window
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-01 04:08:06 +00:00
85eb944c83
improve efficiency of MIDI tracer window with a lock-free FIFO and lock-free msg pool and buffered queing; use a monospace font too
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-01 03:33:52 +00:00
0abe5b84a0
add control for sending MTC (or not)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-27 18:50:43 +00:00
832aa18a81
a boatload of minor and middle-sized changes to try to speed up undo. imperfect, unfinished, but probably right to commit now
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-25 20:34:09 +00:00
Carl Hetherington
10395d2fee
Allow drag of region fade in/out in object mode with link enabled (part of #2983 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-25 02:24:44 +00:00
Carl Hetherington
eb6b142c02
Tweaks to prevent flicker in the treeview when changing record / solo isolate state.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-25 02:03:24 +00:00
b1180c3a7e
lincoln's revised patch for editor route list, to get column widths better etc.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-22 17:23:58 +00:00
7e74f18a03
avoid num-tracks repeat call EditorRegions::set_selected() when a region is selected/unselected
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-17 23:11:22 +00:00
Carl Hetherington
a992cd5574
Fix bug when dragging regions in PT-edit mode.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6505 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-16 01:08:15 +00:00
Carl Hetherington
5bdc03ab5c
When dragging the summary viewbox with a click outside the viewbox, clamp x and y
...
if the drag started below/above or to the left/right of the box, respectively.
Also scale maximum track height in the summary according to the summary's height.
git-svn-id: svn://localhost/ardour2/branches/3.0@6504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-16 00:44:56 +00:00
Carl Hetherington
d73d3f3652
Restore old behaviour when updating the view when the playhead goes off it during roll.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6502 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 23:50:40 +00:00
Carl Hetherington
0c04eb8d83
Temporarily fix segfault on show/hide all automation, pending a proper fix.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 23:40:49 +00:00
Carl Hetherington
c22c3fc31e
Hopefully further improve the autoscroll on trim drag.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 23:19:46 +00:00
Carl Hetherington
722a489fd1
Reconnect region name signalling so that trim drags can be started over a region's name.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6499 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 23:05:17 +00:00
Carl Hetherington
e33d7a56b4
Stop surprising autoscroll when trimming regions; hopefully addresses #2993 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 22:47:56 +00:00
11edfd035e
dynamically resize text in the big clock, first version
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 14:42:19 +00:00
Carl Hetherington
81fd8dd960
Centre playhead on zoom when it is the zoom focus. Myself and oofus think it better this way; it could be made optional if there is the will...
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6492 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 01:06:13 +00:00