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
0529658e75
[cmake] cleaned out unused cmake files
2023-10-10 22:59:53 +02:00
akallabeth
5f95193303
[client,common] drop fuse2 support
2023-10-10 19:35:27 +02:00
akallabeth
89429885a0
[cmake] make generated pkg-config files relocatable
...
* new CMake option PKG_CONFIG_RELOCATABLE (default ON) allows generating
traditional or relocatable pc files
2023-10-10 19:35:27 +02:00
Gregory Fox
6250b0a5d4
[android] fix release.properties
2023-10-10 19:35:27 +02:00
akallabeth
47664ea6e7
[client,android] clean translations
...
* remove non translatable strings from translations
2023-10-10 19:35:27 +02:00
Armin Novak
7a4e989dcb
[client,sdl] fix #9442 : handle alt+tab fullscreen
2023-10-10 12:33:29 +02:00
Peter Dave Hello
98c568b4b3
Add zh_TW Traditional Chinese translation for Android client
2023-10-10 10:08:21 +02:00
David Fort
3c18a9980f
[client,win32] implement connection to child session
...
Under windows you can connect to a child session by requesting a named pipe to
the local server, and then do some RDP on this named pipe.
The protocol is like for /vmconnect with CredSSP, then Nego and then the "normal"
workflow for a connection. For CredSSP we force the usage of NTLM for the Negociate
SSPI, and the credentials are empty.
2023-09-27 11:57:49 +02:00
Koichiro Iwao
c177299974
[client,cmdline] Advertise Image RFX GUID when rfx-mode:image
2023-09-25 11:44:37 +02:00
akallabeth
86acc8d31a
[warnings] fixed reserved-identifer warnings
2023-09-25 08:39:01 +02:00
akallabeth
2e7f387783
open 3.0.0-dev5 cycle
2023-09-21 13:57:48 +02:00
akallabeth
1f284d3af8
update version to 3.0.0-beta4
2023-09-21 13:57:48 +02:00
akallabeth
14f69d0657
[client,mac] fix casting in main()
2023-09-21 10:57:43 +02:00
akallabeth
1f827f6be3
[client,mac] fix invalid const for variable
2023-09-21 10:57:43 +02:00
akallabeth
635626be12
[client,common] avd related keys to rdp file parser
2023-09-21 10:30:09 +02:00
akallabeth
5a7a1c159d
[casts] remove fnObject* function pointer casts
...
use proper types that match the function pointer definition to avoid
surprises if the code should be refactored
2023-09-20 21:11:30 +02:00
akallabeth
144df287a2
[client,common] fix #9411 leak in file clipboard
2023-09-20 21:11:30 +02:00
akallabeth
7fb2f062f0
[client,x11] fix #9410 leak in xf_cliprdr
2023-09-20 21:11:30 +02:00
akallabeth
54a5512939
[client,sdl] fix RWops leak
2023-09-14 15:59:57 +02:00
akallabeth
bd595d363d
[arm] add retry callback for transport
...
If the connection is blocked due to some VM requiring spinup time before
being ready to use call the newly created callback RetryDialog.
2023-09-14 12:02:26 +02:00
ichaoX
4935b0978b
[client,X11] avoid dynamic allocation of devName
2023-09-13 15:57:59 +02:00
ichaoX
a28920f3ed
[client,X11] add pen button support
2023-09-13 15:57:59 +02:00
ichaoX
48a55aa95b
[client,common] fix freerdp_client_pen_cancel_all
...
* fix freerdp_client_pen_cancel_all
* fix FreeRDPPenEventType
2023-09-13 15:57:59 +02:00
ichaoX
becaac792f
[client,x11] improved pen type recognition
...
* improved pen type recognition.
* fix not recognizing other newly connected pen devices when a pen device is already connected.
2023-09-13 15:57:59 +02:00
Stefan Koell
82df1c97ae
fixed code style
2023-09-13 14:47:08 +02:00
Stefan Koell
c81e045cee
wfreerdp-client: Handle credman domain qualified username correctly
...
If credentials are read from the Windows credential manager, and the **username** contains the **domain** portion (`domain\username`), a connection couldn't be establish.
This PR parses the username and domain, sets the correct properties in the settings structure pretty much the same way the CLI args handling is doing.
2023-09-13 14:47:08 +02:00
ichaoX
88f79c5748
[client,common] fix multitouch "engaged" state
2023-09-11 19:35:07 +02:00
iordan iordanov
b4985cc39d
Fix for missing openssl/err.h include in TSXAdditions.m.
2023-09-11 12:07:24 +02:00
iordan iordanov
483cd93969
Implemented clipboard redirection for iOS.
2023-09-11 12:07:24 +02:00
akallabeth
93502f9ece
[client,common] fix parsing of /list:kbd-lang
2023-09-05 10:28:36 +02:00
Armin Novak
639a36225e
[version] start 3.0.0-dev4 cycle
2023-08-31 12:27:06 +02:00
Armin Novak
59a5726ab3
[version] update to beta3 version
2023-08-31 12:27:06 +02:00
akallabeth
285add3a85
[client,sdl] use SDL_WaitEventTimeout
...
polling is expensive, so use a waitable function instead
2023-08-31 11:39:22 +02:00
Armin Novak
3ea38175b4
[locale,keyboard] fix keyboard mapping on apple
2023-08-31 11:39:22 +02:00
akallabeth
60dd48e698
[api] fix integer overflow warnings
2023-08-25 14:36:05 +02:00
akallabeth
bb5345c60e
[freerdp,api] add FREERDP_ENTRY_POINT
...
C requires prototypes or compilers will complain about them missing. Our
library entry points do not have such, therefore add the macro
FREERDP_ENTRY_POINT which declares the function prototype automatically
before the function.
2023-08-25 14:36:05 +02:00
akallabeth
9cee9b3c08
[c standard] use WINPR_FALLTHROUGH
...
use the macro to silence intentional switch fallthrough locations
2023-08-25 12:56:36 +02:00
akallabeth
ad11ef916c
[client,sdl] fix compiler warnings
2023-08-25 12:56:36 +02:00
Marc-André Moreau
30c31d64e8
WinSCard dynamic API loading with /winscard-module cli argument
2023-08-23 12:26:27 +02:00
Marc-André Moreau
98b4ff559b
fix issue with using find_library for Windows system libraries
2023-08-23 09:46:53 +02:00
akallabeth
7a71441476
[warnings] fix integer multiplications
...
Ensure the integer width for size arguments is 64bit in a
multiplication. Leading 64bit constant 1ull expands width, a trailing
one is ignored.
2023-08-22 11:55:00 +02:00
Armin Novak
dd9757d686
[server] add exerimental and unmaintained warnings
2023-08-21 15:42:10 +02:00
James Fu
5b012fbc8a
rail: fix window freeze when moving window after minimizing and restoring
...
When restoring from minimized state, sometimes MapNotify is received before PropertyNotify,
and the rail_state is still WINDOW_SHOW_MINIMIZED.
2023-08-21 14:44:58 +02:00
Kimon Hoffmann
8ec4d20616
[cmake] Locate PkgConfig module with find_package() instead of include(FindPkgConfig)
...
This is the contemporary way of including find modules and including the
find module this way avoids cmake errors in conjunction with
find_package_handle_standard_args().
Signed-off-by: Kimon Hoffmann <Kimon.Hoffmann@lawo.com>
2023-08-21 12:43:56 +02:00
akallabeth
fee2b10ba1
change version to 3.0.0-dev3
2023-08-04 12:59:11 +02:00
Armin Novak
d3e428c51f
change version to 3.0.0-beta2
2023-08-04 12:59:11 +02:00
akallabeth
a17b1ecec0
[client,android] use 'text/plain' to access clipboard
2023-08-04 12:59:11 +02:00
akallabeth
b12e2ee469
[cmake] do not require NTDLL
2023-08-04 12:59:11 +02:00
Armin Novak
fafc2e61f9
[client,sdl] redirect sdl log to wlog
2023-08-04 12:59:11 +02:00
akallabeth
8470b6ea26
[cmake] set default build type
...
set with CACHE STRING FORCE to properly be picked up by configuration
tools
2023-08-04 12:59:11 +02:00
akallabeth
0e458c8c2c
[cmake] WITH_WEBVIEW new defaults
...
* Enable by default now
* Use a config file to detect if it is enabled
2023-08-04 12:59:11 +02:00
Pascal Nowack
8fc7062605
client/cliprdr_file: Do not deadlock with FUSE2 when stopping fuse loop
...
FUSE2 has compared to FUSE3 a rather complicated structure with respect
to the FUSE loop, as it uses two handles for the loop and the mount.
Due to needing the possibility to invalidate inodes during the session
and to exit the FUSE session, the session and channel handles need to be
kept alive.
When the session stops, and with that the FUSE session too, the FUSE
thread must still be able to unmount the FUSE mount.
But due to FUSE2's annoying structure, the FUSE session must be
destroyed before doing this.
In this time period, where the FUSE2 loop stops running and between
stopping the FUSE2 session, it cannot answer any requests.
As a result, the "path test", where the mount path is poked cannot be
performed.
This "path test" is however necessary to ensure, that the FUSE loop
exits.
So, the main thread pokes at the FUSE mount to ensure the loop
definitely exits to then signal the FUSE thread, that it can destroy the
session and channel object.
But at the same time, the FUSE loop may already exited and wait for the
main thread to be signalled, that it can destroy the session and channel
object.
The waiting conditions here cannot be satisfied, leading to a deadlock.
Fix this situation, by already signalling the FUSE thread, that it can
destroy the FUSE objects, after calling fuse_session_exit.
2023-08-04 11:08:01 +02:00
Hodol Han
d962f1e4d0
[client,common] Fix minor code errors
...
`cctx->contacts` -> `cctx->pens`
2023-08-03 17:55:49 +02:00
Hodol Han
5d61ab1eac
[client,common] Fix freerdp_client_register_pen
...
Pass null device id rather than `deviceid` to find an empty pen device
slot.
2023-08-03 17:55:49 +02:00
Pascal Nowack
33c2c5eb96
client/cliprdr_file: Fix build when using FUSE2 instead of FUSE3
...
To invalidate inodes, FUSE2 uses a FUSE channel handle, while FUSE3 uses
the FUSE session.
So, ensure the correct handle is passed to the respective API calls.
2023-08-03 08:57:26 +02:00
Pascal Nowack
c031e7eba6
client/cliprdr_file: Do not destroy FUSE session while using it
...
When invalidating inodes, it is obligatory, that the session was not
destroyed yet.
So, in case of the FUSE loop stops before the session stops wait with
the destroyal of the session, until it is clear, that it is not used
anymore.
2023-08-03 08:57:26 +02:00
weoses
8f1ba61553
[client,android] Fix keyboard ui issues
...
Set inputType to system keyboard, otherwise keyboard can be opened with last used input type (eg. numeric)
Fix keyboard/modifiers panel opening, when keyboard stuck in other app
Hide zoom controls when keyboard is opened
2023-08-02 19:50:00 +02:00
Pascal Nowack
d3d7f05322
client/cliprdr_file: Tighten up data size check for FILE_SIZE requests
...
FILECONTENTS_SIZE requests explicitly specify the size of 8 Bytes, so
expect that there are no further fill Bytes used.
2023-08-01 17:35:34 +02:00
Pascal Nowack
63c72b418a
client/cliprdr_file: Move some debug messages under DEBUG_CLIPRDR
...
Do no expose filenames of copied files, unless it is explicitly wanted.
2023-08-01 17:35:34 +02:00
akallabeth
ad56fbe674
[client,android] Fix #8158 anonymous thread leak
2023-08-01 15:46:57 +02:00
akallabeth
eb67f41a50
[cmake] use find_library for windows libs
2023-08-01 13:32:35 +02:00
Kai Pastor
5ecc011c13
Export interface include directories
2023-08-01 11:12:46 +02:00
Armin Novak
0cd36c1526
[build] fix Wmissing-prototypes
2023-08-01 08:37:58 +02:00
Kai Pastor
21cfc456f5
find_dependency for exported cmake config
2023-08-01 08:13:30 +02:00
Armin Novak
ef5c0e78ab
[build] use define WINPR_FALLTHROUGH
...
with c17 compatible compilers annotate with [[fallthrough]]
2023-07-31 23:46:53 +02:00
Armin Novak
7ad32b3e2a
[client,sdl] clean up code
...
use local variable for often used accessor
2023-07-31 13:41:26 +02:00
Armin Novak
ff26ca1e39
[client,sdl] use member instead of static variable
2023-07-31 13:41:26 +02:00
Armin Novak
b3fdebfdf7
[client,sdl] position windows centered on monitor
2023-07-31 13:41:26 +02:00
Armin Novak
eca4017c8b
[client,sdl] enable multimon support for display channel
2023-07-31 13:41:26 +02:00
Armin Novak
aa2c48840a
[client,sdl] fix high dpi detection
...
* convert dpi value to percentage used by RDP
* fix detection of current monitor resolution for SDL windows
2023-07-31 13:41:26 +02:00
Dan Holliday
1d64c8d93c
Started to add support for multi-monitor.
2023-07-31 13:41:26 +02:00
Dan Holliday
75bc1505ab
Added the ability to quite the RDP session by pressing "r-ctrl + shift + D". The reason for this is when in full screen I have no way to exit from xrdp if I don't want to close my session.
2023-07-31 13:41:26 +02:00
Dan Holliday
7234b0a2f1
Added the ability to quite the RDP session by pressing "r-ctrl + shift + D". The reason for this is when in full screen I have no way to exit from xrdp if I don't want to close my session.
2023-07-31 13:41:26 +02:00
Dan Holliday
8c584c29dd
Started to add support for multi-monitor.
2023-07-31 13:41:26 +02:00
Dan Holliday
4eee7a54ad
Added the ability to quite the RDP session by pressing "r-ctrl + shift + D". The reason for this is when in full screen I have no way to exit from xrdp if I don't want to close my session.
2023-07-31 13:41:26 +02:00
Armin Novak
10386e73bc
[client,common] do not swap drive name,path for wildcards
...
the convenience feature to allow name,path or path,name syntax for drive
did not check for path being one of the wildcard symbols.
2023-07-31 10:12:23 +02:00
Armin Novak
03b78dd57b
[aad] print http status response message
2023-07-28 16:42:23 +02:00
Armin Novak
df3bed95a5
[client,windows] fix cast warnings
2023-07-28 15:48:32 +02:00
Armin Novak
3df928a8d2
[client,sdl] fixed member initialization order and casts
2023-07-28 13:42:12 +02:00
Armin Novak
ffacfc0432
[client,windows] fix const warnings
2023-07-28 13:42:12 +02:00
Armin Novak
78cea184aa
[client,windows] remove unused label
2023-07-28 13:42:12 +02:00
Armin Novak
78429b3176
[client,common] fixed sign warnings
2023-07-27 21:05:43 +02:00
Armin Novak
8c26c44d18
[client,common] fix format string arguments
2023-07-27 20:02:43 +02:00
Armin Novak
e61880d077
[standard] replace __FUNCTION__ with __func__
2023-07-27 20:02:43 +02:00
Armin Novak
9ea1ab285b
[client,sdl] set gui consent message
2023-07-26 20:50:21 +02:00
Armin Novak
117fc17292
[client,common] fix leak in rdp parser
2023-07-26 20:26:59 +02:00
Armin Novak
4f0ca73be6
[cmake] set MSVC runtime for SDL client
2023-07-26 16:19:07 +02:00
fifthdegree
16902e4c20
Parse arm and aad options in rdp(w) files
...
- enablerdsaadauth
- resourceprovider
2023-07-26 09:44:30 +02:00
Armin Novak
1abc3da4e0
[client,common] respect +force-console-callbacks
...
Set GetAccessToken to console edition too
2023-07-25 15:40:06 +02:00
Armin Novak
0cd774d2c0
[client,sdl] fix cleanup order
...
destroy SDL_Renderer before SDL_Window
2023-07-25 09:11:11 +02:00
Armin Novak
667f7e6f0d
[cmake] do not always build client-common
...
if -DWITH_CLIENT_COMMON=OFF ignore building common subdirectory
2023-07-25 07:29:36 +02:00
Armin Novak
4816a7d2a5
[cmake] require freetype for sdl2ttf
2023-07-24 10:49:38 +02:00
Armin Novak
315acc6aa9
[client,sdl] fix std::vector initialization
...
MSVC 2013 does not like too large vector initialization, work around
with https://stackoverflow.com/questions/31028941/how-to-avoid-compiler-limit-compiler-stack-overflow-with-large-vector-inits/31029335#31029335
2023-07-24 10:49:38 +02:00
Armin Novak
f00e73cec4
[client,sdl] fix constructor, initialize pointers
...
some initialization might fail, so initialize them beforehand.
2023-07-24 10:49:38 +02:00
Armin Novak
a5ea634516
[core] fix cJSON compat
...
* only export used symbols, provide prototypes when required
* clean up some length checks
2023-07-24 09:54:49 +02:00
akallabeth
5de7887d93
start new development cycle after 3.0.0-beta1 release
2023-07-21 16:04:49 +02:00
Armin Novak
f08d59ca5f
update version to 3.0.0-beta1
2023-07-21 16:04:35 +02:00
akallabeth
80091cba6a
[client,sdl] add MSVC macro for missing noexcept
2023-07-21 14:53:19 +02:00
akallabeth
33d8e8e41b
[client,sdl] replace memset with c++ string iteration
2023-07-21 14:53:19 +02:00