Marc-André Moreau [Fri, 10 Feb 2012 00:48:52 +0000 (19:48 -0500)]
libfreerdp-utils: extend plugin utils
Marc-André Moreau [Thu, 9 Feb 2012 22:48:30 +0000 (17:48 -0500)]
libfreerdp-utils: improve freerdp_load_plugin
Marc-André Moreau [Thu, 9 Feb 2012 21:57:14 +0000 (16:57 -0500)]
libfreerdp-channels: refactoring
Marc-André Moreau [Thu, 9 Feb 2012 03:34:37 +0000 (22:34 -0500)]
libfreerdp-gdi: optimize line drawing
Marc-André Moreau [Thu, 9 Feb 2012 02:56:50 +0000 (21:56 -0500)]
libfreerdp-utils: fix file utils
Marc-André Moreau [Thu, 9 Feb 2012 02:44:22 +0000 (21:44 -0500)]
wfreerdp: fix RemoteFX
Marc-André Moreau [Thu, 9 Feb 2012 02:16:37 +0000 (21:16 -0500)]
wfreerdp: fix compilation and warnings
Marc-André Moreau [Wed, 8 Feb 2012 19:45:24 +0000 (14:45 -0500)]
libfreerdp-core: change source descriptor from MSTSC to FREERDP
Marc-André Moreau [Wed, 8 Feb 2012 15:29:11 +0000 (07:29 -0800)]
Merge pull request #408 from pjd/fixes
The fastpath header can be two or three bytes long. Check also for the latter case.
Pawel Jakub Dawidek [Wed, 8 Feb 2012 11:46:53 +0000 (12:46 +0100)]
Move the comment into correct place.
Pawel Jakub Dawidek [Wed, 8 Feb 2012 10:50:29 +0000 (11:50 +0100)]
The fastpath header can be two or three bytes long. Check also the latter case.
Marc-André Moreau [Wed, 8 Feb 2012 04:27:16 +0000 (20:27 -0800)]
Merge pull request #407 from hcgpalm/master
Fix info_packet misalignment
Marc-André Moreau [Wed, 8 Feb 2012 03:16:57 +0000 (22:16 -0500)]
libfreerdp-core: improve error checking in certificate validation
Otavio Salvador [Tue, 7 Feb 2012 13:01:53 +0000 (05:01 -0800)]
Merge pull request #404 from pjd/server_slow_path_input
Implement server-side support for slow-path Input Event PDU.
Otavio Salvador [Tue, 7 Feb 2012 13:00:49 +0000 (05:00 -0800)]
Merge pull request #403 from pjd/fixes
Modify the UnicodeKeyboardEvent callback to also include flags argument and simplify code by using per_read_length() instead of reimplementing it.
Pawel Jakub Dawidek [Tue, 7 Feb 2012 12:38:27 +0000 (13:38 +0100)]
Implement server-side support for slow-path Input Event PDU.
Pawel Jakub Dawidek [Tue, 7 Feb 2012 11:22:01 +0000 (12:22 +0100)]
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.
Pawel Jakub Dawidek [Tue, 7 Feb 2012 10:15:32 +0000 (11:15 +0100)]
Simplify code by using per_read_length() instead of reimplementing it.
Marc-André Moreau [Tue, 7 Feb 2012 02:31:27 +0000 (18:31 -0800)]
Merge pull request #402 from pjd/disconnect
Graceful exit.
Pawel Jakub Dawidek [Mon, 6 Feb 2012 21:37:18 +0000 (22:37 +0100)]
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).
Marc-André Moreau [Mon, 6 Feb 2012 21:42:47 +0000 (13:42 -0800)]
Merge pull request #401 from pjd/fixes
Better length checking and Windows XP fix.
Pawel Jakub Dawidek [Mon, 6 Feb 2012 21:34:16 +0000 (22:34 +0100)]
Windows XP can send short (and non-standard) DEACTIVATE_ALL PDUs. Handle them properly.
Pawel Jakub Dawidek [Mon, 6 Feb 2012 21:31:41 +0000 (22:31 +0100)]
Better packet length checking.
Christer Palm [Mon, 6 Feb 2012 00:27:21 +0000 (01:27 +0100)]
Fix password field length
Marc-André Moreau [Sat, 4 Feb 2012 23:18:54 +0000 (18:18 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sat, 4 Feb 2012 23:18:46 +0000 (18:18 -0500)]
xfreerdp-server: improve XShm encoding
Marc-André Moreau [Sat, 4 Feb 2012 20:16:41 +0000 (15:16 -0500)]
libfreerdp-core: added --certificate-name option for explicitly specifying a certificate name
Marc-André Moreau [Sat, 4 Feb 2012 20:04:03 +0000 (15:04 -0500)]
libfreerdp-core: improve and clarify certificate checking
Marc-André Moreau [Sat, 4 Feb 2012 07:21:49 +0000 (02:21 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Sat, 4 Feb 2012 07:21:39 +0000 (02:21 -0500)]
libfreerdp-core: added check for certificate name against hostname
Marc-André Moreau [Fri, 3 Feb 2012 23:07:43 +0000 (15:07 -0800)]
Merge pull request #397 from NiKiZe/master
Remove duplicate xfree in cliprdr_process_format_list
Christian Nilsson [Fri, 3 Feb 2012 23:04:41 +0000 (00:04 +0100)]
Fix duplicate xfree on format_name->name, shuld resolve Issue #387 and #395 ?
Marc-André Moreau [Fri, 3 Feb 2012 15:59:35 +0000 (07:59 -0800)]
Merge pull request #396 from celsius/master
remove redundant or useless (?) checks for NULL pointer
Marc-André Moreau [Fri, 3 Feb 2012 15:49:38 +0000 (07:49 -0800)]
Merge pull request #394 from pjd/fixes
Plug memory leak in case of an empty file and terminate string with '\0'.
Alexis Moinet [Fri, 3 Feb 2012 14:27:04 +0000 (15:27 +0100)]
remove redundant if(NULL) checks (already checked inside of cache_free and rail_free)
Besides "ptr=NULL; free(ptr);" does nothing so no need to check for NULL in xfree()
Pawel Jakub Dawidek [Fri, 3 Feb 2012 13:44:45 +0000 (14:44 +0100)]
Fix problem where we check errno even for status == 0. This way when connection was properly terminated, but errno had EAGAIN value from before, we looped idenfiniately.
Pawel Jakub Dawidek [Fri, 3 Feb 2012 08:00:39 +0000 (09:00 +0100)]
Plug memory leak in case of an empty file and terminate string with '\0'.
Marc-André Moreau [Thu, 2 Feb 2012 23:33:26 +0000 (18:33 -0500)]
libfreerdp-core: change certificate store directory name to match OpenSSL
Marc-André Moreau [Thu, 2 Feb 2012 23:20:02 +0000 (18:20 -0500)]
libfreerdp-core: merging certificate.c with certstore.c
Marc-André Moreau [Thu, 2 Feb 2012 22:36:16 +0000 (17:36 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 2 Feb 2012 22:36:07 +0000 (17:36 -0500)]
libfreerdp-utils: refactoring of certificate store
Marc-André Moreau [Thu, 2 Feb 2012 22:25:12 +0000 (14:25 -0800)]
Merge pull request #392 from pjd/fixes
Remove the "extended" flag from VK_DIVIDE. It was breaking '?' in my environment.
Pawel Jakub Dawidek [Thu, 2 Feb 2012 22:21:10 +0000 (23:21 +0100)]
Remove the "extended" flag from VK_DIVIDE. It was breaking '?' in my environment.
Marc-André Moreau [Thu, 2 Feb 2012 21:49:37 +0000 (13:49 -0800)]
Merge pull request #391 from pjd/fixes
Fixes for ber_write_integer().
Pawel Jakub Dawidek [Thu, 2 Feb 2012 20:48:56 +0000 (21:48 +0100)]
According to specification bits from the first octet and bit 8 from the second octet (if there is more than one octet) shall not all be ones.
Before that change integer >= 0xFF80 was encoded into two bytes instead of three.
While here also add support for encoding integers into three bytes.
Marc-André Moreau [Thu, 2 Feb 2012 18:17:02 +0000 (10:17 -0800)]
Merge pull request #390 from pjd/fixes
Add missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet.
Pawel Jakub Dawidek [Thu, 2 Feb 2012 16:34:19 +0000 (17:34 +0100)]
Add missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet.
Marc-André Moreau [Thu, 2 Feb 2012 03:40:36 +0000 (22:40 -0500)]
xfreerdp-server: adjust capture settings for better performance
Marc-André Moreau [Thu, 2 Feb 2012 03:05:01 +0000 (22:05 -0500)]
xfreerdp-server: control frame rate per second
Marc-André Moreau [Thu, 2 Feb 2012 02:37:11 +0000 (21:37 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 2 Feb 2012 02:37:01 +0000 (21:37 -0500)]
xfreerdp-server: added frame tick event
Marc-André Moreau [Thu, 2 Feb 2012 02:11:46 +0000 (21:11 -0500)]
libfreerdp-core: fix more memory leaks
Marc-André Moreau [Wed, 1 Feb 2012 23:51:41 +0000 (18:51 -0500)]
libfreerdp-utils: fix realloc on null pointer in arguments parsing
Marc-André Moreau [Wed, 1 Feb 2012 23:42:20 +0000 (18:42 -0500)]
libfreerdp-core: fix multiple memory leaks detected by valgrind
Marc-André Moreau [Wed, 1 Feb 2012 22:28:12 +0000 (17:28 -0500)]
cliprdr: fix realloc on null pointer
Marc-André Moreau [Wed, 1 Feb 2012 17:02:45 +0000 (09:02 -0800)]
Merge pull request #384 from nfedera/redirectsegvfix
core: fixed segfault caused by double free of password_cookie blob
Norbert Federa [Wed, 1 Feb 2012 16:58:06 +0000 (17:58 +0100)]
core: fixed segfault caused by double free of password_cookie blob
Marc-André Moreau [Wed, 1 Feb 2012 02:05:47 +0000 (21:05 -0500)]
xfreerdp-server: optimize screen region encoding
Marc-André Moreau [Tue, 31 Jan 2012 21:28:23 +0000 (16:28 -0500)]
xfreerdp-server: fix event queuing
Marc-André Moreau [Tue, 31 Jan 2012 19:10:12 +0000 (14:10 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 31 Jan 2012 19:09:55 +0000 (14:09 -0500)]
xfreerdp-server: fix memory leak for snapshots
Otavio Salvador [Tue, 31 Jan 2012 16:35:24 +0000 (08:35 -0800)]
Merge pull request #382 from mfleisz/master
Init update->SuppressOutput for clients too
Martin Fleisz [Tue, 31 Jan 2012 16:11:22 +0000 (08:11 -0800)]
Init update->SuppressOutput for clients too
Otavio Salvador [Tue, 31 Jan 2012 15:33:23 +0000 (07:33 -0800)]
Merge pull request #381 from pjd/bitmap
Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.
Pawel Jakub Dawidek [Tue, 31 Jan 2012 13:33:49 +0000 (14:33 +0100)]
Each bitmap send by the server contains color depth. Even if we negotiated 8bpp server can send bitmap which has 16bpp.
Fix a crash using bpp to allocate image from the bitmap data instead of negotiated color depth.
Marc-André Moreau [Tue, 31 Jan 2012 12:44:58 +0000 (04:44 -0800)]
Merge pull request #380 from pjd/stream
Use stream API instead of accessing stream fields directly.
Marc-André Moreau [Tue, 31 Jan 2012 12:37:47 +0000 (04:37 -0800)]
Merge pull request #379 from pjd/certificate
Use stream_attach() so that the 'size' field in the stream structure is properly set.
Pawel Jakub Dawidek [Tue, 31 Jan 2012 12:34:26 +0000 (13:34 +0100)]
Use stream API instead of accessing stream fields directly.
This include use of stream_attach(), so 'size' is properly set.
Pawel Jakub Dawidek [Tue, 31 Jan 2012 11:06:35 +0000 (12:06 +0100)]
Use stream_attach() so that the 'size' field in the stream structure
is properly set. This allows to assert in stream API that we don't
try to access memory outside stream buffer.
Marc-André Moreau [Tue, 31 Jan 2012 06:55:37 +0000 (22:55 -0800)]
Merge pull request #378 from adambprotiviti/redir-pw-fix
Fixed RDS Farm Redirection
Adam Brand [Tue, 31 Jan 2012 04:54:29 +0000 (20:54 -0800)]
Final commit for fixing password issue; removed debug strings.
Adam Brand [Tue, 31 Jan 2012 04:49:27 +0000 (20:49 -0800)]
Fixed issue with RDS farm redirection and passwords.
Marc-André Moreau [Tue, 31 Jan 2012 03:46:02 +0000 (22:46 -0500)]
xfreerdp-server: add event queue
Marc-André Moreau [Tue, 31 Jan 2012 02:35:15 +0000 (21:35 -0500)]
xfreerdp-server: adding xf_event.c and xf_input.c, refactoring
Adam Brand [Tue, 31 Jan 2012 02:33:46 +0000 (18:33 -0800)]
Fixed some obvious things; still doesn't work.
Adam Brand [Tue, 31 Jan 2012 01:54:46 +0000 (17:54 -0800)]
First attempt at fixing the password issue; this segfaults unfortunately.
Marc-André Moreau [Tue, 31 Jan 2012 01:35:33 +0000 (20:35 -0500)]
xfreerdp-server: add better path detection support for finding server keys
Marc-André Moreau [Mon, 30 Jan 2012 22:47:55 +0000 (17:47 -0500)]
libfreerdp-utils: extend file utils to do path detection
Marc-André Moreau [Mon, 30 Jan 2012 15:18:33 +0000 (10:18 -0500)]
libfreerdp-core: defined boolean as int on windows
Otavio Salvador [Mon, 30 Jan 2012 13:44:32 +0000 (05:44 -0800)]
Merge pull request #376 from bmiklautz/w32typedef
Fix for issue #374.
Bernhard Miklautz [Mon, 30 Jan 2012 11:05:50 +0000 (12:05 +0100)]
Fix for issue #374.
Marc-André Moreau [Sun, 29 Jan 2012 20:05:34 +0000 (15:05 -0500)]
libfreerdp-core: fix code style in gcc.c
Marc-André Moreau [Sun, 29 Jan 2012 19:49:54 +0000 (14:49 -0500)]
libfreerdp-core: fix reconnection for non IP-based redirection
Marc-André Moreau [Sun, 29 Jan 2012 16:11:13 +0000 (11:11 -0500)]
wfreerdp: fix mingw64 cross-compilation (Felix Wolfheimer)
Marc-André Moreau [Fri, 27 Jan 2012 02:22:15 +0000 (18:22 -0800)]
Merge pull request #371 from bmiklautz/osxdisableffmpeg
build: make ffmpeg optional on os x
Bernhard Miklautz [Fri, 27 Jan 2012 01:32:06 +0000 (02:32 +0100)]
build: make ffmpeg optional on os x
FFMPEG isn't installed per default on os x so it should be optional
instead of suggested.
Marc-André Moreau [Fri, 27 Jan 2012 01:29:07 +0000 (17:29 -0800)]
Merge pull request #370 from bmiklautz/buildfixes
build: raise an error if pkg is not found
Bernhard Miklautz [Fri, 27 Jan 2012 01:13:08 +0000 (02:13 +0100)]
build: raise an error if pkg is not found
Changed FFmpeg, PCSC and PulseAudio cmake find to raise an error if
an required package was not found.
Marc-André Moreau [Wed, 25 Jan 2012 16:30:16 +0000 (08:30 -0800)]
Merge pull request #368 from pjd/crypto
Server-side Standard RDP Security support.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 16:08:10 +0000 (17:08 +0100)]
Add glue that enables server-side support for Standard RDP Security.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 16:04:19 +0000 (17:04 +0100)]
- Ignore received encryption_method and encryption_level if we don't support encryption.
- Print a warning if we receive unregognized type.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 16:00:40 +0000 (17:00 +0100)]
Add complete implementation of gcc_write_server_security_data() function
that implements server-side Standard RDP Security.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:57:23 +0000 (16:57 +0100)]
Add rdp_server_establish_keys() function that is responsible for
establishing encryption keys for server-side Standard RDP Security.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:55:03 +0000 (16:55 +0100)]
Add a note why we are skipping 8 bytes.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:52:32 +0000 (16:52 +0100)]
Add fields to store RSA key for server-side Standard RDP Security.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:45:21 +0000 (16:45 +0100)]
Add API to load RSA key for Standard RDP Security in server mode.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:32:56 +0000 (16:32 +0100)]
- Don't fill client_random with 0x5e, we are going to fill it up with
random data in the next line.
- Use less magic numbers.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:30:54 +0000 (16:30 +0100)]
Add missing decryption.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:27:00 +0000 (16:27 +0100)]
White-space fixes.
Pawel Jakub Dawidek [Wed, 25 Jan 2012 15:26:32 +0000 (16:26 +0100)]
Correct style.