platform/upstream/freerdp.git
9 years agoRemoved unused define.
Armin Novak [Thu, 19 Mar 2015 13:17:48 +0000 (14:17 +0100)]
Removed unused define.

9 years agofixed log message arguments.
Armin Novak [Thu, 19 Mar 2015 10:11:43 +0000 (11:11 +0100)]
fixed log message arguments.

9 years agoAdded error name and string functions.
Armin Novak [Thu, 19 Mar 2015 10:05:16 +0000 (11:05 +0100)]
Added error name and string functions.

Added new functions allowing to get a string representation of an error code
and a description of the error for connect and base error classes.

9 years agoMerge pull request #2474 from awakecoding/master
Marc-André Moreau [Mon, 16 Mar 2015 13:37:00 +0000 (09:37 -0400)]
Merge pull request #2474 from awakecoding/master

Test Fixes, BipBuffer, TSG Cleanup, SCardTransmit Fix

9 years agofreerdp: fix failing tests
Marc-André Moreau [Mon, 16 Mar 2015 13:26:38 +0000 (09:26 -0400)]
freerdp: fix failing tests

9 years agolibfreerdp-gdi: disable broken BitBlt tests
Marc-André Moreau [Mon, 16 Mar 2015 12:55:06 +0000 (08:55 -0400)]
libfreerdp-gdi: disable broken BitBlt tests

9 years agoMerge pull request #2473 from akallabeth/force_cmdline_flags
Marc-André Moreau [Mon, 16 Mar 2015 12:02:23 +0000 (08:02 -0400)]
Merge pull request #2473 from akallabeth/force_cmdline_flags

Force cmdline to ignore unknown keywords

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Mon, 16 Mar 2015 12:01:54 +0000 (08:01 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge pull request #2469 from dupondje/master
Marc-André Moreau [Mon, 16 Mar 2015 11:51:46 +0000 (07:51 -0400)]
Merge pull request #2469 from dupondje/master

libfreerdp-core: Initialize values correctly

9 years agoMerge pull request #2472 from hardening/winpr_ops_rebased
Marc-André Moreau [Mon, 16 Mar 2015 11:48:06 +0000 (07:48 -0400)]
Merge pull request #2472 from hardening/winpr_ops_rebased

Winpr ops rebased

9 years agoFixed the test for named pipe creation
David FORT [Mon, 16 Mar 2015 10:19:45 +0000 (11:19 +0100)]
Fixed the test for named pipe creation

All credits goes to @akallabeth.

9 years agoChanges for upstream changes on pipe
David FORT [Mon, 16 Mar 2015 09:40:38 +0000 (10:40 +0100)]
Changes for upstream changes on pipe

9 years agoMake handle operations static
David FORT [Sun, 15 Mar 2015 23:29:37 +0000 (00:29 +0100)]
Make handle operations static

This patch moves the handle operations in a static struct.

9 years agoAdded ignore unkown keyword flag to detection.
Armin Novak [Mon, 16 Mar 2015 09:25:31 +0000 (10:25 +0100)]
Added ignore unkown keyword flag to detection.

9 years agoAdded flag to ignore unknown keywords
Armin Novak [Mon, 16 Mar 2015 09:15:37 +0000 (10:15 +0100)]
Added flag to ignore unknown keywords

freerdp_client_settings_parse_command_line now allows ignoring
unknown keywords.

9 years agolibfreerdp-core: Initialize values correctly
Jean-Louis Dupond [Sun, 15 Mar 2015 13:09:16 +0000 (14:09 +0100)]
libfreerdp-core: Initialize values correctly

9 years agoMerge pull request #2468 from dupondje/master
Bernhard Miklautz [Sun, 15 Mar 2015 11:30:49 +0000 (12:30 +0100)]
Merge pull request #2468 from dupondje/master

fix size error introduced in commit 99b14815a53e556080f459a4998d94244803...

9 years agofix size error introduced in commit 99b14815a53e556080f459a4998d942448031f08
Jean-Louis Dupond [Sun, 15 Mar 2015 10:50:10 +0000 (11:50 +0100)]
fix size error introduced in commit 99b14815a53e556080f459a4998d942448031f08

9 years agoMerge pull request #2467 from akallabeth/named_pipe_fix
Marc-André Moreau [Sat, 14 Mar 2015 20:21:06 +0000 (16:21 -0400)]
Merge pull request #2467 from akallabeth/named_pipe_fix

Named pipe fix

9 years agolibwinpr-utils: improve BipBuffer
Marc-André Moreau [Sat, 14 Mar 2015 00:22:21 +0000 (20:22 -0400)]
libwinpr-utils: improve BipBuffer

9 years agoProper default values for fds.
Armin Novak [Fri, 13 Mar 2015 23:49:49 +0000 (00:49 +0100)]
Proper default values for fds.

9 years agoFixed missing callbacks for named pipes.
Armin Novak [Fri, 13 Mar 2015 23:34:44 +0000 (00:34 +0100)]
Fixed missing callbacks for named pipes.

9 years agolibwinpr-utils: update BipBuffer
Marc-André Moreau [Fri, 13 Mar 2015 22:37:48 +0000 (18:37 -0400)]
libwinpr-utils: update BipBuffer

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Fri, 13 Mar 2015 19:30:31 +0000 (15:30 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge pull request #2461 from ivan-83/master
Marc-André Moreau [Fri, 13 Mar 2015 19:19:35 +0000 (15:19 -0400)]
Merge pull request #2461 from ivan-83/master

audin OSS support, dyn channels fix, dev arg broken fix, add debug verbosity, build warning fix

9 years agoMerge pull request #2462 from zhangzl2013/fix
Marc-André Moreau [Fri, 13 Mar 2015 18:46:08 +0000 (14:46 -0400)]
Merge pull request #2462 from zhangzl2013/fix

Fix

9 years agoMerge pull request #2466 from WarheadsSE/fix-cert-chain-validation-GH2446
Marc-André Moreau [Fri, 13 Mar 2015 18:44:55 +0000 (14:44 -0400)]
Merge pull request #2466 from WarheadsSE/fix-cert-chain-validation-GH2446

libfreerdp: crypto: add certificate chain validation!

9 years agochannels/smartcard: fix pioRecvPci with cbExtraBytes > 0
Marc-André Moreau [Fri, 13 Mar 2015 18:20:57 +0000 (14:20 -0400)]
channels/smartcard: fix pioRecvPci with cbExtraBytes > 0

9 years agolibfreerdp: crypto: add certificate chain validation!
Jason Plum [Fri, 13 Mar 2015 17:50:54 +0000 (13:50 -0400)]
libfreerdp: crypto: add certificate chain validation!

9 years agoMerge pull request #2463 from akallabeth/vs2010_error_fix
Hardening [Fri, 13 Mar 2015 13:29:23 +0000 (14:29 +0100)]
Merge pull request #2463 from akallabeth/vs2010_error_fix

Fixed mixed declaration of code and variables.

9 years agoFixed mixed declaration of code and variables.
Armin Novak [Fri, 13 Mar 2015 11:17:22 +0000 (12:17 +0100)]
Fixed mixed declaration of code and variables.

9 years agocore/gateway: fix memory leak of packet.
Zhang Zhaolong [Fri, 13 Mar 2015 03:26:22 +0000 (11:26 +0800)]
core/gateway: fix memory leak of packet.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agocore: fix double close on fp.
Zhang Zhaolong [Fri, 13 Mar 2015 03:21:12 +0000 (11:21 +0800)]
core: fix double close on fp.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agourbdrc: fix undefined behavior of sprintf.
Zhang Zhaolong [Fri, 13 Mar 2015 03:15:14 +0000 (11:15 +0800)]
urbdrc: fix undefined behavior of sprintf.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agolibwinpr: fix lost of mergeStrings.
Zhang Zhaolong [Fri, 13 Mar 2015 02:38:07 +0000 (10:38 +0800)]
libwinpr: fix lost of mergeStrings.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agowr_cliprdr: fix uninitialized variable
Zhang Zhaolong [Fri, 13 Mar 2015 02:32:21 +0000 (10:32 +0800)]
wr_cliprdr: fix uninitialized variable

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years ago* fix: /winpr/libwinpr/synch/timer.c:79:11: warning: implicit declaration of function...
ivan-83 [Thu, 12 Mar 2015 22:51:59 +0000 (01:51 +0300)]
* fix: /winpr/libwinpr/synch/timer.c:79:11: warning: implicit declaration of function 'read' is invalid in C99

9 years ago* audin OSS files
ivan-83 [Thu, 12 Mar 2015 22:41:44 +0000 (01:41 +0300)]
* audin OSS files

9 years agoMerge branch 'master' of github.com:ivan-83/FreeRDP
ivan-83 [Thu, 12 Mar 2015 22:39:41 +0000 (01:39 +0300)]
Merge branch 'master' of github.com:ivan-83/FreeRDP

9 years ago+ audin OSS support (un tested now)
ivan-83 [Thu, 12 Mar 2015 22:28:44 +0000 (01:28 +0300)]
+ audin OSS support (un tested now)
+ add: COMMAND_LINE_IGN_UNKNOWN_KEYWORD flag for CommandLineParseArgumentsA to ignory unknown keys without fail
+ add: lot of WLog_DBG() in drdynvc, add function names in existing
* change: error text in rdpsnd OSS
* fix: dev in rdpsnd does not work
* fix/change: audio-dev renamed to dev and now work in audin
* fix dynamic channels now work again

9 years agoMerge pull request #1 from FreeRDP/master
Ivan_83 [Thu, 12 Mar 2015 22:24:28 +0000 (01:24 +0300)]
Merge pull request #1 from FreeRDP/master

test

9 years agolibwinpr-utils: initial BipBuffer implementation
Marc-André Moreau [Thu, 12 Mar 2015 20:34:48 +0000 (16:34 -0400)]
libwinpr-utils: initial BipBuffer implementation

9 years agoMerge pull request #2447 from ivan-83/master
Marc-André Moreau [Thu, 12 Mar 2015 14:09:02 +0000 (10:09 -0400)]
Merge pull request #2447 from ivan-83/master

Fix poor sound quality with ALSA, add OSS sound system support, FreeBSD patches

9 years agoMerge pull request #2459 from akallabeth/handle_close_cb
Marc-André Moreau [Thu, 12 Mar 2015 11:35:39 +0000 (07:35 -0400)]
Merge pull request #2459 from akallabeth/handle_close_cb

Refactored WaitForSingleObject and CloseHandle

9 years agoMerge pull request #2456 from zhangzl2013/fix-realloc
Marc-André Moreau [Thu, 12 Mar 2015 11:33:27 +0000 (07:33 -0400)]
Merge pull request #2456 from zhangzl2013/fix-realloc

Fix incorrect usage of realloc

9 years agoMerge pull request #2452 from bmiklautz/cmd_fix
Marc-André Moreau [Thu, 12 Mar 2015 11:31:11 +0000 (07:31 -0400)]
Merge pull request #2452 from bmiklautz/cmd_fix

settings: handle collection_add in detection case

9 years agoMerge pull request #2448 from eledoux/ports2
Marc-André Moreau [Thu, 12 Mar 2015 11:30:40 +0000 (07:30 -0400)]
Merge pull request #2448 from eledoux/ports2

Fixed a regression on the #2333 resolution

9 years agoMerge pull request #2426 from bjcollins/master
Marc-André Moreau [Thu, 12 Mar 2015 11:27:29 +0000 (07:27 -0400)]
Merge pull request #2426 from bjcollins/master

xfreerdp fullscreen enhancements

9 years agoMerge pull request #2430 from serayrosh/master
Marc-André Moreau [Thu, 12 Mar 2015 11:25:00 +0000 (07:25 -0400)]
Merge pull request #2430 from serayrosh/master

release keys when xfreerdp is unfocused to prevent stuck keys

9 years agoMerge pull request #2458 from bmiklautz/cert_handling
Marc-André Moreau [Thu, 12 Mar 2015 11:24:10 +0000 (07:24 -0400)]
Merge pull request #2458 from bmiklautz/cert_handling

crypto: use PEM as certificate store file format

9 years agoMerge pull request #2457 from akallabeth/pubsub_fix
Hardening [Wed, 11 Mar 2015 22:32:50 +0000 (23:32 +0100)]
Merge pull request #2457 from akallabeth/pubsub_fix

PubSub: Fixed missing loop exit condition.

9 years agoFixed missing return value check.
Armin Novak [Wed, 11 Mar 2015 17:14:50 +0000 (18:14 +0100)]
Fixed missing return value check.

9 years agoInitializing handles with calloc now.
Armin Novak [Wed, 11 Mar 2015 17:09:22 +0000 (18:09 +0100)]
Initializing handles with calloc now.

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing new handle cleanup structure
Armin Novak [Wed, 11 Mar 2015 16:57:01 +0000 (17:57 +0100)]
Using new handle cleanup structure

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:11:20 +0000 (15:11 +0100)]
Using handle close callback now.

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:11:17 +0000 (15:11 +0100)]
Using handle close callback now.

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:11:14 +0000 (15:11 +0100)]
Using handle close callback now.

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:11:11 +0000 (15:11 +0100)]
Using handle close callback now.

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:11:08 +0000 (15:11 +0100)]
Using handle close callback now.

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:11:03 +0000 (15:11 +0100)]
Using handle close callback now.

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:11:00 +0000 (15:11 +0100)]
Using handle close callback now.

9 years agoUsing handle close callback now.
Armin Novak [Wed, 11 Mar 2015 14:10:52 +0000 (15:10 +0100)]
Using handle close callback now.

9 years agoFixed PubSub_Unsubscribe.
Armin Novak [Wed, 11 Mar 2015 11:28:07 +0000 (12:28 +0100)]
Fixed PubSub_Unsubscribe.

9 years agocrypto: use PEM as certificate store file format
Bernhard Miklautz [Wed, 11 Mar 2015 11:06:52 +0000 (12:06 +0100)]
crypto: use PEM as certificate store file format

Currently the certificate format expected in FreeRDPs certificate store
is DER (ASN1). On most linux/unix systems the system certificate store
default format is PEM. Which is also the more common format used by CAs
to distribute their certificates.

Changing the default format to PEM allows the usage of system
certificates or published CA certificates without the need to convert them.

This fixes a part of issue #2446.

9 years agoFixed missing loop exit condition.
Armin Novak [Wed, 11 Mar 2015 10:33:17 +0000 (11:33 +0100)]
Fixed missing loop exit condition.

9 years agowf_cliprdr: fix potential memory leak.
Zhang Zhaolong [Wed, 11 Mar 2015 08:37:28 +0000 (16:37 +0800)]
wf_cliprdr: fix potential memory leak.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agolibwinpr: check return value of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 08:34:38 +0000 (16:34 +0800)]
libwinpr: check return value of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agofix build error.
Zhang Zhaolong [Wed, 11 Mar 2015 07:04:38 +0000 (15:04 +0800)]
fix build error.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agotool: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 07:00:05 +0000 (15:00 +0800)]
tool: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agolibwinpr: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 06:59:56 +0000 (14:59 +0800)]
libwinpr: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agocodec: check return value of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 06:18:45 +0000 (14:18 +0800)]
codec: check return value of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agokeyboard_layout: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 06:02:20 +0000 (14:02 +0800)]
keyboard_layout: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agogdi: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 05:55:41 +0000 (13:55 +0800)]
gdi: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agosettings: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 05:52:24 +0000 (13:52 +0800)]
settings: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agocore: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 05:40:20 +0000 (13:40 +0800)]
core: fix incorrect usage of realloc.

realloc can handle the case that its first parameter is NULL.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agocrypto: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 04:37:35 +0000 (12:37 +0800)]
crypto: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agoxf_cliprdr: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 04:31:50 +0000 (12:31 +0800)]
xf_cliprdr: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agoandroid_event: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 04:29:37 +0000 (12:29 +0800)]
android_event: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agocmdline: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 04:26:04 +0000 (12:26 +0800)]
cmdline: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agocommon/file: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 03:32:51 +0000 (11:32 +0800)]
common/file: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agowf_cliprdr: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 03:27:39 +0000 (11:27 +0800)]
wf_cliprdr: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agorail: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 03:17:52 +0000 (11:17 +0800)]
rail: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agoaudin: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 03:10:28 +0000 (11:10 +0800)]
audin: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years agotsmf: fix incorrect usage of realloc.
Zhang Zhaolong [Wed, 11 Mar 2015 03:04:36 +0000 (11:04 +0800)]
tsmf: fix incorrect usage of realloc.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
9 years ago* OSS build fix on linux
ivan-83 [Tue, 10 Mar 2015 23:17:45 +0000 (02:17 +0300)]
* OSS build fix on linux

9 years agoMerge pull request #2455 from WarheadsSE/fix-hostname-matching
Hardening [Tue, 10 Mar 2015 22:36:17 +0000 (23:36 +0100)]
Merge pull request #2455 from WarheadsSE/fix-hostname-matching

Fix case sensitive hostname comparison in tls

9 years agoFix case sensitive hostname comparison in tls
Jason Plum [Tue, 10 Mar 2015 20:48:35 +0000 (16:48 -0400)]
Fix case sensitive hostname comparison in tls

To do this I've swapped _strnicmp with memcmp. Seemless, but does lock it to the restrictions of that function.

Signed-off-by: Jason Plum <jplum@archlinuxarm.org>