13
0
Commit Graph

3764 Commits

Author SHA1 Message Date
ff7785142d fix up some logic so that we don't replicate the session dir path twice in the search path(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@10937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 17:45:18 +00:00
81b5814098 add visible() method to Tearoff so we can check whether or not it is hidden
git-svn-id: svn://localhost/ardour2/branches/3.0@10935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 15:48:00 +00:00
50aee54219 remove visible "sound notes" button,add Config parameter to control this (which then saves the state the user selected), add control to the prefs dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@10934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 14:23:32 +00:00
20aeb5af0a move CairoWidget into gtkmm2ext, add CairoPacker, made the time info box use CairoPacker, make the info status "bar" use CairoPacker
git-svn-id: svn://localhost/ardour2/branches/3.0@10933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 13:57:45 +00:00
2f837b66f7 switch to benjamin otte's implemention of fit_to_pixels() but leave uncommented because this prototype is not used; move 2 other non-ardour-specific utility functions into gtkmm2ext
git-svn-id: svn://localhost/ardour2/branches/3.0@10931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 13:07:43 +00:00
94658aa66e send correct PropertyChange for RouteGroup::set_route_active
git-svn-id: svn://localhost/ardour2/branches/3.0@10927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 03:22:06 +00:00
1c1c570898 send PropertyChange for RouteGroup::set_edit
git-svn-id: svn://localhost/ardour2/branches/3.0@10925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 03:00:55 +00:00
06b52150ba send PropertyChange messages when changing RouteGroup properties
git-svn-id: svn://localhost/ardour2/branches/3.0@10922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 02:04:09 +00:00
d29fe416da if color property is not yet set, don't render
git-svn-id: svn://localhost/ardour2/branches/3.0@10915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:58:41 +00:00
5e3a3b56de add a new simple cell renderer to be used to allow color display/editing in treeviews
git-svn-id: svn://localhost/ardour2/branches/3.0@10913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:43:30 +00:00
c44e520d8c when doing a pure copy of a region, which resets the position, reset the position to the original after returning from the copy constructor. this keeps the semantics similar to the copy done usign a property list, where position etc. is expected to be set after construction. fixes #4519
git-svn-id: svn://localhost/ardour2/branches/3.0@10906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 18:49:04 +00:00
b0a2eb359d use the correct display for key accelerators
git-svn-id: svn://localhost/ardour2/branches/3.0@10893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 22:01:59 +00:00
af768c7429 be consistent in the way we merge environment-set search paths and pre-defined ones
git-svn-id: svn://localhost/ardour2/branches/3.0@10890 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 21:08:34 +00:00
7a5a5da953 probably fix failure to find export formats in packages
git-svn-id: svn://localhost/ardour2/branches/3.0@10888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 20:05:50 +00:00
6fbd05a77d some more package debugging to help find out why export formats are not found
git-svn-id: svn://localhost/ardour2/branches/3.0@10887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 19:37:15 +00:00
9238253441 some package debugging to help find out why export formats are not found
git-svn-id: svn://localhost/ardour2/branches/3.0@10886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 18:48:28 +00:00
Carl Hetherington
e2d6d8e34d Remove unused variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@10885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 16:59:19 +00:00
5b913f9a2b add PAINT_VERTA_GR and PAINT_BOX_GR to rgba macros (from Mike Dawes)
git-svn-id: svn://localhost/ardour2/branches/3.0@10874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 21:08:13 +00:00
34909f79ad Make Carbon GUI support for AU's optional at compile time (from Robin)
git-svn-id: svn://localhost/ardour2/branches/3.0@10872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:42:27 +00:00
639bb7dc5d use compiler-generated _LP64 macro to detect x86_64 rather than USE_X86_64_ASM
git-svn-id: svn://localhost/ardour2/branches/3.0@10871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:38:31 +00:00
14d601a0ff revert recent change to Evoral::Event, and use static_cast<> to get from Event to MIDIEvent
git-svn-id: svn://localhost/ardour2/branches/3.0@10870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:34:58 +00:00
07b4626ea5 build changes from robin gareus for OS X, changing AU support to be used appropriately rather than GTKOSX
git-svn-id: svn://localhost/ardour2/branches/3.0@10869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:03:03 +00:00
d05a09991a catch up with is_silent change
git-svn-id: svn://localhost/ardour2/branches/3.0@10868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 20:02:28 +00:00
5aa4d95f59 rename a Buffer/BufferSet method to be a little clearer as to its intent (is_silent(bool) => set_is_silent(bool))
git-svn-id: svn://localhost/ardour2/branches/3.0@10867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 19:53:33 +00:00
a38df56f97 correct code for MIDIEvent::is_{spp,mtc_quarter}()
git-svn-id: svn://localhost/ardour2/branches/3.0@10866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 19:40:03 +00:00
a1cf2bba36 new configuration variable to control display of periodic MIDI messages
git-svn-id: svn://localhost/ardour2/branches/3.0@10864 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 19:33:46 +00:00
42944eccff probable fix for compile failures on OS X caused by unconditional inclusion of vst_plugin.cc in source list
git-svn-id: svn://localhost/ardour2/branches/3.0@10863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 19:32:42 +00:00
60e6b5d561 add 3 new is_foo() methods to MIDIEvent for testing for certain periodic MIDI messages
git-svn-id: svn://localhost/ardour2/branches/3.0@10862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 19:31:53 +00:00
ebc0b88248 make Evoral::Event be polymorphic by adding virtual to its destructor (why was this not done already?)
git-svn-id: svn://localhost/ardour2/branches/3.0@10861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 19:31:19 +00:00
ad1ec2bacc get that fix for accels in tooltips correct this time
git-svn-id: svn://localhost/ardour2/branches/3.0@10856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 03:40:56 +00:00
6a61ddb3af fix message about markup elements by changing accel strings from <Mod> to Mod-
git-svn-id: svn://localhost/ardour2/branches/3.0@10854 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 01:58:32 +00:00
93d8451d9e significantly reduce rounding error when doing framepos_t + BBT math
git-svn-id: svn://localhost/ardour2/branches/3.0@10852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 22:54:50 +00:00
bcaccc5ece stop spewing debug output from SMFSource
git-svn-id: svn://localhost/ardour2/branches/3.0@10851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 20:11:22 +00:00
b504c8cc90 fix a number of fundamental issues with Gtkmm2ext::Prompter, mostly centered on bad behaviour when Enter/Return is pressed
git-svn-id: svn://localhost/ardour2/branches/3.0@10848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 19:32:56 +00:00
8480cf69ce provide semantic ordering of simultaneous MIDI events; add operator== to MidiBuffer iterator; add empty() to MidiBuffer for no particular reason
git-svn-id: svn://localhost/ardour2/branches/3.0@10846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-01 16:22:51 +00:00
6a5a5b0340 commit to the "new" tooltip API, use set_tooltip_markup() rather than set_tooltip_text() to allow for more creative tooltips
git-svn-id: svn://localhost/ardour2/branches/3.0@10844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 21:07:11 +00:00
51138ef75b update CycleTimer to utilize NDEBUG and PBD::DEBUG so that we can leave them in place and use them at run time
git-svn-id: svn://localhost/ardour2/branches/3.0@10840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-30 15:24:31 +00:00
Carl Hetherington
01acbbea80 Speculative fix for crash with untranslated messages
without | in them (#4521).


git-svn-id: svn://localhost/ardour2/branches/3.0@10838 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-29 21:43:40 +00:00
8d2666e157 temporarily revert change that might be causing an endless loop while MIDI monitoring/recording
git-svn-id: svn://localhost/ardour2/branches/3.0@10836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-29 12:27:27 +00:00
a9a288b6a8 extra include required for S_()
git-svn-id: svn://localhost/ardour2/branches/3.0@10835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 21:07:22 +00:00
c05e30c043 add _S() macro to i18n.h for libs/ardour and libs/gtkmm2ext
git-svn-id: svn://localhost/ardour2/branches/3.0@10834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 20:38:23 +00:00
Carl Hetherington
23964284a4 Hopefully fix some i18n bugs (#3565).
git-svn-id: svn://localhost/ardour2/branches/3.0@10833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 19:46:30 +00:00
eee1151e55 remove get_rt() call from graph code, since JACK takes care of that for us and all process threads are created using libjack thread API
git-svn-id: svn://localhost/ardour2/branches/3.0@10829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28 15:58:25 +00:00
Carl Hetherington
e355b5df27 Add option to glue new regions to bars and beats (#4202).
git-svn-id: svn://localhost/ardour2/branches/3.0@10821 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 19:33:13 +00:00
0a71d52448 Fix key bindings in tooltips for ArdourButton buttons.
Sinced gtkmm2ext needs to get at the actions of widgets, I moved the
action to Gtkmm2ext::Activatable.  Not sure if the wisest thing to
do here would be to use Gtkmm::Activatable, but figured there's
a reason Paul didn't do so (the name set_related_action is from there
so presumably it's known about), so this is the simplest change
that allows access to the action in Gtkmm2ext.  The vfunc calling
stuff should probably move there as well...


git-svn-id: svn://localhost/ardour2/branches/3.0@10818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 05:36:31 +00:00
0bd3105f50 Save references to external files in LV2 state as symbolic links.
With this commit it is possible to archive sessions that contain plugins with
complex file-containing state (e.g. Linuxsampler with a sample bank loaded)
with any archive tool, e.g.:

tar -hjcf session.tar.bz2 session

Which will give you a fully self-contained archive of everything used in the
session, so you can e.g. send it to a collaborator who may not have the same
sample banks in the same place as you and it will work.


git-svn-id: svn://localhost/ardour2/branches/3.0@10817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 00:53:45 +00:00
Carl Hetherington
5aec659c60 If a tempo change is inserted some way through a bar, fix up the time signature of the previous bar so that the tempo map remains consistent. Should help with #4200.
git-svn-id: svn://localhost/ardour2/branches/3.0@10816 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24 00:40:45 +00:00
Carl Hetherington
7548afd356 Fix some confusion over getting parameter details from
VSTs.


git-svn-id: svn://localhost/ardour2/branches/3.0@10814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 22:46:43 +00:00
8b07828f0b Remove silly print.
git-svn-id: svn://localhost/ardour2/branches/3.0@10812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:55:26 +00:00
Carl Hetherington
2780e0ce5d Missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@10811 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:55:05 +00:00
ae5a56941e Rename lv2_plugin_lilv.cc back to lv2_plugin.cc.
git-svn-id: svn://localhost/ardour2/branches/3.0@10809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:34:25 +00:00
Carl Hetherington
7c87036ee3 Rename linux VST files to be more friendly.
git-svn-id: svn://localhost/ardour2/branches/3.0@10808 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:31:04 +00:00
Carl Hetherington
9040712ab9 Don't load program 0 on initialising a VST; I don't
think we do that for any other plugins.  Restore
chunk-based preset loading for Linux VSTs.


git-svn-id: svn://localhost/ardour2/branches/3.0@10805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:55 +00:00
Carl Hetherington
e8ee8593c7 Trim function that is only used once.
git-svn-id: svn://localhost/ardour2/branches/3.0@10804 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:48 +00:00
96f3d1fd5c Commit of the century, right here.
git-svn-id: svn://localhost/ardour2/branches/3.0@10803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:47 +00:00
Carl Hetherington
569bf2f27e Remove VST current_program variable, since that stuff is
managed by the presets code in Plugin.


git-svn-id: svn://localhost/ardour2/branches/3.0@10801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:38 +00:00
Carl Hetherington
360b4aed17 Remove heinous hack that is no longer required if we are
not attempting to track setting modified status.


git-svn-id: svn://localhost/ardour2/branches/3.0@10800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 19:29:30 +00:00
Carl Hetherington
0a66ccc3bb Patch from colinf to fix build on gtkmm versions prior to 2.28 (#4506).
git-svn-id: svn://localhost/ardour2/branches/3.0@10791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 13:27:17 +00:00
e70249ab65 Pack toolbar combo boxes with expand=false and remove size kludges.
Turns out gtk these days sizes combo boxes with precisely enough space if
packed to not expand, none of this mess is necessary any more.


git-svn-id: svn://localhost/ardour2/branches/3.0@10790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 08:35:41 +00:00
fd47b579b5 Implement latest LV2 state extension (0.4).
Corresponding patch to LinuxSampler available here: http://drobilla.net/files/linuxsampler_lv2_state_0_4.diff


git-svn-id: svn://localhost/ardour2/branches/3.0@10788 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 06:39:45 +00:00
Carl Hetherington
d325144ebc Fix segfault on close.
git-svn-id: svn://localhost/ardour2/branches/3.0@10784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 00:55:34 +00:00
Carl Hetherington
aed44005b2 Merge some linux/windows VST GUI code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 00:55:25 +00:00
efe14fbd52 Fix broken whitespace via merciless application of the emacs hammer.
git-svn-id: svn://localhost/ardour2/branches/3.0@10782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 00:17:31 +00:00
2929cd1c36 tweak debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@10780 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 20:29:41 +00:00
b27200688b fix mis-ordering of MIDI events when merging MidiBuffers in-place
git-svn-id: svn://localhost/ardour2/branches/3.0@10779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 20:29:12 +00:00
Carl Hetherington
d1cfe482a8 Remove unused file.
git-svn-id: svn://localhost/ardour2/branches/3.0@10776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 16:31:31 +00:00
Carl Hetherington
8e34ec7c0e Use same VST callback for both Linux and Windows VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 16:30:58 +00:00
Carl Hetherington
bef7b70e47 Add missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@10774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 15:15:17 +00:00
Carl Hetherington
d1226a8628 Push most of LXVSTPlugin and WindowsVSTPlugin up to VSTPlugin parent.
git-svn-id: svn://localhost/ardour2/branches/3.0@10773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 15:14:41 +00:00
Carl Hetherington
64303fbe98 No-op; tidy-up.
git-svn-id: svn://localhost/ardour2/branches/3.0@10768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 12:35:21 +00:00
Carl Hetherington
2c6a9b11ac Remove unused define.
git-svn-id: svn://localhost/ardour2/branches/3.0@10764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 02:33:56 +00:00
Carl Hetherington
7c5fbe7060 Fix tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@10763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 02:29:44 +00:00
Carl Hetherington
16aece1d47 Share main VSTFX / FST struct between windows / linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 02:27:26 +00:00
Carl Hetherington
51e43ae5a7 Fix tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@10761 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 02:02:04 +00:00
Carl Hetherington
b0842e706e Remove unused file.
git-svn-id: svn://localhost/ardour2/branches/3.0@10759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 01:29:05 +00:00
Carl Hetherington
ff98e0490d Share VSTHandle and VSTInfo between windows/linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 01:28:34 +00:00
Carl Hetherington
d98b2b6039 Use same aeffectx.h for windows and linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 01:28:27 +00:00
Carl Hetherington
ac647e5fec Fix Windows VST compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@10756 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 00:15:52 +00:00
Carl Hetherington
d7b38512b8 Remove VESTIGE_HEADER stuff since we will always use it.
git-svn-id: svn://localhost/ardour2/branches/3.0@10755 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-22 00:15:46 +00:00
Carl Hetherington
2f7b61155e Make the windows VST callback use int32_t rather than long (to make it the same as the linux VST one); I think this is safe as the windows VST code is only built on 32-bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 23:45:15 +00:00
4821026841 more spreading of I18N_PACKAGE as the name for .mo files
git-svn-id: svn://localhost/ardour2/branches/3.0@10752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 23:20:31 +00:00
Carl Hetherington
e133709def Missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@10751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 22:46:35 +00:00
Carl Hetherington
bae2dcd4bf Share VSTKey struct beween linux and windows VST.
git-svn-id: svn://localhost/ardour2/branches/3.0@10750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 22:46:20 +00:00
091b9ff7b9 tweak wscript files to set PACKAGE in one place
git-svn-id: svn://localhost/ardour2/branches/3.0@10747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 22:24:56 +00:00
1377784b00 unintentional but valid updates to .po files
git-svn-id: svn://localhost/ardour2/branches/3.0@10744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 21:28:26 +00:00
6567c1ba0a new i18n targets (to be explained in TRANSLATORS)
git-svn-id: svn://localhost/ardour2/branches/3.0@10743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 21:27:30 +00:00
28a40f81ba Add missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@10739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 17:44:39 +00:00
Carl Hetherington
d9a3c6b89f Rename windows VST stuff with a Windows prefix.
git-svn-id: svn://localhost/ardour2/branches/3.0@10738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 17:42:29 +00:00
eba4f18a92 fix a few warnings from newer versions of gcc
git-svn-id: svn://localhost/ardour2/branches/3.0@10734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 17:03:06 +00:00
22f6b99130 #ifdef out some expensive code from midibuffer merging (debug only, and we pretty much know it works)
git-svn-id: svn://localhost/ardour2/branches/3.0@10733 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 16:36:05 +00:00
e0ebeb3d5d use return value of realpath() and note an error if it occurs
git-svn-id: svn://localhost/ardour2/branches/3.0@10732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 16:34:56 +00:00
Carl Hetherington
6e2bd18905 Re-add code to support do-not-record-plugins (#4487).
git-svn-id: svn://localhost/ardour2/branches/3.0@10731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 16:34:05 +00:00
adcbae6954 make --lv2=0 work, as a workaround for LV2 release schedule
git-svn-id: svn://localhost/ardour2/branches/3.0@10727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 15:28:19 +00:00
d2b7f0d3d2 Implement the LV2 urid extension and remove implementation of (experimental) LV2 uri-unmap extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@10723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 03:22:08 +00:00
Carl Hetherington
da9b82732e Remove unused with_processors parameter to
process_output_buffers; functionality to return
elsewhere.


git-svn-id: svn://localhost/ardour2/branches/3.0@10722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 01:28:27 +00:00
Carl Hetherington
5c73926324 Simple ambiguitity-resolution wrapper for gettext; use for
Manual (#4496).


git-svn-id: svn://localhost/ardour2/branches/3.0@10720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 00:04:44 +00:00
Carl Hetherington
fa40fb2d98 Make a few things private in Delivery; couple of minor
cleanups.


git-svn-id: svn://localhost/ardour2/branches/3.0@10715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-20 17:49:25 +00:00
Carl Hetherington
9a0d7cafeb Remove unused variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@10714 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-20 17:49:14 +00:00
Carl Hetherington
274069e676 Comment fixes.
git-svn-id: svn://localhost/ardour2/branches/3.0@10713 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-20 17:49:05 +00:00
Carl Hetherington
db24dda7a2 Fill extra channels if monitor sends have more outputs than
inputs (#4468).


git-svn-id: svn://localhost/ardour2/branches/3.0@10708 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-20 16:36:04 +00:00
a9fb657a47 Remove spurious semicolon.
git-svn-id: svn://localhost/ardour2/branches/3.0@10698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19 00:39:35 +00:00
200832923a Use LV2_STATE_INTERFACE_URI instead of hard-coded string.
git-svn-id: svn://localhost/ardour2/branches/3.0@10685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 20:12:29 +00:00
Carl Hetherington
b4f618821e Fix test build.
git-svn-id: svn://localhost/ardour2/branches/3.0@10665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 00:04:44 +00:00
b25fbc8a95 all new implementation of audio clocks, with entirely new editing model. not entirely finished, but lookable, and usable
git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 22:49:13 +00:00
79ed821edb move non-X11/GUI related lxvst code back into libardour
git-svn-id: svn://localhost/ardour2/branches/3.0@10656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 00:54:42 +00:00
Carl Hetherington
0c9c47086c Slightly unpleasant fix for creation of tracks from
templates; it would be nice if we could set things up using
the Route's logic for setting names of its children, rather
than repeating the same logic in XML-land (#4303).


git-svn-id: svn://localhost/ardour2/branches/3.0@10655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 23:03:59 +00:00
Carl Hetherington
58dbe9ed13 Remove set_state / _set_state dance in Route hierarchy
that seems to have been a hangover from when _set_state
was called in constructors.


git-svn-id: svn://localhost/ardour2/branches/3.0@10654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 22:26:49 +00:00
Carl Hetherington
86d927b4dd Make activate/deactivate all only operate on visible
processors (and also exclude the fader) (#4475).


git-svn-id: svn://localhost/ardour2/branches/3.0@10649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 17:40:16 +00:00
Carl Hetherington
6e1aa92eb8 Doxygen tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@10644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 02:03:30 +00:00
Carl Hetherington
e4ce766754 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@10643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 02:02:34 +00:00
Carl Hetherington
d75b1f5dad Save custom meter position so that it can be restored if
the metering point is set to something else and then
back to custom again (#4401).


git-svn-id: svn://localhost/ardour2/branches/3.0@10641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:57:57 +00:00
Carl Hetherington
41efdd54a4 Fix glitchness in DnDVBox placeholders.
git-svn-id: svn://localhost/ardour2/branches/3.0@10640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:57:46 +00:00
Carl Hetherington
7736879a3e Remove no-longer-required search path hack.
git-svn-id: svn://localhost/ardour2/branches/3.0@10639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:42:29 +00:00
71f69453ed avoid duplicate panners by checking names, not symlinks
git-svn-id: svn://localhost/ardour2/branches/3.0@10636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:14:06 +00:00
535f52c1b5 remove stupid symlink stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@10635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:13:42 +00:00
Carl Hetherington
a6d6308230 Comment previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 22:12:51 +00:00
Carl Hetherington
943b15e3b9 Must search for *.so* to find panners now that symlinked
ones are rejected.


git-svn-id: svn://localhost/ardour2/branches/3.0@10629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 22:11:25 +00:00
e2757229a7 provide link-editor-and-mixer-selection option. gui implementation is slightly hacky because of the implicit endless loop that the link creates
git-svn-id: svn://localhost/ardour2/branches/3.0@10624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 19:33:09 +00:00
Carl Hetherington
a7359ed268 Use ARDOUR_EXPORT_FORMATS_PATH (as set up by the bundle)
and the user home directory (where Ardour writes new
presets) to look for export presets (should fix #4282).


git-svn-id: svn://localhost/ardour2/branches/3.0@10623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:32:48 +00:00
Carl Hetherington
f66b919e29 Fix comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:32:37 +00:00
Carl Hetherington
301ed17f95 Remove unused MIDI regions as well as audio ones
(#3793).


git-svn-id: svn://localhost/ardour2/branches/3.0@10620 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:32:24 +00:00
Carl Hetherington
6822b37c7f Slightly fudged but basically reasonable fix for reports of
playback buffer problems when playing an empty MIDI track
(#4388).


git-svn-id: svn://localhost/ardour2/branches/3.0@10619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 18:04:47 +00:00
4770fea0a2 change package names for i18n files, in an attempt to fix #4085
git-svn-id: svn://localhost/ardour2/branches/3.0@10616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 15:36:35 +00:00
c56e8c2b20 don't look for panners in symlinks to avoid finding "duplicate" libs
git-svn-id: svn://localhost/ardour2/branches/3.0@10606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:25:40 +00:00
a8615b40a1 utility function to detect symlinks
git-svn-id: svn://localhost/ardour2/branches/3.0@10605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:25:18 +00:00
4bd00b89c7 utility function to detect symlinks
git-svn-id: svn://localhost/ardour2/branches/3.0@10604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:25:03 +00:00
Carl Hetherington
f6d191aec4 Remove debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:11:32 +00:00
e38694acc0 show path where a panner is discovered
git-svn-id: svn://localhost/ardour2/branches/3.0@10602 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15 01:00:39 +00:00
f38036cf73 make auto-connect be the default for inputs and outputs
git-svn-id: svn://localhost/ardour2/branches/3.0@10592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 21:16:21 +00:00
c66955386e make PluginManager API more in line with other singletons; do initial plugin discovery before beginning to construct the UI, so that if plugins create GUIs (e.g for license verification) they don't cause a run loop to catch the UIManager in an inconsistent state with menus defined but actions missing
git-svn-id: svn://localhost/ardour2/branches/3.0@10586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 17:41:29 +00:00
Carl Hetherington
28f328e09c Fix placeholder creation when dragging from one DnDVBox to
another (should fix #4421).


git-svn-id: svn://localhost/ardour2/branches/3.0@10584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 14:42:29 +00:00
Carl Hetherington
eb2870eee6 Allow a dialogue containing an audioclock to be
activated by a enter button press on the clock.


git-svn-id: svn://localhost/ardour2/branches/3.0@10580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 13:44:01 +00:00
Carl Hetherington
b10d5c6709 Typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@10578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 11:53:09 +00:00
Carl Hetherington
5de95fc822 Fix unit test build by adding some dummy LXVST methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@10576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 11:31:22 +00:00
Carl Hetherington
7ffe37faad Comment typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@10575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 11:31:11 +00:00
8e2858e555 move LXVST GUI stuff into gtk2_ardour, and fix X11 uselib stuff in wscripts
git-svn-id: svn://localhost/ardour2/branches/3.0@10565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 14:53:49 +00:00
Carl Hetherington
f60c9d52dc Fix some bits of the libardour unit tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@10564 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 13:32:01 +00:00
bf8f0b2cb5 Apply patch from timbyr to fix building with --test.
git-svn-id: svn://localhost/ardour2/branches/3.0@10561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 03:54:29 +00:00
9756b7569a Fix lingering references to old persist extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@10557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-12 00:19:09 +00:00
c4bec7f098 Update LV2 persist extension implementation (now named LV2 state).
git-svn-id: svn://localhost/ardour2/branches/3.0@10556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 22:54:45 +00:00
1c85e77187 remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@10552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 17:35:41 +00:00
c85bdd4631 fix nasty off by one error that put the end of an end-trimmed region one sample beyond where it should be. this would lead to the creation of 1 sample xfades where there should be none, if another region was aligned to the same point that the region had been nomimally trimmed to
git-svn-id: svn://localhost/ardour2/branches/3.0@10541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 15:56:31 +00:00
Carl Hetherington
cd2047cbff Change the feedback alert to a flashing button; works
around part of #4432.


git-svn-id: svn://localhost/ardour2/branches/3.0@10539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 13:52:27 +00:00
1a35363693 cleanup regexp after use
git-svn-id: svn://localhost/ardour2/branches/3.0@10536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 03:08:47 +00:00
28112bfb7f use home-grown solution for path_expand(), rather than wordexp() which is broken in different ways on different platforms
git-svn-id: svn://localhost/ardour2/branches/3.0@10535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11 03:06:06 +00:00
ec9b3674df next attempt to fix the use of wordexp(3) ...
git-svn-id: svn://localhost/ardour2/branches/3.0@10532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 21:02:14 +00:00
80ec3fb37e force IFS=/ when calling path_expand, so that whitespace in paths doesn't cause wordexp() to get the wrong idea
git-svn-id: svn://localhost/ardour2/branches/3.0@10530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 19:00:54 +00:00
bcf500a351 show all paths discovered when a path is ambiguous (via error<<)
git-svn-id: svn://localhost/ardour2/branches/3.0@10529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 18:13:42 +00:00
8341291deb use error << to replace cerr in AudioUnits GUI code, and a couple of minor tweaks in that code
git-svn-id: svn://localhost/ardour2/branches/3.0@10521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10 01:31:48 +00:00
b96f89355e some possible build fixes for OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@10518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 22:32:55 +00:00
244eaa55fb provide global prelight option (its in Edit -> Preferences->Interface)
git-svn-id: svn://localhost/ardour2/branches/3.0@10514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 20:10:05 +00:00
Carl Hetherington
69c88d165d Alert the user if a connection is made which causes
feedback, and preserve the route graph in the state
that it was in before the feedback was introduced. The
intent being to simplify the code, reduce the number of
areas of code which must consider feedback, and fix a
few bugs.


git-svn-id: svn://localhost/ardour2/branches/3.0@10510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:44:39 +00:00
Carl Hetherington
0ed06420c2 Return 0 from the topological sort if it failed due to
feedback.


git-svn-id: svn://localhost/ardour2/branches/3.0@10509 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:43:52 +00:00
Carl Hetherington
9a734cd4b8 typedef for a DAGVertex.
git-svn-id: svn://localhost/ardour2/branches/3.0@10508 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09 17:43:32 +00:00
Carl Hetherington
07e62f3988 Remove a couple of unnecessary casts.
git-svn-id: svn://localhost/ardour2/branches/3.0@10496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 15:11:01 +00:00
Carl Hetherington
b37bc5e5b2 Fix a few SNAFUs in the port matrix related to multi-type bundles (#4454).
git-svn-id: svn://localhost/ardour2/branches/3.0@10494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 14:15:28 +00:00
Carl Hetherington
19e97d1d64 Attempt to fix some confusions caused by bundles containing
different types of port; if we loop over N MIDI channels of
a mixed bundle, for example, we must convert 0...N to the
indices of the channels within the bundle.  Also remove the
hack of creating new bundles to contain a subset of another
bundle's ports; if you do this, any signals emitted by the
other bundle are ignored.  Should fix #4454.


git-svn-id: svn://localhost/ardour2/branches/3.0@10490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 02:10:56 +00:00
Carl Hetherington
5a5545febb Fix naming / numbering of new MIDI tracks (#4453).
git-svn-id: svn://localhost/ardour2/branches/3.0@10487 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08 00:31:17 +00:00
Carl Hetherington
b2e6746f10 Fix name and a comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 22:39:16 +00:00
9674867b9d switch use of Option/Alt and Control on OS X for bindings. Option/Alt is intended by Apple to be used primarily (if not entirely) for entering alternate characters. Shift would be more conventional as 2ndary modified on OS X but that might have a few more implications than we want to deal with right now
git-svn-id: svn://localhost/ardour2/branches/3.0@10481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 19:19:31 +00:00
0caf3e7f78 Use standard style LV2 extension include paths.
This has a few benefits:

 * As system installed extensions become more ubiquitous, we can optionally
   build against those rather than including them in the source tree,
   without any source changes

 * No need to hack extension headers to change the include paths to match
   our specific scheme (i.e. headers are precisely those from the extension,
   even if they include other extension headers)

 * Consistency, lack of ambiguity, easy code sharing, blah blah, etc.


git-svn-id: svn://localhost/ardour2/branches/3.0@10476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 18:30:40 +00:00
Carl Hetherington
ae94dfda5f Do a topological sort of the route list before passing it to
the graph, as the graph's feedback detection algorithm
depends on the input route list being sorted in such a way.
 Fixes #3924.


git-svn-id: svn://localhost/ardour2/branches/3.0@10471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07 16:01:46 +00:00
Carl Hetherington
c1386bafce Coding style tinkering.
git-svn-id: svn://localhost/ardour2/branches/3.0@10464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 17:58:35 +00:00
Carl Hetherington
93e662348c A few more comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@10462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 17:54:44 +00:00
00155d8f1e Fix i18n.
git-svn-id: svn://localhost/ardour2/branches/3.0@10461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 16:35:24 +00:00
Carl Hetherington
e12432cc63 A few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@10459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 15:58:38 +00:00
Carl Hetherington
1d2636d76d Remove what is IMHO an unnecessarily confusing typedef.
git-svn-id: svn://localhost/ardour2/branches/3.0@10454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05 02:13:28 +00:00
Carl Hetherington
fd2aea1037 Remove non-RT-safe alloc in the MIDI process() call.
git-svn-id: svn://localhost/ardour2/branches/3.0@10441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 17:52:12 +00:00
07eadf68f3 quiten down in the back
git-svn-id: svn://localhost/ardour2/branches/3.0@10440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 17:51:34 +00:00
Carl Hetherington
09211cf049 Fix somewhat confusing method names.
git-svn-id: svn://localhost/ardour2/branches/3.0@10439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 16:41:25 +00:00
Carl Hetherington
98370b39c4 Make sure that the old route group is left properly when
setting a new one.  Should fix #4441 and #4404.


git-svn-id: svn://localhost/ardour2/branches/3.0@10438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-04 16:41:02 +00:00
a059b75238 fix thinko in previous attempt to tackle active/selected state in dndvbox
git-svn-id: svn://localhost/ardour2/branches/3.0@10424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 16:18:27 +00:00
bfa45291a7 fix mistake that prevented send processor boxes from correctly highlighting when showing sends; note that the semantics for the way DnDVBox handles selected/active are a bit confused by my recent changes to this, and they may change again in the future
git-svn-id: svn://localhost/ardour2/branches/3.0@10422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 15:41:07 +00:00
Carl Hetherington
3e36dc7746 Don't offer inputs to things as possible output connections, and vice versa (part of #4432).
git-svn-id: svn://localhost/ardour2/branches/3.0@10410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 03:04:51 +00:00
36803567f0 tighten up spacing of tearoff arrow
git-svn-id: svn://localhost/ardour2/branches/3.0@10395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 14:57:16 +00:00
Carl Hetherington
337e010345 Allocate some thread-local buffers for the GUI thread so that the PluginEqGui impulse analysis can use them (fixes #4418).
git-svn-id: svn://localhost/ardour2/branches/3.0@10387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 23:19:03 +00:00
7c9c86af27 start trying to remove the use of Plugin::info()->n_{inputs,outputs}, which alway refer to static (unchanging) information from the plugin metadata, which is not useful in the face of AU-like plugin APIs that can change I/O valency as requested, at least some of the time
git-svn-id: svn://localhost/ardour2/branches/3.0@10386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 21:48:45 +00:00
8771e00fab a better fix for the silent buffer issue: whenever we run a plugin, mark all the buffers passed to it as non-silent. a few plugin APIs allow the plugin to indicate whether or not it generated silence or not, but we ignore this for now (and possibly forever)
git-svn-id: svn://localhost/ardour2/branches/3.0@10385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 21:28:16 +00:00
ddff1489f2 force re-silence of buffers in ProcessThread::get_silent_buffers(), an interim fix before actually finding out why the buffers are marked silent when they were not
git-svn-id: svn://localhost/ardour2/branches/3.0@10383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 21:10:46 +00:00
Carl Hetherington
f57c5574d9 Make plugin scanner objects give leaf names to their filters, so that they work properly. Fixes #4423.
git-svn-id: svn://localhost/ardour2/branches/3.0@10378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 19:19:54 +00:00
Carl Hetherington
a12820ab77 Add an option to disable editor update during drags of the
summary (#4407).


git-svn-id: svn://localhost/ardour2/branches/3.0@10377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 12:19:11 +00:00
Carl Hetherington
5173497c6d Give group and meter point buttons controllable visibility.
git-svn-id: svn://localhost/ardour2/branches/3.0@10376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 02:39:39 +00:00
Carl Hetherington
d3bd0279ae Trim include.
git-svn-id: svn://localhost/ardour2/branches/3.0@10375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 02:39:34 +00:00
0fdb513786 move CairoWidget::ActiveState and Visual state up into gtkmm2ext foruse by DnDVBox etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@10371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 01:21:40 +00:00
cfe9ae636e remove useless debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@10370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 01:20:53 +00:00
Carl Hetherington
d57e00b7a2 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@10364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:56 +00:00
Carl Hetherington
1162077965 Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10363 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:33 +00:00
Carl Hetherington
03b57c455a Fix compensation of roll delay with MIDI tracks; data
should be obtained from playback_sample, not
transport_frame (should fix #4172).


git-svn-id: svn://localhost/ardour2/branches/3.0@10362 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:14 +00:00
Carl Hetherington
5dba72c874 Take commit() out of process() in both types of
diskstream, and call commit() where appropriate.


git-svn-id: svn://localhost/ardour2/branches/3.0@10361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:08 +00:00
Carl Hetherington
d47e9247df Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@10360 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:17:02 +00:00
Carl Hetherington
9afd18358b Remove Diskstream member playback_distance that can be
passed directly from process() to commit().


git-svn-id: svn://localhost/ardour2/branches/3.0@10359 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:54 +00:00
Carl Hetherington
4978c0d4c6 A few comments and minor coding style adjustments.
git-svn-id: svn://localhost/ardour2/branches/3.0@10358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:44 +00:00
Carl Hetherington
e81e0b60bf Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@10356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:25 +00:00
Carl Hetherington
1269b646dd Remove unused parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@10355 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:19 +00:00
Carl Hetherington
8536524bd3 Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31 21:16:14 +00:00
Carl Hetherington
db429c2362 Some limited control of mixer strip component
visibility.


git-svn-id: svn://localhost/ardour2/branches/3.0@10341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 20:08:48 +00:00
d7b685cc5f make it possible (hackily) to pick the base color for the knob images created by MotionFeedback
git-svn-id: svn://localhost/ardour2/branches/3.0@10337 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 15:53:22 +00:00
f871d665d5 tweaks to boost debug related code, from a boost debugging session
git-svn-id: svn://localhost/ardour2/branches/3.0@10336 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 15:52:38 +00:00
ac86e338fe change internal API used by native VST support to read/write info files, so that users can generate .fsi files in ~/.fst if is not writable by them
git-svn-id: svn://localhost/ardour2/branches/3.0@10334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 14:36:13 +00:00
Carl Hetherington
d8b3ff1fce Remove some unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@10331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 02:09:40 +00:00
Carl Hetherington
46b3b7e8d2 Reload meters in the right place even if they are set to
a custom position (#4400).


git-svn-id: svn://localhost/ardour2/branches/3.0@10330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 01:19:34 +00:00
Carl Hetherington
aaa486a90f Patch from nettings to comment out soundtouch-related
configuration checks (#4403).


git-svn-id: svn://localhost/ardour2/branches/3.0@10329 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29 00:12:41 +00:00
Carl Hetherington
3379155ef5 Restore ardour_jack_error.
git-svn-id: svn://localhost/ardour2/branches/3.0@10328 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 17:04:15 +00:00
Carl Hetherington
7bdcc127e3 Use shared_ptr for Port in the AudioEngine; improves thread-safety of the audio engine's port list as a writer cannot destroy a port in one thread while the port list is being iterated in another.
git-svn-id: svn://localhost/ardour2/branches/3.0@10327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 17:04:09 +00:00
Carl Hetherington
f65e3f287b Improve audioengine includes slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@10326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:35:09 +00:00
Carl Hetherington
e434d9258e Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@10325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:35:04 +00:00
Carl Hetherington
82f77de973 Remove unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@10324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:34:59 +00:00
Carl Hetherington
947422c095 Revert inadvertantly committed stuff from 10322.
git-svn-id: svn://localhost/ardour2/branches/3.0@10323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 00:31:09 +00:00
Carl Hetherington
0a87941c70 Minor cleanups to IO.
git-svn-id: svn://localhost/ardour2/branches/3.0@10322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27 23:36:42 +00:00
e09504f122 show address of dangling SessionHandle-derived objects
git-svn-id: svn://localhost/ardour2/branches/3.0@10320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27 21:04:45 +00:00
ae3eb6e3f4 provide C API for rounded rectangle cairo utility
git-svn-id: svn://localhost/ardour2/branches/3.0@10310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 20:56:57 +00:00
56d397495a remove left-over debugging call to sleep(3) (!!!)
git-svn-id: svn://localhost/ardour2/branches/3.0@10309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 20:56:16 +00:00
Carl Hetherington
8326ba9066 Don't resort routes at every step during a session's
construction; speeds up loading of big sessions.


git-svn-id: svn://localhost/ardour2/branches/3.0@10308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 15:14:53 +00:00
Carl Hetherington
ebca0ae87d Wait for the butler to be quiescent before starting
export of each range, rather than just the first one. 
Prevents clashes with both the butler and the export
code doing track refills at the same time (may fix
#4283).


git-svn-id: svn://localhost/ardour2/branches/3.0@10307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 15:14:16 +00:00
Carl Hetherington
09e0f30a81 Re-claim double-clicks on pixfaders to re-fix #3470.
git-svn-id: svn://localhost/ardour2/branches/3.0@10305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 23:46:00 +00:00
Carl Hetherington
854851162b Save and restore _saved_meter_point; fixes #4195.
git-svn-id: svn://localhost/ardour2/branches/3.0@10304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:54:30 +00:00
Carl Hetherington
60978b5bc4 Move some code up from {Midi,Audio}Track to Track.
git-svn-id: svn://localhost/ardour2/branches/3.0@10303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:54:25 +00:00
Carl Hetherington
24056f055f Remove unused call_base parameter from Route::_set_state.
git-svn-id: svn://localhost/ardour2/branches/3.0@10302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:53:09 +00:00
Carl Hetherington
ea01b6024d Fix awful thinko in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 20:50:40 +00:00
Carl Hetherington
75e6adcf03 Remove unused read/write data count code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 20:45:29 +00:00
Carl Hetherington
8404d7ff94 Reset source paths on session rename (fixes #4389).
git-svn-id: svn://localhost/ardour2/branches/3.0@10299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:47:06 +00:00
Carl Hetherington
b507805bf6 Expose sources_root() for Session and make everything else private rather than protected.
git-svn-id: svn://localhost/ardour2/branches/3.0@10298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:46:50 +00:00
Carl Hetherington
31fe3a5d5a Expose set_path so that the Session can alter it.
git-svn-id: svn://localhost/ardour2/branches/3.0@10297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:40:58 +00:00
040aef6cc3 Ensure we always have at least 1 MIDI buffer
git-svn-id: svn://localhost/ardour2/branches/3.0@10293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-23 20:28:20 +00:00
Carl Hetherington
f44d19fc84 Fix read of MIDI undo information to use the correct time type. Fixes #4387.
git-svn-id: svn://localhost/ardour2/branches/3.0@10292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-23 19:16:42 +00:00
Carl Hetherington
6d66f90c5c Use correct sources_root even when sessions are loaded from inside a session folder, specifying only their .ardour filename (#4032).
git-svn-id: svn://localhost/ardour2/branches/3.0@10285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 21:46:53 +00:00
Carl Hetherington
4c2f9dd11b Add function to recover a full path from something like '.'
git-svn-id: svn://localhost/ardour2/branches/3.0@10284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 21:46:46 +00:00
Carl Hetherington
195c735181 Implement reset() in panners, and use it from the GUI (fixes #4196).
git-svn-id: svn://localhost/ardour2/branches/3.0@10282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 16:19:27 +00:00
47d0b88830 change several startup messages to be triggered only by -D (debug) options
git-svn-id: svn://localhost/ardour2/branches/3.0@10281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 13:30:11 +00:00
cfc0dfdc7e add MonitorState enum to enum manager
git-svn-id: svn://localhost/ardour2/branches/3.0@10277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:42:06 +00:00
1e23a86599 improved/fixed monitoring_state() logic from chrisg
git-svn-id: svn://localhost/ardour2/branches/3.0@10275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:14:00 +00:00
c1908086bb notify about commit change when we slip out of rec-enabled due to auto-punch
git-svn-id: svn://localhost/ardour2/branches/3.0@10274 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:12:19 +00:00
59b02c6b6f get rid of click when transport changes state and we're monitoring input
git-svn-id: svn://localhost/ardour2/branches/3.0@10272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 17:46:20 +00:00
442d807a81 tweak Track::monitoring_state() logic once more
git-svn-id: svn://localhost/ardour2/branches/3.0@10271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 17:33:13 +00:00
bfe9010959 add route group support for monitoring choices
git-svn-id: svn://localhost/ardour2/branches/3.0@10268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:47:50 +00:00
ecbd2ebb74 tweak monitoring state logic
git-svn-id: svn://localhost/ardour2/branches/3.0@10267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:47:38 +00:00
40be550ae3 fix display (and handling of) monitoring status during roll
git-svn-id: svn://localhost/ardour2/branches/3.0@10266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:21:13 +00:00
8ff34fde9d correctly track monitoring changes in libardour and the GUI; required removing propagation of session rec-enabled status through process chain and replacing it with call to Session::actively_recording() where necessary (may require a new RT event)
git-svn-id: svn://localhost/ardour2/branches/3.0@10265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:05:33 +00:00
56da993d83 save&restore for track monitor state
git-svn-id: svn://localhost/ardour2/branches/3.0@10263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 12:34:29 +00:00
96dcffcb22 More robust plugin I/O mapping.
This does not change the actual mapping logic, but makes the application of
the mapping much more robust.  If there is no valid mapping for a given port,
that port is connected to silence (instead of crashing messily and/or via a
failed assertion).

Also tolerate mappings that nonsensically map to a buffer that is not present
(this particularly happens for MIDI ports in some cases) as a temporary fix.
The mapping logic needs work and/or our concept of just how much MIDI we support
in a route needs simplification...


git-svn-id: svn://localhost/ardour2/branches/3.0@10262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 04:51:04 +00:00
454f14d9c5 make monitor=In work during no-roll conditions without auto-input
git-svn-id: svn://localhost/ardour2/branches/3.0@10261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:27:44 +00:00
8b78439173 again, drop the assert when asked to read part of an audio region with an invalid timeline range, and just send an error message. this avoids crashing when loading sessions created with the broken crossfade constructor
git-svn-id: svn://localhost/ardour2/branches/3.0@10260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:24:06 +00:00
fb917cff45 remove absurd internal Crossfade constructor that confused region start and region position; set position explicitly in the two places that we use these crossfades; revert to the assert that caught this crazy error
git-svn-id: svn://localhost/ardour2/branches/3.0@10259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:17:25 +00:00
00ddd099ed obey monitor=disk when recording also; remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@10258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 19:20:44 +00:00
533045aea3 fix an aggressive assert that crashes out when reading the wrong regions ... why are we reading the wrong regions?
git-svn-id: svn://localhost/ardour2/branches/3.0@10257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 19:20:22 +00:00
3764eedca0 add initial implementation of explicit monitor (input|disk) control. some behaviour to be worked out, still
git-svn-id: svn://localhost/ardour2/branches/3.0@10256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 18:50:29 +00:00
dbcef630d0 include abstract_ui.cc in mackie source to actually instantiate the AbstractUI template
git-svn-id: svn://localhost/ardour2/branches/3.0@10251 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:56:21 +00:00
93177f4670 make mackie control header include abstract_ui.h (might help compile/link issue on OS X)
git-svn-id: svn://localhost/ardour2/branches/3.0@10250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:44:46 +00:00
cb4ae53ff7 fix minor typo
git-svn-id: svn://localhost/ardour2/branches/3.0@10249 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:44:04 +00:00
d25ef5d2fd add (commented) new version of fit-to-pixels function, from Company on #gtk+
git-svn-id: svn://localhost/ardour2/branches/3.0@10248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:43:48 +00:00