Commit Graph

249 Commits

Author SHA1 Message Date
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
Robbert van der Helm 069b0fce4f Change references to yabridge 3.7.1 to 3.8.0
Since that will be the next version after the recent changes.
2022-01-03 17:10:25 +01:00
Robbert van der Helm b60139ce77 Avoid unnecessary string uses 2022-01-02 20:26:54 +01:00
Robbert van der Helm 16203d7246 Remove all remaining mentions of using symlinks
Since these should never be used anymore.
2022-01-02 20:24:03 +01:00
Robbert van der Helm f5af027847 Print a deprecation warning on sync for symlinks 2022-01-02 20:23:37 +01:00
Robbert van der Helm e0ab24e645 Update copyright headers
Happy new year!
2022-01-01 18:32:10 +01:00
Robbert van der Helm 75c64e6be8 Bump version to 3.7.0 2021-11-21 16:04:49 +01:00
Robbert van der Helm e79d1ec03a Bump to version 3.6.0 2021-10-15 10:34:31 +02:00
Robbert van der Helm 5151107a84 [yabridgectl] Accept relative paths in remove ops
This is a bit of a mess (which is also why I kept procrastinating on
this), since we also need to keep symlinks, trailing slashes, and weird
unnormalized paths into account.
2021-10-12 19:10:31 +02:00
Robbert van der Helm 93ca19a3ba [yabridgectl] Update to clap 3.0.0-beta.4 2021-10-12 16:44:56 +02:00
Robbert van der Helm 8d96eee3c8 Remove VST3 SDK patch for shlobj.h casing
They fixed this in version 3.7.3.
2021-08-10 17:15:08 +02:00
Robbert van der Helm 47eb80798b [yabridgectl] Suggest not reading the readme
Yes, a readme that should not be read! I guess it's mostly there for
documentation's sake, because you probably shouldn't need any of
yabridgectl's functionality that's not outlined in the main readme.
2021-08-09 15:56:44 +02:00
Robbert van der Helm 63975115d2 Bump to version 3.5.2 2021-08-08 15:49:17 +02:00
Robbert van der Helm 1db6e853da Bump to version 3.5.1 2021-07-31 21:29:48 +02:00
Robbert van der Helm 4b256d456b Bump to version 3.5.0 2021-07-23 16:38:00 +02:00
Robbert van der Helm 6d76daff80 [yabridgectl] Print yabridge host paths in status 2021-07-20 02:02:39 +02:00
Robbert van der Helm ae454be4b5 Bump to version 3.4.0 2021-07-15 16:06:15 +02:00
Robbert van der Helm 784593df5c [yabridgectl] Remove explicit fallback
This was already handled by appending this to the `$PATH`.
2021-07-14 15:10:03 +02:00
Robbert van der Helm 2c25615ea5 Restore old yabridgectl plugin count with symlinks
The count will probably be a bit off now, but it's better than counting
only two plugins.
2021-07-13 00:01:32 +02:00
Robbert van der Helm b4019213f6 [yabridgectl] Remove 32-bit prefix warning on sync
This is no longer an issue since yabridgectl checks the prefixes
architecture now.
2021-07-12 15:46:35 +02:00
Robbert van der Helm bf84057044 [yabridgectl] Normalize symlinks for plugin counts
Now this should actually be correct with partially overlapping plugin
directories when symlinks were used.
2021-07-05 17:56:22 +02:00
Robbert van der Helm c13d8f2ee3 [yabridgectl] Recursively prune empty directories
If pruning results in a directory becoming empty, then we should remove
that directory. This approach won't touch any directories that we aren't
pruning from.
2021-07-03 18:35:51 +02:00
Robbert van der Helm 70c40970aa [yabridgectl] Make syncing much more resiliant
This commit does a couple of things since the refactoring made it
difficult to split these things up:

- The counts for managed and new plugins are now always correct, even
  when plugin directory A contains a symlink to plugin directory B.
- Orphan files will now be pruned from managed VST3 directories, making
  switching between different architectures easier. (the previous
  approach involved nuking the entire bundle, which of course has a
  bunch of downsides)
2021-07-03 18:20:05 +02:00
Robbert van der Helm 85c84aba0f [yabridgectl] Partially revert 5ea04c4
We should be a bit more clever about this. This approach would mean that
the plugin would be rescanned every time, since the whole 'don't
reinstall plugins if that wouldn't change anything' thing no longer
works with this approach.
2021-07-03 16:38:56 +02:00
Robbert van der Helm 9b1f3a5f4c Remove non-existent VST2 entry point
Since there isn't any public documentation on VST2, I saw JUCE and a
couple of other plugins and bridges use this, but they all redefined the
symbol to`main`.
2021-06-29 12:11:05 +02:00
Robbert van der Helm 5133f07c2c [yabridgectl] Fix setup checks with 32-bit prefix
This will now run `yabridge-host-32.exe` if `~/.wine` was created with
`WINEARCH=win32`.
2021-06-25 02:13:16 +02:00
Robbert van der Helm 3e75ff557b [yabridgectl] Bump reflink for 32-bit support
The version on crates.io always assumes the toolchain is 64-bit.
2021-06-24 17:43:37 +02:00
Robbert van der Helm c770e561d3 [yabridgectl] Use the correct VST3 arch name 2021-06-24 16:09:56 +02:00
Robbert van der Helm 5ea04c402e [yabridgectl] Clean up VST3 bundles
We would completely remove VST3 bundles that yabridgectl does not know
about anymore, but we would not remove leftover files within bundles.
This could otherwise cause issues when messing with 32-bit and 64-bit
versions of plugins or yabridge itself.
2021-06-24 16:04:04 +02:00
Robbert van der Helm 0b8221b136 [yabridgectl] Add support for 32-bit yabridge VST3
Bundles containing a 32-bit version of `libyabridge-vst3.so` should use
the `x86-linux` directory instead of the `x86_64-linux` directory.
2021-06-24 15:48:43 +02:00
Robbert van der Helm b521debbb7 [yabridgectl] Determine libyabridge-vst3.so arch
We're going to need this for supporting merged VST3 bundles with a
32-bit libyabridge-vst3.so.
2021-06-24 15:23:41 +02:00
Robbert van der Helm 3e0a2dc913 [yabridgectl] Change the library architecture enum
We're going to need this for native libraries as well.
2021-06-24 14:19:06 +02:00
Robbert van der Helm 3ad70678da [yabridgectl] Fix typo in error message 2021-06-23 01:42:02 +02:00
Robbert van der Helm eb9c2d9bf9 [yabridgectl] Don't panic on empty wine --version
And print a more descriptive error message instead. This is only
relevant when using a `WINELOADER` that causes `$WINELOADER --version`
to not output anything.
2021-06-16 13:09:20 +02:00
Robbert van der Helm 9ae0e8ca38 [yabridgectl] Use reflinks instead of copies
Whenever available. This should speed up the copying process while also
reducing the amount of disk space wasted on Btrfs and XFS filesystems.
2021-06-12 11:40:24 +02:00
Robbert van der Helm 53e4fa369f Bump to version 3.3.1 2021-06-09 16:36:02 +02:00
Robbert van der Helm e421048925 Correctly configure clang-tidy for src/wine-host 2021-06-09 13:42:45 +02:00
Robbert van der Helm 7228d49507 Bump to version 3.3.0 2021-06-03 17:35:45 +02:00
Robbert van der Helm 511aa14700 [yabridgectl] Fix reporting of new VST3 plugins
When yabridgectl sets up both a VST3 bundle containing both a 32-bit and
a 64-bit plugin. The libyabridge.so file already existed, so the
reported number was always off.
2021-05-31 17:05:34 +02:00