platform/upstream/freerdp.git
5 years agoMerge pull request #4932 from hardening/stream_static
akallabeth [Mon, 22 Oct 2018 19:16:36 +0000 (21:16 +0200)]
Merge pull request #4932 from hardening/stream_static

winpr: add some functions to use wStream in a static way

5 years agoMerge pull request #4796 from akallabeth/groegera_fixes
Bernhard Miklautz [Mon, 22 Oct 2018 12:50:21 +0000 (12:50 +0000)]
Merge pull request #4796 from akallabeth/groegera_fixes

Update X11-modifier key state on focus_in

5 years agoMerge pull request #4952 from eledoux/master
akallabeth [Fri, 19 Oct 2018 15:13:21 +0000 (17:13 +0200)]
Merge pull request #4952 from eledoux/master

gateway HTTP transport - fixed partial reads

5 years agoMerge pull request #4951 from nfedera/nf-fix-fnobjnew-fnstylecasts
akallabeth [Fri, 19 Oct 2018 12:00:14 +0000 (14:00 +0200)]
Merge pull request #4951 from nfedera/nf-fix-fnobjnew-fnstylecasts

fix issue with fnObjectFree and related casts

5 years agoMerge pull request #4949 from bmiklautz/floatbar_warning
akallabeth [Fri, 19 Oct 2018 11:47:42 +0000 (13:47 +0200)]
Merge pull request #4949 from bmiklautz/floatbar_warning

fix [x11]: compiler warnings in floatbar

5 years agoMerge pull request #4950 from bmiklautz/cleanup_pr_4581p2
akallabeth [Fri, 19 Oct 2018 11:00:51 +0000 (13:00 +0200)]
Merge pull request #4950 from bmiklautz/cleanup_pr_4581p2

fix [cache/pointer]: add missing callback checks

5 years agofixed partial reads
Emmanuel Ledoux [Fri, 19 Oct 2018 09:56:56 +0000 (11:56 +0200)]
fixed partial reads

5 years agofix [x11]: compiler warnings in floatbar
Bernhard Miklautz [Fri, 19 Oct 2018 08:33:50 +0000 (10:33 +0200)]
fix [x11]: compiler warnings in floatbar

client/X11/xf_floatbar.c:530:27: warning: use of logical '&&' with constant
      operand [-Wconstant-logical-operand]
        if (event->xmotion.state && Button1Mask && mode > XF_FLOATBAR_MODE_DRAGGING)
                                 ^  ~~~~~~~~~~~
client/X11/xf_floatbar.c:534:32: warning: use of logical '&&' with constant
      operand [-Wconstant-logical-operand]
        else if (event->xmotion.state && Button1Mask && mode == XF_FLOATBAR_MODE_DRAGGING)
                                      ^  ~~~~~~~~~~~
clang 8.0.0-svn344413-1~exp1+0~20181012203207.819~1.gbpc91f27

5 years agofix issue with fnObjectFree and related casts
Norbert Federa [Fri, 19 Oct 2018 09:30:01 +0000 (11:30 +0200)]
fix issue with fnObjectFree and related casts

- remove unnecessary/dangerous OBJECT_xxx function-style casts
- fix -Wstrict-prototypes issue with OBJECT_NEW_FN definition

5 years agofix [cache/pointer]: add missing callback checks
Bernhard Miklautz [Fri, 19 Oct 2018 09:11:44 +0000 (11:11 +0200)]
fix [cache/pointer]: add missing callback checks

5 years agoMerge pull request #4948 from bmiklautz/cleanup_pr_4581
MartinHaimberger [Fri, 19 Oct 2018 09:10:23 +0000 (11:10 +0200)]
Merge pull request #4948 from bmiklautz/cleanup_pr_4581

new [cache/pointer]: don't require pointer functions to be set

5 years agonew [cache/pointer]: don't require pointer functions to be set
Bernhard Miklautz [Thu, 18 Oct 2018 12:32:08 +0000 (14:32 +0200)]
new [cache/pointer]: don't require pointer functions to be set

This as cleanup/rework of PR #4581.

5 years agoMerge pull request #4946 from mmattes/fix/floatbar_app_check_missing
akallabeth [Thu, 18 Oct 2018 14:40:22 +0000 (16:40 +0200)]
Merge pull request #4946 from mmattes/fix/floatbar_app_check_missing

added missing check for remote app where no floatbar exists

5 years agoMerge pull request #4945 from mmattes/fix/transferEncoding
akallabeth [Thu, 18 Oct 2018 13:37:24 +0000 (15:37 +0200)]
Merge pull request #4945 from mmattes/fix/transferEncoding

transferEncoding can be NULL, correct if happens in line 348

5 years agoadded missing check for remote app where no floatbar exists
Markus Mattes [Thu, 18 Oct 2018 13:33:01 +0000 (15:33 +0200)]
added missing check for remote app where no floatbar exists

5 years agoMerge pull request #4942 from akallabeth/rail_fixes_2.0
Norbert Federa [Thu, 18 Oct 2018 12:11:18 +0000 (14:11 +0200)]
Merge pull request #4942 from akallabeth/rail_fixes_2.0

Fix ORDER_TYPE_WINDOW reading

5 years agoMerge pull request #4941 from nfedera/nf-remove-stale-valgrind-macro
Norbert Federa [Thu, 18 Oct 2018 12:08:23 +0000 (14:08 +0200)]
Merge pull request #4941 from nfedera/nf-remove-stale-valgrind-macro

gateway/rpc: remove stale valgrind macro

5 years agoMerge pull request #4938 from akallabeth/warning_fixes_master
Norbert Federa [Thu, 18 Oct 2018 12:08:01 +0000 (14:08 +0200)]
Merge pull request #4938 from akallabeth/warning_fixes_master

Warning fixes and TSG abort condition fix

5 years agotransferEncoding can be NULL, verification happens in line 348
Markus Mattes [Thu, 18 Oct 2018 11:59:49 +0000 (13:59 +0200)]
transferEncoding can be NULL, verification happens in line 348

5 years agoFixed read_altsec_order ORDER_TYPE_WINDOW
Armin Novak [Thu, 18 Oct 2018 10:34:10 +0000 (12:34 +0200)]
Fixed read_altsec_order ORDER_TYPE_WINDOW

5 years agoFixed order to string format string.
Armin Novak [Thu, 18 Oct 2018 10:33:06 +0000 (12:33 +0200)]
Fixed order to string format string.

5 years agogateway/rpc: remove stale valgrind macro
Norbert Federa [Thu, 18 Oct 2018 09:45:18 +0000 (11:45 +0200)]
gateway/rpc: remove stale valgrind macro

5 years agoMerge pull request #4939 from nfedera/nf-fix-rdpsnd_server_send_formats
Martin Fleisz [Thu, 18 Oct 2018 09:12:59 +0000 (11:12 +0200)]
Merge pull request #4939 from nfedera/nf-fix-rdpsnd_server_send_formats

rdpsnd: always call rdpsnd_server_send_formats

5 years agoFixed TSG stream alignment (4 or 8)
Armin Novak [Thu, 18 Oct 2018 08:41:03 +0000 (10:41 +0200)]
Fixed TSG stream alignment (4 or 8)

5 years agordpsnd: always call rdpsnd_server_send_formats
Norbert Federa [Thu, 18 Oct 2018 08:15:24 +0000 (10:15 +0200)]
rdpsnd: always call rdpsnd_server_send_formats

Since the rdpsnd_server_send_formats function is no longer exported
we must always call it, even if the rdpsnd server application uses
its own thread.

5 years agoFixed tsg abort condition.
Armin Novak [Thu, 18 Oct 2018 08:15:51 +0000 (10:15 +0200)]
Fixed tsg abort condition.

5 years agoFixed compiler warnings (casts, ...)
Armin Novak [Thu, 18 Oct 2018 07:09:30 +0000 (09:09 +0200)]
Fixed compiler warnings (casts, ...)

5 years agoUSe const compare function pointer arguments
Armin Novak [Thu, 18 Oct 2018 07:06:55 +0000 (09:06 +0200)]
USe const compare function pointer arguments

5 years agowinpr: add some functions to use wStream in a static way
David Fort [Tue, 16 Oct 2018 09:33:03 +0000 (11:33 +0200)]
winpr: add some functions to use wStream in a static way

It's sometime useful to create a stream aliasing a buffer on the stack, and
it's nice if we don't need some extra malloc for this.

Example use:
   BYTE buffer[20];
   wStream s;

   Stream_StaticInit(&s, buffer, sizeof(buffer));
   Stream_Write_UINT16(&s, 0xff01);
   Stream_Free(&s, FALSE);

5 years agoMerge pull request #4600 from andreesteve/xfullscreen
akallabeth [Wed, 17 Oct 2018 15:27:29 +0000 (17:27 +0200)]
Merge pull request #4600 from andreesteve/xfullscreen

X11: Fix fullscreen toggle

5 years agoMerge pull request #4937 from akallabeth/server_rdpsnd_get_formats
MartinHaimberger [Wed, 17 Oct 2018 15:16:28 +0000 (17:16 +0200)]
Merge pull request #4937 from akallabeth/server_rdpsnd_get_formats

Fix Server rdpsnd get formats

5 years agoFixed missing return in server_rdpsnd_get_formats
Armin Novak [Wed, 17 Oct 2018 14:17:41 +0000 (16:17 +0200)]
Fixed missing return in server_rdpsnd_get_formats

5 years agoMerge pull request #4926 from akallabeth/primary_order_checks
Martin Fleisz [Wed, 17 Oct 2018 14:02:28 +0000 (16:02 +0200)]
Merge pull request #4926 from akallabeth/primary_order_checks

Order data validation and correction

5 years agoMerge pull request #4478 from smalleel/master
akallabeth [Wed, 17 Oct 2018 13:01:22 +0000 (15:01 +0200)]
Merge pull request #4478 from smalleel/master

Updated project site link to HTTPS

5 years agoMerge pull request #4933 from akallabeth/planar_alpha_fix
MartinHaimberger [Wed, 17 Oct 2018 12:40:00 +0000 (14:40 +0200)]
Merge pull request #4933 from akallabeth/planar_alpha_fix

Planar alpha fix

5 years agoMerge pull request #4936 from akallabeth/gw_leak_fix
MartinHaimberger [Wed, 17 Oct 2018 12:35:17 +0000 (14:35 +0200)]
Merge pull request #4936 from akallabeth/gw_leak_fix

Fixed bugs detected during scanbuild run

5 years agoRemoved debug log entries, simplified order support check.
Armin Novak [Wed, 17 Oct 2018 12:16:16 +0000 (14:16 +0200)]
Removed debug log entries, simplified order support check.

5 years agoFixed bugs detected during scanbuild run
Armin Novak [Wed, 17 Oct 2018 11:19:33 +0000 (13:19 +0200)]
Fixed bugs detected during scanbuild run

5 years agoMerge pull request #4902 from akallabeth/gw_refactor_3
akallabeth [Wed, 17 Oct 2018 10:23:10 +0000 (12:23 +0200)]
Merge pull request #4902 from akallabeth/gw_refactor_3

Gateway refactoring

5 years agoMerge pull request #4927 from akallabeth/cmdline_fixes
akallabeth [Wed, 17 Oct 2018 10:19:03 +0000 (12:19 +0200)]
Merge pull request #4927 from akallabeth/cmdline_fixes

Fixed command line setting of flags, unified string replace

5 years agoAdd command line option /relax-order-checks
Armin Novak [Wed, 17 Oct 2018 10:15:57 +0000 (12:15 +0200)]
Add command line option /relax-order-checks

5 years agoFixed division by 0 if invalid formats are used.
Armin Novak [Wed, 17 Oct 2018 09:36:32 +0000 (11:36 +0200)]
Fixed division by 0 if invalid formats are used.

5 years agoMerge pull request #4891 from akallabeth/rail_fixes
akallabeth [Wed, 17 Oct 2018 09:32:56 +0000 (11:32 +0200)]
Merge pull request #4891 from akallabeth/rail_fixes

Rail fixes #4846 and a crash

5 years agoAnnounce glyph orders if glyph cache is activated.
Armin Novak [Wed, 17 Oct 2018 08:47:23 +0000 (10:47 +0200)]
Announce glyph orders if glyph cache is activated.

5 years agoFixed length sanity check.
Armin Novak [Wed, 17 Oct 2018 08:09:37 +0000 (10:09 +0200)]
Fixed length sanity check.

5 years agoFixed order requirements.
Armin Novak [Wed, 17 Oct 2018 08:09:27 +0000 (10:09 +0200)]
Fixed order requirements.

5 years agoFixed const correctness of arguments.
Armin Novak [Tue, 16 Oct 2018 15:29:10 +0000 (17:29 +0200)]
Fixed const correctness of arguments.

5 years agoAdded parameter checks.
Armin Novak [Tue, 16 Oct 2018 15:26:57 +0000 (17:26 +0200)]
Added parameter checks.

5 years agoAdded parameter checks.
Armin Novak [Tue, 16 Oct 2018 15:23:24 +0000 (17:23 +0200)]
Added parameter checks.

5 years agoFixed missing argument check.
Armin Novak [Tue, 16 Oct 2018 15:14:56 +0000 (17:14 +0200)]
Fixed missing argument check.

5 years agoFixed missing input validation.
Armin Novak [Tue, 16 Oct 2018 15:10:03 +0000 (17:10 +0200)]
Fixed missing input validation.

5 years agoFixed missing value check
Armin Novak [Tue, 16 Oct 2018 15:09:29 +0000 (17:09 +0200)]
Fixed missing value check

5 years agoFixed glyph cache
Armin Novak [Tue, 16 Oct 2018 14:10:17 +0000 (16:10 +0200)]
Fixed glyph cache

5 years agoProper order checks.
Armin Novak [Tue, 16 Oct 2018 13:56:17 +0000 (15:56 +0200)]
Proper order checks.

5 years agoMerge pull request #4914 from Devolutions/winpr-dll-export
Marc-André Moreau [Tue, 16 Oct 2018 13:09:05 +0000 (09:09 -0400)]
Merge pull request #4914 from Devolutions/winpr-dll-export

Add WINPR_DLL definition to control WinPR symbol exporting

5 years agoCheck if incoming secondary alternate orders have been activated.
Armin Novak [Tue, 16 Oct 2018 11:59:37 +0000 (13:59 +0200)]
Check if incoming secondary alternate orders have been activated.

5 years agoCheck if incoming secondary orders have been activated.
Armin Novak [Tue, 16 Oct 2018 11:48:43 +0000 (13:48 +0200)]
Check if incoming secondary orders have been activated.

5 years agoSend brush support level from settings.
Armin Novak [Tue, 16 Oct 2018 11:48:29 +0000 (13:48 +0200)]
Send brush support level from settings.

5 years agoFor every order check if it is activated in settings before processing.
Armin Novak [Tue, 16 Oct 2018 11:02:15 +0000 (13:02 +0200)]
For every order check if it is activated in settings before processing.

5 years agoAdded a warning that the server sent an unsupported order
Armin Novak [Tue, 16 Oct 2018 10:46:44 +0000 (12:46 +0200)]
Added a warning that the server sent an unsupported order

5 years agoFixed arguments to *adust
Armin Novak [Tue, 16 Oct 2018 10:36:08 +0000 (12:36 +0200)]
Fixed arguments to *adust

5 years agoSeparate alpha handling for planar codec
Armin Novak [Tue, 16 Oct 2018 10:17:25 +0000 (12:17 +0200)]
Separate alpha handling for planar codec

If the destination does not support an alpha channel ignore it
when decoding and prevent data to be copied unnecessarily

5 years agoSiplified planar alpha / non alpha paths
Armin Novak [Tue, 16 Oct 2018 08:05:33 +0000 (10:05 +0200)]
Siplified planar alpha / non alpha paths

5 years agoFixed a memory leak in cleaning up brushes.
Armin Novak [Tue, 16 Oct 2018 06:45:06 +0000 (08:45 +0200)]
Fixed a memory leak in cleaning up brushes.

5 years agoAdjust rectangles where appropriate.
Armin Novak [Mon, 15 Oct 2018 14:34:44 +0000 (16:34 +0200)]
Adjust rectangles where appropriate.

5 years agoFixed memory leak with audio formats.
Armin Novak [Mon, 15 Oct 2018 14:33:56 +0000 (16:33 +0200)]
Fixed memory leak with audio formats.

5 years agoFixed MultiOpaqueRect
Armin Novak [Mon, 15 Oct 2018 13:27:17 +0000 (15:27 +0200)]
Fixed MultiOpaqueRect

Sanitize rectangle boundaries, the coordinates of old servers are often out of bound.

5 years agoFix bounding rectangle of OpaqueRect
Armin Novak [Mon, 15 Oct 2018 13:23:04 +0000 (15:23 +0200)]
Fix bounding rectangle of OpaqueRect

This order has often negative coordinates, sanitize before passing on.

5 years agoDeactivated unimplemented orders.
Armin Novak [Mon, 15 Oct 2018 13:22:50 +0000 (15:22 +0200)]
Deactivated unimplemented orders.

5 years agoRemoved checks for LineTo, that is handled by the drawing routines
Armin Novak [Mon, 15 Oct 2018 12:36:03 +0000 (14:36 +0200)]
Removed checks for LineTo, that is handled by the drawing routines

5 years agoFixed various issues with primary orders.
Armin Novak [Mon, 15 Oct 2018 12:30:38 +0000 (14:30 +0200)]
Fixed various issues with primary orders.

5 years agoFixed logging.
Armin Novak [Mon, 15 Oct 2018 11:56:19 +0000 (13:56 +0200)]
Fixed logging.

5 years agoUse dynamic logging and fix compiler warnings.
Armin Novak [Mon, 15 Oct 2018 11:20:47 +0000 (13:20 +0200)]
Use dynamic logging and fix compiler warnings.

5 years agoAdded altsec return value checks.
Armin Novak [Mon, 15 Oct 2018 11:15:57 +0000 (13:15 +0200)]
Added altsec return value checks.

5 years agoUnified logging.
Armin Novak [Mon, 15 Oct 2018 11:10:48 +0000 (13:10 +0200)]
Unified logging.

5 years agoFixed command line setting of flags, unified string replace
Armin Novak [Mon, 15 Oct 2018 09:51:16 +0000 (11:51 +0200)]
Fixed command line setting of flags, unified string replace

5 years agoAdded plausibility checks for order input coordinates.
Armin Novak [Mon, 15 Oct 2018 08:34:47 +0000 (10:34 +0200)]
Added plausibility checks for order input coordinates.

5 years agoFixed stream get position.
Armin Novak [Tue, 9 Oct 2018 12:24:58 +0000 (14:24 +0200)]
Fixed stream get position.

5 years agoFixed return value of rpc_channel_tls_connect
Armin Novak [Tue, 9 Oct 2018 12:24:39 +0000 (14:24 +0200)]
Fixed return value of rpc_channel_tls_connect

5 years agoFixed rpc_client_write_call resource cleanup.
Armin Novak [Tue, 9 Oct 2018 12:19:05 +0000 (14:19 +0200)]
Fixed rpc_client_write_call resource cleanup.

5 years agoFixed argument name for ntlm_client_encrypt
Armin Novak [Tue, 9 Oct 2018 12:16:27 +0000 (14:16 +0200)]
Fixed argument name for ntlm_client_encrypt

5 years agoMerge pull request #4889 from akallabeth/shadow_server_audin_refactor
Martin Fleisz [Mon, 8 Oct 2018 10:56:09 +0000 (12:56 +0200)]
Merge pull request #4889 from akallabeth/shadow_server_audin_refactor

Shadow server audin refactor

5 years agoMerge pull request #4913 from akallabeth/audin_opensles
Martin Fleisz [Mon, 8 Oct 2018 08:13:51 +0000 (10:13 +0200)]
Merge pull request #4913 from akallabeth/audin_opensles

Fixed audio recording with opensles.

5 years agoMerge pull request #4918 from byteboon/master
akallabeth [Mon, 8 Oct 2018 06:39:27 +0000 (08:39 +0200)]
Merge pull request #4918 from byteboon/master

Regression: added back kerberos signature fix that was lost in a recent refactor #4801

5 years agoRegression: added back kerberos signature fix that was lost in a recent refactor...
byteboon [Fri, 5 Oct 2018 16:43:00 +0000 (09:43 -0700)]
Regression: added back kerberos signature fix that was lost in a recent refactor #4801

5 years agoMerge pull request #4912 from akallabeth/swresample
akallabeth [Fri, 5 Oct 2018 09:00:13 +0000 (11:00 +0200)]
Merge pull request #4912 from akallabeth/swresample

Swresample support with avresample fallback

5 years agoMerge pull request #4916 from Devolutions/ios-path-fix
Martin Fleisz [Fri, 5 Oct 2018 07:50:27 +0000 (09:50 +0200)]
Merge pull request #4916 from Devolutions/ios-path-fix

Fix iOS path detection functions

5 years agoMerge pull request #4917 from Devolutions/array-list-equals-fix
akallabeth [Fri, 5 Oct 2018 07:05:57 +0000 (09:05 +0200)]
Merge pull request #4917 from Devolutions/array-list-equals-fix

Use fnObjectEquals in ArrayList_Remove.

5 years agoUse fnObjectEquals in ArrayList_Remove.
Sébastien Duquette [Fri, 21 Jul 2017 19:57:34 +0000 (15:57 -0400)]
Use fnObjectEquals in ArrayList_Remove.

5 years agofreerdp - fix iOS directory paths
Richard Markiewicz [Fri, 6 Oct 2017 21:55:34 +0000 (14:55 -0700)]
freerdp - fix iOS directory paths

5 years agowinpr: add WINPR_DLL definition
Marc-André Moreau [Wed, 15 Feb 2017 19:50:24 +0000 (14:50 -0500)]
winpr: add WINPR_DLL definition

5 years ago[audin] Abort version exchange if server version is not supported.
Armin Novak [Thu, 4 Oct 2018 11:53:18 +0000 (13:53 +0200)]
[audin] Abort version exchange if server version is not supported.

5 years agoFixed audio recording with opensles.
Armin Novak [Thu, 4 Oct 2018 10:21:28 +0000 (12:21 +0200)]
Fixed audio recording with opensles.

5 years agoMerge pull request #4910 from akallabeth/warning_fixes
Bernhard Miklautz [Thu, 4 Oct 2018 07:42:31 +0000 (09:42 +0200)]
Merge pull request #4910 from akallabeth/warning_fixes

Fixed compiler warnings.

5 years agoReadded AVRESAMPLE support as fallback.
Armin Novak [Thu, 4 Oct 2018 06:57:54 +0000 (08:57 +0200)]
Readded AVRESAMPLE support as fallback.

5 years agoMove from libavresample to libswresample
Vladimir Lomov [Thu, 4 Oct 2018 01:56:20 +0000 (09:56 +0800)]
Move from libavresample to libswresample

  - The libavresample as part of FFmpeg was declared as deprecated in
    favor of libswresample on Dec 25 2017 in commit "lavr: deprecate the
    entire library"
    (https://github.com/FFmpeg/FFmpeg/commit/c29038f3041a4080342b2e333c1967d136749c0f
    ;
    https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/c29038f3041a4080342b2e333c1967d136749c0f).
    As major Linux distributions (RPM, DEB and Archlinux) provide now
    FFmpeg and libswresample as its part use the libswresample instead of
    libavresample.

Signed-off-by: Vladimir Lomov <vladimir@smoon7.vl-lomov.ru>
5 years agoFixed compiler warnings.
Armin Novak [Wed, 3 Oct 2018 13:16:59 +0000 (15:16 +0200)]
Fixed compiler warnings.

5 years agoMerge pull request #4885 from akallabeth/autoreconnect_handle_window_events
David Fort [Wed, 3 Oct 2018 07:42:16 +0000 (09:42 +0200)]
Merge pull request #4885 from akallabeth/autoreconnect_handle_window_events

Fixed #3423: Process xevents when in reconnect mode.

5 years agoMerge pull request #4906 from FeLvi-zzz/japanese-patch
akallabeth [Tue, 2 Oct 2018 13:46:17 +0000 (15:46 +0200)]
Merge pull request #4906 from FeLvi-zzz/japanese-patch

Japanese patch #4905

5 years agoremove untranslatable strings in Japanese translation
FeLvi_zzz [Tue, 2 Oct 2018 12:53:55 +0000 (21:53 +0900)]
remove untranslatable strings in Japanese translation