akallabeth
d5eecda8a3
[crypto,cert] log if empty certificate is read
2024-01-15 13:13:42 +01:00
Armin Novak
5298580bbd
[winpr,sspi] properly log all kerberos calls
...
to ease debugging log each failure of a kerberos related function along
with location and function name
2024-01-15 08:10:30 +01:00
Mariusz Bialonczyk
4c17dfb71d
[uwac] output: take a max scale into scaling code
...
Fix for a hybrid multimonitor configurations:
Previous code was working for me because the display with scale=2
was last on the wayland display list. After restarting it was earlier.
To fix this - just take the highest scale provided by a display.
Similar as eg. here the SDL is doing:
b5bc64aa55/src/video/wayland/SDL_waylandwindow.c (L1170)
2024-01-11 16:00:40 +01:00
Mariusz Bialonczyk
26017c71bd
[uwac] input: release pressed keys when loosing window focus
...
The commit is fixing the problem when eg. a user is pressing some
modifier key to switch from active FreeRDP window and when get back to
that window, it "virtually" has that modifier key pressed, thus leading
to pressing eg. `Win+r` instead of just `r`.
2024-01-11 16:00:40 +01:00
Mariusz Bialonczyk
36e79b449d
[uwac] input: fix keyboard "sticky" keys when entering window
...
The commit is fixing the following problem:
When the freerdp window gets keyboard focus and is notified,
it wrongly process keys which are *held*, not a freshly pressed.
The comment in the code explains it more.
2024-01-11 16:00:40 +01:00
Vic Lee
16206cb505
[channels,drdynvc] Add settings to enable synchronous dynamic channels.
2024-01-11 15:24:55 +01:00
Vic Lee
277ea28926
[channels,rdpgfx] fix potential stack corruption.
2024-01-11 13:44:47 +01:00
efferre79
5b731aca4d
command line help should not be part of the log info
2024-01-11 09:12:57 +01:00
Armin Novak
650154b2e7
[channels,rdpgfx] add debug logs for server side
...
add debug logs for cache import offer and reply
2024-01-10 21:49:38 +01:00
Armin Novak
a45e464d6f
[client,SDL] check for timer initialized
...
before manipulating SDL timers check if the SDL subsystem was actually
initialized. Fixes #9736
2024-01-10 19:53:05 +01:00
Armin Novak
d1a159c483
[build,mac] FFmpeg --enable-cross-compile
2024-01-10 12:41:34 +01:00
Armin Novak
55f92a329c
[build,android] simplify SDK cmake check
2024-01-10 12:41:34 +01:00
Armin Novak
47017af3e4
[build,mac] enable internal RC4, MD4 and MD5
2024-01-10 12:41:34 +01:00
Armin Novak
a371309672
[cmake,build] enable wayland on BSD
...
https://reviews.freebsd.org/differential/changeset/?ref=1272215
2024-01-10 11:42:16 +01:00
akallabeth
78cdb555c5
[winpr,sysinfo] add additional neon check
...
systems not explicitly handled in IsProcessorFeaturePresent now enable
NEON intrinsics if __ARM_NEON is defined.
Fixes #9746
2024-01-10 09:27:46 +01:00
akallabeth
0e828bd657
[core,peer] properly handle out of sequence PDU
...
If the peer state machine is in state
CONNECTION_STATE_CAPABILITIES_EXCHANGE_MONITOR_LAYOUT properly check for
available data. If a PDU was received in this state it is an out of
sequence PDU (that might happen during deactivation/reactivation) and
must be parsed.
2024-01-10 08:27:14 +01:00
akallabeth
a612463c96
[core,peer] improve logging
...
log unhandled data in peer_recv_callback as warning if the loop
terminates.
2024-01-10 08:27:14 +01:00
akallabeth
2e42d8ac2b
[core,connection] add more logging
...
log peer->ClientCapabilities execution failures
2024-01-10 08:27:14 +01:00
akallabeth
59ed125eed
[server,proxy] add TlsSecLevel option to config
...
To support legacy targets add the TlsSecLevel configuration option that
is equivalent to the /tls:seclevel option of the client implementations.
This allows automatic configuration of OpenSSL legacy providers if they
are available.
2024-01-09 15:53:22 +01:00
akallabeth
af9e74273d
[common,assist] improve test to cover full parsing
2024-01-09 15:18:37 +01:00
akallabeth
c2f4ad80a5
[common,settings] fix TargetNetAddresses usage
...
* use a common function to allocate both, TargetNetAddresses and
TargetNetPorts
* unify handling, utilize helper functions as much as possible
2024-01-09 15:18:37 +01:00
akallabeth
f6a208f75e
[cmake] generate relative pkgconfig path
...
generate the relative pkgconfig path from the actual install locations.
fixes #9718
2024-01-05 14:19:34 +01:00
Mariusz Bialonczyk
09c1269962
[uwac] window: fix damage region dimensions (rounding errors)
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
d56af70dc1
[uwac] input: fix a crash when the pointer_focus is not set yet when starting
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
72b6c7096d
[uwac] scaling: fix damage surface
...
Some detailed overview of this change:
I was trying to use the wl_surface_damage_buffer() [1] function, like in
this [2] code, but there were some problems with calling it; even more,
we also need to check the compositor version before calling it.
Next approach was using full damage like described here [3]. This was
working fine, but it was of course suboptimal. Finally: looking at
chromium/ozone code [4] I ended up with correctly calculating the damage
region within surface coordinates.
Refs:
[1] https://wayland-client-d.dpldocs.info/wayland.client.protocol.wl_surface_damage_buffer.html
[2] b01c31b24f/clients/simple-damage.c (L585)
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1648872#c21
[4] 6763b7710c/ui/ozone/platform/wayland/host/wayland_surface.cc (118)
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
b14fe531a6
[uwac] window: check for viewporter before invoking wp_viewporter_get_viewport()
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
8d661cc85a
[uwac] input: fix cursor scaling
...
Fixes #9687
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
f73ecf6000
[uwac] input: pointer_handle_motion: take a scale into account
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
c29ba79851
[uwac] add scaling support using viewporter
protocol
...
Wayland compositors can support the wp_viewporter protocol,
which allows for the mapping of arbitrarily sized buffer
regions to output surfaces.
This result in correct scaling on HiDPI outputs with scaling
enabled.
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
5f0db48443
[uwac] output: assign actual_scale to display
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
472c0920cc
[uwac] display: add viewporter
2024-01-05 14:17:38 +01:00
Mariusz Bialonczyk
9f60438102
[uwac] add viewporter protocol
2024-01-05 14:17:38 +01:00
akallabeth
2b39afcc7a
[client,SDL] optimize map lookup
2024-01-05 09:18:07 +01:00
akallabeth
fbc25978ae
[common,assist] fix file parser ( Fixes #9726 )
...
* only append N or U entry if it was found
* append port for N and U entries
2024-01-04 10:50:12 +01:00
Vic Lee
33447dc16e
[nla,transport] move public key retrieval to transport IO.
2024-01-03 08:40:39 +01:00
Armin Novak
87557b1e4e
[release] start new development cycle 3.1.1-dev0
2023-12-22 17:29:20 +01:00
Armin Novak
959a195df7
[release] update version to 3.1.0
2023-12-22 17:29:20 +01:00
Armin Novak
dc9806f049
[release] changelog
2023-12-22 17:29:20 +01:00
Armin Novak
0aa084d261
[cmake,lto] only check again if not detected
2023-12-22 16:21:30 +01:00
Armin Novak
a7decba8c2
[cmake] unify common options
2023-12-22 16:21:30 +01:00
Armin Novak
0245c877b6
[ci,nightly] fix rpm lint warnings
2023-12-22 16:21:30 +01:00
Armin Novak
7debd0f621
[cmake] set policy 0091
...
On windows we need to set the runtime linker settings extra
https://cmake.org/cmake/help/latest/policy/CMP0091.html
2023-12-22 15:37:56 +01:00
Armin Novak
19d3c27e3d
[cmake] link SDL only static if explicitly requested
2023-12-22 15:37:56 +01:00
Armin Novak
11d84f067d
[client,sdl] fix full static linking
2023-12-22 15:37:56 +01:00
Armin Novak
d3d9302fa9
[cmake,winpr] fixed typo
2023-12-22 15:37:56 +01:00
Armin Novak
6009a516dd
[client,win] fix executable output name
2023-12-22 15:37:56 +01:00
Armin Novak
175a3ca09a
[cmake] do not append EXECUTABLE_SUFFIX to OUTPUT_NAME
2023-12-22 15:37:56 +01:00
Armin Novak
fce8319c88
[ci,nightly] update windows build
2023-12-22 15:37:56 +01:00
Armin Novak
593dacdc3d
[release] update release script
...
* create tar.bz2 and tar.xz alongside tar.gz
* add sha512
2023-12-22 11:31:11 +01:00
Armin Novak
7d641a67b9
[doc,manpage] name manpages versioned
...
if WITH_BINARY_VERSIONING is activated also version the manpages to
match the binary names
2023-12-22 10:24:09 +01:00