Commit Graph

21728 Commits

Author SHA1 Message Date
Armin Novak
4263370389 [scripts,codespell] ignore external folder 2025-08-20 10:01:26 +02:00
Armin Novak
83b9595755 [transport] fix doxygen: use correct version 2025-08-20 10:01:22 +02:00
akallabeth
1e0688f0c7 Merge pull request #11790 from akallabeth/fix-cred-marshal
[winpr,credentials] prefer utf-8 over utf-16-LE
2025-08-20 09:43:02 +02:00
Armin Novak
376a2c6e32 [winpr,credentials] prefer utf-8 over utf-16-LE
When implementing the wide character functions convert the string to
utf-8 before manipulation to avoid endianess issues.
2025-08-20 09:42:37 +02:00
Armin Novak
e87ef20f55 [winpr,crt] always convert to/from UTF-16LE 2025-08-20 09:15:56 +02:00
akallabeth
a42bcc473a Merge pull request #11789 from akallabeth/proxy-filter-fix
[proxy,modules] ignore bitmap-filter skip remaining
2025-08-19 17:21:45 +02:00
akallabeth
5a188d3e8a [proxy,modules] ignore bitmap-filter skip remaining
There might be fragmented packets that need to be dropped. Ignore
remaining data on skip.
2025-08-19 07:37:59 +02:00
akallabeth
78a7170f90 Merge pull request #11771 from akallabeth/floatbar-ignore
[client,x11] ignore floatbar events
2025-08-18 14:41:29 +02:00
akallabeth
78d51e79c6 Merge pull request #11787 from akallabeth/fullchain
Fullchain support
2025-08-18 14:41:12 +02:00
Armin Novak
124e2adafe [warnings] fix type mismatches 2025-08-18 14:32:29 +02:00
Armin Novak
651de64c88 [client,common] use _strdup 2025-08-18 14:32:09 +02:00
Armin Novak
bddf6c5692 [channels,printer] fix missing const casts 2025-08-18 14:31:38 +02:00
Armin Novak
c7c7874bf0 [channels,cliprdr] improve casts 2025-08-18 14:11:50 +02:00
Armin Novak
7b7cc538dd [client,common] fix type mismatch warnings 2025-08-18 14:05:54 +02:00
Armin Novak
cbcdde7b34 [core,test] fix -Wdiscarded-qualifiers 2025-08-18 14:01:48 +02:00
Armin Novak
9b42053f25 [client,common] fix warnings in TestClientRdpFile.c 2025-08-18 13:58:18 +02:00
Armin Novak
96bc120213 [crypto,tls] set server certificate chain 2025-08-18 13:39:43 +02:00
Ofir Matasas
5ee98aab3f Add extract_chain_from_pem function for getting cert chain 2025-08-18 13:39:40 +02:00
Martin Fleisz
e429e9a03f Merge pull request #11780 from akallabeth/rdp-file-parser-split
[client,common] add freerdp_client_populate_settings_from_rdp_file_un…
2025-08-18 13:34:14 +02:00
akallabeth
0bf32a4a1a [client,x11] ignore floatbar events
If a button press happens on the floatbar ignore it and do not send it
to the remote.
For ButtonRelease and MotionEvent this is not done.
2025-08-18 13:25:25 +02:00
Armin Novak
e47b631d40 [client,common] fix warnings in unit test 2025-08-18 11:47:50 +02:00
Armin Novak
bc1f6bd807 [proxy,modules] fix static entry point name 2025-08-18 11:30:52 +02:00
Armin Novak
b8fe92caeb [cmake,channels] unset client/server options
If a channel is deactivated, delete the client and server options (e.g.
reset them to default) to avoid having something like
CHANNEL_NAME=OFF AND CHANNEL_NAME_CLIENT=ON
2025-08-18 11:17:03 +02:00
Armin Novak
4182472c31 [client,common] fix parsing of RdgIsKdcProxy 2025-08-18 11:17:03 +02:00
akallabeth
67fb98d268 [client,common] add settings json
Use freerdp_settings_(de)serialize to compare result of rdpFile parsing.
2025-08-18 11:17:02 +02:00
akallabeth
90f1f2bd37 [client,common] only apply defaults to unset 2025-08-18 09:47:14 +02:00
akallabeth
ad22d5fdff [client,common] add freerdp_client_populate_settings_from_rdp_file_unchecked
Sometimes it is required to have raw values from a RDP file converted to
rdpSettings without consistency modifications. Expose this with a new
function.
2025-08-18 09:47:11 +02:00
Martin Fleisz
b04298de70 Merge pull request #11786 from akallabeth/null-fix
LoadLibrary Null fix
2025-08-18 09:13:49 +02:00
Armin Novak
93221680a5 [proxy,bitmap-filter] fix data skip check 2025-08-18 08:58:38 +02:00
Armin Novak
03ae8b242e [proxy,modules] add missing entries to pf_modules_get_filter_type_string 2025-08-18 08:49:25 +02:00
Armin Novak
ce6d3e7ea2 [proxy,modules] fix bitmap filter entry point 2025-08-18 08:36:19 +02:00
Armin Novak
4eed6a1ed9 [proxy,modules] use GetModuleHandleA to load static
when loading static modules use GetModuleHandleA to allow this to work
with windows as well.
2025-08-18 08:33:20 +02:00
Armin Novak
81bc5d825c [winpr,library] implement GetModuleHandle[AW] 2025-08-18 08:33:13 +02:00
akallabeth
d8aff4aa1d Merge pull request #11768 from akallabeth/proxy-module-shared
Proxy module static and shared linking support
2025-08-14 11:12:00 +02:00
akallabeth
00a5775fc4 [proxy,modules] Declare proxy module entry function
When building static proxy modules export the entry function name as
<module_name>_proxy_module_entry_point instead of only
proxy_module_entry_point when using shared linking
2025-08-14 08:32:38 +02:00
akallabeth
a2510d1f5d [proxy,modules] add support for statically linked
Look in proxy library/executable itself for a module entry point. This
allows statically linking in proxy modules.
2025-08-14 08:14:44 +02:00
akallabeth
3f7f3a3bd8 [winpr,library] Fix LoadLibraryX and LoadLibraryW
Using a NULL library name should return a handle to the
library/executable itself.
2025-08-14 08:14:43 +02:00
akallabeth
8b78ca28b0 Merge pull request #11779 from akallabeth/tenantid-fix
[client,common] fix tenantid command line parsing
2025-08-14 08:13:56 +02:00
akallabeth
e8b45fb8dc [client,common] fix tenantid command line parsing 2025-08-13 22:09:27 +02:00
Martin Fleisz
eac96fac52 Merge pull request #11774 from akallabeth/wlog-improve
Wlog improve type checks
2025-08-13 15:23:36 +02:00
akallabeth
65f18983ed [warnings] Fix format string errors
* Fix casts of format string arguments (%p requires void*)
* Fix format string to match type of arguments
2025-08-13 15:09:48 +02:00
akallabeth
c3e507a82e [winpr,wlog] Replace WLog_PrintMessage calls
Prefer WLog_PrintTextMessage to have proper format string checks in
place.
2025-08-13 15:08:01 +02:00
akallabeth
df89b04424 [winpr,wlog] Add specialized text log functions
The generic WLog_PrintMessage(VA) functions lack proper checks of the
supplied format strings.
Add WLog_PrintTextMessage(VA) functions that do compile time checks of
supplied format strings to uncover usage errors early and use them in
the logger macros.
2025-08-13 15:07:51 +02:00
akallabeth
03a3f90e4b [winpr,test] Fix missing cast in TestMarshalUnmarshal
The argument in the test has wrong type breaking package builds. Cast to
required argument type to fix.
2025-08-13 10:08:24 +02:00
akallabeth
7f38019e90 Merge pull request #11769 from akallabeth/tidy-silence
[clang-tidy] fix various warnings
2025-08-11 14:25:22 +02:00
akallabeth
6284bba9f0 [clang-tidy] fix various warnings
* silence tidy warnings for public API symbols (we can't fix these for
  compatibility reasons)
* fix issues with casting
2025-08-11 14:11:40 +02:00
akallabeth
5f5485f2d3 Merge pull request #11747 from akallabeth/proxy-rpath
[cmake] add installWithRPATH
2025-08-11 12:38:47 +02:00
akallabeth
97dd6d728c Merge pull request #11761 from pvachon/master
Clean up bugs exposed on systems with high core counts
2025-08-11 09:34:19 +02:00
akallabeth
67ab49610c Merge pull request #11766 from akallabeth/silence-success
[client,common] do not log success
2025-08-11 07:22:37 +02:00
Phil Vachon
e620bf6c53 Actually make the correct cast
The cast works best if you don't imply another conversion to a
temporary. Just return the value directly from the syscall/pthreads
call, while casting to a DWORD.
2025-08-10 15:09:29 -04:00