Robbert van der Helm
d79663bdc1
Remove spurious underscores from socket files
2022-04-16 20:37:11 +02:00
Robbert van der Helm
0ba0dab675
Add missing extern "C" to GetPluginFactory
2022-04-16 20:37:11 +02:00
Robbert van der Helm
6773305646
Allow including process.h without Asio support
2022-04-16 20:37:11 +02:00
Robbert van der Helm
e9c8c69a80
Enable LTO for the non-Winelib targets
2022-04-16 20:37:10 +02:00
Robbert van der Helm
46af07748b
Move desktop notifications to its own header
...
We'll need to use this from the chainloader.
2022-04-16 20:37:10 +02:00
Robbert van der Helm
fde90d7bc3
Pass plugin path around instead of redetecting
...
This is now set only once at the top level. This is needed for the
chainloading to work because we'll need to set the path when we create
the bridge.
2022-04-16 20:37:10 +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
88ac466501
Remove all references to Boost
...
Since we no longer depend on any of it.
2022-04-16 20:37:10 +02:00
Robbert van der Helm
7b3afa4043
Replace Boost.Dll with our own function
...
Now we no longer rely on anything from Boost. Later we'll move the path
detection to the very beginning of the plugin bridge initialization so
it can be set from the coming chainloader libraries.
2022-04-16 20:37:10 +02:00
Robbert van der Helm
b2ffbb8b4d
Also consider empty dirs for find_dominating_file
...
Just in case.
2022-04-16 20:37:10 +02:00
Robbert van der Helm
c2de0cce2e
Use our own export macro
2022-04-16 20:37:10 +02:00
Robbert van der Helm
6e2fff5710
Add size field in AudioShm move constructors
2022-04-16 20:37:10 +02:00
Robbert van der Helm
4e99afd53d
Add a note on case sensitive extension matching
2022-04-16 20:37:10 +02:00
Robbert van der Helm
b2a15620f3
Swap Boost.Container's small_vector out for LLVM's
...
This implementation misses a shrink to fit function, but reassigning the
vector with a fresh one should be equivalent.
2022-04-16 20:37:10 +02:00
Robbert van der Helm
fd25010aca
Replace Boost.Interprocess for audio-shm
2022-04-16 20:37:10 +02:00
Robbert van der Helm
b2b6a606ea
Silence -Wunused-result warnings
2022-04-16 20:37:10 +02:00
Robbert van der Helm
25f298636a
Add now missing include
2022-04-16 20:37:10 +02:00
Robbert van der Helm
03dfc66e30
Remove obselete boost-fix header
2022-04-16 20:37:10 +02:00
Robbert van der Helm
e4966a6245
Remove the now obsolete with-static-boost option
2022-04-16 20:37:10 +02:00
Robbert van der Helm
f1d1c2520c
No longer links against Boost.Filesystem
...
Since it's no longer used. The Boost.Filesystem headers are still used
foor Boost.Dll, this needs to be replaced next.
2022-04-16 20:37:10 +02:00
Robbert van der Helm
c8bbdc4f54
Get rid of the last uses of Boost.Process
2022-04-16 20:37:10 +02:00
Robbert van der Helm
0c0b26c9a1
Remove now obselete compiler flags
2022-04-16 20:37:10 +02:00
Robbert van der Helm
037d6ad5aa
Replace Boost.Process for the Wine plugin host
...
Now we use our own library for this, so we can drop the Boost.Filesystem
dependency after a couple more changes.
2022-04-16 20:37:10 +02:00
Robbert van der Helm
f79b0fd146
Fix Process file redirection
2022-04-16 20:37:10 +02:00
Robbert van der Helm
642c341d26
Handle waiting on a dead process
2022-04-16 20:37:10 +02:00
Robbert van der Helm
b6e63ea0d5
Add a function for searching through PATH
2022-04-16 20:37:10 +02:00
Robbert van der Helm
33b49dd7a5
Make the process building functions chainable
2022-04-16 20:37:10 +02:00
Robbert van der Helm
8d40341ade
Add a function for splitting search paths
2022-04-16 20:37:10 +02:00
Robbert van der Helm
a5ded46f27
Add a detach function to the process handles
2022-04-16 20:37:10 +02:00
Robbert van der Helm
75b3cf266d
Add Process functions for detached spawning
2022-04-16 20:37:10 +02:00
Robbert van der Helm
1df7abfb2c
Terminate handles when they get dropped
2022-04-14 23:42:12 +02:00
Robbert van der Helm
1641fb2996
Fix find_dominating_file() for ghc::filesystem
...
"/".parent() now is "/" instead of "" (which does make more sense)
2022-04-14 23:42:12 +02:00
Robbert van der Helm
a324042695
Use custom process library for notifications
...
Instead of using Boost.Process here. Last usage of Boost.Process is for
launching the child process.
2022-04-14 23:42:12 +02:00
Robbert van der Helm
b80a30ba2a
Redirect STDERR to /dev/null in process spawn
2022-04-14 23:42:12 +02:00
Robbert van der Helm
006cc6f52a
Read the Wine version without Boost.Process
...
By spawning the process using posix_spawn and manually reading from a
pipe.
2022-04-14 23:42:12 +02:00
Robbert van der Helm
60e4619ef1
Move pid_running() to process.h
2022-04-14 23:42:12 +02:00
Robbert van der Helm
0d6738093c
Add a Boost.Process-like environment builder
...
We can use this with the `exec*e()` family of functions.
2022-04-14 23:42:12 +02:00
Robbert van der Helm
556b0e38f9
Replace Boost.Asio with standalone Asio library
...
We had to add an even hackier hack now to get Boost.Process to
interoperate with Asio's IO contexts. This will be replaced later when
we replace Boost.Process.
2022-04-14 23:42:12 +02:00
Robbert van der Helm
d9ab04ba35
Mention ghc::filesystem in readme
2022-04-14 23:42:12 +02:00
Robbert van der Helm
d2d4cf4ea9
Replace most uses of Boost.{Filesystem,Process}
...
With the `ghc::filesystem` dependency from the previous commit. If we
can replace the rest of the Boost.Filesystem dependency then we can get
rid the one nasty runtime dependency we have, and it will make
implementing the chainloading simpler since can reuse more code without
bringing in Boost.
2022-04-14 23:42:12 +02:00
Robbert van der Helm
49b2ad46ab
Add a Meson wrap for ghc::filesystem
...
Which can replace Boost.Filesystem for us so we can get rid of the
runtime dependency.
2022-04-14 23:42:12 +02:00
Robbert van der Helm
45e5b06099
Fix Meson deprecation warning
2022-04-14 23:42:11 +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
4ee95b7a14
Mention the exact Xorg client limit
2022-04-13 13:07:24 +02:00
Robbert van der Helm
e1040300b7
Mention VST3 plugins for X11 client limits
2022-04-13 13:05:33 +02:00
Robbert van der Helm
6d02ceb277
Filter out effProcessEvents on verbosity level 1
2022-04-11 12:39:09 +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
d75eb16008
Update tested versions
2022-04-09 13:10:40 +02:00
Robbert van der Helm
8b78b92834
Add the note about replacing Boost to the roadmap
...
This would be nice as it makes packaging easier, but it would also
require a ton of effort.
2022-03-29 01:23:35 +02:00
Robbert van der Helm
b2e2f203e4
Add a proper roadmap
...
Makes sense to have this as part of the repo.
2022-03-27 14:16:04 +02:00