sithlord48
42cd01efd7
refactor: PortalInputCapture, fix a missed non compliant variable names
...
refactor: PortalInputCapture, more const args
2025-06-20 18:10:40 +01:00
sithlord48
a7a54ad8a7
refactor: PortalInputCapture use std::map to hold signals and enum class as the key
...
fixes: InputCapturePortal crash in debug builds
2025-06-20 18:10:40 +01:00
sithlord48
20bc88eb1f
refactor: PortalInputCapture sonar adjustments
2025-06-20 12:41:34 +01:00
sithlord48
969b642e0b
refactor: EiScreen sonar adjustments
2025-06-20 12:41:34 +01:00
sithlord48
a89f3b6892
refactor: conform EiScreen to code standards
...
fixes #8700
2025-06-20 12:41:34 +01:00
sithlord48
a973d4277c
refactor: conform PortalInputCapture to coding standards
2025-06-20 12:41:34 +01:00
sithlord48
b8124107aa
refactor: conform EiKeyState to coding standards
2025-06-20 12:41:34 +01:00
sithlord48
0691d586e7
refactor: conform EiEventQueueBuffer to coding standards
2025-06-20 12:41:34 +01:00
sithlord48
e8c85611a0
refactor: conform PortalRemoteDesktop to naming standards
...
remove unused method and includes
2025-06-20 12:41:34 +01:00
sithlord48
59ed15628e
refactor: remove redundant access specifiers
2025-06-20 09:39:26 +01:00
sithlord48
b29c5b1bb2
refactor: use contains to find if an item is in a container
2025-06-20 09:39:26 +01:00
sithlord48
66e201c8ef
chore: remove handle* methods that are a single oneline forward and use the line directly
2025-06-18 13:17:16 +01:00
sithlord48
3a35b183d3
refactor: use std::function for Event callback
...
based on 6d347337c3
2025-06-18 13:17:16 +01:00
sithlord48
c15214aee7
refactor: use std::scoped_lock inplace of std::lock_guard
2025-06-17 10:23:42 +01:00
sithlord48
5fd4d93f7f
refactor: replace ARCH->sleep(...) calls with Arch::sleep(...)
2025-06-17 10:23:42 +01:00
sithlord48
84e289bc30
refactor: replace ARCH->time() with Arch::time()
2025-06-17 10:23:42 +01:00
sithlord48
782702fe74
refactor: use std::mutex in platform/XWindowsEventQueue
2025-06-14 09:37:48 +01:00
sithlord48
60a148ce68
build: remove HAVE_DPMS_PROTOTYPES, Single use and assumed due to another var being set
2025-06-14 08:22:55 +01:00
sithlord48
da5a2088c8
build: remove unset X_DISPLAY_MISSING checks
2025-06-14 08:22:55 +01:00
sithlord48
87704fedb1
build: unistd.h is manditory on unix platforms
2025-06-14 08:22:55 +01:00
sithlord48
8170dd4e99
chore use std::getenv Not c style getenv
...
idea from: https://github.com/debauchee/barrier/pull/847/
2025-06-12 22:27:16 +01:00
sithlord48
c2a658256e
feat: remove defunct --no-xinitThreads option
...
based on https://github.com/input-leap/input-leap/pull/1503
2025-06-12 22:07:40 +01:00
sithord48
a31cff0225
chore: Cleanup windows includes
2025-06-02 21:55:36 +01:00
sithlord48
da06e97521
build: remove unused platform/MSWindowsUtils
2025-06-02 21:55:36 +01:00
Povilas Kanapickas
5ee3fc41bd
chore: arch: Remove XArch exception class
...
XArch no longer contains any extra functionality in addition to what
std::runtime_error nor it signifies a particular type of error.
based-on: 5b991692af
ported-by: sithlord48
2025-05-28 14:00:18 +01:00
Povilas Kanapickas
314899ac7d
chore: arch, Remove support for lazy error code to string evaluations
...
This functionality is not needed because in all code paths the error
code is immediately converted to string without actually using the lazy
evaluation functionality.
based-on: 53dff5b803
ported and expanded by sithlord48
2025-05-28 14:00:18 +01:00
sithlord48
9eabbb690c
chore: MSWindows only items initilize members in header
2025-05-28 09:42:08 +01:00
sithlord48
3eb3969a01
chore: use final for overrides and remove virtual for non base classes
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
9c56fa5dda
chore: Combine unnessessary multi level if into less fewer checks
2025-05-28 09:42:08 +01:00
sithlord48
6875969255
chore: static_cast to replace reinterpret_cast where possible
2025-05-28 09:42:08 +01:00
sithlord48
475b895755
chore: initialize class vars using the order class define, initilizer list, constructor
2025-05-23 10:19:11 -07:00
sithlord48
476f3ba243
refactor: remove Ifdef around iso_level5
2025-05-23 17:19:55 +01:00
sithlord48
a33574e1bd
chore: use more ranged for loops
2025-05-22 20:46:41 +01:00
sithlord48
723671c2e5
chore: remove // from inside comment blocks
2025-05-22 20:46:41 +01:00
sithlord48
fe12972e83
chore: use const pointer / ref where possible
2025-05-22 20:46: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
52b0c1f061
chore: use auto or (const auto) where possible
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
635962618f
chore: define only one variable per line
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
bdffda9a2f
chore: replace typedef with using
2025-05-20 16:20:07 +01:00
Sam Umbach
14cb921d4c
Resolve deprecated-enum-float-conversion compiler warnings
...
- Observed on macOS Monterey 12.7.6 with cmake version 4.0.1, Homebrew clang version 20.1.4, Target: x86_64-apple-darwin21.6.0
2025-05-14 11:05:41 -04:00
sithlord48
8f53b88bb6
chore: remove unused tests
...
Remove Unused Mocks
Remove remaing uses of TEST_ENV and its guarded items
2025-05-08 15:26:44 +01:00
sithlord48
5365e34f08
feat: remove drag and drop support, its broken on all platforms
2025-05-08 09:47:41 -04:00
sithlord48
55a7fa3266
Port simplified EventTypes from 8b23570379
2025-05-05 17:17:01 -04:00
sithlord48
99dae58fd3
chore: clean up macos code smell missed by sonarscan
2025-05-03 21:23:15 +01:00
sithlord48
e9ccd513f7
chore: clean up windows code smells missed by sonarscan
2025-05-03 21:13:09 +01:00
sithlord48
81c19c6ee8
chore: XClipboardUTF8Converter use default for deconstructor
2025-05-02 12:12:17 +01:00