Commit Graph

1995 Commits

Author SHA1 Message Date
Mads Kiilerich
704ff7d01b core: use valid default values for Client Core Data keyboardType and keyboardFunctionKey 2012-03-30 21:37:39 +02:00
Mads Kiilerich
66ed01062e cache: fix off-by-one-of-the-wrong-kind in BITMAP_CACHE_WAITING_LIST_INDEX handling 2012-03-30 21:37:30 +02:00
Marc-André Moreau
18c35823f2 Merge pull request #526 from trou/master
Fix security negociation when standard RDP is refused and enable salted checksums by default
2012-03-30 08:34:58 -07:00
Marc-André Moreau
f2ec024d51 Merge pull request #519 from kiilerix/master
build fixes
2012-03-30 08:34:13 -07:00
Anthony
16f4701ed0 Merge pull request #521 from bmiklautz/ximage_leak
xfreerdp: nocodec/nscodec free ximages after use
2012-03-30 07:16:09 -07:00
Raphael Rigo
6d9b73972b enable secure checksums by default 2012-03-30 11:44:36 +02:00
Raphael Rigo
ddf5be5542 Merge branch 'master' of git://github.com/FreeRDP/FreeRDP 2012-03-30 11:17:17 +02:00
Jay Sorg
6aa7eaf627 mppc: moved to libfreerdp-codec 2012-03-29 20:57:26 -07:00
Raphael Rigo
efda0c2038 fix negociation check 2012-03-29 20:09:21 +02:00
Raphael Rigo
3bbf4133c2 fix negociation when standard rdp security is disabled 2012-03-29 20:06:17 +02:00
Bernhard Miklautz
25107cde67 xfreerdp: nocodec/nscodec free ximages after use 2012-03-29 13:01:42 +02:00
Mads Kiilerich
16478d8fad 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.
2012-03-29 01:25:49 +02:00
Mads Kiilerich
a9296e976d 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.
2012-03-29 01:12:48 +02:00
Mads Kiilerich
f799615c22 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.
2012-03-29 01:12:48 +02:00
Mads Kiilerich
3e4b434925 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.
2012-03-29 01:12:48 +02:00
Mads Kiilerich
7f399c6020 locale: #define known rdp scancode values
For now they are named after the VK code they mostly correspond to.
2012-03-29 01:12:48 +02:00
Mads Kiilerich
94e9405202 locale: make RDP_SCANCODE a simple value type that easily can be passed around 2012-03-29 01:12:35 +02:00
Mads Kiilerich
d3b32f59c5 server: fix building without XTest 2012-03-29 01:10:58 +02:00
Mads Kiilerich
6c4b4dcbed fix building on X11 without XKBFILE 2012-03-29 01:10:57 +02:00
Jay Sorg
b1a80822d7 libfreerdp-cache: complete update_pointer_color 2012-03-28 15:34:56 -07:00
Marc-André Moreau
87d3c3eab8 Merge pull request #517 from dorianj/master
libfreerdp-utils: fix freerdp_append_shared_library_suffix on OS X
2012-03-27 12:58:04 -07:00
Marc-André Moreau
6d94e30b00 Merge pull request #516 from atong/master
cache: fix BITMAP_CACHE_WAITING_LIST_INDEX handling
2012-03-27 12:56:40 -07:00
Dorian Johnson
b489d51b6c libfreerdp-utils: make freerdp_append_shared_library_suffix work when file_path is shorter than the suffix, which is true for 'rail' and '.dylib'. 2012-03-27 14:54:10 -05:00
Anthony Tong
87fb68ba12 cache: fix BITMAP_CACHE_WAITING_LIST_INDEX handling 2012-03-27 15:44:42 -04:00
Jay Sorg
3996620064 mppc_enc: add hash tables to speed up mppc encoder 2012-03-27 00:43:53 -07:00
Marc-André Moreau
82542fdb21 libfreerdp-sspi: added wintypes.h 2012-03-25 17:08:05 -04:00
Marc-André Moreau
2a9428b040 libfreerdp-sspi: add _T() macro 2012-03-24 18:01:56 -04:00
Marc-André Moreau
048a4780e8 libfreerdp-sspi: fix UNICODE support, can connect successfully in both modes now 2012-03-24 16:23:14 -04:00
Marc-André Moreau
842e85bcdc libfreerdp-sspi: fix compilation on Linux without UNICODE definition 2012-03-24 16:02:58 -04:00
Marc-André Moreau
e6ca39750a libfreerdp-sspi: fix compilation on windows with UNICODE defined 2012-03-24 15:47:16 -04:00
Marc-André Moreau
679d5b68c6 libfreerdp-sspi: fix compilation on Linux 2012-03-24 01:01:28 -04:00
Marc-André Moreau
d1280c1bd1 libfreerdp-sspi: start implementing ASCII and Unicode methods 2012-03-24 00:14:45 -04:00
Marc-André Moreau
cb6da81d7f cunit: fix SSPI unit tests 2012-03-23 21:28:53 -04:00
Marc-André Moreau
8e5802bc2b Merge pull request #510 from jiten19/rdp6
add RDP6 decompression
2012-03-23 18:26:58 -07:00
Marc-André Moreau
ed2a1517b4 Merge pull request #513 from kiilerix/master
a crypto+redirect fix and manu small steps with locale / keyboard refactoring
2012-03-23 18:25:15 -07:00
Mads Kiilerich
7f67338e2d locale: debug statements and indentation 2012-03-24 02:01:12 +01:00
Mads Kiilerich
0acd3d5a98 locale: reintroduce sun keyboard layouts and fix sun compilation
Untested.
2012-03-24 01:57:10 +01:00
Mads Kiilerich
1b52843f74 locale: plug some xkb / keymap leaks 2012-03-24 01:57:10 +01:00
Mads Kiilerich
b931891bed locale: don't fall back to keymap detection when xkbfile is used 2012-03-24 01:57:10 +01:00
Mads Kiilerich
df80dff43d locale: reintroduce use of freerdp_detect_keyboard for default keyboard layout id 2012-03-24 01:57:10 +01:00
Mads Kiilerich
f1fc6d0c25 locale: encapsulate X11_KEYCODE_TO_RDP_SCANCODE in keyboard.c 2012-03-24 01:57:10 +01:00
Mads Kiilerich
430d42aeac locale: encapsulate RDP_SCANCODE_TO_X11_KEYCODE in keyboard.c 2012-03-24 01:57:10 +01:00
Mads Kiilerich
25732265b2 locale: move conversion from xkb layout names to RDP IDs to xkb_layout_ids.c
Refactoring - no semantic changes.
2012-03-24 01:57:10 +01:00
Mads Kiilerich
cdfb2fbaed 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.
2012-03-24 01:57:09 +01:00
Mads Kiilerich
da5ffe70ef locale: move keymap parsing to keyboard_keymap.c
Refactoring - no semantic changes.
2012-03-24 01:57:09 +01:00
Mads Kiilerich
9d69c9158c locale: clarify that WITH_XKBFILE is subordinate to WITH_X11
This should make no visible change in sane configurations.
2012-03-24 01:57:09 +01:00
Mads Kiilerich
3d57e65a65 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
2012-03-24 01:57:09 +01:00
Mads Kiilerich
6c19f819e1 locale: move Virtual-Key Code definitions to virtual_key_codes.[ch]
Refactoring - no semantic changes.
2012-03-24 01:57:09 +01:00
Mads Kiilerich
faab56aae6 locale: introduce freerdp_keyboard_get_virtual_key_code_from_name
Refactoring - no semantic changes.
2012-03-24 01:57:09 +01:00
Mads Kiilerich
ab051e5cee 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.
2012-03-24 01:57:09 +01:00