Commit Graph

14908 Commits

Author SHA1 Message Date
Armin Novak
b836f72ded Updated changelog 2022-04-06 11:02:18 +02:00
Armin Novak
a923f59c20 Fixed #7745: Progressive surface cleanup
(cherry picked from commit edcb8284e7)
2022-04-06 11:02:18 +02:00
Armin Novak
5249f61b72 Fixed missing field read.
(cherry picked from commit cb538114ed)
2022-04-06 10:22:06 +02:00
Armin Novak
c8dced5905 Fixed windows build (_snpnrintf)
(cherry picked from commit 6cccc95691)
2022-04-06 10:22:06 +02:00
Armin Novak
311558c964 Fixed missing return check
(cherry picked from commit 46c78cf0f0)
2022-04-06 10:22:06 +02:00
Armin Novak
49780f6306 Updated changelog 2022-04-06 10:22:06 +02:00
Armin Novak
061edc109f Fixed backport compile problems 2022-04-06 10:22:06 +02:00
Armin Novak
269ebb8cad Fixed NTLM flag handling
* NTLMSSP_NEGOTIATE_WORKSTATION_SUPPLIED and NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED
* Problem with clients not supporting NTLMSSP_NEGOTIATE_LM_KEY
* Improve logging

(cherry picked from commit 3c657d58cd)
2022-04-06 10:22:06 +02:00
Armin Novak
34e851209a Removed unnecessary assert
(cherry picked from commit 4b1427639a)
2022-04-06 10:22:06 +02:00
Armin Novak
f1d9faa7fc Refactored WinPR::NTLM
* added assertions
* added log messages
* removed code duplication

(cherry picked from commit 813966da1a)
2022-04-06 10:22:06 +02:00
Armin Novak
c6bd48f926 Use GetComputerName instead of gethostname
(cherry picked from commit 82165d95a9)
2022-04-06 10:22:06 +02:00
Armin Novak
732e946289 Updated changelog 2022-03-28 12:08:51 +02:00
Armin Novak
2008751c04 Replaced WINPR_ASSERT defines, use include 2022-03-28 12:08:51 +02:00
Armin Novak
0089ce25b4 Removed cached wlog pointer
(cherry picked from commit 77580466ae)
2022-03-28 12:08:51 +02:00
Armin Novak
e675ffcb35 Fixed warnings from WLOG_ASSERT
(cherry picked from commit 02896b0656)
2022-03-28 12:08:51 +02:00
Armin Novak
83dffd0009 Improve WINPR_ASSERT, log backtrace
(cherry picked from commit 9e94f1dace)
2022-03-28 12:08:51 +02:00
akallabeth
f522bcb63a Added option do disable WINPR_ASSERT
(cherry picked from commit 3a75228242)
2022-03-28 12:08:51 +02:00
Armin Novak
76660aab19 Added WINPR_ASSERT
Added a WinPR macro that can be used for WinPR and FreeRDP to
replace standard C assert.
It is more verbose and logs issues to WLog which makes it easier
for us to trace problems in the field.

(cherry picked from commit b435e6db9b)
2022-03-28 12:08:51 +02:00
Armin Novak
1c91d66a50 Changelog 2022-03-09 16:19:34 +01:00
Armin Novak
6462eca724 Workaround for [MS-RDPBCGR] 2.2.9.2.3 Frame Marker Command (TS_FRAME_MARKER)
Connections with  windows 2016 and 2019 sometimes receive short
frame marker. Ignore these to prevent disconnects

(cherry picked from commit 91ef44ed35)
2022-03-09 16:19:34 +01:00
Armin Novak
baf35cece9 Implemented #4341: Default to /network:auto
If no arguments are supplied, default to the behaviour of
/network:auto. This ensures the default experience is using the
best available graphics options.
As soon as any /network, /bpp, /rfx, /gfx, ... argument is used
only use these.

(cherry picked from commit d3168a1436)
2022-03-09 16:19:34 +01:00
Armin Novak
79207e6700 rfx_process_message verbose error log
(cherry picked from commit c194a68b1b)
2022-03-08 15:35:54 +01:00
Armin Novak
631e71bebd Added more log messages for SurfaceCommand failures
(cherry picked from commit c6f2040912)
2022-03-08 15:35:54 +01:00
Armin Novak
658a72980f Abort autoreconnect if a user cancel action was triggered.
(cherry picked from commit 15e7647f20)
2022-03-07 15:24:08 +01:00
Armin Novak
5e4347681d Changelog & version 2022-03-07 15:24:08 +01:00
Armin Novak
1e9485e4d9 Fixed #7696: Abort freerdp_connect if manually canceled
If freerdp_abort_connect is called, set FREERDP_ERROR_CONNECT_CANCELLED
This way freerdp_reconnect can distinguish between network issues and
user interaction and abort a retry attempt.

(cherry picked from commit a6b42ff6c9)
2022-03-07 15:24:08 +01:00
akallabeth
658abd5597 Updated changelog 2022-03-07 14:03:02 +01:00
akallabeth
8371d85dc5 Unified rdpsnd cleanup code
(cherry picked from commit 18db3e1df8)
2022-03-07 14:03:02 +01:00
akallabeth
334e8a8475 Backported rdpsnd channel cleanup fixes 2022-03-07 14:03:02 +01:00
Bernhard Miklautz
bd6521ed65 new: mention version detection in the ChangeLog 2022-03-07 13:40:27 +01:00
Bernhard Miklautz
71f3c3a49b new: add some basic documentation about version dectction
(cherry picked from commit 130fe26e62)
2022-03-07 13:40:27 +01:00
akallabeth
dd92a7a040 Respect USE_VERSION_FROM_GIT_TAG
(cherry picked from commit 20b2d4c7e4)
2022-03-07 13:40:27 +01:00
Bernhard Miklautz
b827e3767b
Merge pull request #7692 from akallabeth/stable-2.0.silence_info
Decreased logging verbosity for INFO level
2022-03-07 12:29:05 +01:00
akallabeth
de805f8565 Decreased logging verbosity for INFO level
(cherry picked from commit e6b0373859)
2022-03-03 10:52:00 +01:00
akallabeth
b076803219 Added openH264 decoder frame flush
(cherry picked from commit 366ad75bb4)
2022-02-28 08:51:58 +01:00
Armin Novak
8a5c034d54 Fixed duplicate comment warning 2022-02-22 12:41:11 +01:00
Armin Novak
9e497c22a9 Updated chanelog and version 2022-02-22 12:41:11 +01:00
Pascal Nowack
0c550ec982 rdpei/server: Fix PDU length for RDPINPUT_PROTOCOL_V300
When the server supports the protocol version RDPINPUT_PROTOCOL_V300,
the additional supportedFeatures field will be present.
The pduLength in the RDPINPUT_HEADER should, however, reflect this.

So, fix this error by writing the correct PDU length when the
supportedFeatures field is present.

(cherry picked from commit 1e18b53821)
2022-02-22 12:41:11 +01:00
Pascal Nowack
5e96f657f6 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 11:48:24 +01:00
akallabeth
4541b80e8b Add option for external thread to ainput server channel
(cherry picked from commit 538cd7cf8f)
2022-02-22 09:44:27 +01:00
Armin Novak
d866de5069 Extended AINPUT API:
* Each event now has a timestamp
* Relative and absolute events are sent simultaneously
* Added a flag indicating relative events are available

(cherry picked from commit deb8ef46dbdedefe22e22fc70665f80279f407b0)
2022-02-22 09:44:27 +01:00
akallabeth
55f3889a31 Added Advanced Input Channel
(cherry picked from commit 98b06b4639)
2022-02-22 09:44:27 +01:00
akallabeth
409ed441c1 Make mac native client build configuratble
(cherry picked from commit 32e01fe652)
2022-02-17 10:06:06 +00:00
akallabeth
ab935d94ef Fixed ICU include directories
(cherry picked from commit b790b67ee4)
2022-02-17 10:06:06 +00:00
Armin Novak
b369517e98 Fixed HexStrToBin, respect const input 2022-02-14 09:21:41 +00:00
Armin Novak
9f081069d8 Fixed possible leaks in TestSynchMultipleThreads
(cherry picked from commit 1947629b8e)
2022-02-14 09:21:41 +00:00
Hiroshi Ota
e480e97ea0 Fix missing KBD_JAPANESE condition
(cherry picked from commit 18e8a67f75)
2022-02-14 09:21:41 +00:00
Armin Novak
a633ae3532 Fixed #7636: GetStringUTFLength requires jstring argument
(cherry picked from commit f46f48dcd6)
2022-02-14 09:21:41 +00:00
akallabeth
9299d2fce1
Fix #7586: Update size of tile cache if required. (#7603)
(cherry picked from commit e0660ba694)
2022-01-28 09:07:35 +01:00
akallabeth
548e96d3bc Update nAvgBytesPerSec in audin_winmm_set_format
The format channel count and alignment may have changed.
Update nAvgBytesPerSec accordingly

(cherry picked from commit c6e84c4929)
2022-01-27 16:05:26 +01:00