6fa6514cfd
Remove over 500 unnecessary includes (including 54 of session.h).
...
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff). I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.
This commit only targets includes of ardour/*.h. There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.
git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
27a1cf2cf7
Compile cleanly with clang.
...
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:
CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build
git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:54:10 +00:00
effe4de188
Fix blatang logic errors (?), which is rather odd since this file was generated by Vala...
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:51:30 +00:00
b99131f21e
fix bug that has existed since rev 17 when evaluating a curve in a position before the first point of the curve
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 01:43:02 +00:00
Carl Hetherington
37bc04f230
Opaque region bodies should overwrite whatever is already in
...
the buffer; fix crash when the sum of the fade in and out
is longer than the region.
git-svn-id: svn://localhost/ardour2/branches/3.0@12410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 00:54:51 +00:00
Carl Hetherington
ba56c4bd03
Add test for a transparent region on top of (and enclosing) another.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 00:53:23 +00:00
6c6769d84a
fix search path for MIDNAM files
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 23:09:37 +00:00
7873fdb55c
alter API for MIDI cloning to facilitate export
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 20:32:29 +00:00
2a262b55cb
stop deadlock when pasting into a playlist
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 20:32:12 +00:00
Carl Hetherington
99c1aacc23
Fix up tests now that operator= on ScopedConnection disconnects the old connection that it held.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23 16:22:51 +00:00
ccfeb90bdc
MCP: pay attention to listen changes as well as solo changes, and reflect listen state with solo button, just like solo
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 21:38:03 +00:00
f9030dd220
merge new symmetric curve from mixbus, fix errors in fade out slow curve, tweak display of xfades so that the non-upper-fade is slightly less dominant (alpha)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 21:23:22 +00:00
23ad8b9f94
remove debugging
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 13:05:43 +00:00
9b99596c6e
remove debugging
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 13:05:13 +00:00
Carl Hetherington
fa1e12b682
Slightly hacky improvement to embolden the labels of
...
connection matrix tabs when they have connections.
git-svn-id: svn://localhost/ardour2/branches/3.0@12371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 21:50:29 +00:00
451a03d68a
more 64bit VM debugging nonsense (svn in the fastest route between my system and the VM :)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 20:44:04 +00:00
8c73a62ee0
split apart mackie meter messages when we have to send two, one to turn on/off the overload indicator and one to set the level. this avoids MIDI bridge issues with non-canonical MIDI messages
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12367 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 19:02:44 +00:00
a6c3508bd3
ugly debugging code to try to track down what is going on the 64 bit build VM
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 18:40:36 +00:00
c7e9102437
a bit more debug on info when we fail to read from a SndFileSource
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 11:07:41 +00:00
Carl Hetherington
23a615a6db
Must disconnect old UnscopedConnection when setting a new one in operator=, otherwise the old one is leaked.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 10:26:10 +00:00
d52012f398
remove Tranzport configure option, since the code will not work
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12353 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 09:30:00 +00:00
efbeb2dd1a
don't specify VAMP_PATH in regular code. it should be given either in the bundle fixup_environment() call or in a startup script
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20 23:06:46 +00:00
9e50baae63
don't say "can throw" and then fail to catch
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20 20:59:38 +00:00
9c5bcc0f10
imported sources should be marked as non-writable and non-removable, always
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20 20:52:54 +00:00
b7e3d20302
prevent xfades from being dragged to a longer length than the region that owns them
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19 16:40:05 +00:00
Carl Hetherington
6beff737fe
Fix up tests after path changes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19 14:46:50 +00:00
Carl Hetherington
e5e6629324
Correct error message.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19 14:46:44 +00:00
813c5f0af9
major rationalization of use of search paths. ardour now has just 4 functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things.
...
This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required)
git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18 17:24:06 +00:00
Carl Hetherington
433b6651ee
Fix unnecessary backups of session files.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17 14:42:46 +00:00
Carl Hetherington
2258952197
Add MCP path to test script to stop it complaining.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17 13:39:07 +00:00
8647471379
Fix posix_memalign checks.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17 00:54:43 +00:00
Carl Hetherington
8aca90e593
Fix libpbd tests.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 23:11:16 +00:00
Carl Hetherington
312c4e22a7
Align the address of the pointer to the fxsave block to a 16-byte boundary (as well as the pointer itself), which the internets seem to suggest is required.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 22:43:23 +00:00
Carl Hetherington
c95fb95f3a
Tweak comment.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 12:10:06 +00:00
85e4dd3d73
let's do this right if we're going to do it at all ..
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 00:19:15 +00:00
88f6395134
switch to a RWLock for Playlist, to allow simultaneous reads (which can happen occasionally, eg. peak and butler threads)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 00:16:34 +00:00
c1300a0172
reset _signal member of a Connection so that we will never try to disconnect twice
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16 00:06:16 +00:00
Carl Hetherington
c06d747150
Keep tests up to date with reality.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 19:32:39 +00:00
Carl Hetherington
8bdd0304d7
Remove some debug output.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 19:31:13 +00:00
23f03f995f
remove two instances of static/global ScopedConnectionList. one remains worth thinking about for semantics (libs/pbd/controllable.cc:registry_connections)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 15:32:53 +00:00
2fb30ea54d
don't apply inverse fades if a region is not acoustically opaque
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 15:24:14 +00:00
Carl Hetherington
b54779ec41
Try to make signals.h.py more cross-python-version compatible.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 10:43:47 +00:00
Carl Hetherington
b936f971e8
Remove unused method.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 01:23:55 +00:00
Carl Hetherington
4d22a4345a
Tidy up a bit.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:37 +00:00
Carl Hetherington
a6fdd6c915
Maybe fix typename / no-typename problems better.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:33 +00:00
Carl Hetherington
67b74ed1c7
Remove bind to shared_ptr.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:26 +00:00
Carl Hetherington
5bbbc98533
Add missing file.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12280 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:17 +00:00
Carl Hetherington
32bed9aaf0
Make ScopedConnectionList's mutex non-static so that one
...
list's destruction can cause another without a
deadlock.
git-svn-id: svn://localhost/ardour2/branches/3.0@12279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:06:06 +00:00
Carl Hetherington
14a86aaccc
Merge old a new signals code into one set of classes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:05:57 +00:00
Carl Hetherington
0c3f6d9819
Remove the need for a shared_ptr for Signal; signal
...
tells its connections that it's going away, instead.
git-svn-id: svn://localhost/ardour2/branches/3.0@12277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15 00:05:25 +00:00