Commit Graph

112 Commits

Author SHA1 Message Date
Tim Mayberry
547689a055 Replace all use of PathScanner with equivalent functions from pbd/file_utils.h 2014-06-17 21:41:29 +10:00
Tim Mayberry
0e96d84079 Change PBD::PathScanner API to return results by value to avoid inadvertent memory leaks 2014-06-17 21:13:05 +10:00
Robin Gareus
12cf9d5be8 fix pathscanner / stl_vector related memory leaks 2014-06-15 13:24:39 +02:00
unknown
6cc2812f2e interim vst fixes 2014-04-11 14:23:29 -05:00
John Emmas
b32d9a1c70 Transfer 'vst_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:09 +00:00
John Emmas
ff053653e1 Transfer 'ladspa_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:06 +00:00
Robin Gareus
ba0ae4818a [VST] scan timeout display and per plugin timeout override. 2014-03-09 20:32:52 +01:00
Robin Gareus
6442f316d4 detect VST midi-in/midi-out ports separately. 2014-03-03 13:35:09 +01:00
Paul Davis
b8419ae7cd use "new" VST search path code and adjust build system to reflect new source files 2014-03-02 10:53:25 -05:00
Robin Gareus
597db6421a re-work VST paths configuration.
environment vars provide the "default", but are no longer
relevant once ardour-internal paths are configured.
2014-03-01 01:01:42 +01:00
Robin Gareus
ea57962765 change code that is never used into assert()s.
plugin-scan should always happen explicitly (either on start
or by user request).
2014-03-01 01:01:42 +01:00
Robin Gareus
00b9774671 "cancel" only cancels [new VST] discovery, not index-cache-reading 2014-02-26 20:53:42 +01:00
Robin Gareus
d5a780f462 user-configurable VST search paths (backend) 2014-02-26 18:07:45 +01:00
Robin Gareus
64c2328a8a option to en/dis-able VST plugin discovery on startup 2014-02-25 19:17:04 +01:00
Robin Gareus
d8329d855d implement plugin-scan cancel-button sensitivity 2014-02-25 14:57:59 +01:00
Robin Gareus
0708721b4f scan VSTs in background, allow to cancel & timeout 2014-02-25 14:57:59 +01:00
Robin Gareus
30de04a58c global static path to plugin scanner app. 2014-02-25 14:57:58 +01:00
Robin Gareus
e1c82dfd85 prepare plugin list refresh w/o instantiate (using cache only) 2014-02-25 14:57:58 +01:00
Robin Gareus
adcb0faf6b preparations for VST blacklist (paths) 2014-02-24 23:57:28 +01:00
Robin Gareus
59cc85b821 plugin scan progress-display & preferences 2014-02-24 03:53:53 +01:00
Robin Gareus
22905d8a93 prepare GUI notifications for plugin scan 2014-02-24 02:04:37 +01:00
Robin Gareus
fac93f7a82 preparations for VST Shell plugins (mostly mixbus code forward port) 2014-02-23 17:52:49 +01:00
Robin Gareus
bcf6c76462 consolidate lxVST & winVST file-info code into libardour
first step and clennup before adding support for
VST shell-plugins (collections) and external scanner app...
2014-02-23 05:51:58 +01:00
Paul Davis
f4b5f4c72e Merge branch 'master' into cairocanvas 2014-02-08 11:18:17 -05:00
Paul Davis
3566fa2d8e add kxstudio linux vst dirs to LXVST default search path 2014-02-08 11:17:50 -05:00
Paul Davis
b9054a1f72 fix missing colon in extension of LXVST search path 2014-02-08 11:16:17 -05:00
Paul Davis
2ba58dfe65 Merge branch 'master' into cairocanvas 2014-01-29 16:08:52 -05:00
Paul Davis
f8737f7012 add new folders to linux vst search path to help out AVLinux and some other specialized distros 2014-01-27 14:55:58 -05:00
Paul Davis
3020b224fa Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there 2014-01-10 16:07:57 -05:00
Paul Davis
0cca272431 try to fix various warnings from gcc when optimization flags are enabled 2013-11-04 21:32:41 -05:00
Tim Mayberry
8ddd12a60d Rename SearchPath class Searchpath
Windows headers define SearchPath which means we have to undefine it
where necessary. This is a pain and can be tricksy, so I feel renaming
the class slightly is the easiest solution.
2013-09-06 14:31:11 +10:00
Paul Davis
83e05ec0ec Use ARDOUR::ladspa_search_path and PBD::find_matching_files to find LADSPA modules 2013-07-15 12:38:03 -04:00
Paul Davis
742753a996 Don't require liblrdf on windows
This removes dependence on liblrdf, libraptor and libxslt
2013-07-11 14:20:02 -04:00
Paul Davis
83ed3d7dcc Use glibmm for modules instead of dlfch.h 2013-07-11 13:58:48 -04:00
Paul Davis
74d54ae739 little extra debugging to show discovered LXVST .so's 2013-03-28 09:56:22 -04:00
Paul Davis
4caecfa310 fix other potential crashes with non-existing plugins and presets caused by indiscriminate use of vector_delete<T> 2013-03-20 17:15:08 -04:00
Paul Davis
b2a667266b fix crash when deleting non-existing presets 2013-03-20 07:42:17 -04:00
Paul Davis
241a9edd3e replace final(?) incidences of program name (ardour, Ardour) with PROGRAM_NAME (thanks to edgar for tracking them all down)
git-svn-id: svn://localhost/ardour2/branches/3.0@14050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-02-05 18:18:35 +00:00
David Robillard
0cba3886da Add debug trace for LV2 like the other APIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@13137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-18 15:49:32 +00:00
Paul Davis
760ccbabfb add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, and fix const cast warnings generated by new flags
git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 15:57:09 +00:00
Tim Mayberry
352e63de4c Replace use of PBD::sys::path in PluginManager
git-svn-id: svn://localhost/ardour2/branches/3.0@12841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:22 +00:00
Tim Mayberry
105caf23da Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:54 +00:00
David Robillard
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
Carl Hetherington
568f96d1ee Be slightly more verbose about vstfx_get_info errors.
git-svn-id: svn://localhost/ardour2/branches/3.0@11531 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27 16:03:37 +00:00
Carl Hetherington
5f4a276ad0 Add warning if a duplicate Linux VST plugin is rejected.
git-svn-id: svn://localhost/ardour2/branches/3.0@11012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-15 22:27:15 +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
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
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
Paul Davis
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
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