Marc-André Moreau [Tue, 15 Sep 2015 17:03:11 +0000 (13:03 -0400)]
libfreerdp-core: alternative RDG BIO fix
Marc-André Moreau [Tue, 15 Sep 2015 14:37:57 +0000 (10:37 -0400)]
libfreerdp-core: fix code style
Denis Vincent [Tue, 15 Sep 2015 13:03:39 +0000 (09:03 -0400)]
libfreerdp-core: Gateway RDP8 BIO correction. Fixes connection losses.
Marc-André Moreau [Thu, 27 Aug 2015 14:20:18 +0000 (10:20 -0400)]
Merge pull request #2716 from realjiangms/shadow_xor_pointer
server/shadow: Fix alpha pointer message so that it allows pixel with both 'xor' and 'and'
Marc-André Moreau [Thu, 27 Aug 2015 14:19:25 +0000 (10:19 -0400)]
Merge pull request #2739 from realjiangms/shadow_resize
server/shadow: Enhancement regarding the screen and resolution - addresize support and fix subRect feature
Marc-André Moreau [Thu, 27 Aug 2015 14:15:29 +0000 (10:15 -0400)]
Merge pull request #2798 from psumbera/master
This array is so big that it eats whole stack for the thread and makes
Marc-André Moreau [Thu, 27 Aug 2015 14:11:50 +0000 (10:11 -0400)]
Merge pull request #2827 from HenryJacques/winpr_cleanup
Remove unused variable in RegQueryValueExA()
Marc-André Moreau [Thu, 27 Aug 2015 14:05:23 +0000 (10:05 -0400)]
Merge pull request #2838 from akallabeth/smartcard_no_readers
Added return value checks for smartcard functions.
Marc-André Moreau [Thu, 27 Aug 2015 14:04:48 +0000 (10:04 -0400)]
Merge pull request #2844 from akallabeth/getcomputername_fix
Getcomputername fix
Marc-André Moreau [Thu, 27 Aug 2015 14:00:47 +0000 (10:00 -0400)]
Merge pull request #2829 from akallabeth/mf_compile_option
media foundation support now a compile time option.
Marc-André Moreau [Thu, 27 Aug 2015 13:24:10 +0000 (09:24 -0400)]
Merge pull request #2785 from MartinHaimberger/mh-channel-fix
Channel hardening and fixing
Martin Haimberger [Thu, 27 Aug 2015 12:25:09 +0000 (05:25 -0700)]
Remove WIN32ERROR type
All return values are UINT now.
Hardening [Thu, 27 Aug 2015 09:42:45 +0000 (11:42 +0200)]
Merge pull request #2846 from llyzs/monitor
Read and write desktop and monitor data.
Martin Fleisz [Thu, 27 Aug 2015 09:28:37 +0000 (11:28 +0200)]
Merge pull request #2847 from akallabeth/base64_decode_ensure_null_termination
Ensure output of crypto_base64_decode is NULL terminated.
Vic Lee [Thu, 27 Aug 2015 08:18:22 +0000 (16:18 +0800)]
gcc: read and write desktop scale settings in core data.
Armin Novak [Thu, 27 Aug 2015 07:27:23 +0000 (09:27 +0200)]
Ensure output of crypto_base64_decode is NULL terminated.
Vic Lee [Thu, 27 Aug 2015 06:10:42 +0000 (14:10 +0800)]
gcc: read and write monitor extended data.
Armin Novak [Tue, 25 Aug 2015 15:44:03 +0000 (17:44 +0200)]
x509_get_default_name tries to get FQDN before hostname now.
Armin Novak [Tue, 25 Aug 2015 15:43:22 +0000 (17:43 +0200)]
Fixed GetComputerNameExA and GetComputerNameA.
Martin Haimberger [Tue, 25 Aug 2015 07:07:04 +0000 (00:07 -0700)]
Merge remote-tracking branch 'upstream/master' into mh-channel-fix
Conflicts:
channels/drdynvc/client/drdynvc_main.c
channels/rdpgfx/client/rdpgfx_main.c
client/X11/xf_gfx.c
Armin Novak [Wed, 19 Aug 2015 10:50:48 +0000 (12:50 +0200)]
Added return value checks.
Armin Novak [Tue, 11 Aug 2015 05:51:59 +0000 (07:51 +0200)]
media foundation support now a compile time option.
HenryJacques [Wed, 5 Aug 2015 16:38:50 +0000 (18:38 +0200)]
Remove unused variable
Marc-André Moreau [Tue, 4 Aug 2015 16:33:37 +0000 (12:33 -0400)]
Merge pull request #2823 from awakecoding/master
egfx channel open/close fix, H.264 Media Foundation decoder support
Marc-André Moreau [Tue, 4 Aug 2015 15:55:38 +0000 (11:55 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 4 Aug 2015 15:55:03 +0000 (11:55 -0400)]
libfreerdp-codec: fix Windows XP build for H.264 decoder
Marc-André Moreau [Tue, 4 Aug 2015 14:26:13 +0000 (10:26 -0400)]
libfreerdp-codec: fix leaks in H.264 Media Foundation decoder
Marc-André Moreau [Mon, 3 Aug 2015 20:21:48 +0000 (16:21 -0400)]
libfreerdp-codec: initial Media Foundation H.264 decoder support
Bernhard Miklautz [Mon, 3 Aug 2015 07:23:54 +0000 (09:23 +0200)]
Merge pull request #2811 from clivest/client_channel_interface_leak_fix
Fix race condition in freerdp_channels_client_load that could cause memory leak
Martin Fleisz [Fri, 31 Jul 2015 06:19:03 +0000 (08:19 +0200)]
Merge pull request #2817 from FreeRDP/mh-fix-collection-free
fixed misc *_free functions to accept NULL
Marc-André Moreau [Thu, 30 Jul 2015 18:07:35 +0000 (14:07 -0400)]
libfreerdp-codec: add more Media Foundation H.264 code
Martin Haimberger [Thu, 30 Jul 2015 14:50:10 +0000 (07:50 -0700)]
fixed wrong returntype under windows
Martin Haimberger [Thu, 30 Jul 2015 14:29:12 +0000 (07:29 -0700)]
Merge remote-tracking branch 'upstream/master' into mh-channel-fix
Conflicts:
channels/smartcard/client/smartcard_main.c
channels/smartcard/client/smartcard_operations.c
Martin Haimberger [Thu, 30 Jul 2015 14:02:36 +0000 (07:02 -0700)]
fixed misc *_free functions to accept NULL
Following types of collections support now
NULL in the free call:
* ArrayList
* BitStream
* ContdownEvent
* Dictionary
* KeyValuePair
* MessageQueue
Martin Haimberger [Thu, 30 Jul 2015 13:49:21 +0000 (06:49 -0700)]
misc fixes:
fixed all bugs from the review
checking all WaitFor*Object/s calls
Hardening [Thu, 30 Jul 2015 12:09:13 +0000 (14:09 +0200)]
Merge pull request #2815 from FreeRDP/mh-wait-SetLastError
winpr: WaitFor*Ojbect/s set lastError now
Martin Haimberger [Thu, 30 Jul 2015 09:52:11 +0000 (02:52 -0700)]
winpr: WaitFor*Ojbect/s set lastError now
MartinHaimberger [Thu, 30 Jul 2015 09:05:00 +0000 (11:05 +0200)]
Merge pull request #3 from bmiklautz/pull/2785
Misc fixes
Marc-André Moreau [Wed, 29 Jul 2015 20:33:04 +0000 (16:33 -0400)]
libfreerdp-codec: start H.264 MediaFoundation support
Bernhard Miklautz [Wed, 29 Jul 2015 15:32:09 +0000 (17:32 +0200)]
remdesk,encomps: misc fixes
* only free stream when an error occurs
* ignore unhanded messages instead of throwing an error
* fix memory leak in settings
Clive Stevens [Wed, 29 Jul 2015 13:08:31 +0000 (14:08 +0100)]
Fix race condition in freerdp_channels_client_load
If g_pInterface is set to NULL outside the critical section in one thread
while another thread is in the critical section, the channel client context
allocated in the VirtualChannelEntry won't end up getting freed.
The channel client context is normally loaded from g_pInterface in
FreeRDP_VirtualChannelInit and stored in the pChannelInitData, then copied
from there onto the pChannelOpenData structure in FreeRDP_VirtualChannelOpen
and finally freed in freerdp_channels_free.
Marc-André Moreau [Tue, 28 Jul 2015 20:01:34 +0000 (16:01 -0400)]
libfreerdp-codec: add x264 stubs
Bernhard Miklautz [Tue, 28 Jul 2015 15:23:16 +0000 (17:23 +0200)]
Update version to 1.4.5
Marc-André Moreau [Tue, 28 Jul 2015 13:21:33 +0000 (09:21 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 28 Jul 2015 12:51:03 +0000 (08:51 -0400)]
Merge pull request #2799 from kaliway/scardlistreaders-fix
Smartcard Reader Connection Handling
Marc-André Moreau [Tue, 28 Jul 2015 12:47:06 +0000 (08:47 -0400)]
Merge pull request #2801 from bmiklautz/fix/thread
winpr/thread: small cleanups
Marc-André Moreau [Tue, 28 Jul 2015 12:46:27 +0000 (08:46 -0400)]
Merge pull request #2804 from bmiklautz/fix/misc
Misc fixes
Marc-André Moreau [Tue, 28 Jul 2015 12:44:58 +0000 (08:44 -0400)]
Merge pull request #2793 from rkondratenko/pcsclite-transactions
Fix for transactions support for Smart Cards
Bernhard Miklautz [Tue, 28 Jul 2015 12:05:57 +0000 (14:05 +0200)]
rdpdr/printer: ignore unhanded packetID
Ignore packetIDs PRN_CACHE_DATA and PRN_USING_XPS instead of returning
an error.
Bernhard Miklautz [Mon, 27 Jul 2015 17:24:41 +0000 (19:24 +0200)]
rdpsnd: include win32error.h
If using rdpsnd externally (for example in other projects) WIN32ERROR
needs to be defined otherwise some compilers might create a warning or
error.
Bernhard Miklautz [Mon, 27 Jul 2015 09:24:21 +0000 (11:24 +0200)]
core/listner: fix possible problem in _free
Bernhard Miklautz [Fri, 24 Jul 2015 12:57:47 +0000 (14:57 +0200)]
winpr/thread: don't close invalid file descriptors
In case the file descriptor is -1 don't call close.
Bernhard Miklautz [Fri, 24 Jul 2015 12:52:31 +0000 (14:52 +0200)]
winrp/thread: don't call pthread_exit on return
As the pthread_exit man page states pthread_exit is called implicitly
when the start function returns.
Bernhard Miklautz [Fri, 24 Jul 2015 11:29:48 +0000 (13:29 +0200)]
winpr/event: remove critical section
The critical section isn't required and not used anymore since
commit
8a2220a3d9c5ad70b425a33772f14f3dbe956841.
Bernhard Miklautz [Thu, 23 Jul 2015 09:52:24 +0000 (11:52 +0200)]
winpr/thread: small cleanups
Also adds error checking of winpr_StartThread in winpr_StartThread.
Bernhard Miklautz [Thu, 23 Jul 2015 09:14:39 +0000 (11:14 +0200)]
Merge pull request #2789 from akallabeth/start_thread_fix
[Thread] Fixed mutex unlocking and return checks.
Petr Sumbera [Wed, 22 Jul 2015 15:51:09 +0000 (08:51 -0700)]
Removes unused (big big) array. Adds ifdef for debug stuff.
Kirill Kotyagin [Wed, 22 Jul 2015 14:25:17 +0000 (17:25 +0300)]
channels/smartcard: fix possible mszReaders leak in smartcard_ListReaders(A/W)_Call
Kirill Kotyagin [Wed, 22 Jul 2015 13:56:24 +0000 (16:56 +0300)]
channels/smartcard: make smartcard_ListReaders(A/W)_Call return PCSC error statuses to the server
Martin Haimberger [Wed, 22 Jul 2015 10:16:46 +0000 (03:16 -0700)]
fixed audioserver
if no data could be read, the ERROR_NO_DATA is returend to
indicate a further read.
Martin Haimberger [Wed, 22 Jul 2015 09:36:24 +0000 (02:36 -0700)]
fixed some remakes and compiler errors
Petr Sumbera [Tue, 21 Jul 2015 16:20:57 +0000 (09:20 -0700)]
This array is so big that it eats whole stack for the thread and makes
the process dump core on some systems (e.g. Solaris).
Bernhard Miklautz [Mon, 20 Jul 2015 15:23:23 +0000 (17:23 +0200)]
Merge pull request #2751 from realjiangms/shadow_fix_compile_error_win
server/shadow: Fix compile error on win32.
MartinHaimberger [Mon, 20 Jul 2015 13:10:55 +0000 (15:10 +0200)]
Merge pull request #2 from bmiklautz/pull/2785
rdpsnd: restore old behavior and fixes
Bernhard Miklautz [Mon, 20 Jul 2015 10:28:49 +0000 (12:28 +0200)]
rdpsnd: restore old behavior and fixes
* oss: fix function signature
* autodetection - if only /sound is given all enabled
plugins are tried in order and the first successful loaded is used.
- this restores the previous behavior
* alsa/pulse fix command line parsing - no parameters shouldn't be
treated as error
Rostislav Kondratenko [Fri, 17 Jul 2015 15:13:41 +0000 (18:13 +0300)]
Removing private context on hCard so that transaction will properly unlock when context is released.
Rostislav Kondratenko [Fri, 17 Jul 2015 15:13:02 +0000 (18:13 +0300)]
Fixing condition on SCardIsValidContext to be true when context is valid
Rostislav Kondratenko [Fri, 17 Jul 2015 13:37:44 +0000 (16:37 +0300)]
Re-enabled PCSC-Lite transactions and fixed smartcard deinitialization so it will release all contexts to unblock calls waiting for transactions
MartinHaimberger [Fri, 17 Jul 2015 10:30:20 +0000 (12:30 +0200)]
Merge pull request #2791 from bmiklautz/100percent
transport: fix regression introduced with PR #2770
Bernhard Miklautz [Fri, 17 Jul 2015 10:06:41 +0000 (12:06 +0200)]
transport: fix regression introduced with PR #2770
When the event is reset in transport_check_fds xfreerdp doesn't work and
consumes 100% CPU (see #2790). On windows this is require otherwise the
CPU consumption is 100% there.
This quick fix only resets the event on windows. It's a working approach
but definitely not the final solution.
Armin Novak [Thu, 16 Jul 2015 11:48:14 +0000 (13:48 +0200)]
Fixed mutex unlocking and return checks.
Vic Lee [Thu, 16 Jul 2015 13:57:46 +0000 (06:57 -0700)]
Merge pull request #2770 from akallabeth/bio_event_reset
Resetting frontBio after read now.
MartinHaimberger [Wed, 15 Jul 2015 12:12:13 +0000 (14:12 +0200)]
Merge pull request #2723 from akallabeth/pwd_from_stdin
New /from-stdin
MartinHaimberger [Wed, 15 Jul 2015 12:10:44 +0000 (14:10 +0200)]
Merge pull request #2786 from mfleisz/fix_makecert
winpr/tools: Fixed x509_get_default_name failing with long computer names
Martin Haimberger [Wed, 15 Jul 2015 10:17:38 +0000 (03:17 -0700)]
fixed compiler errors
Martin Fleisz [Wed, 15 Jul 2015 09:47:01 +0000 (11:47 +0200)]
winpr/tools: Fixed x509_get_default_name failing with long computer names
Martin Haimberger [Wed, 15 Jul 2015 08:57:07 +0000 (01:57 -0700)]
Merge remote-tracking branch 'upstream/master' into mh-channel
Conflicts:
channels/audin/client/oss/audin_oss.c
channels/drive/client/drive_main.c
channels/printer/client/printer_cups.c
channels/printer/client/printer_main.c
channels/rail/client/rail_main.c
channels/rdpgfx/client/rdpgfx_main.c
channels/rdpsnd/client/oss/rdpsnd_oss.c
channels/remdesk/client/remdesk_main.c
channels/remdesk/server/remdesk_main.c
channels/tsmf/client/tsmf_media.c
Martin Haimberger [Wed, 15 Jul 2015 07:50:35 +0000 (00:50 -0700)]
introduced channel error reporting system
The rdpContext gets an event which will
get set if an error occoured in a channel.
If a thread or a void callback has to report an
error it will get signaled by this system.
MartinHaimberger [Wed, 15 Jul 2015 07:47:43 +0000 (09:47 +0200)]
Merge pull request #2766 from akallabeth/snprintf_to_sprintf_s
Replaced snprintf with sprintf_s
Bernhard Miklautz [Tue, 14 Jul 2015 13:50:32 +0000 (15:50 +0200)]
Merge pull request #2782 from bmiklautz/order_does_matter
x11: reorder xf_post_disconnect
Bernhard Miklautz [Tue, 14 Jul 2015 13:28:55 +0000 (15:28 +0200)]
x11: reorder xf_post_disconnect
Channels like EGFX need resources like the main window in order to
work correctly. Before the window, GDI,.. is freed it needs to be
ensured that all channels are stopped properly to prevent them to access
already freed resources. Disconnecting the channels first fixed a
possible race condition/SEGFAULT that could occur with remote initiated
disconnects.
MartinHaimberger [Tue, 14 Jul 2015 11:02:41 +0000 (13:02 +0200)]
Merge pull request #2781 from bmiklautz/fdread
winpr/synch: remove the dependency on winsock.h
Bernhard Miklautz [Tue, 14 Jul 2015 10:21:24 +0000 (12:21 +0200)]
winpr/handle: define WINPR_FD_ on all platforms
Bernhard Miklautz [Tue, 14 Jul 2015 09:39:41 +0000 (11:39 +0200)]
winpr/synch: remove the dependency on winsock.h
winsock.h pulls in a lot of defines and dependencies that are not
required and partially unwanted in winpr's core (for parts that are not
related to network). In order to get rid of this dependency and have an
independent defines for extended winpr functions the WINPR_FD_* defines
are used internally (and for exposed functions). Where required, like in
WSAEventSelect, the FD_* is mapped to WINPR_FD_*.
Bernhard Miklautz [Mon, 13 Jul 2015 15:52:18 +0000 (17:52 +0200)]
Merge pull request #2778 from akallabeth/cert_store_compare_fix
Fixed comparison bug, cleanup and error handling.
Armin Novak [Mon, 13 Jul 2015 13:52:06 +0000 (15:52 +0200)]
Using lowercase hostname for comparison now.
fixed argument mixup.
Armin Novak [Mon, 13 Jul 2015 12:16:04 +0000 (14:16 +0200)]
Fixed comparison bug, cleanup and error handling.
Armin Novak [Thu, 9 Jul 2015 10:20:22 +0000 (12:20 +0200)]
Error checks for BIO_get_event
ResetEvent before reading data from transport BIO.
Martin Haimberger [Fri, 3 Jul 2015 11:09:03 +0000 (04:09 -0700)]
channel smartcard hardend
Marc-André Moreau [Wed, 8 Jul 2015 18:16:29 +0000 (14:16 -0400)]
channels/rdpgfx: fix TotalDecodedFrames counter
Marc-André Moreau [Wed, 8 Jul 2015 15:17:56 +0000 (11:17 -0400)]
channels/rdpgfx: reset state on channel close
Marc-André Moreau [Tue, 7 Jul 2015 17:36:36 +0000 (13:36 -0400)]
channels/drdynvc: use same status code as mstsc for DVC opening failure
Armin Novak [Tue, 7 Jul 2015 12:48:27 +0000 (14:48 +0200)]
Resetting frontBio after read now.
Marc-André Moreau [Mon, 6 Jul 2015 20:28:52 +0000 (16:28 -0400)]
channels/rdpgfx: improve frame ack handling
MartinHaimberger [Mon, 6 Jul 2015 14:52:19 +0000 (16:52 +0200)]
Merge pull request #1 from hardening/mhchannel
Mhchannel
David FORT [Mon, 6 Jul 2015 14:46:21 +0000 (16:46 +0200)]
Hardened urbdrc channel
David FORT [Fri, 3 Jul 2015 22:17:37 +0000 (00:17 +0200)]
Fixed some more checks in rdpsnd channel
Armin Novak [Fri, 3 Jul 2015 11:26:15 +0000 (13:26 +0200)]
Replaced snprintf with sprintf_s
MartinHaimberger [Fri, 3 Jul 2015 11:04:37 +0000 (13:04 +0200)]
Merge pull request #2764 from akallabeth/pull_fixes
Pull fixes
Armin Novak [Fri, 3 Jul 2015 10:38:19 +0000 (12:38 +0200)]
Added missing include breaking windows build.