Commit Graph

6503 Commits

Author SHA1 Message Date
akallabeth
8a0cb6607f [core] rdp_handle_message_channel 2025-02-27 20:30:30 +01:00
akallabeth
504e87600c [core,transport] use allocated streams
in transport we end up in a race condition, so do not use the stream
pool for send packets.
2025-02-27 20:30:28 +01:00
akallabeth
413c9b8a85 [primitives,sse] enable and refactor prefetch code 2025-02-27 05:41:59 +01:00
akallabeth
a520f845a3 [warnings] fix -Wunused-macro
comment or delete macros that were not used.
2025-02-26 22:12:18 +01:00
Armin Novak
f24a562f1e [utils,smartcard] check output buffer length
check the resulting length to the one preallocated.
2025-02-26 18:24:51 +01:00
akallabeth
82d74dbc96 [codec,test] fix warnings in img2bgra 2025-02-22 22:41:44 +01:00
akallabeth
93c7e456c8 Merge branch 'aac-fix' into android-fixes 2025-02-22 15:34:39 +01:00
akallabeth
06a5bd1183 [codec,dsp] ignore encoder errors
Due to the AAC encoder sometimes returning errors (due to some internal
foobar) ignore these and just move on to the next packet to encode.
2025-02-22 15:33:21 +01:00
akallabeth
12764b1ebe [warnings,android] fix build warnings 2025-02-22 15:22:01 +01:00
akallabeth
73e26b6f96 Merge pull request #11229 from akallabeth/codec-test
[codec,test] fix type mismatch
2025-02-22 14:38:40 +01:00
akallabeth
4b0febc2d2 Merge pull request #11226 from Devolutions/faulty_string_length_check_in_credssp_auth
[core,credssp_auth] Fix faulty string length check in `credssp_auth_client_init_cred_attributes`
2025-02-22 14:37:19 +01:00
akallabeth
0700485cf5 [codec,test] fix type mismatch 2025-02-22 14:17:57 +01:00
Richard Markiewicz
3ad28b2771 [core,credssp_auth] Fix faulty string length check in credssp_auth_client_init_cred_attributes 2025-02-21 13:32:38 -05:00
akallabeth
790b53fc86 [codec,test] add cursor test dumps 2025-02-20 16:06:21 +01:00
akallabeth
952e3962b6 [codec,test] img2bgra utility
allow reading an image and create a c header (raw data, bgra)
2025-02-20 15:59:16 +01:00
akallabeth
40dce19b0e [codec,test] add new unit test TestFreeRDPCodecCursor
* Generate a series of cursor images from source dumps and compare these
  to a reference image
* Generation is automatic by picking up .c/.h files from
  libfreerdp/codec/test/cursor directory.
2025-02-20 15:59:11 +01:00
akallabeth
018ce108eb [codec,curso] add option do dump cursor images
* dump raw data and converted image to build binary directory when run
2025-02-20 15:56:15 +01:00
akallabeth
4506a912e5 [codec,cursor] fix 24bpp cursor image generation 2025-02-20 12:09:18 +01:00
akallabeth
bd1c781b88 [warnings] address new warnings on ci 2025-02-18 20:06:35 +01:00
akallabeth
a44985c823 [core,freerdp] send MCS Disconnect Provider Ultimatum PDU
On client side connection termination send a [MS-RDPBCGR] 1.3.1.4.1
User-Initiated on Client disconnect PDU
2025-02-17 10:36:03 +01:00
akallabeth
ea330b4ca5 [core,gcc] improve consistency checks 2025-02-16 14:48:18 +01:00
akallabeth
dd69531cf7 [locale,keyboard] fix loading from file 2025-02-14 21:49:55 +01:00
akallabeth
7bfb8bc576 [core,orders] add sanity checks
Check coordinates of polygon for out of range and abort if detected.
2025-02-14 13:22:48 +01:00
akallabeth
3b7c8042d8 [core,gcc] add monitor rect sanity checks 2025-02-14 13:18:23 +01:00
akallabeth
761c62f754 [common,settings] add comments for compat entries 2025-02-14 09:09:46 +01:00
akallabeth
b223b0318b Merge pull request #11167 from akallabeth/unused-warn
Fix all unused warnings
2025-02-14 08:55:33 +01:00
akallabeth
97a79933d6 [common,settings] fix backward compatibility for LocalMonitorOffset
remmina is using the setters for the old (invalid) unsigned offsets
2025-02-13 17:49:22 +01:00
akallabeth
74cd8d8fe0 [freerdp,warnings] fix -Wunused-parameter 2025-02-13 15:53:54 +01:00
akallabeth
579d9b352d [tools,settings] generate getter/setter with maybe_unused
The rdpSettings getter/setter might be empty, so the parameters of the
functions might be unreferenced.
2025-02-13 15:00:15 +01:00
akallabeth
323c6da940 [core] fix warnings and invalid return type 2025-02-13 14:43:31 +01:00
akallabeth
5b1c254f2d [utils,smartcard] fix return checks for SCardListReaders 2025-02-13 12:00:12 +01:00
Martin Fleisz
99883de3e3 Merge pull request #11163 from akallabeth/sse-reorg
[primitives,sse] split headers
2025-02-12 14:41:54 +01:00
akallabeth
22efdfbc8f [simd] move CPU feature detection
Use static inline functions in header to do CPU feature detection.
The c files are already compiled/linked with SIMD support and might have
used instructions from that featureset already.
2025-02-12 14:24:10 +01:00
akallabeth
fd13e9b919 [primitives,sse] unify load/store
* Use LOAD_SI128 to load __m128i values
* Use STORE_SI128 to store __m128i values
2025-02-12 14:24:10 +01:00
akallabeth
76012aac42 [primitives,sse] split headers
Split out all SSL inline functions and defines from prim_internal.h. The
header is included in files build without -msse and on some platforms
compilation will fail due to that.
2025-02-12 14:24:07 +01:00
Armin Novak
ac1599333e [common,settings] drop MonitorLocalShiftX|Y compat 2025-02-12 14:04:22 +01:00
Armin Novak
0e006e31fe [warnings] fix sign conversion 2025-02-12 12:52:29 +01:00
akallabeth
9f8ed06f9a [client,cmdling] use a typedef for callback function
typedef freerdp_command_line_handle_option_t to have a common type for
callback functions
2025-02-11 12:21:41 +01:00
akallabeth
0c0e45c6d0 [core,freerdp] New API freerdp_presist_credentials
A new function that allows persisting runtime changes to credential
settings so reconnect/redirect/... does not lose current values.
2025-02-11 12:08:55 +01:00
akallabeth
f0fa8662e8 Merge pull request #10853 from akallabeth/cmake-multiconfig2
Cmake multiconfig2
2025-02-11 11:51:36 +01:00
akallabeth
0ae7c4b52d [cmake] refactor configuration
* Split common stuff to reusable files
* Disable INTERPROCEDURAL_OPTIMIZATION for SDL2/3 resource targets
2025-02-11 11:33:34 +01:00
akallabeth
1bfc9c7c1a [core,update] split update_send_new_or_existing_window 2025-02-11 10:14:54 +01:00
akallabeth
0aab574bbf [core,update] split update_write_bitmap_data 2025-02-11 10:14:51 +01:00
akallabeth
72cf699516 [core,update] split update_send_new_or_existing_notification_icons 2025-02-11 10:14:50 +01:00
akallabeth
01a6b1e7e5 [codec,sse] split nsc_encode_argb_to_aycocg_sse2 2025-02-11 10:14:43 +01:00
akallabeth
25b5dec23d [utils,smartcard] return proper list for smartcard listing 2025-02-10 17:32:12 +01:00
akallabeth
469588d61d [locale,keyboard] fix integer conversions 2025-02-10 13:27:46 +01:00
akallabeth
4013b3132b [clang,tidy] fix sign warnings 2025-02-10 13:11:16 +01:00
akallabeth
7bea2ad5ca [locale,keyboard] use int64_t to avoid sign warnings 2025-02-10 12:39:28 +01:00
akallabeth
00e61074b2 [unused] eliminate unused functions 2025-02-10 09:32:19 +01:00