Carl Hetherington
f7497258ea
Fix double-delete ( #4809 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 01:22:19 +00:00
Carl Hetherington
bf96210e34
Fix operator precedance inaccuracy ( #4825 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 01:21:44 +00:00
338e83d9dc
Implement LV2 worker extension.
...
This is done by way of a generic Worker object/thread, which currently just
applies to one LV2 plugin, but the idea is to share one thread and set of
buffers among many plugins. The same pattern may also be useful elsewhere in
Ardour. The responding part gets a bit tricker when sharing a worker between
plugins, it's not a blocker, and I'm lazy, sooo here's this.
This commit also adds a new portable in-process semaphore to PBD. The existing
one is pretty weird and uses a named semaphore on OSX for reasons unknown to
me. Perhaps as a quick fix to avoid POSIX semaphores being utterly broken on
OSX? It would probably be a good idea to replace that with this new one, which
uses Mach kernel semaphores on OSX which work well, though I am not sure how
pedantically real-time safe they are to signal.
git-svn-id: svn://localhost/ardour2/branches/3.0@11790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 00:15:54 +00:00
Carl Hetherington
daad719546
Remove ControlList::_max_xval which is set up and stored in
...
state but never actually read.
git-svn-id: svn://localhost/ardour2/branches/3.0@11787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-04 00:15:41 +00:00
Todd Naugle
37117e5c45
fix missing quote in disk space check failure message
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-03 20:22:12 +00:00
Carl Hetherington
81372b6ebe
Remove some unused stuff.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-02 23:31:17 +00:00
Carl Hetherington
47faebb367
Missing file.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-02 13:52:36 +00:00
Carl Hetherington
e960ebeebb
Add comment.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11778 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 23:47:37 +00:00
Carl Hetherington
4cd2e73732
Add comment and fix type.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 23:47:31 +00:00
Carl Hetherington
d34d7b8ce1
Remove unused declaration.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 23:47:23 +00:00
Carl Hetherington
5de4de613b
Fix memory leak on error condition ( #4798 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 15:06:24 +00:00
Carl Hetherington
c38cbac7e7
Fix possible out-of-bounds array access ( #4796 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 15:06:15 +00:00
Carl Hetherington
d7deaa21bb
Fix reference of track after free() ( #4795 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:58:09 +00:00
Carl Hetherington
cc23c36961
Tidy up slightly; fix reads off the end of the data
...
array (#4797 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@11772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:57:57 +00:00
Carl Hetherington
7f417fb44f
Remove unused ustring version of url_decode(). Rework
...
the other version to be a bit simpler, avoiding #4800 .
git-svn-id: svn://localhost/ardour2/branches/3.0@11771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:30:06 +00:00
Carl Hetherington
3240a93aad
Fix libpbd tests and add test for url_decode().
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:29:26 +00:00
c886f761eb
Update to latest LV2 state extension.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11769 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-30 23:32:48 +00:00
Carl Hetherington
7c2b3171c2
Further GCC 4.7.0 fixes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-30 01:21:08 +00:00
Carl Hetherington
8ae1880e33
Some fixes for GCC 4.7.0
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-30 00:03:53 +00:00
e31e238927
fix bizarre typo in OS X build (bizarre because its not clear how it could have worked on Tiger or Lion, but it did)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-29 16:25:12 +00:00
Carl Hetherington
5638dd0c17
Patch from Nick to fix crash on closing a LV2 plugin
...
(#4794 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@11764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-27 21:08:11 +00:00
Carl Hetherington
1fc8dfa0fc
Put copy-constructed crossfades at the position of their
...
source crossfade; fixes #4793 .
git-svn-id: svn://localhost/ardour2/branches/3.0@11763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-27 21:04:47 +00:00
Carl Hetherington
ca1de50004
Give the _sends member of InternalReturn its own mutex,
...
rather than using the process lock to protect it. Prevents
a deadlock when removing an aux send causes it to remove
itself from its return (#4712 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@11760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 20:30:26 +00:00
Carl Hetherington
e7d2509ad9
Fix warning.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 19:45:39 +00:00
Carl Hetherington
b25c60356c
Typo in comment.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 19:38:17 +00:00
1716dc0ce6
Update to latest LV2 atom extension.
...
Implement proper support for fixed size LV2 plugin UIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@11757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 17:17:40 +00:00
Carl Hetherington
d8ee15df1a
Reshow time selection when zooming in object-range mode
...
(#4678 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@11754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25 12:12:08 +00:00
Carl Hetherington
231eefc247
Patch from colinf to make stereo panners move right with the mouse ( #4702 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-23 22:56:00 +00:00
Carl Hetherington
d9d0c6b0b3
Fix double separator on session range context menu.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-22 16:42:21 +00:00
Carl Hetherington
64425f77e7
Remove unused op parameter to temporal_zoom_by_frame. Add Zoom to Range option to range marker context menu ( #4778 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-22 16:41:44 +00:00
Carl Hetherington
3120bae8b4
Don't leave internal edit mode when clicking on an automation region view ( #4747 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-22 16:41:23 +00:00
f9de5f6436
clarify what the "precise" button does in the timefx dialog
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-22 15:48:49 +00:00
Carl Hetherington
21a0b7ace0
Use combo box for plugin controls for ports marked as
...
lv2:enumeration.
git-svn-id: svn://localhost/ardour2/branches/3.0@11745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 16:43:01 +00:00
Carl Hetherington
0af622521b
Use a AutoSpin rather than a combo box for input
...
parameters marked up as scalePoint with fewer labels
than there are possible values for the parameter
(should fix #2612 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@11744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 16:39:04 +00:00
Carl Hetherington
05fcf75eaf
Use sigc::slot for ClickBox printing function rather
...
than a function pointer.
git-svn-id: svn://localhost/ardour2/branches/3.0@11743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 16:38:59 +00:00
Carl Hetherington
6238ca5e72
Rename combo_map variable to scale_points.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 16:38:53 +00:00
Carl Hetherington
ed12f85c88
Add tooltips to plugin controls in the processor box
...
(#4697 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@11741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 14:13:48 +00:00
Carl Hetherington
a4c27ff16e
Update motorised button when a motorised surface's bindings are loaded.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 02:19:59 +00:00
Carl Hetherington
189257dd32
Make toggle MIDIControllables with program changes only respond to the appropriate program change (part of #4780 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 02:15:55 +00:00
Carl Hetherington
4c0b104db5
Fix test build.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 01:07:05 +00:00
135c72b085
use the right include name
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11737 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 19:38:49 +00:00
494635b99b
make MIDI Patch Manager search in $user_config_dir/patchfiles for midnam files as well as the per-session equivalent. need to stop it from doing at session shutdown time too.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11736 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:03:46 +00:00
1c399d5ebc
tweak audio track importer to use the modified xml++ API for XPATH searching
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11735 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:02:36 +00:00
8f4e126c72
a lot of tweaking and fixing for the MIDNAM parsing code so that it correctly handles all 44 sample files from digicake.com/midnams.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:01:59 +00:00
71b3c8cfe1
some deep changes to xml++ in which we retain a C-level xmlDocPtr as a member of an XMLTree objects. this allows us to do repeated XPATH searches (as in the midnam parser of libmidi++) without constantly rewriting an entire tree into memory to recreate a new xmlDocPtr with which we can search. Since XMLTree objects don't typically stay around for very long, just when serializing to/from disk, this is not anticipated to have much (if any) impact on memory consumption
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11733 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 18:01:07 +00:00
2b7d17e904
reorder editor route list columns to put visible and active first (from joern)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 17:08:07 +00:00
ec24aebfca
add 44 MIDNAM files for various h/w synths, originally from digicake.com/midnams but cleaned and fixed up
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 17:00:30 +00:00
Carl Hetherington
12776e01e7
Use Silence instead of Flush to describe plugins-stop-with-transport.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-19 11:17:09 +00:00
Carl Hetherington
c5dac2a724
Add GPL boilerplate; use x->foo for (*x).foo; tidy some indentation; use a table to place widgets; add motorised option.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-19 01:34:40 +00:00
Carl Hetherington
8063027507
Add set_motorised().
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-19 01:34:35 +00:00