platform/upstream/freerdp.git
9 years agoxfreerdp: partial fix for X11 16bpp mode
Marc-André Moreau [Tue, 16 Sep 2014 23:12:26 +0000 (19:12 -0400)]
xfreerdp: partial fix for X11 16bpp mode

9 years agolibfreerdp-gdi: fix SurfaceToSurface overlapping copies
Marc-André Moreau [Tue, 16 Sep 2014 21:41:24 +0000 (17:41 -0400)]
libfreerdp-gdi: fix SurfaceToSurface overlapping copies

9 years agolibfreerdp-codec: add BGR support to egfx
Marc-André Moreau [Tue, 16 Sep 2014 20:55:47 +0000 (16:55 -0400)]
libfreerdp-codec: add BGR support to egfx

9 years agolibfreerdp-gdi: add support for ABGR plain colors
Marc-André Moreau [Mon, 15 Sep 2014 20:28:53 +0000 (16:28 -0400)]
libfreerdp-gdi: add support for ABGR plain colors

9 years agolibfreerdp-gdi: partial support for internal ABGR buffer format
Marc-André Moreau [Mon, 15 Sep 2014 20:08:06 +0000 (16:08 -0400)]
libfreerdp-gdi: partial support for internal ABGR buffer format

9 years agolibfreerdp-codec: add RGB/BGR color conversion to freerdp_image_copy
Marc-André Moreau [Mon, 15 Sep 2014 18:59:45 +0000 (14:59 -0400)]
libfreerdp-codec: add RGB/BGR color conversion to freerdp_image_copy

9 years agomfreerdp: add egfx support
Marc-André Moreau [Sat, 13 Sep 2014 16:02:53 +0000 (12:02 -0400)]
mfreerdp: add egfx support

9 years agowfreerdp: add RDP8 graphics pipeline support
Marc-André Moreau [Fri, 12 Sep 2014 20:30:57 +0000 (16:30 -0400)]
wfreerdp: add RDP8 graphics pipeline support

9 years agolibfreerdp-gdi: add RDP8 graphics pipeline support
Marc-André Moreau [Fri, 12 Sep 2014 18:57:44 +0000 (14:57 -0400)]
libfreerdp-gdi: add RDP8 graphics pipeline support

9 years agowfreerdp: fix gdi usage
Marc-André Moreau [Fri, 12 Sep 2014 15:34:30 +0000 (11:34 -0400)]
wfreerdp: fix gdi usage

9 years agolibfreerdp-cache: fix 15bpp
Marc-André Moreau [Fri, 12 Sep 2014 05:11:40 +0000 (01:11 -0400)]
libfreerdp-cache: fix 15bpp

9 years agolibfreerdp-gdi: fix bitmap caching
Marc-André Moreau [Fri, 12 Sep 2014 05:03:19 +0000 (01:03 -0400)]
libfreerdp-gdi: fix bitmap caching

9 years agoxfreerdp: optimize bitmap updates
Marc-André Moreau [Fri, 12 Sep 2014 02:29:09 +0000 (22:29 -0400)]
xfreerdp: optimize bitmap updates

9 years agolibfreerdp-gdi: fix and cleanup new bitmap update code
Marc-André Moreau [Fri, 12 Sep 2014 00:46:15 +0000 (20:46 -0400)]
libfreerdp-gdi: fix and cleanup new bitmap update code

9 years agolibfreerdp-gdi: start optimizing gdi bitmap update
Marc-André Moreau [Fri, 12 Sep 2014 00:12:32 +0000 (20:12 -0400)]
libfreerdp-gdi: start optimizing gdi bitmap update

9 years agoMerge pull request #2088 from bmiklautz/fix/rdpsndv5
Marc-André Moreau [Thu, 11 Sep 2014 18:02:54 +0000 (14:02 -0400)]
Merge pull request #2088 from bmiklautz/fix/rdpsndv5

rdpsnd server side: misc fixes

9 years agoMerge pull request #2091 from ptsekov/software-gdi-improvements
Marc-André Moreau [Thu, 11 Sep 2014 17:52:16 +0000 (13:52 -0400)]
Merge pull request #2091 from ptsekov/software-gdi-improvements

Fix #2090

9 years agoMerge pull request #2092 from bmiklautz/issue/2085
Marc-André Moreau [Thu, 11 Sep 2014 17:49:49 +0000 (13:49 -0400)]
Merge pull request #2092 from bmiklautz/issue/2085

xfreerdp: fix segfault

9 years agoxfreerdp: fix segfault
Bernhard Miklautz [Thu, 11 Sep 2014 15:04:21 +0000 (17:04 +0200)]
xfreerdp: fix segfault

codec contexts are now generated and freed within core/codecs.c

9 years agoDo not invert fb data when rendering with freerdp's engine.
Pavel Tsekov [Thu, 11 Sep 2014 14:00:12 +0000 (17:00 +0300)]
Do not invert fb data when rendering with freerdp's engine.
* client/Windows/wf_interface.c (wf_post_connect): Do not pass
`CLRCONV_INVERT' to gdi_init().

9 years agoFix missing output when using freerdp's rendering
Pavel Tsekov [Thu, 11 Sep 2014 13:51:44 +0000 (16:51 +0300)]
Fix missing output when using freerdp's rendering
engine
* client/Windows/wf_interface.c (wf_post_connect): Properly initialize
freerdp's GDI subsystem when using freerdp's rendering engine.

9 years agoFix #2090
Pavel Tsekov [Thu, 11 Sep 2014 13:40:10 +0000 (16:40 +0300)]
Fix #2090
* client/Windows/wf_graphics.c (wf_register_graphics): Do not register
custom bitmap handler when using freerdp's own GDI implementation.

9 years agoMerge pull request #2089 from akallabeth/winpr_HexDump_fix
Martin Fleisz [Thu, 11 Sep 2014 12:25:29 +0000 (14:25 +0200)]
Merge pull request #2089 from akallabeth/winpr_HexDump_fix

Fixed string size calculation in winpr_HexDump

9 years agoFixed string size calculation in winpr_HexDump
Armin Novak [Thu, 11 Sep 2014 11:59:48 +0000 (13:59 +0200)]
Fixed string size calculation in winpr_HexDump

9 years agordpsnd_server_handle_messages: change return type
Bernhard Miklautz [Thu, 11 Sep 2014 11:45:23 +0000 (13:45 +0200)]
rdpsnd_server_handle_messages: change return type

With BOOL as return type it is not possible to differentiate between
success and "no data can be read" (when a channel read would block).

rdpsnd_server_handle_messages returns now int with the following
possible values:

-1 if no data could be read
0 error (like connection close) (formerly FALSE)
1 succsess (also if further bytes need to be read) (formerly TRUE)

Not using -1 for error cases was chosen to be compatible with the BOOL
return values used before.

9 years agoMerge branch 'akallabeth-fix_2036'
Martin Fleisz [Thu, 11 Sep 2014 11:03:36 +0000 (13:03 +0200)]
Merge branch 'akallabeth-fix_2036'

9 years agoMerge branch 'fix_2036' of git://github.com/akallabeth/FreeRDP into akallabeth-fix_2036
Martin Fleisz [Thu, 11 Sep 2014 11:03:01 +0000 (13:03 +0200)]
Merge branch 'fix_2036' of git://github.com/akallabeth/FreeRDP into akallabeth-fix_2036

Conflicts:
libfreerdp/codec/test/TestFreeRDPCodecPlanar.c
libfreerdp/codec/test/TestFreeRDPCodecProgressive.c
libfreerdp/core/transport.c
libfreerdp/primitives/test/TestPrimitivesYCbCr.c

9 years agoReformatted header with astyle 2.03, fixing extern "C" scope inentation.
Armin Novak [Thu, 11 Sep 2014 10:39:02 +0000 (12:39 +0200)]
Reformatted header with astyle 2.03, fixing extern "C" scope inentation.

9 years agoAdded version check for astyle, versions below 2.03 indent extern "C" scope
Armin Novak [Thu, 11 Sep 2014 10:38:32 +0000 (12:38 +0200)]
Added version check for astyle, versions below 2.03 indent extern "C" scope

9 years agordpsnd server: seal stream before processing
Bernhard Miklautz [Thu, 11 Sep 2014 09:43:05 +0000 (11:43 +0200)]
rdpsnd server: seal stream before processing

If the stream is not sealed Stream_GetRemainingLength might return bogus
values.

9 years agordpsnd server: add support for clients version < 6
Bernhard Miklautz [Thu, 11 Sep 2014 09:33:10 +0000 (11:33 +0200)]
rdpsnd server: add support for clients version < 6

MS-RDPEA 2.2.2.3 states (Appendix A <6>) that quality mode PDU
should be ignored if the client version is < 6. For these clients the sound
channel got never activated since activated was only called after
reception of the quality mode PDU.

For clients < version 6 activated is now called after
CLIENT_AUDIO_VERSION_AND_FORMATS was received.

9 years agoAdded braces to distinguish between pointer dereference and multiplication.
Armin Novak [Thu, 11 Sep 2014 10:09:06 +0000 (12:09 +0200)]
Added braces to distinguish between pointer dereference and multiplication.

9 years agoMerge pull request #2086 from llyzs/llyzs
Martin Fleisz [Thu, 11 Sep 2014 09:23:57 +0000 (11:23 +0200)]
Merge pull request #2086 from llyzs/llyzs

transport: exit transport loop when the session is activated.

9 years agotransport: exit transport loop when the session is activated.
Vic Lee [Thu, 11 Sep 2014 21:04:32 +0000 (14:04 -0700)]
transport: exit transport loop when the session is activated.

9 years agoMerge pull request #2084 from awakecoding/egfx
Marc-André Moreau [Wed, 10 Sep 2014 17:35:05 +0000 (13:35 -0400)]
Merge pull request #2084 from awakecoding/egfx

Progressive, H.264, YUV420, YCbCr, Planar, Interleaved

9 years agowfreerdp: fix build on Windows
Marc-André Moreau [Wed, 10 Sep 2014 15:38:38 +0000 (11:38 -0400)]
wfreerdp: fix build on Windows

9 years agoMerge pull request #2080 from bmiklautz/issue/2079
Marc-André Moreau [Wed, 10 Sep 2014 14:49:33 +0000 (10:49 -0400)]
Merge pull request #2080 from bmiklautz/issue/2079

xfreerdp: use _aligned_free instead of free

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP into egfx
Marc-André Moreau [Wed, 10 Sep 2014 14:44:48 +0000 (10:44 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP into egfx

9 years agoFixed winpr_HexDump calls in tests.
Armin Novak [Wed, 10 Sep 2014 06:48:49 +0000 (08:48 +0200)]
Fixed winpr_HexDump calls in tests.

9 years agolibfreerdp-core: refactor codec context management
Marc-André Moreau [Wed, 10 Sep 2014 04:42:41 +0000 (00:42 -0400)]
libfreerdp-core: refactor codec context management

9 years agolibfreerdp-primitives: fix YUV420 color conversion matrix
Marc-André Moreau [Tue, 9 Sep 2014 23:18:07 +0000 (19:18 -0400)]
libfreerdp-primitives: fix YUV420 color conversion matrix

9 years agolibfreerdp-primitives: integrate H264 SSE3 color converter
Marc-André Moreau [Tue, 9 Sep 2014 23:15:07 +0000 (19:15 -0400)]
libfreerdp-primitives: integrate H264 SSE3 color converter

9 years agoMerge branch 'egfx_new' of https://github.com/erbth/FreeRDP into egfx
Marc-André Moreau [Tue, 9 Sep 2014 22:04:55 +0000 (18:04 -0400)]
Merge branch 'egfx_new' of https://github.com/erbth/FreeRDP into egfx

9 years agolibfreerdp-codec: allow error margin of 1 on YCbCr to RGB color decoding
Marc-André Moreau [Tue, 9 Sep 2014 21:34:02 +0000 (17:34 -0400)]
libfreerdp-codec: allow error margin of 1 on YCbCr to RGB color decoding

9 years agolibfreerdp-codec: fix progressive decoding
Marc-André Moreau [Tue, 9 Sep 2014 18:36:04 +0000 (14:36 -0400)]
libfreerdp-codec: fix progressive decoding

9 years agoMerge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Tue, 9 Sep 2014 17:45:08 +0000 (13:45 -0400)]
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx

9 years agolibfreerdp-primitives: update YCbCr test code
Marc-André Moreau [Tue, 9 Sep 2014 17:44:57 +0000 (13:44 -0400)]
libfreerdp-primitives: update YCbCr test code

9 years agoReplaced fprintf with WLog_ERR.
Armin Novak [Tue, 9 Sep 2014 14:35:04 +0000 (16:35 +0200)]
Replaced fprintf with WLog_ERR.

9 years agoFixed Barrier test. First get the thread ID, then wait for the barrier to be reached.
Armin Novak [Tue, 2 Sep 2014 08:20:12 +0000 (10:20 +0200)]
Fixed Barrier test. First get the thread ID, then wait for the barrier to be reached.

9 years agoFixed missing initialisation of position variable.
Armin Novak [Tue, 2 Sep 2014 07:39:25 +0000 (09:39 +0200)]
Fixed missing initialisation of position variable.

9 years agoFixed winpr_HexDump calls.
Armin Novak [Tue, 19 Aug 2014 16:26:39 +0000 (18:26 +0200)]
Fixed winpr_HexDump calls.

9 years agoAdded headers for converting logging in libfreerdp, channels, clients and servers.
Armin Novak [Tue, 19 Aug 2014 16:25:57 +0000 (18:25 +0200)]
Added headers for converting logging in libfreerdp, channels, clients and servers.

9 years agoAdded script to automatically format all changed .c and .h files.
Armin Novak [Tue, 19 Aug 2014 16:25:37 +0000 (18:25 +0200)]
Added script to automatically format all changed .c and .h files.

9 years agoRemoved last remainig printf.
Armin Novak [Tue, 19 Aug 2014 16:24:58 +0000 (18:24 +0200)]
Removed last remainig printf.

9 years agoFixed winpr_HexDump calls in debug mode.
Armin Novak [Tue, 19 Aug 2014 09:49:25 +0000 (11:49 +0200)]
Fixed winpr_HexDump calls in debug mode.

9 years agoFixed arguments for WLog_Print in logging macros.
Armin Novak [Tue, 19 Aug 2014 08:29:01 +0000 (10:29 +0200)]
Fixed arguments for WLog_Print in logging macros.

9 years agoUsing trio_snprintf now.
Armin Novak [Tue, 19 Aug 2014 08:01:13 +0000 (10:01 +0200)]
Using trio_snprintf now.

9 years agoReformatted changed files.
Armin Novak [Mon, 18 Aug 2014 17:34:47 +0000 (19:34 +0200)]
Reformatted changed files.

9 years agoFixed pointer alignment in formatting script.
Armin Novak [Mon, 18 Aug 2014 17:34:33 +0000 (19:34 +0200)]
Fixed pointer alignment in formatting script.

9 years agoAdded stacktrace in case of log recursion.
Armin Novak [Mon, 18 Aug 2014 17:24:16 +0000 (19:24 +0200)]
Added stacktrace in case of log recursion.

9 years agoMoved logging defines to main logger.
Armin Novak [Mon, 18 Aug 2014 17:17:06 +0000 (19:17 +0200)]
Moved logging defines to main logger.

9 years agoNow using macro to generate module specific log tag.
Armin Novak [Mon, 18 Aug 2014 16:57:08 +0000 (18:57 +0200)]
Now using macro to generate module specific log tag.

9 years agoFixed calling of dump functions, new API
Armin Novak [Mon, 18 Aug 2014 15:23:13 +0000 (17:23 +0200)]
Fixed calling of dump functions, new API

9 years agoFixed calling of dump functions, new API
Armin Novak [Mon, 18 Aug 2014 15:23:03 +0000 (17:23 +0200)]
Fixed calling of dump functions, new API

9 years agoFixed calling of dump functions, updated API
Armin Novak [Mon, 18 Aug 2014 15:22:43 +0000 (17:22 +0200)]
Fixed calling of dump functions, updated API

9 years agoReplaced stdio logging with WLog
Armin Novak [Mon, 18 Aug 2014 15:22:22 +0000 (17:22 +0200)]
Replaced stdio logging with WLog

9 years agoAdded recursion detection to WLog.
Armin Novak [Mon, 18 Aug 2014 15:11:40 +0000 (17:11 +0200)]
Added recursion detection to WLog.
Dump functions now expect TAG and level as arguments.

9 years agoAdded recursion guard to logging functions.
Armin Novak [Mon, 18 Aug 2014 12:19:48 +0000 (14:19 +0200)]
Added recursion guard to logging functions.

9 years agoadded some commits, I didn't understand my own code anymore
erbth [Tue, 9 Sep 2014 10:34:08 +0000 (12:34 +0200)]
added some commits, I didn't understand my own code anymore

9 years agoYUV data conversion of H.264 implementation (egfx):
erbth [Mon, 8 Sep 2014 22:13:18 +0000 (00:13 +0200)]
YUV data conversion of H.264 implementation (egfx):
only convert invalid areas
SIMD SSSE3 conversion in primitives
compiling all primitives sources with optimization

and cleanup after last merge

9 years agolibfreerdp-primitives: start porting tests to Windows
Marc-André Moreau [Mon, 8 Sep 2014 20:24:43 +0000 (16:24 -0400)]
libfreerdp-primitives: start porting tests to Windows

9 years agolibfreerdp-primitives: add more YCbCr test coefficients
Marc-André Moreau [Mon, 8 Sep 2014 19:47:03 +0000 (15:47 -0400)]
libfreerdp-primitives: add more YCbCr test coefficients

9 years agolibfreerdp-primitives: add per-pixel YCbCr test code
Marc-André Moreau [Mon, 8 Sep 2014 19:16:03 +0000 (15:16 -0400)]
libfreerdp-primitives: add per-pixel YCbCr test code

9 years agolibfreerdp-primitives: update YCbCr color converter
Marc-André Moreau [Mon, 8 Sep 2014 16:28:35 +0000 (12:28 -0400)]
libfreerdp-primitives: update YCbCr color converter

9 years agoMerge branch 'egfx' of https://github.com/awakecoding/freerdp into egfx_new
erbth [Mon, 8 Sep 2014 14:56:45 +0000 (16:56 +0200)]
Merge branch 'egfx' of https://github.com/awakecoding/freerdp into egfx_new

Conflicts:
channels/drdynvc/client/dvcman.c
include/freerdp/codec/h264.h
libfreerdp/codec/h264.c after this merge h264 doesn't work anymore!!
libfreerdp/utils/svc_plugin.c

9 years agoYUV data conversion with SSSE3 using intrinsics
erbth [Mon, 8 Sep 2014 14:29:01 +0000 (16:29 +0200)]
YUV data conversion with SSSE3 using intrinsics

9 years agoxfreerdp: use _aligned_free instead of free
Pavel Tsekov [Mon, 8 Sep 2014 08:50:46 +0000 (11:50 +0300)]
xfreerdp: use _aligned_free instead of free

Use _aligned_free to release memory allocated with
freerdp_image_convert().

Fixes #2075

9 years agolibfreerdp-codec: cleanup and restructure planar decompressor for chroma subsampling
Marc-André Moreau [Sun, 7 Sep 2014 19:40:36 +0000 (15:40 -0400)]
libfreerdp-codec: cleanup and restructure planar decompressor for chroma subsampling

9 years agolibfreerdp-codec: simplify and optimize planar raw rgb decoding
Marc-André Moreau [Sun, 7 Sep 2014 18:08:29 +0000 (14:08 -0400)]
libfreerdp-codec: simplify and optimize planar raw rgb decoding

9 years agolibfreerdp-primitives: cleanup YCoCg
Marc-André Moreau [Sun, 7 Sep 2014 01:13:37 +0000 (21:13 -0400)]
libfreerdp-primitives: cleanup YCoCg

9 years agolibfreerdp-primitives: optimize YUV420p to RGB conversion
Marc-André Moreau [Sun, 7 Sep 2014 00:15:40 +0000 (20:15 -0400)]
libfreerdp-primitives: optimize YUV420p to RGB conversion

9 years agolibfreerdp-primitives: add YUV420 to RGB conversion
Marc-André Moreau [Sat, 6 Sep 2014 21:10:27 +0000 (17:10 -0400)]
libfreerdp-primitives: add YUV420 to RGB conversion

9 years agoMerge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Sat, 6 Sep 2014 00:17:05 +0000 (20:17 -0400)]
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx

9 years agolibfreerdp-codec: improve YUV to RGB color conversion
Marc-André Moreau [Sat, 6 Sep 2014 00:16:56 +0000 (20:16 -0400)]
libfreerdp-codec: improve YUV to RGB color conversion

9 years agoMerge pull request #2076 from awakecoding/egfx
Marc-André Moreau [Fri, 5 Sep 2014 23:50:25 +0000 (19:50 -0400)]
Merge pull request #2076 from awakecoding/egfx

MS-RDPEGFX Improvements

9 years agolibfreerdp-codec: fix build on Windows
Marc-André Moreau [Fri, 5 Sep 2014 23:38:33 +0000 (19:38 -0400)]
libfreerdp-codec: fix build on Windows

9 years agolibfreerdp-codec: cleanup h264 decoder
Marc-André Moreau [Fri, 5 Sep 2014 23:11:03 +0000 (19:11 -0400)]
libfreerdp-codec: cleanup h264 decoder

9 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Fri, 5 Sep 2014 21:29:35 +0000 (17:29 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx

9 years agolibfreerdp-gdi: enable altsec frame markers
Marc-André Moreau [Fri, 5 Sep 2014 20:06:19 +0000 (16:06 -0400)]
libfreerdp-gdi: enable altsec frame markers

9 years agoMerge pull request #2054 from erbth/wfreerdp
Marc-André Moreau [Fri, 5 Sep 2014 19:06:04 +0000 (15:06 -0400)]
Merge pull request #2054 from erbth/wfreerdp

(hopefully) proper window style setup in wfreerdp at startup

9 years agoMerge pull request #2057 from ptsekov/software-gdi-improvements
Marc-André Moreau [Fri, 5 Sep 2014 19:05:53 +0000 (15:05 -0400)]
Merge pull request #2057 from ptsekov/software-gdi-improvements

Adjust the X11 code to work with the new GDI color

9 years agoMerge pull request #2072 from nfedera/fix-2014-09-01-01
Marc-André Moreau [Fri, 5 Sep 2014 18:54:05 +0000 (14:54 -0400)]
Merge pull request #2072 from nfedera/fix-2014-09-01-01

rdpdr/drive: fixes for hung peers & info requests

9 years agoMerge pull request #2055 from dbungert/initialize
Marc-André Moreau [Fri, 5 Sep 2014 18:51:43 +0000 (14:51 -0400)]
Merge pull request #2055 from dbungert/initialize

Fix multiple cases of use of uninitialized vars

9 years agoMerge pull request #2067 from bmiklautz/fix/clog
Marc-André Moreau [Fri, 5 Sep 2014 18:51:09 +0000 (14:51 -0400)]
Merge pull request #2067 from bmiklautz/fix/clog

channels: fix possible overflow in logging

9 years agolibfreerdp-codec: improve progressive unit test
Marc-André Moreau [Thu, 4 Sep 2014 20:52:41 +0000 (16:52 -0400)]
libfreerdp-codec: improve progressive unit test

9 years agolibfreerdp-primitives: add YCbCr color converter test
Marc-André Moreau [Thu, 4 Sep 2014 20:34:29 +0000 (16:34 -0400)]
libfreerdp-primitives: add YCbCr color converter test

9 years agolibfreerdp-primitives: migrate tests to ctest
Marc-André Moreau [Thu, 4 Sep 2014 19:46:20 +0000 (15:46 -0400)]
libfreerdp-primitives: migrate tests to ctest

9 years agolibfreerdp-codec: improve YCbCr to RGB color conversion
Marc-André Moreau [Thu, 4 Sep 2014 17:09:46 +0000 (13:09 -0400)]
libfreerdp-codec: improve YCbCr to RGB color conversion

9 years agoX11: Convert GDI color to X11 color troughout.
Pavel Tsekov [Thu, 4 Sep 2014 09:44:03 +0000 (12:44 +0300)]
X11: Convert GDI color to X11 color troughout.
* client/X11/xf_client.c (xf_pre_connect): Set the field `colormap' of
`struct xfContext' to the default colormap.
* client/X11/xfreerdp.h (xf_gdi_get_color): Declare new external function.
* client/X11/xf_gdi.c (xf_gdi_get_color): Define new external function.
Use xf_gdi_get_color() to get the appropriate X color index from the GDI
color representation.
* client/X11/xf_graphics.c: Likewise.

9 years agolibfreerdp-codec: improve progressive unit tests
Marc-André Moreau [Wed, 3 Sep 2014 22:46:57 +0000 (18:46 -0400)]
libfreerdp-codec: improve progressive unit tests