platform/upstream/freerdp.git
10 years agoMerge pull request #1825 from hardening/compil_warnings
Marc-André Moreau [Thu, 8 May 2014 20:09:18 +0000 (16:09 -0400)]
Merge pull request #1825 from hardening/compil_warnings

Fix some compilation warnings

10 years agoMerge pull request #1835 from SBoyNumber1/rfx-issue1738
Marc-André Moreau [Thu, 8 May 2014 20:08:42 +0000 (16:08 -0400)]
Merge pull request #1835 from SBoyNumber1/rfx-issue1738

Fixed issue rfx problem: no rects #1738.

10 years agoMerge pull request #1822 from hardening/sound_hardening
Marc-André Moreau [Thu, 8 May 2014 20:00:52 +0000 (16:00 -0400)]
Merge pull request #1822 from hardening/sound_hardening

Fixes in the server-side sound channel

10 years agoMerge pull request #1834 from bmiklautz/fix/misc
Marc-André Moreau [Thu, 8 May 2014 19:59:17 +0000 (15:59 -0400)]
Merge pull request #1834 from bmiklautz/fix/misc

Misc small fixes

10 years agoMerge pull request #1833 from bmiklautz/fix/makecert
Marc-André Moreau [Thu, 8 May 2014 19:58:50 +0000 (15:58 -0400)]
Merge pull request #1833 from bmiklautz/fix/makecert

makecert: install header file

10 years agoMerge pull request #1832 from bmiklautz/feat/channel_funcs
Marc-André Moreau [Thu, 8 May 2014 19:58:29 +0000 (15:58 -0400)]
Merge pull request #1832 from bmiklautz/feat/channel_funcs

wtsvc: add extended channel handling functions

10 years agoMerge pull request #1831 from itsmikeeng/patch-1
Marc-André Moreau [Thu, 8 May 2014 19:57:46 +0000 (15:57 -0400)]
Merge pull request #1831 from itsmikeeng/patch-1

Fixed padding in settings.h

10 years agoMerge pull request #1829 from bmiklautz/fix/cxxflags
Marc-André Moreau [Thu, 8 May 2014 19:56:19 +0000 (15:56 -0400)]
Merge pull request #1829 from bmiklautz/fix/cxxflags

Detect and set CXX flags separately

10 years agoFixed issue rfx problem: no rects #1738.
SBoyNumber1 [Thu, 8 May 2014 16:20:28 +0000 (19:20 +0300)]
Fixed issue rfx problem: no rects #1738.

Added clipping of whole session in case when server sends zero rects.

10 years agowinpr-file: harden GetNamePipeFileDescriptor
Bernhard Miklautz [Wed, 7 May 2014 19:23:54 +0000 (21:23 +0200)]
winpr-file: harden GetNamePipeFileDescriptor

Ensure that GetNamePipeFileDescriptor returns an error
if the supplied handle isn't a named pipe.

10 years agomakecert: install header file
Bernhard Miklautz [Wed, 7 May 2014 19:09:34 +0000 (21:09 +0200)]
makecert: install header file

install the makecert header file for the exported static libary to
winpr/tools/makecert.h

10 years agosample channel: fix build
Bernhard Miklautz [Wed, 7 May 2014 18:56:49 +0000 (20:56 +0200)]
sample channel: fix build

sample channel is static and not dynamic therefore dynamic
should be set to FALSE in add_channel_client_library

10 years agowtsvc: use _strnicmp instead of strncasecmp
Bernhard Miklautz [Wed, 7 May 2014 18:36:22 +0000 (20:36 +0200)]
wtsvc: use _strnicmp instead of strncasecmp

_strnicmp is available for platforms

10 years agowtsvc: add extended channel handling functions
Bernhard Miklautz [Wed, 7 May 2014 18:20:02 +0000 (20:20 +0200)]
wtsvc: add extended channel handling functions

10 years agoFixed padding
itsmikeeng [Wed, 7 May 2014 17:50:14 +0000 (10:50 -0700)]
Fixed padding

10 years agoMerge pull request #1830 from hardening/certificate_fix
Bernhard Miklautz [Wed, 7 May 2014 14:28:58 +0000 (16:28 +0200)]
Merge pull request #1830 from hardening/certificate_fix

Fix null certificate that is not an error

10 years agoFix null certificate that is not an error
Hardening [Wed, 7 May 2014 14:12:38 +0000 (16:12 +0200)]
Fix null certificate that is not an error

10 years agoFixed bad check
Hardening [Fri, 2 May 2014 20:45:38 +0000 (22:45 +0200)]
Fixed bad check

10 years agoFix ChannelEvent
Hardening [Fri, 2 May 2014 19:53:52 +0000 (21:53 +0200)]
Fix ChannelEvent

10 years agobuild: define -D__FILE__ only for Release builds
Bernhard Miklautz [Wed, 30 Apr 2014 10:11:28 +0000 (12:11 +0200)]
build: define -D__FILE__ only for Release builds

10 years agobuild: check c++ compliler flags seperately
Bernhard Miklautz [Wed, 30 Apr 2014 10:05:51 +0000 (12:05 +0200)]
build: check c++ compliler flags seperately

Flags for C and C++ compiler need to be checked seperately since
the c and c++ compiler might not support the same flags (even if
they are the same version).

10 years agotls: WSAGetLastError should be used on Windows to check system socket error.
Vic Lee [Tue, 29 Apr 2014 15:05:30 +0000 (23:05 +0800)]
tls: WSAGetLastError should be used on Windows to check system socket error.

10 years agoFix some compilation warnings
Hardening [Tue, 29 Apr 2014 14:02:31 +0000 (16:02 +0200)]
Fix some compilation warnings

10 years agotls: do not kill the connection for non-fatal openssl error codes.
Vic Lee [Tue, 29 Apr 2014 13:48:11 +0000 (21:48 +0800)]
tls: do not kill the connection for non-fatal openssl error codes.

10 years agoRemove a warning
Hardening [Tue, 29 Apr 2014 08:39:07 +0000 (10:39 +0200)]
Remove a warning

10 years agoMore fixes in DSP
Hardening [Tue, 29 Apr 2014 08:32:16 +0000 (10:32 +0200)]
More fixes in DSP

10 years agodrdynvc: fix an incorrect length indicator.
Vic Lee [Tue, 29 Apr 2014 06:21:37 +0000 (14:21 +0800)]
drdynvc: fix an incorrect length indicator.

10 years agoaudin: remove unused variable.
Vic Lee [Tue, 29 Apr 2014 06:20:58 +0000 (14:20 +0800)]
audin: remove unused variable.

10 years agoFixes in the server-side sound channel
Hardening [Mon, 28 Apr 2014 22:59:41 +0000 (00:59 +0200)]
Fixes in the server-side sound channel

This patch:
* treats OOM situations
* adds checks when reading audio channel messages

10 years agoMerge pull request #1821 from bmiklautz/fix/fdsapi_load
Marc-André Moreau [Mon, 28 Apr 2014 16:40:44 +0000 (12:40 -0400)]
Merge pull request #1821 from bmiklautz/fix/fdsapi_load

wtsapi: library loading consolidation and fallback

10 years agowtsapi: add fallback to load freerds lib
Bernhard Miklautz [Mon, 28 Apr 2014 14:54:58 +0000 (16:54 +0200)]
wtsapi: add fallback to load freerds lib

Try to load libfreerds-fdsapi.so directly if the freerds ini file
isn't found. This adds a fallback that uses the systems library
loading mechanisms (e.g LD_LIBRARY_PATH).
Might also be required for older version of FreeRDS.

10 years agowtsapi: replaced printf with fprintf
Bernhard Miklautz [Mon, 28 Apr 2014 14:48:24 +0000 (16:48 +0200)]
wtsapi: replaced printf with fprintf

10 years agowtsapi: consolidate lib initialization and load
Bernhard Miklautz [Mon, 28 Apr 2014 14:46:07 +0000 (16:46 +0200)]
wtsapi: consolidate lib initialization and load

Move duplicated code to LoadAndInitialize.

10 years agoMerge pull request #1820 from awakecoding/master
Marc-André Moreau [Mon, 28 Apr 2014 02:45:52 +0000 (22:45 -0400)]
Merge pull request #1820 from awakecoding/master

SmartCard Fixes, Ini File Parser, Message-Only Windows, WTSAPI Improvements

10 years agowinpr: fix type redefinition
Marc-André Moreau [Mon, 28 Apr 2014 02:35:04 +0000 (22:35 -0400)]
winpr: fix type redefinition

10 years agolibwinpr-smartcard: fix failing unit test
Marc-André Moreau [Mon, 28 Apr 2014 02:23:42 +0000 (22:23 -0400)]
libwinpr-smartcard: fix failing unit test

10 years agowinpr: check for __LP64__ for DWORD and LONG definitions
Marc-André Moreau [Mon, 28 Apr 2014 02:05:31 +0000 (22:05 -0400)]
winpr: check for __LP64__ for DWORD and LONG definitions

10 years agolibwinpr-wtsapi: fix failing tests
Marc-André Moreau [Mon, 28 Apr 2014 01:54:21 +0000 (21:54 -0400)]
libwinpr-wtsapi: fix failing tests

10 years agoMerge pull request #1819 from hardening/orders_micro_fix
Marc-André Moreau [Mon, 28 Apr 2014 01:51:13 +0000 (21:51 -0400)]
Merge pull request #1819 from hardening/orders_micro_fix

Fix typo in update_write_4byte_unsigned()

10 years agoMerge pull request #1817 from zhangzl2013/win-auto-reconnect
Marc-André Moreau [Mon, 28 Apr 2014 01:46:16 +0000 (21:46 -0400)]
Merge pull request #1817 from zhangzl2013/win-auto-reconnect

Win auto reconnect

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Mon, 28 Apr 2014 01:46:06 +0000 (21:46 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

10 years agowinpr: fix missing link dependencies
Marc-André Moreau [Mon, 28 Apr 2014 01:45:50 +0000 (21:45 -0400)]
winpr: fix missing link dependencies

10 years agoclient/common: honor RedirectSmartCards, RedirectPrinters
Marc-André Moreau [Mon, 28 Apr 2014 01:29:44 +0000 (21:29 -0400)]
client/common: honor RedirectSmartCards, RedirectPrinters

10 years agolibwinpr-smartcard: return SCARD_NO_SERVICE when no internal callback is registered
Marc-André Moreau [Mon, 28 Apr 2014 00:11:31 +0000 (20:11 -0400)]
libwinpr-smartcard: return SCARD_NO_SERVICE when no internal callback is registered

10 years agoMerge branch 'smartcard' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Sun, 27 Apr 2014 23:21:35 +0000 (19:21 -0400)]
Merge branch 'smartcard' of github.com:awakecoding/FreeRDP

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi
Marc-André Moreau [Sun, 27 Apr 2014 23:18:23 +0000 (19:18 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi

10 years agolibwinpr-smartcard: update PCSC-WinPR instructions (WIP)
Marc-André Moreau [Sun, 27 Apr 2014 21:38:45 +0000 (17:38 -0400)]
libwinpr-smartcard: update PCSC-WinPR instructions (WIP)

10 years agoFix typo in update_write_4byte_unsigned()
Hardening [Sun, 27 Apr 2014 21:21:30 +0000 (23:21 +0200)]
Fix typo in update_write_4byte_unsigned()

10 years agolibwinpr-smartcard: fix workaround for lack of PnP Notification support on OS X
Marc-André Moreau [Sun, 27 Apr 2014 20:43:09 +0000 (16:43 -0400)]
libwinpr-smartcard: fix workaround for lack of PnP Notification support on OS X

10 years agochannels/smartcard: harden unpacking code, don't modify GetStatusChange parameters
Marc-André Moreau [Sun, 27 Apr 2014 19:45:36 +0000 (15:45 -0400)]
channels/smartcard: harden unpacking code, don't modify GetStatusChange parameters

10 years agowfreerdp: port auto reconnection to Windows.
Zhang Zhaolong [Sun, 27 Apr 2014 12:52:45 +0000 (20:52 +0800)]
wfreerdp: port auto reconnection to Windows.

10 years agolibfreerdp-core: fix assignment after memory free.
Zhang Zhaolong [Sun, 27 Apr 2014 12:32:52 +0000 (20:32 +0800)]
libfreerdp-core: fix assignment after memory free.

10 years agoMerge pull request #1816 from awakecoding/master
Marc-André Moreau [Sat, 26 Apr 2014 19:41:23 +0000 (15:41 -0400)]
Merge pull request #1816 from awakecoding/master

Compression, SmartCard and CMake Fixes

10 years agocmake: only use __FILE__ relative path hack in release flags
Marc-André Moreau [Sat, 26 Apr 2014 18:14:19 +0000 (14:14 -0400)]
cmake: only use __FILE__ relative path hack in release flags

10 years agolibfreerdp-core: fix compression level
Marc-André Moreau [Sat, 26 Apr 2014 17:53:28 +0000 (13:53 -0400)]
libfreerdp-core: fix compression level

10 years agoMerge pull request #1814 from zhangzl2013/memory
Marc-André Moreau [Sat, 26 Apr 2014 17:50:38 +0000 (13:50 -0400)]
Merge pull request #1814 from zhangzl2013/memory

Fix potential memory leak.

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sat, 26 Apr 2014 17:47:01 +0000 (13:47 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

10 years agochannels/urbdrc: fix cmake scripts
Marc-André Moreau [Sat, 26 Apr 2014 17:44:58 +0000 (13:44 -0400)]
channels/urbdrc: fix cmake scripts

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Sat, 26 Apr 2014 16:31:32 +0000 (12:31 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP

10 years agolibfreerdp-utils: purge deprecated list utils
Marc-André Moreau [Sat, 26 Apr 2014 16:31:24 +0000 (12:31 -0400)]
libfreerdp-utils: purge deprecated list utils

10 years agocore: fix memory leak in case of error out.
Zhang Zhaolong [Sat, 26 Apr 2014 05:44:28 +0000 (13:44 +0800)]
core: fix memory leak in case of error out.

10 years agoserial: fix memory leak in case of error out.
Zhang Zhaolong [Sat, 26 Apr 2014 05:43:52 +0000 (13:43 +0800)]
serial: fix memory leak in case of error out.

10 years agolibwinpr: minor fix print uninitialized variable.
Zhang Zhaolong [Sat, 26 Apr 2014 05:13:12 +0000 (13:13 +0800)]
libwinpr: minor fix print uninitialized variable.

10 years agoserial: fix memory leak in case of error out.
Zhang Zhaolong [Sat, 26 Apr 2014 04:24:56 +0000 (12:24 +0800)]
serial: fix memory leak in case of error out.

10 years agoclient-common: fix memory leak in case of error out.
Zhang Zhaolong [Sat, 26 Apr 2014 04:19:28 +0000 (12:19 +0800)]
client-common: fix memory leak in case of error out.

10 years agocodec: fix memory leak in case of realloc() failed.
Zhang Zhaolong [Sat, 26 Apr 2014 04:16:34 +0000 (12:16 +0800)]
codec: fix memory leak in case of realloc() failed.

10 years agocore: fix memory leak in case of error out.
Zhang Zhaolong [Sat, 26 Apr 2014 04:08:30 +0000 (12:08 +0800)]
core: fix memory leak in case of error out.

10 years agocore: fix memory leak in case of error out.
Zhang Zhaolong [Sat, 26 Apr 2014 04:05:52 +0000 (12:05 +0800)]
core: fix memory leak in case of error out.

10 years agocore: fix memory leak in case of error out.
Zhang Zhaolong [Sat, 26 Apr 2014 04:00:07 +0000 (12:00 +0800)]
core: fix memory leak in case of error out.

10 years agolibwinpr: fix memory leak in case of error.
Zhang Zhaolong [Sat, 26 Apr 2014 03:53:08 +0000 (11:53 +0800)]
libwinpr: fix memory leak in case of error.

10 years agolibwinpr: fix memory leak in case TimerQueue is NULL.
Zhang Zhaolong [Sat, 26 Apr 2014 03:36:35 +0000 (11:36 +0800)]
libwinpr: fix memory leak in case TimerQueue is NULL.

10 years agolibwinpr: fix memory leak in case realloc() failed.
Zhang Zhaolong [Sat, 26 Apr 2014 03:32:51 +0000 (11:32 +0800)]
libwinpr: fix memory leak in case realloc() failed.

10 years agolibwinpr-smartcard: improve pcsc-lite wrapper robustness
Marc-André Moreau [Sat, 26 Apr 2014 02:26:55 +0000 (19:26 -0700)]
libwinpr-smartcard: improve pcsc-lite wrapper robustness

10 years agoMerge branch 'smartcard' of github.com:awakecoding/FreeRDP into smartcard
awake [Sat, 26 Apr 2014 01:45:40 +0000 (18:45 -0700)]
Merge branch 'smartcard' of github.com:awakecoding/FreeRDP into smartcard

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
awake [Sat, 26 Apr 2014 01:35:20 +0000 (18:35 -0700)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard

10 years agolibwinpr-smartcard: fix for pcsc-lite SCardGetStatusChange
Marc-André Moreau [Sat, 26 Apr 2014 00:07:29 +0000 (20:07 -0400)]
libwinpr-smartcard: fix for pcsc-lite SCardGetStatusChange

10 years agolibwinpr-smartcard: fix usage of native data types
Marc-André Moreau [Fri, 25 Apr 2014 22:49:57 +0000 (18:49 -0400)]
libwinpr-smartcard: fix usage of native data types

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
Marc-André Moreau [Fri, 25 Apr 2014 22:22:57 +0000 (18:22 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard

10 years agolibwinpr-crt: add type sizeof tests
Marc-André Moreau [Fri, 25 Apr 2014 22:10:04 +0000 (18:10 -0400)]
libwinpr-crt: add type sizeof tests

10 years agowinpr: fix error malloc size.
Zhang Zhaolong [Fri, 25 Apr 2014 13:14:10 +0000 (21:14 +0800)]
winpr: fix error malloc size.

10 years agolibfreerdp-core: cleanup GatewayUsageMethod setting
Marc-André Moreau [Thu, 24 Apr 2014 21:05:10 +0000 (17:05 -0400)]
libfreerdp-core: cleanup GatewayUsageMethod setting

10 years agorpc_client_stop() : Avoid waiting infinitely for rpc client thread if connection...
Benoit LeBlanc [Thu, 24 Apr 2014 18:07:11 +0000 (14:07 -0400)]
rpc_client_stop() : Avoid waiting infinitely for rpc client thread if connection failure occurs while in  "synchronous receive" mode.

10 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
Marc-André Moreau [Thu, 24 Apr 2014 01:31:26 +0000 (21:31 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard

10 years agoMerge pull request #1806 from bmiklautz/feat/export_modules
Marc-André Moreau [Wed, 23 Apr 2014 23:37:53 +0000 (19:37 -0400)]
Merge pull request #1806 from bmiklautz/feat/export_modules

Improve pkg-config file generation

10 years agoMerge pull request #1807 from hardening/pool_leak
Marc-André Moreau [Wed, 23 Apr 2014 23:22:15 +0000 (19:22 -0400)]
Merge pull request #1807 from hardening/pool_leak

Fix Thread handle leak

10 years agoFix Thread handle leak
Hardening [Wed, 23 Apr 2014 14:59:14 +0000 (16:59 +0200)]
Fix Thread handle leak

When a thread pool is release the Thread handle is leaked.

10 years agoxfreerdp: add proper OpenSSL include directory
Marc-André Moreau [Wed, 23 Apr 2014 13:51:22 +0000 (09:51 -0400)]
xfreerdp: add proper OpenSSL include directory

10 years agoupdate and improve pkg-config files
Bernhard Miklautz [Wed, 23 Apr 2014 11:12:23 +0000 (13:12 +0200)]
update and improve pkg-config files

* generate pkg-config files top level to make sure all
  exports are available (eg. client/server)
* .pc libs section is now generated from export libraries
* update .pc file to use .private fields (prevent overlinking)

10 years agocmake: mark required libraries for export
Bernhard Miklautz [Wed, 23 Apr 2014 08:16:02 +0000 (10:16 +0200)]
cmake: mark required libraries for export

10 years agoexport_complex_library add support for long names
Bernhard Miklautz [Wed, 23 Apr 2014 08:14:48 +0000 (10:14 +0200)]
export_complex_library add support for long names

If no MODULE is given the first part of LIBNAME is used as module.
The expected format is still MODULE-LIBNAME but now LIBNAME can also
contain -.

10 years agochannels/rail: add missing definitions
Marc-André Moreau [Tue, 22 Apr 2014 21:21:14 +0000 (17:21 -0400)]
channels/rail: add missing definitions

10 years agoaudin/client/alsa: fix installation path
Bernhard Miklautz [Tue, 22 Apr 2014 16:30:09 +0000 (18:30 +0200)]
audin/client/alsa: fix installation path

The module was installed into the libdir instead of addin path.

10 years agocmake: remove debug message
Bernhard Miklautz [Tue, 22 Apr 2014 15:22:43 +0000 (17:22 +0200)]
cmake: remove debug message

10 years agocmake: add_complex_library add EXPORT parameter
Bernhard Miklautz [Tue, 22 Apr 2014 15:05:42 +0000 (17:05 +0200)]
cmake: add_complex_library add EXPORT parameter

EXPORT is an optional parameter. If set the module is also
marked for export.

10 years agocmake: add export_complex_library function
Bernhard Miklautz [Tue, 22 Apr 2014 14:55:09 +0000 (16:55 +0200)]
cmake: add export_complex_library function

parameters LIBNAME and MODULE (module)

* adds LIBNAME to a global property ${${MODULE}_EXPORTS}
* if MODULE isn't given LIBNAME is expected to be in the format
  "module-libname"

10 years agoaudin/server: fix server audio input channel.
Vic Lee [Tue, 22 Apr 2014 11:02:23 +0000 (19:02 +0800)]
audin/server: fix server audio input channel.

10 years agochannels: fix link errors.
Vic Lee [Tue, 22 Apr 2014 07:06:49 +0000 (15:06 +0800)]
channels: fix link errors.

10 years agoRevert "channels: fix link errors."
Vic Lee [Tue, 22 Apr 2014 07:05:53 +0000 (15:05 +0800)]
Revert "channels: fix link errors."

This reverts commit 2fc7f9c48553c415f49b65de221f00e8d6d2f095.

10 years agoMerge pull request #1633 from MicahChase/master
Martin Fleisz [Tue, 22 Apr 2014 06:36:25 +0000 (08:36 +0200)]
Merge pull request #1633 from MicahChase/master

Bluetooth Keyboard Fix

10 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Mon, 21 Apr 2014 20:28:01 +0000 (16:28 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP