Commit Graph

77 Commits

Author SHA1 Message Date
Robbert van der Helm 42c484bfc0 Bump to version 2.2.1 2020-12-12 12:48:09 +01:00
Robbert van der Helm d0b9f1a602 Bump to version 2.2.0 2020-12-11 14:00:16 +01:00
Robbert van der Helm 21b0f70eda Rename get_modified_search_path() for clarity 2020-11-20 15:39:29 +01:00
Robbert van der Helm f79e2465e8 Bump to version 2.1.0 2020-11-20 14:24:42 +01:00
Robbert van der Helm b9b61e420f [yabridgectl] Reorganize path check 2020-11-20 14:24:42 +01:00
Robbert van der Helm c69037b649 Always search for host in ~/.local/share/yabridge 2020-11-20 14:24:42 +01:00
Robbert van der Helm ad71016c9a Bump to version 2.0.2 2020-11-14 18:13:18 +01:00
Robbert van der Helm 5f1fbcb905 Bump to version 2.0.1 2020-11-08 21:53:55 +01:00
Robbert van der Helm 97d1055063 Bump to version 2.0.0 2020-11-08 13:47:33 +01:00
Robbert van der Helm 4920cab187 Update the readme for yabridge 2.0.0 2020-11-08 13:40:01 +01:00
Robbert van der Helm 0392ed2220 [yabridgectl] Mention sync --force in the readme 2020-11-08 13:32:01 +01:00
Robbert van der Helm 816a2cbe01 [yabridgectl] Update Wine error detection
The usage string has changed, better to just match part of it so this
won't cause issues again in the future.
2020-10-26 17:54:41 +01:00
Robbert van der Helm cbc55aa16f Bump to version 1.7.1 2020-10-23 14:10:11 +02:00
Robbert van der Helm c2ec1ce994 [yabridgectl] Fix removing non-existent directory
As mentioned in #46.
2020-10-23 01:49:46 +02:00
Robbert van der Helm e6af947fe1 [yabridgectl] Only recreate files when necessary
As suggested in #42. This also adds a `--force` flag to reenable the old
behaviour and always recreate files even when not necessary.
2020-10-17 18:21:53 +02:00
Robbert van der Helm 8dc95f939e [yabridgectl] Move file hashing to a function 2020-10-17 17:09:03 +02:00
Robbert van der Helm 2b077c1a4e Bump to version 1.7.0 2020-10-13 15:38:22 +02:00
Robbert van der Helm 59c9a2308a Bump to version 1.6.1 2020-09-28 22:41:01 +02:00
Robbert van der Helm f67e1923cc Also search through /usr/local/lib in yabridgectl
For automatic path detection. It's still not recommended to install
yabridge there, but if you know what you're doing then this would at
least be a good default to have.
2020-09-27 13:33:53 +02:00
Robbert van der Helm 4c89558457 Resolve relative paths in yabridgectl 2020-09-22 23:15:51 +02:00
Robbert van der Helm 2ad78a94a4 Update yabridgectl lock file
Forgot to do this during the release.
2020-09-17 15:12:05 +02:00
Robbert van der Helm 844ef7a8c5 Bump to version 1.6.0
This has been a bit overdue, but since this only fixes a few niche
issues with Renoise and REAPER I wanted to make sure that it actually
worked.
2020-09-17 14:47:16 +02:00
Robbert van der Helm 8ce4ebfc28 Bump to version 1.5.0 2020-08-21 15:11:36 +02:00
Robbert van der Helm 56c939012d Bump to version 1.4.1 2020-07-27 16:33:41 +02:00
Robbert van der Helm f02dbb3755 Fix TOML parsing with large unsigned integers
The parser parses everything as signed integers so the configuration
file will fail to parse large numbers that don't fit in an i64.

https://github.com/alexcrichton/toml-rs/issues/256
2020-07-27 16:25:36 +02:00
Robbert van der Helm 81696f4dde Fix broken symlinks not being removed
`Path::exists()` returns false for broken symlinks:

https://doc.rust-lang.org/std/path/struct.Path.html#method.exists
2020-07-27 16:10:27 +02:00
Robbert van der Helm f5b1d48d96 Bump version to 1.4.0 2020-07-26 15:20:48 +02:00
Robbert van der Helm 9abaf60008 Fix potential out of bounds error in Wine check 2020-07-19 19:08:01 +02:00
Robbert van der Helm 6f9eb19969 Remove random comment 2020-07-19 19:03:09 +02:00
Robbert van der Helm 6bba1a9bf8 Check for Wine and yabridge compatibility on sync
This will probably solve the last common setup issue. Starting Wine can
take a second so this check is only repeated when either Wine or
yabridge get updated.
2020-07-19 16:57:18 +02:00
Robbert van der Helm a8e914a71a Add a last known config field to the configuration
For verifying that a combination of Wine and yabridge is going to work
together properly.
2020-07-19 14:39:07 +02:00
Robbert van der Helm 0778d787cc Add references to the filesystem function wrappers 2020-07-19 14:32:17 +02:00
Robbert van der Helm 3e438be302 Add an option to disable setup checks
The path check should only take a few milliseconds to run, but checking
whether yabridge-host.exe runs correctly could take over a second when
wineserver isn't already running in the background.
2020-07-19 13:54:12 +02:00
Robbert van der Helm 86be5c4814 Wrap filesystem functions for readable errors
Without having to repeat this all over the place.
2020-07-19 13:50:25 +02:00
Robbert van der Helm 9580dbea12 Wrap options for yabridgectl sync/set in a struct
To prevent having to pass a bunch of confusing boolean values or an
entire ArgMatch object.
2020-07-19 13:36:45 +02:00
Robbert van der Helm c5ec9b9dd3 Bump to version 1.3.0 2020-07-17 15:19:51 +02:00
Robbert van der Helm 74be0992fd Update yabridgectl documentation 2020-07-17 13:34:55 +02:00
Robbert van der Helm b94e68e935 Start argv[0] with a hyphen in login shell check
Since Rust 1.45 just came out today.
2020-07-17 13:10:01 +02:00
Robbert van der Helm 13214ca3a6 Print shell name in path setup warning 2020-07-16 23:00:10 +02:00
Robbert van der Helm 1df581cc55 Add missing blank line to path check warning 2020-07-16 22:57:49 +02:00
Robbert van der Helm 0f9599df4d Fix sentence structure in yabridgectl messages 2020-07-16 22:53:20 +02:00
Robbert van der Helm 8698a8fd0b Update messages in yabridgectl 2020-07-16 19:07:34 +02:00
Robbert van der Helm b05d5d2b7c Add support for ion, elvish, oil and nushell
Xonsh 0.9.14's which implementation is broken so I left it out:

```shell
$ env -i HOME=$HOME xonsh -l -c 'which <anything>'
xonsh: For full traceback set: $XONSH_SHOW_TRACEBACK = True
KeyError: 'PATH'
```
2020-07-16 17:25:26 +02:00
Robbert van der Helm 836aefcfbb Verify that the PATH has been set up correctly
When creating copies with yabridgectl. This should at least give an
advance warning that some additional steps are required when first
setting up yabridge.
2020-07-16 16:56:27 +02:00
Robbert van der Helm 2ec53c78d9 Add a descriptive error when winedump is missing 2020-07-16 15:04:07 +02:00
Robbert van der Helm 1ee2fe4746 Use anyhow for formatting and handling errors
This works better than doing it manually, and it significantly reduces
the amount of boilerplate needed.
2020-07-16 14:43:00 +02:00
Robbert van der Helm f48b5e66ca Move all subcommand handlers to a module
To unclutter in main.rs a bit.
2020-07-16 13:43:50 +02:00
Robbert van der Helm 9a53d788f8 Link to yabridgectl in the readme
In case anyone stumbles upon this.
2020-07-15 23:44:06 +02:00
Robbert van der Helm 7e3086c354 Prompt to remove leftover files when removing dir 2020-07-15 22:49:34 +02:00
Robbert van der Helm ae0f4aa64e Update yabridgectl readme 2020-07-15 21:54:47 +02:00