Marc-André Moreau [Fri, 12 Sep 2014 18:57:44 +0000 (14:57 -0400)]
libfreerdp-gdi: add RDP8 graphics pipeline support
Marc-André Moreau [Fri, 12 Sep 2014 15:34:30 +0000 (11:34 -0400)]
wfreerdp: fix gdi usage
Marc-André Moreau [Fri, 12 Sep 2014 05:11:40 +0000 (01:11 -0400)]
libfreerdp-cache: fix 15bpp
Marc-André Moreau [Fri, 12 Sep 2014 05:03:19 +0000 (01:03 -0400)]
libfreerdp-gdi: fix bitmap caching
Marc-André Moreau [Fri, 12 Sep 2014 02:29:09 +0000 (22:29 -0400)]
xfreerdp: optimize bitmap updates
Marc-André Moreau [Fri, 12 Sep 2014 00:46:15 +0000 (20:46 -0400)]
libfreerdp-gdi: fix and cleanup new bitmap update code
Marc-André Moreau [Fri, 12 Sep 2014 00:12:32 +0000 (20:12 -0400)]
libfreerdp-gdi: start optimizing gdi bitmap update
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
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
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
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
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().
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.
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.
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
Armin Novak [Thu, 11 Sep 2014 11:59:48 +0000 (13:59 +0200)]
Fixed string size calculation in winpr_HexDump
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.
Martin Fleisz [Thu, 11 Sep 2014 11:03:36 +0000 (13:03 +0200)]
Merge branch '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
Armin Novak [Thu, 11 Sep 2014 10:39:02 +0000 (12:39 +0200)]
Reformatted header with astyle 2.03, fixing extern "C" scope inentation.
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
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.
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.
Armin Novak [Thu, 11 Sep 2014 10:09:06 +0000 (12:09 +0200)]
Added braces to distinguish between pointer dereference and multiplication.
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.
Vic Lee [Thu, 11 Sep 2014 21:04:32 +0000 (14:04 -0700)]
transport: exit transport loop when the session is activated.
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
Marc-André Moreau [Wed, 10 Sep 2014 15:38:38 +0000 (11:38 -0400)]
wfreerdp: fix build on Windows
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
Marc-André Moreau [Wed, 10 Sep 2014 14:44:48 +0000 (10:44 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP into egfx
Armin Novak [Wed, 10 Sep 2014 06:48:49 +0000 (08:48 +0200)]
Fixed winpr_HexDump calls in tests.
Marc-André Moreau [Wed, 10 Sep 2014 04:42:41 +0000 (00:42 -0400)]
libfreerdp-core: refactor codec context management
Marc-André Moreau [Tue, 9 Sep 2014 23:18:07 +0000 (19:18 -0400)]
libfreerdp-primitives: fix YUV420 color conversion matrix
Marc-André Moreau [Tue, 9 Sep 2014 23:15:07 +0000 (19:15 -0400)]
libfreerdp-primitives: integrate H264 SSE3 color converter
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
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
Marc-André Moreau [Tue, 9 Sep 2014 18:36:04 +0000 (14:36 -0400)]
libfreerdp-codec: fix progressive decoding
Marc-André Moreau [Tue, 9 Sep 2014 17:45:08 +0000 (13:45 -0400)]
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Tue, 9 Sep 2014 17:44:57 +0000 (13:44 -0400)]
libfreerdp-primitives: update YCbCr test code
Armin Novak [Tue, 9 Sep 2014 14:35:04 +0000 (16:35 +0200)]
Replaced fprintf with WLog_ERR.
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.
Armin Novak [Tue, 2 Sep 2014 07:39:25 +0000 (09:39 +0200)]
Fixed missing initialisation of position variable.
Armin Novak [Tue, 19 Aug 2014 16:26:39 +0000 (18:26 +0200)]
Fixed winpr_HexDump calls.
Armin Novak [Tue, 19 Aug 2014 16:25:57 +0000 (18:25 +0200)]
Added headers for converting logging in libfreerdp, channels, clients and servers.
Armin Novak [Tue, 19 Aug 2014 16:25:37 +0000 (18:25 +0200)]
Added script to automatically format all changed .c and .h files.
Armin Novak [Tue, 19 Aug 2014 16:24:58 +0000 (18:24 +0200)]
Removed last remainig printf.
Armin Novak [Tue, 19 Aug 2014 09:49:25 +0000 (11:49 +0200)]
Fixed winpr_HexDump calls in debug mode.
Armin Novak [Tue, 19 Aug 2014 08:29:01 +0000 (10:29 +0200)]
Fixed arguments for WLog_Print in logging macros.
Armin Novak [Tue, 19 Aug 2014 08:01:13 +0000 (10:01 +0200)]
Using trio_snprintf now.
Armin Novak [Mon, 18 Aug 2014 17:34:47 +0000 (19:34 +0200)]
Reformatted changed files.
Armin Novak [Mon, 18 Aug 2014 17:34:33 +0000 (19:34 +0200)]
Fixed pointer alignment in formatting script.
Armin Novak [Mon, 18 Aug 2014 17:24:16 +0000 (19:24 +0200)]
Added stacktrace in case of log recursion.
Armin Novak [Mon, 18 Aug 2014 17:17:06 +0000 (19:17 +0200)]
Moved logging defines to main logger.
Armin Novak [Mon, 18 Aug 2014 16:57:08 +0000 (18:57 +0200)]
Now using macro to generate module specific log tag.
Armin Novak [Mon, 18 Aug 2014 15:23:13 +0000 (17:23 +0200)]
Fixed 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
Armin Novak [Mon, 18 Aug 2014 15:22:43 +0000 (17:22 +0200)]
Fixed calling of dump functions, updated API
Armin Novak [Mon, 18 Aug 2014 15:22:22 +0000 (17:22 +0200)]
Replaced stdio logging with 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.
Armin Novak [Mon, 18 Aug 2014 12:19:48 +0000 (14:19 +0200)]
Added recursion guard to logging functions.
erbth [Tue, 9 Sep 2014 10:34:08 +0000 (12:34 +0200)]
added some commits, I didn't understand my own code anymore
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
Marc-André Moreau [Mon, 8 Sep 2014 20:24:43 +0000 (16:24 -0400)]
libfreerdp-primitives: start porting tests to Windows
Marc-André Moreau [Mon, 8 Sep 2014 19:47:03 +0000 (15:47 -0400)]
libfreerdp-primitives: add more YCbCr test coefficients
Marc-André Moreau [Mon, 8 Sep 2014 19:16:03 +0000 (15:16 -0400)]
libfreerdp-primitives: add per-pixel YCbCr test code
Marc-André Moreau [Mon, 8 Sep 2014 16:28:35 +0000 (12:28 -0400)]
libfreerdp-primitives: update YCbCr color converter
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
erbth [Mon, 8 Sep 2014 14:29:01 +0000 (16:29 +0200)]
YUV data conversion with SSSE3 using intrinsics
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
Marc-André Moreau [Sun, 7 Sep 2014 19:40:36 +0000 (15:40 -0400)]
libfreerdp-codec: cleanup and restructure planar decompressor for chroma subsampling
Marc-André Moreau [Sun, 7 Sep 2014 18:08:29 +0000 (14:08 -0400)]
libfreerdp-codec: simplify and optimize planar raw rgb decoding
Marc-André Moreau [Sun, 7 Sep 2014 01:13:37 +0000 (21:13 -0400)]
libfreerdp-primitives: cleanup YCoCg
Marc-André Moreau [Sun, 7 Sep 2014 00:15:40 +0000 (20:15 -0400)]
libfreerdp-primitives: optimize YUV420p to RGB conversion
Marc-André Moreau [Sat, 6 Sep 2014 21:10:27 +0000 (17:10 -0400)]
libfreerdp-primitives: add YUV420 to RGB conversion
Marc-André Moreau [Sat, 6 Sep 2014 00:17:05 +0000 (20:17 -0400)]
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Sat, 6 Sep 2014 00:16:56 +0000 (20:16 -0400)]
libfreerdp-codec: improve YUV to RGB color conversion
Marc-André Moreau [Fri, 5 Sep 2014 23:50:25 +0000 (19:50 -0400)]
Merge pull request #2076 from awakecoding/egfx
MS-RDPEGFX Improvements
Marc-André Moreau [Fri, 5 Sep 2014 23:38:33 +0000 (19:38 -0400)]
libfreerdp-codec: fix build on Windows
Marc-André Moreau [Fri, 5 Sep 2014 23:11:03 +0000 (19:11 -0400)]
libfreerdp-codec: cleanup h264 decoder
Marc-André Moreau [Fri, 5 Sep 2014 21:29:35 +0000 (17:29 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Fri, 5 Sep 2014 20:06:19 +0000 (16:06 -0400)]
libfreerdp-gdi: enable altsec frame markers
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
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
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
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
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
Marc-André Moreau [Thu, 4 Sep 2014 20:52:41 +0000 (16:52 -0400)]
libfreerdp-codec: improve progressive unit test
Marc-André Moreau [Thu, 4 Sep 2014 20:34:29 +0000 (16:34 -0400)]
libfreerdp-primitives: add YCbCr color converter test
Marc-André Moreau [Thu, 4 Sep 2014 19:46:20 +0000 (15:46 -0400)]
libfreerdp-primitives: migrate tests to ctest
Marc-André Moreau [Thu, 4 Sep 2014 17:09:46 +0000 (13:09 -0400)]
libfreerdp-codec: improve YCbCr to RGB color conversion
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.
Marc-André Moreau [Wed, 3 Sep 2014 22:46:57 +0000 (18:46 -0400)]
libfreerdp-codec: improve progressive unit tests
Marc-André Moreau [Wed, 3 Sep 2014 20:20:50 +0000 (16:20 -0400)]
libwinpr-utils: centralize bitmap utils
Marc-André Moreau [Tue, 2 Sep 2014 23:25:01 +0000 (19:25 -0400)]
libfreerdp-codec: initial partial upgrade tile support
Marc-André Moreau [Tue, 2 Sep 2014 22:15:36 +0000 (18:15 -0400)]
libfreerdp-codec: fix and improve SRL decoder
erbth [Tue, 2 Sep 2014 20:16:56 +0000 (22:16 +0200)]
H.264: converting only clipping rects to XRGB
Marc-André Moreau [Tue, 2 Sep 2014 17:31:40 +0000 (13:31 -0400)]
libfreerdp-codec: add more progressive test functions
Norbert Federa [Tue, 2 Sep 2014 13:42:44 +0000 (15:42 +0200)]
rdpdr/drive: fixes for hung peers & info requests
drive_file_init: only allow directories and regular files
This is fixes issue #2071
Even if the server is only interested in getting a file's or directory's
attributes FreeRDP still tries to open the object with read permissions.
If the FreeRDP client has no read permissions for this object the call will
fail which forces the server to perform some expensive workarounds (e.g.
getting to the stat buffers via a directory enumeration request).
On Linux we can try to open the file or directory with the O_PATH flag in
order to obtain a file descriptor who's only purpose is to perform operations
that act purely at the file descriptor level.
Bernhard Miklautz [Fri, 29 Aug 2014 14:37:14 +0000 (16:37 +0200)]
channels: fix possible overflow in logging
Fixes clang compiler warning:
"warning: the value of the size argument in 'strncat' is too large,
might lead to a buffer overflow [-Wstrncat-size]"
strncat requires an extra byte for '\0' so dest needs to have a size of
n+1
Martin Fleisz [Fri, 29 Aug 2014 09:14:50 +0000 (11:14 +0200)]
Merge pull request #2066 from llyzs/llyzs
channels: fix memory leak in stream pools.