Sampo Savolainen [Thu, 10 Aug 2006 14:41:53 +0000 (14:41 +0000)]
Plugin selector keyboard focus should now stay in the plugin list. More
sensible defaults for the NSD and accelerators will work in plugin
windows (plus keyboard will not affect the plugin window itself).
git-svn-id: svn://localhost/ardour2/trunk@783
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 10 Aug 2006 04:01:15 +0000 (04:01 +0000)]
Moved PluginInfo::Type to ARDOUR::PluginType in ardour/types.h.
Figured out (mostly) AUPluginUI hierarchy.
Moved LadspaPluginUI to its own ladspa_pluginui.cc file.
git-svn-id: svn://localhost/ardour2/trunk@782
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 10 Aug 2006 03:04:13 +0000 (03:04 +0000)]
- Fixed a buffer size bug when ~/.ardour2 doesn't exist (can't load configuration), if in a hacky way
- Removed useless workbuf/conversion_buffers (same thing), uneeded with libsndfile
git-svn-id: svn://localhost/ardour2/trunk@781
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 10 Aug 2006 01:46:55 +0000 (01:46 +0000)]
merging to trunk, bugfix
git-svn-id: svn://localhost/ardour2/trunk@780
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 10 Aug 2006 01:45:49 +0000 (01:45 +0000)]
Can pass a core to ardbg now. Fixed sometimes crash on saving history by
creating a memory leak(?) that will go away with the transition of XMLNode* to
shared_ptr<>. A few bits toward restoring history from XML.
git-svn-id: svn://localhost/ardour2/branches/undo@779
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 10 Aug 2006 01:29:08 +0000 (01:29 +0000)]
Added missing #include <cassert> (whoops)
git-svn-id: svn://localhost/ardour2/trunk@778
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 10 Aug 2006 00:56:04 +0000 (00:56 +0000)]
A few minor warning fixes
git-svn-id: svn://localhost/ardour2/trunk@776
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 21:53:15 +0000 (21:53 +0000)]
Merging to trunk. Session history is saved (probably needs tweaking) wherever
session state is saved.
git-svn-id: svn://localhost/ardour2/trunk@775
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 21:38:44 +0000 (21:38 +0000)]
r294@gandalf: fugalh | 2006-08-09 15:38:00 -0600
Oops, that wasn't supposed to be checked in...
git-svn-id: svn://localhost/ardour2/branches/undo@774
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 21:31:36 +0000 (21:31 +0000)]
merge from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@773
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 21:29:43 +0000 (21:29 +0000)]
r229@gwythaint (orig r769): fugalh | 2006-08-09 08:15:05 -0600
r283@gandalf: fugalh | 2006-08-09 08:13:37 -0600
Save state basics, including adding PBD::ID to the delinquents. Compiles but needs to be tested (because I can't get the whole thing to compile on OSX due to the Rect problem).
git-svn-id: svn://localhost/ardour2/trunk@772
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 21:29:33 +0000 (21:29 +0000)]
r228@gwythaint (orig r768): fugalh | 2006-08-09 08:14:55 -0600
r282@gandalf: fugalh | 2006-08-08 16:24:45 -0600
grr
git-svn-id: svn://localhost/ardour2/trunk@771
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 21:29:18 +0000 (21:29 +0000)]
r227@gwythaint (orig r767): fugalh | 2006-08-09 08:14:17 -0600
r274@gandalf: fugalh | 2006-08-07 19:53:48 -0600
Nuke Serializable in favor of Stateful. Got rid of some warnings with stub
code.
git-svn-id: svn://localhost/ardour2/trunk@770
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 14:15:05 +0000 (14:15 +0000)]
r283@gandalf: fugalh | 2006-08-09 08:13:37 -0600
Save state basics, including adding PBD::ID to the delinquents. Compiles but needs to be tested (because I can't get the whole thing to compile on OSX due to the Rect problem).
git-svn-id: svn://localhost/ardour2/branches/undo@769
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 14:14:55 +0000 (14:14 +0000)]
r282@gandalf: fugalh | 2006-08-08 16:24:45 -0600
grr
git-svn-id: svn://localhost/ardour2/branches/undo@768
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 9 Aug 2006 14:14:17 +0000 (14:14 +0000)]
r274@gandalf: fugalh | 2006-08-07 19:53:48 -0600
Nuke Serializable in favor of Stateful. Got rid of some warnings with stub
code.
git-svn-id: svn://localhost/ardour2/branches/undo@767
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Wed, 9 Aug 2006 04:53:12 +0000 (04:53 +0000)]
Renamed PluginUI to LadspaPluginUI to make things more clear.
git-svn-id: svn://localhost/ardour2/trunk@766
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Tue, 8 Aug 2006 21:27:41 +0000 (21:27 +0000)]
New session dialog fixups:
- The name specified on the command line for the new
session comes up in the dialog
- The editor will not appear below the NSD at startup
Command line parameter fixups:
- You can't specify both a new session and a old
session to load at the same time.
- Ardour will abort if command line parameters are
incorrect
Declick faster. Fixes audible and annoying volume ramps
when running ardour at large buffer sizes.
Make it impossible to arm tracks which have un-connected
inputs.
git-svn-id: svn://localhost/ardour2/trunk@765
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Tue, 8 Aug 2006 21:11:23 +0000 (21:11 +0000)]
pull from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@764
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Tue, 8 Aug 2006 04:17:26 +0000 (04:17 +0000)]
AudioUnit work.
Filled in some stub functions.
Started AUPluginUI class.
git-svn-id: svn://localhost/ardour2/trunk@762
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Sat, 5 Aug 2006 20:11:50 +0000 (20:11 +0000)]
Fix for compiling with gcc 4.1. Inlining functions which are used
by assigning pointers to the function doesn't make any sense.
git-svn-id: svn://localhost/ardour2/trunk@761
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Sat, 5 Aug 2006 17:48:01 +0000 (17:48 +0000)]
Fixed memory leak while recording due to rec region state saved every
time the fake region was updated. Now any StateManager object can
implement a should_save_state() which controls whether the state of the
object should be saved.
git-svn-id: svn://localhost/ardour2/trunk@760
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Sat, 5 Aug 2006 11:46:13 +0000 (11:46 +0000)]
shraed_ptr<> etc. fixes for VST's. VST support now compiles, but doesn't
run for some reason.
git-svn-id: svn://localhost/ardour2/trunk@759
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Fri, 4 Aug 2006 03:46:07 +0000 (03:46 +0000)]
Merging undo branch into trunk. It compiles and works for limited tests. Keep
your eye on it. Actual serialization is still not there, but the next step.
git-svn-id: svn://localhost/ardour2/trunk@758
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Fri, 4 Aug 2006 03:42:34 +0000 (03:42 +0000)]
Really fixed conflicts. Ready to merge into trunk.
git-svn-id: svn://localhost/ardour2/branches/undo@757
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Fri, 4 Aug 2006 02:18:45 +0000 (02:18 +0000)]
r269@gandalf: fugalh | 2006-08-03 20:18:05 -0600
Trunk merge conflicts resolved
git-svn-id: svn://localhost/ardour2/branches/undo@756
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 3 Aug 2006 22:01:17 +0000 (22:01 +0000)]
Fix for AudioUnit crash.
git-svn-id: svn://localhost/ardour2/trunk@755
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 3 Aug 2006 21:54:14 +0000 (21:54 +0000)]
r260@gandalf: fugalh | 2006-08-03 15:53:50 -0600
It compiles and runs and seems to still work. Still needed is the actual
serialization. Time to merge back to trunk so things can be tested by all.
git-svn-id: svn://localhost/ardour2/branches/undo@754
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 3 Aug 2006 21:19:34 +0000 (21:19 +0000)]
Start using libappleutility
More AudioUnit work
git-svn-id: svn://localhost/ardour2/trunk@753
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 3 Aug 2006 17:17:38 +0000 (17:17 +0000)]
Most PluginManager refactoring is out of the way. Time to begin on AudioUnit support for real.
git-svn-id: svn://localhost/ardour2/trunk@752
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Thu, 3 Aug 2006 14:40:59 +0000 (14:40 +0000)]
Oops. forgot the most important file of previous commit.
git-svn-id: svn://localhost/ardour2/trunk@751
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 3 Aug 2006 12:20:23 +0000 (12:20 +0000)]
Fixed link error.
git-svn-id: svn://localhost/ardour2/trunk@750
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Thu, 3 Aug 2006 11:54:06 +0000 (11:54 +0000)]
Small rehaul of track and automation track headers. This should now
initialize cleanly and be more easily controlled. show_all() calls from
upper levels will not mess the track headers any more.
git-svn-id: svn://localhost/ardour2/trunk@749
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Wed, 2 Aug 2006 20:17:00 +0000 (20:17 +0000)]
Added libappleutility from /Developer/Examples/CoreAudio/PublicUtility
More PluginManager refactoring
Rearranged AUPluginInfo for better maintainability
git-svn-id: svn://localhost/ardour2/trunk@748
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 2 Aug 2006 02:03:50 +0000 (02:03 +0000)]
Fix for all regions having a "speed mismatch" (showing a * in the regionview name)
Fix for region stacking problem (leftmost region view grayed out and un selectable)
git-svn-id: svn://localhost/ardour2/trunk@745
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 22:58:24 +0000 (22:58 +0000)]
Fixed random track background problem
Cleaned up StreamView initialization (cause of above problem)
Fixed other StreamView colour issues (incomplete port from GTK1 by the looks of it)
Added new narrower playback (top) toolbar (under 1024 now? maybe?)
Cleaned up status-in-menubar stuff (to be a bit narrower/nicer)
git-svn-id: svn://localhost/ardour2/trunk@743
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Jesse Chappell [Tue, 1 Aug 2006 22:11:04 +0000 (22:11 +0000)]
Fixed floating point resolution in saved state issue. Fixed OS X vector max routine to do the proper thing. Reduced the block size of temporary buffers during track export and normalization, which fixes some stack overflow problems on OS X.
git-svn-id: svn://localhost/ardour2/trunk@742
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Tue, 1 Aug 2006 22:00:40 +0000 (22:00 +0000)]
Fixed a nasty sound file overwrite issue due to how stub rec files were
renamed when the track they were associated with was renamed.
Also added a safeguard to check whether the renaming destination
location exists already.
git-svn-id: svn://localhost/ardour2/trunk@741
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 21:37:06 +0000 (21:37 +0000)]
Sure enough... forgot to add the new file
git-svn-id: svn://localhost/ardour2/trunk@740
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 21:33:25 +0000 (21:33 +0000)]
Moved DataType into it's own class (resolved a name clash on ARDOUR::MIDI
which was a show stopper for gcc 3.3)
Also fixed a few warnings in fft_graph.cc
git-svn-id: svn://localhost/ardour2/trunk@739
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Tue, 1 Aug 2006 21:11:55 +0000 (21:11 +0000)]
Added LADSPA_PATH to ardev_common.sh
Removed redundent added_plugins list from PluginSelector
Started refactoring of PluginManager into PluginInfo
PluginManager now uses shared_ptr<PluginInfo>
git-svn-id: svn://localhost/ardour2/trunk@738
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 19:17:49 +0000 (19:17 +0000)]
Minor changes from MIDI branch
git-svn-id: svn://localhost/ardour2/trunk@734
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Tue, 1 Aug 2006 04:05:15 +0000 (04:05 +0000)]
AudioUnits are selectable in PluginSelector. Will crash if someone clicks
"connect" button though.
Cleaned up AUHost code to use vector<> instead of an array.
git-svn-id: svn://localhost/ardour2/trunk@732
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 03:48:31 +0000 (03:48 +0000)]
Added missing file (well.. had to be at least one..)
git-svn-id: svn://localhost/ardour2/trunk@731
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 03:35:44 +0000 (03:35 +0000)]
Another OSX fix...
git-svn-id: svn://localhost/ardour2/trunk@730
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 03:34:14 +0000 (03:34 +0000)]
OSX fix (no posix_memalign)
git-svn-id: svn://localhost/ardour2/trunk@729
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 03:32:15 +0000 (03:32 +0000)]
Fix for Jack MIDI dependency (ie remove it)
git-svn-id: svn://localhost/ardour2/trunk@728
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 1 Aug 2006 03:23:35 +0000 (03:23 +0000)]
Heavy-duty abstraction work to split type-specific classes into
specializations of (new, for the most part) generic bases. (eg. most everything
from the MIDI branch except for actual MIDI things, so merges have a chance of
succeeding). Also the new edit toolbar, and various other cleanup things I did
along the way.
Should be functionally equivalent (except the toolbar), this is just design work.
She's a big'un....
git-svn-id: svn://localhost/ardour2/trunk@727
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Mon, 31 Jul 2006 22:24:05 +0000 (22:24 +0000)]
Use UTF8 instead of ASCII in CFString conversion.
git-svn-id: svn://localhost/ardour2/trunk@725
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Mon, 31 Jul 2006 22:05:28 +0000 (22:05 +0000)]
Start of AudioUnit work. COREAUDIO=y is a little destable for now.
git-svn-id: svn://localhost/ardour2/trunk@724
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Mon, 31 Jul 2006 21:58:01 +0000 (21:58 +0000)]
Editing text now works even with num lock or caps lock on.
git-svn-id: svn://localhost/ardour2/trunk@723
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Sat, 29 Jul 2006 03:17:11 +0000 (03:17 +0000)]
Compiles, but doesn't link. The link errors are mostly expected and are
tomorrow's task.
git-svn-id: svn://localhost/ardour2/branches/undo@719
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Fri, 28 Jul 2006 23:38:30 +0000 (23:38 +0000)]
r209@gandalf: fugalh | 2006-07-28 17:38:21 -0600
global {solo,mute,record enable,metering} state commands. Same philosophy as
the MementoCommand but using only the appropriate state and not the entire
state of the session.
git-svn-id: svn://localhost/ardour2/branches/undo@718
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Fri, 28 Jul 2006 19:46:50 +0000 (19:46 +0000)]
Updates to get CoreAudioSource linking again.
git-svn-id: svn://localhost/ardour2/trunk@715
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Jesse Chappell [Fri, 28 Jul 2006 18:30:56 +0000 (18:30 +0000)]
fixed flac sconstruct checklib questionably by adding a language=CXX param
git-svn-id: svn://localhost/ardour2/trunk@714
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Thu, 27 Jul 2006 22:16:35 +0000 (22:16 +0000)]
shared_ptr fixes
git-svn-id: svn://localhost/ardour2/trunk@709
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 27 Jul 2006 16:58:20 +0000 (16:58 +0000)]
add forgotten rcu.h header
git-svn-id: svn://localhost/ardour2/trunk@708
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 27 Jul 2006 16:52:14 +0000 (16:52 +0000)]
added RCU handling of Session route list, and major use of shared_ptr<T> everywhere else. plus a few bug fixes for issues discovered with -Wextra
git-svn-id: svn://localhost/ardour2/trunk@707
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 27 Jul 2006 03:30:03 +0000 (03:30 +0000)]
sfdb paths are saved and restored.
git-svn-id: svn://localhost/ardour2/trunk@700
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 27 Jul 2006 00:19:27 +0000 (00:19 +0000)]
r206@gandalf: fugalh | 2006-07-26 18:19:07 -0600
A couple more Command conversions. Now all that's left are the half dozen
or so global mementos.
git-svn-id: svn://localhost/ardour2/branches/undo@698
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 27 Jul 2006 00:19:12 +0000 (00:19 +0000)]
r205@gandalf: fugalh | 2006-07-26 18:11:47 -0600
More Command conversions
git-svn-id: svn://localhost/ardour2/branches/undo@697
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 26 Jul 2006 23:29:20 +0000 (23:29 +0000)]
r200@gandalf: fugalh | 2006-07-26 17:28:46 -0600
Oops, missed one.
git-svn-id: svn://localhost/ardour2/branches/undo@696
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Wed, 26 Jul 2006 23:28:54 +0000 (23:28 +0000)]
r199@gandalf: fugalh | 2006-07-26 17:22:38 -0600
Memento(Redo|Undo)Command has a noop for the undo or redo respectively, and
we don't need both before and after state. This is primarily useful for
drag start/finish callbacks, and really only makes sense where wrapped by
(begin|commit)_reversible_command (a composite command).
Also a few more "normal" MementoCommands.
git-svn-id: svn://localhost/ardour2/branches/undo@695
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Wed, 26 Jul 2006 22:18:55 +0000 (22:18 +0000)]
Minor updates for PathList and OptionEditor.
git-svn-id: svn://localhost/ardour2/trunk@694
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Wed, 26 Jul 2006 19:22:06 +0000 (19:22 +0000)]
Added PathList widget to Gtkmm2ext. It is for adding and removing directory
paths to a list. It'll be used for sfdb_paths and raid_paths in the OptionEditor.
git-svn-id: svn://localhost/ardour2/trunk@693
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Tue, 25 Jul 2006 01:50:20 +0000 (01:50 +0000)]
r191@gandalf: fugalh | 2006-07-24 19:50:10 -0600
All the obvious MementoCommand grunt work. Now there's some
add_undo/add_redo_no_execute sprinkled around where one is separated from the
other (e.g. in different callbacks) or perhaps even where there's only an undo
and no redo. Also some sigc-based undo/redo pairs that probably need their own
Command class.
git-svn-id: svn://localhost/ardour2/branches/undo@692
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Sat, 22 Jul 2006 16:21:10 +0000 (16:21 +0000)]
Fixed double delete in Stateful::add_instant_xml().
git-svn-id: svn://localhost/ardour2/trunk@690
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Wed, 19 Jul 2006 16:47:04 +0000 (16:47 +0000)]
Removed unused midicontrollable.cc
Enum and namespace syntax fixes to satisfy -pedantic
Resolved a couple "code never reached" areas to satisfy -Wextra
git-svn-id: svn://localhost/ardour2/trunk@688
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Wed, 19 Jul 2006 03:49:52 +0000 (03:49 +0000)]
Updated config.guess file
Added mac specific ardour2_mac_ui.rc file
Fixed some memory leaks in add_instant_xml() usage.
Added EXTRA_WARN scons option for pedants.
Reformatted xml++.cc into something that wouldn't drive me insane.
git-svn-id: svn://localhost/ardour2/trunk@686
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Tue, 18 Jul 2006 23:54:31 +0000 (23:54 +0000)]
r189@gandalf: fugalh | 2006-07-18 17:54:25 -0600
This is the first swath of changes, replacing add_undo with MementoCommand
pattern, through most of the editor_mouse.cc file. However there were a few
places that weren't symmetrical that I need to think about. The question is
whether to tweak things so that they are symmetrical (add_undo paired with
add_redo*), or to allow Commands to not be undoable or not be redoable. Your
thoughts are welcome.
git-svn-id: svn://localhost/ardour2/branches/undo@685
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Tue, 18 Jul 2006 17:47:12 +0000 (17:47 +0000)]
r184@gandalf: fugalh | 2006-07-17 19:02:10 -0600
(begin|commit)_reversible_command in Editor and Session
git-svn-id: svn://localhost/ardour2/branches/undo@684
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Tue, 18 Jul 2006 17:46:20 +0000 (17:46 +0000)]
r183@gandalf: fugalh | 2006-07-17 19:01:39 -0600
Use XMLNode instead of templating memento types.
git-svn-id: svn://localhost/ardour2/branches/undo@683
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 13 Jul 2006 13:58:05 +0000 (13:58 +0000)]
destructive track work: regions now display offset by bwf timeline reference, cannot rec-enable before session start
git-svn-id: svn://localhost/ardour2/trunk@681
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Tue, 11 Jul 2006 22:29:39 +0000 (22:29 +0000)]
r168@gandalf: fugalh | 2006-07-11 16:29:22 -0600
I just had an epiphany. I tried so many ways to make saving function name and
args work, it never occured to me that you could just as easily save undo
information as a pair of mementos, even in the Command-based structure we
agreed on.
Since many (read: almost all) existing undo commands take this form:
begin_reversible_command (_("change fade in length"));
session->add_undo (arv->region.get_memento());
arv->region.set_fade_in_length (fade_length);
session->add_redo_no_execute (arv->region.get_memento());
commit_reversible_command ();
We are already doing the save a memento before and after work. All we need to
do is instantiate an appropriate instance of MementoCommand. So the above
becomes:
begin_reversible_command (_("change fade in length"));
MementoCommand<arv_region_t, arv_region_memento_t> before, after;
before = arv->region.get_memento();
arv->region.set_fade_in_length (fade_length);
after = arv->region.get_memento();
session->add_command(arv->region, before, after);
commit_reversible_command ();
(With apologies for being too lazy to go look up what arv_region_t and
arv_region_memento_t are)
Note that the true command approach is still possible, and encouraged (both by
dictate and design).
git-svn-id: svn://localhost/ardour2/branches/undo@680
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Tue, 11 Jul 2006 20:43:39 +0000 (20:43 +0000)]
Make it possible to edit multiple pan automation lines
git-svn-id: svn://localhost/ardour2/trunk@679
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 11 Jul 2006 15:45:19 +0000 (15:45 +0000)]
make waveforms centered when height hits NAME_HIGHLIGHT_THRESHOLD
git-svn-id: svn://localhost/ardour2/trunk@678
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 11 Jul 2006 14:30:19 +0000 (14:30 +0000)]
removed references to midi controls from VST plugin support
git-svn-id: svn://localhost/ardour2/trunk@677
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 11 Jul 2006 14:15:55 +0000 (14:15 +0000)]
fix for playhead/edit cursor having wrong z-order placement; fix fader mouse control
git-svn-id: svn://localhost/ardour2/trunk@676
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Tue, 11 Jul 2006 04:15:29 +0000 (04:15 +0000)]
Fix for compiling on gcc4.
AudioLibrary now stateful.
git-svn-id: svn://localhost/ardour2/trunk@675
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 10 Jul 2006 20:12:48 +0000 (20:12 +0000)]
BWF offset changes from Ben Loftis, hacked by hand into current svn
git-svn-id: svn://localhost/ardour2/trunk@674
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 10 Jul 2006 20:01:47 +0000 (20:01 +0000)]
modification to make generic MIDI actually work again
git-svn-id: svn://localhost/ardour2/trunk@673
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Sat, 8 Jul 2006 19:39:53 +0000 (19:39 +0000)]
save+restore ID counter; fix buglet introduced with ID's when saving region state
git-svn-id: svn://localhost/ardour2/trunk@672
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Sat, 8 Jul 2006 13:26:07 +0000 (13:26 +0000)]
remove UUIDs as implemention of PBD::ID, use static counter (not finished - counter state not saved)
git-svn-id: svn://localhost/ardour2/trunk@671
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Sat, 8 Jul 2006 00:25:34 +0000 (00:25 +0000)]
add new files
git-svn-id: svn://localhost/ardour2/trunk@670
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Fri, 7 Jul 2006 23:51:30 +0000 (23:51 +0000)]
id_t becomes a fully-fledged object, UUID's used for IDs, generic MIDI now owns bindings, MIDI binding concept removed from libardour itself in favor of generic Controllables
git-svn-id: svn://localhost/ardour2/trunk@669
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Thu, 6 Jul 2006 21:25:45 +0000 (21:25 +0000)]
Fixed compile warnings.
git-svn-id: svn://localhost/ardour2/trunk@668
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 6 Jul 2006 18:25:58 +0000 (18:25 +0000)]
r162@gandalf: fugalh | 2006-06-30 19:30:58 -0600
some macros for MementoCommand()
git-svn-id: svn://localhost/ardour2/branches/undo@666
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Jesse Chappell [Thu, 6 Jul 2006 13:00:20 +0000 (13:00 +0000)]
- fixed editor forced minimum size issue
- fixed thinko in selectable
- fixed incorrect virtual method signature in fft_graph
git-svn-id: svn://localhost/ardour2/trunk@665
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Sun, 2 Jul 2006 20:51:16 +0000 (20:51 +0000)]
Fix midi control for log plugin parameters.
git-svn-id: svn://localhost/ardour2/trunk@663
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Sun, 2 Jul 2006 09:19:24 +0000 (09:19 +0000)]
Rename pbd3 to pbd
git-svn-id: svn://localhost/ardour2/trunk@662
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Fri, 30 Jun 2006 17:24:16 +0000 (17:24 +0000)]
r155@gandalf: fugalh | 2006-06-30 11:21:45 -0600
MementoCommand - for the lazy at heart
git-svn-id: svn://localhost/ardour2/branches/undo@661
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Fri, 30 Jun 2006 17:23:12 +0000 (17:23 +0000)]
r154@gandalf: fugalh | 2006-06-30 11:16:27 -0600
fixed guard defines
git-svn-id: svn://localhost/ardour2/branches/undo@660
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 29 Jun 2006 22:21:30 +0000 (22:21 +0000)]
Fixed i18n system.
Renamed pbd3 back to pbd, since it's version 4.1 now.
Very minor fixes
git-svn-id: svn://localhost/ardour2/trunk@656
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 29 Jun 2006 18:49:03 +0000 (18:49 +0000)]
r132@gandalf: fugalh | 2006-06-29 12:45:16 -0600
Coding for undo/redo starts in earnest. Paul and I decided to go with a
standard gang of four Command pattern, with serialization. This overcomes the
terrible difficulties we were having with static type checking and the sigc++
approach. I'm adding the requirement that each command support undo,
simplifying undo/redo. NOTE that an important fallout here is that
Command::operator()() is the opposite of the old UndoAction::operator()(), i.e.
Command::operator()() is execute/redo, and Command::undo() is undo.
This commit is a reworking of the infrastructure, and won't compile until
creating Command subclasses for the various commands being performed. That is
primarily where you find get_memento and/or calls to add_(undo|redo.*).
git-svn-id: svn://localhost/ardour2/branches/undo@655
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 29 Jun 2006 18:45:41 +0000 (18:45 +0000)]
r115@gandalf: fugalh | 2006-06-23 12:36:05 -0600
pass the object instead of an id
git-svn-id: svn://localhost/ardour2/branches/undo@654
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Thu, 29 Jun 2006 16:29:19 +0000 (16:29 +0000)]
Added path.cc and tokenizer.h from win32 branch.
Added mountpoint.cc support for non-getmntent() systems.
git-svn-id: svn://localhost/ardour2/trunk@653
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Fugal [Thu, 29 Jun 2006 14:19:37 +0000 (14:19 +0000)]
merging trunk
git-svn-id: svn://localhost/ardour2/branches/undo@652
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Jesse Chappell [Thu, 29 Jun 2006 03:53:23 +0000 (03:53 +0000)]
added ladspa path stuff to osx exporter script
git-svn-id: svn://localhost/ardour2/trunk@651
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Taybin Rutkin [Wed, 28 Jun 2006 22:06:31 +0000 (22:06 +0000)]
Removed Cassowary library. (best laid plans...)
git-svn-id: svn://localhost/ardour2/trunk@650
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Wed, 28 Jun 2006 22:00:09 +0000 (22:00 +0000)]
many fixes to audio file code, SMPTE offset now works correctly
git-svn-id: svn://localhost/ardour2/trunk@649
d708f5d6-7413-0410-9779-
e7cbd77b26cf