Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typesafe IPC #331

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Typesafe IPC #331

wants to merge 8 commits into from

Conversation

rkuklik
Copy link
Contributor

@rkuklik rkuklik commented Jun 18, 2024

This is first (and probably not last) PR for IPC refactor. For now this is a draft because I am unsure if PRs of this size are either to big or too inconsequential.

Apart from sending and receiving itself, I will take a look at some semi-duplicated code (looking at you, RequestSend and RequestRecv), though this will not be included in this PR.

Is there any form of compatibility guarantee between swww and swww-daemon if version bump ocuurs?

@LGFae
Copy link
Owner

LGFae commented Jun 18, 2024

Is there any form of compatibility guarantee between swww and swww-daemon if version bump ocuurs?

No. You may break as many things as you want :)

@rkuklik
Copy link
Contributor Author

rkuklik commented Jun 19, 2024

I noticed couple cfg(target_os = "linux") in mmap module. Is there a reason for this? As far as I know, wayland is official only for linux. Does this project support (or plans to support) BSDs?

@rkuklik
Copy link
Contributor Author

rkuklik commented Jun 19, 2024

This should conclude first part if IPC refactor. In next PR I will reorganize daemon and client a bit to facilitate easier adjustments.

@rkuklik rkuklik marked this pull request as ready for review June 19, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants