Commit Graph

1781 Commits

Author SHA1 Message Date
Otavio Salvador
986890b8b9 Merge pull request #404 from pjd/server_slow_path_input
Implement server-side support for slow-path Input Event PDU.
2012-02-07 05:01:53 -08:00
Otavio Salvador
2f5ae364dc 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.
2012-02-07 05:00:49 -08:00
Pawel Jakub Dawidek
eb8c5c5f81 Implement server-side support for slow-path Input Event PDU. 2012-02-07 13:53:00 +01: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
2ee9cc5e18 Simplify code by using per_read_length() instead of reimplementing it. 2012-02-07 11:16:47 +01:00
Marc-André Moreau
4117e71a79 Merge pull request #402 from pjd/disconnect
Graceful exit.
2012-02-06 18:31:27 -08: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
e3d6e8782e Merge pull request #401 from pjd/fixes
Better length checking and Windows XP fix.
2012-02-06 13:42:47 -08:00
Pawel Jakub Dawidek
d6592a17a9 Windows XP can send short (and non-standard) DEACTIVATE_ALL PDUs. Handle them properly. 2012-02-06 22:39:43 +01:00
Pawel Jakub Dawidek
4a950cedd7 Better packet length checking. 2012-02-06 22:39:33 +01:00
Christer Palm
ded92bc9cd Fix password field length 2012-02-06 01:27:21 +01:00
Marc-André Moreau
b6ec892f27 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-04 18:18:54 -05:00
Marc-André Moreau
66cd849229 xfreerdp-server: improve XShm encoding 2012-02-04 18:18:46 -05: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
ffec1c2062 libfreerdp-core: improve and clarify certificate checking 2012-02-04 15:04:03 -05:00
Marc-André Moreau
7efe3c46e7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-04 02:21:49 -05:00
Marc-André Moreau
4695faae38 libfreerdp-core: added check for certificate name against hostname 2012-02-04 02:21:39 -05:00
Marc-André Moreau
545ae8e4a7 Merge pull request #397 from NiKiZe/master
Remove duplicate xfree in cliprdr_process_format_list
2012-02-03 15:07:43 -08:00
Christian Nilsson
3c2997b352 Fix duplicate xfree on format_name->name, shuld resolve Issue #387 and #395 ? 2012-02-04 00:04:41 +01:00
Marc-André Moreau
c422c7477a Merge pull request #396 from celsius/master
remove redundant or useless (?) checks for NULL pointer
2012-02-03 07:59:35 -08:00
Marc-André Moreau
d0730c42e3 Merge pull request #394 from pjd/fixes
Plug memory leak in case of an empty file and terminate string with '\0'.
2012-02-03 07:49:38 -08:00
Alexis Moinet
5ca9a37f68 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()
2012-02-03 15:27:04 +01:00
Pawel Jakub Dawidek
1619b43781 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. 2012-02-03 14:44:45 +01:00
Pawel Jakub Dawidek
feb20edda7 Plug memory leak in case of an empty file and terminate string with '\0'. 2012-02-03 09:00:39 +01:00
Marc-André Moreau
9c81ff8022 libfreerdp-core: change certificate store directory name to match OpenSSL 2012-02-02 18:33:26 -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
Marc-André Moreau
65565e7ab4 Merge pull request #392 from pjd/fixes
Remove the "extended" flag from VK_DIVIDE. It was breaking '?' in my environment.
2012-02-02 14:25:12 -08: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
13c94e0159 Merge pull request #391 from pjd/fixes
Fixes for ber_write_integer().
2012-02-02 13:49:37 -08:00
Pawel Jakub Dawidek
9d2ea6e937 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.
2012-02-02 22:46:23 +01:00
Marc-André Moreau
8cd639dcb1 Merge pull request #390 from pjd/fixes
Add missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet.
2012-02-02 10:17:02 -08:00
Pawel Jakub Dawidek
7c9bbcc8e1 Add missing two bytes for pad2Octets field in FASTPATH_UPDATETYPE_SYNCHRONIZE packet. 2012-02-02 17:54:36 +01:00
Marc-André Moreau
0c7703d293 xfreerdp-server: adjust capture settings for better performance 2012-02-01 22:40:36 -05:00
Marc-André Moreau
abad646414 xfreerdp-server: control frame rate per second 2012-02-01 22:05:01 -05:00
Marc-André Moreau
cd278d7967 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-01 21:37:11 -05:00
Marc-André Moreau
ca8b92a247 xfreerdp-server: added frame tick event 2012-02-01 21:37:01 -05:00
Marc-André Moreau
9e4d76648b libfreerdp-core: fix more memory leaks 2012-02-01 21:11:46 -05:00
Marc-André Moreau
b9c782fb21 libfreerdp-utils: fix realloc on null pointer in arguments parsing 2012-02-01 18:51:41 -05: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
0c048708b1 cliprdr: fix realloc on null pointer 2012-02-01 17:28:12 -05:00
Marc-André Moreau
b806aba590 Merge pull request #384 from nfedera/redirectsegvfix
core: fixed segfault caused by double free of password_cookie blob
2012-02-01 09:02:45 -08:00
Norbert Federa
a3a4e9afa9 core: fixed segfault caused by double free of password_cookie blob 2012-02-01 17:58:06 +01:00
Marc-André Moreau
5ee606cf10 xfreerdp-server: optimize screen region encoding 2012-01-31 21:05:47 -05:00
Marc-André Moreau
cfd54a4e38 xfreerdp-server: fix event queuing 2012-01-31 16:28:23 -05:00
Marc-André Moreau
d2a96e99d5 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-01-31 14:10:12 -05:00
Marc-André Moreau
636f9fa402 xfreerdp-server: fix memory leak for snapshots 2012-01-31 14:09:55 -05:00
Otavio Salvador
c3f6ef66ef Merge pull request #382 from mfleisz/master
Init update->SuppressOutput for clients too
2012-01-31 08:35:24 -08:00
Martin Fleisz
c872b4ca80 Init update->SuppressOutput for clients too 2012-01-31 08:11:22 -08:00