Commit graph

213 commits

Author SHA1 Message Date
Robin Gareus
7f33d95937
Remove debug output 2020-01-07 04:21:38 +01:00
Robin Gareus
98bcfb1485
Save VST paths after successful scan
Ardour only saves Config when the session is saved.
When changing the VST Path and starting a plugin-scan the newly
discovered plugins would otherwise not be avalable unless
the session is explicitly saved after a scan.
2019-11-22 20:06:43 +01:00
Robin Gareus
9fa7e919a7
Improve multi-channel instrument listing 2019-10-15 16:02:47 +02:00
Robin Gareus
bcd1391bf7
API to count max multi-channel plugin outputs 2019-10-15 14:48:32 +02:00
Robin Gareus
0b377fc393
Detect plugin-name ambiguities 2019-10-15 14:04:26 +02:00
Robin Gareus
99b3bde7f6
Print LADSPA ID with debug message 2019-09-25 15:16:34 +02:00
Robin Gareus
79ac8215e9
Update Plugin-Tag policy
* Don't store tags from plugin's own metadata
  Those are set during plugin-scan every time
* Save user-tags even if they're not new
* Reset tags to factory-file tag (if any)

Old user tag files (prior to this commit) are interpreted
as "factory-file". This will auto-correct after the
first save_tags().
2019-08-27 13:43:09 +02:00
Robin Gareus
5a7659fbdb
Resetting a tag implies changing it 2019-08-27 12:18:44 +02:00
Robin Gareus
f5330d763a
NO-OP: whitespace 2019-08-20 04:15:11 +02:00
Robin Gareus
73d0b6894a
Skip invalid plugin-tag spec 2019-08-20 04:15:01 +02:00
Robin Gareus
a22f918d9d
Update libardour GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
Robin Gareus
c97884d257
Add preference to hide LADSPA plugin if LV2 exists 2019-05-25 01:56:23 +02:00
Robin Gareus
02c698ed85
NO-OP: whitespace 2019-05-25 01:20:17 +02:00
Robin Gareus
ce8740cf5e
Fix LADSPA author name (remove padding) 2019-05-24 23:58:00 +02:00
Robin Gareus
2f91bdfa53
NO-OP: <tab> after <space> fixes in libs 2019-04-13 19:19:29 +02:00
Robin Gareus
58babb1e9b
Backport a Mixbus special-case for plugin-tags 2019-04-03 03:35:40 +02:00
Robin Gareus
827b4ef8a1
NO-OP: Whitespace 2019-03-31 16:08:35 +02:00
Robin Gareus
41abf75077 Consolidate VST Plugin Info
This unifies common PluginManager VST code to construct *VSTPluginInfo
and also provides a dedicated is_instrument() method for VST plugins.
2018-11-07 23:37:10 +01:00
Robin Gareus
bc83e6f753 Force VST category to be "Instrument" for instruments.
This way it is picked up by the default PluginInfo::is_instrument()
method.
2018-11-07 23:05:54 +01:00
Ben Loftis
7a52428538 Plugin Order: remove from instant.xml and save to: plugin_metadata/plugin_order 2018-05-08 13:26:08 -05:00
Ben Loftis
7e5a488d81 Unrecognized plugins are stored in the tagfile (FromPlug); but only set the user_set flag if the user actually edited it. 2018-03-02 17:35:18 -06:00
Ben Loftis
4734fc23f5 Allow successive changes from the Gui to set tags. 2018-03-02 15:57:58 -06:00
Robin Gareus
6f11cd30bf Fix gcc-4.2 OSX/PPC builds
ambiguity between
  reverse_iterator rend();
  const_reverse_iterator rend() const;
2018-03-02 16:11:21 +01:00
Ben Loftis
52a2f5bada Tag_reset() should be FromPlug, not FromGui. 2018-03-01 18:26:09 -06:00
Ben Loftis
54d0e1d992 Fix thinko in prior commit 7c5f1c. 2018-03-01 09:09:50 -06:00
Ben Loftis
91046b686d Plugin-Tag improvements:
Initialize LADSPA tags.
 Explicitly define behavior of tags provided by plugin, factory, or user.
 Store the plugin name in the tag-file, for easier user-submissions and bulk editing.
2018-03-01 09:03:53 -06:00
Ben Loftis
21102b45d0 Revert afedd2 and associated commits (method to generate initial tag file) 2018-02-23 08:49:14 -06:00
Len Ovens
0d2d9fd1f6 fix compilation on windows with VST support 2018-02-21 21:05:53 -08:00
Paul Davis
c746e78b3b fix compilation on linux with LXVST support 2018-02-21 23:20:53 -05:00
Ben Loftis
afedd214a7 Method to generate an initial tag file:
rm config/plugin_tags
touch config/init_plugin_tags
2018-02-21 18:05:33 -06:00
Ben Loftis
b69d818ce9 Further defer changes of plugin Tags+Status, and consolidate code to call PluginListChanged only once. 2018-02-02 19:25:01 -06:00
Robin Gareus
09ca375e15 Allow to filter tags by hidden + favorite
This in preparation to not populate context-menus with unused tags.
2018-01-31 14:02:44 +01:00
John Emmas
141e6f848e Text case change (_VSTInfo::Category needs to be capitalized) 2018-01-31 11:01:56 +00:00
Robin Gareus
6ce0a27e0f Fix editing/replacing plugin-tags 2018-01-30 20:03:13 +01:00
Robin Gareus
1dd32bae94 Move LADSPA Author string sanitation to libardour.
(Also allow dot as valid char: e.g. "James T. Kirk" but keep stripping
common suffixes like <e@mail>.
2018-01-30 19:52:09 +01:00
Robin Gareus
fa676eb784 Add backend-API to reset plugin tags 2018-01-30 13:10:00 +01:00
Robin Gareus
19f62d331c Fix plugin factory tags
* tag-file is loaded early on (before scanning plugin) retain factory
  set tag from file, don't use plugin-categories.
* load user plugin-tag file after factory plugin-tag file
2018-01-30 03:59:58 +01:00
Robin Gareus
73bafc36ea Clean up tag tokenization code
* accept " ,\n" as separator
* produce only " " as separator
* squelch error message for empty-string tokenization
* clean up code, use existing API methods for lower-case transform
2018-01-30 03:12:09 +01:00
Robin Gareus
34f9bd502b NO-OP: whitespace 2018-01-30 01:34:29 +01:00
Robin Gareus
3eb6a40ce4 Update PluginManager: implement plugin tags
* move plugin-meta-data (status, tag) into dedicated sub-dir
* load/save space separated tags
* pre-seed tags with plugin-category (if unset)
* breaking API change: PluginStatusesChanged() signal includes change
2018-01-30 01:34:14 +01:00
Robin Gareus
b8491014a5 Update plugin classification
* dedicated API for classes (effect, instrument, util)
* prepare for tags (rather than categories)
* prepare removal of per-plugin in_category() API
2018-01-30 01:33:48 +01:00
Robin Gareus
4d173d6048 Prepare plugin-meta-data config-dir and files 2018-01-30 01:33:45 +01:00
Robin Gareus
506a29e2d3 Don't recurse into MacVST bundle-folders during plugin-scan 2017-09-21 20:02:11 +02:00
Robin Gareus
8b453f5f2a Safe Mode: disable VST scan 2017-01-23 19:53:18 +01:00
Robin Gareus
0c54e56f96 Add support for MacVST hidden/favorites 2016-12-11 15:52:56 +01:00
Robin Gareus
d624bac38e Recursively scan for MacVSTs 2016-11-18 02:36:04 +01:00
Robin Gareus
170380fda9 Add runtime option to disable MacVST 2016-11-17 14:06:45 +01:00
Robin Gareus
48c470d51d Pass const references to plugin-list 2016-11-14 21:06:18 +01:00
Robin Gareus
1d60986283 const'ness FTW 2016-11-14 01:14:11 +01:00
Robin Gareus
8b93fb02f3 Mac VST-2.x support 2016-11-13 16:35:06 +01:00