akallabeth
229916d02e
[settings] replace XSelectionAtom
...
the common command line parser should not touch unstable API settings,
so use newly introduced FreeRDP_ClipboardUseSelection
2023-10-19 14:22:19 +02:00
akallabeth
4d99b4ff9b
[settings] add ClipboardUseSelection
2023-10-19 14:22:19 +02:00
Armin Novak
22e2d49702
[ci] enable WITH_SWSCALE for linux builds
2023-10-19 13:43:57 +02:00
Armin Novak
60dc6081de
[winpr,tools] WITH_WINPR_TOOLS now single truth
...
use all preconditions for the default of WITH_WINPR_TOOLS and do not
check these later on.
2023-10-19 13:43:57 +02:00
akallabeth
92e453754b
[CMake] add public headers to targets
...
Add all public headers to the respective library targets.
This helps an IDE to show the headers grouped to the correct target.
2023-10-19 13:43:57 +02:00
Pascal Nowack
9835a916ae
settings: Add missing to_string() case for RDP_VERSION_10_12
2023-10-19 04:47:53 +02:00
Pascal Nowack
038660949c
settings: Fix wrong version string
2023-10-19 04:47:53 +02:00
Pascal Nowack
5a4818b89d
codec/audio: Fix order of wave format ids
...
The wave format ids in this file are sorted by their value in an
ascending order, except for the Opus value. So, fix this inconsistency.
2023-10-19 04:47:53 +02:00
kevin147147
926c36b63b
Update strings.xml
2023-10-19 04:47:14 +02:00
Pascal Nowack
cd69b8ea63
codec/audio: Add missing format id for Opus codec
...
Id taken from [0].
[0]: https://learn.microsoft.com/en-us/windows/win32/medfound/audio-subtype-guids
2023-10-18 11:51:47 +02:00
Armin Novak
7dc44942cd
fix #9476 , command line setting for floatbar
2023-10-17 21:25:07 +02:00
akallabeth
535c4ef639
[warnings] deactivate GCC extension for IFCALLRESULT
2023-10-17 11:07:11 +02:00
akallabeth
cc6cfd5e7d
[warnings] silence warnings for GetProcAddress
2023-10-17 11:07:11 +02:00
akallabeth
7a8e1442bf
[warnings] add pragma to silence pedantic warnings
2023-10-17 11:07:11 +02:00
akallabeth
1d21c0c609
[warnings] properly cast constants to char
2023-10-17 11:07:11 +02:00
Pascal Nowack
aac8945fe9
server: Add channel handling for location channel ([MS-RDPEL])
...
With the location channel, an RDP server can redirect the location of
the user from the client side to the server side.
The PDUs are almost the same as in the documentation, except for the
encoded types, these ones are here already parsed.
Optional values are accessed via pointers. If the pointer of a value is
NULL, then that value was not supplied by the client side.
2023-10-17 10:18:08 +02:00
Pascal Nowack
5ec5be7ac4
utils: Add helper functions to parse encoded types into regular ones
...
Some virtual channels, like the location channel use encoded types to
lower the bandwidth usage.
Add common helper functions, so that each virtual channel doesn't have
to reimplement the parser functions again and again.
2023-10-17 10:18:08 +02:00
David VERON
63e1863c9a
fixes rdp_read_info_null_string api
...
Removed buggy "isNullTerminated" parameter, as RDP specs tells
that cbLen includes the nullTerminator if there is one.
2023-10-16 15:18:52 +02:00
akallabeth
f4afd3922e
[cmake] readd NMake warning reset
2023-10-16 15:10:13 +02:00
akallabeth
f322bf515e
[nightly] fix debian dependency name
2023-10-16 15:10:13 +02:00
Armin Novak
60390ea40c
[pragma] unify compiler diagnostics
2023-10-16 15:10:13 +02:00
Armin Novak
c91a250623
[warnings] add WINPR_FORMAT_ARG
...
with WINPR_FORMAT_ARG format strings are marked for MSVC to avoid
warnings
2023-10-16 15:10:13 +02:00
Armin Novak
53b65ff7bd
[documentation] fix Wdocumentation warnings
2023-10-16 15:10:13 +02:00
Armin Novak
2373db233e
[server,audin] fix Wdocumentation-unknown-command
2023-10-16 15:10:13 +02:00
Armin Novak
a16479f5d5
[winpr,ncrypt] cast constants to SECURITY_STATUS
2023-10-16 15:10:13 +02:00
Armin Novak
07543a6042
[warnings] fix various warnings
...
* missing const in casts
* missing static for functions
* missing WINPR_ATTR_FORMAT_ARG for printf like functions
2023-10-16 15:10:13 +02:00
Armin Novak
9f7cfe51ba
[pubsub] fix API definitons to avoid warnings
2023-10-16 15:10:13 +02:00
Armin Novak
4778203340
[restrict] remove from in/out buffers
2023-10-16 15:10:13 +02:00
Armin Novak
1761edf2f8
[cmake] add default compiler flags
2023-10-16 15:10:13 +02:00
Armin Novak
2b51551cb8
[winpr,tests] remove always false check
2023-10-16 15:10:13 +02:00
Armin Novak
fe28f9ed9c
[keyword,restrict] do not use for shift operations
...
shifting operations are done on a in/out buffer, so the restrict keyword
is not appropriate for that.
2023-10-16 15:10:13 +02:00
Armin Novak
b72b4fecff
[cJSON] add pkg-config fallback
2023-10-16 15:10:13 +02:00
Armin Novak
a7e8a72396
[winpr] fallback to pkg-config for uriparser
...
older versions do not ship a CMake configuration, fall back to
pkg-config based detection in that case.
2023-10-16 15:10:13 +02:00
Max Roncace
eefe052690
[client,sdl] Fix primary monitor logic in multimon
2023-10-13 16:06:18 +02:00
Max Roncace
7e50a92eb9
[client,sdl] Fix stored window offset for multimon
...
SDL_WINDOWPOS_CENTERED_DISPLAY returns a magic value which causes issues
when it's eventually passed to SDL_BlitSurface.
Fixes #9441
2023-10-13 16:05:39 +02:00
Armin Novak
138d3df028
[core,gcc] parse CS_UNUSED1 message
...
parse message to avoid log entries server side for this kind of PDU
2023-10-13 16:05:27 +02:00
akallabeth
ec0109239b
[client,common] fix default of mouse-relative flag
2023-10-13 16:05:27 +02:00
akallabeth
927b553ad7
[client,sdl] send relative mouse button events
2023-10-13 16:05:27 +02:00
akallabeth
d7798e97d1
[client,common] prefer [MS-RDPBCGR] relative mouse
...
prefer the standard method over custom ainput channel.
2023-10-13 16:05:27 +02:00
akallabeth
4df4404faa
[core,input] add qoe event handling
2023-10-13 16:05:27 +02:00
akallabeth
20e15ac326
[core] added relative mouse event support
2023-10-13 16:05:27 +02:00
akallabeth
1f7bc15bb1
[settings] add HasQoeEvent
2023-10-13 16:05:27 +02:00
akallabeth
910e3b9fb4
[settings] added new setting for HasRelativeMouseEvent
2023-10-13 16:05:27 +02:00
akallabeth
002b27f2e5
[core] add RDP_VERSION_10_12
2023-10-13 16:05:27 +02:00
akallabeth
c7b123076a
[client,sdl] keep SDL_RWops open
...
the application crashes if we close the SDL_RWops after opening the
font. keep it open until the widget is destroyed
2023-10-10 22:59:53 +02:00
akallabeth
33c1183fe1
[client,sdl] fixed tests and detection
...
* add a pkg-config fallback for SDL2_ttf, current ubuntu does not ship
the cmake config
* deactivated SDL dialog test cases, now compiles properly
2023-10-10 22:59:53 +02:00
akallabeth
6da1cc6987
default WITH_AAD to cJSON_FOUND
2023-10-10 22:59:53 +02:00
akallabeth
822ba31c31
[bsd] clean up bsd related detections
2023-10-10 22:59:53 +02:00
akallabeth
0529658e75
[cmake] cleaned out unused cmake files
2023-10-10 22:59:53 +02:00
akallabeth
25f3633dc5
[systemd] moved detection to module
2023-10-10 22:59:53 +02:00