Commit Graph

6522 Commits

Author SHA1 Message Date
Michael Tokarev
19f129654e spelling: dont 2025-03-06 13:24:29 +03:00
akallabeth
44d5461cd5 [warnings] fix -Wunused-but-set-variable 2025-03-06 07:15:20 +01:00
Armin Novak
9f5a00edd8 [warnings] fix various warnings
* Log values ignored but with a defined value (previously unused)
* Fix missing define guards for deprected symbols in unit tests
2025-03-05 15:44:23 +01:00
akallabeth
0f45b5e40c Merge pull request #11288 from akallabeth/tsg-fix
[core,gateway] add tsg checks
2025-03-05 14:17:45 +01:00
akallabeth
7496f6e42c Merge pull request #11273 from akallabeth/cleanups
[client,x11] implement keyboard mapping
2025-03-05 14:07:12 +01:00
Armin Novak
b138f6ca18 [core,gateway] add tsg checks 2025-03-05 14:06:16 +01:00
Armin Novak
e9a084ea05 [core] fix resource leaks 2025-03-05 11:04:50 +01:00
akallabeth
d765de8484 [warnings] eliminate dead code 2025-03-05 11:01:44 +01:00
akallabeth
61910ad0b5 [dead code] remove some unused code
also fix some parts no longer compiling after enabling it again
2025-03-04 17:24:13 +01:00
akallabeth
d03b4b91d5 [cmake,freerdp] add WITH_FREERDP_3x_DEPRECATED
This new CMake option (ON by default) allows building the library with
all symbols deprecated during 3.x release cycle disabled.
This allows compatibility testing external applications for future
FreeRDP 4.x support
2025-03-04 13:26:45 +01:00
akallabeth
8ea2c5dde6 [client,x11] implement keyboard mapping
* move to client code
* fix parse_xkb_rule_names
2025-03-04 13:26:42 +01:00
akallabeth
9f90d22c9b [utils,pcap] code cleanup 2025-03-04 12:42:40 +01:00
akallabeth
9b1c016371 [freerdp,codec] add freerdp_image_fill_ex 2025-03-04 12:42:34 +01:00
akallabeth
41b0598fc1 [warnings] eliminate dead code 2025-03-04 09:57:46 +01:00
akallabeth
6d541c8691 [warnings] eliminate dead code 2025-03-04 09:53:05 +01:00
akallabeth
7406855337 Merge pull request #11262 from akallabeth/license-fix
Redirection && StreamPool usage fixes
2025-03-04 09:13:56 +01:00
akallabeth
031dd16079 [warnings] clean up unused parameter and dead code 2025-03-03 12:08:35 +01:00
akallabeth
d2914e3935 [core,freerdp] adjust disconnect provider ultimatum
do not send on cancel if the context is a server side one.
2025-02-27 20:30:32 +01:00
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
d4f7fb081b [warnings] fix -Wunused-function
* delete unused functions that are no longer required
* define guard functions only used while debugging
2025-02-27 19:29:46 +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