mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #1345] [MERGED] Filesystem operations cleanup #1786
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1786
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/1345
Author: @p12tic
Created: 11/1/2021
Status: ✅ Merged
Merged: 11/1/2021
Merged by: @p12tic
Base:
master← Head:filesystem-cleanup📝 Commits (10+)
801a5a7ext: Add https://github.com/gulrak/filesystem for filesystem operationsa987605lib/io: Rename fstream.h to filesystem.hbcafdc6src/lib: Switch to ghc::filesystem in path utilitiese7d936blib/common: Replace PathUtilities::concat with barrier::fs equivalent677612dlib/common: Replace PathUtilities::basename with barrier::fs equivalent298980flib/common: Move DataDirectories to barrier namespacea2ca7e2lib/common: Switch data directories to fs::path220f9e8lib/common: Remove unused filed033ffalib/net: Use fs::is_regular_file() to check for path existenceb76b332lib/common: Move SSL certificate path definition to common location📊 Changes
33 files changed (+196 additions, -314 deletions)
View changed files
📝
.gitmodules(+3 -0)📝
CMakeLists.txt(+2 -0)➕
ext/gulrak-filesystem(+1 -0)📝
src/gui/src/MainWindow.cpp(+4 -4)📝
src/gui/src/SslCertificate.cpp(+16 -35)📝
src/gui/src/SslCertificate.h(+3 -8)📝
src/lib/barrier/App.cpp(+1 -1)📝
src/lib/barrier/ArgParser.cpp(+10 -4)📝
src/lib/barrier/ArgParser.h(+3 -0)📝
src/lib/barrier/ArgsBase.cpp(+1 -1)📝
src/lib/barrier/ArgsBase.h(+3 -2)📝
src/lib/barrier/ClientApp.cpp(+1 -2)📝
src/lib/barrier/DropHelper.cpp(+1 -1)📝
src/lib/barrier/ServerApp.cpp(+18 -15)📝
src/lib/barrier/win32/DaemonApp.cpp(+1 -1)📝
src/lib/base/log_outputters.cpp(+1 -1)📝
src/lib/common/DataDirectories.h(+23 -15)📝
src/lib/common/DataDirectories_static.cpp(+20 -12)➖
src/lib/common/MacOSXPrecomp.h(+0 -23)➖
src/lib/common/PathUtilities.cpp(+0 -75)...and 13 more files
📄 Description
This PR adds https://github.com/gulrak/filesystem as a dependency for filesystem operations and rewrites most of these to use that library. This way we don't need to invent the bicycle ourselves.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.