Commit Graph

22159 Commits

Author SHA1 Message Date
akallabeth
9e32181a54 [channels,rdpdr] FILE_DIRECTORY_INFORMATION::FileName as WCHAR 2025-12-12 19:26:52 +01:00
akallabeth
b160ea80e8 [mingw] fix type incompatibilities
The integer types with MINGW do not always match. Ensure the correct
32bit interger base type is used when passing pointers
2025-12-12 19:09:30 +01:00
akallabeth
3faefca351 [mingw] fix function pointer mismatch
* Addjust implementation to match function pointer defines
* Make functions static where appropriate
2025-12-12 19:09:25 +01:00
akallabeth
8c54f53ac2 [ci,mingw] update dependencies
* update build dependencies
* define required guards for C11 compat
2025-12-12 18:41:42 +01:00
akallabeth
f5cad611e1 Merge pull request #12063 from akallabeth/release-3.19.1
Release 3.19.1
2025-12-12 08:45:30 +01:00
akallabeth
54bde10bb7 dev-cycle-3.19.2-dev0 2025-12-12 08:36:38 +01:00
akallabeth
f848367ffa release-3.19.1 2025-12-12 08:36:35 +01:00
akallabeth
d82947fb56 changelog 2025-12-12 08:36:28 +01:00
akallabeth
72a02c2cca Merge pull request #12065 from akallabeth/rm-xprop
[packaging,flatpak] remove xprop
2025-12-11 09:54:41 +01:00
Armin Novak
4ed011381b [ci,packaging] drop pkcs11-helper
no longer needed.
2025-12-11 09:33:50 +01:00
Armin Novak
7c34860985 [packaging,flatpak] remove xprop 2025-12-11 09:27:14 +01:00
akallabeth
79a5e40a80 Merge pull request #12064 from akallabeth/jansson-null
[winpr,utils] explicit NULL checks in jansson WINPR_JSON_ParseWithLength
2025-12-11 09:25:42 +01:00
Armin Novak
4a29dcac42 [winpr,utils] explicit NULL checks in jansson WINPR_JSON_ParseWithLength 2025-12-11 09:08:57 +01:00
akallabeth
031f39ea6b Merge pull request #12059 from akallabeth/rdpecam-fix
[channels,rdpecam] allow MJPEG frame skip and direct passthrough
2025-12-10 18:49:30 +01:00
akallabeth
1351d437fd [channels,rdpecam] allow MJPEG frame skip and direct passthrough
* direct passthrough of MJPEG announced
* allow frame drops for MJPEG
* drop samples if encoding fails
* add verbose/debug logging of delayed and dropped frames
2025-12-10 16:57:39 +01:00
akallabeth
ec215dbbe5 Merge pull request #12061 from eduar-hte/rdpecam-send-sample-when-available
rdpecam: send sample only if it's available
2025-12-10 16:22:02 +01:00
eduar-hte
d3fdbbe8cf Send sample only if there's one to be sent.
- This issue was introduced in FreeRDP/FreeRDP@32e64c1e98
- If a sample request is received from the server before the camera
  provides one, an assertion is triggered because an invalid sample is
  attempted to be sent as a response, as the default initialization of
  `stream->pendingSample` sets its `length` to its `capacity`.
2025-12-10 14:54:11 +00:00
akallabeth
433bbe80db Merge pull request #12060 from akallabeth/json-fix
Json fix
2025-12-10 15:50:33 +01:00
akallabeth
d1ed8db7f0 [core,aad] log WINPR_JSON_ParseWithLength failures 2025-12-10 15:23:00 +01:00
akallabeth
bbae8d1d6b [winpr,utils] fix jansson wrapper
* Fix WINPR_JSON_ParseWithLength (jansson does not like buffer sizes
  larger than the JSON strig)
* Implement WINPR_JSON_GetErrorPtr
2025-12-10 15:22:57 +01:00
akallabeth
acf04f1087 [winpr,platform] add C11 thread_local support 2025-12-10 15:22:54 +01:00
akallabeth
4e212e6f31 [utils,http] log http response
add the full http response to the debug log
2025-12-10 14:27:54 +01:00
akallabeth
81e7c6c233 Merge pull request #12058 from akallabeth/drdynvc-error-handling
[CMake] make Mbed-TLS and LibreSSL experimental
2025-12-09 11:24:59 +01:00
akallabeth
03bef94717 [CMake] make Mbed-TLS and LibreSSL experimental
We do not release test anything except OpenSSL, so mark these
implementations experimental as they might break at any time and are
dependent on external contributions to keep them working.
2025-12-09 10:50:54 +01:00
Martin Fleisz
46680aff2c Merge pull request #12057 from akallabeth/drdynvc-error-handling
[channels,drdynvc] propagate error in dynamic channel
2025-12-09 10:50:19 +01:00
akallabeth
795fe479b8 [channels,drdynvc] propagate error in dynamic channel 2025-12-09 10:36:47 +01:00
akallabeth
44ab77c035 Merge pull request #12055 from akallabeth/sanitize-hostname
[crypto,certificate] sanitize hostnames
2025-12-09 09:01:19 +01:00
akallabeth
e763541d8d [client,common] add vsock:// syntax to help 2025-12-09 08:42:31 +01:00
akallabeth
3666b91981 [crypto,certificate] sanitize hostnames
When creating a local certificate file ensure the hostname does not
contain invalid characters.
2025-12-09 08:32:42 +01:00
akallabeth
bd0544bea7 Merge pull request #12050 from akallabeth/from-stdin
From stdin and sdl-creds improve
2025-12-08 16:50:14 +01:00
akallabeth
a8e47a4afb Merge pull request #12052 from akallabeth/config-path-fix
[utils,helpers] fix freerdp_settings_get_legacy_config_path
2025-12-08 16:44:37 +01:00
akallabeth
67e55811aa [utils,helpers] fix freerdp_settings_get_legacy_config_path
properly append filename to the path as is done in other configuration
tyhpes.
2025-12-08 02:19:35 +01:00
akallabeth
7973abe51c [client,sdl] rename member variables 2025-12-07 10:09:05 +01:00
akallabeth
78c9779eb1 [utils,passphrase] fix dangling pointers 2025-12-07 09:02:57 +01:00
akallabeth
266bf0e153 [client,sdl] position active input
When querying for credentials position the selected input field to the
first element not already containing a value.
2025-12-07 08:51:06 +01:00
akallabeth
0f5c53d3e5 [client,common] handle AUTH_RDSTLS separate
The requirements for that authentication type are different, so handle
it not like the rest.
2025-12-07 08:16:16 +01:00
akallabeth
b244d24246 Merge pull request #12045 from akallabeth/ssl-logging
[core,transport] improve SSL error logging
2025-12-05 14:17:38 +01:00
akallabeth
20fc94edbc [core,listener] handle VMADDR_CID_ANY 2025-12-05 13:36:02 +01:00
akallabeth
2870ab7937 [core,transport] improve SSL error logging 2025-12-05 10:55:39 +01:00
akallabeth
09bbf44779 Merge pull request #12036 from akallabeth/release-3.19.0
Release 3.19.0
2025-12-05 09:46:21 +01:00
Armin Novak
58742e4da7 dev-cycle-3.19.1-dev0 2025-12-05 09:17:58 +01:00
Armin Novak
300a4e6d60 release-3.19.0 2025-12-05 09:17:55 +01:00
Armin Novak
bd49c60a41 changelog 2025-12-05 09:17:52 +01:00
akallabeth
bf63ef0ced Merge pull request #12043 from akallabeth/cleanups-release
Cleanups release
2025-12-05 09:17:17 +01:00
akallabeth
6bac078120 [channels,rdpecam] fix implicit widening of multiplication result 2025-12-05 09:00:58 +01:00
akallabeth
c9b008637b [core,nla] split nla_encode_ts_credentials 2025-12-05 08:20:28 +01:00
akallabeth
c118d3df18 [channels,rpdecam] log dropped samples 2025-12-05 08:20:25 +01:00
akallabeth
90b92ca27f Merge pull request #12041 from hardening/rdpecam_unsolicited_frames
rdpecam: fix camera sample grabbing
2025-12-05 07:55:15 +01:00
David Fort
32e64c1e98 rdpecam: fix camera sample grabbing
Before this patch we had a behavior where there was a credit of 8 samples that
could be sent to the server with no corresponding sample request. So in the right
conditions, we were having situations where the server was receiving samples that
it has not requested, and so it was dropping them. The visible effect was small
artifacts in the camera stream when i-frames where dropped, and more serious ones
when the dropped content was containing key frames.

This issue has also been reported when xfreerdp connects on g-r-d as #11990.

This patch reworks the frame grabbing workflow: when the frame grabbing thread calls
the sample callback we check if a sample is already pending, waiting to be sent to the
server. If that's the case and the camera's input format supports frame dropping we just
refresh the pending frame with the new one. If the input format can't drop frames (like
with h264 and mjpg) we wait until the current pending frame is sent.
So now frames can be sent either when we receive a sample request from the server,
or when the sample callback is invoked.
2025-12-04 23:14:54 +01:00
David Fort
3f3a0426d3 Merge pull request #12042 from Devolutions/bug/smartcard_hw_enumerateCerts_off_by_one
[smartcardlogon] Fix off-by-one error in `smartcard_hw_enumerateCerts`
2025-12-04 17:58:07 +01:00