Roland Kaufmann
9f43291126
Get pointer button mapping from input system
...
If XInput extension is available, then find the (first) pointer device
and use the button mapping of that one. If there are more than one
pointer devices, they could have different button mappings, but it is
not clear how this should be communicated to the RDP server.
If XInput is not available, attempt to fallback to the old global
mapping. (This mapping exists, but is not correct if there actually
is an XInput extension loaded, as it is then not used).
2015-12-15 17:42:05 +01:00
Roland Kaufmann
6ca8962045
Map logical to physical mouse button events
...
RDP expects to receive an indicator of the physical mouse button that
was pressed on the client, whereas X11 deliver a value for which
logical mouse button that was pressed.
This patch introduces a (reverse) mapping from logical mouse buttons to
physical mouse buttons, so that the RDP server can do correct mapping
for the event on its end.
However, no actual mapping is done here; this patch just introduces the
framework to do so. Thus, there should be no behavioural change from
this patch alone.
There is an implicit assumption that only the first three buttons are
mapped to eachother. Enabling more a general mapping would require
extensive changes to the event handling as fourth logical button and
up is used for special functionality such as wheel.
2015-12-15 17:42:05 +01:00
Armin Novak
197ba27d72
Changed symbol install to OFF.
2015-12-15 17:19:58 +01:00
Armin Novak
6ed43cd6ec
Updated pdb file locations.
...
Now supporting generators NMake and Visual Studio.
2015-12-15 12:08:35 +01:00
Armin Novak
cb958ba9c6
Added pdb files to package target.
...
Fixed name collision with freerdp-shadow targets.
2015-12-15 12:07:21 +01:00
Armin Novak
e223684fcb
args arrays static.
...
When creating static builds the args arrays collided due
to global visibility.
2015-12-15 12:07:21 +01:00
Hardening
1b177fa735
Merge pull request #2984 from bsagal/master
...
remove horizontal scroll maping to forward/back
2015-12-15 11:23:43 +01:00
Binyamin Sagal
23fea1615f
Fix horizontal scrolling direction and capability detection
2015-12-14 21:48:31 +02:00
Armin Novak
a5db7117c8
Implemented horizontal wheel support.
...
Horizontal mouse wheel input capabilities are now checked
and if available mouse buttons 6 and 7 are mapped to the
horizontal wheel for the X11 client.
2015-12-14 18:29:23 +01:00
Binyamin Sagal
d81784cec6
remove horizontal scroll maping to forward/back
...
partal fix for #2302
2015-12-14 18:01:04 +01:00
Bernhard Miklautz
7f7ef1a464
Merge pull request #2831 from akallabeth/gdi_fix
...
Fixed GDI_BITMAP, now using custom deallocation function.
2015-12-14 17:58:25 +01:00
Hardening
55d097a161
Merge pull request #2414 from zavadovsky/opensles_fixes
...
opensles fixes
2015-12-14 17:22:38 +01:00
Hardening
7b5051c873
Merge pull request #2913 from realjiangms/shadow_fix_align
...
Server/Shadow: Fix invalid ALIGN in shadow_client_send_bitmap_update
2015-12-14 17:21:58 +01:00
Hardening
c44dc17bc7
Merge pull request #2980 from akallabeth/clipboard_struct_fixes
...
Fixed CLIPRDR_FILEDESCRIPTOR
2015-12-14 16:09:47 +01:00
Hardening
292a37b719
Merge pull request #2772 from bjcollins/master
...
tsmf updates/fixes for gstreamer decoder on X11 platform
2015-12-14 16:08:13 +01:00
Hardening
58d80d23d5
Merge pull request #2973 from hopToDev/master
...
Fixed build errors that occur when setting WITH_IOSAUDIO build option
2015-12-14 15:10:33 +01:00
Armin Novak
d339b986de
Fixed broken #if #endif.
2015-12-14 14:18:51 +01:00
Armin Novak
533e14745e
Fixed broken objective C detection.
2015-12-14 14:18:51 +01:00
Armin Novak
ff24885ff3
Fixed mixup of type defines.
2015-12-14 14:18:51 +01:00
Armin Novak
6e69caad9f
Disabled definition of BOOL for objective C
2015-12-14 14:18:50 +01:00
Armin Novak
c8652371e7
Removed stdbool define for iOS.
2015-12-14 14:18:50 +01:00
Armin Novak
00b8d802d2
Fixed callback function return
2015-12-14 14:18:50 +01:00
Armin Novak
90251f5e0d
Fixed OnNewChannelConnection arguments
2015-12-14 14:18:50 +01:00
Armin Novak
639c176004
Fixed DecodeEx return value
2015-12-14 14:18:50 +01:00
Armin Novak
74c15a6309
Fixed freerdp_assistance_file_new argument declaration
2015-12-14 14:18:50 +01:00
Armin Novak
63894eb4e7
Using stdint.h and stdbool.h for type definitions
...
When stdint.h or stdbool.h are detected, use these
standard types for definitions in wtypes.h
2015-12-14 14:18:50 +01:00
Armin Novak
6010932984
Fixed possible race on file creation.
2015-12-14 09:32:42 +01:00
Bernhard Miklautz
b02943ae98
Merge pull request #2928 from akallabeth/non_verbose_VerifyX509Certificate
...
Silenced VerifyX509Certificate logging.
2015-12-11 12:09:33 +01:00
Hardening
70b9e994e1
Merge pull request #2941 from akallabeth/clipboard_file_fix
...
Clipboard file fixes
2015-12-10 16:13:24 +01:00
Armin Novak
65062633c2
Fixed memory leak.
2015-12-10 13:57:05 +01:00
Armin Novak
f0e3a2d845
Added extended file seek tests.
2015-12-10 10:40:14 +01:00
Armin Novak
fe51dd1e10
Fixed logging, added file name.
2015-12-10 10:39:37 +01:00
Armin Novak
400d1b8b96
Fixed open mode for fdopen.
2015-12-10 10:37:44 +01:00
Armin Novak
df528cefc5
Using locking winpr file functions for known hosts.
2015-12-09 18:29:41 +01:00
Armin Novak
19744f3bb8
Added additional file functions and tests.
2015-12-09 18:29:16 +01:00
Armin Novak
d0e3528c8e
Added winpr_strerror function.
2015-12-09 18:27:37 +01:00
Armin Novak
a04f1f8fc5
Added missing _snprintf define.
2015-12-09 18:27:05 +01:00
Hardening
17a1127341
Merge pull request #2976 from akallabeth/mac_audin_support
...
Added audin support for mac os.
2015-12-09 14:56:56 +01:00
Hardening
20f27f5c22
Merge pull request #2972 from akallabeth/option_fix
...
Fixed cmake_dependent_option use.
2015-12-09 14:41:53 +01:00
Hardening
57fe581b16
Merge pull request #2824 from bjcollins/nla_auth_exit_code
...
Return FREERDP_ERROR_AUTHENTICATION_FAILED on an authentication failure
2015-12-08 22:46:29 +01:00
Hardening
b588075098
Merge pull request #2979 from bmiklautz/bm/pre2.0_2
...
pkg: update version infos to 2.0
2015-12-03 19:39:30 +01:00
Hardening
8ba1b1cd2e
Merge pull request #2991 from xdqi/master
...
Fix compilation error under Visual Studio 2010
2015-11-30 10:52:40 +01:00
Xiaodong Qi
602d2715a2
Fix compilation error under Visual Studio 2010
...
Visual Studio 2010 use a compiler that supports only C89, which
only supports declaring variable at top of a local scope. Moving
scope variable to the top of function should solve this problem.
2015-11-29 00:14:29 +08:00
Hardening
3375865b52
Merge pull request #2983 from nitomartinez/master
...
Fixes #2982 . The idea is to be able to create the socket externally a…
2015-11-26 09:56:19 +01:00
Nito Martinez
2d5c78849e
Fix formatting: else if in its own line and no brackets for single statements
2015-11-26 09:50:03 +01:00
Nito Martinez
89d8a68f4a
Disable setting socket options for preexisting socket like: keepalive and tcp_nodelay, these should be set extenally if needed. Do not close the socket if the clientaddress could not be set
2015-11-25 08:36:49 +01:00
Hardening
c63928fd07
Merge pull request #2981 from mfleisz/server_cliprdr_fix
...
cliprdr/server: Fix parsing of file contents request PDU
2015-11-23 11:53:20 +01:00
Nito Martinez
428cbd802d
Fixes #2982 . The idea is to be able to create the socket externally and pass that socket FD to FreeRDP so that it can be used there.
...
The idea suggested is to use the following interface:
settings->ServerHostname = "|"
settings->ServerPort = SocketFD
2015-11-20 02:44:35 +01:00
Martin Fleisz
6890e0b84d
cliprdr/server: Fix incorrect message flags
2015-11-19 16:29:57 +01:00
Martin Fleisz
fc2768f807
cliprdr/server: Fix incorrect message header
2015-11-19 16:17:36 +01:00