Commit Graph

213 Commits

Author SHA1 Message Date
Robbert van der Helm 0aa489ed5a [yabridgectl] Upgrade goblin dependency 2022-10-24 11:47:53 +02:00
Robbert van der Helm b8eb8e62bc Remove excess line breaks in yabridgectl status 2022-09-23 20:34:25 +02:00
Robbert van der Helm 01b46fb60a [yabridgectl] Support $CLAP_PATH 2022-09-23 20:34:25 +02:00
Robbert van der Helm 7810c9d631 [yabridgectl] Add support for CLAP plugins
CLAP support in yabridge itself has barely started at this point, but
having yabridgectl up and running in advance seems useful.
2022-09-11 19:18:03 +02:00
Robbert van der Helm 98bb4a019b Add CLAP whenever mentioning yabridge libs 2022-09-11 19:18:03 +02:00
Robbert van der Helm 2a26014465 [yabridgectl] Let rustfmt handle string wrapping 2022-07-03 17:10:07 +02:00
Robbert van der Helm 15c1529831 [yabridgectl] Fix typo in winedump warning 2022-06-29 02:35:07 +02:00
Robbert van der Helm f30e620078 Bump to version 4.0.2 2022-06-27 15:54:16 +02:00
Robbert van der Helm d479f3fc0c [yabridgectl] Abort for dangerous ~/.vst/yabridge symlinks
If `~/.vst/yabridge` is a symlink to one of the directories contained
within yabridgectl's plugin locations, then weird things may happen.

Spotted in
https://github.com/robbert-vdh/yabridge/issues/185#issuecomment-1166274104.
2022-06-25 15:45:43 +02:00
Robbert van der Helm cacb6ecff8 [yabridgectl] Add another hint to parsing errors 2022-06-25 13:53:30 +02:00
Robbert van der Helm 414fd97216 [yabridgectl] Make scanning errors non-fatal
This should never occur, but somehow people have text files with .dll or
.vst3 extensions in their plugin directories.

This resolves #185.
2022-06-25 13:30:07 +02:00
Robbert van der Helm a282bdc9d1 [yabridgectl] Gracefully catch bundle subdir error
This could only occur if people go out of their way to do weird things
and add the `x86_64-win` directory inside of a VST3 bundle to their
plugin locations. But somehow people still manage to do just that.....
2022-06-12 23:56:39 +02:00
Robbert van der Helm 67747531cc Bump to version 4.0.1 2022-06-12 16:33:05 +02:00
Robbert van der Helm ae73df2b17 [yabridgectl] Fix subdirectory detect for bundles 2022-06-11 14:58:43 +02:00
Robbert van der Helm b826f80037 Bump to version 4.0.0 2022-06-09 16:38:55 +02:00
Robbert van der Helm 29a2dff7da [yabridgectl] Update dependencies
Apparently there was a vulnerability in a dependency of a dependency
here.
2022-06-09 12:40:08 +02:00
Robbert van der Helm 637176541d Remove old TODOs 2022-06-08 14:57:16 +02:00
Robbert van der Helm 78858b98f7 [yabridgectl] Check notify-send install status
Since it's used for yabridge's desktop notifications.
2022-05-24 13:41:32 +02:00
Robbert van der Helm 480755f8f0 Revert "[yabridgectl] Don't resolve rvas when parsing"
This reverts commit 6c1f7bd469.

Somehow disabling this option seems to cause goblin to deadlock when
scanning at least one plugin.
2022-05-24 04:29:29 +02:00
Robbert van der Helm 6c1f7bd469 [yabridgectl] Don't resolve rvas when parsing 2022-05-24 04:17:28 +02:00
Robbert van der Helm 6818b4fd09 [yabridgectl] Rename utils module to util 2022-05-23 12:57:40 +02:00
Robbert van der Helm 1f35081bad [yabridgectl] Parse without winedump when possible
This avoids an external dependency and speeds up the indexing process.
So far I found a single plugin that could not be parsed this way, so the
winedump based method is still there as a backup.
2022-05-23 12:57:05 +02:00
Robbert van der Helm 4a845ec952 [yabridgectl] Convert VST 3.7.5 moduleinfo files 2022-05-20 01:03:27 +02:00
Robbert van der Helm cb0c673f58 [yabridgectl] Add a rewriter for VST3 moduleinfo 2022-05-20 00:46:24 +02:00
Robbert van der Helm cc7988867d [yabridgectl] Update dependencies 2022-05-19 22:56:03 +02:00
Robbert van der Helm 03c2acd578 Add a todo on the VST 3.7.5 moduleinfo format
Supporting this in yabridge would require parsing JSON. So unless this
feature is actually used, we should probably not bother.
2022-05-19 22:31:16 +02:00
Robbert van der Helm ae0237d93c [yabridgectl] Change copied to synced in status
This makes more sense since the symlink based installation method is no
more.
2022-04-18 15:51:01 +02:00
Robbert van der Helm 4e2f72d67a [yabridgectl] Don't skip over broken symlinks 2022-04-18 12:58:42 +02:00
Robbert van der Helm 8abb960813 [yabridgectl] List sync target dirs in status
This acts as a useful visual reminder.
2022-04-17 20:45:09 +02:00
Robbert van der Helm 3970bc7f52 [yabridgectl] Set up in ~/.vst/yabridge by default
Instead of creating `.so` files next to the VST2 plugin's `.dll` files.
This behavior is still available as an option. #123
2022-04-17 20:27:47 +02:00
Robbert van der Helm 5ea5968f96 [yabridgectl] Move subdirectory detection
Now this is done for every file as part of the scanning process.
2022-04-17 20:14:38 +02:00
Robbert van der Helm 797bc07753 [yabridgectl] Add option for VST2 install location 2022-04-17 18:50:56 +02:00
Robbert van der Helm f62d06e085 [yabridgectl] Remove symlink installation method 2022-04-16 21:00:56 +02:00
Robbert van der Helm d2a21b28a8 [yabridgectl] Show VST2 library architecture
Just like it already did for the VST3 library. This information was not
necessary for the functionality of yabridgectl, but it does look nicer
this way.
2022-04-16 20:37:11 +02:00
Robbert van der Helm 585329541c [yabridgectl] Update to use chainloader libraries 2022-04-16 20:37:11 +02:00
Robbert van der Helm 1fec4c8860 Change the description in the GPL header 2022-04-16 20:37:10 +02:00
Robbert van der Helm 2f76a17aa3 Revert "[yabridgectl] Handle non-lowercase file extensions"
This reverts commit eee3d218c1.

This sounded good in theory, but in practice this doesn't work, because
there's no real way to find the matching .dll file form an .so file
without brute forcing it using a bunch of directory listings.
2022-04-14 23:40:29 +02:00
Robbert van der Helm eee3d218c1 [yabridgectl] Handle non-lowercase file extensions
Hopefully this shouldn't be needed, but I didn't realize we only parsed
lower case file names. Wouldn't be surprised if some installer ends up
creating an uppercased `.DLL` file.
2022-04-09 23:24:29 +02:00
Robbert van der Helm b2ac08436f Bump to version 3.8.1 2022-03-08 22:28:49 +01:00
Robbert van der Helm 7f14cdf208 [yabridgectl] Don't mention installation methods
Unless the symlink-based installation method is enabled.
2022-01-28 00:08:16 +01:00
Robbert van der Helm 28217f6c20 Bump version to 3.8.0 2022-01-15 16:14:22 +01:00
Robbert van der Helm 592c50da0a [yabridgectl] Fix formatting 2022-01-13 01:18:34 +01:00
Robbert van der Helm a7381f008b [yabridgectl] Update to Rust 2021
Rust 1.58 will be released tomorrow, so now that Rust 2021 has been out
for two releases bumping this should be fine.
2022-01-12 14:48:16 +01:00
Robbert van der Helm 82a8d84c4f [yabridgectl] Update dependencies 2022-01-12 14:36:43 +01:00
Robbert van der Helm fedf9fc627 [yabridgectl] Fix error message for unknown arch 2022-01-12 14:36:24 +01:00
Robbert van der Helm 1f16c2bf1a [yabridgectl] Disallow adding individual files 2022-01-12 13:56:48 +01:00
Robbert van der Helm 8382384fc1 [yabridgectl] Update clap to the final 3.0 release 2022-01-12 13:43:31 +01:00
Robbert van der Helm ed4a39375f [yabridgectl] Rewrite the blacklist check 2022-01-07 19:15:23 +01:00
Robbert van der Helm 263b192daa [yabridgectl] Canonicalize when checking blacklist
As mentioned in #156.
2022-01-07 19:00:35 +01:00
Robbert van der Helm dabefef098 [yabridgectl] Don't mention the method on sync
Unless it's not set to copies.
2022-01-07 00:29:52 +01:00