Commit Graph

595 Commits

Author SHA1 Message Date
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
Marc-André Moreau
47de99062d libfreerdp-core: added --certificate-name option for explicitly specifying a certificate name 2012-02-04 15:16:41 -05:00
Marc-André Moreau
521f956c00 libfreerdp-core: merging certificate.c with certstore.c 2012-02-02 18:20:17 -05:00
Marc-André Moreau
26d68997eb Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-02 17:36:16 -05:00
Marc-André Moreau
bae5de89e1 libfreerdp-utils: refactoring of certificate store 2012-02-02 17:36:07 -05:00
Pawel Jakub Dawidek
770dbc11c5 Remove the "extended" flag from VK_DIVIDE. It was breaking '?' in my environment. 2012-02-02 23:21:10 +01:00
Marc-André Moreau
b4e542ba46 libfreerdp-core: fix multiple memory leaks detected by valgrind 2012-02-01 18:42:20 -05:00
Marc-André Moreau
413fc774c5 Merge pull request #378 from adambprotiviti/redir-pw-fix
Fixed RDS Farm Redirection
2012-01-30 22:55:37 -08:00
Adam Brand
4aeb52aace First attempt at fixing the password issue; this segfaults unfortunately. 2012-01-30 17:54:46 -08:00
Marc-André Moreau
603e600bdb xfreerdp-server: add better path detection support for finding server keys 2012-01-30 20:35:33 -05:00
Marc-André Moreau
e33f21b958 libfreerdp-utils: extend file utils to do path detection 2012-01-30 17:47:55 -05:00
Marc-André Moreau
faae95185f libfreerdp-core: defined boolean as int on windows 2012-01-30 10:18:33 -05:00
Bernhard Miklautz
06c79294ca Fix for issue #374. 2012-01-30 12:05:50 +01:00
Marc-André Moreau
005ffa0bb0 wfreerdp: fix mingw64 cross-compilation (Felix Wolfheimer) 2012-01-29 11:11:13 -05:00
Pawel Jakub Dawidek
f49ea9853e Add fields to store RSA key for server-side Standard RDP Security. 2012-01-25 17:16:44 +01:00
Pawel Jakub Dawidek
68b9f65e87 Add --secure-checksum option that will enable usage of salted checksums
with Standard RDP encryption.
2012-01-25 17:14:58 +01:00
Dorian Johnson
8edb7d3efa Change freerdp_parse_args to return different values for error vs --help/--version, and change xfreerdp to only report real errors 2012-01-14 15:30:48 -06:00
Marc-André Moreau
0c9db6a40a libfreerdp-core: pad larger portion of rdpSettings 2012-01-14 14:42:36 -05:00
Marc-André Moreau
3f91e24a4d libfreerdp-core: added freerdp_get_version() 2012-01-14 13:33:04 -05:00
Marc-André Moreau
c7cc745575 libfreerdp-codec: add freerdp_convert_color_var() 2012-01-09 18:45:36 -05:00
Marc-André Moreau
843ab55223 xfreerdp-server: add server-side keyboard mapping 2012-01-08 20:32:50 -05:00
Marc-André Moreau
5f28591d3a libfreerdp-cache: apply bitmap cache v1 patch from Pawel Jakub Dawidek 2012-01-04 20:17:11 -05:00
Marc-André Moreau
9dff0cd7f5 libfreerdp-core: clarification of bitmap decompression 2012-01-03 18:22:42 -05:00
Marc-André Moreau
3a3db9f20c libfreerdp-core: improve handling of create offscreen bitmap delete list indices 2011-12-31 15:36:04 -05:00
Marc-André Moreau
2d34a62ce8 libfreerdp-codec: fix color conversion issues for OpaqueRect with --gdi sw,hw 2011-12-30 10:00:03 -05:00
Vic Lee
0975b4555c libfreerdp-core: move os type settings to the client.
Moving the osMajorType and osMinorType settings to the client so that the
client can set a real os type constant. This will give a more useful hint
to the server.
2011-12-24 15:48:33 +08:00
David Sundstrom
622375cef2 Detect when sever visual has an inverted color map and invert all color conversions.
Remote spurious printf() in code
2011-12-21 17:00:09 -06:00
louyihua
95b03f96ef libfreerdp-core: avoid macro redefinition under win32 2011-12-21 08:48:13 +08:00
Marc-André Moreau
15a2567e87 libfreerdp-core: handle omission of bitmap compression header 2011-12-19 20:31:37 -05:00
Marc-André Moreau
30e8b63ab6 libfreerdp-core: fix sending of extended data blocks when supported only 2011-12-18 12:10:56 -05:00
Marc-André Moreau
5d1df8a342 libfreerdp-core: add connection type settings 2011-12-16 12:14:16 -05:00
Marc-André Moreau
338359eb36 libfreerdp-core: added more fine-tuned performance flag options 2011-12-16 12:04:09 -05:00
Marc-André Moreau
0ed4709167 libfreerdp-core: add server-side capabilities callback 2011-12-14 15:08:09 -05:00
Marc-André Moreau
f8a4b21979 Merge pull request #271 from filofel/711f4b2202bc866458fefa71c18ade80cf88ce61
Long due changes in color.h, color.c, bitmap.c
2011-12-12 07:06:26 -08:00
Marc-André Moreau
654600dc91 Merge pull request #270 from llyzs/wtsvc
Server virtual channel API
2011-12-12 07:05:33 -08:00
Vic Lee
f3c06defb1 libfreerdp-utils/wait_obj: add attached wait_obj type. 2011-12-12 22:36:11 +08:00
Vic Lee
d3fc3ff2e6 wtsvc: implement channel reading. 2011-12-12 22:34:59 +08:00
Philippe Auphelle
711f4b2202 Refactored bitmap_flip in bitmap.c to use freerdp_bitmap_flip in color.c. Added in place "bitmap flip" in freerdp_bitmap_flip, changed bitmap_decompress (in bitmap.c) to use it. 2011-12-12 14:41:31 +01:00
Vic Lee
228ebb83cd wtsvc: implement channel writing. 2011-12-12 18:16:49 +08:00
Marc-André Moreau
fcd03260d6 xfreerdp: added select() timeout 2011-12-11 18:05:32 -05:00
Vic Lee
3b3c27648d wtsvc: add public API. 2011-12-11 19:50:26 +08:00
Vic Lee
703e253e9f libfreerdp-core: add channel data sending/receiving for server. 2011-12-10 16:41:29 +08:00
Marc-André Moreau
904a9a7c6a xfreerdp: add -X option for reparenting window 2011-12-09 13:53:19 -05:00
Marc-André Moreau
a50ef84c21 wfreerdp: fix compilation and warnings 2011-12-03 17:24:18 -05:00
bluebird
a40f5c1718 xfreerdp, wfreerdp: Add -T option to set window title 2011-12-02 15:58:38 +01:00
Mike Gilbert
7646b86a69 libfreerdp-kbd: Add static const to layout/variant tables. 2011-11-30 18:51:29 -05:00
Marc-André Moreau
28cc3c6f11 ntlmssp: add command-line option to enabled WIP enhanced NTLMv2 security 2011-11-29 18:12:42 -05:00
Marc-André Moreau
af6e914cf3 update: modify surface frame marker callback 2011-11-25 11:30:15 -05:00
Marc-André Moreau
b40ce40449 Merge pull request #223 from ydal/patch-9
dfreerdp : support VK_KANA / VK_HANGUL and VK_HANJA / VK_KANJI
2011-11-25 07:09:38 -08:00
Marc-André Moreau
afd2569be0 Merge pull request #225 from nfedera/framemarkerupdate
core: add update callback for the surface frame marker command
2011-11-25 07:08:37 -08:00
Norbert Federa
c918cfb7af codec: support for specifying the RemoteFX mode (image or video) 2011-11-25 13:09:16 +01:00
Norbert Federa
c2514dbcae core: add update callback for the surface frame marker command
- clients will need this to present the offscreen to the display
  in the correct state in order to avoid flickering and artefacts
  and to do frame acknowledgement.

- added empty callback to xfreerdp.
2011-11-25 11:48:51 +01:00
ydal
6ebd4b2f6e Update include/freerdp/kbd/vkcodes.h 2011-11-25 19:41:06 +09:00
Jay Sorg
b32ea1b77e got fast index and fast glyph working 2011-11-24 15:32:49 -08:00
Vic Lee
d778564a52 include: config.h is private and should not be included in public API. 2011-11-24 19:36:52 +08:00
Jay Sorg
a5f878b536 got GLYPH_INDEX working 2011-11-23 13:11:28 -08:00
Martin Fleisz
ee43bf7b58 Added config.h include to types.h, removed useless code in rfx_neon 2011-11-23 04:20:06 -08:00
Marc-André Moreau
8fba5fb0af cache: pad and stabilize caching modules 2011-11-21 22:28:01 -05:00