platform/upstream/freerdp.git
8 years agocleanup unnecessary code per comments
zihao.jiang [Sat, 29 Oct 2016 05:18:17 +0000 (13:18 +0800)]
cleanup unnecessary code per comments

8 years agokeeping the old callback and adding the new one at the end of the struct, so that...
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.

8 years agoFix server side code to be aware of rereadEvent
zihao.jiang [Thu, 27 Oct 2016 15:43:09 +0000 (23:43 +0800)]
Fix server side code to be aware of rereadEvent

8 years agoMerge pull request #3560 from akallabeth/gfx_10_2
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

8 years agoMerge pull request #3364 from hardening/limit_frames
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

8 years agoAdded reference to capability specifications
Armin Novak [Thu, 20 Oct 2016 07:59:54 +0000 (09:59 +0200)]
Added reference to capability specifications

8 years agoMerge pull request #3571 from akallabeth/clang_fixes
Martin Fleisz [Wed, 19 Oct 2016 13:45:17 +0000 (15:45 +0200)]
Merge pull request #3571 from akallabeth/clang_fixes

Clang fixes

8 years agoMerge pull request #3554 from akallabeth/color_refactor
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.

8 years agodirectly using FREERDP_PIXEL_FORMAT.
Armin Novak [Wed, 19 Oct 2016 10:41:43 +0000 (12:41 +0200)]
directly using FREERDP_PIXEL_FORMAT.

8 years agoFixed NULL dereferences.
Armin Novak [Wed, 19 Oct 2016 09:10:35 +0000 (11:10 +0200)]
Fixed NULL dereferences.

8 years agoFixed uninitialized return.
Armin Novak [Wed, 19 Oct 2016 09:06:47 +0000 (11:06 +0200)]
Fixed uninitialized return.

8 years agoFixed missing NULL checks.
Armin Novak [Wed, 19 Oct 2016 09:06:25 +0000 (11:06 +0200)]
Fixed missing NULL checks.

8 years agoFixed NULL pointer dereferences.
Armin Novak [Wed, 19 Oct 2016 09:05:12 +0000 (11:05 +0200)]
Fixed NULL pointer dereferences.

8 years agoMerge pull request #3570 from rjcorrig/tz201610
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

8 years agoUpdates 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

8 years agoMerge pull request #3568 from hardening/wayland_fixes
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

8 years agoMerge pull request #3569 from akallabeth/gdi_resize_fix
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

8 years agoFixed 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

8 years agoAdded a command line parameter to set the time passed in packet loop
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

8 years agoImplement callbacks for version 5 of wl_pointer
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.

8 years agoMerge pull request #3567 from mfleisz/file_mode_fix
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

8 years agocrypto: 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

8 years agoUpdated symbol visibility of GFX channel.
Armin Novak [Mon, 17 Oct 2016 07:05:54 +0000 (09:05 +0200)]
Updated symbol visibility of GFX channel.

8 years agoDeactivated unsupported operations.
Armin Novak [Sun, 16 Oct 2016 13:08:47 +0000 (15:08 +0200)]
Deactivated unsupported operations.

8 years agoGFX: support 10.2 stack.
Armin Novak [Sun, 16 Oct 2016 08:28:06 +0000 (10:28 +0200)]
GFX: support 10.2 stack.

8 years agoApplied astyle formatting
David Fort [Thu, 13 Oct 2016 20:02:25 +0000 (22:02 +0200)]
Applied astyle formatting

8 years agoUpdated the astyle formatting
David Fort [Thu, 13 Oct 2016 20:01:53 +0000 (22:01 +0200)]
Updated the astyle formatting

8 years agoRelease the reread event on transport_free
David Fort [Sun, 9 Oct 2016 20:36:04 +0000 (22:36 +0200)]
Release the reread event on transport_free

8 years agoTook in account comment remarks
David Fort [Sat, 8 Oct 2016 20:37:31 +0000 (22:37 +0200)]
Took in account comment remarks

8 years agotest-connect: use a random port instead of always 3389
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).

8 years agosample-server: add a "local only" option to just listen on an UNIX 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.

8 years agoLimit the time passed in transport check loop
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.

8 years agoAdjusted non X11 implementations.
Armin Novak [Fri, 14 Oct 2016 10:50:04 +0000 (12:50 +0200)]
Adjusted non X11 implementations.

8 years agoReplaced _VF formats with copy flags.
Armin Novak [Fri, 14 Oct 2016 08:01:02 +0000 (10:01 +0200)]
Replaced _VF formats with copy flags.

8 years agoMerge pull request #3497 from realjiangms/fix_gfx_win10
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

8 years agoMerge pull request #3544 from akallabeth/multi_warn_fixes
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

8 years agoAdapt makefile specific file paths
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.

8 years agoRemoved unused variable.
Armin Novak [Tue, 11 Oct 2016 09:21:13 +0000 (11:21 +0200)]
Removed unused variable.

8 years agoFixed uninitialized variable.
Armin Novak [Tue, 11 Oct 2016 09:20:54 +0000 (11:20 +0200)]
Fixed uninitialized variable.

8 years agoFixed uninitialized variable.
Armin Novak [Tue, 11 Oct 2016 09:20:26 +0000 (11:20 +0200)]
Fixed uninitialized variable.

8 years agoFixed uninitialized variables.
Armin Novak [Tue, 11 Oct 2016 09:17:22 +0000 (11:17 +0200)]
Fixed uninitialized variables.

8 years agoFixed uninitialized arguments, WLog tag.
Armin Novak [Tue, 11 Oct 2016 09:14:49 +0000 (11:14 +0200)]
Fixed uninitialized arguments, WLog tag.

8 years agoProperly escaping __FILE__ replacement.
Armin Novak [Tue, 11 Oct 2016 09:13:54 +0000 (11:13 +0200)]
Properly escaping __FILE__ replacement.

8 years agoMerge pull request #3545 from akallabeth/legacy_rfx_fixes
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.

8 years agoMerge pull request #3537 from akallabeth/gdi_speedup
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.

8 years agoReverted NSC format, decoded data is always BGRA!
Armin Novak [Tue, 11 Oct 2016 14:13:19 +0000 (16:13 +0200)]
Reverted NSC format, decoded data is always BGRA!

8 years agoMerge pull request #3547 from realjiangms/fix_after_color_conversion_nsc_server
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.

8 years agoColor format for surface bits unified.
Armin Novak [Wed, 12 Oct 2016 07:32:59 +0000 (09:32 +0200)]
Color format for surface bits unified.

8 years agoFixed offset and stride for X11 surface bits.
Armin Novak [Wed, 12 Oct 2016 07:32:05 +0000 (09:32 +0200)]
Fixed offset and stride for X11 surface bits.

8 years agoRespecting tile offsets.
Armin Novak [Wed, 12 Oct 2016 07:21:21 +0000 (09:21 +0200)]
Respecting tile offsets.

8 years agoFixed format flip and offsets for GDI.
Armin Novak [Tue, 11 Oct 2016 16:44:50 +0000 (18:44 +0200)]
Fixed format flip and offsets for GDI.

8 years agoFix nsc server side after color conversion.
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

8 years agoMerge pull request #3538 from akallabeth/mac_server_fix
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

8 years agoOptimized ROP for GDI_SRCCOPY and GDI_DSTCOPY.
Armin Novak [Tue, 11 Oct 2016 11:10:54 +0000 (13:10 +0200)]
Optimized ROP for GDI_SRCCOPY and GDI_DSTCOPY.

8 years agoOptimized gdi_FillRect
Armin Novak [Tue, 11 Oct 2016 10:14:52 +0000 (12:14 +0200)]
Optimized gdi_FillRect

8 years agoInlined heavily used function.
Armin Novak [Mon, 10 Oct 2016 09:25:47 +0000 (11:25 +0200)]
Inlined heavily used function.

8 years agoInlined heavily used functions.
Armin Novak [Mon, 10 Oct 2016 09:09:06 +0000 (11:09 +0200)]
Inlined heavily used functions.

8 years agoFixed Windows 7 RFX issues.
Armin Novak [Tue, 11 Oct 2016 12:34:07 +0000 (14:34 +0200)]
Fixed Windows 7 RFX issues.

8 years agoMerge pull request #3470 from untoldone/master
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)

8 years agoMerge pull request #3531 from rjcorrig/macdialogfix
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

8 years agoMerge pull request #3536 from akallabeth/memory_leak_fixes
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

8 years agoMerge pull request #3540 from realjiangms/fix_after_color_conversion_gfx_h264
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

8 years agoMerge pull request #3541 from realjiangms/fix_after_color_conversion_nsc
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

8 years agoserver/shadow: Fix black screen with win10
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.

8 years agoFix nsc client after after color conversion huge fix
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

8 years agoRegression fix: The usage of RDPGFX_SURFACE_COMMAND::format is changed after color...
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.

8 years agoMerge pull request #3533 from akallabeth/glyph_cache_disable
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

8 years agoFixed memory leak in certificate check.
Armin Novak [Mon, 10 Oct 2016 11:34:57 +0000 (13:34 +0200)]
Fixed memory leak in certificate check.

8 years agoMerge pull request #3529 from akallabeth/warning_fixes
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

8 years agoReformatted file.
Armin Novak [Mon, 10 Oct 2016 10:10:29 +0000 (12:10 +0200)]
Reformatted file.

8 years agoFixed regression from rebase.
Armin Novak [Mon, 10 Oct 2016 10:07:27 +0000 (12:07 +0200)]
Fixed regression from rebase.

8 years agoRemoved unused function.
Armin Novak [Mon, 10 Oct 2016 09:33:31 +0000 (11:33 +0200)]
Removed unused function.

8 years agoMerge pull request #3534 from akallabeth/x11_pointer_color
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.

8 years agoMerge pull request #3535 from akallabeth/leak_check
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.

8 years agoFixed leak in bitmap handling.
Armin Novak [Mon, 10 Oct 2016 08:38:54 +0000 (10:38 +0200)]
Fixed leak in bitmap handling.

8 years agoFixed memory leak in pointer free.
Armin Novak [Mon, 10 Oct 2016 08:26:54 +0000 (10:26 +0200)]
Fixed memory leak in pointer free.

8 years agoAdded leak detector option, made conflicting options exclusive.
Armin Novak [Mon, 10 Oct 2016 07:29:09 +0000 (09:29 +0200)]
Added leak detector option, made conflicting options exclusive.

8 years agoFixed pointer color mapping.
Armin Novak [Mon, 10 Oct 2016 07:19:43 +0000 (09:19 +0200)]
Fixed pointer color mapping.

8 years agoDeactivated glyph cache.
Armin Novak [Mon, 10 Oct 2016 07:07:28 +0000 (09:07 +0200)]
Deactivated glyph cache.

8 years agoReformatted file.
Armin Novak [Mon, 10 Oct 2016 07:06:05 +0000 (09:06 +0200)]
Reformatted file.

8 years agoRuns Mac password dialog on main UI thread
Robert Corrigan [Sat, 8 Oct 2016 05:39:07 +0000 (01:39 -0400)]
Runs Mac password dialog on main UI thread

8 years agoUsing C99 compatible variadic macros.
Armin Novak [Fri, 7 Oct 2016 12:11:04 +0000 (14:11 +0200)]
Using C99 compatible variadic macros.

8 years agoFixed comma at end of enum
Armin Novak [Fri, 7 Oct 2016 12:09:42 +0000 (14:09 +0200)]
Fixed comma at end of enum

8 years agoFixed function argument and variable types.
Armin Novak [Fri, 7 Oct 2016 12:08:54 +0000 (14:08 +0200)]
Fixed function argument and variable types.

8 years agoFixed invalid const type.
Armin Novak [Fri, 7 Oct 2016 12:08:33 +0000 (14:08 +0200)]
Fixed invalid const type.

8 years agoThread using proper function pointer type.
Armin Novak [Fri, 7 Oct 2016 12:07:51 +0000 (14:07 +0200)]
Thread using proper function pointer type.

8 years agoAddin loader using proper function pointer defines.
Armin Novak [Fri, 7 Oct 2016 12:06:46 +0000 (14:06 +0200)]
Addin loader using proper function pointer defines.

8 years agoWLog using C99 compatible variadic macros.
Armin Novak [Fri, 7 Oct 2016 12:04:40 +0000 (14:04 +0200)]
WLog using C99 compatible variadic macros.

8 years agoMerge pull request #3524 from bmiklautz/cleanup_3381
Martin Fleisz [Thu, 6 Oct 2016 14:18:19 +0000 (16:18 +0200)]
Merge pull request #3524 from bmiklautz/cleanup_3381

winpr/wait: add missing parameters

8 years agowinpr/wait: add missing parameters
Bernhard Miklautz [Thu, 6 Oct 2016 13:40:11 +0000 (15:40 +0200)]
winpr/wait: add missing parameters

Add the missing parameters introduced with PR #3381

8 years agoMerge pull request #3500 from akallabeth/color_conversion_fix_v6
Martin Fleisz [Thu, 6 Oct 2016 12:56:26 +0000 (14:56 +0200)]
Merge pull request #3500 from akallabeth/color_conversion_fix_v6

Color conversion fix v6

8 years agoFixed GDI_RGN->null initialization.
Armin Novak [Thu, 6 Oct 2016 11:41:52 +0000 (13:41 +0200)]
Fixed GDI_RGN->null initialization.

8 years agoRefactored ClipboardSetData.
Armin Novak [Thu, 6 Oct 2016 11:31:25 +0000 (13:31 +0200)]
Refactored ClipboardSetData.

8 years agoFixed memory leak.
Armin Novak [Thu, 6 Oct 2016 11:06:20 +0000 (13:06 +0200)]
Fixed memory leak.

8 years agoFixed use after free.
Armin Novak [Thu, 6 Oct 2016 11:04:06 +0000 (13:04 +0200)]
Fixed use after free.

8 years agoAdded documentation, removed unused function.
Armin Novak [Thu, 6 Oct 2016 09:05:31 +0000 (11:05 +0200)]
Added documentation, removed unused function.

8 years agoAdded color format documentation.
Armin Novak [Thu, 6 Oct 2016 08:21:00 +0000 (10:21 +0200)]
Added color format documentation.

8 years agoFixed uninitialized value.
Armin Novak [Tue, 4 Oct 2016 15:07:49 +0000 (17:07 +0200)]
Fixed uninitialized value.

8 years agoUnified RFX server color format.
Armin Novak [Tue, 4 Oct 2016 14:54:11 +0000 (16:54 +0200)]
Unified RFX server color format.

8 years agoFix compiler warnings
Bernhard Miklautz [Tue, 4 Oct 2016 14:04:20 +0000 (16:04 +0200)]
Fix compiler warnings

clang version 3.9.1-svn281634-1~exp1 (branches/release_39)

freerdp-firerds/libfreerdp/core/channels.c:270:9: warning: returning
      'const WtsApiFunctionTable *' (aka 'const struct _WtsApiFunctionTable *') from a function with
      result type 'PWtsApiFunctionTable' (aka 'struct _WtsApiFunctionTable *') discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
        return &FreeRDP_WtsApiFunctionTable;
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

uwac/libuwac/uwac-display.c:502:12: warning: comparison of
      unsigned enum expression < 0 is always false [-Wtautological-compare]
        if (error < 0 || error >= UWAC_ERROR_LAST)
            ~~~~~ ^ ~