Commit graph

246 commits

Author SHA1 Message Date
sithlord48
525123573e chore: use U for wlclipboard setting name 2025-11-21 10:38:50 +00:00
sithlord48
d157713a85 feat: Settings expose settings to use wl-clipboard backend. Disable clipboard on wayland if this settings is disabled 2025-11-20 07:57:31 -05:00
sithlord48
56bb41a291 refactor: also check qt6 paths for translations 2025-11-20 07:29:01 -05:00
sithlord48
4285361413 refactor: replace Q_OS_MAC -> Q_OS_MACOS 2025-11-20 07:29:01 -05:00
sithlord48
37177f8e45 refactor: macos move bundle resources to Deskflow.app/Resources/translations 2025-11-20 07:29:01 -05:00
sithlord48
22d27f7245 fix: Settings, add a new private cleanScreenName method to update the screenName
Fixes: #9156
Names: contain only A-Z a-z 0-9 or - or . or _
       replace any spaces with _
       are < 256 characters in length
       can not start or end with - _ or .
Set a screen name if the settings does not have one do this instead of returning a default value
2025-11-17 10:21:31 +00:00
sithlord48
1a9e468c86 refactor: Settings store envvar checks so they only need to be read once when checking 2025-11-14 09:55:28 -05:00
sithlord48
204a6cca8a refactor: Settings make the name checking regex static in the method 2025-11-14 09:55:28 -05:00
sithlord48
4df7c54afb refactor: Settings make the internal setting objects children 2025-11-14 09:55:28 -05:00
sithlord48
aca08a5e74 feat: save geometry into into a state file
fixes: #9132
2025-11-14 09:55:28 -05:00
sithlord48
78c90fe7c6 fix: Crash caused by hostnames with invalid characters returned by machine name.
fixes: #9006

Only cleans the hostname if the system is using the default
Replace Spaces with _
Remove any other non word characters
2025-11-10 07:32:48 -05:00
sithlord48
1f6f6d5dc6 chore: remove unused Common/Common.h 2025-11-07 15:54:19 -05:00
sithlord48
f89e857223 refactor: Add deskflow::platform::isMac 2025-11-06 09:12:18 -05:00
sithlord48
5256f05963 refactor: addNew PlatformInfo::isWindows() 2025-11-06 09:12:18 -05:00
sithlord48
8e83b16f5e chore: move platform/Wayland.h -> common/PlatformInfo.h 2025-11-06 09:12:18 -05:00
sithlord48
aba38b949f feat: add new setting Log::GuiDebug to control when the Gui shows debug messages no longer controled by an ENV var 2025-11-05 11:31:29 +00:00
sithlord48
67ceedcad0 refactor: Settings use static list of settings that default to true and another that default to false 2025-11-05 11:31:29 +00:00
sithlord48
e1c0803018 chore: remove unused kDebugBuild 2025-11-04 10:47:14 -05:00
sithlord48
1f950f4c2a refactor: define SYSAPI_WINDOWS and WINAPI_WINDOWS in cmake, remove the define from Common.h 2025-11-03 13:31:28 +00:00
sithlord48
14fa29505d refactor: Allow for colorful tray icon but fall back to symbolic with fallback 2025-10-30 09:40:00 +00:00
sithlord48
eee4efd59d refactor: Only use symbolic tray icon 2025-10-29 13:23:47 -04:00
sithlord48
f4ca17ba3d refactor: Remove RetryOnFailure, Client will always retry and Server will never retry 2025-10-29 08:32:58 -04:00
sithlord48
18d90aa0bf refactor: use curly initilize for list of QDirs in I18N 2025-10-28 07:18:53 -04:00
sithlord48
c3f0b18df6 feat: support translation generation 2025-10-27 17:54:32 -04:00
sithlord48
55a9596bd5 chore: use Settings::setingsFile in place of instance()->.. 2025-10-17 09:07:21 +01:00
Nick Bolton
687fd5411a refactor: Rename setSettingFile to setSettingsFile for consistency 2025-10-15 08:59:09 -04:00
Nick Bolton
bb1394ceeb feat: Change to local user ini (not native)
Windows registry is horrible to deal with and makes it impractical to pass settings to the Core when run via daemon on Windows.

- Pass settings path to Core when launched via daemon
- Introduce portable mode detection logic on Windows
- Generalize `m_settingsFile` use
- Reduce #ifdef size for Settings ctor path logic
2025-10-15 08:59:09 -04:00
Nick Bolton
0f335d46bb fix: Store server config window state in memory instead of on disk 2025-10-13 08:50:30 -04:00
sithlord48
b0fe79d527 refactor: move yscroll to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
1884ab3555 refactor: move --no-hooks to coreArgs 2025-09-30 06:39:54 -04:00
sithlord48
eeaf139bd9 refactor: move no-restart to CoreArgs
chore: Client remove unused ClientArgs member m_args
2025-09-30 06:39:54 -04:00
sithlord48
295137dbd2 refactor: CoreArgs Add display option 2025-09-30 06:39:54 -04:00
sithlord48
f3a1bbaf5b refactor: move setting of log level to CoreArgParser 2025-09-30 06:39:54 -04:00
sithlord48
6f574a3076 refactor: set const for Reverse FQDN name to use for deployment on linux 2025-09-30 06:17:23 -04:00
sithlord48
8192d7b2d8 refactor: remove Settings::Client::Binary and Settings::Server::Binary use kCoreBinName, instead 2025-09-28 10:53:16 -04:00
sithlord48
c4c2f7f37f feat: begin to use QStrings for strings
feat: get windows building with the UNICODE forced by using Qt
refactor: remove ARCHString use QString to convert to / from utf8
build: (arch) link to common
build: (base) link to arch
build: (io) Link to common
build: (client) link to common
build: (server) link to common
fix: Append to log file instead of creating a new one each log line
refactor: Trim cipher description for neater log output
fix: Update log messages to use wide string format for Unicode support
fix: Correct event creation to use wide string for Unicode compatibility
refactor: Use QStringDecoder for UTF-8 handling on Windows Daemon child process
fix: Use correct wide type for Win32 consts
2025-09-10 18:15:19 +01:00
sithlord48
9cf25c4caf feat: Allow suppression of generic client connection dialog
fixes 8907
2025-09-01 10:57:59 +01:00
sithlord48
78eb353985 refactor: Settings Allow all log levels to be shown in the Gui 2025-08-28 00:45:40 +01:00
sithlord48
3a66969dec refactor: add XdpRestoreToken to list of valid keys so its not removed if cleansettings is run 2025-08-21 07:54:21 -04:00
sithlord48
d3c0ce8895 refactor: move all exit codes to new ExitCodes
add new exitcode s_exitDuplicate for when exiting because of already running instance
2025-08-21 12:34:50 +01:00
sithlord48
3b2d7fc0b3 feat: Switch to deskflow-core instead of split binaries 2025-08-20 20:33:20 +01:00
sithlord48
7cac145500 fix: Allow Gui to work with core ,server or client binaries
fixes: #7951
2025-08-20 20:33:20 +01:00
sithlord48
b2aa638b1f feat: Support Remote Desktop token persistance 2025-08-19 15:46:14 +01:00
sithlord48
4eec183598 refactor: remove IInterface class, that only adds a virtual construcor 2025-08-18 11:45:21 +01:00
sithlord48
2c55f4fe06 refactor: windows write daemon log in ProgramData\Deskflow
remove old log file on update
2025-07-21 12:41:46 +01:00
sithlord48
a4c82869a6 fix: split version info in new header
a new file src/lib/VersionInfo.h.in now holds our version info vars
fixes #8657
2025-07-21 12:06:01 +01:00
sithlord48
1079c22736 refactor: Settings use Static methods where possible internally 2025-07-17 18:47:50 +01:00
sithlord48
9905f32738 refactor: Common.h replace anon enum with set constexpr exit codes 2025-07-11 03:06:24 -07:00
sithlord48
dddb6aadf1 refactor: Settings remove const for return by vaule 2025-06-20 09:39:26 +01:00
sithlord48
d246d9527a Feat: Define QT_NO_KEYWORDS, allowing us to use Qt in more places
must use Q_SIGNALS, Q_SLOTS and Q_EMIT in place of signals, slots and emit macros
2025-06-02 14:28:51 -07:00