Christian Plattner [Sat, 10 Dec 2016 18:00:32 +0000 (19:00 +0100)]
Bugfix setting HTTP proxy name (fixes environment variable detection)
Christian Plattner [Sat, 10 Dec 2016 17:59:58 +0000 (18:59 +0100)]
Use logging API for HTTP proxy
Christian Plattner [Fri, 9 Dec 2016 19:43:02 +0000 (20:43 +0100)]
Merge branch 'gateway-http-bugfix'
Conflicts:
client/common/cmdline.c
include/freerdp/settings.h
libfreerdp/common/settings.c
libfreerdp/core/settings.c
libfreerdp/core/tcp.c
libfreerdp/core/transport.c
Christian Plattner [Thu, 8 Dec 2016 17:51:26 +0000 (18:51 +0100)]
Revert "HTTP Proxy: Simplify using buffered BIO and trio_asprintf"
This reverts commit
91eddce7fba1d801bb969739844b87fcb2310755.
Conflicts:
libfreerdp/core/proxy.c
libfreerdp/core/tcp.c
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
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.
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.
Martin Fleisz [Mon, 10 Oct 2016 10:23:57 +0000 (12:23 +0200)]
Merge pull request #3529 from akallabeth/warning_fixes
Variadic macro warning fixes
Armin Novak [Mon, 10 Oct 2016 10:10:29 +0000 (12:10 +0200)]
Reformatted file.
Armin Novak [Mon, 10 Oct 2016 10:07:27 +0000 (12:07 +0200)]
Fixed regression from rebase.
Armin Novak [Mon, 10 Oct 2016 09:33:31 +0000 (11:33 +0200)]
Removed unused function.
Martin Fleisz [Mon, 10 Oct 2016 09:31:57 +0000 (11:31 +0200)]
Merge pull request #3534 from akallabeth/x11_pointer_color
Fixed pointer color mapping.
Martin Fleisz [Mon, 10 Oct 2016 09:28:45 +0000 (11:28 +0200)]
Merge pull request #3535 from akallabeth/leak_check
Added leak detector option, made conflicting options exclusive.
Armin Novak [Mon, 10 Oct 2016 08:38:54 +0000 (10:38 +0200)]
Fixed leak in bitmap handling.
Armin Novak [Mon, 10 Oct 2016 08:26:54 +0000 (10:26 +0200)]
Fixed memory leak in pointer free.
Armin Novak [Mon, 10 Oct 2016 07:29:09 +0000 (09:29 +0200)]
Added leak detector option, made conflicting options exclusive.
Armin Novak [Mon, 10 Oct 2016 07:19:43 +0000 (09:19 +0200)]
Fixed pointer color mapping.
Armin Novak [Mon, 10 Oct 2016 07:07:28 +0000 (09:07 +0200)]
Deactivated glyph cache.
Armin Novak [Mon, 10 Oct 2016 07:06:05 +0000 (09:06 +0200)]
Reformatted file.
Robert Corrigan [Sat, 8 Oct 2016 05:39:07 +0000 (01:39 -0400)]
Runs Mac password dialog on main UI thread
Armin Novak [Fri, 7 Oct 2016 12:11:04 +0000 (14:11 +0200)]
Using C99 compatible variadic macros.
Armin Novak [Fri, 7 Oct 2016 12:09:42 +0000 (14:09 +0200)]
Fixed comma at end of enum
Armin Novak [Fri, 7 Oct 2016 12:08:54 +0000 (14:08 +0200)]
Fixed function argument and variable types.
Armin Novak [Fri, 7 Oct 2016 12:08:33 +0000 (14:08 +0200)]
Fixed invalid const type.
Armin Novak [Fri, 7 Oct 2016 12:07:51 +0000 (14:07 +0200)]
Thread using proper function pointer type.