Commit Graph

2019 Commits

Author SHA1 Message Date
Cendio
f2533e0431 Fix return type for hash function 2017-11-09 16:56:31 +01:00
Cendio
2f03f65efe Add Dynamic Virtual Channels and basic RDPEDISP support
Fix issue #192

Signed-off-by: Henrik Andersson <hean01@cendio.com>
Signed-off-by: Karl Mikaelsson <derfian@cendio.se>
2017-11-09 15:39:39 +01:00
Henrik Andersson
d3d6613c78 Fix compiler warning 2017-11-03 12:49:11 +01:00
Henrik Andersson
8acf574b28 Fix compression regression introduced in commit 0c7b411
When adding support for multi fragments, we started to read and
use length from fast path packet. However a packet can be
compressed and uncompressed length should be used instead.

Fix issue #185
2017-11-03 12:33:00 +01:00
Karl Mikaelsson
afad56e6e5 Remove uiports/ 2017-11-02 16:30:13 +01:00
Henrik Andersson
50100f85e6
Merge pull request #183 from realsobek/fix-spelling-mistakes
Fix minor spelling mistakes
2017-11-02 09:20:26 +01:00
René Genz
9e99dd52d6 Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
Joshua Hudson
e7cda3dbf8 add -M for local mouse cursor 2017-11-01 06:47:31 +01:00
Henrik Andersson
5aa5a9dbfc Minor refactor of process_logon_pdu() 2017-11-01 06:47:31 +01:00
Henrik Andersson
7daf773b6a
Merge pull request #186 from derfian/suppress-output
Rename suppress output functions to match MS-RDPBCGR
2017-11-01 06:42:36 +01:00
joshudson
fe692058a2 Add Windows 10 support: add option to send DPI to server as Windows 1… (#66)
Add support  for choosing DPI of remote session
2017-11-01 06:37:18 +01:00
Karl Mikaelsson
8f83c1f6c7 Rename suppress output functions to match MS-RDPBCGR
Issue #161
2017-10-30 10:47:21 +01:00
Karl Mikaelsson
ba568443e1 Merge pull request #179 from hean01-cendio/build_warnings
Remove a bunch of compiler warnings
2017-10-27 12:34:14 +02:00
Henrik Andersson
71b0100044 Merge pull request #177 from derfian/32bit-color
Enable 32-bit color depths
2017-10-26 16:31:21 +02:00
Henrik Andersson
04bbb961ce Merge pull request #180 from derfian/remove-cvsignore
Rename .cvsignore to .gitignore
2017-10-26 16:29:19 +02:00
Henrik Andersson
a2e402556b Remove pedantic flag 2017-10-23 16:39:52 +02:00
Karl Mikaelsson
3ba4e882ba Rename .cvsignore to .gitignore 2017-10-23 12:43:21 +02:00
Henrik Andersson
f0b2b9d69a Add 'extra' warnings and 'pedantic' to cflags 2017-10-23 08:43:53 +02:00
Henrik Andersson
8c83f8957b Fix SCARD_AUTOALLOCATE handling
SCARD_AUTOALLOCATE is a define with value -1, which is compared
to an uint32. There was some missassumtion of whenever its -1 or
0xffffffff through the code.
2017-10-23 08:43:35 +02:00
Henrik Andersson
af08994cfd Fix define default logger subjects 2017-10-20 13:30:58 +02:00
Henrik Andersson
0d707ae103 Fix sign-compare compiler warnings 2017-10-20 13:30:42 +02:00
Henrik Andersson
896a923f55 Markup unused parameters 2017-10-20 11:05:52 +02:00
Karl Mikaelsson
172c76da17 Remove left-by-accident development log statements
Introduced by e35a76bce.
2017-10-18 18:59:46 +02:00
Karl Mikaelsson
8c162a5563 Enable 32-bit color depths
To enable 32-bit color depths a earlyCapabilityFlag in the CS_CORE
packet is required. When 32-bit color depth is requested, this
RNS_UD_CS_WANT_32BPP_SESSION flag will now be set. We also advertise
support for 32-bit color depths through the RNS_UD_32BPP_SUPPORT flag.
2017-10-18 12:18:50 +02:00
Henrik Andersson
987d9c1147 Merge pull request #176 from derfian/improve-mcs-connect-initial
Clarify MCS Connect Initial packet
2017-10-18 12:17:50 +02:00
Henrik Andersson
bace190ba5 Merge pull request #175 from derfian/pointer-shadows
Enable cursor shadows in all experience levels but modem
2017-10-18 10:02:49 +02:00
Karl Mikaelsson
27e447555e Rename SEC_TAG_CLI_ constants to match specification 2017-10-17 12:29:41 +02:00
Karl Mikaelsson
3bb69ac4b8 Document sec_out_mcs_connect_initial_pdu
Cross-referenced the PDU with the spec. I found and fixed a few
inconsistencies while also adding comments identifying each data
field.
2017-10-17 12:17:13 +02:00
Karl Mikaelsson
fd0846ccee Rename sec_out_mcs_data to sec_out_mcs_connect_initial_pdu 2017-10-17 12:16:51 +02:00
Henrik Andersson
fd1673392e Fix unused-but-set-variable compiler warnings 2017-10-17 10:50:14 +02:00
Karl Mikaelsson
ad98c55130 Enable cursor shadows in all experience levels but modem
Cursor shadows started working after the large pointer support was
introduced, so turn it on for most experience levels.
2017-10-17 10:40:32 +02:00
Henrik Andersson
267db2ceff Fix compile warnings about unused variables 2017-10-17 10:32:40 +02:00
Henrik Andersson
02a7ec4361 Fixed a few compiler warning, compare sign / unsigned values 2017-10-17 10:27:14 +02:00
Henrik Andersson
797a28ed25 Fix pointer sign warning 2017-10-17 10:20:23 +02:00
Henrik Andersson
f50e17ba9f Fix uninitialized variable warning
This also set a cursor pixelvalue to RED to visually
indicate error while parsing the cursor.
2017-10-17 10:16:07 +02:00
Henrik Andersson
7a81f7eae2 Fix all unused params warnings 2017-10-17 10:07:55 +02:00
Henrik Andersson
31f99755f7 Fix bug were for loop will always run until break is hit.
When 'i' is an unsigned int, it can never become negative and
stop the for loop iterating over the children.
2017-10-17 10:00:22 +02:00
Henrik Andersson
c99eb954d3 Fix warning about compare of signed and unsigned 2017-10-17 09:56:54 +02:00
Henrik Andersson
036f0fbebe Add UNUSED() macro to silent warnings
Use it to silent warning where a function parameter
is unused.
2017-10-17 09:52:42 +02:00
Henrik Andersson
42f3fad2c3 Add option to build with address-sanitizer 2017-10-17 09:18:07 +02:00
Henrik Andersson
295351792e Merge pull request #174 from derfian/large-pointers
Enable support for large pointers
2017-10-16 20:22:13 +02:00
Karl Mikaelsson
99f5925cce Enable support for large pointers
The cursor-handling code already handles larger pointer sizes. This
advertises that rdesktop has the capability to handle large cursors
and adjusts the maximum size of fragmented packets to suit the large
cursor requirements.

Solves issue #173.
2017-10-16 19:26:30 +02:00
Karl Mikaelsson
276ea5e16b Merge pull request #172 from hean01-cendio/bitmap_compression
Remove global variable g_bitmap_compression
2017-10-16 16:13:26 +02:00
Henrik Andersson
032d67f6ac Remove global variable g_bitmap_compression
g_bitmap_compression is a global variable scattered through the code
but only accessed and used in one place; rdp_out_bitmap_caps().
Demoted it to localvariable and replaced with hardcoded value.
2017-10-16 15:34:47 +02:00
Henrik Andersson
71c3dce37a Merge pull request #171 from derfian/fast-path-fragments
Enable fragmented Fast-Path Updates
2017-10-16 14:42:25 +02:00
Karl Mikaelsson
0c7b4117ab Enable fragmented Fast-Path Updates
Fragmented updates are concatenated into temporary streams (one per
update type) that are processed when receiving an update with the
FASTPATH_FRAGMENT_LAST bit set.
2017-10-16 14:01:13 +02:00
Henrik Andersson
8e3ec9e57b Merge pull request #170 from derfian/system-default-pointer
Use system default pointer when requested
2017-10-16 13:57:59 +02:00
Karl Mikaelsson
b8a1d04ffb Use system default pointer when requested
Solves problem with hidden cursors at login screen (part of
issue #165)

Signed-off-by: Karl Mikaelsson <derfian@cendio.se>
Signed-off-by: Henrik Andersson <hean01@cendio.se>
2017-10-16 13:55:39 +02:00
Henrik Andersson
0e530e6095 Merge pull request #168 from derfian/issue66-ts_fp_update_pdu
Clarify capability sets and Fast-Path code
2017-10-16 12:34:45 +02:00
Karl Mikaelsson
12ee9eb035 Avoid magic constants in caplen too 2017-10-13 14:34:01 +02:00