Commit Graph

652 Commits

Author SHA1 Message Date
Marc-André Moreau
ae6f331570 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-05-25 18:45:12 -04:00
Marc-André Moreau
337bcf7605 winpr: fix compilation on Windows 2012-05-25 16:42:35 -04:00
Marc-André Moreau
138321bc2f libwinpr-bcrypt: started stubbing bcrypt api 2012-05-25 16:01:18 -04:00
Marc-André Moreau
cdd610ee12 libwinpr-sspi: remove libfreerdp-crypto dependency 2012-05-25 14:03:56 -04:00
Marc-André Moreau
6379cc628b libwinpr-utils: started replacement stream utils 2012-05-25 03:24:42 -04:00
Marc-André Moreau
b70683af9e libwinpr-sspi: move NLA code out of CredSSP module 2012-05-25 01:50:46 -04:00
Marc-André Moreau
add1319ee6 libwinpr-sspi: start new winpr utility library 2012-05-24 17:05:12 -04:00
Marc-André Moreau
f897159058 libwinpr-sspi: parse CredSSP plaintext credentials 2012-05-24 15:52:20 -04:00
Marc-André Moreau
2ff8a103d6 libwinpr-sspi: fix server-side NTLM signing and sealing 2012-05-24 15:19:11 -04:00
Vic Lee
e50983fdff dsp: add MS ADPCM codec. 2012-05-24 23:09:30 +08:00
Vic Lee
052f841d7f server: add rdpsnd server channel library. 2012-05-24 14:03:21 +08:00
Marc-André Moreau
d57e879d7c libwinpr-sspi: start using Heap functions 2012-05-23 03:58:47 -04:00
Marc-André Moreau
5207d65c2a libwinpr-crt: implement unicode functions 2012-05-23 01:49:21 -04:00
Vic Lee
95f5e1156e libfreerdp-core/server: do not force encryption for local unix connection. 2012-05-22 23:21:09 +08:00
Vic Lee
ada9936a66 libfreerdp-core/server: add local flag for unix connection. 2012-05-22 23:10:52 +08:00
Vic Lee
20f038581b libfreerdp-core: add client unix domain socket. 2012-05-22 22:37:01 +08:00
Vic Lee
f4c8ebf13f libfreerdp-core: add server unix domain socket. 2012-05-22 18:53:11 +08:00
Marc-André Moreau
a09dbbd671 libwinpr-sspi: cleanup headers and structure 2012-05-21 22:48:33 -04:00
Marc-André Moreau
c4ec4ae1d5 libwinpr-registry: initial stubs 2012-05-21 22:34:42 -04:00
Marc-André Moreau
fbcce67cd8 libwinpr-crt: expand string functions 2012-05-21 22:04:14 -04:00
Marc-André Moreau
90dcef3178 libwinpr-sspi: fix data type warnings 2012-05-21 21:08:04 -04:00
Marc-André Moreau
733fc24a48 libwinpr-sspi: data type cleanup 2012-05-21 20:39:45 -04:00
Marc-André Moreau
d3dc1c780d wfreerdp: fix compilation 2012-05-21 16:01:24 -04:00
Marc-André Moreau
23cbda9468 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-05-20 17:04:28 -04:00
Vic Lee
4050944f6e server: implement frame acknowledge PDU. 2012-05-11 16:35:11 +08:00
Vic Lee
4a6c5a72c4 libfreerdp-core: implement frame acknowledge. 2012-05-11 15:34:51 +08:00
Vic Lee
c9ad01ea55 dsp: rewrite api to reduce memory allocations. 2012-05-09 16:15:23 +08:00
Marc-André Moreau
f142ac29d6 Merge pull request #581 from ArvidNorr/errorcode
Errorcode
2012-05-07 04:37:25 -07:00
Alexis Moinet
80ebc98bc8 fix compilation error in ndr.h (type redefinition)
include/winpr/ndr.h:201: error: redefinition of typedef ‘MIDL_STUB_MESSAGE’
include/winpr/ndr.h:199: note: previous declaration of ‘MIDL_STUB_MESSAGE’ was here
include/winpr/ndr.h:201: error: redefinition of typedef ‘PMIDL_STUB_MESSAGE’
include/winpr/ndr.h:199: note: previous declaration of ‘PMIDL_STUB_MESSAGE’ was here
2012-05-07 11:50:57 +02:00
Marc-André Moreau
813cf27ccd libwinpr-crt: initial commit 2012-05-05 22:09:08 -04:00
Marc-André Moreau
85eaf79239 cunit: fix compilation 2012-05-05 20:45:13 -04:00
Marc-André Moreau
24eb2f46fe libwinpr-rpc: fix compilation on Linux 2012-05-05 18:42:35 -04:00
Marc-André Moreau
bbae05685c libwinpr-rpc: split NDR implementation into multiple files 2012-05-04 21:50:32 -04:00
Marc-André Moreau
31f2fd3a8a libwinpr-sspi: rename from libfreerdp-sspi 2012-05-04 19:48:53 -04:00
Marc-André Moreau
e1e3f12114 winpr: move wtypes.h and windows.h 2012-05-04 19:36:35 -04:00
Marc-André Moreau
be1e7f8291 libwinpr-rpc: initial commit 2012-05-04 18:32:34 -04:00
Marc-André Moreau
95b6e2e04b libfreerdp-core: fix compilation on windows 2012-05-04 17:23:26 -04:00
Marc-André Moreau
8a877a8362 libfreerdp-core: start implementation of NdrComplexStruct* 2012-05-02 04:28:44 -04:00
Marc-André Moreau
a135206af9 libfreerdp-core: start implement NDR buffer size methods 2012-05-01 23:09:18 -04:00
Marc-André Moreau
84a8cb7dba libfreerdp-core: merge TSG changes with master 2012-04-28 15:56:26 -04:00
Marc-André Moreau
fa4d8fca1b urbrdc: initial USB redirection support, contributed by Atrust 2012-04-25 14:26:35 -04:00
Marc-André Moreau
97391dc782 libfreerdp-core: cleanup RTS header encoding 2012-04-19 15:43:20 -04:00
Marc-André Moreau
88b8380b4c libfreerdp-core: simplify HTTPS sending 2012-04-18 02:28:05 -04:00
Marc-André Moreau
fa7900d293 libfreerdp-core: start using HTTP utils for NTLM HTTP authentication 2012-04-16 16:21:46 -04:00
norrarvid
87932013c3 errorcodes.h added 2012-04-13 14:00:56 +02:00
norrarvid
86faf2d268 connect error codes added 2012-04-13 13:16:08 +02:00
Vic Lee
3a407c24b8 server: implement user-initiated disconnection sequence on server. 2012-04-13 15:58:28 +08:00
Marc-André Moreau
6e5a5a0fe5 include: update windows type definitions 2012-04-12 14:51:03 -04:00
Marc-André Moreau
c15f3c0112 wfreerdp: fix data alignment for MSVC 2012-04-02 20:56:59 -04:00
Marc-André Moreau
0d9e65ea06 libfreerdp-core: align rdpSettings structure to 8 bytes 2012-04-02 20:38:58 -04:00
Marc-André Moreau
b6af8cd206 libfreerdp-core: added MS-TSGU interface definitions 2012-03-31 21:32:13 -04:00
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
fb0d09080d libfreerdp-core: start separating HTTP encoding methods (TSG) 2012-03-28 15:07:57 -04:00
Marc-André Moreau
1743a9464f libfreerdp-core: add TSG to transport layer 2012-03-26 12:20:38 -04:00
Marc-André Moreau
7e3c9331ad libfreerdp-utils: add parsing of --tsg option 2012-03-26 03:04:47 -04:00
Marc-André Moreau
f5b91f0b84 libfreerdp-core: start integrating terminal server gateway code 2012-03-26 02:45:01 -04: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
Marc-André Moreau
dfb7ea3775 libfreerdp-auth: start using server-side NTLM module 2012-03-04 21:56:41 -05:00
Marc-André Moreau
506cca7abb libfreerdp-auth: CredSSP cleanup 2012-02-29 11:57:43 -05:00
Marc-André Moreau
63eb5b4d92 libfreerdp-auth: get rid of rdpBlob usage in CredSSP 2012-02-29 11:36:11 -05:00
Marc-André Moreau
99e05c1c64 libfreerdp-auth: remove old NTLMSSP code 2012-02-29 10:46:09 -05:00
Mads Kiilerich
15169d0314 introduce generic ARRAY_SIZE macro 2012-02-28 18:11:11 +01:00
Marc-André Moreau
ffda55e7f4 libfreerdp-auth: fix warnings on windows 2012-02-28 10:01:47 -05:00
LittleJawa
a5ff8916e1 Merge remote-tracking branch 'upstream/master' 2012-02-27 15:15:09 +01:00
Marc-André Moreau
46881e158a libfreerdp-auth: added QueryContextAttributes structure definitions 2012-02-26 23:41:59 -05:00
Julien Ropé
9546df9300 Merge remote-tracking branch 'upstream/master' 2012-02-25 22:03:37 +01:00
Julien Ropé
43360b0453 Adding new comments to xfreerdp.c, going down to the functions it calls in the core lib.
Continue adding comments to struct rdp_freerdp fields.
2012-02-25 21:55:59 +01:00
Marc-André Moreau
a30fbf3905 libfreerdp-auth: started FreeContextBuffer() 2012-02-24 15:00:49 -05:00
Norbert Federa
b224126cc7 Completed (almost) System Pointer Update (MS-RDPBCGR 2.2.9.1.1.4.3)
Todo:
- Windows client: wf_Pointer_SetNull and wf_Pointer_SetDefault are just skeletons like all the other wf_Pointer functions.
- DirectFB client: only df_Pointer_SetNull is implemented and tested
2012-02-24 13:44:23 +01:00
Marc-André Moreau
a99e21ad1f libfreerdp-auth: get first NTLM authentication token using SSPI 2012-02-23 21:26:00 -05:00
Marc-André Moreau
1e2b0be24a libfreerdp-auth: split NTLM package, implement AcquireCredentialsHandle 2012-02-23 15:56:50 -05:00
LittleJawa
3e919f7a40 Merge remote-tracking branch 'upstream/master' 2012-02-23 16:57:29 +01:00
LittleJawa
37b35b3558 First round of comments while reading the code. 2012-02-23 16:22:05 +01:00
Marc-André Moreau
545c8857e3 libfreerdp-auth: start implementing package management API 2012-02-22 23:41:22 -05:00
maelnor
61010feae8 Fix header files installation 2012-02-22 13:17:59 +04:00
Marc-Andr Moreau
60aac7aea3 wfreerdp: fix windows compilation 2012-02-20 21:56:55 -08:00
Marc-André Moreau
60f79f910d libfreerdp-auth: stub more SSPI API 2012-02-20 17:33:21 -05:00
Marc-André Moreau
0467f7c88f libfreerdp-auth: stubbed more of SSPI 2012-02-20 17:04:45 -05:00
Marc-André Moreau
40c79b01c7 libfreerdp-auth: started stubbing SSPI 2012-02-20 16:17:57 -05:00
Marc-André Moreau
2152db9eb4 libfreerdp-locale: move time zone detection code 2012-02-19 21:08:12 -05:00
Marc-André Moreau
ed93d939f0 libfreerdp-locale: improved locale detection API 2012-02-19 20:48:04 -05:00
Marc-André Moreau
e85bfb4fd4 libfreerdp-locale: refactoring of XKB-based detection 2012-02-19 20:24:06 -05:00
Marc-André Moreau
46e3343232 libfreerdp-locale: refactoring of XKB dynamic mapping 2012-02-19 17:36:39 -05:00
Marc-André Moreau
a932835f44 libfreerdp-auth: resolve cyclic dependency with libfreerdp-core 2012-02-19 12:50:30 -05:00
Marc-André Moreau
0e861b1bcb libfreerdp-locale: refactoring of locale detection code 2012-02-18 23:36:48 -05:00
Marc-André Moreau
94900c7836 libfreerdp-locale: merging keyboard headers 2012-02-18 23:08:17 -05:00
Marc-André Moreau
4af3ecd4cd libfreerdp-locale: refactoring step 1 2012-02-18 22:04:28 -05:00
Marc-André Moreau
61da01973d libfreerdp-locale: rename from libfreerdp-kbd, will contain all localization code 2012-02-17 17:43:00 -05:00
Marc-André Moreau
8cab067498 libfreerdp-auth: move authentication code out of libfreerdp-core 2012-02-17 17:12:21 -05:00
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00
Marc-André Moreau
06330a7cb3 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-13 17:51:56 -05:00
Marc-André Moreau
708ba9bd03 libfreerdp-core: expanded input API 2012-02-13 17:51:42 -05:00
Marc-André Moreau
e22023cc76 libfreerdp-cache: start NineGrid cache 2012-02-12 20:29:33 -05:00
Marc-André Moreau
46e9eeb695 xfreerdp: added support for Mem3Blt 2012-02-12 18:12:28 -05:00
Marc-André Moreau
f7a71079dd xfreerdp: reintroduce Polygon drawing 2012-02-12 17:14:59 -05:00
Marc-André Moreau
5617af901a libfreerdp-gdi: add PatBlt DPa operation 2012-02-12 15:21:08 -05:00
Pawel Jakub Dawidek
957bad3d52 Rename secure_checksum settings field to salted_checksum (the same for --secure-checksum flag) to match ENC_SALTED_CHECKSUM flag's name. 2012-02-10 20:33:07 +01:00
Marc-André Moreau
7a6c813fcf libfreerdp-utils: extend plugin utils 2012-02-09 19:48:52 -05:00
Marc-André Moreau
aaaafcc4b7 libfreerdp-utils: improve freerdp_load_plugin 2012-02-09 17:48:30 -05:00
Marc-André Moreau
549faa6d87 libfreerdp-gdi: optimize line drawing 2012-02-08 22:34:37 -05:00
Pawel Jakub Dawidek
1fa1331a54 Modify the UnicodeKeyboardEvent callback to also include flags argument.
According to the specification first two bytes contain keyboardFlags.
Those keyboardFlags are a bit different than in the regular (non-unicode)
Keyboard Event. There is no KBD_FLAGS_EXTENDED here and also when
key is pressed there is neither KBD_FLAGS_DOWN nor KBD_FLAGS_RELEASE flag
set. When key is released the KBD_FLAGS_RELEASE flag is set.
2012-02-07 12:22:01 +01:00
Pawel Jakub Dawidek
b75b5eb8a1 After DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to disconnect.
Handle such condition and exit from xfreerdp gracefully (almost, exit status is still != 0).
2012-02-06 23:10:45 +01:00