platform/upstream/freerdp.git
10 years agolibwinpr-smartcard: fix SCardGetAttrib for friendly name (unicode)
Marc-André Moreau [Mon, 5 May 2014 21:27:29 +0000 (17:27 -0400)]
libwinpr-smartcard: fix SCardGetAttrib for friendly name (unicode)

10 years agolibwinpr-smartcard: start handling SCardControl control code conversions
Marc-André Moreau [Sat, 3 May 2014 23:02:17 +0000 (19:02 -0400)]
libwinpr-smartcard: start handling SCardControl control code conversions

10 years agolibwinpr-smartcard: improve SCardGetAttrib, fix null SCARDCONTEXT usage in SCardListR...
Marc-André Moreau [Sat, 3 May 2014 21:07:30 +0000 (17:07 -0400)]
libwinpr-smartcard: improve SCardGetAttrib, fix null SCARDCONTEXT usage in SCardListReaders

10 years agolibwinpr-smartcard: fix pcsc-lite SCARD_IO_REQUEST incompatibility
Marc-André Moreau [Sat, 3 May 2014 18:20:17 +0000 (14:20 -0400)]
libwinpr-smartcard: fix pcsc-lite SCARD_IO_REQUEST incompatibility

10 years agolibwinpr-smartcard: fix PCSC incompatible type definitions
Marc-André Moreau [Sat, 3 May 2014 17:49:50 +0000 (13:49 -0400)]
libwinpr-smartcard: fix PCSC incompatible type definitions

10 years agolibfreerdp-core: avoid reusing LoadBalanceInfo on reconnection
Marc-André Moreau [Wed, 30 Apr 2014 21:47:37 +0000 (17:47 -0400)]
libfreerdp-core: avoid reusing LoadBalanceInfo on reconnection

10 years agolibfreerdp-core: fix potential crash on session redirection failure
Marc-André Moreau [Mon, 28 Apr 2014 20:44:52 +0000 (16:44 -0400)]
libfreerdp-core: fix potential crash on session redirection failure

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

10 years agochannels/cliprdr: fix cliprdr_process_format_data_response callback usage
Marc-André Moreau [Mon, 21 Apr 2014 19:48:29 +0000 (15:48 -0400)]
channels/cliprdr: fix cliprdr_process_format_data_response callback usage

10 years agocmake: improve __FILE__ relative path hack
Marc-André Moreau [Mon, 21 Apr 2014 18:42:24 +0000 (14:42 -0400)]
cmake: improve __FILE__ relative path hack

10 years agoMerge pull request #1803 from hardening/www_authenticate_fix
Marc-André Moreau [Mon, 21 Apr 2014 16:15:35 +0000 (12:15 -0400)]
Merge pull request #1803 from hardening/www_authenticate_fix

Www authenticate fix

10 years agoaudin/server: fix a crash.
Vic Lee [Mon, 21 Apr 2014 10:13:12 +0000 (18:13 +0800)]
audin/server: fix a crash.

10 years agochannels: fix link errors.
Vic Lee [Mon, 21 Apr 2014 09:47:12 +0000 (17:47 +0800)]
channels: fix link errors.

10 years agoMerge pull request #1804 from hardening/bypassLocalFix
Marc-André Moreau [Mon, 21 Apr 2014 03:25:18 +0000 (23:25 -0400)]
Merge pull request #1804 from hardening/bypassLocalFix

Honor bypass local gateway setting

10 years agoMerge pull request #1801 from hardening/queue_stack_fixes
Marc-André Moreau [Mon, 21 Apr 2014 03:24:19 +0000 (23:24 -0400)]
Merge pull request #1801 from hardening/queue_stack_fixes

Fixes for queue and stack

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

10 years agolibfreerdp-codec: fix NCrush compressor
Marc-André Moreau [Mon, 21 Apr 2014 03:19:09 +0000 (23:19 -0400)]
libfreerdp-codec: fix NCrush compressor

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

Conflicts:
libfreerdp/core/bulk.c

10 years agolibfreerdp-codec: fix handling of PACKET_AT_FRONT, PACKET_FLUSHED in MPPC compression
Marc-André Moreau [Mon, 21 Apr 2014 01:28:09 +0000 (21:28 -0400)]
libfreerdp-codec: fix handling of PACKET_AT_FRONT, PACKET_FLUSHED in MPPC compression

10 years agoHonor bypass local gateway setting
Hardening [Sat, 19 Apr 2014 21:31:12 +0000 (23:31 +0200)]
Honor bypass local gateway setting

This patch make the bypass local gateway setting works

10 years agoFix multiple WWW-Authenticate headers
Hardening [Fri, 18 Apr 2014 21:08:34 +0000 (23:08 +0200)]
Fix multiple WWW-Authenticate headers

This patch fixes the case with the server trying to negociate the authentication
method and returning multiple WWW-Authenticate headers.

10 years agoAdd an helper function for the Key object
Hardening [Fri, 18 Apr 2014 21:07:43 +0000 (23:07 +0200)]
Add an helper function for the Key object

10 years agoEnhance ListDictonnary
Hardening [Fri, 18 Apr 2014 16:26:04 +0000 (18:26 +0200)]
Enhance ListDictonnary

This patch enhances ListDictionnary so that you can set callbacks for
keys and for values.

10 years agoFixes for queue and stack
Hardening [Fri, 18 Apr 2014 14:27:51 +0000 (16:27 +0200)]
Fixes for queue and stack

This patch does misc fixes in queue and stack:
* the *_new() were not handling OOM correctly ;
* the *_Contains() methods were not using the equals cb;
* the lock were not always taken when accessing internal members;

10 years agolibfreerdp-codec: fix MPPC packet flushing criteria
Marc-André Moreau [Fri, 18 Apr 2014 05:47:17 +0000 (01:47 -0400)]
libfreerdp-codec: fix MPPC packet flushing criteria

10 years agoMerge pull request #1798 from bmiklautz/fix/misc
Marc-André Moreau [Thu, 17 Apr 2014 20:29:45 +0000 (16:29 -0400)]
Merge pull request #1798 from bmiklautz/fix/misc

Cleanup and fix compiler warnings

10 years agocore/fastpath: fix compiler warning
Bernhard Miklautz [Thu, 17 Apr 2014 10:16:10 +0000 (12:16 +0200)]
core/fastpath: fix compiler warning

10 years agotransport: fix variable initialization
Bernhard Miklautz [Thu, 17 Apr 2014 10:04:26 +0000 (12:04 +0200)]
transport: fix variable initialization

Fixes possible problem when NLA is enabled and header verification fails.

10 years agowinpr-env: update Get/SetEnvironmentVariableA
Bernhard Miklautz [Thu, 17 Apr 2014 09:48:50 +0000 (11:48 +0200)]
winpr-env: update Get/SetEnvironmentVariableA

* set last error to ERROR_ENVVAR_NOT_FOUND in GetEnvironmentVariableA
  if not found
* remove unused variables in SetEnvironmentVariableA
* add more test cases

10 years agowinpr: change GetKnownSubPath to use a const path
Bernhard Miklautz [Wed, 16 Apr 2014 14:53:41 +0000 (16:53 +0200)]
winpr: change GetKnownSubPath to use a const path

10 years agosample server: fix printf format compiler warning
Bernhard Miklautz [Wed, 16 Apr 2014 08:22:53 +0000 (10:22 +0200)]
sample server: fix printf format compiler warning

10 years agosample client: fix ReceiveChannelData prototype
Bernhard Miklautz [Wed, 16 Apr 2014 08:20:47 +0000 (10:20 +0200)]
sample client: fix ReceiveChannelData prototype

10 years agoremove re-declaration of extended pipe functions
Bernhard Miklautz [Wed, 16 Apr 2014 08:13:19 +0000 (10:13 +0200)]
remove re-declaration of extended pipe functions

remove them from winpr/pipe.h since they are defined and declared
in winpr/file.h

10 years agowinpr/pipe: fix variable type - unsigned to signed
Bernhard Miklautz [Wed, 16 Apr 2014 08:05:53 +0000 (10:05 +0200)]
winpr/pipe: fix variable type - unsigned to signed

fcntl returns int. Comparison to 0 < always returned false.