Armin Novak [Thu, 24 Nov 2016 09:01:45 +0000 (10:01 +0100)]
Moved format size calculation out of loop.
Armin Novak [Thu, 24 Nov 2016 08:27:19 +0000 (09:27 +0100)]
Ignore alpha channel in freerdp_image_copy
When copying image data consider formats that only differ on use
of alpha data equal. This allows using the optimized copy routine
instead of the slower color conversion routine. Fixes #3616
Norbert Federa [Wed, 23 Nov 2016 16:57:47 +0000 (17:57 +0100)]
Merge pull request #3612 from akallabeth/align_fix
Fixed broken scanline alignment.
Martin Fleisz [Wed, 23 Nov 2016 14:47:32 +0000 (15:47 +0100)]
Merge pull request #3603 from realjiangms/fix_shadow_resize
X11/client: call gdi resize on hw desktop resize.
Armin Novak [Wed, 23 Nov 2016 11:54:20 +0000 (12:54 +0100)]
Fixed broken scanline alignment.
Martin Fleisz [Tue, 22 Nov 2016 13:00:08 +0000 (14:00 +0100)]
Merge pull request #3608 from mfleisz/msvc10_fixes
codec: Fix compilation with VS2010
Martin Fleisz [Tue, 22 Nov 2016 11:12:08 +0000 (12:12 +0100)]
codec: Fix compilation with VS2010
Martin Fleisz [Fri, 18 Nov 2016 11:46:14 +0000 (12:46 +0100)]
Merge pull request #3594 from akallabeth/line_draw_color_format
Fixed line drawing color format #3592
Martin Fleisz [Thu, 17 Nov 2016 14:41:17 +0000 (15:41 +0100)]
Merge pull request #3581 from akallabeth/alignment_fix
Fixed surface alignment.
zihao.jiang [Thu, 17 Nov 2016 06:36:02 +0000 (14:36 +0800)]
X11/client: call gdi resize on hw desktop resize. The gdi primary buffer is used in client/X11/xf_gdi.c, it should be big enough to hold the full screen update
akallabeth [Wed, 16 Nov 2016 18:27:55 +0000 (19:27 +0100)]
Merge pull request #3593 from ccpp/gateway-http-bugfix
Bugfix in RDP Gateway HTTP: read/skip full HTTP body
Marc-André Moreau [Wed, 16 Nov 2016 16:37:14 +0000 (11:37 -0500)]
Merge pull request #3597 from awakecoding/tls_channel_fix
Virtual Channel Mapping Fix
Marc-André Moreau [Wed, 16 Nov 2016 14:52:24 +0000 (09:52 -0500)]
channels: properly handle VirtualChannelEntryEx in static virtual channel loading
Marc-André Moreau [Tue, 15 Nov 2016 17:37:50 +0000 (12:37 -0500)]
channels/drdynvc: fix channel entry point name
Marc-André Moreau [Tue, 15 Nov 2016 16:41:01 +0000 (11:41 -0500)]
channels: remove thread-local storage usage
Marc-André Moreau [Tue, 15 Nov 2016 15:58:38 +0000 (10:58 -0500)]
channels: migrate drdynvc to extended virtual channel API
Marc-André Moreau [Tue, 15 Nov 2016 14:09:30 +0000 (09:09 -0500)]
channels: prepare virtual channel system for extended virtual channel API
Marc-André Moreau [Mon, 14 Nov 2016 21:44:45 +0000 (16:44 -0500)]
channels: start working on extended virtual channel API
Marc-André Moreau [Mon, 14 Nov 2016 20:23:05 +0000 (15:23 -0500)]
channels: restore global tables for initHandle, openHandle mappings instead of thread local storage
Armin Novak [Mon, 14 Nov 2016 08:36:16 +0000 (09:36 +0100)]
Fixed line drawing color format #3592
Christian Plattner [Sun, 13 Nov 2016 02:26:01 +0000 (03:26 +0100)]
Bugfix in RDP Gateway HTTP: read/skip full HTTP body for non-RPC responses
This fixes issues #3300 and #3479, but it reveals that there might be a timeout issue with /gt:http and /gt:auto
akallabeth [Thu, 10 Nov 2016 07:56:34 +0000 (08:56 +0100)]
Merge pull request #3572 from rjcorrig/maclogin
client/mac: Run password dialog as a modal sheet and set window title to server:port
David Fort [Thu, 3 Nov 2016 21:50:08 +0000 (22:50 +0100)]
Merge pull request #3578 from realjiangms/fix_server_for_limit_frames
Fix server side code to be aware of rereadEvent
Bernhard Miklautz [Thu, 3 Nov 2016 14:57:35 +0000 (15:57 +0100)]
Merge pull request #3584 from awakecoding/master
Fix issue #3422, ignore some dynamic virtual channel messages with invalid ids
Marc-André Moreau [Thu, 3 Nov 2016 14:12:48 +0000 (10:12 -0400)]
drdynvc: ignore some messages sent for invalid channel ids with MMR and Windows Server 2012 R2, fix issue #3422
Martin Fleisz [Wed, 2 Nov 2016 16:58:47 +0000 (17:58 +0100)]
Merge pull request #3577 from akallabeth/error_message_channel_thread
Error message channel thread
Armin Novak [Mon, 31 Oct 2016 06:56:10 +0000 (07:56 +0100)]
Scanline alignment for GFX cache.
zihao.jiang [Sat, 29 Oct 2016 05:18:17 +0000 (13:18 +0800)]
cleanup unnecessary code per comments
zihao.jiang [Fri, 28 Oct 2016 16:28:10 +0000 (00:28 +0800)]
keeping the old callback and adding the new one at the end of the struct, so that it can be potentially binary compatible.
Armin Novak [Thu, 27 Oct 2016 20:59:16 +0000 (22:59 +0200)]
Fixed surface alignment.
zihao.jiang [Thu, 27 Oct 2016 15:43:09 +0000 (23:43 +0800)]
Fix server side code to be aware of rereadEvent
Armin Novak [Thu, 27 Oct 2016 12:41:05 +0000 (14:41 +0200)]
Improved error handling if channel is missing.
Armin Novak [Thu, 27 Oct 2016 12:36:48 +0000 (14:36 +0200)]
Added log messages for invalid function call.
David Fort [Fri, 21 Oct 2016 07:29:51 +0000 (09:29 +0200)]
Merge pull request #3560 from akallabeth/gfx_10_2
Gfx 10.2 caps and deactivate GDI unsupported functions
Robert Corrigan [Thu, 20 Oct 2016 15:22:08 +0000 (11:22 -0400)]
Code style fixes
akallabeth [Thu, 20 Oct 2016 10:53:23 +0000 (12:53 +0200)]
Merge pull request #3364 from hardening/limit_frames
Limit the time passed in transport check loop
Armin Novak [Thu, 20 Oct 2016 07:59:54 +0000 (09:59 +0200)]
Added reference to capability specifications
Robert Corrigan [Fri, 14 Oct 2016 22:24:14 +0000 (18:24 -0400)]
Run password dialog as a modal sheet and set window title to server:port
Martin Fleisz [Wed, 19 Oct 2016 13:45:17 +0000 (15:45 +0200)]
Merge pull request #3571 from akallabeth/clang_fixes
Clang fixes
Martin Fleisz [Wed, 19 Oct 2016 11:31:54 +0000 (13:31 +0200)]
Merge pull request #3554 from akallabeth/color_refactor
Replaced _VF formats with copy flags.
Armin Novak [Wed, 19 Oct 2016 10:41:43 +0000 (12:41 +0200)]
directly using FREERDP_PIXEL_FORMAT.
Armin Novak [Wed, 19 Oct 2016 09:10:35 +0000 (11:10 +0200)]
Fixed NULL dereferences.
Armin Novak [Wed, 19 Oct 2016 09:06:47 +0000 (11:06 +0200)]
Fixed uninitialized return.
Armin Novak [Wed, 19 Oct 2016 09:06:25 +0000 (11:06 +0200)]
Fixed missing NULL checks.
Armin Novak [Wed, 19 Oct 2016 09:05:12 +0000 (11:05 +0200)]
Fixed NULL pointer dereferences.
Martin Fleisz [Wed, 19 Oct 2016 08:26:01 +0000 (10:26 +0200)]
Merge pull request #3570 from rjcorrig/tz201610
winpr: Updates time zone data to October 2016
Robert Corrigan [Tue, 18 Oct 2016 19:28:44 +0000 (15:28 -0400)]
Updates time zone data to October 2016
Martin Fleisz [Tue, 18 Oct 2016 15:06:41 +0000 (17:06 +0200)]
Merge pull request #3568 from hardening/wayland_fixes
Implement callbacks for version 5 of wl_pointer
Martin Fleisz [Tue, 18 Oct 2016 13:45:15 +0000 (15:45 +0200)]
Merge pull request #3569 from akallabeth/gdi_resize_fix
Fixed invalid arguments for gdi_resize_ex
Armin Novak [Tue, 18 Oct 2016 13:16:58 +0000 (15:16 +0200)]
Fixed invalid arguments for gdi_resize_ex
David Fort [Mon, 17 Oct 2016 16:56:52 +0000 (18:56 +0200)]
Added a command line parameter to set the time passed in packet loop
David Fort [Mon, 17 Oct 2016 09:27:10 +0000 (11:27 +0200)]
Implement callbacks for version 5 of wl_pointer
This should prevent crash with compositor that implement this version.
David Fort [Mon, 17 Oct 2016 13:34:17 +0000 (15:34 +0200)]
Merge pull request #3567 from mfleisz/file_mode_fix
crypto: Remove unneeded update (+) flag from file open mode
Martin Fleisz [Mon, 17 Oct 2016 12:49:26 +0000 (14:49 +0200)]
crypto: Remove unneeded update (+) flag from file open mode
Armin Novak [Mon, 17 Oct 2016 07:05:54 +0000 (09:05 +0200)]
Updated symbol visibility of GFX channel.
Armin Novak [Sun, 16 Oct 2016 13:08:47 +0000 (15:08 +0200)]
Deactivated unsupported operations.
Armin Novak [Sun, 16 Oct 2016 08:28:06 +0000 (10:28 +0200)]
GFX: support 10.2 stack.
David Fort [Thu, 13 Oct 2016 20:02:25 +0000 (22:02 +0200)]
Applied astyle formatting
David Fort [Thu, 13 Oct 2016 20:01:53 +0000 (22:01 +0200)]
Updated the astyle formatting
David Fort [Sun, 9 Oct 2016 20:36:04 +0000 (22:36 +0200)]
Release the reread event on transport_free
David Fort [Sat, 8 Oct 2016 20:37:31 +0000 (22:37 +0200)]
Took in account comment remarks
David Fort [Wed, 6 Jul 2016 16:31:22 +0000 (18:31 +0200)]
test-connect: use a random port instead of always 3389
Doing so we have less chances to have a failure when we run 2 tests in parallel
on the same host (as sfrerdp-server listen on a socket).
David Fort [Wed, 6 Jul 2016 16:30:12 +0000 (18:30 +0200)]
sample-server: add a "local only" option to just listen on an UNIX socket
This makes things nicer for tests that don't need internet access.
David Fort [Tue, 3 May 2016 15:24:07 +0000 (17:24 +0200)]
Limit the time passed in transport check loop
This patch make it possible to limit the time that is passed when we call
XXX_check_fds functions. This should smooth the treatment between handling inputs
and handling incoming bitmap updates.
The default maximum time is set to 100 ms.
Armin Novak [Fri, 14 Oct 2016 10:50:04 +0000 (12:50 +0200)]
Adjusted non X11 implementations.
Armin Novak [Fri, 14 Oct 2016 08:01:02 +0000 (10:01 +0200)]
Replaced _VF formats with copy flags.
akallabeth [Fri, 14 Oct 2016 08:12:27 +0000 (10:12 +0200)]
Merge pull request #3497 from realjiangms/fix_gfx_win10
server/shadow: Fix black screen with win10 mstsc
Bernhard Miklautz [Fri, 14 Oct 2016 08:10:45 +0000 (10:10 +0200)]
Merge pull request #3544 from akallabeth/multi_warn_fixes
Fix multiple warnings
Bernhard Miklautz [Wed, 12 Oct 2016 09:24:29 +0000 (11:24 +0200)]
Adapt makefile specific file paths
Try to use relative file paths only when building a release (build types
Release and RelWithDebInfo) with the Unix Makefile generator.
Before it was tried to do this with all generators causing multiple
problems.
Armin Novak [Tue, 11 Oct 2016 09:21:13 +0000 (11:21 +0200)]
Removed unused variable.
Armin Novak [Tue, 11 Oct 2016 09:20:54 +0000 (11:20 +0200)]
Fixed uninitialized variable.
Armin Novak [Tue, 11 Oct 2016 09:20:26 +0000 (11:20 +0200)]
Fixed uninitialized variable.
Armin Novak [Tue, 11 Oct 2016 09:17:22 +0000 (11:17 +0200)]
Fixed uninitialized variables.
Armin Novak [Tue, 11 Oct 2016 09:14:49 +0000 (11:14 +0200)]
Fixed uninitialized arguments, WLog tag.
Armin Novak [Tue, 11 Oct 2016 09:13:54 +0000 (11:13 +0200)]
Properly escaping __FILE__ replacement.
Bernhard Miklautz [Thu, 13 Oct 2016 11:01:53 +0000 (13:01 +0200)]
Merge pull request #3545 from akallabeth/legacy_rfx_fixes
Fixed Windows 7 RFX issues.
Bernhard Miklautz [Thu, 13 Oct 2016 08:28:57 +0000 (10:28 +0200)]
Merge pull request #3537 from akallabeth/gdi_speedup
Inlined heavily used functions.
Armin Novak [Tue, 11 Oct 2016 14:13:19 +0000 (16:13 +0200)]
Reverted NSC format, decoded data is always BGRA!
Martin Fleisz [Wed, 12 Oct 2016 15:35:10 +0000 (17:35 +0200)]
Merge pull request #3547 from realjiangms/fix_after_color_conversion_nsc_server
Fix nsc server side after color conversion.
Armin Novak [Wed, 12 Oct 2016 07:32:59 +0000 (09:32 +0200)]
Color format for surface bits unified.
Armin Novak [Wed, 12 Oct 2016 07:32:05 +0000 (09:32 +0200)]
Fixed offset and stride for X11 surface bits.
Armin Novak [Wed, 12 Oct 2016 07:21:21 +0000 (09:21 +0200)]
Respecting tile offsets.
Armin Novak [Tue, 11 Oct 2016 16:44:50 +0000 (18:44 +0200)]
Fixed format flip and offsets for GDI.
zihao.jiang [Tue, 11 Oct 2016 15:31:12 +0000 (23:31 +0800)]
Fix nsc server side after color conversion.
We use new color format system and PIXEL_FORMAT_BGRX32 is the unified buffer color format. Add support for PIXEL_FORMAT_BGRX32 in nsc
Bernhard Miklautz [Tue, 11 Oct 2016 13:47:32 +0000 (15:47 +0200)]
Merge pull request #3538 from akallabeth/mac_server_fix
Mac shadow server regression fix
Armin Novak [Tue, 11 Oct 2016 11:10:54 +0000 (13:10 +0200)]
Optimized ROP for GDI_SRCCOPY and GDI_DSTCOPY.
Armin Novak [Tue, 11 Oct 2016 10:14:52 +0000 (12:14 +0200)]
Optimized gdi_FillRect
Armin Novak [Mon, 10 Oct 2016 09:25:47 +0000 (11:25 +0200)]
Inlined heavily used function.
Armin Novak [Mon, 10 Oct 2016 09:09:06 +0000 (11:09 +0200)]
Inlined heavily used functions.
Armin Novak [Tue, 11 Oct 2016 12:34:07 +0000 (14:34 +0200)]
Fixed Windows 7 RFX issues.
akallabeth [Tue, 11 Oct 2016 11:15:13 +0000 (13:15 +0200)]
Merge pull request #3470 from untoldone/master
mac BUILD_SHARED_LIBS=ON fix (on master)
Bernhard Miklautz [Tue, 11 Oct 2016 07:44:53 +0000 (09:44 +0200)]
Merge pull request #3531 from rjcorrig/macdialogfix
client/Mac: Runs Mac password dialog on main UI thread
Martin Fleisz [Tue, 11 Oct 2016 07:29:49 +0000 (09:29 +0200)]
Merge pull request #3536 from akallabeth/memory_leak_fixes
Memory leak fixes
akallabeth [Tue, 11 Oct 2016 07:25:43 +0000 (09:25 +0200)]
Merge pull request #3540 from realjiangms/fix_after_color_conversion_gfx_h264
Regression fix: Fix gfx h264 server
akallabeth [Tue, 11 Oct 2016 07:25:19 +0000 (09:25 +0200)]
Merge pull request #3541 from realjiangms/fix_after_color_conversion_nsc
Fix nsc client after after color conversion huge fix
zihao.jiang [Fri, 9 Sep 2016 07:31:21 +0000 (15:31 +0800)]
server/shadow: Fix black screen with win10
Request full screen update on RDPGFX_CAPS_ADVERTISE_PDU. Win10 client seems to clean the screen after gfx channel opened. If there happens to be no screen update from server, we will get black screen in mstsc client.
zihao.jiang [Mon, 10 Oct 2016 17:39:08 +0000 (01:39 +0800)]
Fix nsc client after after color conversion huge fix
nsc codec client doesn't work:
1. We should mark invalid region for software gdi
2. Checked the code before color conversion fix, the correct color format should be PIXEL_FORMAT_BGRX32_VF (corresponds to old PIXEL_FORMAT_XRGB32_VF)
3. For gdi:hw: xfc->bitmap_buffer is never used/initialized. However gdi->primary_buffer is always maintained. So use primary_buffer to hold the decoded bitmap data
zihao.jiang [Mon, 10 Oct 2016 16:23:48 +0000 (00:23 +0800)]
Regression fix: The usage of RDPGFX_SURFACE_COMMAND::format is changed after color conversion huge fix.
Fix server side rdpgfx code to match the change.
Bernhard Miklautz [Mon, 10 Oct 2016 14:04:09 +0000 (16:04 +0200)]
Merge pull request #3533 from akallabeth/glyph_cache_disable
Glyph cache disable
Armin Novak [Mon, 10 Oct 2016 11:34:57 +0000 (13:34 +0200)]
Fixed memory leak in certificate check.