Commit Graph

15599 Commits

Author SHA1 Message Date
Armin Novak 538b34c51d Moved rail application start to client common 2022-02-22 16:43:21 +01:00
Armin Novak 3bb36f4caa Fixed clang-scanbuild warnings 2022-02-22 16:15:05 +01:00
Armin Novak c0a39c2db8 Fixed TestUnicodeConversion warning 2022-02-22 12:21:21 +01:00
Armin Novak 130094de32 Fixed compilation warnings in ainput channel 2022-02-22 12:21:21 +01:00
Armin Novak 1b71bba2a0 Fixed compilation warnings 2022-02-22 11:29:56 +01:00
Armin Novak 951a83e295 Fixed deprecated mac symbol 2022-02-22 11:29:56 +01:00
Armin Novak 0c7e6c3c2d Refactored disp channel
* Assert all input parameters
* Use DISP_CHANNEL_NAME define for channel name
2022-02-22 11:29:56 +01:00
Pascal Nowack b2d0c42cbb server/disp: Sanitize optional physical monitor size values
The server sided handling of the display control channel currently
treats the physical monitor size values as obligatory values.
When the physical monitor size is invalid according to the
documentation, it is supposed to be ignored.
However, this is currently not done, leading to an abort of the display
control channel handling, when using Remmina, as Remmina does not submit
physical-monitor- widths and -heights.

Fix this issue by sanitizing the physical monitor size values, instead
of handling them as obligatory values, where both the physical with and
the physical height must be constrained to the values in the
documentation.
2022-02-22 10:55:22 +01:00
akallabeth c5f7f9fba8 Add option for external thread to ainput server channel 2022-02-22 09:44:13 +01:00
akallabeth 42abdb056f Use define for channel name 2022-02-22 09:44:13 +01:00
akallabeth 8b3f9431de Cleanup/code formatting 2022-02-22 09:44:13 +01:00
Armin Novak f03059e718 Extended AINPUT API:
* Each event now has a timestamp
* Relative and absolute events are sent simultaneously
* Added a flag indicating relative events are available
2022-02-22 09:44:13 +01:00
akallabeth e136444f51 Fixed xinput and x11 event priority
* Prefer xinput events over x11 events for mouse input
* Prefer xinput raw events over xinput events:
  * Only use when the mouse is grabbed (events are not bound to a
    specific window but are global)
  * Only use for relative mouse input
2022-02-22 09:44:13 +01:00
akallabeth 54259bc37c Added event logging for ainput channel 2022-02-22 09:44:13 +01:00
akallabeth e5592772ce Check return of ainput mouse event 2022-02-22 09:44:13 +01:00
akallabeth d3ee52b0f8 Fix conversion of mous wheel valuet 2022-02-22 09:44:13 +01:00
akallabeth d4be1717c2 Fixed window check
Ignore mouse events not originating in session window
2022-02-22 09:44:13 +01:00
akallabeth 855c9d3f4c Fixed broken format string 2022-02-22 09:44:13 +01:00
akallabeth ae49581673 Added missing include for ainput server channel 2022-02-22 09:44:13 +01:00
akallabeth de81f54076 Add relative mouse input and no channel support 2022-02-22 09:44:13 +01:00
akallabeth 8a5bd522c7 Fixed scaling of discrete wheel input. 2022-02-22 09:44:13 +01:00
akallabeth 66338e4c1f Added reserved elements to rdpClientContext
This is necessary to provide a stable ABI for future extensions.
(this struct is used as extension of rdpContext)
2022-02-22 09:44:13 +01:00
akallabeth db00082974 Implemented xfreerdp relative mouse input 2022-02-22 09:44:13 +01:00
akallabeth b1a2efde7d Implemented xfreerdp mouse grab 2022-02-22 09:44:13 +01:00
akallabeth 700d6dcd9e Use client/common mouse functions 2022-02-22 09:44:13 +01:00
akallabeth 4d3157c9cc Added common client mouse event functions 2022-02-22 09:44:13 +01:00
akallabeth b2b70fcf6d Use common client channel handling 2022-02-22 09:44:13 +01:00
akallabeth 4ca5078027 Added common client channel handling 2022-02-22 09:44:13 +01:00
Armin Novak b85333bb9e Automatically load advanced input channel 2022-02-22 09:44:13 +01:00
akallabeth cdbfff87ea Unified client stop 2022-02-22 09:44:13 +01:00
akallabeth 7641710f60 Use a client/common context component
* Allows moving common client code from specific client to a
  generic client/common implementation
2022-02-22 09:44:13 +01:00
akallabeth c4e14f7fd6 Added Advanced Input Channel support to sample server 2022-02-22 09:44:13 +01:00
Armin Novak da9edc1829 Added mouse-relative option to command line 2022-02-22 09:44:13 +01:00
Armin Novak fb8eb7251e Added relative mouse setting 2022-02-22 09:44:13 +01:00
akallabeth f45e515fcd Added Advanced Input Channel 2022-02-22 09:44:13 +01:00
Armin Novak b5c9a410d3 Made find Darwin aware. 2022-02-21 15:05:20 +01:00
akallabeth f568d70d52 Fixed guards 2022-02-18 08:38:28 +01:00
Armin Novak 80a352366f Fixed windows shadow warnings 2022-02-18 08:38:28 +01:00
Armin Novak 0801ab21ed Fixed windows CMAKE_DL_LIBS content for mingw builds 2022-02-18 08:38:28 +01:00
Armin Novak 21d8bab08d Fixed mingw build 2022-02-18 08:38:28 +01:00
Armin Novak 3a609fb920 Fixed mingw build warnings 2022-02-18 08:38:28 +01:00
Armin Novak bf9f1eccc1 Fixed issued with mingw build 2022-02-18 08:38:28 +01:00
zbstao bab45ff7da Fixed invalid password prompt on Windows system
Fixed invalid password prompt on Windows system
2022-02-17 11:01:34 +00:00
akallabeth c1a1e4f1d2 Force WITH_GSS_NO_NTLM_FALLBACK to OFF 2022-02-17 09:53:52 +00:00
akallabeth e3cf5928c4 Make mac native client build configuratble 2022-02-17 09:53:52 +00:00
akallabeth 3c61a31f65 Fixed ICU include directories 2022-02-17 09:53:52 +00:00
Armin Novak e6877e8135 Hardened registry read in settings 2022-02-15 13:43:36 +00:00
Armin Novak 5f8ab14f3f Cleaned up registry value reading, added warnings 2022-02-15 13:43:36 +00:00
Armin Novak 8231a7e7a7 Added runtime configuration option for kerberos/NTLM fallback 2022-02-15 13:43:36 +00:00
Armin Novak 082720a392 Free packet after decoding. 2022-02-15 11:00:05 +00:00