Armin Novak
339cdded45
Fixed memory sanitizer warnings
2022-01-11 14:32:18 +01:00
Armin Novak
d0986489dd
Fixed leaks and type mismatches for wayland client
2022-01-11 12:47:05 +01:00
akallabeth
803dd8f6ff
Added options for certificate file based smartcard logon
2022-01-11 12:34:43 +01:00
akallabeth
8c543b1de2
Added smartcard emulation layer
2022-01-11 12:34:43 +01:00
Armin Novak
be5ace1123
Fixed #7529 : Adjust windows client update area
...
When scrollbars are used, the update area needs to be adjusted.
2022-01-10 13:09:36 +01:00
Armin Novak
3700ccbfc8
Fixed #7520 : remove trailing '\0' from clipboard data
2022-01-10 10:00:19 +01:00
Armin Novak
d1d8d606ef
Add credui to windows client link libraries
2021-12-23 14:27:12 +01:00
Armin Novak
f9c91f69b4
Removed winpr credui includes
2021-12-23 14:27:12 +01:00
Armin Novak
fd5ac4eed0
Cleaned up wnd.h includes
2021-12-23 14:27:12 +01:00
Armin Novak
a0fa7307bd
Removed unused variable
2021-12-20 08:11:00 +01:00
akallabeth
4a4d783d4f
Moved clipboard custom context checks to implementation ( #7501 )
2021-12-17 13:47:20 +01:00
akallabeth
298d32164c
Removed recursive xf_lock_x11 warning
2021-12-16 12:54:53 +01:00
Marek Vasut
1a1056d76d
client: wayland: Fix mouse event fallback pointer flags
...
In either case of wlf_handle_touch_up()/wlf_handle_touch_down(), the
UINT16 flags are set to fixed values, so there is little reason for
checking presence of specific flag in them again. The conditional is
always true no less, so just call freerdp_input_send_mouse_event().
Moreover, the flags submitted to the remote are wrong. The code should
send BUTTON1/DOWN/MOVE on wlf_handle_touch_down(), so the remote would
pick not only the button down event, but also the coordinate update,
else the remote would receive a mouse click at the wrong coordinates.
The wlf_handle_touch_motion() should update the pointer location too,
make it send plain MOVE event.
Signed-off-by: Marek Vasut <marex@denx.de>
2021-11-29 15:47:23 +01:00
Marek Vasut
487894b5bb
client: wayland: Move RDPEI assertion past RDPEI availability check
...
The wlf_handle_touch_down() implements fallback to mouse event submission
in case RDPEI is not available. This fallback is currently never reached,
because the WINPR_ASSERT(rdpei); triggers before the fallback conditional
is reached.
Move the WINPR_ASSERT(rdpei); after the RDPEI availability check to permit
the fallback to do its job.
Signed-off-by: Marek Vasut <marex@denx.de>
2021-11-29 15:47:23 +01:00
Ely Ronnen
4053ac37f3
fixing android pointer not initialized when calling realloc
2021-11-29 07:49:42 +01:00
jackyzy823
90b1b3d540
x11: Add size in xf_cliprdr_fuse_getattr resopnse
2021-11-25 12:24:50 +01:00
akallabeth
55f32bec8f
Log tty mode for windows client
2021-11-24 10:18:49 +01:00
Armin Novak
bbfa21faa0
Fixed wf_Pointer_New
...
0 length allocations with _aligned_malloc do not return NULL
2021-11-16 08:27:24 +01:00
David Fort
67986ea298
Fix compilation with mingw
...
This patch addresses some issues when compiling against mingw. With these changes
FreeRDP can be compiled out-of-the box on a Ubuntu 20.04.
2021-11-15 09:23:16 +01:00
Guillaume Démurgé
8e334d3bfd
Added app_id on wayland client
2021-11-12 15:58:39 +01:00
Alexandru Bagu
a131949001
temporary trust certificate when helped by local cert store
2021-11-02 09:52:23 +01:00
Alexandru Bagu
391f2f7c4a
no need to check for null on derPubKey
2021-10-23 12:19:05 +02:00
Alexandru Bagu
81343835e7
update wf_report_error
...
using dynamically allocated derPubKey as the pem length can vary
moved declarations to the top of the function in wf_verify_certificate_ex
2021-10-23 12:19:05 +02:00
Alexandru Bagu
72d22b2236
add option to validate certificates against windows certificate store
2021-10-23 12:19:05 +02:00
Alexandru Bagu
86e1865ef4
move taskBarList into wfc
...
use TRUE instead of true
2021-10-22 11:38:20 +02:00
Alexandru Bagu
3bc38aaf23
remove progress bar after window is visible
...
* set higher limits for width/height (widescreens are a thing now)
2021-10-22 11:38:20 +02:00
Alexandru Bagu
b5805cadbf
add progress bar to taskbar icon (enabled by default)
...
alternative is to not have the window shown (even in taskbar) until we have video data
2021-10-22 11:38:20 +02:00
Alexandru Bagu
f574497490
enable support for /video and /geometry for win32
2021-10-20 19:19:49 +02:00
Alexandru Bagu
07ea60e960
add optional support for win32 console
...
* add option to build as console by using WITH_WIN_CONSOLE
* add passphrase read from stdin for Win32
* fix windows authentication with stdin password
* allow redirected stdin to be used for stdin input
* flush stdout to help with automation
* use stdin when /from-stdin is present
* add error log for stdin flag but stdin redirected
2021-10-20 08:35:16 +02:00
Armin Novak
17d40edf5b
Added /video support for wayland client
2021-10-18 10:53:05 +02:00
Armin Novak
41d77cae46
Fixed /video buffer alignment, added assertions
2021-10-18 10:53:05 +02:00
Armin Novak
7d80c74e97
Cleaned up RDPDR channel interhitance
...
* All channels inheriting from RDPDR_DRIVE base struct
* Add functions to create/free a new device of a type
* Fixed settings array resize code, prevent 0 sizes
2021-10-18 09:21:02 +02:00
akallabeth
c627e2196f
Improved warning for removed legacy command line
2021-10-15 14:53:39 +02:00
Armin Novak
73fbbcf0fb
Fixed const warnings
2021-10-14 13:04:59 +02:00
Armin Novak
9444dab58a
Renamed global argument struct
2021-10-14 13:04:59 +02:00
Armin Novak
f8bf4b0009
Fixed const correctness of command line functions
2021-10-14 13:04:59 +02:00
Armin Novak
0816d32823
Fixed varialbe integer type warning
2021-10-14 13:04:59 +02:00
akallabeth
6ea5823a16
Fixed #6722 : Wayland client mouse coordinates
...
The function scale_signed_coordinates did use addresses instead of
values
2021-10-14 12:11:44 +02:00
akallabeth
98977336fd
Drop legacy command line ( #7348 )
2021-10-14 08:25:46 +02:00
akallabeth
22484ee495
Fixed missing NULL check in mappedGeometryUnref
2021-10-14 08:21:15 +02:00
akallabeth
6c58e821dd
Do not write usbdevicestoredirect if the string is NULL ( #7347 )
2021-10-12 11:04:09 +02:00
Ian Weir
aa4c3dfb8a
Add exit codes for more errors
2021-10-11 08:27:41 +02:00
akallabeth
6ac4cad8dd
Settings fixes ( #7335 )
...
* Fix temporary settings allocation for command line
Detection of legacy command line requires a temporary settings
struct. This was previously manyally allocated instead of using
freerdp_settings_new and freerdp_settings_free.
* Fixed CommandLineParseCommaSeparatedValuesEx
The name argument was not copied into the returned array.
2021-10-07 13:43:12 +02:00
Armin Novak
b3209fe2b9
Fixed #7326 : Ensure proper window size
...
When leaving fullscreen with enabled smart sizing the window size
did shrink due to first resizing the window, then enabling window
decorations and finally moving to the correct position.
2021-10-05 10:56:33 +02:00
akallabeth
03a9ca80c8
Refactor proxy ( #7312 )
...
* Added hidden transport dump and replay options
* Added settings to enable transport dump and replay
* Added check in freerdp_connect to skip authentication on
dump replay
* Fixed proxy issues
* Proper shutdown handling
* Uninitialized variables
* Skip proxy-client channels, initialize from peer channels and
config
* Filter static channels like dynamic ones
* Added proxy module filtering from config data (channels, input, ...)
* Removed oboslete proxy decoding related files
* Added defines for RDPECAM channel
* Added proxy config options:
* VideoRedirection
* CameraRedirection
* Fixed duplicate channel free
2021-09-23 14:52:03 +02:00
akallabeth
e4cd8674d7
Win proxy fix ( #7311 )
...
* Do not change warning level for MSVC builds
* Fixed windows PDB paths.
2021-09-22 16:00:00 +02:00
akallabeth
e0a531f728
Channel fixes ( #7309 )
...
* Added missing CHANNEL_NAME defines.
* Fixed FreeRDP_ChannelDefArray setter
* Fixed code duplication due to merge error
* Added public function freerdp_channels_from_mcs
* Fixed const correctness in mcs
2021-09-22 14:27:21 +02:00
akallabeth
1c84690c2f
Fixes from tests ( #7308 )
...
* Fixed memory leak in tls_verify_certificate
* Fixed missing NULL checks
* Fixed missing checks for FreeRDP_DeactivateClientDecoding
* Added WINPR_ASSERT for client common new/free
* Added /disable-output switch to deactivate client decoding
Allows low resource remote connections that do not require visual
feedback. (e.g. load testing/...)
2021-09-21 09:56:56 +02:00
akallabeth
1ca7e1f7a0
Added option to disable graphics decoding in client code path
2021-09-20 10:59:59 +02:00
Hans-Peter Jansen
1d8002f831
Improve fix
2021-09-20 08:13:22 +02:00