Commit Graph

2702 Commits

Author SHA1 Message Date
Armin Novak 416801a106 Fixed warning. 2016-10-06 13:43:10 +02:00
Armin Novak 22ddec810b Moved pre and post channel hooks. 2016-10-06 13:43:10 +02:00
Armin Novak 44b8756617 Warning fixes. 2016-10-06 13:43:10 +02:00
Armin Novak 9c64e77a84 Disabled thread local storage on iOS.
iOS does not support Thread Local Storage.
Disabling it for now until a solution is found.
Print a compiler warning informing developers about this issue.
2016-10-06 13:43:10 +02:00
Armin Novak 64c5d78b3f Fixed clang warnings. 2016-10-06 13:43:09 +02:00
Armin Novak c7448c03fb Added FREERDP_LOCAL
CMake 2.8 does not support default visibility on windows.
To allow building tests add the FREERDP_LOCAL define for each
function that is internal to FreeRDP.
When build with testing these functions are exported and available
for use by tests.
2016-10-06 13:43:09 +02:00
Armin Novak 6d6b991c26 Fixed BitBlt function for overlapping areas. 2016-10-06 13:43:09 +02:00
Armin Novak 5554d805db Code cleanup. 2016-10-06 13:43:09 +02:00
Armin Novak 122f25eb60 Fixed channel cleanup. 2016-10-06 13:43:09 +02:00
Armin Novak d35823cf69 Moved channel init code to core library. 2016-10-06 13:43:09 +02:00
Armin Novak dadc5262ae Removed static channel variables.
Global static variables do not work, if more than one instance
of an RDP client is running in the same process space.
Removed the varaibles where possible and replaced them with
thread local storage where necessary.
2016-10-06 13:43:09 +02:00
Armin Novak f16ffaefa7 Fixed glyph cache issues. 2016-10-06 13:43:08 +02:00
Armin Novak 0d56de57c4 Glyph offset fix. 2016-10-06 13:43:08 +02:00
Armin Novak b765374d32 Refactored BitBlt, implementing everything now. 2016-10-06 13:43:08 +02:00
Armin Novak f17f1475d8 Fixed font drawing. 2016-10-06 13:43:08 +02:00
Armin Novak dd9354d55f Added argument checks. 2016-10-06 13:43:08 +02:00
Armin Novak 9fcfc38bd2 Fixed planar decoding. 2016-10-06 13:43:08 +02:00
Armin Novak 844f7b7941 Made logging less verbose. 2016-10-06 13:43:08 +02:00
Armin Novak b888059bd7 Fixed color conversion issues. 2016-10-06 13:43:08 +02:00
Armin Novak a978ccc0bb Added argument checks. 2016-10-06 13:43:07 +02:00
Armin Novak ab4725dd5d Fixed error message parameter. 2016-10-06 13:43:07 +02:00
Armin Novak fb36121ba9 Added signal handler for android. 2016-10-06 13:43:07 +02:00
Armin Novak 896f500e7e Fixed h264 dummy init. 2016-10-06 13:43:06 +02:00
Armin Novak bc5aa1be0c Added more GDI orders. 2016-10-06 13:43:06 +02:00
Armin Novak a76b0df598 Fixed reading of colors from order. 2016-10-06 13:43:06 +02:00
Armin Novak 60ac63854c 32bpp cursor fix. 2016-10-06 13:43:06 +02:00
Armin Novak c00fc5715f Cursor color decoding fixes. 2016-10-06 13:43:05 +02:00
Armin Novak 984bec733f Simplified gdi_patblt 2016-10-06 13:43:05 +02:00
Armin Novak d1a3362a8f Fixed windows software GDI issues. 2016-10-06 13:43:05 +02:00
Armin Novak 66cf000efd Fixed broken test. 2016-10-06 13:43:05 +02:00
Armin Novak e3b43b991d Fixed some bitblt issues. 2016-10-06 13:43:05 +02:00
Armin Novak 5fa9344c8f Deactivated broken tests. 2016-10-06 13:43:05 +02:00
Armin Novak 9034867bb7 Added brush helper function to retrieve style. 2016-10-06 13:43:05 +02:00
Armin Novak b505220328 Fixed Get/SetPixel function tests. 2016-10-06 13:43:05 +02:00
Armin Novak f3d9e8de08 Fixed (some) planar codec tests. 2016-10-06 13:43:05 +02:00
Armin Novak e4d89067b2 Fixed splitting of color planes. 2016-10-06 13:43:04 +02:00
Armin Novak d3538fc930 Fixed gdi LineTo and tests. 2016-10-06 13:43:04 +02:00
Armin Novak 35f1347d53 Fixed warnings and mac build. 2016-10-06 13:43:04 +02:00
Armin Novak d0f09c8d15 Fixed warnings and stride default. 2016-10-06 13:43:04 +02:00
Armin Novak a372009fc4 Internal functions static. 2016-10-06 13:43:04 +02:00
Armin Novak a06ceb6239 Fixed duplicate setting of callback. 2016-10-06 13:43:04 +02:00
Armin Novak 0e1b385b5f Internal functions static. 2016-10-06 13:43:03 +02:00
Armin Novak 867528015a Simplified bitmap drawing. 2016-10-06 13:43:03 +02:00
Armin Novak ec0d68bf4c Fixed bitmap update decoding. 2016-10-06 13:43:03 +02:00
Armin Novak c22d16bc09 Reverted bitmap update changes. 2016-10-06 13:43:03 +02:00
Armin Novak 3898b56618 Fixed drawing orders. 2016-10-06 13:43:03 +02:00
Armin Novak e3f88ad7ec Fixed BitBlt_PSDPxax 2016-10-06 13:43:03 +02:00
Armin Novak 032bdef955 Unified bitmap drawing. 2016-10-06 13:43:03 +02:00
Armin Novak b8ff3cb235 Fixed (a lot of) GDI drawing issues. 2016-10-06 13:43:03 +02:00
Armin Novak bb82d48506 Fixed part of font cache issue. 2016-10-06 13:43:03 +02:00
Armin Novak 3f90966da6 Bug fixes. 2016-10-06 13:43:03 +02:00
Armin Novak 85bbe2a908 API refactoring. 2016-10-06 13:43:03 +02:00
Armin Novak f680b62d03 Fixed PATINVERT. 2016-10-06 13:43:02 +02:00
Armin Novak e650fdb2b6 Bugfixes. 2016-10-06 13:43:02 +02:00
Armin Novak 17fd5526ac Cleanups. 2016-10-06 13:43:02 +02:00
Armin Novak 7a20ff5c30 Refactored bitmap API. 2016-10-06 13:43:02 +02:00
Armin Novak 8b69b16cbb Refactored Glyph API. 2016-10-06 13:43:02 +02:00
Armin Novak 9d5ca34d0d Fixed pointer initialisation for X11. 2016-10-06 13:43:02 +02:00
Armin Novak 04fb4e4e4c Fixed rectangle clipping and warnings. 2016-10-06 13:43:02 +02:00
Armin Novak c229a1939d Updated codec API, unified drawing order color decoding. 2016-10-06 13:43:02 +02:00
Armin Novak e32ed83bf7 Updated interleaved and planar API. 2016-10-06 13:43:02 +02:00
Armin Novak 6525a564f1 Fixed 24bit color format. 2016-10-06 13:43:01 +02:00
Armin Novak 39d6ad3acf Fixed source format for bitmap decompress. 2016-10-06 13:43:01 +02:00
Armin Novak f9a89ae6b4 Bug fixes, refactoring. 2016-10-06 13:43:01 +02:00
Armin Novak 960bc26e9a Further refactored tests. 2016-10-06 13:43:01 +02:00
Armin Novak 9f0a9c3b92 Refactored GDI. 2016-10-06 13:43:01 +02:00
Armin Novak c5b6e7e4ea Fixed GDI tests. 2016-10-06 13:43:01 +02:00
Armin Novak 2594262ed4 Fixed progressive decoding. 2016-10-06 13:43:01 +02:00
Armin Novak 1608799522 Cleaned up clear codec. 2016-10-06 13:43:01 +02:00
Armin Novak 8fffda5740 Fixed clearcodec and codecs reset. 2016-10-06 13:43:01 +02:00
Armin Novak 5e9c9f90ab Code refactoring. 2016-10-06 13:43:01 +02:00
Armin Novak e6e8f2d4f2 Added ROP to string function. 2016-10-06 13:43:00 +02:00
Armin Novak 9fc8dc6b5d Removed gdi->codecs, unused. 2016-10-06 13:43:00 +02:00
Armin Novak 076b92dd72 Fixed primitives misuse. 2016-10-06 13:43:00 +02:00
Armin Novak a6cef5cde7 Fixed GFX related issues. 2016-10-06 13:43:00 +02:00
Armin Novak 99c418766c Updated primitives API and tests. 2016-10-06 13:43:00 +02:00
Armin Novak e860fde4bc Fixed function arguments. 2016-10-06 13:43:00 +02:00
Armin Novak 7d01fe14ce Fixed planar tests, deactivated them for clear 2016-10-06 13:43:00 +02:00
Armin Novak 03907c82a9 Fixed issues. 2016-10-06 13:43:00 +02:00
Armin Novak d98677094e Fixed warnings. 2016-10-06 13:43:00 +02:00
Armin Novak bbae42d9c3 Compile fix 2016-10-06 13:43:00 +02:00
Armin Novak 5039a82d8b GDI fixes. 2016-10-06 13:43:00 +02:00
Armin Novak e1c3adf61f freerdp_image_copy fixes, 8bit color improvements. 2016-10-06 13:42:59 +02:00
Armin Novak c12c5dd2f5 Added overlapped copy support. 2016-10-06 13:42:59 +02:00
Armin Novak 716c5c53e9 256 color support. 2016-10-06 13:42:59 +02:00
Armin Novak 48d1b4ee13 Fixed color ordering for GDI. 2016-10-06 13:42:59 +02:00
Armin Novak 016f3a408b xxx. 2016-10-06 13:42:59 +02:00
Armin Novak b668b0d75e Api update. 2016-10-06 13:42:59 +02:00
Armin Novak 0e7bb508c1 Bitmaps now remember their format. 2016-10-06 13:42:59 +02:00
Armin Novak bb92655339 Fixed clear codec. 2016-10-06 13:42:59 +02:00
Armin Novak 5633f5242a Fixed crashes. 2016-10-06 13:42:59 +02:00
Armin Novak da956e0388 ... 2016-10-06 13:42:59 +02:00
Armin Novak 24599af991 More color fixes. 2016-10-06 13:42:58 +02:00
Armin Novak df35c135d1 Fixed color conversion, unified GFX and updated API. 2016-10-06 13:42:58 +02:00
David Fort 1855e36179 Merge pull request #3482 from realjiangms/fix_gfx_win8
server/shadow: Fix regression with rdp8.0
2016-09-09 11:16:29 +02:00
zihao.jiang 2c00240a17 server/shadow: Fix regression with rdp8.0
Shadow server crash with rdp8.0 with gfx enabled.
Root Cause: rdp8.0 is not support in shadow gfx and rdpgfx_caps_advertise returns an error. However setChannelError crashs because context->errorDescription is NULL
1. Fix shadow gfx to handle rdp8.0
2. Initialize context->errorDescription for server side new-context
2016-08-29 02:50:09 +08:00
Martin Fleisz 71765b72e3 Merge pull request #3284 from ondrejholy/endianness
Endianness fixes
2016-08-25 08:17:52 +02:00
David Fort 5394a0425f Merge pull request #3316 from realjiangms/server_gfx
rdpgfx: Implementation for server side channel
2016-08-24 11:08:00 +02:00
Martin Haimberger e9e0764ace libfreerdp/core: transport_write unchecked parameters
transport_write did not check if transport or bio are
set. The transport read checks it. In using fastpath
and for example a mouse input is sent, the transport
is never checked and can cause a segfault.
2016-08-22 02:17:11 -07:00
zihao.jiang 2b6bd2626d rdpgfx: various fixes according to comments
1. Fix stream leak in rdpgfx
2. Make src data const in zgfx. Harden zgfx to be independent to byte order
3. Fix written bytes return value in channel write
4. Add check for return value in shadow_client.c
5. Add gfx callback to send surface command with frame marker pdu.
6. Check remain length for recv subroutine
7. Fix compile errors
2016-08-07 20:15:39 +08:00