13
0
Commit Graph

3540 Commits

Author SHA1 Message Date
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