Armin Novak
7722961fcc
[client,common] simplify file clipboard API
2023-03-05 17:55:28 +01:00
Armin Novak
e129ab749b
fixed parsing of FILEDESCRIPTORW in WinPR
2023-03-05 17:55:28 +01:00
Armin Novak
e3099fbbd0
[client,common] fixed compile without fuse
2023-03-05 17:55:28 +01:00
Armin Novak
46f1d141c1
[client,common] fixed winpr clipboard locking
2023-03-05 17:55:28 +01:00
Armin Novak
6d2e7b91c7
[client,common] cliprdr file copy client to server
...
* better logging of failures
* do not keep FILE* open to avoid running out of file handles
2023-03-05 17:55:28 +01:00
Armin Novak
bfea14a5b1
[cliprdr] deactivate local file paste if not supported
...
if the file clipboard was compiled without FUSE do not announce the
availability.
2023-03-05 17:55:28 +01:00
Armin Novak
1b28bd0d36
[channels,cliprdr] use logger tag macros
2023-03-05 17:55:28 +01:00
Armin Novak
0fb242da7b
[client,x11] properly initialize file clipboard
2023-03-05 17:55:28 +01:00
Armin Novak
b526078c3c
[client,wayland] add file clipboard
2023-03-05 17:55:28 +01:00
Armin Novak
a3f6e3603c
[client,common] fuse clipboard server to client
2023-03-05 17:55:28 +01:00
Armin Novak
39c06a4683
[client,common] fix file copy client to server
2023-03-05 17:55:28 +01:00
Armin Novak
9fb4465722
[winpr,clipboard] fix text/uri-list parsing
...
abort if an empty string remains
2023-03-05 17:55:28 +01:00
Armin Novak
60998a62b4
[utils] added FILEDESCRIPTORW read/write routines
2023-03-05 17:55:28 +01:00
Armin Novak
8e7619502b
[client,common] refactored fuse clipboard
...
* use proper permissions (no read/write for group and others)
* handle streamID for multiple simultaneous copy/paste operations
* properly handle requests with a queue
2023-03-05 17:55:28 +01:00
Armin Novak
a230c6b1dc
[client,cliprdr] use hash table for remote streams
2023-03-05 17:55:28 +01:00
Armin Novak
ba128f4661
[client] move file clipboard to client common
2023-03-05 17:55:28 +01:00
Armin Novak
d521c7fa74
remove wClipboardDelegate
2023-03-05 17:55:28 +01:00
David Fort
7c4a774e4e
winpr: fix WaitForMultipleObjectsEx(alertable) call from non winpr threads
...
When WaitForMultipleObjectsEx is called with the alertable flag set from a non
WinPR thread, we shall not try to treat APC, as for sure there is no APC scheduled,
as previous call that would have scheduled such APC would have failed.
2023-03-05 17:10:37 +01:00
Armin Novak
2450bf75e8
[core] improve assertions and logging
2023-03-05 17:03:18 +01:00
Armin Novak
a726fa613a
[winpr] improve digest failure logging
2023-03-05 17:03:18 +01:00
Armin Novak
5829079756
[client,windows] remove calls to now private functions
2023-03-05 17:03:18 +01:00
Armin Novak
0445eec0bc
[client,common] fix /gateway option parsing
...
due to a bug the first letter of the gateway options was ignored.
2023-03-02 19:04:48 +01:00
Armin Novak
d0ef43f49b
[core,redirect] check TsvUrl on redirect
...
according to spec the TsvUrl must match the LoadBalanceInfo the client
initially sent. Implement this check or else log an error.
2023-03-02 09:55:49 +01:00
Armin Novak
9c56ce1336
[channels,tsmf] drop gstreamer 0.1 support
2023-03-01 15:34:09 +01:00
Armin Novak
ffc4d419db
[client,sdl] fix uninitialized variable cleanup
2023-03-01 13:45:13 +01:00
Armin Novak
6d0a9b075b
[winpr,cynch] WINPR_ASSERT critical section functions
2023-03-01 13:45:13 +01:00
Armin Novak
8af35bd42a
[client] add deprecation/experimental warnings
2023-03-01 13:45:13 +01:00
Armin Novak
73158a040a
[client,common] add warning functions
...
Added helper functions to inform a user about current state of a client
in use:
* freerdp_client_warn_exeprimental warns about unstable clients
* freerdp_client_warn_deprecated warns about clients to be dropped
2023-03-01 13:45:13 +01:00
akallabeth
273bb6a7a8
[build] use static libraries as intermediate
2023-03-01 08:18:34 +01:00
akallabeth
b4e9c8b39f
[build] removed complex libraries
...
* remove obsolete complex libraries helper
* fix static linking
2023-03-01 08:18:34 +01:00
akallabeth
c054666311
[channels] simplified channel subsystem linking
2023-03-01 08:18:34 +01:00
akallabeth
cf9777cd92
[channels] simplified server linking
2023-03-01 08:18:34 +01:00
akallabeth
c3a82daad6
[channels] simplified client linking
2023-03-01 08:18:34 +01:00
akallabeth
0307482506
[channels,rdpsnd] add rdpsnd-common object lib
2023-03-01 08:18:34 +01:00
Armin Novak
455f6546a7
[core,redirection] implement redirection PDU write
...
implemented writing redirection certificate to PDU
2023-02-28 15:49:58 +01:00
Armin Novak
ae8f0106bd
[core,redirect] extract and check redirection cert
...
* extract the certificate from the redirection PDU
* if there is a certificate provided accept it if it matches the
redirection target certificate without further user checks
2023-02-28 15:49:58 +01:00
Armin Novak
b2fa6da8d2
[client,x11] fix fuse2 compatibility
2023-02-28 09:47:54 +01:00
Armin Novak
5bf3a06a30
[utils] windows implementation for freerdp_interruptible_getc
2023-02-28 09:47:54 +01:00
Armin Novak
e673405711
[client,x11] split file clipboard to own struct
...
* split file clipboard to own file
* check for changed file data in cliprdr_file_context_update_data,
prevents duplidate entries in fuse filesystem
2023-02-28 09:47:54 +01:00
Armin Novak
acc5e2d301
[client,common] use non blocking IO
...
when reading from stdin use non blocking IO so that we can check if the
session terminated in between.
2023-02-28 09:47:54 +01:00
Armin Novak
4398126dde
[utils,signal] remove terminal reset
2023-02-28 09:47:54 +01:00
akallabeth
61175a96ea
[winpr,clipboard] fixed mate-copied-files
...
wrong lineending and size fixed
2023-02-28 09:47:54 +01:00
akallabeth
ae8f7c272d
[client,x11] fixed clipboard data cache
...
clean only cached data not the fuse cache if other formats are requested
2023-02-28 09:47:54 +01:00
akallabeth
1ba8d826f8
[client,x11] add some debug logs, fix warnings
2023-02-28 09:47:54 +01:00
akallabeth
3d9969ef65
[client,x11] export x11_event_string
2023-02-28 09:47:54 +01:00
Armin Novak
e1307b90db
[winpr,clipboard] fix length of uri list
...
we overallocate the size, so ensure the result size only contains the
data actually used.
2023-02-28 09:47:54 +01:00
David Fort
b8814e723a
fix some warning with the use of new crypto functions
2023-02-28 07:59:40 +01:00
akallabeth
b342194d4b
[includes] add missing c++ guards
2023-02-27 17:31:52 +01:00
akallabeth
adce7378c3
[core,cache] make protocol caches private
...
most protocol internal caches do not need to be exposed. this reduces
the public API and allows us to more easily improve/change this during a
release cycle
2023-02-27 17:31:52 +01:00
akallabeth
3293d0d06a
[core] add log for experimental settings
...
Too often experimental flags had been used without the user noticing
that. As bug reports are hard to analyze without proper information take
this approach and inform about experimental flags in use by logging
these.
2023-02-27 11:44:10 +01:00