David FORT
85c350f5da
Fix for #2657
2015-05-27 15:13:43 +02:00
Marc-André Moreau
a2e0746f15
Merge pull request #2653 from bmiklautz/lzcnt
...
winpr: add intrin.h
2015-05-27 09:00:22 -04:00
Bernhard Miklautz
03ec9bed93
winpr/test: incorporate comments from pull request
...
* Fix TestIntrinsics - always returned 0
* rename TestWinpr to TestWinPR for consistency
* update gitignores accordingly
2015-05-27 10:32:08 +02:00
Bernhard Miklautz
f9c7e03044
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.
2015-05-26 16:41:29 +02:00
Hardening
58b1995619
Merge pull request #2654 from oshogbo/typos
...
Typo
2015-05-26 16:10:41 +02:00
Mariusz Zaborski
951dbd88de
In c file the name is channelId.
2015-05-26 16:12:41 +02:00
Hardening
83d5b26a46
Merge pull request #2652 from nfedera/fix-ios-context-new
...
client/iOS: fix ios_context_new
2015-05-26 08:39:08 +02:00
Norbert Federa
8a53e5ee68
client/iOS: fix ios_context_new
...
- fixed wrong signature since ContextNew is BOOL now
- added error checking
2015-05-25 22:21:53 +02:00
Marc-André Moreau
36cb1e6dc9
Merge pull request #2639 from awakecoding/master
...
WLog, server-side rdpdr, remote assistance, byteswap, etc
2015-05-22 14:30:11 -04:00
Marc-André Moreau
649d49549e
Merge pull request #2644 from xhaakon/shadow-server-disposal
...
shadow_client: dispose encomsp and remdesk
2015-05-22 14:15:31 -04:00
Marc-André Moreau
30fc814efa
Merge pull request #2643 from xhaakon/shadow-server-client-disconnect
...
Don't dispose shadow server before all clients have disconnected
2015-05-22 14:15:09 -04:00
Marc-André Moreau
35e26020aa
freerdp: patch multiple leaks and OOM errors
2015-05-22 14:14:57 -04:00
Marc-André Moreau
7a06640c16
libwinpr-shell: use getpwnam_r
2015-05-22 10:03:21 -04:00
Jakub Adam
bc1bbe61a8
shadow_client: dispose encomsp and remdesk
...
Their threads were kept running after the client's exit.
2015-05-22 14:01:29 +02:00
Jakub Adam
9e60246a8c
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.
2015-05-22 13:56:57 +02:00
Bernhard Miklautz
7a1485a2e4
Merge pull request #2638 from kwitaszczyk/master
...
Assign peer to settings when a new RDP module is being initialized.
2015-05-22 13:36:00 +02:00
Hardening
ff1eb9d64d
Merge pull request #2640 from xsumbe00/master
...
winsock.c Solaris build fixes
2015-05-22 09:56:59 +02:00
Marc-André Moreau
89642923d1
channels/rdpdr: add more server-side error checking
2015-05-21 16:50:29 -04:00
Petr Sumbera
fe5ce30f92
winsock.c Solaris build fixes
2015-05-21 13:24:03 -07:00
Marc-André Moreau
d8460d14e0
channels/rdpdr: treat OOM and status failures in server-side code
2015-05-21 16:08:46 -04:00
Marc-André Moreau
aa34c8a7d5
channels/rdpdr: cleanup server-side rdpdr code
2015-05-21 14:33:38 -04:00
Marc-André Moreau
5526348079
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-05-21 13:29:59 -04:00
Marc-André Moreau
c64be497b8
libwinpr-utils: update backtrace utils
2015-05-21 13:25:35 -04:00
Konrad Witaszczyk
8797eef9b9
Assign peer to settings when a new RDP module is being initialized.
2015-05-21 16:54:19 +02:00
Bernhard Miklautz
e6891b7a78
Merge pull request #2637 from nfedera/fix-shadow_client_context_cleanup
...
shadow/client context cleanup and unused vars fix
2015-05-21 16:21:09 +02:00
Marc-André Moreau
b9c1cddc2e
Merge pull request #2583 from bceverly/OpenBSD-cleanup
...
Two minor source code changes to remove warnings
2015-05-21 10:17:54 -04:00
Norbert Federa
535a4352a7
shadow/client context cleanup and unused vars fix
2015-05-21 16:05:05 +02:00
Norbert Federa
cd0a8e0506
Merge pull request #2630 from hardening/new_2616
...
Add checks for some XXX_New and XXX_Add functions
2015-05-21 16:04:26 +02:00
Marc-André Moreau
ebf863f2eb
Merge pull request #2557 from realjiangms/shadow_fix_hang2395
...
shadow fix multi-client hang
2015-05-20 16:26:31 -04:00
Hardening
58602c7d2e
Merge pull request #2632 from akallabeth/client_bandwidth_measurement_callback
...
Added client bandwidth measurement result callback.
2015-05-20 21:19:20 +02:00
David FORT
b83af4c059
Fixed declaration of xf_event_action_script_init()
2015-05-20 21:01:46 +02:00
David FORT
29d372480a
Take in account nfedera's review
2015-05-20 19:19:50 +02:00
Bryan Everly
a3a3efe31e
Fixed mistake with bitwise operator in previous two commits
2015-05-20 12:17:05 -04:00
Marc-André Moreau
7e1dbd505b
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP
...
Conflicts:
channels/rdpdr/server/rdpdr_main.c
2015-05-20 11:40:48 -04:00
Marc-André Moreau
4c5ac6cfb0
cmake: add PULSE_FOUND variable to FindPulse.cmake
2015-05-20 11:27:36 -04:00
Bryan Everly
80af54b169
Moved thread code to OpenBSD only
2015-05-20 10:52:24 -04:00
Armin Novak
e239c10fb9
Added client bandwidth measurement result callback.
2015-05-20 16:18:55 +02:00
Marc-André Moreau
29d14773c8
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/Windows/wf_client.c
libfreerdp/common/assistance.c
2015-05-20 10:12:24 -04:00
Marc-André Moreau
05bc27e96d
Merge pull request #2633 from clivest/progressive_codec_new_surface_fix
...
Fix rounding error in progressive codec surface new
2015-05-20 09:41:18 -04:00
Marc-André Moreau
74ff78b467
Merge pull request #2635 from clivest/gdi_gfx_leaked_regions_fix
...
Fix two memory leaks in gdi/gfx
2015-05-20 09:40:24 -04:00
Clive Stevens
5528b152ec
Fix two cases of leaked regions in gdi/gfx
2015-05-20 12:35:24 +01:00
Clive Stevens
63ecb59681
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.
2015-05-20 12:26:58 +01:00
David FORT
f8d6eb226c
Fixed last VirtualChannelEntry
2015-05-19 13:56:48 +02:00
David FORT
6fb3f390a0
Fixed functions that return BOOLs
2015-05-19 13:48:57 +02:00
Bernhard Miklautz
1810656199
Merge pull request #2627 from nfedera/fix-x11-polyregion
...
client/x11: fix + simplify invalidate_poly_region
2015-05-19 11:07:42 +02:00
Norbert Federa
4d661fdb35
client/x11: fix + simplify invalidate_poly_region
2015-05-19 01:13:40 +02:00
Marc-André Moreau
9c8745bc1c
Merge pull request #2624 from kwitaszczyk/master
...
QueryContextAttributes shouldn't return an error when a user or a domain is empty.
2015-05-18 08:55:48 -04:00
Bernhard Miklautz
d922afc24a
smartcard: fix compiler warnings
...
gcc 4.7.2:
warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from
pointer target type
2015-05-18 11:36:31 +02:00
Hardening
f8120919af
Add checks for some XXX_New and XXX_Add functions
...
Based on PR #2616
2015-05-18 11:28:00 +02:00
Konrad Witaszczyk
29d3b0bebb
QueryContextAttributes shouldn't return an error when a user or a domain
...
is empty.
2015-05-18 09:42:17 +02:00