Commit Graph

1983 Commits

Author SHA1 Message Date
Robbert van der Helm fc8359fafb Fix missing line break in initialization message 2023-03-26 15:30:28 +02:00
Robbert van der Helm a35cd8da50 Preemptively unset WAYLAND_DISPLAY 2023-02-25 15:22:23 +01:00
Robbert van der Helm ee971f610e Fix missing detached flag in Process::Handle moves
This is why C++'s move semantics are footguns. The result of this was
that grouped plugins would no longer be detached when they were
moved (in this case, into the group connect handler closure). Which in
turn caused those plugins to block until the plugin host process
terminated, which thus ended up blocking the host indefinitely.
2023-02-21 15:01:01 +01:00
Robbert van der Helm 4ea0530a37 Prevent building tomlplusplus libs in subproject
This is supposed to be disabled by default, but it isn't.
2023-02-21 14:42:24 +01:00
Robbert van der Helm e937bfb2dc Remove old empty file
Not sure how this snuck back in.
2023-02-21 14:42:08 +01:00
Robbert van der Helm 83022726fc Update tomlplusplus to version 3.3.0
Arch tries to build yabridge against this version, and some things are
now broken. We need to more forcefully hack tomlplusplus into thinking
its running on Linux, and shared library mode also needs to be
explicitly disabled.
2023-02-21 14:05:59 +01:00
Robbert van der Helm d58c204178 Update to CLAP 1.1.7
Factories got moved to a new `factory` directory.
2023-01-27 21:04:34 +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 399db4d2fc Silence spurious std::to_array() warning
On GCC 12.2.
2022-12-23 19:59:52 +01:00
Robbert van der Helm 3bc9316f0d Revert static initialization change from fea6eded4 2022-12-23 19:51:45 +01:00
Robbert van der Helm acd745a3cb Update the VST3 dependency to version 3.7.7 2022-12-23 19:19:39 +01:00
Robbert van der Helm 5150332d20 Update CLAP dependency to version 1.1.4
Version 1.1.3 changed the cv-qualification of the features array.
2022-12-22 14:59:49 +01:00
Robbert van der Helm 9fd6603ce3 Get rid of SWP_NOCOPYBITS 2022-11-20 14:20:33 +01:00
Robbert van der Helm ea3680b8c7 Define yabridge Window class name in header
Apparently this is used in xdnd-proxy.cpp.
2022-11-14 23:31:37 +01:00
Robbert van der Helm 3f573cde31 Remove redundant semicolon 2022-11-14 23:06:24 +01:00
Robbert van der Helm 6e29c875c9 Add missing sstream include in notifcations.cpp 2022-11-14 23:05:04 +01:00
Robbert van der Helm 561a75b761 Use explicit nullptr instead of aggregate init
Makes it a bit more obvious that HCURSOR is a pointer.
2022-11-14 15:16:34 +01:00
Robbert van der Helm fea6eded49 Work around static initialization bug in WIne 7.21
As reported here: https://bugs.winehq.org/show_bug.cgi?id=53912
2022-11-14 13:59:18 +01:00
Robbert van der Helm 7ddd20b6d5 Remove some assertions from D-Bus notifications 2022-11-02 18:40:17 +01:00
Robbert van der Helm bc12687906 Undefine LIBDBUS_FUNCTIONS at the end of .cpp file
To avoid leaking macros.
2022-11-02 18:40:17 +01:00
Robbert van der Helm e6574a2966 Make CLAP activate and load mutually recursive
The latter is needed to get DPF plugins to load.
2022-10-30 16:48:49 +01:00
Robbert van der Helm ab3d61cc91 Allow mutual recursion on all CLAP callbacks 2022-10-30 16:47:37 +01:00
Robbert van der Helm 9dbaec4071 Bring back CLAP plugin-side mutual recursion
This partially reverts commit 90a41287be.

We do actually need this as DPF does a parameter value rescan inside of
the state load, for some reason.
2022-10-30 13:30:11 +01:00
Robbert van der Helm 90a41287be Remove old todos 2022-10-29 16:13:23 +02:00
Robbert van der Helm c80464da9e Swap dbus library name and fallback name 2022-10-28 20:48:56 +02:00
Robbert van der Helm 31e76f416c Also specifically try loading libdbus-1.so.3 2022-10-28 20:44:47 +02:00
Robbert van der Helm c36627f4c2 Remove todo about using replaces_id 2022-10-28 19:50:43 +02:00
Robbert van der Helm af0f38c00b Drop notify-send and use libdbus-1 directly
This is mostly useful for more obscure distros that don't ship
notify-send together with libnotify.
2022-10-28 19:45:59 +02: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 91832e5c0f Fix dlsym check 2022-10-28 17:34:05 +02:00
Robbert van der Helm 40cff87fb5 Add missing include 2022-10-28 17:33:43 +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 d1ef29aa3e Implement the CLAP timer-support extension
This is entirely implemented on the Wine side. I'll assume most Windows
plugins will use their own timers instead, but this could be useful for
plugins that try to use the same interface on all platforms.
2022-10-26 23:35:54 +02:00
Robbert van der Helm eeadf36195 Make the CLAP logger's log_request_base public
We'll need this for the timer support extension logging.
2022-10-26 23:06:54 +02:00
Robbert van der Helm 987ce8f204 Rename asio-fix.h to use-linux-asio.h
Bit of an ugly verbose name but it probably makes it much clearer why
the include is needed.
2022-10-26 17:10:18 +02:00
Robbert van der Helm fd15fee2d8 Bump tracked CLAP version
As updated in ea03914e7e.
2022-10-21 17:30:27 +02:00
Robbert van der Helm aa586d40ee Fully implement CLAP note name extension 2022-10-21 17:17:50 +02:00
Robbert van der Helm e2ec0e286f Implement host side of the note-name extension 2022-10-21 17:11:28 +02:00
Robbert van der Helm b360831c5f Add logging for the note name extension 2022-10-21 17:05:30 +02:00
Robbert van der Helm 39b0f75fad Add structs for the CLAP note name extension 2022-10-21 17:02:28 +02:00
Robbert van der Helm 257e3b4a34 Clarify list of supported CLAP extensions 2022-10-21 16:49:39 +02:00
Robbert van der Helm 09efa63b5f Mention that posix-fd-support is not necessary 2022-10-21 16:46:08 +02:00
Robbert van der Helm abaaaeed3c Implement CLAP audio-ports-config extension 2022-10-21 16:44:02 +02:00
Robbert van der Helm 244b546ac4 Log the IDs for audio-ports{,-config} responses 2022-10-21 16:43:53 +02:00
Robbert van der Helm 5dd008116e Add logging for audio-ports-config 2022-10-21 16:43:53 +02:00
Robbert van der Helm 21c1ca117d Add structs and utils for audio-ports-config 2022-10-21 15:38:10 +02:00
Robbert van der Helm ba5ffd5deb Fix function name mismatching definition in header 2022-10-21 15:38:10 +02:00
Robbert van der Helm 19ee32039b Allow set_size() before set_parent()
REAPER does this.
2022-10-10 17:39:12 +02:00
Robbert van der Helm 0d5e2fc0d9 Mention that audio processing is fully implemented
(and has been for a week and a half)
2022-10-10 16:13:06 +02:00
Robbert van der Helm 0143d43c7e Implement the CLAP render extension 2022-10-10 16:08:26 +02:00