Reorganize the backend directory #2
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
#1 build: Re-organize CMake files
BuddiesOfBudgie/budgie-display-configurator
Reference
BuddiesOfBudgie/budgie-display-configurator!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "backend-reorganization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While there are no functional changes, this is a pretty significant overhaul of the former backend. It now more closely follows other Qt projects, which should make it easier for people familiar with Qt to contribute. I also performed some general cleanup, like adding SPDX headers to all files. I would recommend looking at each commit to gain a more clear understanding of the changes.
There are still a couple of items that I am unsure of:
backend.cpp/backend.hpp), I just don't know what it is yet.layoutandoutputdirectories can probably be moved up one level. I don't think there's a real good reason to have them live in subdirectories, myself.Depends on #1
Seems like sensible changes to me. Some notes based off our discussion in Matrix as well as some from review:
LayoutManager.{hpp,cpp}tolayout.{hpp,cpp}.DaemonConnectionStatetoConnectionState(having it in bd namespace would be good :P), there isn't really anything else it's connecting to so the original verbosity is unnecessary.bdnamespace (though I could see it being renamed frombdsincebdatm is already used bybudgie-daemon, possiblybdc?). That's been intentional to avoid polluting the global namespace and risk collisions. It's not unlikely to happen, but something trivially avoidable by namespacing. 🤔07aea49f80toe461d06de7WIP: Reorganize the backend directoryto Reorganize the backend directory