Commit Graph

21974 Commits

Author SHA1 Message Date
akallabeth
fc2ae4cf41 [core,codecs] add stringify helper
add freerdp_codec_id_to_str to get a string representation of a given
codec id
2025-10-06 08:41:18 +02:00
akallabeth
8ccdfb70b2 Merge pull request #11915 from akallabeth/rdp-parse
[client,common] fix parsing of enablerdsaadauth
2025-10-03 13:49:29 +02:00
akallabeth
625376a937 [client,common] adjust settings test results
the change in the rdp file parser changes expected output after rdp file
parsing. Adjust results accordingly
2025-10-03 13:44:50 +02:00
akallabeth
d7c1ce80d9 [client,common] fix parsing of enablerdsaadauth
Only change FreeRDP_AadSecurity and do not touch other options
2025-10-03 13:25:53 +02:00
akallabeth
11bd807c5c Merge pull request #11914 from akallabeth/rdstls
[core,rdstls] improve logging
2025-10-02 16:15:27 +02:00
Armin Novak
9fc79f7e90 [core,rdstls] improve logging 2025-10-02 15:59:16 +02:00
akallabeth
621e089768 Merge pull request #11912 from FriederHannenheim/master
dsp_ffmpeg: fix latency buildup during resampling
2025-10-02 15:59:03 +02:00
akallabeth
13282bd889 Merge pull request #11913 from akallabeth/rdstls
Rdstls error code mapping
2025-10-02 15:32:45 +02:00
Armin Novak
56dc5efe1e [core,rdstls] improve return code mapping 2025-10-02 15:18:47 +02:00
Frieder Hannenheim
137268b8d7 dsp_ffmpeg: fix latency buildup during resampling 2025-10-02 15:12:01 +02:00
akallabeth
86cfd7a858 Merge pull request #11911 from akallabeth/janssen-version-limit
Janssen version limit
2025-10-01 15:23:47 +02:00
Armin Novak
34a835c412 [cmake,json] limit jansson detection
discard versions older than 2.13
2025-10-01 15:22:12 +02:00
Armin Novak
4300fc586d [winpr,json] check for jansson required minimum version 2025-10-01 14:34:26 +02:00
Armin Novak
d751593a2a [ci,deb] restrict jansson to >= 2.13 2025-10-01 13:18:16 +02:00
akallabeth
cb20e51cda Merge pull request #11910 from akallabeth/retry-fix
[client,common] improve retry handling
2025-10-01 09:51:51 +02:00
Armin Novak
ad8780c823 [core,test] fix TestSettings
Fill values with base64 encoded random data. Some fields are strings
that need to be valid utf-8.
2025-10-01 09:38:47 +02:00
Armin Novak
c0da27476f [client,common] improve retry handling
* Log each return path
* Correctly apply the returned delay
2025-10-01 09:13:47 +02:00
akallabeth
6966d5f31a Merge pull request #11909 from akallabeth/jansson-array
[winpr,json] fix WINPR_JSON_AddItemToArray
2025-09-30 18:23:36 +02:00
Armin Novak
204079d73c [winpr,json] fix WINPR_JSON_AddItemToArray
Use reference stealing version to add the item to the array
2025-09-30 17:19:56 +02:00
akallabeth
9edb268276 Merge pull request #11908 from akallabeth/jansson-ref
Jansson ref count
2025-09-30 17:12:43 +02:00
akallabeth
5100b74c08 Merge pull request #11905 from akallabeth/target-net-address-fix
[common,settings] fix resize of TargetNetAddressess
2025-09-30 17:10:44 +02:00
Armin Novak
b2783956bf [winpr,json] fix jansson return value check
json_object_set_new returns 0 on success, -1 on failure
2025-09-30 17:05:05 +02:00
Armin Novak
5c69cf1406 [winpr,json] fix jansson reference count 2025-09-30 17:04:59 +02:00
akallabeth
32456d180d Merge pull request #11907 from akallabeth/rdpecam
[channels,rdpecam] fix a memory leak
2025-09-30 16:57:23 +02:00
Armin Novak
6eaf8ca683 [channels,rdpecam] fix a memory leak 2025-09-30 16:44:49 +02:00
Armin Novak
052c046ce4 [common,settings] fix resize of TargetNetAddressess
* FreeRDP_TargetNetAddresses and FreeRDP_ReceivedCapabilityData need to
  free up used slots when resizing.
* freerdp_target_net_addresses_resize should not unconditionally discard
  values on resize.
2025-09-30 16:05:39 +02:00
Armin Novak
82b86babe5 [common,test] test freerdp_target_net_addresses_resize
Add a unit test to check the expected behaviour of
freerdp_target_net_addresses_resize matches the implementation.
2025-09-30 16:05:36 +02:00
akallabeth
6be1890bd3 Merge pull request #11903 from akallabeth/bitmap-fix
Bitmap fixes and unit tests
2025-09-30 14:23:56 +02:00
Armin Novak
8735c50e2f [codec,interleaved] add some unit tests
* Create a unit test framework to allow compaing some input data to
  expected output data
* Add a couple of test cases for encoder and decoder
* Add expected output data (of current implementation) to detect changes
  in later iterations
2025-09-30 14:09:15 +02:00
Armin Novak
5fed3f4cfc [codec,bitmap] fix sign of buffer
* Use a uint8_t buffer to avoid issues with casting to/from signed
* Refactor bitmap codec
2025-09-30 14:07:24 +02:00
Armin Novak
fde7eb57ee [winpr,json] fix jansson WINPR_JSON_GetNumberValue 2025-09-30 13:18:55 +02:00
Armin Novak
4aceae4666 [codec,color] Add from string method for PIXEL_FORMAT
* Add FreeRDPGetColorFromatFromName to get a PIXEL_FORMAT from a given
  string.
* Add a unit test to ensure FreeRDPGetColorFromatFromName and
  FreeRDPGetColorFormatName work as expected
2025-09-30 13:17:26 +02:00
akallabeth
e3ae9c472b Merge pull request #11902 from akallabeth/jansson-fix
Jansson fix
2025-09-30 10:27:43 +02:00
Armin Novak
64b67c938c [utils] fix doxygen for freerdp_passphrase_read 2025-09-30 10:15:43 +02:00
Armin Novak
dc6ae54d7a [winpr,json] fix jansson WINPR_JSON_IsObject 2025-09-30 10:15:39 +02:00
akallabeth
720ae9e0ec Merge pull request #11901 from akallabeth/jansson-fix
[winpr,json] fix a memory leak with jansson
2025-09-30 10:00:36 +02:00
Armin Novak
efd1109ca0 [winpr,json] fix a memory leak with jansson
* Add a reference count debug option to jansson implementation
* Fix a memory leak with add_to_object
2025-09-30 09:51:21 +02:00
akallabeth
f731f60f9f Merge pull request #11899 from akallabeth/arm-parse-fix
[core,arm] fix TargetNetAddress size and checks
2025-09-29 12:12:00 +02:00
akallabeth
611dd58bc7 [core,transport] fix inverted condition 2025-09-29 11:56:51 +02:00
akallabeth
a5ba33eb68 [client,common] remove useless printf 2025-09-29 11:46:06 +02:00
akallabeth
6c5fc3623e [core,arm] fix TargetNetAddress size and checks
* Allocate for maximum expected values
* Add checks during parsing to not exceed limits
2025-09-29 11:25:11 +02:00
akallabeth
176dbb1587 Merge pull request #11892 from akallabeth/azure-domain
Azure domain
2025-09-29 10:50:28 +02:00
akallabeth
1ada469cdd [freerdp,utils] modify freerdp_interruptible_get_line
* Make freerdp_interruptible_getc nonblocking so each typed char is
  returned
* Handle ctrl+[cdz] in freerdp_interruptible_getc so the function can be
  aborted by a user
* Handle simple input edit in freerdp_interruptible_get_line (delete
  characters, provide a suggested value)
2025-09-29 10:35:33 +02:00
akallabeth
716dce24db Merge pull request #11897 from akallabeth/threadpool
[winpr,pool] limit minimum threadpool size
2025-09-29 10:24:36 +02:00
akallabeth
9677931343 [core,arm] fix domain setting
While AzureAD seems to be required for many setups, some need an empty
domain (or maybe a different all together?)
So only provide a sane default and allow user override.
2025-09-29 10:17:01 +02:00
akallabeth
8fc7acbfd0 [winpr,pool] limit minimum threadpool size 2025-09-29 08:40:45 +02:00
akallabeth
c6356ef836 [core,nego] add helper nego_rdp_neg_fail_str 2025-09-26 13:14:50 +02:00
akallabeth
2f0f6d7707 [api,doxygen] update documentation
Add (better) documentation for the following callback function types:
* pChooseSmartcard
* pAuthenticateEx
2025-09-26 13:14:47 +02:00
akallabeth
d1d39493c3 Merge pull request #11879 from akallabeth/inline
[c,standard] use C99 inline
2025-09-26 11:45:32 +02:00
akallabeth
74648eb3a9 [c,standard] use C99 inline 2025-09-26 11:29:26 +02:00