akallabeth
4a29b29a53
Fix #7586 : Update size of tile cache if required. ( #7602 )
2022-01-28 09:07:27 +01:00
dance
122268aec1
code cleanup: don't allocate excessive memory in update_read_bitmap_update
...
removed no more actually used count property of BITMAP_UPDATE struct,
fixed allocating twice as memory for its rectangles - as of refactoring
at e5767f07
BITMAP_UPDATE struct is reused no more
2022-01-27 10:52:02 +01:00
Armin Novak
6f3761b8bf
Fixed too eager assert.
2022-01-26 12:22:41 +01:00
Armin Novak
61e7f5796f
Added missing include
2022-01-26 10:24:26 +01:00
Armin Novak
4d29cb3700
Fixed statement expressions and missing goto
2022-01-26 10:24:26 +01:00
Armin Novak
d3ae4cf26d
Added code assertions, fixed loading order
2022-01-26 10:24:26 +01:00
Ely Ronnen
633c1abf44
handling small input buffer case
2022-01-26 10:24:26 +01:00
Ely Ronnen
91540862df
import libmediandk.so dynamically
2022-01-26 10:24:26 +01:00
Ely Ronnen
52202762e8
adding mediacodec h264 implementation using NDK
2022-01-26 10:24:26 +01:00
David Runge
d0488f8692
Guard avcodec_register_all() calls
...
{channels/tsmf/client/ffmpeg/tsmf,libfreerdp/codec/dsp}_ffmpeg.c:
Guard calls to `avcodec_register_all()` against use beyond
`AV_VERSION_INT(58, 10, 100)`, where upstream ffmpeg made it obsolete.
2022-01-25 08:52:29 +01:00
akallabeth
6abd5f6c79
FFmpeg deprecated guards ( #7574 )
...
* Fixed missing ffmpeg deprecation guard
* Fixed compilation type warning
2022-01-24 09:49:07 +01:00
akallabeth
a337031b24
Cache Emulate_IsConfigured result ( #7569 )
...
* Cache Emulate_IsConfigured result
The check is used very often, so this caching reduces necessary
allocations.
* Fix winpr_HexLogDump
Abort function early if the log message is to be discarded due to
the log level being inactive.
* Use common logger for rdpdr message
Co-authored-by: Martin Fleisz <martin.fleisz@thincast.com>
2022-01-21 13:24:20 +01:00
Armin Novak
9c7ec3888a
Added deprecation to *get_fds functions
2022-01-21 08:59:09 +01:00
akallabeth
724c6f8192
Proxy cleanups ( #7568 )
...
* Fixed C++ issues with proxy context
* Added freerdp_settings_get_string_writable
* Define WITH_PROXY_EMULATE_SMARTCARD in config.h
2022-01-20 11:12:36 +01:00
David Fort
990b3cf7bb
smartcard_emulate: change the announced ATR ( #7564 )
...
This other ATR seems to be more recognized by new windows versions.
2022-01-19 12:00:53 +01:00
akallabeth
e6e6ed5dbd
Cleaned up PubSub
...
* Callback arguments now const
* Fixed missing includes
2022-01-19 09:24:57 +01:00
Armin Novak
1fedd36f65
Fixed proxy compilation issues after rdpUpdate refactoring
2022-01-18 11:24:23 +01:00
Armin Novak
0b3d5351e1
Removed internal members of rdpSecondaryUpdate from API header
2022-01-18 11:24:23 +01:00
Armin Novak
504336f796
Removed internal members of rdpPrimaryUpdate from API header
2022-01-18 11:24:23 +01:00
Armin Novak
3006c973c4
Removed internal members of rdpAltSecUpdate from API header
2022-01-18 11:24:23 +01:00
Armin Novak
6973c5dce2
Removed internal members of rdpInput from API header
2022-01-18 11:24:23 +01:00
Armin Novak
d210ac5e33
Removed internal members of rdpUpdate from API header
2022-01-18 11:24:23 +01:00
Armin Novak
9bd519d892
Do not reset scard context cancel
2022-01-18 09:02:07 +01:00
akallabeth
204f9a4678
Capability debug level set to verbose
2022-01-13 17:20:48 +01:00
Armin Novak
33f87e3349
Fix checks for input flags:
...
The settings have double meaning:
* Setting the default in client preconnect callback can disable
announcement of a flag to the server regardless of support
* If set it is overridden with the value the server supports
2022-01-13 16:34:05 +01:00
Armin Novak
339cdded45
Fixed memory sanitizer warnings
2022-01-11 14:32:18 +01:00
akallabeth
7c9117cf86
Fixed size checks for locale detection.
...
Reported by George Zaytsev from Positive Technologies
2022-01-11 14:32:18 +01:00
Armin Novak
4e6e5be654
Added proxy intercept channels
...
* New configuration to intercept certain channels
* Added rdpdr intercept implementation
2022-01-11 12:34:43 +01:00
Armin Novak
3c72cc3306
Refactored rdpdr and dependent channels
...
* Move parsing code to core library
* Move definitions to public API to allow access from outside
* Move smartcard related parsing to core library
2022-01-11 12:34:43 +01:00
akallabeth
8c543b1de2
Added smartcard emulation layer
2022-01-11 12:34:43 +01:00
Armin Novak
98348ef62a
Removed ndr.h from WinPR
2021-12-23 14:27:12 +01:00
Armin Novak
3de6af34ed
Removed unused module winhttp
2021-12-23 14:27:12 +01:00
Armin Novak
0fb83a304d
Adjusted channelID and server SetVolume data types
2021-12-20 08:11:00 +01:00
Armin Novak
f3df9a520e
Fixed H264 related warnings
2021-12-20 08:11:00 +01:00
akallabeth
feb6d9ae5c
Set last error on activation timeout ( #7502 )
2021-12-17 17:28:41 +01:00
Armin Novak
e5ce4b49e7
Added logging in gcc_write_client_monitor_data
2021-12-17 10:06:54 +01:00
akallabeth
2d9416e499
gcc core data cleanup
2021-12-16 12:54:53 +01:00
akallabeth
19ee9f0cce
Fix freerdp_channels_process_message cleanup
...
Not all code paths did clean up the message, specifically WMQ_QUIT
2021-12-16 10:53:17 +01:00
Armin Novak
d248b635a5
Added Redirect callback
2021-12-15 14:38:13 +01:00
Armin Novak
b545094664
Cleaned up redirection code
2021-12-15 14:38:13 +01:00
Armin Novak
bb0eeeb264
Use stack string buffer for ClientHostname and ID
2021-12-15 13:36:15 +01:00
Armin Novak
007e061f77
Fixed capability debugging
2021-12-15 13:36:15 +01:00
akallabeth
97ae26d47f
Fixed rdp_write_logon_info_v2:
...
Set size field according to
[MS-RDPBCGR] 2.2.10.1.1.2 Logon Info Version 2 (TS_LOGON_INFO_VERSION_2)
2021-12-15 13:36:15 +01:00
akallabeth
9d7e2cc3d0
Code refactoring, use initializer instead of memset
2021-12-15 13:36:15 +01:00
akallabeth
94685c9482
Updated freerdp_settings_set_string
...
Allow NULL argument with length, creates an empty string
2021-12-15 13:36:15 +01:00
David Fort
a6cadd6f97
winpr: fix compilation for mingw
...
Depending on the version of mingw some export macro aren't always defined.
2021-12-14 14:12:01 +01:00
Armin Novak
874f47f01e
Added more error checks to nego
2021-12-14 13:46:34 +01:00
Armin Novak
72d6671d5f
Improved bitmap chache input checks
2021-12-14 13:46:34 +01:00
akallabeth
1265114be7
Fixed freerdp_disconnect ( #7479 )
...
Added a missing call to freerdp_abort_connect to ensure all
threads terminate in an orderly fashion
2021-12-06 09:41:05 +01:00
Fabian Vogt
10ee86527a
Make H.264 codec optional during runtime
...
It's possible that FreeRDP was built against FFmpeg, but it doesn't support
H.264. In that case, just continue without H.264 support instead of failing
hard before even trying to connect.
This is especially useful for Linux distributions which can't ship H.264
support in FFmpeg out of the box (patent issues), but allow enabling H.264
later by installing a version of FFmpeg which has it enabled.
2021-12-06 09:19:52 +01:00