platform/upstream/freerdp.git
12 years agolocale: clarify internally what is xkbfile and what is xkb
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

12 years agolocale: move Virtual-Key Code definitions to virtual_key_codes.[ch]
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.

12 years agolocale: introduce freerdp_keyboard_get_virtual_key_code_from_name
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.

12 years agocore: reset crypto key counters when the keys are initialized
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.

12 years agolibfreerdp-sspi: avoid conflicting definitions when NATIVE_SSPI is on
Marc-André Moreau [Fri, 23 Mar 2012 22:53:10 +0000 (18:53 -0400)]
libfreerdp-sspi: avoid conflicting definitions when NATIVE_SSPI is on

12 years agowfreerdp: fix compilation warnings
Marc-André Moreau [Fri, 23 Mar 2012 22:26:03 +0000 (18:26 -0400)]
wfreerdp: fix compilation warnings

12 years agocmake: fix linker flags on Mac OS X
Marc-André Moreau [Fri, 23 Mar 2012 00:37:05 +0000 (20:37 -0400)]
cmake: fix linker flags on Mac OS X

12 years agoMerge pull request #511 from kiilerix/master
Marc-André Moreau [Thu, 22 Mar 2012 20:43:55 +0000 (13:43 -0700)]
Merge pull request #511 from kiilerix/master

various polishing

12 years agoupdate rpm spec, align it more with the Fedora rpm spec
Mads Kiilerich [Thu, 22 Mar 2012 20:37:47 +0000 (21:37 +0100)]
update rpm spec, align it more with the Fedora rpm spec

12 years agox: tell politely why xfreerdp is closing without making it look like an error
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

12 years agox: improve debugging of X events
Mads Kiilerich [Thu, 22 Mar 2012 20:30:15 +0000 (21:30 +0100)]
x: improve debugging of X events

12 years agocore: tweak rdp debugging
Mads Kiilerich [Thu, 22 Mar 2012 13:34:08 +0000 (14:34 +0100)]
core: tweak rdp debugging

12 years agocmake: remove unused configuration options
Mads Kiilerich [Thu, 22 Mar 2012 12:33:54 +0000 (13:33 +0100)]
cmake: remove unused configuration options

12 years agocmake: add missing debug options WITH_DEBUG_NTLM WITH_DEBUG_RDP
Mads Kiilerich [Thu, 22 Mar 2012 12:33:51 +0000 (13:33 +0100)]
cmake: add missing debug options WITH_DEBUG_NTLM WITH_DEBUG_RDP

12 years agocmake: cleanup of debug options, sort the list
Mads Kiilerich [Thu, 22 Mar 2012 12:33:01 +0000 (13:33 +0100)]
cmake: cleanup of debug options, sort the list

12 years agoMerge pull request #509 from kiilerix/master
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

12 years agoutil windows.h: include winsock2.h before windows.h
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 ...

12 years agocmake: don't try to detect OpenSSL if OPENSSL_INCLUDE_DIR and OPENSSL_LIBRARIES are...
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

12 years agoreduce the use of windows.h in header files
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

12 years agoMerge pull request #508 from pjd/fixes
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.

12 years agoFix 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.

12 years agotypes.h: windows can have stdbool.h too but still don't like "typedef int boolean"
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

12 years agocmake: default to build shared libs - don't enforce it
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

12 years agolibfreerdp-core: hook up mppc compressor to fastpath packets
Jay Sorg [Tue, 20 Mar 2012 17:03:36 +0000 (10:03 -0700)]
libfreerdp-core: hook up mppc compressor to fastpath packets

12 years agoMerge pull request #507 from pjd/fixes
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.

12 years agoCompilation fixes for FreeBSD.
Pawel Jakub Dawidek [Tue, 20 Mar 2012 13:26:42 +0000 (14:26 +0100)]
Compilation fixes for FreeBSD.

12 years agoMerge pull request #506 from llyzs/nsc
Marc-André Moreau [Tue, 20 Mar 2012 04:09:24 +0000 (21:09 -0700)]
Merge pull request #506 from llyzs/nsc

NSCodec encoder

12 years agomppc bulk compressor
Jay Sorg [Mon, 19 Mar 2012 06:02:13 +0000 (23:02 -0700)]
mppc bulk compressor

12 years agolibfreerdp-sspi: reached functional server-side NLA level (authenticates, doesn't...
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)

12 years agolibfreerdp-sspi: fix server-side NTLM session key generation
Marc-André Moreau [Mon, 19 Mar 2012 02:02:23 +0000 (22:02 -0400)]
libfreerdp-sspi: fix server-side NTLM session key generation

12 years agolibfreerdp-sspi: move AV_PAIRs into separate file
Marc-André Moreau [Mon, 19 Mar 2012 00:30:20 +0000 (20:30 -0400)]
libfreerdp-sspi: move AV_PAIRs into separate file

12 years agolibfreerdp-sspi: NTLM server-side pubKeyAuth sending
Marc-André Moreau [Mon, 19 Mar 2012 00:08:05 +0000 (20:08 -0400)]
libfreerdp-sspi: NTLM server-side pubKeyAuth sending

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sun, 18 Mar 2012 22:14:35 +0000 (18:14 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agolibfreerdp-sspi: improve server-side NTLM message parsing
Marc-André Moreau [Sun, 18 Mar 2012 22:14:20 +0000 (18:14 -0400)]
libfreerdp-sspi: improve server-side NTLM message parsing

12 years agolibfreerdp-core: fix for cursor hot spot out of range
Jay Sorg [Sun, 18 Mar 2012 19:34:08 +0000 (12:34 -0700)]
libfreerdp-core: fix for cursor hot spot out of range

12 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sun, 18 Mar 2012 17:13:48 +0000 (13:13 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

12 years agoxfreerdp-server: set TCP_NODELAY
Marc-André Moreau [Sun, 18 Mar 2012 17:13:34 +0000 (13:13 -0400)]
xfreerdp-server: set TCP_NODELAY

12 years agonsc: add SSE2 optimization for nsc encoder.
Vic Lee [Sun, 18 Mar 2012 15:25:07 +0000 (23:25 +0800)]
nsc: add SSE2 optimization for nsc encoder.

12 years agonsc: add nsc encoder to test server.
Vic Lee [Sun, 18 Mar 2012 08:36:38 +0000 (16:36 +0800)]
nsc: add nsc encoder to test server.

12 years agonsc: implement nsc encoder.
Vic Lee [Sun, 18 Mar 2012 04:02:28 +0000 (12:02 +0800)]
nsc: implement nsc encoder.

12 years agoMerge pull request #504 from kiilerix/master
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

12 years agocore: terminate redirect cookies correctly
Mads Kiilerich [Fri, 16 Mar 2012 19:47:34 +0000 (20:47 +0100)]
core: terminate redirect cookies correctly

12 years agoMerge pull request #503 from kiilerix/master
Marc-André Moreau [Fri, 16 Mar 2012 17:36:36 +0000 (10:36 -0700)]
Merge pull request #503 from kiilerix/master

valgrind cleanups

12 years agordp redirect: do the necessary layering violation to avoid leaks
Mads Kiilerich [Fri, 16 Mar 2012 17:12:49 +0000 (18:12 +0100)]
rdp redirect: do the necessary layering violation to avoid leaks

12 years agocore/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)]
core/redirect: be aware that transport used in transport_check_fds might become invalid

12 years agosspi/nla: implement ntlm_DeleteSecurityContext and start using ntlm_ContextFree to...
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

12 years agosspi/nla: plug credssp leaks
Mads Kiilerich [Fri, 16 Mar 2012 17:12:48 +0000 (18:12 +0100)]
sspi/nla: plug credssp leaks

12 years agocore: free polyline and polygon_sc points
Mads Kiilerich [Fri, 16 Mar 2012 17:12:48 +0000 (18:12 +0100)]
core: free polyline and polygon_sc points

12 years agox: clean up after xf_pre_connect if connection fails, and free instance where it...
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"

12 years agox: avoid leak by waiting for thread to finish before detaching
Mads Kiilerich [Fri, 16 Mar 2012 15:42:56 +0000 (16:42 +0100)]
x: avoid leak by waiting for thread to finish before detaching

12 years agox: free bitmap_mono
Mads Kiilerich [Fri, 16 Mar 2012 15:42:45 +0000 (16:42 +0100)]
x: free bitmap_mono

12 years agox: please valgrind by initializing structure passed to X through writev
Mads Kiilerich [Fri, 16 Mar 2012 14:45:14 +0000 (15:45 +0100)]
x: please valgrind by initializing structure passed to X through writev

12 years agonsc: add encoder API.
Vic Lee [Fri, 16 Mar 2012 04:04:38 +0000 (12:04 +0800)]
nsc: add encoder API.

12 years agolibfreerdp-sspi: fix unit tests
Marc-André Moreau [Fri, 16 Mar 2012 00:48:38 +0000 (20:48 -0400)]
libfreerdp-sspi: fix unit tests

12 years agolibfreerdp-sspi: refactor structure names
Marc-André Moreau [Fri, 16 Mar 2012 00:37:38 +0000 (20:37 -0400)]
libfreerdp-sspi: refactor structure names

12 years agonsc: add pixel format API.
Vic Lee [Thu, 15 Mar 2012 08:55:29 +0000 (16:55 +0800)]
nsc: add pixel format API.

12 years agoMerge pull request #499 from nfedera/xvfix1
Marc-André Moreau [Wed, 14 Mar 2012 18:16:30 +0000 (11:16 -0700)]
Merge pull request #499 from nfedera/xvfix1

X11/tsmf: Fixed XShmCreateImage BadMatch crashes

12 years agoMerge pull request #497 from llyzs/nsc
Marc-André Moreau [Wed, 14 Mar 2012 18:16:02 +0000 (11:16 -0700)]
Merge pull request #497 from llyzs/nsc

Rename pixel format constants and move to constants.h

12 years agoX11/tsmf: Fixed XShmCreateImage BadMatch crashes
Norbert Federa [Tue, 13 Mar 2012 16:32:59 +0000 (17:32 +0100)]
X11/tsmf: Fixed XShmCreateImage BadMatch crashes

There was not check if the pixformat supplied in the XShmCreateImage function
was actually supported by the X-Video extension. Also reduced the amount of
xf_tsmf_is_format_supported calls in xf_process_tsmf_video_frame_event.

12 years agorfx: rename pixel format constants.
Vic Lee [Tue, 13 Mar 2012 11:02:19 +0000 (19:02 +0800)]
rfx: rename pixel format constants.

12 years agocore: register audio device only if plugins are registered.
Vic Lee [Tue, 13 Mar 2012 09:05:14 +0000 (17:05 +0800)]
core: register audio device only if plugins are registered.

12 years agoX11/tsmf: use clipping if XV overlay does not support colorkey.
Vic Lee [Tue, 13 Mar 2012 07:34:45 +0000 (15:34 +0800)]
X11/tsmf: use clipping if XV overlay does not support colorkey.

12 years agoMerge pull request #496 from littlejawa/master
Otavio Salvador [Mon, 12 Mar 2012 17:10:18 +0000 (10:10 -0700)]
Merge pull request #496 from littlejawa/master

Adding comments

12 years agoMissed comment starting format for doxygen in rdp_context structure
Julien Ropé [Thu, 1 Mar 2012 21:31:06 +0000 (22:31 +0100)]
Missed comment starting format for doxygen in rdp_context structure

12 years agoContinue documenting the freerdp.h file
Julien Ropé [Thu, 1 Mar 2012 21:06:03 +0000 (22:06 +0100)]
Continue documenting the freerdp.h file

12 years agoCompleting rdp_freerdp structure's documentation
Julien Ropé [Tue, 28 Feb 2012 13:26:03 +0000 (14:26 +0100)]
Completing rdp_freerdp structure's documentation

12 years agoinclude: move config.h into private headers.
Vic Lee [Mon, 12 Mar 2012 11:14:56 +0000 (19:14 +0800)]
include: move config.h into private headers.

12 years agoMerge pull request #491 from nfedera/osxfix1
Marc-André Moreau [Sat, 10 Mar 2012 14:25:38 +0000 (06:25 -0800)]
Merge pull request #491 from nfedera/osxfix1

channels/rdpdr/disk: fix os x compilation issues

12 years agochannels/rdpdr/disk: fix os x compilation issues
Norbert Federa [Sat, 10 Mar 2012 13:38:47 +0000 (14:38 +0100)]
channels/rdpdr/disk: fix os x compilation issues

os x does not need/have stat/lseek/open/64 and O_LARGEFILE

12 years agochannels/rdpdr/disk: fix stat64 references to STAT
Marc-André Moreau [Fri, 9 Mar 2012 17:00:56 +0000 (12:00 -0500)]
channels/rdpdr/disk: fix stat64 references to STAT

12 years agoMerge pull request #490 from Nigel62/master
Marc-André Moreau [Fri, 9 Mar 2012 15:27:28 +0000 (07:27 -0800)]
Merge pull request #490 from Nigel62/master

RDPDR: Disk Redirection unable to handle files > 2GB

12 years agoFix for issue #487. RDPDR Disk Redirection: Cannot handle files > 2GB
Nigel Reeves [Fri, 9 Mar 2012 10:53:32 +0000 (10:53 +0000)]
Fix for issue #487. RDPDR Disk Redirection: Cannot handle files > 2GB

12 years agolibfreerdp-core: fix for mppc decompression without fastpath and multi data PDUs...
Jay Sorg [Fri, 9 Mar 2012 01:47:01 +0000 (17:47 -0800)]
libfreerdp-core: fix for mppc decompression without fastpath and multi data PDUs in one packet

12 years agoMerge pull request #485 from llyzs/nsc
Marc-André Moreau [Wed, 7 Mar 2012 03:46:32 +0000 (19:46 -0800)]
Merge pull request #485 from llyzs/nsc

NSCodec decoder improvement

12 years agonsc: use memcpy instead of loop.
Vic Lee [Wed, 7 Mar 2012 03:42:37 +0000 (11:42 +0800)]
nsc: use memcpy instead of loop.

12 years agonsc: allocate extra 16 bytes for output buffer in case of alignment.
Vic Lee [Wed, 7 Mar 2012 03:31:10 +0000 (11:31 +0800)]
nsc: allocate extra 16 bytes for output buffer in case of alignment.

12 years agowfreerdp: fix compilation
Marc-André Moreau [Tue, 6 Mar 2012 20:30:24 +0000 (15:30 -0500)]
wfreerdp: fix compilation

12 years agolibfreerdp-utils: added GeneralizedTime parser
Marc-André Moreau [Tue, 6 Mar 2012 20:12:26 +0000 (15:12 -0500)]
libfreerdp-utils: added GeneralizedTime parser

12 years agolibfreerdp-utils: added TCP utils
Marc-André Moreau [Tue, 6 Mar 2012 19:41:07 +0000 (14:41 -0500)]
libfreerdp-utils: added TCP utils

12 years agonsc: add profiler.
Vic Lee [Tue, 6 Mar 2012 14:42:57 +0000 (22:42 +0800)]
nsc: add profiler.

12 years agonsc: refactor nsc decoder #4
Vic Lee [Tue, 6 Mar 2012 12:06:08 +0000 (20:06 +0800)]
nsc: refactor nsc decoder #4

o move private struct to nsc_types.h
o move nsc_decode() function in nsc_context as pointer

12 years agolibfreerdp-utils: added time utils
Marc-André Moreau [Tue, 6 Mar 2012 14:23:59 +0000 (09:23 -0500)]
libfreerdp-utils: added time utils

12 years agolibfreerdp-utils/stream: fix stream_read_uint32_be
Marc-André Moreau [Tue, 6 Mar 2012 13:48:55 +0000 (08:48 -0500)]
libfreerdp-utils/stream: fix stream_read_uint32_be

12 years agonsc: add CUnit test.
Vic Lee [Tue, 6 Mar 2012 10:55:54 +0000 (18:55 +0800)]
nsc: add CUnit test.

12 years agonsc: refactor nsc decoder #3
Vic Lee [Tue, 6 Mar 2012 10:52:28 +0000 (18:52 +0800)]
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

12 years agowfreerdp: fix portability issues
Marc-André Moreau [Tue, 6 Mar 2012 02:04:42 +0000 (21:04 -0500)]
wfreerdp: fix portability issues

12 years agolibfreerdp-sspi: fix headers
Marc-André Moreau [Mon, 5 Mar 2012 22:23:22 +0000 (17:23 -0500)]
libfreerdp-sspi: fix headers

12 years agolibfreerdp-sspi: rename from libfreerdp-auth
Marc-André Moreau [Mon, 5 Mar 2012 22:11:15 +0000 (17:11 -0500)]
libfreerdp-sspi: rename from libfreerdp-auth

12 years agolibfreerdp-auth: integrate Negotiate security package from Jiten Pathy
Marc-André Moreau [Mon, 5 Mar 2012 22:03:49 +0000 (17:03 -0500)]
libfreerdp-auth: integrate Negotiate security package from Jiten Pathy

12 years agolibfreerdp-auth: integrate Kerberos code from Jiten Pathy
Marc-André Moreau [Mon, 5 Mar 2012 21:57:25 +0000 (16:57 -0500)]
libfreerdp-auth: integrate Kerberos code from Jiten Pathy

12 years agolibfreerdp-crypto: integrate DER code from Jiten Pathy
Marc-André Moreau [Mon, 5 Mar 2012 20:45:54 +0000 (15:45 -0500)]
libfreerdp-crypto: integrate DER code from Jiten Pathy

12 years agonsc: refactor nsc decoder #2
Vic Lee [Mon, 5 Mar 2012 10:34:29 +0000 (18:34 +0800)]
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

12 years agonsc: refactor nsc decoder #1
Vic Lee [Mon, 5 Mar 2012 09:32:14 +0000 (17:32 +0800)]
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

12 years agolibfreerdp-auth: start using server-side NTLM module
Marc-André Moreau [Mon, 5 Mar 2012 02:56:41 +0000 (21:56 -0500)]
libfreerdp-auth: start using server-side NTLM module

12 years agoMerge pull request #482 from absmall/master
Marc-André Moreau [Sun, 4 Mar 2012 23:16:24 +0000 (15:16 -0800)]
Merge pull request #482 from absmall/master

xfreerdp crashes when connecting to xfreerdp-server

12 years agoTest server requires RemoteFX, so make that explicit, instead of sending
Aaron Small [Sun, 4 Mar 2012 23:01:31 +0000 (18:01 -0500)]
Test server requires RemoteFX, so make that explicit, instead of sending
out corrupt updates to clients that do not.

12 years agoWhen a server sends an update where the bitmap data is insufficient to
Aaron Small [Sun, 4 Mar 2012 21:59:15 +0000 (16:59 -0500)]
When a server sends an update where the bitmap data is insufficient to
cover the area the server indicates in width and height, discard the
update instead of crashing.

12 years agoMerge pull request #481 from meosborne/d588e30a3873073e4ab76078ea27a61ada9922dd
Marc-André Moreau [Sat, 3 Mar 2012 19:09:55 +0000 (11:09 -0800)]
Merge pull request #481 from meosborne/d588e30a3873073e4ab76078ea27a61ada9922dd

Correct inaccurate colors on 16-bit X displays when using hardware gdi.

12 years agolibfreerdp-auth: minor fixes
Marc-André Moreau [Sat, 3 Mar 2012 18:02:13 +0000 (13:02 -0500)]
libfreerdp-auth: minor fixes

12 years agocorrect colors for 16-bit displays
Michael Osborne [Fri, 2 Mar 2012 22:49:52 +0000 (16:49 -0600)]
correct colors for 16-bit displays