platform/upstream/freerdp.git
10 years agolibfreerdp-codec: refactor zgfx
Marc-André Moreau [Thu, 5 Jun 2014 19:24:36 +0000 (15:24 -0400)]
libfreerdp-codec: refactor zgfx

10 years agolibfreerdp-codec: simplify zgfx segment processing
Marc-André Moreau [Thu, 5 Jun 2014 18:52:27 +0000 (14:52 -0400)]
libfreerdp-codec: simplify zgfx segment processing

10 years agoxfreerdp: avoid using XCopyArea
Marc-André Moreau [Thu, 5 Jun 2014 17:13:47 +0000 (13:13 -0400)]
xfreerdp: avoid using XCopyArea

10 years agoxfreerdp: improve gfx frame handling
Marc-André Moreau [Thu, 5 Jun 2014 16:36:01 +0000 (12:36 -0400)]
xfreerdp: improve gfx frame handling

10 years agoxfreerdp: improve graphics pipeline support
Marc-André Moreau [Thu, 5 Jun 2014 02:49:03 +0000 (22:49 -0400)]
xfreerdp: improve graphics pipeline support

10 years agochannels/rdpgfx: cleanup debug output
Marc-André Moreau [Thu, 5 Jun 2014 02:06:29 +0000 (22:06 -0400)]
channels/rdpgfx: cleanup debug output

10 years agochannels/rdpgfx: fix parsing of pdus in an array
Marc-André Moreau [Thu, 5 Jun 2014 01:35:31 +0000 (21:35 -0400)]
channels/rdpgfx: fix parsing of pdus in an array

10 years agoMerge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Wed, 4 Jun 2014 23:05:15 +0000 (19:05 -0400)]
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Wed, 4 Jun 2014 23:05:04 +0000 (19:05 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx

10 years agoxfreerdp: start integrating graphics pipeline
Marc-André Moreau [Wed, 4 Jun 2014 22:03:25 +0000 (18:03 -0400)]
xfreerdp: start integrating graphics pipeline

10 years agochannels/rdpgfx: define interface of callbacks
Marc-André Moreau [Wed, 4 Jun 2014 19:18:02 +0000 (15:18 -0400)]
channels/rdpgfx: define interface of callbacks

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP into egfx
Marc-André Moreau [Wed, 4 Jun 2014 16:37:23 +0000 (12:37 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 4 Jun 2014 16:01:40 +0000 (12:01 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

10 years agoMerge pull request #1875 from jbd1986/fix-rdp-file-fullscreen
Marc-André Moreau [Wed, 4 Jun 2014 16:02:30 +0000 (12:02 -0400)]
Merge pull request #1875 from jbd1986/fix-rdp-file-fullscreen

Reading RDP File: changed fullscreen constants to reflect the current states from Technet

10 years agoMerge pull request #1872 from nfedera/fix-2014-05-28-01
Marc-André Moreau [Wed, 4 Jun 2014 16:00:05 +0000 (12:00 -0400)]
Merge pull request #1872 from nfedera/fix-2014-05-28-01

winpr: rewrite named pipe sharing

10 years agoMerge pull request #1868 from akallabeth/x11_shutdown_fix
Marc-André Moreau [Wed, 4 Jun 2014 15:59:58 +0000 (11:59 -0400)]
Merge pull request #1868 from akallabeth/x11_shutdown_fix

X11 aync input shutdown fix

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 4 Jun 2014 15:56:37 +0000 (11:56 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

10 years agotransport: fix incorrect retval that caused unexpected redirect.
Vic Lee [Wed, 4 Jun 2014 07:57:27 +0000 (15:57 +0800)]
transport: fix incorrect retval that caused unexpected redirect.

10 years agoMerge pull request #1882 from hardening/nla_fix
Martin Fleisz [Wed, 4 Jun 2014 07:30:34 +0000 (09:30 +0200)]
Merge pull request #1882 from hardening/nla_fix

Nla fix

10 years agochannels/rdpgfx: stub bitmap decompression
Marc-André Moreau [Wed, 4 Jun 2014 00:51:28 +0000 (20:51 -0400)]
channels/rdpgfx: stub bitmap decompression

10 years agochannels/rdpgfx: parse all core egfx pdus
Marc-André Moreau [Tue, 3 Jun 2014 23:48:47 +0000 (19:48 -0400)]
channels/rdpgfx: parse all core egfx pdus

10 years agochannels/rdpgfx: start parsing pdus
Marc-André Moreau [Tue, 3 Jun 2014 19:32:03 +0000 (15:32 -0400)]
channels/rdpgfx: start parsing pdus

10 years agolibfreerdp-codec: integrate basic RDP8 decompression support
Marc-André Moreau [Tue, 3 Jun 2014 18:29:55 +0000 (14:29 -0400)]
libfreerdp-codec: integrate basic RDP8 decompression support

10 years agolibfreerdp-codec: stub new ZGFX (RDP8) bulk compressor/decompressor
Marc-André Moreau [Tue, 3 Jun 2014 17:38:10 +0000 (13:38 -0400)]
libfreerdp-codec: stub new ZGFX (RDP8) bulk compressor/decompressor

10 years agochannels/drdynvc: add state machine, add workaround for missing capabilities pdu
Marc-André Moreau [Tue, 3 Jun 2014 17:00:03 +0000 (13:00 -0400)]
channels/drdynvc: add state machine, add workaround for missing capabilities pdu

10 years agoMerge pull request #1873 from hardening/WTSVirtualChannelWriteCallers
Martin Fleisz [Tue, 3 Jun 2014 14:40:05 +0000 (16:40 +0200)]
Merge pull request #1873 from hardening/WTSVirtualChannelWriteCallers

Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()

10 years agochannels/drdynvc: add OnOpen callback
Marc-André Moreau [Tue, 3 Jun 2014 13:49:00 +0000 (09:49 -0400)]
channels/drdynvc: add OnOpen callback

10 years agoDon't leak cert in case of failure
Hardening [Tue, 3 Jun 2014 13:19:00 +0000 (15:19 +0200)]
Don't leak cert in case of failure

10 years agoFix certificate leak
Hardening [Tue, 3 Jun 2014 12:59:58 +0000 (14:59 +0200)]
Fix certificate leak

There were a leak when doing TLS in server mode

10 years agoFix metrics leak
Hardening [Tue, 3 Jun 2014 12:54:56 +0000 (14:54 +0200)]
Fix metrics leak

10 years agoFix NLA authentication for server-side
Hardening [Tue, 3 Jun 2014 09:04:35 +0000 (11:04 +0200)]
Fix NLA authentication for server-side

This patch make copies of the server public key so that the NLA
authentication can be performed server-side.

10 years agoDrop unused field
Hardening [Tue, 3 Jun 2014 09:04:12 +0000 (11:04 +0200)]
Drop unused field

10 years agochannels/rdpgfx: start working on capability sets
Marc-André Moreau [Tue, 3 Jun 2014 04:05:43 +0000 (00:05 -0400)]
channels/rdpgfx: start working on capability sets

10 years agochannels/disp: cleanup
Marc-André Moreau [Tue, 3 Jun 2014 02:40:01 +0000 (22:40 -0400)]
channels/disp: cleanup

10 years agolibfreerdp-client: fix /gfx option
Marc-André Moreau [Tue, 3 Jun 2014 02:39:40 +0000 (22:39 -0400)]
libfreerdp-client: fix /gfx option

10 years agolibwinpr-smartcard: avoid using pcsc-lite's buggy transaction system
Marc-André Moreau [Tue, 3 Jun 2014 01:49:49 +0000 (21:49 -0400)]
libwinpr-smartcard: avoid using pcsc-lite's buggy transaction system

10 years agochannels/smartcard: experiment with multiple card contexts
Marc-André Moreau [Mon, 2 Jun 2014 21:20:01 +0000 (17:20 -0400)]
channels/smartcard: experiment with multiple card contexts

10 years agoMerge branch 'awakecoding' of github.com:vworkspace/FreeRDP
Marc-André Moreau [Mon, 2 Jun 2014 16:08:19 +0000 (12:08 -0400)]
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP

10 years agoModified SCardConnect/SCardDisconnect logic to prevent more than one card from being...
Mike McDonald [Mon, 2 Jun 2014 15:08:32 +0000 (11:08 -0400)]
Modified SCardConnect/SCardDisconnect logic to prevent more than one card from being connected to a context.  Trying to connect more than once to a context without doing a disconnect can cause a deadlock in the pcsclite daemon (pcscd).

10 years agoMerge pull request #1879 from awakecoding/master
Marc-André Moreau [Mon, 2 Jun 2014 02:35:13 +0000 (22:35 -0400)]
Merge pull request #1879 from awakecoding/master

Async Transport BIO full duplex support

10 years agolibwinpr-winsock: fix non-monolithic build
Marc-André Moreau [Mon, 2 Jun 2014 02:25:19 +0000 (22:25 -0400)]
libwinpr-winsock: fix non-monolithic build

10 years agolibwinpr-winsock: fix build on Windows
Marc-André Moreau [Mon, 2 Jun 2014 01:52:33 +0000 (21:52 -0400)]
libwinpr-winsock: fix build on Windows

10 years agolibfreerdp-core: replace all OpenSSL built-in BIOs by new full duplex BIOs
Marc-André Moreau [Mon, 2 Jun 2014 01:37:20 +0000 (21:37 -0400)]
libfreerdp-core: replace all OpenSSL built-in BIOs by new full duplex BIOs

10 years agolibwinpr-winsock: initial winsock implementation
Marc-André Moreau [Sun, 1 Jun 2014 19:04:28 +0000 (15:04 -0400)]
libwinpr-winsock: initial winsock implementation

10 years agolibfreerdp-core: remove ineffective full duplex locks
Marc-André Moreau [Sun, 1 Jun 2014 15:20:13 +0000 (11:20 -0400)]
libfreerdp-core: remove ineffective full duplex locks

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Sun, 1 Jun 2014 14:46:58 +0000 (10:46 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP

10 years agolibfreerdp-core: fail more gracefully when transport thread dies
Marc-André Moreau [Sun, 1 Jun 2014 14:46:43 +0000 (10:46 -0400)]
libfreerdp-core: fail more gracefully when transport thread dies

10 years agolibwinpr-utils: add WLog support for Win32 debugger console output
Marc-André Moreau [Sat, 31 May 2014 14:10:19 +0000 (10:10 -0400)]
libwinpr-utils: add WLog support for Win32 debugger console output

10 years agoMerge pull request #1877 from awakecoding/master
Marc-André Moreau [Fri, 30 May 2014 19:35:46 +0000 (15:35 -0400)]
Merge pull request #1877 from awakecoding/master

WLog, Transport, Gateway, Time

10 years agolibfreerdp-core: fix build on Windows
Marc-André Moreau [Fri, 30 May 2014 19:29:06 +0000 (15:29 -0400)]
libfreerdp-core: fix build on Windows

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Fri, 30 May 2014 19:06:07 +0000 (15:06 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

Conflicts:
libfreerdp/core/transport.c

10 years agolibfreerdp-core: add locks to disable full duplex BIOs (currently unsafe)
Marc-André Moreau [Fri, 30 May 2014 18:53:10 +0000 (14:53 -0400)]
libfreerdp-core: add locks to disable full duplex BIOs (currently unsafe)

10 years agolibfreerdp-core: fix VerifyX509Certificate to make distinction between gateway and...
Marc-André Moreau [Fri, 30 May 2014 18:36:18 +0000 (14:36 -0400)]
libfreerdp-core: fix VerifyX509Certificate to make distinction between gateway and direct connection

10 years agolibfreerdp-core: add connection timeout, fix gateway bypass local
Marc-André Moreau [Fri, 30 May 2014 18:03:20 +0000 (14:03 -0400)]
libfreerdp-core: add connection timeout, fix gateway bypass local

10 years agotransport: add another null pointer check.
Vic Lee [Fri, 30 May 2014 17:08:00 +0000 (01:08 +0800)]
transport: add another null pointer check.

10 years agolibfreerdp-common: add freerdp_update_gateway_usage_method helper
Marc-André Moreau [Fri, 30 May 2014 16:55:17 +0000 (12:55 -0400)]
libfreerdp-common: add freerdp_update_gateway_usage_method helper

10 years agolibfreerdp-core: add gateway-usage-method command line option, avoid resetting BIO...
Marc-André Moreau [Fri, 30 May 2014 16:31:26 +0000 (12:31 -0400)]
libfreerdp-core: add gateway-usage-method command line option, avoid resetting BIO flags we shouldn't reset

10 years agotransport: add a null pointer check.
Vic Lee [Fri, 30 May 2014 15:34:04 +0000 (23:34 +0800)]
transport: add a null pointer check.

10 years agordpsnd/server: fix incorrect use of channe handle.
Vic Lee [Fri, 30 May 2014 15:00:15 +0000 (23:00 +0800)]
rdpsnd/server: fix incorrect use of channe handle.

10 years agotcp: add timeout to prevent buggy client from hanging.
Vic Lee [Fri, 30 May 2014 14:30:21 +0000 (22:30 +0800)]
tcp: add timeout to prevent buggy client from hanging.

10 years agoMerge pull request #1874 from hardening/CVE-2014-0250
Marc-André Moreau [Fri, 30 May 2014 02:28:13 +0000 (22:28 -0400)]
Merge pull request #1874 from hardening/CVE-2014-0250

Fixes for CVE-2014-0250

10 years agolibwinpr-timezone: fix build on Windows
Marc-André Moreau [Fri, 30 May 2014 01:29:24 +0000 (21:29 -0400)]
libwinpr-timezone: fix build on Windows

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 29 May 2014 23:27:11 +0000 (19:27 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

10 years agoMerge github.com:mrthebunny/FreeRDP
Marc-André Moreau [Thu, 29 May 2014 19:45:48 +0000 (15:45 -0400)]
Merge github.com:mrthebunny/FreeRDP

10 years agolibwinpr-utils: add WLOG_PREFIX environment variable
Marc-André Moreau [Thu, 29 May 2014 19:42:32 +0000 (15:42 -0400)]
libwinpr-utils: add WLOG_PREFIX environment variable

10 years agolibwinpr-utils: add support for fine grained wlog filter
Marc-André Moreau [Thu, 29 May 2014 19:23:15 +0000 (15:23 -0400)]
libwinpr-utils: add support for fine grained wlog filter

10 years agolibwinpr-sysinfo: implement GetSystemTime, GetLocalTime
Marc-André Moreau [Thu, 29 May 2014 16:39:09 +0000 (12:39 -0400)]
libwinpr-sysinfo: implement GetSystemTime, GetLocalTime

10 years agolibwinpr-timezone: stub functions
Marc-André Moreau [Thu, 29 May 2014 15:58:53 +0000 (11:58 -0400)]
libwinpr-timezone: stub functions

10 years agoChanged fullscreen value to reflect the current states from http://technet.microsoft...
Justin DeFields [Thu, 29 May 2014 15:48:38 +0000 (11:48 -0400)]
Changed fullscreen value to reflect the current states from technet.microsoft.com/en-us/library/ff393692(v=ws.10).aspx

10 years agoCheck that bpp has reasonable value
Hardening [Thu, 29 May 2014 08:12:02 +0000 (10:12 +0200)]
Check that bpp has reasonable value

As bpp is often used for malloc computations, let's check that it has
a reasonable value.

10 years agoCheck for bpp > 0
Hardening [Thu, 29 May 2014 07:24:59 +0000 (09:24 +0200)]
Check for bpp > 0

Bpp == 0 just makes no sense

10 years agotls_prepare: suppressed a warning on Mac
Benoît LeBlanc [Thu, 29 May 2014 01:33:30 +0000 (21:33 -0400)]
tls_prepare: suppressed a warning on Mac

10 years agoSet checks to be strict and also check xorBpp field
Hardening [Wed, 28 May 2014 22:12:48 +0000 (00:12 +0200)]
Set checks to be strict and also check xorBpp field

This patch:
* renames bpp to xorBpp ;
* changes checks to strict ;
* adds checks on the xorBpp field

10 years agoFixes for CVE-2014-0250
Hardening [Wed, 28 May 2014 21:07:00 +0000 (23:07 +0200)]
Fixes for CVE-2014-0250

This patch introduce misc checks when receiving pointer updates. We check
that the cursor are in the bounds defined by the spec. We also check that
the announced mask sizes are what they should be.

10 years agoDon't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
Hardening [Wed, 28 May 2014 15:04:24 +0000 (17:04 +0200)]
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()

Nothing in the MSDN API says that setting NULL is safe. And if the
implementation uses WriteFile directly, it crashes.

10 years agolibwinpr-utils: extend wlog prefix format
Marc-André Moreau [Wed, 28 May 2014 14:38:32 +0000 (10:38 -0400)]
libwinpr-utils: extend wlog prefix format

10 years agowinpr: fixed non monolithic build issue
Norbert Federa [Wed, 28 May 2014 14:22:32 +0000 (16:22 +0200)]
winpr: fixed non monolithic build issue

10 years agowinpr: rewrite named pipe sharing
Norbert Federa [Wed, 28 May 2014 11:54:08 +0000 (13:54 +0200)]
winpr: rewrite named pipe sharing

Since commit 5e09e37d42bd8896a687df830a95f5cb56e4d47c was basically unfixable,
here is a slightly different approach that should hopefully solve all
discovered issues and race conditions.

10 years agoAbortion check now just tests for quit in the queue.
Armin Novak [Tue, 27 May 2014 07:32:58 +0000 (09:32 +0200)]
Abortion check now just tests for quit in the queue.

10 years agolibwinpr-smartcard: add logging for each calls in smartcard inspector
Marc-André Moreau [Mon, 26 May 2014 21:54:39 +0000 (17:54 -0400)]
libwinpr-smartcard: add logging for each calls in smartcard inspector

10 years agoNow processing input messages in async thread.
Armin Novak [Mon, 26 May 2014 20:54:34 +0000 (22:54 +0200)]
Now processing input messages in async thread.

10 years agoMerge pull request #1866 from nfedera/fix-2014-05-26-01
Marc-André Moreau [Mon, 26 May 2014 20:20:28 +0000 (16:20 -0400)]
Merge pull request #1866 from nfedera/fix-2014-05-26-01

winpr: fixed incorrect pipe reference count usage

10 years agolibwinpr-smartcard: start smartcard API inspector
Marc-André Moreau [Mon, 26 May 2014 19:57:37 +0000 (15:57 -0400)]
libwinpr-smartcard: start smartcard API inspector

10 years agowinpr: fixed incorrect pipe reference count usage
Norbert Federa [Mon, 26 May 2014 19:24:34 +0000 (21:24 +0200)]
winpr: fixed incorrect pipe reference count usage

- refcount is only relevant for servermode
- refcount was used uninitialized in clientmode
- credit for fix goes to @bmiklautz

Bug was introduced by 5e09e37d42bd8896a687df830a95f5cb56e4d47c

10 years agocmake: add option to override default library type for complex submodules
Marc-André Moreau [Mon, 26 May 2014 18:46:42 +0000 (14:46 -0400)]
cmake: add option to override default library type for complex submodules

10 years agoFixed input_thread shutdown issue if not initiated by user.
Armin Novak [Mon, 26 May 2014 17:09:25 +0000 (19:09 +0200)]
Fixed input_thread shutdown issue if not initiated by user.

10 years agoMerge pull request #1865 from awakecoding/master
Marc-André Moreau [Mon, 26 May 2014 17:01:40 +0000 (13:01 -0400)]
Merge pull request #1865 from awakecoding/master

Compression Cleanup

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Mon, 26 May 2014 16:43:43 +0000 (12:43 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

10 years agolibfreerdp-codec: cleanup context state flushing
Marc-André Moreau [Mon, 26 May 2014 16:43:30 +0000 (12:43 -0400)]
libfreerdp-codec: cleanup context state flushing

10 years agolibfreerdp-core: add new protocol metrics module
Marc-André Moreau [Mon, 26 May 2014 16:30:58 +0000 (12:30 -0400)]
libfreerdp-core: add new protocol metrics module

10 years agoMerge pull request #1864 from MartinHaimberger/namedpipefix
Marc-André Moreau [Mon, 26 May 2014 12:10:28 +0000 (08:10 -0400)]
Merge pull request #1864 from MartinHaimberger/namedpipefix

fixed introduced winpr bug in namedpipes

10 years agofixed introduced winpr bug in namedpipes
Martin Haimberger [Mon, 26 May 2014 10:04:22 +0000 (03:04 -0700)]
fixed introduced winpr bug in namedpipes

Bug was introduced by 5e09e37d42bd8896a687df830a95f5cb56e4d47c

10 years agoMerge pull request #1863 from awakecoding/master
Marc-André Moreau [Mon, 26 May 2014 01:59:36 +0000 (21:59 -0400)]
Merge pull request #1863 from awakecoding/master

RDP6.1 XCrush Bulk Compression

10 years agolibfreerdp-codec: fix xcrush level-1 compressor
Marc-André Moreau [Mon, 26 May 2014 01:39:25 +0000 (21:39 -0400)]
libfreerdp-codec: fix xcrush level-1 compressor

10 years agolibfreerdp-codec: cleanup and fix XCrush context flush synchronization
Marc-André Moreau [Mon, 26 May 2014 01:21:51 +0000 (21:21 -0400)]
libfreerdp-codec: cleanup and fix XCrush context flush synchronization

10 years agolibfreerdp-codec: fix xcrush packet flushing
Marc-André Moreau [Mon, 26 May 2014 00:35:54 +0000 (20:35 -0400)]
libfreerdp-codec: fix xcrush packet flushing

10 years agolibfreerdp-codec: start compressing some XCrush frames
Marc-André Moreau [Mon, 26 May 2014 00:01:12 +0000 (20:01 -0400)]
libfreerdp-codec: start compressing some XCrush frames

10 years agolibfreerdp-codec: improve xcrush compressor error checking
Marc-André Moreau [Fri, 23 May 2014 21:38:10 +0000 (17:38 -0400)]
libfreerdp-codec: improve xcrush compressor error checking

10 years agolibfreerdp-core: enable RDP6.1 XCrush compression/decompression by default
Marc-André Moreau [Fri, 23 May 2014 18:11:53 +0000 (14:11 -0400)]
libfreerdp-core: enable RDP6.1 XCrush compression/decompression by default

10 years agowinpr-crt: fix bit rotation macros
Marc-André Moreau [Fri, 23 May 2014 18:00:46 +0000 (14:00 -0400)]
winpr-crt: fix bit rotation macros