Commit Graph

7151 Commits

Author SHA1 Message Date
Marc-André Moreau 437583aa9a libfreerdp-primitives: add YUV420 to RGB conversion 2014-09-06 17:10:27 -04:00
Marc-André Moreau 73d121dd82 Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx 2014-09-05 20:17:05 -04:00
Marc-André Moreau 5f37e768f0 libfreerdp-codec: improve YUV to RGB color conversion 2014-09-05 20:16:56 -04:00
Marc-André Moreau fe75405d5c libfreerdp-codec: fix build on Windows 2014-09-05 19:38:33 -04:00
Marc-André Moreau f14b0e0195 libfreerdp-codec: cleanup h264 decoder 2014-09-05 19:11:03 -04:00
Marc-André Moreau 033e75467b Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx 2014-09-05 17:29:35 -04:00
Marc-André Moreau 66bbbf0519 libfreerdp-gdi: enable altsec frame markers 2014-09-05 16:06:19 -04:00
Marc-André Moreau 7f9d05183c Merge pull request #2054 from erbth/wfreerdp
(hopefully) proper window style setup in wfreerdp at startup
2014-09-05 15:06:04 -04:00
Marc-André Moreau 5107f07b52 Merge pull request #2057 from ptsekov/software-gdi-improvements
Adjust the X11 code to work with the new GDI color
2014-09-05 15:05:53 -04:00
Marc-André Moreau 4a80fc05c8 Merge pull request #2072 from nfedera/fix-2014-09-01-01
rdpdr/drive: fixes for hung peers & info requests
2014-09-05 14:54:05 -04:00
Marc-André Moreau dc56ad7a0e Merge pull request #2055 from dbungert/initialize
Fix multiple cases of use of uninitialized vars
2014-09-05 14:51:43 -04:00
Marc-André Moreau bfe04cc9a1 Merge pull request #2067 from bmiklautz/fix/clog
channels: fix possible overflow in logging
2014-09-05 14:51:09 -04:00
Marc-André Moreau 510a02ea94 libfreerdp-codec: improve progressive unit test 2014-09-04 16:52:41 -04:00
Marc-André Moreau be60bddec0 libfreerdp-primitives: add YCbCr color converter test 2014-09-04 16:34:29 -04:00
Marc-André Moreau ccb31efe63 libfreerdp-primitives: migrate tests to ctest 2014-09-04 15:46:20 -04:00
Marc-André Moreau 37aabc50d1 libfreerdp-codec: improve YCbCr to RGB color conversion 2014-09-04 13:09:46 -04:00
Pavel Tsekov cdfcbeff5c 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.
2014-09-04 12:44:03 +03:00
Marc-André Moreau fd7b9669a5 libfreerdp-codec: improve progressive unit tests 2014-09-03 18:47:02 -04:00
Marc-André Moreau 320b1d35ed libwinpr-utils: centralize bitmap utils 2014-09-03 16:20:50 -04:00
Marc-André Moreau 1491c5a7f9 libfreerdp-codec: initial partial upgrade tile support 2014-09-02 19:25:01 -04:00
Marc-André Moreau f79be532f0 libfreerdp-codec: fix and improve SRL decoder 2014-09-02 18:15:36 -04:00
Marc-André Moreau 6abd9e6be0 libfreerdp-codec: add more progressive test functions 2014-09-02 13:31:40 -04:00
Norbert Federa e393499ff8 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.
2014-09-02 15:42:44 +02:00
Bernhard Miklautz 3e355c9f79 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
2014-08-29 16:37:14 +02:00
Martin Fleisz d37af95e70 Merge pull request #2066 from llyzs/llyzs
channels: fix memory leak in stream pools.
2014-08-29 11:14:50 +02:00
Marc-André Moreau 49cede6e01 libfreerdp-codec: add separate sign array 2014-08-28 15:14:01 -04:00
Marc-André Moreau e15baf6184 libfreerdp-codec: add code for SRL parsing 2014-08-28 12:14:28 -04:00
Vic Lee 551ee0566a channels: fix memory leak in stream pools. 2014-08-28 23:16:32 +08:00
Marc-André Moreau 59b8bd0bd1 libfreerdp-codec: start reading progressive RAW bytes 2014-08-27 18:34:37 -04:00
Marc-André Moreau 32766b0647 libfreerdp-codec: start computing BitPos 2014-08-27 17:02:15 -04:00
Marc-André Moreau 51d1d42616 libfreerdp-codec: fix progressive tile diffing 2014-08-27 15:15:37 -04:00
Marc-André Moreau 656dd760c5 libfreerdp-codec: fix sub-band diffing 2014-08-26 16:15:22 -04:00
Marc-André Moreau 4773403243 libfreerdp-codec: partial YCbCr diffing support 2014-08-26 14:36:33 -04:00
Marc-André Moreau ec53dd612e libfreerdp-codec: fix progressive codec tile drawing offset, fix dequantization 2014-08-25 19:50:42 -04:00
Marc-André Moreau 2cffa7d8f4 libfreerdp-codec: make use of progressive quantization factors 2014-08-25 17:58:38 -04:00
erbth cd23e5c0d5 wfreerdp: WM_SIZE: only update canvas diff if window size is bigger than 0 2014-08-25 15:24:04 +02:00
erbth 91ef3ed843 WM_GETMINMAXINFO: use latest determined canvas diff 2014-08-25 15:12:44 +02:00
Marc-André Moreau ed7312501c libfreerdp-codec: fix progressive quantization shifts 2014-08-21 19:43:37 -04:00
Marc-André Moreau 969d9011da libfreerdp-codec: partially working progressive iDWT 2014-08-21 19:02:26 -04:00
Marc-André Moreau f79ba1b364 libfreerdp-codec: fix crashes 2014-08-21 17:14:10 -04:00
Marc-André Moreau f77e515965 libfreerdp-codec: improve progressive iDWT 2014-08-21 16:05:39 -04:00
Pavel Tsekov 08d60d01e0 Adjust the code to work with the new GDI color
representation.
* client/X11/xf_gdi.c:
Use freerdp_color_convert_drawing_order_color_to_gdi_color() to convert
from drawing order color representation to GDI color representation
troughout.
* client/X11/xf_graphics.c: Likewise.
2014-08-21 03:35:34 +03:00
Marc-André Moreau e54bbdab00 libfreerdp-codec: start new progressive rfx iDWT functions 2014-08-20 19:12:08 -04:00
Marc-André Moreau 5e778d6a0c libfreerdp-codec: intermediate progressive rfx iDWT 2014-08-20 17:16:34 -04:00
Daniel Bungert 27fc3ee64d Fix multiple cases of use of uninitialized vars
* Zeroing xevent helped address some erratic behavior.
* valgrind complained about using xfBitmap uninitialized
  during shutdown, traced it back to the initialization.
  Bitmap_Prototype->size > sizeof(rdpBitmap).
* Early exit from recv_tpkt_pdu is necessary to address
  a shutdown crash - the channelId value was being used
  without being set in the disconnect case.
2014-08-20 03:54:05 -06:00
erbth e95b6aece9 (hopefully) proper window style setup in wfreerdp at startup 2014-08-19 22:59:22 +02:00
Marc-André Moreau 68b3d0476b libfreerdp-codec: start work on progressive inverse DWT 2014-08-19 14:48:09 -04:00
Marc-André Moreau 589eb9b511 Merge pull request #2050 from bmiklautz/fix/winpr_monolithic
build: fix compilation for non monolithic builds
2014-08-19 14:06:48 -04:00
Martin Fleisz e027541d9e Merge pull request #2051 from bmiklautz/feat/atusername
handle user@corp.net username correctly
2014-08-19 15:39:52 +02:00
Daryl Poe 5bf59b0810 handle user@corp.net username correctly
(cherry picked from commit 248c918508)
2014-08-19 12:02:48 +02:00