Commit Graph

3692 Commits

Author SHA1 Message Date
akallabeth
5f86284663
[core,orders] fix update_write_coord
* Add value range checks
* Add proper log message
* Add failure return
2024-10-25 11:48:14 +02:00
akallabeth
738cbd54b2
[core] fix issues with value ranges written 2024-10-25 11:48:12 +02:00
akallabeth
392a085728
[core,settings] enforce fullscreen monitor requirements
* Monitor must start at 0/0
* Monitor must be primary
2024-10-24 11:32:10 +02:00
akallabeth
401f81683c
[core,settings] fake monitor in window mode
RDP requires sending monitor information to the server. If we are in
windowed mode fake that information with the windows size
2024-10-24 11:32:03 +02:00
akallabeth
1675d926d2
Merge pull request #10776 from akallabeth/packaging-tests
[cmake] split tests
2024-10-24 11:26:17 +02:00
akallabeth
de055a6765
Merge pull request #10777 from akallabeth/cmake-build-type
[cmake] enforce a supported build type
2024-10-24 09:47:47 +02:00
Armin Novak
527db6783b
[cmake] split tests
* Keep BUILD_TESTING, but only run tests compatible with API (for
  packaging)
* Add BUILD_TESTING_INTERNAL for all tests including internal function
  tests that modify API to be run on our CI
2024-10-24 09:45:44 +02:00
akallabeth
d511316e86
[core,rdp] add build and supported cipher/digest checks
checking for:
 * WITH_VERBOSE_WINPR_ASSERT (runtime slowdown)
 * digests MD4, MD5, SHA1 and SHA256
 * HMAC md5 and sha1
 * Cipher RC4/ARC4_128, DES_EDE3_CBC, AES128_CBC, AES192_CBC,
   AES_256_CBC
2024-10-24 09:12:22 +02:00
Armin Novak
e48fb1eabd
[core,warnings] warn about runtime check options 2024-10-24 09:08:03 +02:00
Armin Novak
9b32cc59b8
[core,gateway] restore non-local value 2024-10-23 10:52:21 +02:00
akallabeth
4f4d400f7e
[core,gateway] fix out of range check 2024-10-22 09:50:36 +02:00
akallabeth
8b3f807a0a
[warnings] fix format warnings 2024-10-17 20:47:29 +02:00
akallabeth
b5d4339d86 [core,fastpath] fix error unlock 2024-10-15 22:44:16 +02:00
akallabeth
026b5218ff
[warnings] fix integer narrowing 2024-10-14 10:32:09 +02:00
akallabeth
f0c1cbe20f
[warnings] fix integer narrowing 2024-10-14 10:32:03 +02:00
akallabeth
f00d9c45e0
[warnings] fix integer narrowing
fix function freerdp_tls_write_all
2024-10-03 21:21:46 +02:00
akallabeth
04bd097455
[warnings] fix integer narrowing 2024-10-03 21:21:43 +02:00
akallabeth
40ba7aa03a
[warnings] fix integer narrowing 2024-10-03 21:21:36 +02:00
akallabeth
429474cd0f
[warnings] fix integer narrowing 2024-10-03 21:21:35 +02:00
akallabeth
5e6d0a4183
[warnings] fix integer narrowing 2024-10-03 21:21:35 +02:00
akallabeth
eea56dcf60
[warnings] fix integer narrowing 2024-10-03 21:21:34 +02:00
akallabeth
69b9f81c29
[warnings] fix integer narrowing 2024-10-03 21:21:33 +02:00
akallabeth
afc4f9b92a
[warnings] fix integer narrowing 2024-10-03 21:21:33 +02:00
akallabeth
142d112eee
[warnings] fix integer narrowing 2024-10-03 21:21:32 +02:00
akallabeth
83921b0f67
[warnings] fix integer narrowing 2024-10-03 21:21:32 +02:00
akallabeth
42d66eaebe
[warnings] fix integer narrowing 2024-10-03 21:21:31 +02:00
akallabeth
f9bfaba0d2
[warnings] fix integer narrowing 2024-10-03 21:21:30 +02:00
akallabeth
e878927cd7
[warnings] fix integer narrowing 2024-10-03 21:21:29 +02:00
akallabeth
2e23ddfc1c
[warnings] fix integer narrowing 2024-10-03 21:21:27 +02:00
akallabeth
fe8e1950aa
[warnings] fix integer narrowing 2024-10-03 21:21:21 +02:00
akallabeth
f6eb6ad4d7
[utils,string] add freerdp_extract_key_value
* Add new function freerdp_extract_key_value to extract key/value pairs
  from a string
* replace all sscanf usages with this new function
2024-10-01 13:05:34 +02:00
akallabeth
574742bae8
[warnings] annotate readability-non-const-parameter 2024-10-01 13:05:19 +02:00
akallabeth
ae61278d18
[core,gateway] annotate DeadStore warnings 2024-10-01 13:05:16 +02:00
akallabeth
a1a8846ad2
[utils,proxy] refactor proxy_parse_uri
* eliminate deadstore warnings
* fix missing input checks
2024-10-01 13:05:14 +02:00
akallabeth
1145eb0fc9
[core,gateway] annotate bugprone-sizeof-expression 2024-10-01 13:04:47 +02:00
akallabeth
490ca0453b
[winpr,stream] use Stream_BufferAs instead of casting 2024-10-01 10:34:42 +02:00
akallabeth
11b7633dc0
[channels] use Stream_BufferAs
For WTSVirtualChannelRead and WTSVirtualChannelWrite use Stream_BufferAs
to cast to correct type.
2024-10-01 10:28:13 +02:00
akallabeth
a85068d42e
[core,gateway] allow websocket write up to UINT32_MAX 2024-10-01 10:14:03 +02:00
akallabeth
47c5070805
Merge pull request #10635 from akallabeth/initialize-variables
Initialize variables
2024-09-30 16:04:20 +02:00
akallabeth
aa47e58f11
[core,settings] disable clang-tidy warning
we allocate a UINT32** using calloc and casting it. This allows freeing
this up with free but yields some warnings. Disable for this specific
case
2024-09-30 15:41:45 +02:00
akallabeth
c319541f0d
[core,settings] add unit test
Test cases for freerdp_settings_check_client_after_preconnect
2024-09-30 15:41:31 +02:00
akallabeth
d71c9c566a
[core,settings] monitor configuration check
* fix origin check, might not be primary monitor
* fix a memory leak
2024-09-30 15:41:23 +02:00
akallabeth
dd98b20f4a
[core,utils] improve utils_str_is_empty 2024-09-30 09:32:15 +02:00
akallabeth
c470b23795
Merge pull request #10672 from akallabeth/multimon-warn
Multimon warn
2024-09-27 10:44:06 +02:00
Martin Fleisz
9ec3d9dc0b
Merge pull request #10679 from akallabeth/rdpei-no-thread
Rdpei no thread
2024-09-27 09:58:44 +02:00
akallabeth
cf809e6388
[core,settings] add settings validation
after client side preconnect validate the settings.
Currently checks for some monitor layout limitations are implemented
2024-09-27 09:44:40 +02:00
akallabeth
f400b9a602
[core,client] fix freerdp_channels_check_fds
unify freerdp_channels_check_fds and
freerdp_channels_process_pending_messages as they both do the same
thing.
2024-09-26 17:01:14 +02:00
akallabeth
ab88e79a36
[core,mcs] unify message channel handling 2024-09-26 16:57:27 +02:00
akallabeth
5e13d5bf16
[core,connection] handle message channel in state
When in demand active it is possible that we can receive message channel
messages. In case we receive one switch parsing to the appropriate
handlers.
2024-09-26 14:38:59 +02:00
akallabeth
b1cc0a3191
[proxy,modules] eliminate unused variables 2024-09-24 19:45:16 +02:00