Commit Graph

4586 Commits

Author SHA1 Message Date
fossdd
38aebbca64 [client,common] Avoid use of reserved types
__off_t is a internal type of glibc and does not exist on other libc's.
2025-02-07 19:12:04 +01:00
akallabeth
4538cefd74 [warnings] remove dead code 2025-02-04 14:55:46 +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
Igor V. Kovalenko
d83d4e75f2 [client,x11] fix build with Xrandr but without Xinerama enabled 2025-02-02 10:01:44 +03:00
akallabeth
600768a637 [client,android] fix crasher bugs 2025-01-23 22:01:18 +01:00
akallabeth
b1eaf5e530 [client,android] udpate manifest 2025-01-23 20:32:29 +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
b59140d6ef [client,android] force newer NDK 2025-01-20 10:37:33 +01:00
akallabeth
c03714c5de [client,android] update gradle to 8.10.2 2025-01-20 08:36:37 +01:00
akallabeth
89d6ddc78d [client,x11] fix multi monitor settings 2025-01-19 16:03:33 +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
akallabeth
0407bebf4b [client,sdl] fix sdl2 multi monitor settings 2025-01-19 15:31:11 +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
ea2022b76b [clang,tidy] fix warnings 2025-01-15 09:32:52 +01:00
akallabeth
ba424d7600 [client,x11] fix coordinate sign type 2025-01-14 22:05:52 +01:00
akallabeth
316ad777dc [client,sdl] move instead of copy 2025-01-13 10:18:27 +01:00
akallabeth
bbd16d922b [client,cmdline] fix vmconnect checks 2025-01-08 21:05:24 +01:00
akallabeth
e4cdeefb95 [client,sdl] fix integer sign conversion 2025-01-07 21:28:21 +01:00
akallabeth
40cdb18431 [client,x11] fix missing assertions 2024-12-31 09:59:52 +01:00
akallabeth
2d95ed6929 Merge pull request #11002 from akallabeth/client-implicit-fix
[warnings] fix integer casting
2024-12-30 23:10:41 +01:00
akallabeth
313c8b7ed3 [client,sdl2] only build if sdl2 >= 2.0.20 found 2024-12-19 13:00:46 +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
c29e93f4b2 [locale,keyboard] deprecate keyboard mapping
* deprecate keyboard mapping functions:
  * not context sensitive bug app global
  * only work reliable with XKB files
* expose functions to parse and remap RDP scancodes
2024-12-17 12:52:42 +01:00
akallabeth
df12907099 [client,common] fix leak in client_cli_get_rdsaad_access_token 2024-12-16 14:01:49 +01:00
Armin Novak
16a7378c3c [client,common] improve /printer help 2024-12-11 14:33:54 +01:00
akallabeth
f2f81eaac2 Merge pull request #10944 from akallabeth/cmake-clean-fix
[cmake,configure_file] fix change checks
2024-12-10 16:21:37 +01:00
akallabeth
4c7aa61cda [client,sdl] use auto for c++ variables 2024-12-10 15:15:37 +01:00
akallabeth
f25be351b1 [core,gateway] Make tenantid use optional 2024-12-10 15:13:16 +01:00
akallabeth
aac83e4449 [client,sdl] check rdpSettings and wellknown for NULL 2024-12-10 15:12:43 +01:00
Armin Novak
f17c1830b7 [aad,avx] improve AzureAD support
* New setting GatewayAzureActiveDirectory to fetch wellknown from
* Clean up command line arguments, rename to make function better
  understandable
2024-12-10 15:12:41 +01:00
akallabeth
f92984b234 [client,aad] use configurable redirection url
Create the redirection URL for AAD auth from the endpoint configuration.
2024-12-10 15:12:36 +01:00
akallabeth
9fb721b8be [client,common] add parameters for aad auth 2024-12-10 15:12:34 +01:00
akallabeth
b2756842b2 [core,aad] fetch wellknown before GetAccessToken
All of the URL we need for AAD authentication are dependent on a tenantid.
Fetch the wellknown file for the desired tenantid from
https://login.microsoftonline.com/{tenantid}/v2.0/.well-known/openid-configuration
and parse as JSON to have them available later on.
2024-12-10 15:12:30 +01:00
akallabeth
787c49bdbe [client,common] fix call of helper binary
use target output directory instead of manually combined path
2024-12-10 15:10:03 +01:00
akallabeth
91d1c217f9 [client,x11] reset buffer length when sending
When sending clipboard data reset the intermediate buffer position. This
way the buffer is always 0 at beginning of reads, even if the same
clipboard contents is requested in a different format.
2024-12-10 11:55:45 +01:00
akallabeth
dc03c9bc4c [client,x11] fix reset of incremental read
in some cases no event with 0 length is posted for clipboard events.
Ensure the incremental clipboard copy mode is reset when new formats are
announced
2024-12-10 09:58:28 +01:00
akallabeth
3dbbe687ea [client,x11] fix possible NULL dereference 2024-12-09 10:03:17 +01:00
akallabeth
285a6961fa [client,common] deactivate -fsanitize with helper
when compiling manpage generation helper deactivate -fsanitize options
to avoid link/runtime issues.
2024-12-09 07:31:31 +01:00
akallabeth
d780a0705c [client,SDL] fix resource template file 2024-12-08 21:39:28 +01:00
akallabeth
ac27fdaada [client,common] fix manpage generation
strip all compile/link flags for the manpage helper tool. This avoids
linking/runtime issues with e.g. ASAN and other such tools used by
nightly builds and others.
2024-12-08 14:15:08 +01:00
akallabeth
344841714c Merge pull request #10844 from akallabeth/cmake-mulitconfig
Cmake multiconfig
2024-12-07 17:43:05 +01:00