Commit Graph

484 Commits

Author SHA1 Message Date
Mads Kiilerich
5ada0a43ec codec: export mppc functions so it can be build on windows 2012-03-30 23:28:07 +02:00
Marc-André Moreau
f2ec024d51 Merge pull request #519 from kiilerix/master
build fixes
2012-03-30 08:34:13 -07:00
Jay Sorg
6aa7eaf627 mppc: moved to libfreerdp-codec 2012-03-29 20:57:26 -07: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
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
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
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
Marc-André Moreau
92a988b2de libfreerdp-sspi: avoid conflicting definitions when NATIVE_SSPI is on 2012-03-23 18:53:10 -04:00
Mads Kiilerich
528422b1fa util windows.h: include winsock2.h before windows.h
That seems to be the right way to do it ...
2012-03-21 23:15:46 +01:00
Mads Kiilerich
dc32388e50 reduce the use of windows.h in header files
--HG--
extra : rebase_source : 3d15968fcc5255e99a7343aeef2b2a79d71c6704
2012-03-21 23:13:35 +01:00
Mads Kiilerich
5c718a3948 types.h: windows can have stdbool.h too but still don't like "typedef int boolean"
--HG--
extra : rebase_source : f472822b40a21f4c375782c3c71bcfbdde672207
2012-03-21 20:46:57 +01:00
Marc-André Moreau
c71f5206aa Merge pull request #506 from llyzs/nsc
NSCodec encoder
2012-03-19 21:09:24 -07:00
Marc-André Moreau
76dedc59bf libfreerdp-sspi: fix server-side NTLM session key generation 2012-03-18 22:02:23 -04:00
Marc-André Moreau
a89bd5cec3 libfreerdp-sspi: NTLM server-side pubKeyAuth sending 2012-03-18 20:08:05 -04:00
Marc-André Moreau
4d665b116d xfreerdp-server: set TCP_NODELAY 2012-03-18 13:13:34 -04:00
Vic Lee
15baa1bbb4 nsc: implement nsc encoder. 2012-03-18 16:34:39 +08:00
Vic Lee
774cb53e61 nsc: add encoder API. 2012-03-16 12:04:38 +08:00
Marc-André Moreau
40357d2c31 libfreerdp-sspi: fix unit tests 2012-03-15 20:48:38 -04:00
Marc-André Moreau
0ce80de586 libfreerdp-sspi: refactor structure names 2012-03-15 20:37:38 -04:00
Vic Lee
32d7afc7b7 nsc: add pixel format API. 2012-03-15 16:55:29 +08:00
Vic Lee
b74d324592 rfx: rename pixel format constants. 2012-03-13 19:02:19 +08:00
Vic Lee
d1b32a73f7 core: register audio device only if plugins are registered. 2012-03-13 17:05:14 +08:00
Otavio Salvador
49c1855013 Merge pull request #496 from littlejawa/master
Adding comments
2012-03-12 10:10:18 -07:00
Julien Ropé
b928f6844e Missed comment starting format for doxygen in rdp_context structure 2012-03-12 14:45:11 +01:00
Julien Ropé
23ce03b8bd Continue documenting the freerdp.h file 2012-03-12 14:45:11 +01:00
Julien Ropé
9fbbadb7cd Completing rdp_freerdp structure's documentation 2012-03-12 14:45:11 +01:00
Vic Lee
ec9ca3e35f include: move config.h into private headers. 2012-03-12 19:14:56 +08:00
Marc-André Moreau
98514568d6 Merge pull request #485 from llyzs/nsc
NSCodec decoder improvement
2012-03-06 19:46:32 -08:00
Marc-André Moreau
c0fcf6a273 wfreerdp: fix compilation 2012-03-06 15:30:24 -05:00
Marc-André Moreau
3d112b116c libfreerdp-utils: added GeneralizedTime parser 2012-03-06 15:12:26 -05:00
Marc-André Moreau
6af090c55e libfreerdp-utils: added TCP utils 2012-03-06 14:41:07 -05:00
Vic Lee
20de74d811 nsc: refactor nsc decoder #4
o move private struct to nsc_types.h
o move nsc_decode() function in nsc_context as pointer
2012-03-06 22:41:16 +08:00
Marc-André Moreau
f380a5a9a7 libfreerdp-utils: added time utils 2012-03-06 09:23:59 -05:00
Marc-André Moreau
00260707b3 libfreerdp-utils/stream: fix stream_read_uint32_be 2012-03-06 08:48:55 -05:00
Vic Lee
d2153e9ef2 nsc: refactor nsc decoder #3
o combine colorloss recovery, chroma supersampling and color space conversion
  in one step
o define private struct and hide the internal buffer
o make internal buffer reusable in the same session
2012-03-06 18:52:28 +08:00
Marc-André Moreau
6c9ae5ddad wfreerdp: fix portability issues 2012-03-05 21:04:42 -05:00
Marc-André Moreau
6ed928f362 libfreerdp-sspi: fix headers 2012-03-05 17:23:22 -05:00
Marc-André Moreau
6582dd3ebf libfreerdp-auth: integrate Kerberos code from Jiten Pathy 2012-03-05 16:57:25 -05:00
Marc-André Moreau
386d815969 libfreerdp-crypto: integrate DER code from Jiten Pathy 2012-03-05 15:45:54 -05:00
Vic Lee
0c0dd5df10 nsc: refactor nsc decoder #2
o Change nsc_stream member to be static
o Rename some variables
o Planes member (originally pdata) does not need to be STREAM
2012-03-05 18:34:29 +08:00
Vic Lee
3fa2c4830e nsc: refactor nsc decoder #1
o the decoded argb buffer can be reused to enhance performance
o pass width, height and bpp through nsc_process_message() call
o rename nsc_context_destroy to nsc_context_free and make it actually free the context
2012-03-05 17:32:14 +08:00