Commit Graph

19 Commits

Author SHA1 Message Date
Robbert van der Helm cb6a1dd0ff Fix yabridge_version() in chainloaders
The function doesn't (and cannot) have the same name as the function
pointer, so `MAYBE_LOAD_FUNCTION()` does the wrong thing here. May as
well just do it manually.
2023-12-10 22:48:34 +01:00
Robbert van der Helm f1a7ad4dcb Implement yabridge_version for all plugin bridges
The host can use this to query the yabridge version in use.
2023-12-10 22:30:52 +01:00
Robbert van der Helm d39d3a68c1 Add the chainloader side of yabridge_version
This can be used by hosts to determine which version of yabridge is in
use.
2023-12-10 22:24:41 +01:00
Robbert van der Helm 1e66654c2e Update copyright headers for 2023
Happy new year!
2023-01-01 18:51:35 +01:00
Robbert van der Helm b58eca9ed1 Move XMML and URL escape functions to common/utils
So we don't need to include notifications.h on the Wine side. The
alternative would be to put ifdef guards around everything involving
notification sending in `notifications.cpp` but that would be even more
problematic.
2022-10-28 17:52:23 +02:00
Robbert van der Helm d1b3de5fc0 Connect to the session message bus using libdbus-1
This is the first step of migrating the desktop notifications over to
pure DBus.
2022-10-28 16:46:53 +02:00
Robbert van der Helm ffbed4ae17 Fix bridge function names in CLAP chainloader 2022-09-11 19:18:03 +02:00
Robbert van der Helm 7206ed2621 Silence warning about unnecessary CLAP_EXPORT 2022-09-11 19:18:03 +02:00
Robbert van der Helm dc54d082a8 Rename factory function in CLAP chainloader
For consistency
2022-09-11 19:18:03 +02:00
Robbert van der Helm ffad63d439 Add a CLAP chainloader
The functions it's supposed to load however don't exist yet.
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 beed7963ec Only set VST3 chainloader sources when enabled 2022-09-11 19:18:03 +02:00
Robbert van der Helm ac0495bea2 Remove unused mutex from VST3 chainloader 2022-09-11 19:18:03 +02:00
Robbert van der Helm 89378e8862 Handle dlsym() failures in chainloaders better
If these ever fail (because the function names change, not that that
should happen anytime soon) then you'll now get the expected logging
output instead of it just printing an assertion failure to the terminal.
2022-04-21 14:21:26 +02:00
Robbert van der Helm b3efcf4e06 Merge yabridge-group.exe and yabridge-host.exe
They were 95% the same, so this makes a lot more sense this way. When
group host processes were introduced yabridge only did VST2 bridging,
but we already have a plugin type argument anyways so might as well
reuse that for group hosts.
2022-04-16 23:26:24 +02:00
Robbert van der Helm 4d9e865dd3 Define plugin and chainloader deps in own dir
Just like we already did for the plugin host.
2022-04-16 23:00:25 +02:00
Robbert van der Helm 8710b6d63d Add one last Hail Mary search to the chainloader 2022-04-16 20:37:11 +02:00
Robbert van der Helm d73a0041eb Find the correct library file from the chainloader
Instead of using this hardcdoed path.
2022-04-16 20:37:11 +02:00
Robbert van der Helm c2794831da Add (for now, hardcoded) chainloader libraries 2022-04-16 20:37:11 +02:00