platform/upstream/freerdp.git
8 years agoUsing stdint.h and stdbool.h for type definitions
Armin Novak [Mon, 7 Sep 2015 10:09:39 +0000 (12:09 +0200)]
Using stdint.h and stdbool.h for type definitions

When stdint.h or stdbool.h are detected, use these
standard types for definitions in wtypes.h

8 years agoMerge pull request #2928 from akallabeth/non_verbose_VerifyX509Certificate
Bernhard Miklautz [Fri, 11 Dec 2015 11:09:33 +0000 (12:09 +0100)]
Merge pull request #2928 from akallabeth/non_verbose_VerifyX509Certificate

Silenced VerifyX509Certificate logging.

8 years agoMerge pull request #2941 from akallabeth/clipboard_file_fix
Hardening [Thu, 10 Dec 2015 15:13:24 +0000 (16:13 +0100)]
Merge pull request #2941 from akallabeth/clipboard_file_fix

Clipboard file fixes

8 years agoMerge pull request #2976 from akallabeth/mac_audin_support
Hardening [Wed, 9 Dec 2015 13:56:56 +0000 (14:56 +0100)]
Merge pull request #2976 from akallabeth/mac_audin_support

Added audin support for mac os.

8 years agoMerge pull request #2972 from akallabeth/option_fix
Hardening [Wed, 9 Dec 2015 13:41:53 +0000 (14:41 +0100)]
Merge pull request #2972 from akallabeth/option_fix

Fixed cmake_dependent_option use.

8 years agoMerge pull request #2824 from bjcollins/nla_auth_exit_code
Hardening [Tue, 8 Dec 2015 21:46:29 +0000 (22:46 +0100)]
Merge pull request #2824 from bjcollins/nla_auth_exit_code

Return FREERDP_ERROR_AUTHENTICATION_FAILED on an authentication failure

8 years agoMerge pull request #2979 from bmiklautz/bm/pre2.0_2
Hardening [Thu, 3 Dec 2015 18:39:30 +0000 (19:39 +0100)]
Merge pull request #2979 from bmiklautz/bm/pre2.0_2

pkg: update version infos to 2.0

8 years agoMerge pull request #2991 from xdqi/master
Hardening [Mon, 30 Nov 2015 09:52:40 +0000 (10:52 +0100)]
Merge pull request #2991 from xdqi/master

Fix compilation error under Visual Studio 2010

8 years agoFix compilation error under Visual Studio 2010
Xiaodong Qi [Sat, 28 Nov 2015 16:14:29 +0000 (00:14 +0800)]
Fix compilation error under Visual Studio 2010

Visual Studio 2010 use a compiler that supports only C89, which
only supports declaring variable at top of a local scope. Moving
scope variable to the top of function should solve this problem.

8 years agoMerge pull request #2983 from nitomartinez/master
Hardening [Thu, 26 Nov 2015 08:56:19 +0000 (09:56 +0100)]
Merge pull request #2983 from nitomartinez/master

Fixes #2982. The idea is to be able to create the socket externally a…

8 years agoFix formatting: else if in its own line and no brackets for single statements
Nito Martinez [Thu, 26 Nov 2015 08:50:03 +0000 (09:50 +0100)]
Fix formatting: else if in its own line and no brackets for single statements

8 years agoDisable setting socket options for preexisting socket like: keepalive and tcp_nodelay...
Nito Martinez [Wed, 25 Nov 2015 07:36:49 +0000 (08:36 +0100)]
Disable setting socket options for preexisting socket like: keepalive and tcp_nodelay, these should be set extenally if needed. Do not close the socket if the clientaddress could not be set

8 years agoMerge pull request #2981 from mfleisz/server_cliprdr_fix
Hardening [Mon, 23 Nov 2015 10:53:20 +0000 (11:53 +0100)]
Merge pull request #2981 from mfleisz/server_cliprdr_fix

cliprdr/server: Fix parsing of file contents request PDU

8 years agoFixes #2982. The idea is to be able to create the socket externally and pass that...
Nito Martinez [Fri, 20 Nov 2015 01:44:35 +0000 (02:44 +0100)]
Fixes #2982. The idea is to be able to create the socket externally and pass that socket FD to FreeRDP so that it can be used there.

The idea suggested is to use the following interface:

settings->ServerHostname = "|"
settings->ServerPort = SocketFD

8 years agocliprdr/server: Fix incorrect message flags
Martin Fleisz [Thu, 19 Nov 2015 15:29:57 +0000 (16:29 +0100)]
cliprdr/server: Fix incorrect message flags

8 years agocliprdr/server: Fix incorrect message header
Martin Fleisz [Thu, 19 Nov 2015 15:17:36 +0000 (16:17 +0100)]
cliprdr/server: Fix incorrect message header

8 years agocliprdr/server: Fix parsing of file contents request PDU
Martin Fleisz [Thu, 19 Nov 2015 13:12:26 +0000 (14:12 +0100)]
cliprdr/server: Fix parsing of file contents request PDU

8 years agopkg: update version infos to 2.0
Bernhard Miklautz [Tue, 17 Nov 2015 22:29:07 +0000 (23:29 +0100)]
pkg: update version infos to 2.0

8 years agoAdded mac implementation.
Armin Novak [Fri, 13 Nov 2015 10:47:58 +0000 (11:47 +0100)]
Added mac implementation.

8 years agoAdded audin support for mac os.
Armin Novak [Thu, 12 Nov 2015 15:04:31 +0000 (16:04 +0100)]
Added audin support for mac os.

8 years agoMerge pull request #2970 from bmiklautz/prep_2.0
Hardening [Wed, 11 Nov 2015 11:54:34 +0000 (12:54 +0100)]
Merge pull request #2970 from bmiklautz/prep_2.0

2.0 preparations

8 years agoMerge pull request #2971 from woutershep/cmake-manual-path
Bernhard Miklautz [Wed, 11 Nov 2015 02:20:37 +0000 (03:20 +0100)]
Merge pull request #2971 from woutershep/cmake-manual-path

cmake: tweak manpage install location

8 years agowlog: cleanup API includes
Bernhard Miklautz [Tue, 10 Nov 2015 15:29:09 +0000 (16:29 +0100)]
wlog: cleanup API includes

Only include necessary header files.

8 years agoFixed cmake_dependent_option use.
Armin Novak [Tue, 10 Nov 2015 13:18:51 +0000 (14:18 +0100)]
Fixed cmake_dependent_option use.

8 years agowlog/journald: don't set a default identifier
Bernhard Miklautz [Tue, 10 Nov 2015 12:40:52 +0000 (13:40 +0100)]
wlog/journald: don't set a default identifier

Don't set the identifier to "winpr" as default value because journald
will use the programs name as default if no identifier is set.
This way a program using WLog doesn't need to set an identifier (except
it want something different then it's name).

8 years agowlog: change variable naming and fix documentation
Bernhard Miklautz [Tue, 10 Nov 2015 11:05:23 +0000 (12:05 +0100)]
wlog: change variable naming and fix documentation

* change State to active and make it BOOL since it's only got two
  used values
* fix some typos in the documentation

8 years agoMerge pull request #2917 from binglinoioij/master
Hardening [Tue, 10 Nov 2015 09:13:47 +0000 (10:13 +0100)]
Merge pull request #2917 from binglinoioij/master

add values-zh/string.xml,that was profiles for chinese

8 years agoMerge pull request #2930 from dbungert/glyph
Hardening [Tue, 10 Nov 2015 09:12:21 +0000 (10:12 +0100)]
Merge pull request #2930 from dbungert/glyph

Clamp ultra-wide glyph opRight vals to desktop width

8 years agoMerge pull request #2962 from akallabeth/client_build_fixes
Hardening [Tue, 10 Nov 2015 08:59:45 +0000 (09:59 +0100)]
Merge pull request #2962 from akallabeth/client_build_fixes

Allow client build to be disabled

8 years agocmake: tweak manpage install location
Wouter van Kesteren [Mon, 9 Nov 2015 20:57:41 +0000 (21:57 +0100)]
cmake: tweak manpage install location

This patch is needed when wanting to install binaries/libraries to other
locations than data. The linux distro Exherbo installs binaries and
libraries to /usr/<chost>/bin, /usr/<chost>/lib respectively but
manpages should still go in /usr/share/man/ because they are
architecture independent, without this patch they go in
/usr/<chost>/share/man unconditionally.

cmake documentation states:
DATAROOTDIR - read-only architecture-independent data root (share)

So this patch makes it use that so that its configurable.

8 years agowlog: add some rudimentary documentation
Bernhard Miklautz [Mon, 9 Nov 2015 19:30:23 +0000 (20:30 +0100)]
wlog: add some rudimentary documentation

8 years agowlog: fix build on windows
Bernhard Miklautz [Mon, 9 Nov 2015 18:47:51 +0000 (19:47 +0100)]
wlog: fix build on windows

8 years agowlog: fix android build
Bernhard Miklautz [Mon, 9 Nov 2015 18:37:02 +0000 (19:37 +0100)]
wlog: fix android build

8 years agoFix compiler warnings
Bernhard Miklautz [Mon, 9 Nov 2015 18:26:34 +0000 (19:26 +0100)]
Fix compiler warnings

gcc (Debian 4.9.2-10) 4.9.2

winpr/libwinpr/thread/argv.c: In function ‘CommandLineToArgvA’:
winpr/libwinpr/thread/argv.c:94:6: warning: unused variable ‘index’ [-Wunused-variable]
  int index;

winpr/libwinpr/file/test/TestFileGetStdHandle.c: In function ‘TestFileGetStdHandle’:
winpr/libwinpr/file/test/TestFileGetStdHandle.c:44:2: warning: implicit
declaration of function ‘CloseHandle’ [-Wimplicit-function-declaration]
  CloseHandle(stdout);
    ^
libfreerdp/codec/test/TestFreeRDPRegion.c: In function ‘test_norbert2_case’:
libfreerdp/codec/test/TestFreeRDPRegion.c:697:6: warning: unused variable ‘i’ [-Wunused-variable]
  int i;

channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_receive_format_list’:
channels/cliprdr/server/cliprdr_main.c:636:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
  CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
                        ^
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_init’:
channels/cliprdr/server/cliprdr_main.c:1097:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
  CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;

8 years agoAdapt error level for debug messages
Bernhard Miklautz [Mon, 9 Nov 2015 17:27:38 +0000 (18:27 +0100)]
Adapt error level for debug messages

When using xfreerdp a regular invocation should really only report grave
problems as error. "Regular" messages should be either info or even
debug.

8 years agowlog: rework, cleanup and stabilize API
Bernhard Miklautz [Mon, 9 Nov 2015 16:56:44 +0000 (17:56 +0100)]
wlog: rework, cleanup and stabilize API

* only expose necessary functions and types in header
* don't expose appender internals
* add generic function WLog_ConfigureAppender to have the possibility
  to configure appender specific settings
* detect appender availability if WLog_SetLogAppenderType or
  WLog_Appender_New return FALSE or NULL respectively the appender isn't
  available or the initialization failed. This is very useful for the
  use with optional appenders.
* add Free to the appender interface. At the time of the Free the
  appender is known and available so it can be called directly (instead
  of calling the right function according to the type)
* make all appender internal function static
* all appenders return the generic wLogAppender type now. Typecasts
  are internally done where necessary this abstracts the appenders more
  cleanly

8 years agoAdd build-config.h
Bernhard Miklautz [Thu, 5 Nov 2015 13:02:07 +0000 (14:02 +0100)]
Add build-config.h

build-config.h should contain configure/compile time settings that are
relevant for projects that use FreeRDP.

For example the compiled in plugin search paths.

8 years agoPump version to 2.0.0
Bernhard Miklautz [Thu, 5 Nov 2015 11:29:41 +0000 (12:29 +0100)]
Pump version to 2.0.0

8 years agoMerge pull request #2964 from hardening/udp_appender
Norbert Federa [Mon, 9 Nov 2015 12:42:02 +0000 (13:42 +0100)]
Merge pull request #2964 from hardening/udp_appender

Add an UDP appender to wLog

9 years agoTake in account @nfedera's remarks
David FORT [Fri, 6 Nov 2015 22:17:11 +0000 (23:17 +0100)]
Take in account @nfedera's remarks

9 years agoMerge pull request #2954 from mfleisz/cliprdr_fix
Norbert Federa [Fri, 6 Nov 2015 12:43:44 +0000 (13:43 +0100)]
Merge pull request #2954 from mfleisz/cliprdr_fix

cliprdr/server: Server-side file content receiving used wrong callback

9 years agoMerge pull request #2926 from bjcollins/rail_fixes
Norbert Federa [Fri, 6 Nov 2015 12:34:42 +0000 (13:34 +0100)]
Merge pull request #2926 from bjcollins/rail_fixes

Rail fixes

9 years agoMerge pull request #2963 from nfedera/fix-fullscreen-multimon
Hardening [Fri, 6 Nov 2015 09:21:47 +0000 (10:21 +0100)]
Merge pull request #2963 from nfedera/fix-fullscreen-multimon

client/X11: multimon/fullscreen fixes

9 years agoMerge pull request #2968 from nfedera/fix-commandlinetoargv
Hardening [Fri, 6 Nov 2015 09:19:40 +0000 (10:19 +0100)]
Merge pull request #2968 from nfedera/fix-commandlinetoargv

winpr/argv: fix CommandLineToArgvA memory access

9 years agowinpr/argv: fix CommandLineToArgvA memory access
Norbert Federa [Thu, 5 Nov 2015 17:10:05 +0000 (18:10 +0100)]
winpr/argv: fix CommandLineToArgvA memory access

- fixed access of unitialized memory beyond terminating null
- minor simplifications

9 years agoAdd an UDP appender to wLog
David FORT [Wed, 4 Nov 2015 17:11:19 +0000 (18:11 +0100)]
Add an UDP appender to wLog

This appender allows to receive the logs over a network connection using UDP packets.
You can see the logs using a listening netcat, for example: nc -ul 127.0.0.1 20000.

9 years agoclient/X11: fix post fullscreen repositioning
Norbert Federa [Wed, 4 Nov 2015 16:58:21 +0000 (17:58 +0100)]
client/X11: fix post fullscreen repositioning

9 years agoclient/X11: multimon/fullscreen fixes
Norbert Federa [Wed, 4 Nov 2015 14:01:31 +0000 (15:01 +0100)]
client/X11: multimon/fullscreen fixes

- fixed wrong calculation of xfc->fullscreenMonitors.[right|bottom]
- only use _NET_WM_FULLSCREEN_MONITORS if at least 2 monitors are involved
- call XMoveWindow before setting the _NET_WM_STATE_FULLSCREEN property

9 years agoFixed WITH_CLIENT_CHANNELS dependencies.
Armin Novak [Wed, 4 Nov 2015 12:15:37 +0000 (13:15 +0100)]
Fixed WITH_CLIENT_CHANNELS dependencies.

9 years agoAdded WITH_CLIENT_COMMON option.
Armin Novak [Wed, 4 Nov 2015 08:53:13 +0000 (09:53 +0100)]
Added WITH_CLIENT_COMMON option.

9 years agoDisabled client builds if WITH_CLIENT is not set.
Armin Novak [Tue, 3 Nov 2015 15:16:49 +0000 (16:16 +0100)]
Disabled client builds if WITH_CLIENT is not set.

9 years agoFixed return values.
Armin Novak [Tue, 3 Nov 2015 15:18:09 +0000 (16:18 +0100)]
Fixed return values.

9 years agoMerge pull request #2961 from nfedera/nf-fix-image-copy-segfault
Bernhard Miklautz [Tue, 3 Nov 2015 11:22:22 +0000 (12:22 +0100)]
Merge pull request #2961 from nfedera/nf-fix-image-copy-segfault

codec/color: fix segfault in freerdp_image32_copy

9 years agocodec/color: fix segfault in freerdp_image32_copy
Norbert Federa [Tue, 3 Nov 2015 11:05:47 +0000 (12:05 +0100)]
codec/color: fix segfault in freerdp_image32_copy

Code path for dstBytesPerPixel == 3 moved src and dst pointers
beyond their respective buffers.

9 years agoMerge pull request #2951 from bmiklautz/friday
Hardening [Mon, 2 Nov 2015 09:50:16 +0000 (10:50 +0100)]
Merge pull request #2951 from bmiklautz/friday

Misc fixes

9 years agoMerge pull request #2957 from hardening/journald
Bernhard Miklautz [Mon, 2 Nov 2015 09:45:35 +0000 (10:45 +0100)]
Merge pull request #2957 from hardening/journald

Adds a systemd journal appender

9 years agoTake in account @bmiklautz remarks
David FORT [Sun, 1 Nov 2015 20:34:03 +0000 (21:34 +0100)]
Take in account @bmiklautz remarks

* I have added a function to set the journal identifier
* the appender name has been changed from SYSTEMD to JOURNALD

9 years agoFix the env var leak
David FORT [Fri, 30 Oct 2015 19:22:25 +0000 (20:22 +0100)]
Fix the env var leak

9 years agoUse unbuffered output
David FORT [Fri, 30 Oct 2015 19:20:42 +0000 (20:20 +0100)]
Use unbuffered output

9 years agoAdds a systemd journal appender
David FORT [Fri, 30 Oct 2015 13:50:14 +0000 (14:50 +0100)]
Adds a systemd journal appender

9 years agoMerge pull request #2940 from hardening/syslog_appender
Bernhard Miklautz [Thu, 29 Oct 2015 17:44:14 +0000 (18:44 +0100)]
Merge pull request #2940 from hardening/syslog_appender

Add a wLog syslog appender

9 years agoFixed a warning
David FORT [Thu, 29 Oct 2015 17:33:42 +0000 (18:33 +0100)]
Fixed a warning

9 years agoSupport syslog type for the WLOG_APPENDER env var
David FORT [Thu, 29 Oct 2015 17:31:22 +0000 (18:31 +0100)]
Support syslog type for the WLOG_APPENDER env var

9 years agocliprdr/server: Server-side file content receiving used wrong callback
Martin Fleisz [Thu, 29 Oct 2015 11:45:12 +0000 (12:45 +0100)]
cliprdr/server: Server-side file content receiving used wrong callback

9 years agoDon't include config.h in public headers
David FORT [Thu, 29 Oct 2015 09:32:58 +0000 (10:32 +0100)]
Don't include config.h in public headers

In fact we don't need the ifdefery in public headers, so don't include unneeded
config.h file.

9 years agoMerge pull request #2952 from mfleisz/server_cliprdr_config
Bernhard Miklautz [Wed, 28 Oct 2015 14:55:17 +0000 (15:55 +0100)]
Merge pull request #2952 from mfleisz/server_cliprdr_config

cliprdr/server: Provide the server with a possibility to configure capabilities

9 years agocliprdr/server: Add comment
Martin Fleisz [Wed, 28 Oct 2015 11:28:14 +0000 (12:28 +0100)]
cliprdr/server: Add comment

9 years agoInclude config.h file when needed
David FORT [Tue, 27 Oct 2015 20:45:26 +0000 (21:45 +0100)]
Include config.h file when needed

9 years agocliprdr/server: Provide the server with a possibility to configure capabilities
Martin Fleisz [Tue, 27 Oct 2015 16:12:33 +0000 (17:12 +0100)]
cliprdr/server: Provide the server with a possibility to configure capabilities

9 years agoFixed mixed declaration.
Armin Novak [Tue, 27 Oct 2015 08:57:15 +0000 (09:57 +0100)]
Fixed mixed declaration.

9 years agoFixed clipboard format for directory copy.
Armin Novak [Fri, 23 Oct 2015 10:07:36 +0000 (12:07 +0200)]
Fixed clipboard format for directory copy.

9 years agoFixed directory copy from remote to local.
Armin Novak [Fri, 23 Oct 2015 09:31:54 +0000 (11:31 +0200)]
Fixed directory copy from remote to local.

9 years agoDisabled file locking, added response checks.
Armin Novak [Thu, 22 Oct 2015 08:01:12 +0000 (10:01 +0200)]
Disabled file locking, added response checks.

9 years agoFixed clipboard file transfer.
Armin Novak [Thu, 22 Oct 2015 07:31:47 +0000 (09:31 +0200)]
Fixed clipboard file transfer.

9 years agoFixed clipboard file contents response and message to string.
Armin Novak [Thu, 22 Oct 2015 07:01:30 +0000 (09:01 +0200)]
Fixed clipboard file contents response and message to string.

9 years agowinpr API: add EnvironmentBlockToEnvpA
Bernhard Miklautz [Fri, 23 Oct 2015 16:17:14 +0000 (18:17 +0200)]
winpr API: add EnvironmentBlockToEnvpA

* expose EnvironmentBlockToEnvpA
* cleanup includes in process.c
* removed unused "flag" variable in _CreateProcessExA
* make ProcessHandleCloseHandle static

9 years agowinpr/stream: don't allow 0-size streams
Bernhard Miklautz [Fri, 23 Oct 2015 16:06:17 +0000 (18:06 +0200)]
winpr/stream: don't allow 0-size streams

9 years agowinpr: fix compiler warning
Bernhard Miklautz [Fri, 23 Oct 2015 15:18:53 +0000 (17:18 +0200)]
winpr: fix compiler warning

winpr/libwinpr/utils/wlog/wlog.c: In function ‘WLog_PrintMessageVA’:
winpr/libwinpr/utils/wlog/wlog.c:234:7: warning: ‘status’ may be
used uninitialized in this function [-Wmaybe-uninitialized]
BOOL status;
      ^

gcc 4.9.2

9 years agoMerge pull request #2945 from mfleisz/wlog_compile_fix
Bernhard Miklautz [Fri, 23 Oct 2015 10:38:13 +0000 (12:38 +0200)]
Merge pull request #2945 from mfleisz/wlog_compile_fix

wlog: Fix variable definitions

9 years agowlog: Fix variable definitions
Martin Fleisz [Fri, 23 Oct 2015 10:08:20 +0000 (12:08 +0200)]
wlog: Fix variable definitions

9 years agoMerge pull request #2929 from mfleisz/cliprdr_fix
Vic Lee [Fri, 23 Oct 2015 07:59:07 +0000 (15:59 +0800)]
Merge pull request #2929 from mfleisz/cliprdr_fix

cliprdr/server: Don't call CloseHandle on ChannelEvent

9 years agocliprdr/server: Fix memory leak
Martin Fleisz [Fri, 23 Oct 2015 06:49:24 +0000 (08:49 +0200)]
cliprdr/server: Fix memory leak

9 years agoAdapt to last wLog changes
David FORT [Thu, 22 Oct 2015 08:54:21 +0000 (10:54 +0200)]
Adapt to last wLog changes

9 years agoAdd a wLog syslog appender
David FORT [Wed, 21 Oct 2015 14:13:15 +0000 (16:13 +0200)]
Add a wLog syslog appender

9 years agoMerge pull request #2927 from MartinHaimberger/mh-log-returnvalues
Hardening [Thu, 22 Oct 2015 08:35:43 +0000 (10:35 +0200)]
Merge pull request #2927 from MartinHaimberger/mh-log-returnvalues

wlog: fixed return values

9 years agoMerge pull request #2939 from nfedera/fix-x11-clip-id
MartinHaimberger [Wed, 21 Oct 2015 10:57:12 +0000 (12:57 +0200)]
Merge pull request #2939 from nfedera/fix-x11-clip-id

xfreerdp/clipr: fix self owned test and hardening

9 years agowlog: fixed return values
Martin Haimberger [Wed, 21 Oct 2015 08:11:06 +0000 (01:11 -0700)]
wlog: fixed return values

wlog used to return an int but the only meaning
of the return value was:

 * negative ... error
 * 0 or positive ... success

but the positve returned value was 1 or some id of some
subsystem, nothing meaningful for the caller.

For a more meaningful returnvalue we now use BOOL.

If something goes wrong FALSE is returned.

9 years agoMerge pull request #2938 from LookBehind/master
Martin Fleisz [Wed, 21 Oct 2015 07:53:42 +0000 (09:53 +0200)]
Merge pull request #2938 from LookBehind/master

Fix rdp_recv_logon_error_info

9 years agoxfreerdp/clipr: fix self owned test and hardening
Norbert Federa [Tue, 20 Oct 2015 19:28:29 +0000 (21:28 +0200)]
xfreerdp/clipr: fix self owned test and hardening

- xf_cliprdr_is_self_owned() lied if multiple xfreerdp instances were
  running.
- fixed a few unchecked callocs
- added/modified and handled some return values in compliance with
  the new hardened channel api

9 years agoFix rdp_recv_logon_error_info
LookBehind [Tue, 20 Oct 2015 14:05:09 +0000 (18:05 +0400)]
Fix rdp_recv_logon_error_info

As https://msdn.microsoft.com/en-us/library/cc240641.aspx says - first is going errorNotificationType then errorNotificationData.

9 years agoMerge pull request #2933 from realjiangms/fix_gdi_bitmap_update
Martin Fleisz [Tue, 20 Oct 2015 06:44:52 +0000 (08:44 +0200)]
Merge pull request #2933 from realjiangms/fix_gdi_bitmap_update

GDI: Fix gdi_bitmap_update to check dest buffer size.

9 years agoGDI: Fix gdi_bitmap_update to check dest buffer size.
zihao.jiang [Sun, 18 Oct 2015 09:53:22 +0000 (17:53 +0800)]
GDI: Fix gdi_bitmap_update to check dest buffer size.

9 years agocliprdr/server: Don't call CloseHandle on EventHandle
Martin Fleisz [Fri, 16 Oct 2015 09:40:25 +0000 (11:40 +0200)]
cliprdr/server: Don't call CloseHandle on EventHandle

9 years agoSilenced VerifyX509Certificate logging.
Armin Novak [Fri, 16 Oct 2015 07:50:18 +0000 (09:50 +0200)]
Silenced VerifyX509Certificate logging.

Now only writing log entries if something was an actual
error, otherwise stay silent.

9 years agoMerge pull request #2910 from dupondje/master
Bernhard Miklautz [Fri, 16 Oct 2015 08:38:11 +0000 (10:38 +0200)]
Merge pull request #2910 from dupondje/master

FindGStreamer_1_0: fix build failure for new gstreamer versions

9 years agoupdate values-zh/strings.xml
root [Fri, 16 Oct 2015 07:54:26 +0000 (15:54 +0800)]
update values-zh/strings.xml

9 years agoCleanup unnecessary/unintended changes from last commit
bjcollins [Fri, 16 Oct 2015 00:10:04 +0000 (19:10 -0500)]
Cleanup unnecessary/unintended changes from last commit

9 years agoRemoteApp Support
bjcollins [Thu, 15 Oct 2015 23:41:55 +0000 (18:41 -0500)]
RemoteApp Support

1. Remove all uses of "localWindowOffsetCorr" variables, they added an extra layer of complexity and they are not actually needed to handle coordination of window position/size between
the local coordinate system and the remote one. This logic was causing issues in the case where the window was moved off the left side of the screen.

2. Update the xf_setWindowVisibilityRects function to offset the visibility rects as necessary when the window is hanging off the left side of the screen.

3. Stop sending mouse events when doing keyboard moves/sizes(as desired), and stop sending two mouse events for non-keyboard moves/sizes

4. Move location of new UTF8_STRING variable from previous commit

5. Refresh window and window shape for any window position/size updates, this helps keep the local and server windows in sync and works around some race conditions

9 years agoRemote app support
bjcollins [Thu, 15 Oct 2015 23:18:21 +0000 (18:18 -0500)]
Remote app support

All window state order offsets are signed according to the RDP spec, lets treat them as such.

9 years agoStore Miscellaneous X11 Atoms into variables to match how we handle other X11 Atoms.
bjcollins [Thu, 15 Oct 2015 19:59:53 +0000 (14:59 -0500)]
Store Miscellaneous X11 Atoms into variables to match how we handle other X11 Atoms.