David Fort
44c82cd929
Fixes various akallabeth remarks
2022-02-24 08:52:25 +01:00
David Fort
6a5521bb84
fix snprintf usage
2022-02-24 08:52:25 +01:00
Armin Novak
a00238d253
Use freerdp_settings_set and _strdup
2022-02-24 08:52:25 +01:00
Armin Novak
99d63ea89e
Fixed missing static and WINPR_API
2022-02-24 08:52:25 +01:00
David Fort
cb351a099d
Enable smartcard NLA logon
2022-02-24 08:52:25 +01:00
David Fort
62ac25ef54
smartcard_emu: enable to specify the smartcard pin
2022-02-24 08:52:25 +01:00
David Fort
d545ab66e1
tscredential: generate automatically the file from a parser
2022-02-24 08:52:25 +01:00
Armin Novak
1b71bba2a0
Fixed compilation warnings
2022-02-22 11:29:56 +01:00
Armin Novak
fb8eb7251e
Added relative mouse setting
2022-02-22 09:44:13 +01:00
Armin Novak
bf9f1eccc1
Fixed issued with mingw build
2022-02-18 08:38:28 +01:00
Armin Novak
e6877e8135
Hardened registry read in settings
2022-02-15 13:43:36 +00:00
Armin Novak
082720a392
Free packet after decoding.
2022-02-15 11:00:05 +00:00
akallabeth
2d2627deab
Fixed SSPI fallback to NTLM ( #7642 )
...
* Fixed SSPI fallback to NTLM
* Fixed wide/ansi mixup
* WITH_GSS fixes
* Move to WinPR as this is not related to FreeRDP
* Add option WITH_GSS_NO_NTLM_FALLBACK to disable NTLM fallback
* Abort NLA if status is SEC_E_NO_CREDENTIALS
* Properly invalidate sspi::SubContext
2022-02-15 09:04:17 +01:00
akallabeth
8cc6582044
Unify struct definitions ( #7633 )
...
* Unified enum/struct definitions, fixed include issues
* Fixed mac compilation issues
* Added missing include
* Fixed windows server build warnings
* Fixed VS2010 build issue
* Removed unnecessary library linking
* Fixed ThreadPool WinXP compatibility
* Fixed pr review remarks
2022-02-14 14:59:22 +01:00
Hiroshi Ota
e27a7e834e
Fix missing KBD_JAPANESE condition
2022-02-14 08:42:36 +00:00
Armin Novak
85f5dbd4b5
Added missing static to internal functions
2022-02-10 12:49:00 +00:00
Armin Novak
edeea86dd1
Improved http_proxy_connect checks
...
* Assert function arguments
* Unify error handling
* Additional buffer size checks
2022-02-07 08:22:19 +00:00
Ayose
b43942a348
HTTP Basic authentication for HTTP proxy connections
...
This patch adds support for authentication when the connection is done
through a HTTP proxy.
It only supports HTTP Basic Authentication (like `curl --proxy`).
It is tested against Apache 2.4.
2022-02-07 08:22:19 +00:00
David Fort
46eb50df2c
proxy: improve channel treatment
...
This PR introduces per channel context so that we can speed up operations like
retrieving the channel name from its id, or knowing what shall be done for a
packet (no config ACL recomputation at each packet).
2022-02-04 08:44:22 +00:00
Armin Novak
cefb4e1237
Use freerdp_settings_set and _strdup
2022-02-02 13:43:31 +00:00
Armin Novak
10e40147fb
Fixed various const warnings
2022-02-01 10:25:37 +00:00
Armin Novak
1f59dff316
Fixed const warnings
2022-02-01 10:25:37 +00:00
Armin Novak
90512bcc8d
Fixed xcrush const warnings
2022-02-01 08:48:21 +01:00
Armin Novak
cfc8d513b9
Fixed settings related warnings
2022-02-01 08:48:21 +01:00
Armin Novak
c27f1b41f9
Fixed const cast warning
2022-02-01 08:48:21 +01:00
Armin Novak
ca30e749e9
Fixed unused-but-set-variable and reserved identifier warnings
2022-02-01 08:48:21 +01:00
Armin Novak
c51224e923
Fixed const warnings for codec decompress routines
2022-01-31 16:25:56 +01:00
Armin Novak
b9cfa10513
Fixed some more warnings
2022-01-31 15:55:10 +01:00
Armin Novak
c220367843
Replaced reserved name identifier
2022-01-31 15:55:10 +01:00
Armin Novak
2e17cee5a9
Fixed various warnings.
2022-01-31 15:55:10 +01:00
Armin Novak
83d834a6ca
Static internal variables, added resolution limit explanation
2022-01-31 11:20:27 +01:00
eronnen
4c78b66822
always initializing MediaCodec with non-zero resolution, adjusting to codec output resolution
2022-01-31 11:20:27 +01:00
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