summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2012-05-28Add path_is_within to decide if a path is within a givenCarl Hetherington
directory, taking symlinks into account, and use it to decide whether a file is within the session folder. Should fix #4552. git-svn-id: svn://localhost/ardour2/branches/3.0@12468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28explicit checks for all components of the LV2 stackPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27Re-implement URIMap to tolerate broken plugins that use the wrong context toDavid Robillard
map MIDI event types (fix #4889). All uri-map contexts are now just ignored, and equivalent to urid (which is equivalent to uri-map with context NULL). We now just hope that no event types are mapped after UINT16_MAX URIs have been mapped, and die horribly otherwise. This is exceedingly unlikely to happen any time in the next several years, if ever. git-svn-id: svn://localhost/ardour2/branches/3.0@12462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27add a fix for the one problem case from the last commit: region splitting, ↵Paul Davis
where we don't announce regions until the entire edit op is done, but for naming purpoes each new region created needs to be in the map. likely that i will commit a better, cleaner fix for this later git-svn-id: svn://localhost/ardour2/branches/3.0@12458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27don't add regions created with announce=false to the global region map. i ↵Paul Davis
hope this doesn't have too many side effects ... git-svn-id: svn://localhost/ardour2/branches/3.0@12457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27don't alter session search path frm within FileSource constructor, do it ↵Paul Davis
when a source is added to the session; related - don't add sources that are created with announce=false to the session, and as a (new) corollary, no longer cause them to potentially alter the session search path (this applies mostly to sources created for auditioning) git-svn-id: svn://localhost/ardour2/branches/3.0@12456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27MIDI::Port::(get|set)_state() should be virtual, so that derived classes get ↵Paul Davis
their chance in the sun. Fixes #4887 git-svn-id: svn://localhost/ardour2/branches/3.0@12455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27MCP: remember to drain the x-thread FIFO that tells us that JACK MIDI data ↵Paul Davis
has been received git-svn-id: svn://localhost/ardour2/branches/3.0@12453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-26convert audioregion xfade stuff to properties, add "is-short" property for ↵Paul Davis
fade in and out so that we can keep track of whether an (x)fade is supposed to remain "short", and don't do "mess-with-region-below" stuff when trimming a short xfade. should be back-compatible with 3beta4a git-svn-id: svn://localhost/ardour2/branches/3.0@12452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-25add ::length() method to Evoral::ControlListPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-25missing method for MCPPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24always create short xfades when adding a region based on capturePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24remove old RECMUTEX conditionalPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24add support for <HasMeters value=XX/> stanza in MCP device info filePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Missing include.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Tweak comment.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
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-24Compile cleanly with clang.David Robillard
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-24Fix blatang logic errors (?), which is rather odd since this file was ↵David Robillard
generated by Vala... git-svn-id: svn://localhost/ardour2/branches/3.0@12417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24fix bug that has existed since rev 17 when evaluating a curve in a position ↵Paul Davis
before the first point of the curve git-svn-id: svn://localhost/ardour2/branches/3.0@12411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Opaque region bodies should overwrite whatever is already inCarl Hetherington
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-24Add test for a transparent region on top of (and enclosing) another.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23fix search path for MIDNAM filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23alter API for MIDI cloning to facilitate exportPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23stop deadlock when pasting into a playlistPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-23Fix up tests now that operator= on ScopedConnection disconnects the old ↵Carl Hetherington
connection that it held. git-svn-id: svn://localhost/ardour2/branches/3.0@12395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22MCP: pay attention to listen changes as well as solo changes, and reflect ↵Paul Davis
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-22merge new symmetric curve from mixbus, fix errors in fade out slow curve, ↵Paul Davis
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-22remove debuggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22remove debuggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21Slightly hacky improvement to embolden the labels ofCarl Hetherington
connection matrix tabs when they have connections. git-svn-id: svn://localhost/ardour2/branches/3.0@12371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21more 64bit VM debugging nonsense (svn in the fastest route between my system ↵Paul Davis
and the VM :) git-svn-id: svn://localhost/ardour2/branches/3.0@12368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21split apart mackie meter messages when we have to send two, one to turn ↵Paul Davis
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-21ugly debugging code to try to track down what is going on the 64 bit build VMPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21a bit more debug on info when we fail to read from a SndFileSourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21Must disconnect old UnscopedConnection when setting a new one in operator=, ↵Carl Hetherington
otherwise the old one is leaked. git-svn-id: svn://localhost/ardour2/branches/3.0@12356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21remove Tranzport configure option, since the code will not workPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12353 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20don't specify VAMP_PATH in regular code. it should be given either in the ↵Paul Davis
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-20don't say "can throw" and then fail to catchPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12347 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-20imported sources should be marked as non-writable and non-removable, alwaysPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19prevent xfades from being dragged to a longer length than the region that ↵Paul Davis
owns them git-svn-id: svn://localhost/ardour2/branches/3.0@12332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19Fix up tests after path changes.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-19Correct error message.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18major rationalization of use of search paths. ardour now has just 4 ↵Paul Davis
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-17Fix unnecessary backups of session files.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17Add MCP path to test script to stop it complaining.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17Fix posix_memalign checks.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@12316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16Fix libpbd tests.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-16Align the address of the pointer to the fxsave block to a 16-byte boundary ↵Carl Hetherington
(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-16Tweak comment.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12310 d708f5d6-7413-0410-9779-e7cbd77b26cf