Anthony [Fri, 30 Mar 2012 19:47:09 +0000 (12:47 -0700)]
Merge pull request #528 from kiilerix/master
a valgrind fix and a non-controversial keyboard fix
Mads Kiilerich [Fri, 30 Mar 2012 19:37:39 +0000 (21:37 +0200)]
core: use valid default values for Client Core Data keyboardType and keyboardFunctionKey
Mads Kiilerich [Fri, 30 Mar 2012 19:37:30 +0000 (21:37 +0200)]
cache: fix off-by-one-of-the-wrong-kind in BITMAP_CACHE_WAITING_LIST_INDEX handling
Marc-André Moreau [Fri, 30 Mar 2012 15:34:58 +0000 (08:34 -0700)]
Merge pull request #526 from trou/master
Fix security negociation when standard RDP is refused and enable salted checksums by default
Marc-André Moreau [Fri, 30 Mar 2012 15:34:13 +0000 (08:34 -0700)]
Merge pull request #519 from kiilerix/master
build fixes
Anthony [Fri, 30 Mar 2012 14:16:09 +0000 (07:16 -0700)]
Merge pull request #521 from bmiklautz/ximage_leak
xfreerdp: nocodec/nscodec free ximages after use
Raphael Rigo [Fri, 30 Mar 2012 09:44:36 +0000 (11:44 +0200)]
enable secure checksums by default
Raphael Rigo [Fri, 30 Mar 2012 09:17:17 +0000 (11:17 +0200)]
Merge branch 'master' of git://github.com/FreeRDP/FreeRDP
Jay Sorg [Fri, 30 Mar 2012 03:57:26 +0000 (20:57 -0700)]
mppc: moved to libfreerdp-codec
Raphael Rigo [Thu, 29 Mar 2012 18:09:21 +0000 (20:09 +0200)]
fix negociation check
Raphael Rigo [Thu, 29 Mar 2012 18:06:17 +0000 (20:06 +0200)]
fix negociation when standard rdp security is disabled
Bernhard Miklautz [Thu, 29 Mar 2012 11:01:42 +0000 (13:01 +0200)]
xfreerdp: nocodec/nscodec free ximages after use
Mads Kiilerich [Wed, 28 Mar 2012 23:25:49 +0000 (01:25 +0200)]
locale: update rdp scancodes according to Win CE "Translating Scan Codes to Virtual-Key Codes"
The values in @msdn{ms892480} seems to be what is used in TS_KEYBOARD_EVENT @msdn{
cc240584}.
All the "XT Scan Code Translation Libraries" has been checked and integrated.
Only the Korean has been skipped. It is clearly something completely different
from everything else. The Japanese is just an extension of the US keyboard like
the others.
Mads Kiilerich [Wed, 28 Mar 2012 23:12:48 +0000 (01:12 +0200)]
locale: add Japanese backslash key with rdp scancode 7D and X key name AE13
Correct values for the keyboard fields in Client Core Data is required too.
Mads Kiilerich [Wed, 28 Mar 2012 23:12:48 +0000 (01:12 +0200)]
locale: drop Virtual-Key as intermediate format for xkbfile
There is no 1:1 mapping between Virtual-Key codes and the "scancodes" used in
the rdp protocol. Some examples are VK_RETURN and VK_DIVIDE and US keyboards
where two different physical keys with different "scancodes" in the protocol
map to the same Virtual-Key on the server. Another bad fit seems to be the
Japanese backslash key.
The rdp scancodes are apparently undocumented and different from everything
else. The best we can do is to reverse engineer the protocol values and give
them some descriptive names and try to figure out how they relate to the native
scancodes on the supported platforms.
Mads Kiilerich [Wed, 28 Mar 2012 23:12:48 +0000 (01:12 +0200)]
clients: use rdp scancode definitions when sending key events
This also introduces a slightly more high-level convenience function for
sending key events. The existing function where an RDP protocol flag field has
to be encoded by the caller is very lowlevel ... and a bad fit for fastpath
input. That could use a refactoring.
Mads Kiilerich [Wed, 28 Mar 2012 23:12:48 +0000 (01:12 +0200)]
locale: #define known rdp scancode values
For now they are named after the VK code they mostly correspond to.
Mads Kiilerich [Wed, 28 Mar 2012 23:12:35 +0000 (01:12 +0200)]
locale: make RDP_SCANCODE a simple value type that easily can be passed around
Mads Kiilerich [Wed, 28 Mar 2012 23:10:58 +0000 (01:10 +0200)]
server: fix building without XTest
Mads Kiilerich [Wed, 28 Mar 2012 23:10:57 +0000 (01:10 +0200)]
fix building on X11 without XKBFILE
Jay Sorg [Wed, 28 Mar 2012 22:34:56 +0000 (15:34 -0700)]
libfreerdp-cache: complete update_pointer_color
Marc-André Moreau [Tue, 27 Mar 2012 19:58:04 +0000 (12:58 -0700)]
Merge pull request #517 from dorianj/master
libfreerdp-utils: fix freerdp_append_shared_library_suffix on OS X
Marc-André Moreau [Tue, 27 Mar 2012 19:56:40 +0000 (12:56 -0700)]
Merge pull request #516 from atong/master
cache: fix BITMAP_CACHE_WAITING_LIST_INDEX handling
Dorian Johnson [Tue, 27 Mar 2012 19:54:10 +0000 (14:54 -0500)]
libfreerdp-utils: make freerdp_append_shared_library_suffix work when file_path is shorter than the suffix, which is true for 'rail' and '.dylib'.
Anthony Tong [Tue, 27 Mar 2012 19:44:03 +0000 (15:44 -0400)]
cache: fix BITMAP_CACHE_WAITING_LIST_INDEX handling
Jay Sorg [Tue, 27 Mar 2012 07:43:53 +0000 (00:43 -0700)]
mppc_enc: add hash tables to speed up mppc encoder
Marc-André Moreau [Sun, 25 Mar 2012 21:08:05 +0000 (17:08 -0400)]
libfreerdp-sspi: added wintypes.h
Marc-André Moreau [Sat, 24 Mar 2012 22:01:56 +0000 (18:01 -0400)]
libfreerdp-sspi: add _T() macro
Marc-André Moreau [Sat, 24 Mar 2012 20:23:14 +0000 (16:23 -0400)]
libfreerdp-sspi: fix UNICODE support, can connect successfully in both modes now
Marc-André Moreau [Sat, 24 Mar 2012 20:02:58 +0000 (16:02 -0400)]
libfreerdp-sspi: fix compilation on Linux without UNICODE definition
Marc-André Moreau [Sat, 24 Mar 2012 19:47:16 +0000 (15:47 -0400)]
libfreerdp-sspi: fix compilation on windows with UNICODE defined
Marc-André Moreau [Sat, 24 Mar 2012 05:01:28 +0000 (01:01 -0400)]
libfreerdp-sspi: fix compilation on Linux
Marc-André Moreau [Sat, 24 Mar 2012 04:14:45 +0000 (00:14 -0400)]
libfreerdp-sspi: start implementing ASCII and Unicode methods
Marc-André Moreau [Sat, 24 Mar 2012 01:28:53 +0000 (21:28 -0400)]
cunit: fix SSPI unit tests
Marc-André Moreau [Sat, 24 Mar 2012 01:26:58 +0000 (18:26 -0700)]
Merge pull request #510 from jiten19/rdp6
add RDP6 decompression
Marc-André Moreau [Sat, 24 Mar 2012 01:25:15 +0000 (18:25 -0700)]
Merge pull request #513 from kiilerix/master
a crypto+redirect fix and manu small steps with locale / keyboard refactoring
Mads Kiilerich [Sat, 24 Mar 2012 01:01:12 +0000 (02:01 +0100)]
locale: debug statements and indentation
Mads Kiilerich [Sat, 24 Mar 2012 00:57:10 +0000 (01:57 +0100)]
locale: reintroduce sun keyboard layouts and fix sun compilation
Untested.
Mads Kiilerich [Sat, 24 Mar 2012 00:57:10 +0000 (01:57 +0100)]
locale: plug some xkb / keymap leaks
Mads Kiilerich [Sat, 24 Mar 2012 00:57:10 +0000 (01:57 +0100)]
locale: don't fall back to keymap detection when xkbfile is used
Mads Kiilerich [Sat, 24 Mar 2012 00:57:10 +0000 (01:57 +0100)]
locale: reintroduce use of freerdp_detect_keyboard for default keyboard layout id
Mads Kiilerich [Sat, 24 Mar 2012 00:57:10 +0000 (01:57 +0100)]
locale: encapsulate X11_KEYCODE_TO_RDP_SCANCODE in keyboard.c
Mads Kiilerich [Sat, 24 Mar 2012 00:57:10 +0000 (01:57 +0100)]
locale: encapsulate RDP_SCANCODE_TO_X11_KEYCODE in keyboard.c
Mads Kiilerich [Sat, 24 Mar 2012 00:57:10 +0000 (01:57 +0100)]
locale: move conversion from xkb layout names to RDP IDs to xkb_layout_ids.c
Refactoring - no semantic changes.
Mads Kiilerich [Sat, 24 Mar 2012 00:57:09 +0000 (01:57 +0100)]
locale: drop redundant VIRTUAL_KEY_CODE_TO_RDP_SCANCODE_TABLE
The same information can be found in VIRTUAL_KEY_CODE_TO_DEFAULT_RDP_SCANCODE_TABLE.
Refactoring - no semantic changes.
Mads Kiilerich [Sat, 24 Mar 2012 00:57:09 +0000 (01:57 +0100)]
locale: move keymap parsing to keyboard_keymap.c
Refactoring - no semantic changes.
Mads Kiilerich [Sat, 24 Mar 2012 00:57:09 +0000 (01:57 +0100)]
locale: clarify that WITH_XKBFILE is subordinate to WITH_X11
This should make no visible change in sane configurations.
Mads Kiilerich [Sat, 24 Mar 2012 00:57:09 +0000 (01:57 +0100)]
locale: clarify internally what is xkbfile and what is xkb
Refactoring - no semantic changes.
--HG--
rename : libfreerdp-locale/keyboard_xkb.c => libfreerdp-locale/keyboard_xkbfile.c
rename : libfreerdp-locale/keyboard_xkb.h => libfreerdp-locale/keyboard_xkbfile.h
Mads Kiilerich [Sat, 24 Mar 2012 00:57:09 +0000 (01:57 +0100)]
locale: move Virtual-Key Code definitions to virtual_key_codes.[ch]
Refactoring - no semantic changes.
Mads Kiilerich [Sat, 24 Mar 2012 00:57:09 +0000 (01:57 +0100)]
locale: introduce freerdp_keyboard_get_virtual_key_code_from_name
Refactoring - no semantic changes.
Mads Kiilerich [Sat, 24 Mar 2012 00:57:09 +0000 (01:57 +0100)]
core: reset crypto key counters when the keys are initialized
This fixes --sec rdp --salted-checksum in combination with farm redirect.
The counters are implicitly set to 0 in rdp_new, but they also has to be reset
after redirects. Resetting the counters when the keys are reset seems like the
cleanest solution.
Marc-André Moreau [Fri, 23 Mar 2012 22:53:10 +0000 (18:53 -0400)]
libfreerdp-sspi: avoid conflicting definitions when NATIVE_SSPI is on
Marc-André Moreau [Fri, 23 Mar 2012 22:26:03 +0000 (18:26 -0400)]
wfreerdp: fix compilation warnings
Marc-André Moreau [Fri, 23 Mar 2012 00:37:05 +0000 (20:37 -0400)]
cmake: fix linker flags on Mac OS X
Marc-André Moreau [Thu, 22 Mar 2012 20:43:55 +0000 (13:43 -0700)]
Merge pull request #511 from kiilerix/master
various polishing
Mads Kiilerich [Thu, 22 Mar 2012 20:37:47 +0000 (21:37 +0100)]
update rpm spec, align it more with the Fedora rpm spec
Mads Kiilerich [Thu, 22 Mar 2012 20:30:39 +0000 (21:30 +0100)]
x: tell politely why xfreerdp is closing without making it look like an error
Mads Kiilerich [Thu, 22 Mar 2012 20:30:15 +0000 (21:30 +0100)]
x: improve debugging of X events
Mads Kiilerich [Thu, 22 Mar 2012 13:34:08 +0000 (14:34 +0100)]
core: tweak rdp debugging
Mads Kiilerich [Thu, 22 Mar 2012 12:33:54 +0000 (13:33 +0100)]
cmake: remove unused configuration options
Mads Kiilerich [Thu, 22 Mar 2012 12:33:51 +0000 (13:33 +0100)]
cmake: add missing debug options WITH_DEBUG_NTLM WITH_DEBUG_RDP
Mads Kiilerich [Thu, 22 Mar 2012 12:33:01 +0000 (13:33 +0100)]
cmake: cleanup of debug options, sort the list
Marc-André Moreau [Wed, 21 Mar 2012 22:32:10 +0000 (15:32 -0700)]
Merge pull request #509 from kiilerix/master
towards compiling with mingw
Mads Kiilerich [Wed, 21 Mar 2012 22:15:46 +0000 (23:15 +0100)]
util windows.h: include winsock2.h before windows.h
That seems to be the right way to do it ...
Mads Kiilerich [Wed, 21 Mar 2012 22:15:46 +0000 (23:15 +0100)]
cmake: don't try to detect OpenSSL if OPENSSL_INCLUDE_DIR and OPENSSL_LIBRARIES are defined
--HG--
extra : rebase_source :
fee9366943406e93964821a1991f1ac0c03983e5
Mads Kiilerich [Wed, 21 Mar 2012 22:13:35 +0000 (23:13 +0100)]
reduce the use of windows.h in header files
--HG--
extra : rebase_source :
3d15968fcc5255e99a7343aeef2b2a79d71c6704
Marc-André Moreau [Wed, 21 Mar 2012 19:54:41 +0000 (12:54 -0700)]
Merge pull request #508 from pjd/fixes
Fix compilation warning when WITH_SSE2 is not defined.
Pawel Jakub Dawidek [Wed, 21 Mar 2012 19:50:15 +0000 (20:50 +0100)]
Fix compilation warning when WITH_SSE2 is not defined.
Mads Kiilerich [Wed, 21 Mar 2012 19:46:57 +0000 (20:46 +0100)]
types.h: windows can have stdbool.h too but still don't like "typedef int boolean"
--HG--
extra : rebase_source :
f472822b40a21f4c375782c3c71bcfbdde672207
Mads Kiilerich [Wed, 21 Mar 2012 19:46:37 +0000 (20:46 +0100)]
cmake: default to build shared libs - don't enforce it
--HG--
extra : rebase_source :
7b731d1a90169a22dda6bb9506ce41a01e98f29a
qubit [Wed, 21 Mar 2012 17:32:38 +0000 (23:02 +0530)]
hashtable generators for rdp6
qubit [Wed, 21 Mar 2012 17:18:40 +0000 (22:48 +0530)]
add RDP6 decompression
Jay Sorg [Tue, 20 Mar 2012 17:03:36 +0000 (10:03 -0700)]
libfreerdp-core: hook up mppc compressor to fastpath packets
Marc-André Moreau [Tue, 20 Mar 2012 13:44:24 +0000 (06:44 -0700)]
Merge pull request #507 from pjd/fixes
Compilation fixes for FreeBSD.
Pawel Jakub Dawidek [Tue, 20 Mar 2012 13:26:42 +0000 (14:26 +0100)]
Compilation fixes for FreeBSD.
Marc-André Moreau [Tue, 20 Mar 2012 04:09:24 +0000 (21:09 -0700)]
Merge pull request #506 from llyzs/nsc
NSCodec encoder
Jay Sorg [Mon, 19 Mar 2012 06:02:13 +0000 (23:02 -0700)]
mppc bulk compressor
Marc-André Moreau [Mon, 19 Mar 2012 02:24:49 +0000 (22:24 -0400)]
libfreerdp-sspi: reached functional server-side NLA level (authenticates, doesn't validate everything)
Marc-André Moreau [Mon, 19 Mar 2012 02:02:23 +0000 (22:02 -0400)]
libfreerdp-sspi: fix server-side NTLM session key generation
Marc-André Moreau [Mon, 19 Mar 2012 00:30:20 +0000 (20:30 -0400)]
libfreerdp-sspi: move AV_PAIRs into separate file
Marc-André Moreau [Mon, 19 Mar 2012 00:08:05 +0000 (20:08 -0400)]
libfreerdp-sspi: NTLM server-side pubKeyAuth sending
Marc-André Moreau [Sun, 18 Mar 2012 22:14:35 +0000 (18:14 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sun, 18 Mar 2012 22:14:20 +0000 (18:14 -0400)]
libfreerdp-sspi: improve server-side NTLM message parsing
Jay Sorg [Sun, 18 Mar 2012 19:34:08 +0000 (12:34 -0700)]
libfreerdp-core: fix for cursor hot spot out of range
Marc-André Moreau [Sun, 18 Mar 2012 17:13:48 +0000 (13:13 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sun, 18 Mar 2012 17:13:34 +0000 (13:13 -0400)]
xfreerdp-server: set TCP_NODELAY
Vic Lee [Sun, 18 Mar 2012 15:25:07 +0000 (23:25 +0800)]
nsc: add SSE2 optimization for nsc encoder.
Vic Lee [Sun, 18 Mar 2012 08:36:38 +0000 (16:36 +0800)]
nsc: add nsc encoder to test server.
Vic Lee [Sun, 18 Mar 2012 04:02:28 +0000 (12:02 +0800)]
nsc: implement nsc encoder.
Marc-André Moreau [Fri, 16 Mar 2012 20:14:10 +0000 (13:14 -0700)]
Merge pull request #504 from kiilerix/master
make the convoluted handling of redirect cookies work slightly correctly
Mads Kiilerich [Fri, 16 Mar 2012 19:47:34 +0000 (20:47 +0100)]
core: terminate redirect cookies correctly
Marc-André Moreau [Fri, 16 Mar 2012 17:36:36 +0000 (10:36 -0700)]
Merge pull request #503 from kiilerix/master
valgrind cleanups
Mads Kiilerich [Fri, 16 Mar 2012 17:12:49 +0000 (18:12 +0100)]
rdp redirect: do the necessary layering violation to avoid leaks
Mads Kiilerich [Fri, 16 Mar 2012 17:12:49 +0000 (18:12 +0100)]
core/redirect: be aware that transport used in transport_check_fds might become invalid
Mads Kiilerich [Fri, 16 Mar 2012 17:12:49 +0000 (18:12 +0100)]
sspi/nla: implement ntlm_DeleteSecurityContext and start using ntlm_ContextFree to avoid leaking
Mads Kiilerich [Fri, 16 Mar 2012 17:12:48 +0000 (18:12 +0100)]
sspi/nla: plug credssp leaks
Mads Kiilerich [Fri, 16 Mar 2012 17:12:48 +0000 (18:12 +0100)]
core: free polyline and polygon_sc points
Mads Kiilerich [Fri, 16 Mar 2012 17:11:53 +0000 (18:11 +0100)]
x: clean up after xf_pre_connect if connection fails, and free instance where it was allocated
This prevents leak after "Error: protocol security negotiation failure"
Mads Kiilerich [Fri, 16 Mar 2012 15:42:56 +0000 (16:42 +0100)]
x: avoid leak by waiting for thread to finish before detaching
Mads Kiilerich [Fri, 16 Mar 2012 15:42:45 +0000 (16:42 +0100)]
x: free bitmap_mono