sithlord48
c2b3f551d2
chore: String update copyright
2025-01-25 15:43:44 +00:00
sithlord48
f255d77eee
chore: add string::fromHex
2025-01-25 15:43:44 +00:00
sithlord48
3125eba014
chore: add string::fromHexChar
2025-01-25 15:43:44 +00:00
sithlord48
9b1489384c
chore: String toHex should return a string not do inplace conversion
2025-01-25 15:43:44 +00:00
sithlord48
ac54a97a3f
chore: rm use of "Arch" from "String"
2025-01-25 15:43:44 +00:00
re2zero
cc4701a0c2
fix: Fix detect language
...
It perhaps no variant for a keyboard's layout, set a default value in order to continue detect local language.
Log: Fix detect language.
2025-01-23 16:54:14 -05:00
sithlord48
2040df435f
fix : #8107 : Remove legacy tray code
2025-01-23 19:16:29 +00:00
sithlord48
62f53bbb92
fix: check bsdpath for evdev fixes #8112
2025-01-21 17:15:42 -05:00
Nick Bolton
6eec07b6dc
refactor: Use correct log level for failure messages
...
This change may help us turn up some everyday problems in the field that get missed due to not using debug log level.
This could also make the log a bit noisier, so at a later date we may need to downgrade anything that is not actually a failure/warning.
2025-01-21 16:46:34 -05:00
Birk Magnussen
b13afbbbb9
Properly seek to start of keymap descriptor
2025-01-21 12:07:54 +00:00
sithlord48
ffe8153c35
build: remove unused TM_IN_SYS_TIME define
2025-01-21 06:27:36 -05:00
sithlord48
afc736e2c8
build: remove unused STDC_HEADERS
2025-01-21 06:27:36 -05:00
sithlord48
ae7e2f70ce
build: remove unused PTHREAD_CREATE_JOINABLE
2025-01-21 06:27:36 -05:00
sithlord48
9a1cb5941b
build: remove unused define HAVE_X11_XKBLIB_H
2025-01-21 06:27:36 -05:00
sithlord48
fa35d2913d
build: remove HAVE_X11_EXTENSIONS_XKBSTR_H define
2025-01-21 06:27:36 -05:00
sithlord48
1115d3287e
build: remove HAVE_SYS_STAT define
2025-01-21 06:27:36 -05:00
sithlord48
46cfb281af
build: remove HAVE_STRING_H define
2025-01-21 06:27:36 -05:00
sithlord48
365d6f76c2
build: remove HAVE_STRINGS_H define
2025-01-21 06:27:36 -05:00
sithlord48
05275b303f
build: remove HAVE_STRFTIME define
2025-01-21 06:27:36 -05:00
sithlord48
535d241f7b
build: remove unused STDINT define
2025-01-21 06:27:36 -05:00
sithlord48
3e9289328a
build: remove unused INTTYPES define
2025-01-21 06:27:36 -05:00
sithlord48
bac86455d2
build: remove unused HAVE_MEMORY_H
2025-01-21 06:27:36 -05:00
sithlord48
b394f32c01
build: remove unused CXX_STDLIB define
2025-01-21 06:27:36 -05:00
sithlord48
312347bc17
build: remove unused CXX_MUTABLE define
2025-01-21 06:27:36 -05:00
sithlord48
6541ce3f84
build: remove unused CXX_EXTENTION define
2025-01-21 06:27:36 -05:00
sithlord48
b4a5b580bd
build: remove unused CXX_CASTS define
2025-01-21 06:27:36 -05:00
sithlord48
d72fd2b3d9
build: remove unused ACCEPT_TYPE_ARG3
2025-01-21 06:27:36 -05:00
sithlord48
5ce9aaea13
build: remove has_BOOL define
2025-01-21 06:27:36 -05:00
sithlord48
cc6bfcc1c2
build: remove unused SIZE defines
2025-01-21 06:27:36 -05:00
sithlord48
efca38babc
build: remove size_t define
2025-01-21 06:27:36 -05:00
sithlord48
401326e9d7
build: use CMAKE_PROJECT_NAME and CMAKE_PROJECT_PROPER_NAME to set our kAppName and KAppId
2025-01-21 06:27:36 -05:00
sithlord48
89ec18a8e4
feat: bake in light and dark icon theme
2025-01-20 10:42:29 +00:00
sithlord48
067d6810f3
chore: gui lib, remove unused include dirs
2025-01-19 09:39:54 -05:00
sithlord48
19920801fa
build: gui lib use explicit sources
2025-01-19 09:39:54 -05:00
sithlord48
16396bdbaa
build: Unify copyright into one cmake var
2025-01-14 21:42:43 +00:00
sithlord48
793f40e582
chore: remove basic_types.h
2025-01-14 20:30:45 +00:00
sithlord48
96092df4fc
refactor: replace UInt32 with uint32_t
2025-01-14 20:30:45 +00:00
sithlord48
27eb83c981
refactor: replace SInt32 with int32_t
2025-01-14 20:30:45 +00:00
sithlord48
7487eeaa3a
refactor: replace UInt16 with uint16_t
2025-01-14 20:30:45 +00:00
sithlord48
1ed49e7487
refactor: replace SInt16 with int16_t
2025-01-14 20:30:45 +00:00
sithlord48
ba11eba91e
refactor: replace UInt8 with uint8_t
2025-01-14 20:30:45 +00:00
sithlord48
8ea20cf6da
refactor: replace SInt8 with int8_t
2025-01-14 20:30:45 +00:00
sithlord48
3875e41154
fix: Enter screen on mac os asap to ensure event hand off
...
based on https://github.com/input-leap/input-leap/pull/2116
2025-01-09 14:02:01 +00:00
sithlord48
9501b59f81
fix: Save the try icon setting
2025-01-07 20:33:37 -05:00
sithlord48
6c95daf0a1
chore: remove stdstring.h use include <string> instead
2025-01-08 00:11:34 +00:00
sithlord48
3991e0c1a1
refactor: use std::string in place of String
...
basedon: https://github.com/debauchee/barrier/pull/709
2025-01-08 00:11:34 +00:00
sithlord48
42a17726d9
feat: Allow users to pick mono color (based on isDarkMode) or colorful icon
2025-01-07 23:51:34 +00:00
sithlord48
5d41537505
refactor: remove macOS check for icon theme macOS 11+ uses a mask
2025-01-07 23:51:34 +00:00
sithlord48
13a3c2d281
Chore: rm unused DESKFLOW_GUI_HOOK Items
2025-01-07 17:15:48 -05:00
Oren Trutner
a55fafb4fc
fix: messages read into vector are cut off by 4 bytes
2025-01-07 21:09:03 +00:00
sithlord48
ca5f41684f
fix: MacOS Hide and Show from dock on window close / hide
2025-01-07 09:19:20 -05:00
sithlord48
351c5123ef
fix: Mac Os use Native Hide Event
2025-01-03 13:56:39 +00:00
sithlord48
ce02bb85b3
chore: update gnome tray fix link to https://extensions.gnome.org/extension/615/appindicator-support/
2025-01-02 13:44:06 +00:00
sithlord48
13b58f2f7a
fix: 8017, move wayland error to debug context
2024-12-28 20:46:51 +00:00
sithlord48
638970d65e
feat: Visiblity toggle for the log on the main window
2024-12-26 14:45:52 +00:00
sithlord48
9811586718
fixes : #7940 Use std::string insert to in place of arg sub for std::string static
2024-12-26 13:06:21 +00:00
sithlord48
858c41c946
fix : #7942 , Correctly substitute config name part
...
fixes https://github.com/deskflow/deskflow/issues/7942
2024-12-26 12:28:19 +00:00
Vamshi Maskuri
ab44559df6
fix(CVE-2021-42076): Enforce maximum message length to prevent memory exhaustion
...
based on barrier: debauchee/barrier@7ab8e01 , debauchee/barrier@cc36982 ,
debauchee/barrier@e33c81b , debauchee/barrier@af90f39 , debauchee/barrier@fd5295e
2024-12-26 10:45:21 +00:00
Vamshi Maskuri
626e8c7364
fix(CVE-2021-42074): Handle SSL race conditions and segmentation fault
...
based on barrier: debauchee/barrier@8b937a4
2024-12-26 10:24:22 +00:00
Vamshi Maskuri
937ac053fe
fix(CVE-2021-42075): Close connection on app-level handshake failure
...
based on barrier: debauchee/barrier@deefecc
2024-12-18 17:23:27 +00:00
sithlord48
f06a789d25
build: wix generation for windows with cpack
2024-12-18 12:10:53 -05:00
sithlord48
e4ecbdae8a
fix: macOS correctly restore window when hidden with command+H
2024-12-18 09:52:17 -05:00
sithlord48
bf4f513d7e
chore: format *.m and *.mm files
2024-12-18 09:52:17 -05:00
Pedro Navarro
8aec0dd5bb
fix: UTF-16 surrogate handling.
...
The data pointer needs to move before decoding the second
surrogate, and not after. The first surrogate was begin decoded
again, resulting in an invalid codepoint.
This affected clipboard operations originating on Windows machines,
where the text is encoded in UTF-16 and copying characters from a
high plane (like emojis) was broken.
2024-12-18 08:28:47 -05:00
Pedro Navarro
53b9c0908e
fix: Windows, avoid encoding empty data to the clipboard
...
Do not attempt to convert null data to clipboard format and exit
early
2024-12-17 14:19:24 +00:00
Pedro Navarro
252d11a316
feat: Windows, Use a clipboard format listener to monitor the clipboard
...
On Windows monitor the clipboard using a Clipboard format listener instead
of the legacy clipboard viewer chain, which was unreliable as it required
other programs to maintain the clipboard chain properly and couldn't
recover it any window in the clipboard viewer chain stopped responding
to messages.
Monitor the clipboard sequence number to not process the clipboard more
than once.
2024-12-17 14:19:24 +00:00
sithlord48
6b7291f4b1
chore: src/lib/server/Config remove redundant c_str call
2024-12-04 10:40:58 -05:00
sithlord48
2349ce7f52
chore: replace simple cases of typedef with using
2024-12-04 10:40:58 -05:00
sithlord48
37acc3b2fc
chore: IArchTaskBarReciver subclasses Icon pointer should not be a const
2024-12-04 10:40:58 -05:00
sithlord48
6498fe5a6b
refactor: use Qt Required Version rm configure_qt macro for its one use
2024-12-04 10:05:34 -05:00
sithlord48
4e23460c6f
refactor: no configure_openssl macro
2024-12-04 10:05:34 -05:00
sithlord48
d6c682a923
chore: rm unused src/lib/gui/gui_config.h
2024-12-04 10:05:34 -05:00
sithlord48
4f8ae57ffd
build: always include headers
2024-12-04 10:05:34 -05:00
sithlord48
03f1408a98
refactor: mv src/lib/gui/VersionChecker => src/gui/src/
2024-12-04 10:05:34 -05:00
sithlord48
7f9fd80f98
refactor: remove workarounds for unsupported ms vc versions
2024-12-04 10:05:34 -05:00
sithlord48
c05a87b716
refactor: rm src/lib/common/copyright, add to src/lib/common/constants
2024-12-04 10:05:34 -05:00
sithlord48
4a83eb711f
build: generate version info, use it for all sources of version
2024-12-04 10:05:34 -05:00
sithlord48
f321f6596b
build: make an interface lib out of the common folder
2024-12-04 10:05:34 -05:00
sithlord48
147869e3a5
build: remove DESKFLOW_SHOW_DEV_THANKS define
2024-11-15 12:20:17 +00:00
sithlord48
25dd0ddfbc
build: rm DAEMON_BINARY_NAME
2024-11-15 12:20:17 +00:00
sithlord48
45a61310a4
build: rm CORE_BINARY_NAME define
2024-11-15 12:20:17 +00:00
sithlord48
2213f3f746
build:rm CLIENT_BINARY_NAME define
2024-11-15 12:20:17 +00:00
sithlord48
e52ce58541
build: rm SERVER_BINARY_NAME define
2024-11-15 12:20:17 +00:00
sithlord48
bdcf770de6
build: rm DESKFLOW_VERSION_URL define
2024-11-15 12:20:17 +00:00
sithlord48
e865397f12
build: rm DESKFLOW_WEBSITE_URL define
2024-11-15 12:20:17 +00:00
sithlord48
b5d0417714
build: rm DESKFLOW_AUTHOR_NAME define
2024-11-15 12:20:17 +00:00
sithlord48
403830ceea
build: rm DESKFLOW_APP_NAME define
...
Unify Server APP USER_CONFIG_NAME and SYSTEM_CONFIG_NAME
Some unix users may need to move their config to deskflow.conf from .deskflow.conf
2024-11-15 12:20:17 +00:00
sithlord48
9b59acdf26
build: rm DESKFLOW_DOMAIN define
2024-11-15 12:20:17 +00:00
sithlord48
46a6f74fb7
build: rm DESKFLOW_APP_ID define
2024-11-15 12:20:17 +00:00
sithlord48
a0666f0167
refactor mv: res/gui => src/gui/res
2024-11-12 14:00:59 +00:00
sithlord48
77c4707ec5
refactor: mv src/lib/gui/TrayIcon => src/gui/src/TrayIcon
2024-11-12 14:00:59 +00:00
sithlord48
f31cb26e0b
refactor: mv src/lib/gui/widgets => src/gui/src/widgets
2024-11-08 07:05:57 -05:00
sithlord48
dc5c2b9422
refactor: mv src/lib/gui/dialogs/SettingsDialog => src/gui/src/dialogs/SettingsDialpg
2024-11-08 07:05:54 -05:00
Nick Bolton
8273c0e70b
chore: Replace screen leave/enter asserts with warnings
2024-11-06 20:55:59 -05:00
sithlord48
155e4d6b32
refactor: ui less aboutDialog
2024-11-06 14:50:39 +00:00
sithlord48
f87b4bc0c2
refactor: mv AboutDialog to gui/src/dialogs/
2024-11-06 14:50:39 +00:00
sithlord48
f66a0219f6
fix: isDarkMode Check
...
while newer Qt does provide a method to check if dark mode
Its not always correct the old method is
Anytime the text is lighter then the window its dark mode.
2024-11-06 14:50:39 +00:00
sithlord48
45f328cd80
fix: crash on --help arg
2024-11-05 13:26:00 -05:00
sithlord48
fb686ede21
refactor: remove desktop legacy
2024-10-30 20:04:55 +00:00
sithlord48
ce784ab383
refactor: CoreTool use arch classes directly
2024-10-30 20:04:55 +00:00
sithlord48
946a2b778e
refactor: rm unused coreTool include in tlscert.h
2024-10-30 20:04:55 +00:00
sithlord48
45bde73810
chore: settingsDialog rm unused CoreTool include
2024-10-30 17:41:17 +00:00
sithlord48
1b13c843aa
build(lib/server): Explict Sources
2024-10-24 15:11:03 -04:00
sithlord48
9e2880f714
build(lib/platform): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
e8010eea60
build(lib/net): Explicit sources
2024-10-24 15:11:03 -04:00
sithlord48
75c0b53113
build(lib/mt): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
bf96a641bf
build(lib/ipc): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
7db781b9bf
build(lib/io): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
8bfe0c18bc
build(lib/app): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
10f7b05a73
build(lib/client): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
ba97d63403
build(lib/base): Explicit Sources
2024-10-24 15:11:03 -04:00
sithlord48
da4b85b3fb
build(lib/arch): Explicit Sources
2024-10-24 15:11:03 -04:00
Nick Bolton
5657152c58
chore(gui): Add _what's this_ for Windows service setting
2024-10-24 14:29:13 +01:00
sithlord48
7b7ff81a9f
build: Require libei and libportal from the system on linux
...
Removing remaining meson parts
2024-10-22 09:42:32 -04:00
sithlord48
df91d845f7
build(win32): Link wintoast correctly
2024-10-22 10:53:51 +01:00
sithlord48
f3657edc80
refactor: use Q_EMIT
2024-10-21 14:30:02 +01:00
sithlord48
2a8a43a689
refactor: remove unused strings
2024-10-21 14:30:02 +01:00
sithlord48
498e3aa015
refactor: use static regularexpressions and matches
2024-10-21 14:30:02 +01:00
sithlord48
58323f515f
refactor: use multi arg were possible
2024-10-21 14:30:02 +01:00
sithlord48
560345cf4f
refactor: add context object for lambdas
2024-10-21 14:30:02 +01:00
sithlord48
90d27a174d
refactor: do not include full modules in qt files
2024-10-21 14:30:02 +01:00
sithlord48
8b54b84880
refactor: use const for ranged loops
2024-10-21 14:30:02 +01:00
sithlord48
45050d3d36
refactor: use modern range for loops in place of old foreach macro
2024-10-21 14:30:02 +01:00
Nick Bolton
a5cd0fab9e
feat: Option to change server protocol in GUI
2024-10-19 23:46:42 +01:00
Nick Bolton
512faeea28
test: Modularize hello back logic and add tests
2024-10-19 23:46:42 +01:00
sithlord48
47366f1272
feat: Dynamic client Barrier/Synergy hello back response to server
2024-10-19 23:46:42 +01:00
sithlord48
bf4a762124
build: use vcpkg for all depends, vcpkg action on ci to cache
2024-10-19 03:07:13 -04:00
Nick Bolton
a32463586c
ci: Catch std::exception on toml::parse_file
2024-10-18 21:01:39 +01:00
sithlord48
9c9feba565
build: use File to dl toml++ if not on system
2024-10-18 15:02:34 -04:00
sithlord48
710c1dd353
build: get CLI11 via file download if not on system
2024-10-18 13:34:10 -04:00
sithlord48
9b9ecb0d05
chore: Adjust Clang-format linter rules
...
120 Column Lines
Block Indent for Bracket Align
Custom Line Break Rules
No Single Line Functions
2024-10-17 21:38:29 +01:00
sithlord48
3f2bb2531a
fix: Let users select version number and build in About Dialog
...
Fixes : #7722
2024-10-17 19:51:00 +01:00
Nick Bolton
219958898e
chore: Replace assert with warning for screen boundary issue
2024-10-17 11:17:05 +01:00
Nick Bolton
1dc449fe0a
fix: Use OPENSSL_EXE_DIR instead of OPENSSL_ROOT_DIR on Windows
2024-10-16 20:17:53 -04:00
Nick Bolton
9a5c1a3212
chore: Remove Wayland experimental pop
2024-10-16 14:00:10 +01:00
Nick Bolton
87b4e3b7fe
fix: Check for errors before reading version string
2024-10-15 07:57:53 -04:00
Nick Bolton
636e3eab96
feat: Respect XDG_CONFIG_HOME in server/client
2024-10-14 17:43:30 +01:00
Nick Bolton
9c4f6e6d0b
chore: Change TLS dir to same as Qt config
2024-10-14 17:43:30 +01:00
Kentaro Hayashi
24db09b023
fix: align --display explanation in help message
...
Broken "." position was fixed like this.
Before:
--display <display> when in X mode, connect to the X server
at <display>
. --no-xinitthreads do not call XInitThreads()
After:
--display <display> when in X mode, connect to the X server
at <display>.
--no-xinitthreads do not call XInitThreads()
Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2024-10-14 13:11:30 +01:00
Nick Bolton
c630ad0952
test: Coverage for AboutDialog.cpp
2024-10-13 19:52:09 +01:00
sithlord48
4500e7a1aa
build: use @only to configure config.h
2024-10-12 21:06:55 -04:00
sithlord48
78a8bba7a4
refactor: move res/config.h.in -> src/lib/config.h.in
2024-10-12 21:06:55 -04:00
sithlord48
02c5418b9e
build(cmake): Require SSL 1.1.1 or higher
...
Link using OpenSSL provided alises
Remove Windows specifc check ssl macro for simpler check
2024-10-12 14:23:56 +01:00
sithlord48
eedb3ad1c3
chore: rm unused string_utils file
2024-10-11 17:10:50 +01:00
sithlord48
932ca44d75
build: use pragma once not ifndef def pattern for headers
2024-10-08 06:52:41 -04:00
Nick Bolton
049e34f7a5
chore: Remove word 'beta' from Wayland message
2024-10-02 09:17:57 -04:00
Nick Bolton
6bb1bcad8c
chore!: Relocate commercial code downstream
2024-10-01 14:39:05 +01:00
Nick Bolton
2d732a4b9d
fix: Use library config for Windows OpenSSL
2024-10-01 14:04:05 +01:00
James Spurin
1003e07854
feat: Update onMouseMoveSecondary to allow offset adjustments
2024-09-24 18:53:30 +01:00
Nick Bolton
b904cba040
feat: ask for permission before update check
2024-09-22 13:14:03 +01:00