Pascal Nowack
4d7d136d1a
core/server: Remove invalid cast
...
The context of wMessage is already a pointer, so the cast into UINT_PTR
is wrong here.
Additionally, casts from void pointers are superfluous.
2023-07-20 11:36:11 +02:00
Pascal Nowack
f1ed11135c
server/audin: Remove wrong comment
2023-07-20 11:36:11 +02:00
2fly2
7f3390ef88
fix the issue of incorrect display of remote desktop cursor
...
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setcursor
"If your application must set the cursor while it is in a window, make sure the class cursor for the specified window's class is set to NULL. If the class cursor is not NULL, the system restores the class cursor each time the mouse is moved."
2023-07-19 08:21:43 +02:00
Armin Novak
9cfde30ec0
[client,windows] implement AuthenticateEx
...
the newer callback provides more options (e.g. smartcard pin, ...)
2023-07-17 14:09:44 +02:00
Armin Novak
c26f356225
[winpr,ncrypt] do not link pkcs11 for dynamic detection
2023-07-17 14:04:03 +02:00
dev
a4f9702ad6
[clien,mac] fix clipboard text copy
...
* copy format changed
* copy length was off
2023-07-17 10:41:46 +02:00
Armin Novak
6d9d118593
[core,nego] remove AUTHZ_RESULT from nego header
2023-07-13 09:25:45 +02:00
Armin Novak
555fa2c98a
[core,nla] print name of error code in log
2023-07-13 09:25:45 +02:00
akarl10
b6f18e0559
[client,aad] simplification and heap-overflow fix
2023-07-12 09:45:16 +02:00
Armin Novak
10e010329c
[client,file] add WebAuthN rdp file parsing support
2023-07-10 10:45:28 +02:00
Armin Novak
7dbf7cec68
[client,x11] fix RAILS image paste, fixes #7276
2023-07-10 10:26:55 +02:00
akallabeth
e18918356f
[core,rdp] set logger context
2023-07-06 15:51:56 +02:00
akallabeth
2521d151e5
[winpr,wlog] added %{ %} formatter
...
* New formatter %{xxx%} which conditionally prints xxx if the context is
not NULL
2023-07-06 15:51:56 +02:00
Martin Fleisz
a5aad5159c
core: Fix issues in settings copy code
...
This code fixes an issue where some settings were lost when copying
settings around. I.e. the device count was first set but then calling
`freerdp_settings_set_pointer_len` caused the device count to be reset
to 0 because we passed `NULL` for the data value.
This means the count got lost upon the first copy and further copies
also resulted in losing the array data (because the count was set to 0).
This PR fixes this issue by first resetting the array and afterwards
setting the correct count value.
2023-07-06 14:26:38 +02:00
akallabeth
5d3b7ef0c2
[server,peer] server instance must support multimon
2023-07-06 09:16:51 +02:00
Bernhard Miklautz
9961570c9d
[utils] use select instead of poll to read passphrases on macOS
...
According to the man page on macOS poll currently doesn't support
devices. This includes `/dev/tty`.
In this use case poll will returned immediately indicating that
something can be read but the following read returned `-1`
(with errno set to EAGAIN).
Using select on macOS for passphrase reading prevents this problem.
2023-07-06 08:03:53 +02:00
Martin Fleisz
c88c777482
drive: Fix double free in client drive channel
2023-07-05 14:02:31 +02:00
akallabeth
4c862892b4
[core,gateway] clean up websocket transport
2023-07-05 13:18:54 +02:00
akallabeth
b033259c7a
[client,common] fix rdp file key names
2023-07-05 10:47:45 +02:00
akarl10
76abdcdabf
[core,gateway] cleanup http response
2023-07-05 10:43:27 +02:00
akallabeth
18185e9dbc
[test] disable TestConnect on windows
...
build directories are different and the test logic can not find the
binaries necessary to launch
2023-07-05 08:46:00 +02:00
akallabeth
d9b03b45ed
[test] add executable suffix for TestConnect
2023-07-05 08:46:00 +02:00
akallabeth
bd7f0ecd24
[collections] fix ListDictionary usage
2023-07-05 08:46:00 +02:00
akallabeth
1f3f3682cc
[build] fix conversion warnings
2023-07-05 08:46:00 +02:00
akallabeth
764936fe64
[proxy,modules] fix c++ 11 compatibility
2023-07-05 08:46:00 +02:00
akallabeth
c7f7f38367
[ci] deactivate proxy modules on windows
...
current builder is too old for c++11
2023-07-05 08:46:00 +02:00
akallabeth
8802901b53
[server,mac] make the sample compile again
2023-07-05 08:46:00 +02:00
akallabeth
cf802790f4
[ci] enable building of server and samples
2023-07-05 08:46:00 +02:00
akallabeth
fc1238a8da
[proxy,module] fix missing library linking
2023-07-05 08:46:00 +02:00
Michael Saxl
a5a60c888b
[core,transport] free wst transport after use
2023-07-04 20:33:13 +02:00
akallabeth
c74a18c622
[client,file] refactor RDP file parser
...
* Only print warnings for settings parsed but support not compiled in
* Use constants for key values
2023-07-04 10:04:35 +02:00
Martin Fleisz
622a2a8df0
misc: More int to BOOL conversion fixes
...
This is a follow up to #9129 .
This PR fixes some problematic `int` to `BOOL` conversions that might
cause overflows when checking for bit flags.
2023-07-04 09:45:20 +02:00
Martin Fleisz
37f9d5b494
core: Fix flag check to enable/disable RDSTLS security
...
On some platforms (i.e. Mac) the BOOL type might be narrower than the
`RedirectionFlags` type leading to an overflow when just assigning the
logical AND result to the setting. This fix makes sure that the value is
correctly set to either `TRUE` or `FALSE`.
2023-07-04 09:17:05 +02:00
Armin Novak
9af563d4d1
[smartcard] fix message queuing
...
the queye key must not be 0
2023-07-03 20:53:46 +02:00
Armin Novak
fe987091f4
[client,x11] add signal cleanup handler for pipe
2023-07-03 13:21:43 +02:00
akallabeth
3dbd9c7eeb
[client,x11] fix unicode input
...
key up and down events were reverted
2023-07-03 13:21:43 +02:00
akallabeth
2d85aa43fa
[client,x11] add thread reading from named pipe
...
the named pipe input is converted to unicode and sent as keyboard input
2023-07-03 13:21:43 +02:00
akallabeth
a01f3ec5ab
[client,common] allow adding a named keyboard pipe
...
This allows starting FreeRDP clients with a named pipe that will type in
text written to the named pipe as keyboard input
2023-07-03 13:21:43 +02:00
Armin Novak
382ef13b1d
[locale,xkb] cleaned up variant detection
2023-07-03 10:19:34 +02:00
Armin Novak
8822ad53c1
[client,x11] fix memory leak
2023-07-03 10:19:34 +02:00
akallabeth
9565ff4b29
[client,x11] restrict pointer move to active window
2023-07-03 10:00:29 +02:00
akallabeth
32b60ae438
[pointer] unify mouse pointer settings
2023-07-03 10:00:29 +02:00
Michael Saxl
132ce797db
[core,gateway,wst] fix use after free in wst_connect
2023-07-03 10:00:12 +02:00
Konrad Bucheli
d4e2129cd4
the default Swiss keyboard layout is German, French is a variant
2023-07-03 09:52:14 +02:00
akallabeth
be7ff37069
[proxy,rdpdr] fix boroken logger calls
2023-06-29 21:06:47 +02:00
Armin Novak
d71565eefd
[nightly] add new dependencies for debian
2023-06-29 21:06:00 +02:00
akallabeth
e03b6596c6
[build] fix unused but set variable warnings
2023-06-29 18:34:51 +02:00
akallabeth
2d16985d68
[primitives] fix typo, reading wrong buffer
2023-06-29 18:34:51 +02:00
akallabeth
851f9cce2d
[core,nla] fix unused variable warning
2023-06-29 18:34:51 +02:00
akallabeth
5dcd9fcb8a
[core,gateway] eliminate intermediate buffer
2023-06-29 18:34:51 +02:00