akallabeth
2e5de43564
[core,tcp] unify setting of TCP_NODELAY
2025-09-12 09:59:30 +02:00
akallabeth
bc682c3332
[core,peer] only set TCP_NODELAY on SOCK_STREAM sockets
2025-09-12 08:41:47 +02:00
Armin Novak
d355082c32
[cmake] static build: populate private
...
in pkg-config files only add Requires.private and Libs.private if we
build a static library.
2025-09-11 10:59:26 +02:00
akallabeth
8b9335aa90
[CMake,libfreerdp] add pkg-config dependencies
2025-09-11 07:17:42 +02:00
David Fort
503416b532
settings: remove duplicate setting of GatewayAvdScope
2025-09-05 09:25:34 +02:00
Armin Novak
6851b48b28
[codec,yuv] wrap step calculation
2025-09-04 14:50:42 +02:00
Armin Novak
00968fd6e6
[codec] use default threadpool
2025-09-03 16:22:41 +02:00
akallabeth
ed90a55adf
[core] fix BIO_puts implementations
...
* return -2 if not implemented
* add length sanitizion checks
2025-09-01 09:03:10 +02:00
akallabeth
aa6062e014
[crypto,tls] fix object size warnings
...
As sane limit for strings for BIO_puts set INT_MAX. On systems where
SIZE_MAX is smaller, replace it with SIZE_MAX
2025-09-01 09:03:07 +02:00
Pascal Nowack
25e51878a1
core/redirection: Ensure stream has enough space for all parameters
...
While commit a08e3fc531 fixed the case,
where the stream did not have enough space for the target certificate,
it did miss out a few other cases where the remaining length is just
checked, but not increased when needed. Fix this by now also covering
the remaining cases.
Fixes: a08e3fc531
2025-09-01 06:49:15 +02:00
akallabeth
ec9e74f5c8
[client,x11] add global config file support
2025-08-29 10:53:29 +02:00
akallabeth
e52d024071
[core,settings] unify config path determination
2025-08-29 10:53:26 +02:00
akallabeth
83ffa524e9
[core,settings] fix ReceivedCapabilities reset
2025-08-26 12:09:09 +02:00
James Le Cuirot
51849fcb0a
[aad] Respect the /server-name command line option (again)
...
AAD authentication fails when you give a bare IP to /v.
This was previously merged in PR #11004 but then accidentally reverted
in PR #11006 .
2025-08-20 11:05:40 +01:00
Armin Novak
058cfa972f
[macros] #ifndef MAX
...
on some platforms the macro is part of the standard library, only define
if not already there.
2025-08-20 11:38:46 +02:00
Armin Novak
124e2adafe
[warnings] fix type mismatches
2025-08-18 14:32:29 +02:00
Armin Novak
cbcdde7b34
[core,test] fix -Wdiscarded-qualifiers
2025-08-18 14:01:48 +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
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
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
Pascal Nowack
a08e3fc531
core/redirection: Ensure stream has enough space for the certificate
...
Instead of checking whether enough space for the certificate is
available, simply use Stream_EnsureRemainingCapacity() to extend the
buffer size if needed. Otherwise, server redirection might fail despite
having a valid certificate.
See also: https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/274
2025-08-06 09:12:43 +02:00
Phil Vachon
774ee652a9
Fix YUV conversion for systems with lots of CPUs
...
The YUV CODEC test case exposed a bug where, for an image with a height
less than the number of CPUs in a system, the block size in lines would
end up being zero. This resulted in a divide by zero when parcelling up
workloads for the thread pool.
2025-08-01 16:20:52 -04:00
akallabeth
66ed6d74ac
[crypto,tls] do not use context->settings->instance
2025-07-18 13:48:43 +02:00
akallabeth
12d0e491f6
[cmake] add installWithRPATH
...
this new CMake function installs a target to a destination and adds the
correct relative RPATH to some desired locations
2025-07-17 13:59:51 +02:00
Armin Novak
e723f8db07
[core,proxy] fix BIO read/write methods
...
Introduced with ae05778644 the return of
BIO_read and BIO_write changed.
Revert this to original behaviour and fix a bug in the proxy code
2025-07-11 13:32:20 +02:00
David Fort
a7b051b590
nla: fix reading of TsCspDetail
...
Due to a bug in the tag comparison, ReaderName, CardName, CspName and containerName
were not read on server side during a smartcard logon, leading to incomplete settings.
2025-07-02 09:47:02 +02:00
akallabeth
ec8f2b5dde
[common,settings] force reallocation on caps copy
2025-07-01 09:49:44 +02:00
Armin Novak
daeec1f98d
[crypto,tls] pring big warning for /cert:ignore
2025-06-25 09:26:41 +02:00
akallabeth
a86e3dc53c
[client,sdl] print current video driver
2025-06-24 15:43:57 +02:00
akallabeth
2386bda6a0
[core,connection] fix log level of several messages
...
WARN messages that occur during normal operation have been downgraded to
debug.
2025-06-24 10:35:00 +02:00
akallabeth
efbc9f7cbc
[common,settings] fix int casts
2025-06-24 09:38:23 +02:00
akallabeth
efe9f6fbe8
Merge pull request #11693 from akallabeth/log-fixes
...
Log fixes
2025-06-23 11:39:38 +02:00
akallabeth
419ad81aa7
Revert "[core,settings] default MonitorIds size to MonitorDefArray size"
...
This reverts commit 90a737d48f .
The array is initially empty. Only via command line option or RDP file
setting it will be populated.
Any use by a client later on requires the client to initialize the array
according to its needs
2025-06-23 11:01:55 +02:00
akallabeth
59bfe47ef7
[core,gateway] less verbose logging
...
Do not log HTTP_DENIED as warning, this is expected on unauthenticated
connection attempts.
2025-06-20 11:45:23 +02:00
akallabeth
bee5edeb31
[core,proxy] fix IPv4 and IPv6 length
2025-06-19 23:24:09 +02:00
Simon Nivault
5d32afcdd0
Don't bypass PubSub_OnChannelDisconnected in case of channel error
2025-06-17 18:21:50 +02:00
akallabeth
6f03b25f8e
[core,nla] use wcslen for password length
2025-06-16 19:07:53 +02:00
akallabeth
9b21bc8fc2
[primitives,neon] fix YUV conversion, handle odd x/y
2025-06-16 10:59:35 +02:00
akallabeth
e049be9837
[codec] log primitives used
2025-06-13 13:52:28 +02:00
akallabeth
3d9ad1cb46
[primitives] fix neon detection
2025-06-13 10:41:59 +02:00
akallabeth
ee6d95ab25
[warnings] fix unused warnings
2025-06-13 10:15:56 +02:00
akallabeth
92f88b37d8
[primitives,yuv] fix YUV420 to RGB
2025-06-13 09:53:24 +02:00
akallabeth
b57281ec99
[core,timer] fix use on platforms not supported
...
If a platform does not support the freerdp_timer_* API let it fail
silently.
2025-06-13 09:53:24 +02:00
Armin Novak
90a737d48f
[core,settings] default MonitorIds size to MonitorDefArray size
2025-06-11 10:14:15 +02:00
akallabeth
6168a7bfd1
[client,common] make all azure settings configurable
2025-06-10 16:30:06 +02:00
akallabeth
d690ea0cb2
[utils,smartcard] fix possible assertion
2025-06-10 16:27:16 +02:00