Norbert Federa [Thu, 28 May 2015 08:49:38 +0000 (10:49 +0200)]
tsmf: fix invalid check and a potential segfault
This resuscitates tsmf which was accidently broken in commit
f8120919
Marc-André Moreau [Wed, 27 May 2015 13:00:22 +0000 (09:00 -0400)]
Merge pull request #2653 from bmiklautz/lzcnt
winpr: add intrin.h
Bernhard Miklautz [Wed, 27 May 2015 08:32:08 +0000 (10:32 +0200)]
winpr/test: incorporate comments from pull request
* Fix TestIntrinsics - always returned 0
* rename TestWinpr to TestWinPR for consistency
* update gitignores accordingly
Bernhard Miklautz [Tue, 26 May 2015 14:41:29 +0000 (16:41 +0200)]
winpr: add intrin.h
Exposing lzcnt in crt.h might causes compiler errors (redefinition) with
recent versions of gcc (>=4.9) when winpr is included in other projects.
As lzcnt isn't part of crt according to MSDN and also shouldn't be
exported by default it was moved to intrin.h.
The related test was also moved to the top level directory of winpr.
Hardening [Tue, 26 May 2015 14:10:41 +0000 (16:10 +0200)]
Merge pull request #2654 from oshogbo/typos
Typo
Mariusz Zaborski [Tue, 26 May 2015 13:33:12 +0000 (15:33 +0200)]
In c file the name is channelId.
Hardening [Tue, 26 May 2015 06:39:08 +0000 (08:39 +0200)]
Merge pull request #2652 from nfedera/fix-ios-context-new
client/iOS: fix ios_context_new
Norbert Federa [Mon, 25 May 2015 20:21:53 +0000 (22:21 +0200)]
client/iOS: fix ios_context_new
- fixed wrong signature since ContextNew is BOOL now
- added error checking
Marc-André Moreau [Fri, 22 May 2015 18:30:11 +0000 (14:30 -0400)]
Merge pull request #2639 from awakecoding/master
WLog, server-side rdpdr, remote assistance, byteswap, etc
Marc-André Moreau [Fri, 22 May 2015 18:15:31 +0000 (14:15 -0400)]
Merge pull request #2644 from xhaakon/shadow-server-disposal
shadow_client: dispose encomsp and remdesk
Marc-André Moreau [Fri, 22 May 2015 18:15:09 +0000 (14:15 -0400)]
Merge pull request #2643 from xhaakon/shadow-server-client-disconnect
Don't dispose shadow server before all clients have disconnected
Marc-André Moreau [Fri, 22 May 2015 18:14:57 +0000 (14:14 -0400)]
freerdp: patch multiple leaks and OOM errors
Marc-André Moreau [Fri, 22 May 2015 14:03:21 +0000 (10:03 -0400)]
libwinpr-shell: use getpwnam_r
Jakub Adam [Fri, 22 May 2015 07:29:16 +0000 (09:29 +0200)]
shadow_client: dispose encomsp and remdesk
Their threads were kept running after the client's exit.
Jakub Adam [Thu, 21 May 2015 12:32:10 +0000 (14:32 +0200)]
Don't dispose shadow server before all clients have disconnected
Ensure all client threads are disconnected before we stop the server
thread and thus make it available for deletion. We do this because
shadow_client_context_free() accesses rdpShadowServer structure, which
we have to keep alive as long as it is needed.
Calling shadow_client_context_free() after shadow_server_stop() and
shadow_server_free() were called may have caused an application crash.
Bernhard Miklautz [Fri, 22 May 2015 11:36:00 +0000 (13:36 +0200)]
Merge pull request #2638 from kwitaszczyk/master
Assign peer to settings when a new RDP module is being initialized.
Hardening [Fri, 22 May 2015 07:56:59 +0000 (09:56 +0200)]
Merge pull request #2640 from xsumbe00/master
winsock.c Solaris build fixes
Marc-André Moreau [Thu, 21 May 2015 20:50:29 +0000 (16:50 -0400)]
channels/rdpdr: add more server-side error checking
Petr Sumbera [Thu, 21 May 2015 20:24:03 +0000 (13:24 -0700)]
winsock.c Solaris build fixes
Marc-André Moreau [Thu, 21 May 2015 20:08:46 +0000 (16:08 -0400)]
channels/rdpdr: treat OOM and status failures in server-side code
Marc-André Moreau [Thu, 21 May 2015 18:33:38 +0000 (14:33 -0400)]
channels/rdpdr: cleanup server-side rdpdr code
Marc-André Moreau [Thu, 21 May 2015 17:29:59 +0000 (13:29 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 21 May 2015 17:25:35 +0000 (13:25 -0400)]
libwinpr-utils: update backtrace utils
Konrad Witaszczyk [Thu, 21 May 2015 14:54:19 +0000 (16:54 +0200)]
Assign peer to settings when a new RDP module is being initialized.
Bernhard Miklautz [Thu, 21 May 2015 14:21:09 +0000 (16:21 +0200)]
Merge pull request #2637 from nfedera/fix-shadow_client_context_cleanup
shadow/client context cleanup and unused vars fix
Marc-André Moreau [Thu, 21 May 2015 14:17:54 +0000 (10:17 -0400)]
Merge pull request #2583 from bceverly/OpenBSD-cleanup
Two minor source code changes to remove warnings
Norbert Federa [Thu, 21 May 2015 08:56:56 +0000 (10:56 +0200)]
shadow/client context cleanup and unused vars fix
Norbert Federa [Thu, 21 May 2015 14:04:26 +0000 (16:04 +0200)]
Merge pull request #2630 from hardening/new_2616
Add checks for some XXX_New and XXX_Add functions
Marc-André Moreau [Wed, 20 May 2015 20:26:31 +0000 (16:26 -0400)]
Merge pull request #2557 from realjiangms/shadow_fix_hang2395
shadow fix multi-client hang
Hardening [Wed, 20 May 2015 19:19:20 +0000 (21:19 +0200)]
Merge pull request #2632 from akallabeth/client_bandwidth_measurement_callback
Added client bandwidth measurement result callback.
David FORT [Wed, 20 May 2015 19:01:46 +0000 (21:01 +0200)]
Fixed declaration of xf_event_action_script_init()
David FORT [Wed, 20 May 2015 17:19:50 +0000 (19:19 +0200)]
Take in account nfedera's review
Bryan Everly [Wed, 20 May 2015 16:17:05 +0000 (12:17 -0400)]
Fixed mistake with bitwise operator in previous two commits
Marc-André Moreau [Wed, 20 May 2015 15:40:48 +0000 (11:40 -0400)]
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP
Conflicts:
channels/rdpdr/server/rdpdr_main.c
Marc-André Moreau [Wed, 20 May 2015 15:27:36 +0000 (11:27 -0400)]
cmake: add PULSE_FOUND variable to FindPulse.cmake
Bryan Everly [Wed, 20 May 2015 14:52:24 +0000 (10:52 -0400)]
Moved thread code to OpenBSD only
Armin Novak [Wed, 20 May 2015 08:47:24 +0000 (10:47 +0200)]
Added client bandwidth measurement result callback.
Marc-André Moreau [Wed, 20 May 2015 14:12:24 +0000 (10:12 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
client/Windows/wf_client.c
libfreerdp/common/assistance.c
Marc-André Moreau [Wed, 20 May 2015 13:41:18 +0000 (09:41 -0400)]
Merge pull request #2633 from clivest/progressive_codec_new_surface_fix
Fix rounding error in progressive codec surface new
Marc-André Moreau [Wed, 20 May 2015 13:40:24 +0000 (09:40 -0400)]
Merge pull request #2635 from clivest/gdi_gfx_leaked_regions_fix
Fix two memory leaks in gdi/gfx
Clive Stevens [Wed, 20 May 2015 11:35:24 +0000 (12:35 +0100)]
Fix two cases of leaked regions in gdi/gfx
Clive Stevens [Wed, 20 May 2015 11:26:58 +0000 (12:26 +0100)]
Fix rounding error in progressive codec
The grid is composed of 64x64 blocks and should not be smaller
than the surface. If width or height were not a multiple of 64
the previous rounding resulted in a grid smaller than the surface.
David FORT [Tue, 19 May 2015 11:54:43 +0000 (13:54 +0200)]
Fixed last VirtualChannelEntry
David FORT [Tue, 19 May 2015 11:48:57 +0000 (13:48 +0200)]
Fixed functions that return BOOLs
Bernhard Miklautz [Tue, 19 May 2015 09:07:42 +0000 (11:07 +0200)]
Merge pull request #2627 from nfedera/fix-x11-polyregion
client/x11: fix + simplify invalidate_poly_region
Norbert Federa [Mon, 18 May 2015 23:07:51 +0000 (01:07 +0200)]
client/x11: fix + simplify invalidate_poly_region
Marc-André Moreau [Mon, 18 May 2015 12:55:48 +0000 (08:55 -0400)]
Merge pull request #2624 from kwitaszczyk/master
QueryContextAttributes shouldn't return an error when a user or a domain is empty.
Bernhard Miklautz [Mon, 18 May 2015 09:36:31 +0000 (11:36 +0200)]
smartcard: fix compiler warnings
gcc 4.7.2:
warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from
pointer target type
Hardening [Mon, 18 May 2015 09:28:00 +0000 (11:28 +0200)]
Add checks for some XXX_New and XXX_Add functions
Based on PR #2616
Konrad Witaszczyk [Mon, 18 May 2015 07:42:17 +0000 (09:42 +0200)]
QueryContextAttributes shouldn't return an error when a user or a domain
is empty.
Hardening [Sun, 17 May 2015 19:40:38 +0000 (21:40 +0200)]
Merge pull request #2623 from nfedera/fix-xfclient-if-semicolons
client/x11: fixed if statements with empty body
Norbert Federa [Sun, 17 May 2015 16:24:11 +0000 (18:24 +0200)]
client/x11: fixed if statements with empty body
Marc-André Moreau [Fri, 15 May 2015 12:37:10 +0000 (08:37 -0400)]
Merge pull request #2622 from kwitaszczyk/master
Pass valid context to CompleteAuthToken function in Negotiate Security Package.
Konrad Witaszczyk [Fri, 15 May 2015 11:02:40 +0000 (13:02 +0200)]
Pass valid context to CompleteAuthToken function in Negotiate Security Package.
Bernhard Miklautz [Fri, 15 May 2015 09:59:12 +0000 (11:59 +0200)]
Merge pull request #2621 from nfedera/fix-mac-async-transport
transport/mfreerdp: fix async transport
Norbert Federa [Thu, 14 May 2015 19:54:09 +0000 (21:54 +0200)]
transport/mfreerdp: fix async transport
- handle WAIT_TIMEOUT result as error in async transport thread
if an INFINITE timeout was specified in WaitForMultipleObjects
- fix mfreerdp's async transport handling to not use
freerdp_get_event_handles/freerdp_check_event_handles if async
transport is activated
Hardening [Thu, 14 May 2015 19:13:12 +0000 (21:13 +0200)]
Merge pull request #2620 from nfedera/fix-gdi-cache
gdi: fix nullification of instance->context->cache
Norbert Federa [Thu, 14 May 2015 18:33:21 +0000 (20:33 +0200)]
gdi: fix nullification of instance->context->cache
Hardening [Wed, 13 May 2015 06:24:35 +0000 (08:24 +0200)]
Merge pull request #2611 from nfedera/fix-async-transport-thread
transport: fixed multiple errors in async thread
Hardening [Tue, 12 May 2015 14:18:08 +0000 (16:18 +0200)]
Merge pull request #2613 from oshogbo/gethostname
At least at FreeBSD - the gethostname(3) function can fail.
Hardening [Tue, 12 May 2015 13:45:55 +0000 (15:45 +0200)]
Merge pull request #2612 from oshogbo/style
Function return bool, so lets return FALSE if 0 or TRUE if 1.
Mariusz Zaborski [Tue, 12 May 2015 13:33:42 +0000 (15:33 +0200)]
At least at FreeBSD - the gethostname(3) function can fail.
Check returned value.
Mariusz Zaborski [Tue, 12 May 2015 13:31:23 +0000 (15:31 +0200)]
Function return bool, so lets return FALSE if 0 or TRUE if 1.
Norbert Federa [Mon, 11 May 2015 19:54:36 +0000 (21:54 +0200)]
transport: fixed multiple errors in async thread
MartinHaimberger [Mon, 11 May 2015 14:59:32 +0000 (16:59 +0200)]
Merge pull request #2605 from nfedera/fix-2015-05-08-01
fixed multiple missing gdi return value checks
MartinHaimberger [Mon, 11 May 2015 08:14:30 +0000 (10:14 +0200)]
Merge pull request #2607 from nfedera/remove_free_null_checks
free can handle NULL perfectly fine
Norbert Federa [Mon, 11 May 2015 07:07:39 +0000 (09:07 +0200)]
free can handle NULL perfectly fine
zihao.jiang [Sun, 10 May 2015 16:00:02 +0000 (00:00 +0800)]
shadow fix multi-client hang
Merge from commit
d4df3a952b
Conflicts:
server/shadow/shadow_subsystem.c
Norbert Federa [Fri, 8 May 2015 19:39:23 +0000 (21:39 +0200)]
fixed multiple missing gdi return value checks
mainly gdi_Create* functions
Bernhard Miklautz [Fri, 8 May 2015 11:44:26 +0000 (13:44 +0200)]
Merge pull request #2594 from baruchsiach/fix-math-2
Don't disable C99 long double math on non Unix platforms
Norbert Federa [Fri, 8 May 2015 09:17:33 +0000 (11:17 +0200)]
Merge pull request #2577 from hardening/listen_from_socket
Add the ability to have listener from an existing socket
David FORT [Fri, 8 May 2015 08:07:29 +0000 (10:07 +0200)]
Return FALSE under Win32
David FORT [Fri, 8 May 2015 08:05:39 +0000 (10:05 +0200)]
Test the number of listening handles
David FORT [Tue, 7 Apr 2015 13:18:07 +0000 (15:18 +0200)]
Add the ability to have listener from an existing socket
Bernhard Miklautz [Thu, 7 May 2015 22:49:41 +0000 (00:49 +0200)]
Merge pull request #2596 from akallabeth/wlog_default_out_fix
Wlog console output to stderr
Marc-André Moreau [Thu, 7 May 2015 18:20:49 +0000 (14:20 -0400)]
wfreerdp: fix and improve remote assistance
Marc-André Moreau [Thu, 7 May 2015 17:35:39 +0000 (13:35 -0400)]
wfreerdp: fix build
Hardening [Thu, 7 May 2015 17:06:59 +0000 (19:06 +0200)]
Merge pull request #2601 from nfedera/fix-2015-05-07-01
Fix some unchecked create calls
Norbert Federa [Thu, 7 May 2015 16:42:15 +0000 (18:42 +0200)]
Merge pull request #2597 from clivest/bitstream_read_fix
Fix bitstream reading bounds check
Norbert Federa [Thu, 7 May 2015 16:24:47 +0000 (18:24 +0200)]
Merge pull request #2598 from clivest/stream_leak_fix
Fix two cases of stream resource leak
Norbert Federa [Thu, 7 May 2015 16:15:01 +0000 (18:15 +0200)]
Merge pull request #2599 from hardening/fix_wayland_colors
Fix colors with the wayland client
Norbert Federa [Thu, 7 May 2015 16:13:09 +0000 (18:13 +0200)]
Merge pull request #2603 from hardening/rail_empty_title_fix
Fix empty window title
Norbert Federa [Thu, 7 May 2015 16:11:38 +0000 (18:11 +0200)]
Merge pull request #2604 from hardening/rail_fix
Fix remoteApps
Norbert Federa [Thu, 7 May 2015 15:42:01 +0000 (17:42 +0200)]
server/shadow: added missing error message
David FORT [Thu, 7 May 2015 13:08:00 +0000 (15:08 +0200)]
Fix empty window title
When the size of a RAIL string was 0, we were reporting an OOM error.
David FORT [Thu, 7 May 2015 12:36:07 +0000 (14:36 +0200)]
Fix remoteApps
The assert that have been removed were preventing RAIL from working when you
have an intermediary screen before seeing the application.
Norbert Federa [Tue, 5 May 2015 17:45:34 +0000 (19:45 +0200)]
Fix unchecked CreateDirectory calls
Norbert Federa [Tue, 5 May 2015 15:32:06 +0000 (17:32 +0200)]
Fix unchecked CreateSemaphore calls
Norbert Federa [Tue, 5 May 2015 15:25:17 +0000 (17:25 +0200)]
Fix unchecked CreateMutex calls
Marc-André Moreau [Wed, 6 May 2015 20:32:45 +0000 (16:32 -0400)]
freerdp: fix remote assistance mode, add multi-address connection
David FORT [Wed, 6 May 2015 19:54:39 +0000 (21:54 +0200)]
Fix colors with the wayland client
Clive Stevens [Wed, 6 May 2015 14:54:23 +0000 (15:54 +0100)]
Fix whitespace
Clive Stevens [Wed, 6 May 2015 14:26:06 +0000 (15:26 +0100)]
Fix bitstream reading
The bounds checks where previously incorrect
Clive Stevens [Wed, 6 May 2015 14:23:37 +0000 (15:23 +0100)]
Fix two cases of potentially leaked streams
Armin Novak [Wed, 6 May 2015 13:36:54 +0000 (15:36 +0200)]
Fixed broken indent.
Armin Novak [Wed, 6 May 2015 08:58:57 +0000 (10:58 +0200)]
Not writing messages if level is WLOG_OFF.
Armin Novak [Wed, 6 May 2015 08:56:30 +0000 (10:56 +0200)]
Console logging to stdout and stderr
With this patch the default for the console logger
changes to writing to stdout for TRACE, DEBUG and INFO
messages and stderr for WARNING, ERROR and FATAL messages.
Martin Fleisz [Wed, 6 May 2015 08:16:26 +0000 (10:16 +0200)]
Merge pull request #2592 from nfedera/fix-2015-05-05-01
Fix unchecked CreateThread calls and misc fixes
Baruch Siach [Tue, 5 May 2015 18:27:17 +0000 (21:27 +0300)]
Don't disable C99 long double math on non Unix platforms
CMakeLists.txt may enable HAVE_MATH_C99_LONG_DOUBLE only on Unix platforms.
Limit the effect of this symbol accordingly.
Marc-André Moreau [Tue, 5 May 2015 18:25:55 +0000 (14:25 -0400)]
Merge branch 'master' of github.com:awakecoding/FreeRDP