Commit Graph

110 Commits

Author SHA1 Message Date
akallabeth
83f2de743c
[client,sdl3] fix bitmap clipboard copy 2025-03-06 17:32:17 +01:00
akallabeth
d2047c4d5e
Merge pull request #11303 from akallabeth/sdl-common
sdl-common
2025-03-06 16:46:17 +01:00
akallabeth
3551459e2c sdl-common 2025-03-06 16:22:15 +01:00
akallabeth
075e2fa5c9
[debug] fix compile issues with WITH_DEBUG* builds 2025-03-06 16:18:01 +01:00
Armin Novak
9b82cb8f3a
[client,sdl] fix SDL3 output name 2025-03-05 11:24:38 +01:00
akallabeth
764753af31
[client,sdl] implement mouse move on focus
Send current mouse position move event when focus is gained.
2025-03-04 12:42:36 +01:00
akallabeth
d4f7fb081b
[warnings] fix -Wunused-function
* delete unused functions that are no longer required
* define guard functions only used while debugging
2025-02-27 19:29:46 +01:00
akallabeth
36d29e58af
[client,sdl] fix keyboard grab
* on grab key toggle state
* only update grab state in sdlInput::keyboard_grab
2025-02-17 05:03:37 +01:00
akallabeth
86a21d461e
[client,warnings] fix -Wunused-parameter for SDL 2025-02-13 15:54:01 +01:00
akallabeth
d34b33b979
[client,sdl] initialize member 2025-02-13 13:30:32 +01:00
akallabeth
0ae7c4b52d
[cmake] refactor configuration
* Split common stuff to reusable files
* Disable INTERPROCEDURAL_OPTIMIZATION for SDL2/3 resource targets
2025-02-11 11:33:34 +01:00
akallabeth
4013b3132b
[clang,tidy] fix sign warnings 2025-02-10 13:11:16 +01:00
akallabeth
f124b7db40
[client,sdl] fix container size empty warnings 2025-02-10 12:39:25 +01:00
akallabeth
c56c80591b
[client,sdl] fix warnings 2025-02-10 09:31:37 +01:00
akallabeth
44f5b6c409
[warnings] fix various clang warnings 2025-02-04 11:22:00 +01:00
akallabeth
a0617e20ed [client,sdl] clear cache data only on new contents 2025-02-03 14:56:41 +01:00
akallabeth
9f68ae4f03 update clipboard on sdl thread 2025-02-03 14:37:10 +01:00
akallabeth
cd0752e5eb [client,sdl3] fix locking 2025-02-03 13:54:30 +01:00
akallabeth
c5cde819e0
Merge pull request #11095 from akallabeth/multi-monitor-fix
Multi monitor fix
2025-01-22 20:41:25 +01:00
akallabeth
e25d00fceb [warnings] fix -Wc++20-designator 2025-01-20 11:37:37 +01:00
akallabeth
49d38c9b71
[cxx] use std::vector::emplace_back 2025-01-19 15:31:21 +01:00
akallabeth
2ecee5281e
[client,sdl] fix sdl3 multi monitor setting 2025-01-19 15:31:18 +01:00
Vladimir Berezniker
0757ad426e Make credential dialog work with SDL3 2025-01-18 17:24:34 -05:00
Vladimir Berezniker
bd62da3ff6 Make code compatible with SDL3 3.1.8 plus 2025-01-17 18:22:56 -05:00
Armin Novak
174809b8a5
[warnings] fix some more warnings 2025-01-15 16:02:38 +01:00
akallabeth
316ad777dc
[client,sdl] move instead of copy 2025-01-13 10:18:27 +01:00
akallabeth
e4cdeefb95
[client,sdl] fix integer sign conversion 2025-01-07 21:28:21 +01:00
akallabeth
6701359cc1
[warnings] fix integer casting
* use WINPR_ASSERTING_INT_CAST where possible
* clean up client code
2024-12-19 12:45:23 +01:00
akallabeth
a8b05717bf
[cmake] set SYSTEM for external includes
* add winpr_system_includ_directory_add macro for WinPR related external
  include directories
* set target property SYSTEM for SDL related targets
2024-12-18 20:41:59 +01:00
akallabeth
375e28f5cb
[client,sdl] use keyboard_layout_remap*
use keyboard layout remap functions from core library
2024-12-17 13:23:05 +01:00
akallabeth
ba8fd2ada5
[cmake] force configuration options
limit multiconfiguration options to supported types
2024-12-05 09:36:23 +01:00
akallabeth
faae38120c
[cmake,format] reformat all cmake files 2024-11-27 20:41:48 +01:00
akallabeth
79bbb95884
[client,sdl] use std::min 2024-11-22 11:00:27 +01:00
akallabeth
ecbccecef6
[client,sdl] fix global-constructors 2024-11-22 11:00:25 +01:00
akallabeth
b5f95e0f87
[codespell] fix spelling mistakes 2024-11-21 11:28:06 +01:00
stephanebill
4f2afa8c47 spell check with codespell 2024-11-20 16:53:40 -05:00
akallabeth
78acedb40e
[warnigns] fix Wshorten-64-to-32 2024-11-11 10:22:37 +01:00
Martin Fleisz
1520d94d33
Merge pull request #10797 from akallabeth/warn-fixes
Warn fixes
2024-11-07 13:50:51 +01:00
Martin Fleisz
c7486fc47b
Merge pull request #10801 from akallabeth/cleanups
Cleanups
2024-11-07 13:03:36 +01:00
akallabeth
f1877d15d4
[client,sdl] fix sdl3 SDL_GetDisplayBounds checks
Fix #10813, return value changed to bool, so fix checks meant for SDL2
2024-11-03 21:21:05 +01:00
akallabeth
b6e051f16c
[warnings] fix float-conversion 2024-10-31 11:42:26 +01:00
akallabeth
dc76879e0b
[warnings] fix some compiler warnings
* fix compiler warnings found in a lot of places
* add missing enum type for clipboard channel
* mark deallocator for winpr image function
2024-10-30 16:12:20 +01:00
akallabeth
2b95757a7a
[warnings] fix redundant casts 2024-10-29 15:49:59 +01:00
akallabeth
8ee84ff054
[client,sdl] fix empty catch 2024-10-29 15:49:57 +01:00
akallabeth
3c9a45e9d0
[client,sdl] fix move constructors
use default implementation to avoid use after move
2024-10-29 15:49:54 +01:00
akallabeth
aa954d9be9
[warnings] fix various compiler warnings 2024-10-29 15:49:43 +01:00
akallabeth
c377b0ce86
[client,common] add WITH_INSTALL_CLIENT_DESKTOP_FILES
This new CMake option allows installing .desktop files and application
icons if turned on.
2024-10-25 12:11:54 +02:00
akallabeth
14c4cd8dc3
[client,sdl] ignore window properties if not fullscreen/multimon 2024-10-24 11:32:05 +02:00
Armin Novak
98f4a2b022
[client,various] print client specific only on help
do not print if version or other command was run
2024-10-24 09:08:06 +02:00
akallabeth
8b3f807a0a
[warnings] fix format warnings 2024-10-17 20:47:29 +02:00