platform/upstream/freerdp.git
9 years agoMerge pull request #2483 from akallabeth/feat/freerdp_set_last_error_name
Bernhard Miklautz [Thu, 26 Mar 2015 15:42:54 +0000 (16:42 +0100)]
Merge pull request #2483 from akallabeth/feat/freerdp_set_last_error_name

Feat/freerdp last error name

9 years agoMerge pull request #2498 from TaGUNil/tsmf_fix_memory_leak
Hardening [Thu, 26 Mar 2015 14:58:05 +0000 (15:58 +0100)]
Merge pull request #2498 from TaGUNil/tsmf_fix_memory_leak

Fix memory leak in TSMF video playback

9 years agotsmf: free frame data after processing
tagunil [Thu, 26 Mar 2015 10:38:09 +0000 (13:38 +0300)]
tsmf: free frame data after processing

9 years agoMerge pull request #2493 from llyzs/llyzs
Vic Lee [Thu, 26 Mar 2015 04:04:08 +0000 (12:04 +0800)]
Merge pull request #2493 from llyzs/llyzs

tls: revert checking SSL_ERROR_SYSCALL which may cause deadlock.

9 years agoMerge pull request #2494 from akallabeth/openh264_link_fix
Bernhard Miklautz [Wed, 25 Mar 2015 17:03:11 +0000 (18:03 +0100)]
Merge pull request #2494 from akallabeth/openh264_link_fix

Fixed OpenH264 linking

9 years agoAdded openh264_dll to library name hints.
Armin Novak [Wed, 25 Mar 2015 09:41:40 +0000 (10:41 +0100)]
Added openh264_dll to library name hints.

9 years agotls: revert checking SSL_ERROR_SYSCALL which may cause deadlock.
Vic Lee [Wed, 25 Mar 2015 08:06:32 +0000 (16:06 +0800)]
tls: revert checking SSL_ERROR_SYSCALL which may cause deadlock.

9 years agoMerge pull request #2482 from llyzs/llyzs
Martin Fleisz [Mon, 23 Mar 2015 15:06:12 +0000 (16:06 +0100)]
Merge pull request #2482 from llyzs/llyzs

tls: fix error handling of no error code.

9 years agoMerge pull request #2489 from akallabeth/security_fixes
Bernhard Miklautz [Mon, 23 Mar 2015 13:24:48 +0000 (14:24 +0100)]
Merge pull request #2489 from akallabeth/security_fixes

Security fixes

9 years agoFixed uninitialized test argument buffer.
Armin Novak [Mon, 23 Mar 2015 13:14:38 +0000 (14:14 +0100)]
Fixed uninitialized test argument buffer.

9 years agoFixed pipe cleanup.
Armin Novak [Mon, 23 Mar 2015 13:10:49 +0000 (14:10 +0100)]
Fixed pipe cleanup.

9 years agoMerge pull request #2443 from realjiangms/fix_region
Hardening [Fri, 20 Mar 2015 21:12:48 +0000 (22:12 +0100)]
Merge pull request #2443 from realjiangms/fix_region

Incorrect extents calculation in region16_intersect_rect (libfreerdp/codec/region.c)

9 years agoAdd ascii art for norbert_test_case
zihao.jiang [Fri, 20 Mar 2015 17:07:54 +0000 (01:07 +0800)]
Add ascii art for norbert_test_case

9 years agoresolve comments from hardening
zihao.jiang [Fri, 20 Mar 2015 16:04:30 +0000 (00:04 +0800)]
resolve comments from hardening

9 years agofix tab/space style
zihao.jiang [Fri, 20 Mar 2015 15:40:48 +0000 (23:40 +0800)]
fix tab/space style

9 years agoFixes extents of region16_intersect_rect.
zihao.jiang [Fri, 20 Mar 2015 12:55:06 +0000 (20:55 +0800)]
Fixes extents of region16_intersect_rect.
See Issue #2443.
When there's more than 2 rectangles in the region structure, region16_intersect_rect would calculate extents by all 'intersected' sub rectangles.
But it always extend the extents to (0,0) because it initialize the new extents as (0,0,0,0) and union later rectangles with this empty point by simple MIN/MAX calculation.

Also fixed rectangle_is_empty although it has not been used yet. The function does not work as its name.
Reuse norbert case. That case is enough for the intersect fix, but the expected result is not correct. The test case is also fixed.
Added test case to check empty rectangle.

9 years agotls: retry for all SSL_ERROR_SYSCALL errors.
Vic Lee [Thu, 19 Mar 2015 04:48:04 +0000 (12:48 +0800)]
tls: retry for all SSL_ERROR_SYSCALL errors.

9 years agoMerge pull request #2484 from dvincent-devolutions/gateway
Marc-André Moreau [Thu, 19 Mar 2015 16:21:56 +0000 (12:21 -0400)]
Merge pull request #2484 from dvincent-devolutions/gateway

RDP8 Gateway support

9 years agolibfreerdp-core: fix rdg.c header include
Marc-André Moreau [Thu, 19 Mar 2015 16:13:37 +0000 (12:13 -0400)]
libfreerdp-core: fix rdg.c header include

9 years agolibfreerdp-core: fix rdg.h header include
Marc-André Moreau [Thu, 19 Mar 2015 16:08:30 +0000 (12:08 -0400)]
libfreerdp-core: fix rdg.h header include

9 years agolibfreerdp-core: add configurable TSG/RGB fallback, fix edge cases
Marc-André Moreau [Thu, 19 Mar 2015 15:44:47 +0000 (11:44 -0400)]
libfreerdp-core: add configurable TSG/RGB fallback, fix edge cases

9 years agoMerge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP into gateway
Marc-André Moreau [Thu, 19 Mar 2015 13:41:50 +0000 (09:41 -0400)]
Merge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP into gateway

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP into gateway
Marc-André Moreau [Thu, 19 Mar 2015 13:38:16 +0000 (09:38 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway

9 years agoMerge pull request #2475 from hardening/winpr_moreops
Marc-André Moreau [Thu, 19 Mar 2015 13:35:57 +0000 (09:35 -0400)]
Merge pull request #2475 from hardening/winpr_moreops

Implement ReadFile() and WriteFile() as handle operation

9 years agoMerge pull request #2478 from akallabeth/win_sw_gdi_fix
Marc-André Moreau [Thu, 19 Mar 2015 13:35:31 +0000 (09:35 -0400)]
Merge pull request #2478 from akallabeth/win_sw_gdi_fix

Fixed resize for software GDI.

9 years agolibfreerdp-core: minor code corrections
Denis Vincent [Thu, 19 Mar 2015 13:17:56 +0000 (09:17 -0400)]
libfreerdp-core: minor code corrections

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 agolibfreerdp-core: added fallback to RPC.
Denis Vincent [Wed, 18 Mar 2015 20:13:32 +0000 (16:13 -0400)]
libfreerdp-core: added fallback to RPC.

9 years agolibfreerdp-core: fix RDG http receive
Marc-André Moreau [Wed, 18 Mar 2015 13:48:21 +0000 (09:48 -0400)]
libfreerdp-core: fix RDG http receive

9 years agolibfreerdp-core: fix RDG valgrind issues
Marc-André Moreau [Tue, 17 Mar 2015 20:54:45 +0000 (16:54 -0400)]
libfreerdp-core: fix RDG valgrind issues

9 years agolibfreerdp-core: fix some RDG valgrind issues
Marc-André Moreau [Tue, 17 Mar 2015 20:09:17 +0000 (16:09 -0400)]
libfreerdp-core: fix some RDG valgrind issues

9 years agolibfreerdp-core: fix rdg event handles
Marc-André Moreau [Tue, 17 Mar 2015 19:13:11 +0000 (15:13 -0400)]
libfreerdp-core: fix rdg event handles

9 years agoMerge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP into gateway
Marc-André Moreau [Tue, 17 Mar 2015 18:54:04 +0000 (14:54 -0400)]
Merge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP into gateway

9 years agolibfreerdp-core: Initial RDG support.
Denis Vincent [Tue, 17 Mar 2015 18:54:16 +0000 (14:54 -0400)]
libfreerdp-core: Initial RDG support.

9 years agoFixed resize for software GDI.
Armin Novak [Tue, 17 Mar 2015 12:02:41 +0000 (13:02 +0100)]
Fixed resize for software GDI.

9 years agoImplement ReadFile() and WriteFile() as handle operation
David FORT [Mon, 16 Mar 2015 20:29:19 +0000 (21:29 +0100)]
Implement ReadFile() and WriteFile() as handle operation

9 years agolibfreerdp-codec: add support for 16 color palette image copy
Marc-André Moreau [Mon, 16 Mar 2015 18:01:43 +0000 (14:01 -0400)]
libfreerdp-codec: add support for 16 color palette image copy

9 years agolibfreerdp-codec: add support for 1bpp image copy
Marc-André Moreau [Mon, 16 Mar 2015 17:27:27 +0000 (13:27 -0400)]
libfreerdp-codec: add support for 1bpp image copy

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