Commit Graph

22781 Commits

Author SHA1 Message Date
394528d985 [client,SDL] Fix high-DPI handling and window sizing on scaled displays 2026-02-13 21:56:50 +09:00
akallabeth
e28146d360 Merge pull request #12300 from akallabeth/sign-warnings
Sign warnings
2026-02-13 12:46:48 +01:00
Armin Novak
eb0b74a908 [channels,rdpecam] fix sign warnings 2026-02-13 12:17:47 +01:00
Armin Novak
9903e234e4 [core,gateway] fix sign warnings from tsg 2026-02-13 12:16:17 +01:00
Armin Novak
72d4e7ff39 [cmake,compiler] disable -Wnrvo warnings 2026-02-13 12:15:22 +01:00
akallabeth
74e7e20770 Merge pull request #12299 from akallabeth/test-fix
[core,test] fix use after free
2026-02-13 12:05:38 +01:00
Armin Novak
f0ee9d7b6f [core,test] fix use after free 2026-02-13 09:25:55 +01:00
akallabeth
0cef63776e Merge pull request #12298 from morgan9e/fix-sdl-smart-sizing
[client,SDL3] Fix properly handle smart-sizing with fullscreen
2026-02-13 09:24:19 +01:00
14c66c8bfc [client,SDL] Fix properly handle smart-sizing
* In fullscreen set desktop resolution to argument provided with
  /smart-sizing:<width>x<height>
* In window mode set the window size to /size:<width>x<height> and the
  remote resolution to /smart-sizing:<width>x<height>
* Ignore and print a warning if /multimon is in use (currently not
  defined)
2026-02-13 09:07:09 +01:00
akallabeth
341b25d508 Merge pull request #12296 from akallabeth/scard-PCSC_ReadDeviceSystemName
[winpr,smartcard] fix returned attribute length
2026-02-12 10:34:47 +01:00
Armin Novak
606250f4cb [winpr,smartcard] fix returned attribute length
SCARD_ATTR_DEVICE_SYSTEM_NAME_W requires twice the size, so multiply
before return.
2026-02-12 10:01:06 +01:00
akallabeth
fb3f8aa3b6 Merge pull request #12295 from akallabeth/freerdp-config-test
Freerdp config test
2026-02-11 17:10:44 +01:00
Armin Novak
5c682eee86 [channels,video] make channel less verbose
The channel did spam the log with frame updates, remove that message in
the hot path.
2026-02-11 17:02:41 +01:00
Armin Novak
ccb79eb4d0 [core,test] make TestUtils verbose
* Add logging to TestUtils
2026-02-11 17:02:37 +01:00
Armin Novak
551d42c5bd [packaging,deb] make ctest verbose 2026-02-11 16:50:01 +01:00
Armin Novak
4542715e37 [core,test] Add definitions for TestUtils
The unit test needs some variables defined, ensure they are.
2026-02-11 16:46:48 +01:00
akallabeth
f75194d30a Merge pull request #12293 from akallabeth/size-percent
[client,x11] apply /size:xx% only once
2026-02-11 10:23:44 +01:00
Armin Novak
1defc14055 [core,test] fix missing WITH_RESOURCE_VERSIONING 2026-02-11 09:56:55 +01:00
Armin Novak
b4c9ab9e93 [client,x11] apply /size:xx% only once 2026-02-11 09:46:05 +01:00
akallabeth
835f986564 Merge pull request #12271 from tsz8899/feat/memory-safety-enhanced-recommit
[client,windows] Enhance memory safety with NULL checks and resource protection
2026-02-11 09:22:43 +01:00
tsz8899
ecc18608ad [client,windows] Enhance memory safety with NULL checks and resource protection 2026-02-11 09:06:52 +01:00
akallabeth
e47c8ed603 Merge pull request #12291 from akallabeth/warning-cleanup
Warning cleanup
2026-02-10 19:43:19 +01:00
Armin Novak
fd9d199fd5 [client,sdl] use bounds checking vector accessors 2026-02-10 19:27:48 +01:00
Armin Novak
f805a57b9d [utils,heplers] fix freerdp_getApplicationDetailsVersion 2026-02-10 19:27:44 +01:00
Armin Novak
fff62ff919 [channels,rdpecam] fix integer types and warnings 2026-02-10 19:07:10 +01:00
akallabeth
103afdfb36 Merge pull request #12289 from akallabeth/jump-init
warning cleanups
2026-02-10 17:11:07 +01:00
Armin Novak
e3981d8f02 [channels,rdpecam] fix integer types and warnings 2026-02-10 17:02:15 +01:00
Armin Novak
8d395b942b [primitives,test] replace sscanf 2026-02-10 16:56:49 +01:00
Armin Novak
b6b32bf8c4 [winpr,test] replace sscanf 2026-02-10 16:56:48 +01:00
Armin Novak
f3ab7b65b9 [channels,rdpear] fix uninitialized variable warnings 2026-02-10 16:56:48 +01:00
Armin Novak
47c538fd3f [winpr] fix uninitialized variables 2026-02-10 16:56:44 +01:00
Armin Novak
af6e0e6241 [codec,test] replace fscanf in unit test 2026-02-10 16:38:19 +01:00
Armin Novak
e6252d191d [utils,http] replace sscanf 2026-02-10 16:38:15 +01:00
Armin Novak
adbab03503 [client,sdl] modernize C++: use std::scope_guard 2026-02-10 15:53:07 +01:00
Armin Novak
0fefdd1274 [channels,audin|rdpsnd] fix enum cast warnings 2026-02-10 15:53:06 +01:00
Armin Novak
8c0b07ab78 [include] provide invalid 0 entry for enum values
Some enum values have no valid 0 entry producing warnings when
initializing a struct with { 0 }. Add an *_Invalid entry to these to
explicitly mark that value invalid and define it for use.
2026-02-10 15:53:06 +01:00
Armin Novak
6bf8793589 [winpr,smartcard] remove unused variable 2026-02-10 15:53:05 +01:00
Armin Novak
6f6ab57eb7 [client,sdl] use std::make_shared 2026-02-10 15:53:05 +01:00
Armin Novak
f8d85ac201 [winpr,smartcard] fix warnings 2026-02-10 15:53:05 +01:00
Armin Novak
52cf5d18f4 [winpr,utils] fix WITH_RESOURCE_VERSIONING
winpr_getApplicationDetailsVersion returned a wrong value.
2026-02-10 15:53:04 +01:00
Armin Novak
79498a0d15 [common,assistance] remove extra braces 2026-02-10 15:53:04 +01:00
Armin Novak
7a83036f9a [winpr,smartcard] fix variable data type 2026-02-10 15:53:04 +01:00
Armin Novak
5624856b8b [client,sdl] fix missing include 2026-02-10 15:53:03 +01:00
Armin Novak
ec39fbad59 [client,x11] do not va_end uninitialized list 2026-02-10 15:53:03 +01:00
Armin Novak
f2e4e6503a [clang,tidy] update configuration for new ci 2026-02-10 15:52:44 +01:00
Armin Novak
5a82fcb1b3 [cmake,tidy] use .clang-tidy for cmake target 2026-02-10 13:54:20 +01:00
akallabeth
cb3fb59a89 Merge pull request #12285 from akallabeth/pulse-name
Use application details for names
2026-02-10 12:18:25 +01:00
akallabeth
a0db7c7955 Merge pull request #12286 from akallabeth/fixes-more-more-more
Fixes more more more
2026-02-10 11:45:20 +01:00
Armin Novak
2679cf6bf8 [client,x11] refactor headers
* Use a forward definition in xf_types.h for xfContext
* Resolve circular dependencies on xfreerdp.h
2026-02-10 11:29:21 +01:00
Armin Novak
d3e8b3b936 [client,x11] lock cache when providing data 2026-02-10 11:26:12 +01:00