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
Armin Novak
b1cb6b3efc
[server,proxy] update manpage with config steps
2023-12-22 10:24:09 +01:00
Armin Novak
2b654a8226
[client,sdl] use versioned resource location
...
if WITH_BINARY_VERSIONING is ON also use versioned resource locations.
2023-12-22 10:24:09 +01:00
Armin Novak
523e2fb359
[cmake] run xsltproc in verbose mode
2023-12-22 10:24:09 +01:00
Armin Novak
598266b2fc
[client,common] add clipboard help text
2023-12-22 10:24:09 +01:00
Armin Novak
6a1a2eb661
[client,common] update manpage helper binary
...
improve formatting of docbook xml from argument description
2023-12-22 10:24:09 +01:00
Armin Novak
89bd55e1f6
[client,common] improve cmdline help formatter
...
break on listings (*)
2023-12-22 10:24:09 +01:00
Armin Novak
f7640288f7
[ci,flatpak] update build instructions
2023-12-22 10:07:02 +01:00
Armin Novak
31085cb5a5
[ci,nightly] update debian package build
2023-12-22 10:07:02 +01:00
Armin Novak
017f5b6e2c
[ci,nightly] update rpm spec
2023-12-22 10:07:02 +01:00
Rui Carmo
f52bf1616e
macOS bundle does not require manpages
...
By disabling them, we also do away with the need to have docbook-xsl installed (which, incidentally, is not properly detected when installed via `brew`)
2023-12-21 20:19:25 +01:00
Armin Novak
b04271ae2d
[cmake] add executable versioning
...
optionally append API version to generated binaries
2023-12-21 18:56:51 +01:00
Armin Novak
7f25a7cebf
[cmake] provide default project version
...
each subproject inherits the project version of the top level project
2023-12-21 18:56:51 +01:00
Armin Novak
4aad6e9d42
[cmake] add UWAC_FORCE_STATIC_BUILD
...
since uwac is only used by wlfreerdp add an option to directly link it
with -DUWAC_FORCE_STATIC_BUILD=ON without installing any header or
library
2023-12-21 18:56:51 +01:00
Armin Novak
93148ea35f
[cmake] add RDTK_FORCE_STATIC_BUILD
...
since rdtk is only used by shadow server add an option to directly link
it with -DRDTK_FORCE_STATIC_BUILD=ON without installing any header or
library
2023-12-21 18:56:51 +01:00
Rui Carmo
0bc336967b
Fix SDL GItHub Repo in Mac build script
...
Apparently a typo.
2023-12-21 17:54:27 +01:00