[ rdesktop-Patches-3481536 ] win8 patches

SourceForge.net <[email protected]> Wed, 19 Sep 2012 05:42:16 -0700
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Patches item #3481536, was opened at 2012-01-29 23:24
Message generated for change (Settings changed) made by hean01
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=3481536&group_id=24366

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: Jeremy Linton (jlinton)
>Assigned to: Henrik Andersson (hean01)
Summary: win8 patches

Initial Comment:
This patch allow connections to win8 hosts at 16 bits color depth, and with the bmp cache disabled.

so connect like `./rdesktop -b  -u username  win8-host`

The patches fall into two categories, graphics and input. 

For graphics. the image decoder incorrectly identifies the size because its failing to handle the scale bits properly. The bitmap decompressor also fails as win8 is always setting the bit depth to 0. I put a little "hack" in for that.

For input, win8 no longer appears to support the slow path keyboard and mouse input (or its a capabilities flag, although I played with them without any luck). So, all keyboard and mouse input is now being directed through a pair of fast path calls which bypass a large chunk of the RDP code. 


----------------------------------------------------------------------

Comment By: Corinna Vinschen (corinnav999)
Date: 2012-06-02 01:20

Message:
Hi guys,

just FYI, I just tested this patch on W8 RP 32 bit and W2012 RP.  It turns
out that specifying the -b option is
not necessary.  I also disabled the fast path input patch in rdp.c and the
keyboard works fine.  Nevertheless,
the other graphics patches are still required.

HTH,
Corinna 

----------------------------------------------------------------------

Comment By: Yarda (yarda81)
Date: 2012-03-08 03:19

Message:
Hi Jeremy, I am interested in your patches, please post it. FYI I created
Fedora BZ about this problem and linked it to this issue:
http://bugzilla.redhat.com/show_bug.cgi?id=801359

Your patch works for me, but only with -b. Please follow the rdesktop
coding style in your patches, i.e. code formating, indentation.

----------------------------------------------------------------------

Comment By: Jeremy Linton (jlinton)
Date: 2012-02-05 18:50

Message:
I have further patches to fix the keyboard sync, extended keycodes, etc.

If anyone gets interested in this patch I will submit them.




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=3481536&group_id=24366

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/