Commit Graph

7170 Commits

Author SHA1 Message Date
Armin Novak
cceb216e2e Replaced fprintf with WLog_ERR. 2014-09-09 16:35:04 +02:00
Armin Novak
0131e576b7 Fixed Barrier test. First get the thread ID, then wait for the barrier to be reached. 2014-09-09 16:33:05 +02:00
Armin Novak
41e7fdd95f Fixed missing initialisation of position variable. 2014-09-09 16:33:05 +02:00
Armin Novak
6762d73ae1 Fixed winpr_HexDump calls. 2014-09-09 16:33:05 +02:00
Armin Novak
d122200fe4 Added headers for converting logging in libfreerdp, channels, clients and servers. 2014-09-09 16:33:05 +02:00
Armin Novak
a145c4201f Added script to automatically format all changed .c and .h files. 2014-09-09 16:32:23 +02:00
Armin Novak
a15df299e9 Removed last remainig printf. 2014-09-09 16:32:23 +02:00
Armin Novak
6a26e33695 Fixed winpr_HexDump calls in debug mode. 2014-09-09 16:32:22 +02:00
Armin Novak
26887de257 Fixed arguments for WLog_Print in logging macros. 2014-09-09 16:32:22 +02:00
Armin Novak
25e9ebadc2 Using trio_snprintf now. 2014-09-09 16:32:22 +02:00
Armin Novak
b22b897389 Reformatted changed files. 2014-09-09 16:32:22 +02:00
Armin Novak
a5ca75c3ab Fixed pointer alignment in formatting script. 2014-09-09 16:32:04 +02:00
Armin Novak
a738f3c6ce Added stacktrace in case of log recursion. 2014-09-09 16:32:04 +02:00
Armin Novak
6baf98dcda Moved logging defines to main logger. 2014-09-09 16:32:04 +02:00
Armin Novak
7e3a1b3073 Now using macro to generate module specific log tag. 2014-09-09 16:32:04 +02:00
Armin Novak
0ec5318c99 Fixed calling of dump functions, new API 2014-09-09 16:31:46 +02:00
Armin Novak
419f102bec Fixed calling of dump functions, new API 2014-09-09 16:31:46 +02:00
Armin Novak
f8eae11bf3 Fixed calling of dump functions, updated API 2014-09-09 16:31:46 +02:00
Armin Novak
28ece6bb46 Replaced stdio logging with WLog 2014-09-09 16:31:46 +02:00
Armin Novak
3e21e570b8 Added recursion detection to WLog.
Dump functions now expect TAG and level as arguments.
2014-09-09 16:31:46 +02:00
Armin Novak
c32c48fbb6 Added recursion guard to logging functions. 2014-09-09 16:30:52 +02:00
Marc-André Moreau
763410a66d Merge pull request #2076 from awakecoding/egfx
MS-RDPEGFX Improvements
2014-09-05 19:50:25 -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