Commit Graph

1988 Commits

Author SHA1 Message Date
Marc-André Moreau
9834eed119 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-01-03 02:09:26 -05:00
Marc-André Moreau
6d8d3ca379 libfreerdp-cache: workaround for windows 8 missing bitmap bpp 2012-01-03 02:09:14 -05:00
Marc-André Moreau
95206bc7a1 xfreerdp-server: send updated regions using xdamage 2012-01-03 01:56:08 -05:00
Marc-André Moreau
9ef0995fda xfreerdp-server: add missing FindXfixes.cmake 2012-01-02 23:13:54 -05:00
Marc-André Moreau
3a8c439837 xfreerdp-server: xdamage initialization 2012-01-02 22:33:35 -05:00
Marc-André Moreau
3e029a10e0 Merge pull request #325 from jiten19/mainstream
Mainstream
2012-01-02 08:37:02 -08:00
Marc-André Moreau
a8765af692 Merge pull request #326 from nfedera/railfix2
xfreerdp: a quick workaround for some issues with TS Remote App.
2012-01-02 08:36:46 -08:00
Norbert Federa
cf3c03c60e xfreerdp: a quick workaround for some issues with TS Remote App.
Currently in Remote App mode we have no option to interact with the
remote desktop host before the first RAIL window is created.

In many situations this interaction possibility is absolutely required.
One example is that screen which gets displayed if another user is logged on.
It requires clicking a button in pre-RAIL mode so that the currently logged
on user gets notified to confirm or deny the connection.

Another example is the option to log on graphically (e.g. for hosts that
don't support NLA) without predefined credentials.

Also if the administrator sets the "User must change password at next logon"
option there is currently no way to do this in TS Remote App mode.

This change basically lets xfreerdp create the main window in Remote App mode
like in a normal session and xfi->remote_app is not set to true initially.

As soon as the rail exec result event or the first rail window creation
request is received (whatever comes first) the main window gets destroyed and
xfi->remote_app is set to true.

The second change is to disconnect immediately if the rail exec result event
reports an error, e.g. if the specified app cannot be found or if it is not
in the list of allowed applications.

This fixes FreeRDP github issue #143 and issue #308.

I'm aware that this is not the most elegant solution but it is definitely an
improvement and probably good enough for 1.0.
A nicer solution would be hiding the main window and only displaying it if
no rail exec result or rail window creation event is received after a certain
timeout ...
2012-01-02 10:27:04 +01:00
cool
8908aab34b fix complete 2012-01-01 16:07:58 -11:00
cool
ca79a7dcb2 fixed color bug 2012-01-01 16:03:27 -11:00
Marc-André Moreau
2a9d9c681d Merge pull request #322 from atong/master
xfreerdp: fix patblt pixmap leak & quick fix for patblt brush
2011-12-31 14:05:26 -08:00
Anthony Tong
adfb223133 xfreerdp: fix patblt pixmap leak & quick fix for patblt brush 2011-12-31 16:00:26 -06:00
Marc-André Moreau
3a3db9f20c libfreerdp-core: improve handling of create offscreen bitmap delete list indices 2011-12-31 15:36:04 -05:00
Marc-André Moreau
845d6ead55 libfreerdp-codec: fix color pointer conversion 2011-12-31 15:23:29 -05:00
Marc-André Moreau
576429e1b6 Merge pull request #321 from atong-tcs/rdpdr
rdpdr/disk: fix file deletes
2011-12-31 11:08:48 -08:00
Anthony Tong
40cfa9bfc8 rdpdr/disk: fix file deletes
- FileDispositionInfo implies delete_pending, if buffer is empty
2011-12-31 13:03:00 -06:00
Marc-André Moreau
25da218d6a libfreerdp-cache: fix handling of cached brushes 2011-12-31 12:06:09 -05:00
Marc-André Moreau
e95dcc4c5e libfreerdp-core: fix decompression of color brushes 2011-12-30 14:23:47 -05:00
Marc-André Moreau
2d34a62ce8 libfreerdp-codec: fix color conversion issues for OpaqueRect with --gdi sw,hw 2011-12-30 10:00:03 -05:00
Marc-André Moreau
cd6d3c0076 Merge pull request #315 from dorianj/master
drdynvc-tsmf: make tsmf plugin parser allow mulitple data chunks
2011-12-29 09:42:10 -08:00
Marc-André Moreau
f879bdc66d Merge pull request #318 from nfedera/rgb_to_ycbcr_speedup
codec: RemoteFX YCbCr/RGB conversion optimization
2011-12-29 09:41:47 -08:00
Norbert Federa
d3a801db6c codec: RemoteFX YCbCr/RGB conversion optimization
Replaced the non-accelerated rgb to ycbcr encoder (rfx_encode.c) to use 32-bit
integer multiplication with shifted factors: 2 times faster

The accelerated SSE2 rgb to ycbcr encoder (rfx_sse2.c) was completely changed
and simplified in order to make use of the SSE2 signed 16-bit integer
multiplication: 2 times faster

Also modified the non-accelerated ycbcr to rgb decoder (rfx_encode.c) to use
32-bit integer multiplications with shifted factors instead of floating point
multiplications: 3 times faster
2011-12-29 18:01:20 +01:00
Vic Lee
522bd24d19 xfreerdp: fix trivial compile warnings. 2011-12-29 21:26:34 +08:00
Dorian Johnson
39752fa014 drdynvc: dvcman_load_plugin load multiple drdynvc plugins 2011-12-27 16:06:57 -06:00
Dorian Johnson
e303867528 drdynvc-tsmf: make tsmf plugin parser allow mulitple data chunks
Allows one to config both decoder and audio simultaneously
2011-12-27 13:57:40 -06:00
Marc-André Moreau
2cd52d34cf Merge pull request #314 from nfedera/ycbcr_to_rgb_fix_and_sse2_speedup
codec: fixed and accelerated RemoteFX ycbcr-to-rgb decoder
2011-12-27 08:35:25 -08:00
Marc-André Moreau
62515cb028 Merge pull request #313 from dorianj/master
drdynvc: make audin and tsmf config data parsers recognize path-based plugin loading
2011-12-27 07:58:50 -08:00
Dorian Johnson
6dae926d86 drdynvc: make audin and tsmf config data parsers recognize path-based plugin loading 2011-12-27 09:55:00 -06:00
Marc-André Moreau
882880d0c9 Merge pull request #312 from atong-tcs/master
xfreerdp: create all X11 atoms used for safety
2011-12-27 07:39:05 -08:00
Anthony Tong
6ef9d6da30 xfreerdp: create all X11 atoms used for safety 2011-12-27 09:26:20 -06:00
Norbert Federa
04518f0b42 codec: fixed and accelerated RemoteFX ycbcr-to-rgb decoder
The current ycbcr decoder was loosing some bits because cr/cb was multiplied by
the shifted factors.
Instead one should multiply by the non-shifted factors and shift the result.
The effects of these lost bits are easily seen by comparing the colors of a
RemoteFX session with the colors of a plain RDP session - they are just wrong ;)

I've replaced the bit-magic from the non non-accelerated version (rfx_decode.c)
and replaced it with simple float multiplications using the compiler's implicit
integer conversions. On several test machines this was even a little bit faster.

The accelerated SSE2 ycbcr decoder (rfx_sse2.c) was completely changed in order
to make use of the SSE2 signed 16-bit integer multiplication.
Fortunately the factors in the conversion matrix are so small that we can
easily shift them to the maximum possible 16-bit signed integer value without
loosing any information and use _mm_mulhi_epi16 which takes the upper 16 bits
of the 32-bit result.

The SSE2 ycbcr decoder is now much simpler and about 40 percent faster.
2011-12-27 16:18:02 +01:00
Otavio Salvador
c5a2cf3035 Merge pull request #310 from llyzs/ostype
libfreerdp-core: move os type settings to the client.
2011-12-24 03:32:09 -08:00
Vic Lee
0975b4555c libfreerdp-core: move os type settings to the client.
Moving the osMajorType and osMinorType settings to the client so that the
client can set a real os type constant. This will give a more useful hint
to the server.
2011-12-24 15:48:33 +08:00
Anthony
e411f1cab8 Merge pull request #307 from absmall/master
Fix crash when connecting using smartcard authentication
2011-12-22 13:00:34 -08:00
Aaron Small
7ec1b56e42 Fix crash when connecting using smartcard 2011-12-22 14:23:08 -05:00
Marc-André Moreau
c8993296d0 Merge pull request #306 from dorianj/master
xfreerdp: create _NET_WM_ICON atom if not already exist
2011-12-22 10:26:38 -08:00
Dorian Johnson
5d825990f2 xfreerdp: create _NET_WM_ICON atom if not already exist
fixes crash on MacOS X and systems without WM.

some of the other XInternAtom calls should probably be changed to
False, but they don't appear to cause crashes
2011-12-22 12:01:29 -06:00
Marc-André Moreau
596f88e6b2 Merge pull request #301 from atong-tcs/master
xfreerdp: patblt fix, set stipple before drawing the rect
2011-12-21 17:21:01 -08:00
Marc-André Moreau
537e831197 Merge pull request #302 from dorianj/master
freerdp-channels: freerdp_channels_send_event free event in case of error
2011-12-21 17:19:48 -08:00
Dorian Johnson
b38d829342 freerdp-libchannels: freerdp_channels_send_event free event in case of error
fix for #257. Routine is already taking ownership of the passed event; thus it should free it in case of error.
2011-12-21 17:54:27 -06:00
Anthony Tong
b455455365 xfreerdp: patblt fix, set stipple before drawing the rect 2011-12-21 18:51:22 -05:00
Marc-André Moreau
ee7f80d021 Merge pull request #300 from sunds/master
Patch for #297 - inverted colormap
2011-12-21 15:18:53 -08:00
David Sundstrom
622375cef2 Detect when sever visual has an inverted color map and invert all color conversions.
Remote spurious printf() in code
2011-12-21 17:00:09 -06:00
David Sundstrom
50dcc1138a Fix SEGV for X servers without XKB extension. 2011-12-21 16:58:56 -06:00
Marc-André Moreau
3ad37ad461 Merge pull request #299 from dorianj/master
freerdp-cliprdr: Fix parsing of long-style format lists
2011-12-21 14:05:42 -08:00
Dorian Johnson
8a0ac1f3b7 Merge remote-tracking branch 'upstream/master' 2011-12-21 16:03:53 -06:00
Dorian Johnson
69ed9290c7 freerdp-cliprdr: Fix parsing of long-style format lists
Long-style format lists use variable length utf-16le names, but parser was treating the chunks as short-style 32-byte chunks, causing various issues
2011-12-21 16:02:53 -06:00
Marc-André Moreau
dcd1cff4c2 Merge pull request #298 from atong-tcs/master
server redirection
2011-12-21 12:14:37 -08:00
Anthony Tong
a65e562411 libfreerdp-core: fix server redirection when using rdp security 2011-12-21 14:59:31 -05:00
Marc-André Moreau
04d78066fd Merge pull request #296 from atong-tcs/master
fix previous pull (--dbg-x11)
2011-12-21 10:32:07 -08:00