sithlord48
1c7d5de01b
refactor Action::ActionType => Action::Type enum class
2025-08-15 12:15:40 +01:00
sithlord48
0dfd4ebc4a
refactor: Mainwindow, adjust how and where the ip address is shown.
...
- Add a new method updateNetworkInfo to update lblIpAddresses
This method can be hooked to the system network info in the future
when we want to have this be more dynamic.
- Only show the IP address when in server mode.
- When showing the IP address show either the suggested IP or a message the user maybe offline
- Use the linkVisited color to for our error message
2025-08-12 13:04:09 -04:00
sithlord48
a7048f76f9
refactor: GUI, Mainwindow use the system hyperlink color to color the text of the 'primary' Ip address
2025-08-12 13:04:09 -04:00
sithlord48
8d87f3250d
refactor: ScreenSettingsDialog use qDeleteAll to clear list of items on alias remove
2025-08-11 12:32:50 -04:00
sithlord48
e700867a32
refactor: remove ServerConfig remove const qualifer from QString return
2025-08-11 12:32:50 -04:00
sithlord48
63bd2e71b0
refactor: CoreProcess fully qualify enums used in signals
2025-08-11 12:32:50 -04:00
sithlord48
e1d00d59a4
refactor: ScreenSetupModel::isFull compaire same type of iterator
2025-08-11 12:32:50 -04:00
sithlord48
906c07e4fd
fix: MainWindow::setHostName only check if the screen is existing when in server mode, In severmode update the serverConfig serverName to prevent a case where the server screen is on the grid with the old name breaking the layout
2025-08-11 16:49:25 +01:00
James Le Cuirot
47bb33e065
fix: update inclusion of climits and cstdint headers
...
For INT_MAX and SIZE_MAX.
2025-08-06 13:03:52 +01:00
sithlord48
4955e8c2ba
refactor: Fingerprint, KeyMap, KeySequence and Action use default == operator
2025-08-06 11:44:38 +01:00
sithlord48
3b2b8a9ebe
refactor: IKeyState: directly make string when spilting as arg to emplace
2025-08-06 11:44:38 +01:00
sithlord48
048ce47008
refactor: ServerConfig: used ranged loop to process neighbours
2025-08-06 11:44:38 +01:00
sithlord48
4f9b042f5a
refactor: explicit constructor for PlatformScreen, FileTail, FunctionJob, FunctionEventJob, ServerConfig, ScreenSettingsDialog, KeySequenceWidget, NetworkAddress, AddClientDialog, ConfigReadContext, LockCursorToScreenAction, RestartServer And KeyboardBroadcastAction
2025-08-04 13:46:27 +01:00
sithlord48
2cccc3d0c8
refactor: use std::ranges::find_if when possible
2025-08-01 13:03:51 -04:00
sithlord48
f73d098b1f
refactor: Unify ENetworkProtocol and ServerProtocol into new enum Class NetworkProtocol in new file base/NetworkProtocol.h
2025-07-31 13:41:29 +01:00
sithlord48
7c06ae39ef
refactor: AddResults => enum class ScreenAddResults
2025-07-31 13:41:29 +01:00
sithlord48
84c2234869
refactor: ActionDialog use proper ActionDialog::itemToggled in place of lambda
2025-07-29 13:41:34 +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
f33848f9b8
fix: setWindowIcon explicitly, fixes #8756
2025-07-21 11:10:19 +01:00
sithlord48
e828563190
chore: MainWindow, use system correct monospace font for log
2025-07-18 10:51:50 -04:00
sithlord48
d1b810baa5
refactor: use std::size to get size of arrays
2025-07-17 18:47:50 +01:00
sithlord48
9413393057
refactor: anonymous enum in ServerConfig => ServerConfig::AddResults enum class
2025-07-11 03:06:24 -07:00
sithlord48
79b445373b
refactor: FingerPrintDialog::FingerpringDialogMode now enum class
2025-07-11 03:06:24 -07:00
sithlord48
9beea1abfe
refactor: anon enum in AddClientDialog to AddAction enum class
2025-07-11 03:06:24 -07:00
sithlord48
a88a67d47f
refactor: ActionDialog::ActionType enum is now a struct
2025-07-11 03:06:24 -07:00
sithlord48
2d3105206d
fix: save geometry not frameGeometry on exit
...
fixes #8741
2025-07-09 09:32:39 +01:00
sithlord48
c6778dc9be
refactor: use more if and switch init-statements
2025-07-07 17:53:56 +01:00
sithlord48
36e985d8ab
chore: add missing default for switches
2025-07-07 17:53:56 +01:00
sithlord48
4a92a3295b
refactor: ScreenSettingsDialog, do not create nested validators in the Lines setValidator method
2025-07-07 17:53:56 +01:00
sithlord48
a175c293f6
chore: comment empty methods that do nothing
2025-07-07 17:53:56 +01:00
sithlord48
cf9e2ecf49
refactor: simplify setting the fallback theme search path, does require sub dirs but we should only need the theme root
...
refactor: set the Icon theme in deskflow-gui insetead of MainWindow
2025-06-26 09:50:53 +01:00
sithlord48
cb508f5c3a
chore: Remove DRAG_AND_DROP left over define
2025-06-25 16:16:13 +01:00
sithlord48
f4a49749c7
chore: remove todo in places where its done or just a note
2025-06-20 09:39:26 +01:00
sithlord48
59ed15628e
refactor: remove redundant access specifiers
2025-06-20 09:39:26 +01:00
sithlord48
6299f04b59
refactor: make TlsUtility::generatateCertificate and TlsUtility::persistCertificate const
2025-06-20 09:39:26 +01:00
sithlord48
97006889bd
refactor: ServerConnection::handleLogLine use referance to avoid unneeded copy
2025-06-20 09:39:26 +01:00
sithlord48
551368a2d2
refactor: AboutDialog, Remove lambda for btnClose and connect directly to AboutDialog::close
2025-06-19 12:19:08 -07:00
Nick Bolton
024436d82f
refactor: Improve display of names on about screen with nbsp
2025-06-19 05:39:52 -07:00
sithlord48
b6bc469744
chore: adjust the about dialog default size
2025-06-19 09:54:37 +01:00
sithlord48
c4e47c0f2c
chore: add main barrier/input-leap dev to our important devs list
2025-06-19 09:54:37 +01:00
sithlord48
04943fad79
feat: Enforce a minimum TLS size of 2048bit
2025-06-16 05:02:33 -07:00
Nick Bolton
a7c1dc4520
chore: Remove 1024 TLS key length option
2025-06-16 05:02:33 -07:00
sithlord48
a73e8df01e
feat: improve connections status bar info
2025-06-16 10:35:20 +01:00
sithlord48
bc350852e7
refactor: remove anon namespace before ServerConfig::addToFirstEmptyGrid
2025-06-11 09:19:07 +01:00
sithlord48
7e568121ee
chore: remove unneeded QGuiApplication, QApplication and or QCoreApplication includes
2025-06-09 17:18:05 -07:00
sithlord48
e40cc11fd5
refactor: messages::showDaemonOffline enable translations
2025-06-09 16:33:27 +01:00
sithlord48
ebec6331cd
refactor: messages::showUpdateCheckOption enable translation
2025-06-09 16:33:27 +01:00
sithlord48
197b9ed886
refactor: message::showWaylandLibaryError, use name in the title and enable translations
2025-06-09 16:33:27 +01:00
sithlord48
8f7fbc0a21
refactor: messages::showReadOnlySettings, use name in title, enable translations
2025-06-09 16:33:27 +01:00
sithlord48
0f5a04825a
refactor: Message::showClearSettings, enable translations and simplify method
2025-06-09 16:33:27 +01:00
sithlord48
b8835a8a5a
refactor: Messages::showClientConnectError
...
slight reword for Already Connected error
use QString::append to add to the message
create a QMessageBox::warning style box for these errors
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
8bb6056469
refactor: Messages::showNewClientPrompt enable translations
2025-06-09 16:33:27 +01:00
sithlord48
3adcb64f57
refactor: Messages::showFirstConnectedMessage
...
add the app name into the title
use QString::append to add to the string
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
bc9b1d1178
refactor: Messages::showFirstServerStartMessage
...
add app name to dialog title
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
e038dd2b0b
chore: message::fileLine use QStringLiteral, multi-arg
2025-06-09 16:33:27 +01:00
sithlord48
1286c18e1d
refactor: messages::showCloseReminder
...
use app name for title
create message using append
enable translations
2025-06-09 16:33:27 +01:00
sithlord48
5d94dd0dbf
refactor: messages::showErrorDialog, use app name in title
...
construct QString without concat
return aftershowing fatal error dialog
Enable Translation for user facing strings
2025-06-09 16:33:27 +01:00
sithlord48
b3e03f2856
chore: messages, remove unneeded includes
2025-06-09 16:33:27 +01:00
sithlord48
b62e82e792
refactor: MainWindow, convert btnSaveServerConfig to QPushButton set the icons size 22x22 only when not on macos, make sure the button is square on macos
2025-06-05 21:20:10 +01:00
sithlord48
7837bf416e
refactor: Mainwindow, rename btnApplySettings to btnRestartCore to better reflect what it does
2025-06-05 21:00:42 +01:00
sithlord48
d4d6cbb7fb
feat: add restart action fixes #8542
2025-06-05 21:00:42 +01:00
sithlord48
d5910d77ec
fix: core not starting if gui started minimized, remove firstShown and use open instead
...
fixes #8641
2025-06-03 17:28:48 +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
sithlord48
7e4d43f1cc
fix: (ui), ServerConfigDialog enable spinboxes and controls that depend on another option being enabled example being the heatbeat spinbox if heatbeat is enabled
2025-06-02 20:31:18 +01:00
sithlord48
d2ac36f3ed
chore: make more const methods
2025-05-28 09:42:08 +01:00
sithlord48
e6a374369b
chore: use const for more local ref and pointer vars
2025-05-28 09:42:08 +01:00
sithlord48
f77213af04
chore: ActionDialog, remove empty statement
2025-05-28 09:42:08 +01:00
sithlord48
e24b1c4b68
chore: use a const Ref for ServerConnection client name check
2025-05-23 10:19:11 -07:00
sithlord48
475b895755
chore: initialize class vars using the order class define, initilizer list, constructor
2025-05-23 10:19:11 -07:00
sithlord48
593e53370a
chore: rename a missed namespace from synergy::gui => deskflow::gui
2025-05-23 10:19:11 -07:00
sithlord48
be6a4f6b4d
chore: ScreenSettingsDialog rename ui_ => ui
2025-05-23 10:19:11 -07:00
sithlord48
929131d10b
refactor: Log Error stop the core process if unable to write to the required fingerprint database
2025-05-23 18:08:41 +01:00
sithlord48
04805d9a7e
chore: mark explicit methods
2025-05-22 20:46:41 +01:00
sithlord48
3cf0fb89ef
chore: add comment to empty methods
2025-05-20 16:20:07 +01:00
sithlord48
c224cd4661
chore: declare const methods recommened by sonar
2025-05-20 16:20:07 +01:00
sithlord48
0ff72441e6
chore: use c++17 style if,switch init-initilizer where possible
...
chore: correct spelling of "colon" in NetworkAddresses variables
chore: correct some multi line defines near needed init-initilizers
2025-05-20 16:20:07 +01:00
sithlord48
a5e5bbc2e4
fix: race case if first run message is up and a client connects
2025-05-20 12:12:54 +01:00
Nick Bolton
34f6186941
fix: Disable the save button when config not writable
2025-05-19 22:10:41 +01:00
Nick Bolton
eaa4c71d6e
fix: Show first server start message only in server mode
2025-05-15 17:40:17 +01:00
sithlord48
393a006773
fix settings modifiers initilization, move initization to header
...
fixes : #8587
2025-05-15 17:25:08 +01:00
sithlord48
332e6c4a4d
refactor: do not write sha1 to localdb and no longer send sha1 as part of comparison
2025-05-15 15:46:16 +01:00
sithlord48
de583145d0
chore: remove unused deskflow::string methods toHex, fromHex, uppercase, fromHexChar
2025-05-13 11:32:02 -04:00
sithlord48
0309d35aef
feat: port fingerprint info into Qt
...
mv FingerprintData -> Fingerprint
2025-05-13 11:32:02 -04:00
sithlord48
c4704649ea
refactor: make sure settings dialog pushes all options to the top
2025-05-13 15:48:33 +01:00
sithlord48
33edb6ce01
refactor: simplify wayland warnings remove waylandwarnigns dialog test
2025-05-12 13:48:21 +01:00
Tomaz Canabrava
af383decca
chore: Type fixes / Const correctness
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
8526facbe9
refactor: Fixes, Use enum instead of cast to int
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
2b3ecd39c6
refactor: ScreenCorners, Use enum instead of cast to int
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
49589ae4aa
refactor, Modifiers, Use enum instead of cast to int
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
8ce6a07d18
refactor: Simplify Mainwindow, autoAddScreen also Removes warning
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
a8eb772b68
chore: Mainwindow, Send const-ref
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
0916009601
chore: Add nodiscard to methods
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
f5cb636b31
chore: MainWindow, Remove unimplemented methods
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
7ced794317
refactor: Screen, Mark methods as no discard, remove uneeded method
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
7c279ec72d
refactor: No else after return
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
83a8d1c4ac
refactor: Screen, simplify init call
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
84a9367124
refactor: Screen, remove uneeded constructor
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
aaeef7905a
refactor: Initialize value on constructor
2025-05-09 12:27:56 +01:00
Tomaz Canabrava
a0d0936433
refactor: Use smaller integers on enums
...
We do not have > 255 values here.
2025-05-09 12:27:56 +01:00
sithlord48
903401796e
refactor: Remove use of DESKFLOW_RESET_ALL and all users to pass --reset switch to deskflow-gui instead
2025-05-03 21:09:41 +01:00