13
0
Commit Graph

911 Commits

Author SHA1 Message Date
edde9b5983 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
2006-07-13 13:58:05 +00:00
Hans Fugal
0bd3b0b670 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
2006-07-11 22:29:39 +00:00
Sampo Savolainen
f0484eee89 Make it possible to edit multiple pan automation lines
git-svn-id: svn://localhost/ardour2/trunk@679 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-11 20:43:39 +00:00
f535b0f491 make waveforms centered when height hits NAME_HIGHLIGHT_THRESHOLD
git-svn-id: svn://localhost/ardour2/trunk@678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-11 15:45:19 +00:00
e7efb38fc5 removed references to midi controls from VST plugin support
git-svn-id: svn://localhost/ardour2/trunk@677 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-11 14:30:19 +00:00
c5fbb8234b 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
2006-07-11 14:15:55 +00:00
Taybin Rutkin
2161752a1b Fix for compiling on gcc4.
AudioLibrary now stateful.


git-svn-id: svn://localhost/ardour2/trunk@675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-11 04:15:29 +00:00
c3b4df9867 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
2006-07-10 20:12:48 +00:00
26843b34fd modification to make generic MIDI actually work again
git-svn-id: svn://localhost/ardour2/trunk@673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-10 20:01:47 +00:00
05f8fcd189 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
2006-07-08 19:39:53 +00:00
3dec68cd6b 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
2006-07-08 13:26:07 +00:00
eaf5d6d21f add new files
git-svn-id: svn://localhost/ardour2/trunk@670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-08 00:25:34 +00:00
8b46567e06 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
2006-07-07 23:51:30 +00:00
Sampo Savolainen
6f2e8de6a0 Fixed compile warnings.
git-svn-id: svn://localhost/ardour2/trunk@668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-06 21:25:45 +00:00
Hans Fugal
ab1b29bcb2 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
2006-07-06 18:25:58 +00:00
Jesse Chappell
ee58e757e9 - 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
2006-07-06 13:00:20 +00:00
Sampo Savolainen
118175a3a2 Fix midi control for log plugin parameters.
git-svn-id: svn://localhost/ardour2/trunk@663 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-02 20:51:16 +00:00
Sampo Savolainen
aebd64bb6a Rename pbd3 to pbd
git-svn-id: svn://localhost/ardour2/trunk@662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-02 09:19:24 +00:00
Hans Fugal
a5386f8d59 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
2006-06-30 17:24:16 +00:00
Hans Fugal
21af0d4ae2 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
2006-06-30 17:23:12 +00:00
Taybin Rutkin
481f7c3965 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
2006-06-29 22:21:30 +00:00
Hans Fugal
6337a1894c 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
2006-06-29 18:49:03 +00:00
Hans Fugal
5b289d3006 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
2006-06-29 18:45:41 +00:00
Taybin Rutkin
d1a4f74ef2 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
2006-06-29 16:29:19 +00:00
Hans Fugal
7968974c01 merging trunk
git-svn-id: svn://localhost/ardour2/branches/undo@652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-29 14:19:37 +00:00
Jesse Chappell
2fa75950c7 added ladspa path stuff to osx exporter script
git-svn-id: svn://localhost/ardour2/trunk@651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-29 03:53:23 +00:00
Taybin Rutkin
43c054a005 Removed Cassowary library. (best laid plans...)
git-svn-id: svn://localhost/ardour2/trunk@650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-28 22:06:31 +00:00
728835e5e7 many fixes to audio file code, SMPTE offset now works correctly
git-svn-id: svn://localhost/ardour2/trunk@649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-28 22:00:09 +00:00
Taybin Rutkin
fdda19d3d4 CoreAudioSource moved to coreaudiosource.cc.
Compiles with new libsndfile class hierarchy.


git-svn-id: svn://localhost/ardour2/trunk@647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-27 21:57:15 +00:00
Taybin Rutkin
17916d84bc Start of app_build script.
git-svn-id: svn://localhost/ardour2/trunk@646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-27 15:39:33 +00:00
Taybin Rutkin
71862247ad Components of Ardour.app package.
git-svn-id: svn://localhost/ardour2/trunk@644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-27 00:45:25 +00:00
Hans Fugal
7ff370e798 Merging from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 23:40:55 +00:00
Hans Fugal
fd742b30fa r111@gandalf: fugalh | 2006-06-22 17:38:14 -0600
progress on UndoCommand constructors


git-svn-id: svn://localhost/ardour2/branches/undo@637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 23:38:19 +00:00
Hans Fugal
4078b9ec64 r80@gandalf: fugalh | 2006-06-22 16:37:01 -0600
reworked templatization of UndoCommand


git-svn-id: svn://localhost/ardour2/branches/undo@636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 22:37:08 +00:00
2b5d095464 correctly forward configure events to plugin windows, and cleanup FST code
git-svn-id: svn://localhost/ardour2/trunk@635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 21:04:47 +00:00
58c39d50b1 remove references to un-namespaced "error" symbol
git-svn-id: svn://localhost/ardour2/trunk@634 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 15:00:45 +00:00
79bd2334db don't use PluginSelector::vst_refiller if VST_SUPPORT not defined
git-svn-id: svn://localhost/ardour2/trunk@633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 02:58:41 +00:00
5df781bb0d use newer python string methods
git-svn-id: svn://localhost/ardour2/trunk@632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 00:30:28 +00:00
d9339f2f40 add actual wine-built code for VST support
git-svn-id: svn://localhost/ardour2/trunk@631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 00:23:11 +00:00
4d3e06f29d more details for VST support
git-svn-id: svn://localhost/ardour2/trunk@630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-22 00:22:16 +00:00
912da52a53 the return of VST support
git-svn-id: svn://localhost/ardour2/trunk@629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-21 23:01:03 +00:00
69ac3569ed allow libsndfile to open BWF files; fix -Woverload-virtuals being in CCFLAGS instead of CXXFLAGS where it should be
git-svn-id: svn://localhost/ardour2/trunk@626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20 21:24:50 +00:00
Taybin Rutkin
78889b0958 Merged revisions 588:623 from tag/presndfile.
Minor scons fixes.
CoreAudioSource updates.


git-svn-id: svn://localhost/ardour2/trunk@625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20 20:14:31 +00:00
be362ae53c fixes for libsndfile conversion issues, tape track waveform display and overloaded virtual functions
git-svn-id: svn://localhost/ardour2/trunk@624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-20 18:50:38 +00:00
c03dbd7568 Fixed typo that had "Send MMC" toggling Send MTC
git-svn-id: svn://localhost/ardour2/trunk@613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-16 01:05:06 +00:00
6313751f75 Moved SMPTE type/functions into SMPTE namespace;
LGPL'd SMPTE code and moved in to libardour_cp;
Juggled control_protocol dir layout to be the same as other libs;


git-svn-id: svn://localhost/ardour2/trunk@610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 21:54:26 +00:00
Sampo Savolainen
4ef0bd2310 Make signals below -200dB "-inf" in meters.
git-svn-id: svn://localhost/ardour2/trunk@609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 21:11:43 +00:00
Sampo Savolainen
8e8b920fa6 Make peak bar always fit the area of the meter
git-svn-id: svn://localhost/ardour2/trunk@608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 20:56:46 +00:00
Sampo Savolainen
e509ef5c06 Make the tranzport surface work even if the call to
usb_set_configuration() fails


git-svn-id: svn://localhost/ardour2/trunk@607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 20:55:54 +00:00
Hans Fugal
7c9361b865 r59@gandalf: fugalh | 2006-06-15 12:16:20 -0600
renamed UndoCommand to UndoTransaction, and created new UndoCommand class and
 its templated subclass SlotCommand. Those two are still in considerable flux.


git-svn-id: svn://localhost/ardour2/branches/undo@606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 18:21:31 +00:00