Commit Graph

1881 Commits

Author SHA1 Message Date
Pawel Jakub Dawidek
3aa804f176 Before asking for element from the PRIMARY_DRAWING_ORDER_FIELD_BYTES[] array, check if the array is big enough. 2012-02-11 14:33:54 +01:00
Pawel Jakub Dawidek
cb4668ca68 When acting as server, accepth client's color depth only if it is smaller than ours. This is what Windows server does. 2012-02-11 14:33:48 +01:00
Marc-André Moreau
ff43066036 Merge pull request #417 from lordcrc/master
Fix for server CPU issue.
2012-02-10 21:29:43 -08:00
Asbjørn Heid
2642bda7d1 xfreerdp-server: Fixed issue with high idle CPU usage.
The pipe used for signalling in the event queue was not properly
cleared when popping events, causing the select() in the main
loop to return immediately after the first event was queued,
instead of blocking for the next event.
2012-02-11 06:24:32 +01:00
Marc-André Moreau
efda3867b4 Merge pull request #416 from lordcrc/master
Proper thread shutdown for server
2012-02-10 15:44:13 -08:00
Asbjørn Heid
772ca6f99d xfreerdp-server: Proper shutdown of helper threads when a client disconnects. 2012-02-11 00:09:00 +01:00
Marc-André Moreau
5ae4d88c14 libfreerdp-core: don't call freerdp_context_free() from freerdp_free() 2012-02-10 15:50:29 -05:00
Jay Sorg
d51db08c5c libfreerdp-core: fix memory leaks and double free 2012-02-10 12:35:22 -08:00
Marc-André Moreau
6bddb08713 Merge pull request #415 from pjd/fixes
Advertise ENC_SALTED_CHECKSUM support.
2012-02-10 12:14:41 -08:00
Marc-André Moreau
79884c8b72 Revert "RDP6 compression"
This reverts commit 8302b724e1.
2012-02-10 15:06:58 -05:00
Pawel Jakub Dawidek
dd957c3097 Set ENC_SALTED_CHECKSUM flag when support for salted checksums is enabled. 2012-02-10 20:33:14 +01: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
7ef1e0c8ca Merge pull request #414 from jiten19/mainstream
Mainstream
2012-02-10 09:26:39 -08:00
Philippe Auphelle
e0b2d6f335 Merge remote-tracking branch 'upstream/master' 2012-02-10 13:56:22 +01:00
cool
4720596d61 remove unncessary NULL ptr check 2012-02-09 22:20:52 -11:00
cool
8302b724e1 RDP6 compression 2012-02-09 22:20:24 -11:00
Marc-André Moreau
8e627212a0 changelog: update for 1.0.1 2012-02-09 21:01:42 -05:00
Marc-André Moreau
fdfc817fb6 xfreerdp: fix segfault with --gdi sw on disconnect 2012-02-09 21:01:13 -05:00
Marc-André Moreau
8e88983a62 libfreerdp-utils: re-introduce free(NULL) check in xfree() 2012-02-09 20:32:08 -05:00
Marc-André Moreau
717b37fd48 channels/rdpdr: cleanup 2012-02-09 20:04:27 -05: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
bffda2747b libfreerdp-channels: refactoring 2012-02-09 16:57:14 -05:00
Philippe Auphelle
72280d4bab Merge remote-tracking branch 'upstream/master' 2012-02-09 11:15:03 +01:00
Marc-André Moreau
549faa6d87 libfreerdp-gdi: optimize line drawing 2012-02-08 22:34:37 -05:00
Marc-André Moreau
c38c0f9001 libfreerdp-utils: fix file utils 2012-02-08 21:56:50 -05:00
Marc-André Moreau
2bde041788 wfreerdp: fix RemoteFX 2012-02-08 21:44:22 -05:00
Marc-André Moreau
66ebfb0e9f wfreerdp: fix compilation and warnings 2012-02-08 21:16:37 -05:00
Marc-André Moreau
caae69e980 libfreerdp-core: change source descriptor from MSTSC to FREERDP 2012-02-08 14:45:24 -05:00
Marc-André Moreau
9951cdce12 Merge pull request #408 from pjd/fixes
The fastpath header can be two or three bytes long. Check also for the latter case.
2012-02-08 07:29:11 -08:00
Pawel Jakub Dawidek
e73a525ad5 Move the comment into correct place. 2012-02-08 12:47:22 +01:00
Pawel Jakub Dawidek
e9f89af8a5 The fastpath header can be two or three bytes long. Check also the latter case. 2012-02-08 12:03:39 +01:00
Marc-André Moreau
58e08a7726 Merge pull request #407 from hcgpalm/master
Fix info_packet misalignment
2012-02-07 20:27:16 -08:00
Marc-André Moreau
0975c0f07e libfreerdp-core: improve error checking in certificate validation 2012-02-07 22:16:57 -05:00
Philippe Auphelle
6040f10ca9 Merge remote-tracking branch 'upstream/master' 2012-02-07 15:03:48 +01:00
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