Commit graph

2631 commits

Author SHA1 Message Date
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
09bd4006d1 refactor: MainWindow, use system-run for the start button and action 2025-01-21 11:16:53 +00:00
sithlord48
c84a8c20c1 refactor: MainWindow, use ProcessStop for the stop action and button 2025-01-21 11:16:53 +00:00
sithlord48
b91681a125 refactor: MainWindow, add help-about icon 2025-01-21 11:16:53 +00:00
sithlord48
f578da16c0 refactor: MainWindow, Icon for the clear settings action 2025-01-21 11:16:53 +00:00
sithlord48
c583ab7d2c refactor: MainWindow, add icons for configure 2025-01-21 11:16:53 +00:00
sithlord48
e6ae6bd0d1 refactor: MainWindow, add document-save-as icon 2025-01-21 11:16:53 +00:00
sithlord48
d51437b6a1 refactor: MainWindow, add view-refreshIcon 2025-01-21 11:16:53 +00:00
sithlord48
6954a4dfa3 refactor: SettingsDialog use security-type icons for key length selector 2025-01-21 11:16:53 +00:00
sithlord48
24b2d9b0c1 refactor: MainWindow add application-exit icon 2025-01-21 11:16:53 +00:00
sithlord48
0adef8d781 refactor: MainWindow, Add tools-report-bug icon 2025-01-21 11:16:53 +00:00
sithlord48
3cce11f9d9 fix: missing setting colorful icon 2025-01-21 11:16:53 +00:00
sithlord48
0f5bcd6d12 fixes 8106, by adjusting the spacing of the about dialog 2025-01-21 11:06:37 +00: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
08ad64eb4d chore: remove unused deskflow-gui/AppDelegate 2025-01-19 09:39:54 -05:00
sithlord48
dc5e971043 build: setup bundle plist only on macOS 2025-01-19 09:39:54 -05:00
sithlord48
e0017c1c31 build: deskflow gui explict sources 2025-01-19 09:39:54 -05:00
sithlord48
e58e5c420b refactor: move macOS icon to res folder 2025-01-19 09:39:54 -05:00
sithlord48
ca8c405b5e chore: deskflow-gui, remove unused include_dirs 2025-01-19 09:39:54 -05:00
sithlord48
aff25415ff build: consolidate cmake vars more
move most project defines needed in cmake to the main file
2025-01-19 09:39:54 -05:00
sithlord48
5be1e9f9b9 build: setup a cmake rc template for all apps 2025-01-19 09:39:54 -05:00
sithlord48
3f3116da05 build: simplify the version.rc.in vars
remove the special cmake define for msversion and make it once in the rc
remove duplicate version vars in the rc and use the singe one twice
2025-01-14 21:42:43 +00:00
sithlord48
16396bdbaa build: Unify copyright into one cmake var 2025-01-14 21:42:43 +00:00
sithlord48
660a50d0cf chore: remove unused logo images 2025-01-14 21:22:05 +00:00
sithlord48
93cd71d046 refactor: Adjust the About dialog UI 2025-01-14 21:22:05 +00:00
sithlord48
90c081c889 chore: remove unneeded setVisible override and the unused mac os old tray code within it 2025-01-14 21:00:20 +00:00
sithlord48
a08b0c41e0 fix: always show the hide / show option in the tray menu
Some DE's are like mac os and prevent the user from using click to restore / hide the window
2025-01-14 21:00:20 +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
626ff0a5fa chore: remove unused GUI_HOOK 2025-01-14 14:29:39 +00:00
sithlord48
7a72658963 refactor: copy more info with the about dialog info's copy button 2025-01-10 17:05:13 -05:00
sithlord48
b8d12a0895 build: mac os add entitlements 2025-01-10 21:48:55 +00:00
sithlord48
692860f9e9 build: macos bundle plist add hint to tell mac os its not allowed to kill the process
based on https://github.com/input-leap/input-leap/pull/2115"
2025-01-10 21:48:55 +00:00
sithlord48
4b6d0059c5 build: Use custom plist template
Customize the cmake used template so we can generate the plist
using configure file this will allow us to add several additional
keys we would not be able to otherwise add to our plist file
"
2025-01-10 21:48:55 +00:00
sithlord48
1dadc2ddf4 refactor: ActionDialog, Only allow resize when the screen list is visible 2025-01-10 21:39:26 +00:00
sithlord48
328a719d49 refactor: Use Computer in place of Screen for user facing strings 2025-01-10 21:39:26 +00:00
sithlord48
a9f55f8dfc chore: ActionDialog, update UI file to Qt6 format and clean unneed keys 2025-01-10 21:39:26 +00:00
sithlord48
f6dd2881c8 refactor: ActionDialog: disable action saving while settings are invalid 2025-01-10 21:39:26 +00:00
sithlord48
7152119014 refactor: ActionDialog, Only show Action relevent options 2025-01-10 21:39:26 +00:00
sithlord48
29eaa19d95 refactor: ActionDialog, use checkable list for screen selection 2025-01-10 21:39:26 +00:00
sithlord48
4db2b80d4e refactor: ActionDialog, Use Combo for action selection 2025-01-10 21:39:26 +00:00
sithlord48
04f73cfcb7 refactor: ActionDialog, Use Combobox for action trigger 2025-01-10 21:39:26 +00:00
sithlord48
1386ac91dc refactor: ActionDialog, Simplify keySequenceChanged logic 2025-01-10 21:39:26 +00:00
sithlord48
4e913a90eb refactor: ActionDialog, make buttonbox connections in c++ 2025-01-10 21:39:26 +00:00
sithlord48
c36c0f2938 refactor: ActionDialog, Aaccess the keySequenceWidget only thru the ui member 2025-01-10 21:39:26 +00:00
sithlord48
0944d918b7 refactor: KeySequenceWidget, remove protected copy of public method 2025-01-10 21:39:26 +00:00
sithlord48
3572bd28b6 refactor: ActionDialog, Adjust private memberNames 2025-01-10 21:39:26 +00:00
sithlord48
c21595e598 refactor: ActionDialog, remove unneeed forward declare for QRadioButton 2025-01-10 21:39:26 +00:00
sithlord48
096ab3b8ed refactor: ActionDialog, set the current screen combo without the need to track how many items are in the combobox with an additional int variable 2025-01-10 21:39:26 +00:00
sithlord48
1129303254 refactor: ActionDialog, when filling the screen list continue sooner if screen is null 2025-01-10 21:39:26 +00:00
sithlord48
4b456bf835 refactor: ActionDialog, don't keep a copy of the server config 2025-01-10 21:39:26 +00:00
sithlord48
8533348c88 refactor: simplify updateSize 2025-01-10 10:36:19 +00:00
sithlord48
dd0812c201 fix: Mainwindow window size restore \n fixes https://github.com/deskflow/deskflow/issues/8056 2025-01-10 10:36:19 +00:00
sithlord48
9a3a89efab refactor: simplify windows size/pos saving 2025-01-10 10:36:19 +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
fc6d39ae6c refactor: Adjust the size of all the tray icons to use the same amount of canvas space" 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
f505bfd3e7 refactor: MainWindow setupTrayIcon in method
remove unused MainWindow::createStatusBar and MainWinow::createTrayIcon
2025-01-07 23:51:34 +00:00
sithlord48
d5e651bae9 refactor: MainWindow use QSystemTrayIcon in place of TrayIcon
removes the TrayIcon class
2025-01-07 23:51:34 +00:00
sithlord48
1a35a8bdf7 refactor: Action use QStringLists in place of char * arrays 2025-01-07 23:34:11 +00:00
sithlord48
261d85b423 refactor: Action remove pointless assert 2025-01-07 23:34:11 +00:00
sithlord48
fcc8c3d344 refactor: Action, dont use concatantaion, instead append 2025-01-07 23:34:11 +00:00
sithlord48
112c665480 refactor: Action: add SettingsKeys namespace to hold the settings keys 2025-01-07 23:34:11 +00:00
sithlord48
4c70f4fde5 refactor: Action: use m_foo style member names 2025-01-07 23:34:11 +00:00
sithlord48
665049b723 fix #8059 re add shortcut for quit on windows 2025-01-07 17:17:19 -05:00
sithlord48
13a3c2d281 Chore: rm unused DESKFLOW_GUI_HOOK Items 2025-01-07 17:15:48 -05:00
sithlord48
abdab2d06d feat: resolve #7975, allow only one instance of the gui 2025-01-07 16:54:47 -05:00
sithlord48
fd4ffb6f60 build: Prevent issue where build packages is off with version.rc not being generated 2025-01-07 16:37:04 -05:00
sithlord48
9f1c1da1aa build: unify finding of the qt deploy tool and detect if vcpkg for proper debug build call 2025-01-07 16:37:04 -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
b0852bfda5 refactor: Hotkey, use internal actionlist in place of function call 2025-01-07 19:45:21 +00:00
sithlord48
9eb0371a92 refactor: Hotkey, use internal keySequence in place of function calls 2025-01-07 19:45:21 +00:00
sithlord48
ef0d929251 refactor: Hotkey outstream logic more Qt 2025-01-07 19:45:21 +00:00
sithlord48
20a5b8eb0b refactor: Hotkey use const for literals 2025-01-07 19:45:21 +00:00
sithlord48
404458aab0 fix: hotkeys w/ multi actions
based on adc49fa066
2025-01-07 19:45:21 +00:00
sithlord48
6f744d2278 fix: Version Checker use case insensitive compare in place of toLower() call 2025-01-07 11:54:30 -05:00
sithlord48
329afb47be build: windeployqt only on package dir 2025-01-07 11:45:51 -05:00
sithlord48
ca5f41684f fix: MacOS Hide and Show from dock on window close / hide 2025-01-07 09:19:20 -05:00
sithlord48
9c3e08001e fix: mac os CI build by correctly setting INSTALL_RPATH for the gui as a property of its target 2025-01-03 20:02:19 -05:00
sithlord48
6bfde029fe fix: run MacDeployQt at install time on staged app only 2025-01-03 14:10:58 +00:00
sithlord48
351c5123ef fix: Mac Os use Native Hide Event 2025-01-03 13:56:39 +00:00
sithlord48
ba334d5411 refactor: MainWindow remove unneeded onAppAboutToQuit slot 2025-01-03 13:56:39 +00:00
sithlord48
08d4b348e0 fix: use the closeEvent to hide to tray and quit the application 2025-01-03 13:56:39 +00:00
sithlord48
58563d36ca fix: Stop core process when mode changes in gui 2025-01-03 13:32:13 +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
df089dab53 fix: Wayland Prompt starts under MainWindow 2025-01-02 13:12:09 +00:00
sithlord48
86ee88d17d feat: Show the TLS Enabled label no matter the selected mode 2025-01-02 13:02:51 +00:00
sithlord48
4f9494245f fix: The Tls Fingerprint label not being shown on start up 2025-01-02 13:02:51 +00:00
sithlord48
2294981525 fix: Unify both Quit actions to use the same function
Mac os tray quit not working
2024-12-30 11:07:34 +00:00
sithlord48
13b58f2f7a fix: 8017, move wayland error to debug context 2024-12-28 20:46:51 +00:00
sithlord48
2455e0e29f refactor: Copy the full version string on the about dialog 2024-12-28 20:36:35 +00:00
Nick Bolton
ee8baeb1ff fix: qDebug doesn't work on Fedora 2024-12-26 16:48:39 +00:00
sithlord48
81d478632a fix: 8012 use 2/3 height on mac os for the log indicator 2024-12-26 16:32:11 +00:00
sithlord48
8e9925d6c8 fix: Mac os missing Quit from tray menu 2024-12-26 16:32:11 +00:00
sithlord48
368ccbbe4c fix: show normal mac os 2024-12-26 16:32:11 +00:00
sithlord48
a401c98bf6 build: fix mac os missing ; 2024-12-26 15:24:02 +00:00
sithlord48
97890f86d3 chore: use static QApplication members where possible 2024-12-26 15:01:59 +00:00
sithlord48
638970d65e feat: Visiblity toggle for the log on the main window 2024-12-26 14:45:52 +00:00
sithlord48
ccc60ff900 refactor: mv deskflow[s|c|d] to deskflow-server, deskflow-client and deskflow-deamon 2024-12-26 13:37:29 +00:00
sithlord48
db441eb5cf fix: win32 client taskbar remove duplicate state 2024-12-26 13:37:29 +00:00
sithlord48
21b345e9db fix: Create new Tray Icons for windows 2024-12-26 13:37:29 +00:00
sithlord48
9af37463fd refactor: single copy of app ico files for window now in src/apps/res 2024-12-26 13:37:29 +00:00
sithlord48
225ca23482 refactor: move all apps to one src/apps folder 2024-12-26 13:37:29 +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
sithlord48
cd0e98a480 build: remove post_config macros 2024-12-22 09:52:50 -05:00
sithlord48
aff3495e74 refactor: MainWindow clearer menu creation, remove private menu items 2024-12-22 12:39:59 +00:00
sithlord48
1ff7d5f4aa refactor: MainWindow remove need created / onCreated methods 2024-12-22 12:39:59 +00:00
sithlord48
784b2b2f6f fix: MainWindow, Use tr for use facing strings 2024-12-22 12:39:59 +00:00
sithlord48
927c8c146e refactor: MainWindow, use qDebug and friends correctly 2024-12-22 12:39:59 +00:00
sithlord48
94006f0bcd refactor: MainWindow, do not use autoconnections for the client / server radio butons 2024-12-22 12:39:59 +00:00
sithlord48
19c227b937 refactor: MainWindow, Do not use autoconnection for tls label 2024-12-22 12:39:59 +00:00
sithlord48
be5025b225 refactor: MainWindow, Do not use auto connection for the computer name label 2024-12-22 12:39:59 +00:00
sithlord48
4ee7d7b20f refactor: MainWindow, Do not auto connect the configure sever button 2024-12-22 12:39:59 +00:00
sithlord48
5032a5d275 refactor: MainWindow, no more auto connection for the host and client ip lines 2024-12-22 12:39:59 +00:00
sithlord48
d0dadf2112 refactor: MainWindow, better handle the toggleCore and ApplySettings buttons 2024-12-22 12:39:59 +00:00
sithlord48
2211caecb8 refactor: MainWindow, m_PButtonToggleStart -> btnToggleCore 2024-12-22 12:39:59 +00:00
sithlord48
5aa4840972 refactor: MainWindow, Create Actions in code 2024-12-22 12:39:59 +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
751904f27c buid: add depends for deskflow core
fixes #7955
2024-12-18 12:10:53 -05:00
sithlord48
f06a789d25 build: wix generation for windows with cpack 2024-12-18 12:10:53 -05:00
sithlord48
b6d5095871 build: windows install step for deskflow gui 2024-12-18 12:10:53 -05:00
sithlord48
a06d65b1f9 build: windows, create install step for server 2024-12-18 12:10:53 -05:00
sithlord48
56ecd88945 build: windows, create install step for client 2024-12-18 12:10:53 -05:00
sithlord48
5a45e6d102 build: windows, create install step for daemon 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
sithlord48
af6dac9eee fix: Always show the tray menu entry for the restore action on macOS 2024-12-18 09:52:17 -05:00
sithlord48
ebad12a922 refactor: use QList for the tray's Action List 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
sithlord48
ddb443b550 fix: Mainwindow can not start off screen
Fixes #7451
2024-12-18 07:59:56 -05:00
sithlord48
0c26893706 fix: fixes #7949 Fixup groupboxes for settings dialog make settings dialog a fixed height 2024-12-17 09:29:09 -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
5026eea60a Fix: Use tray icon to hide and show from tray correctly
Remove show / hide from the tray menu
 Remove always disabled "show" action from window menu
2024-12-16 17:17:19 +00:00
sithlord48
6b7291f4b1 chore: src/lib/server/Config remove redundant c_str call 2024-12-04 10:40:58 -05:00
sithlord48
991293dd0c chore: src/gui/Action use default constructor 2024-12-04 10:40:58 -05:00