Commit Graph

1674 Commits

Author SHA1 Message Date
Henrik Andersson
b01625b284 Merge pull request #106 from Nassim26/patch-1
Fixed grammar mistakes
2017-03-09 12:29:41 +01:00
Henrik Andersson
2c9a706c23 Fix X error BadAlloc when using seamlessrdp
The introduction of setting session size using percentages of both
with and height of screen like -g 50%x100%, commit 3140824be
introduced a bug when using seamless rdp. This commit fixes this bug.
2017-03-09 12:25:10 +01:00
Henrik Andersson
c93960b266 Cleanup of TS_SECURITY_HEADER code
Add correct naming of header TS_SECURITY_HEADER and its flags
as per MSRDPBCGR specification.
2017-03-07 15:32:14 +01:00
Nassim Beladel
a35e9bc52a Fixed some grammar mistakes 2017-03-06 20:01:20 +01:00
Nassim Beladel
9f3c978ab1 Fixed a small typo 2017-03-06 17:36:43 +01:00
Nassim Beladel
7e46a9db39 Fixed some typo's 2017-03-06 17:34:16 +01:00
Henrik Andersson
1e68d67298 Run indent-all script 2017-03-03 09:31:26 +01:00
Henrik Andersson
af36ac3a64 Add log of reason for protocol negotiation failure
Fixes issue #104
2017-03-03 09:29:53 +01:00
Henrik Andersson
0b745346e2 Update README.md 2017-02-27 11:04:29 +01:00
Henrik Andersson
f4a19e73ad Update README.md 2017-02-27 11:03:49 +01:00
Henrik Andersson
04219c2b6c Rename README,md to README.md 2017-02-27 11:02:04 +01:00
Henrik Andersson
8adc0f9a21 Update and rename README to README,md
Change the current README file into a markdown formatted README
2017-02-27 11:01:40 +01:00
Henrik Andersson
d124477abb Merge pull request #96 from derfian/decipher-rdpdr-printer-device-announce
Clarify printer parts of rdpdr_send_client_device_list_announce
2017-01-30 10:05:02 +01:00
Henrik Andersson
3acc444c75 Merge pull request #93 from hean01-cendio/logging
Rework the logging system
2017-01-30 09:36:02 +01:00
Karl Mikaelsson
7f6748d1c3 Clarify printer parts of rdpdr_send_client_device_list_announce
Add new flag constants and comments for all fields.
2017-01-30 09:35:29 +01:00
Henrik Andersson
7b9a09e173 Merge branch 'master' into logging 2017-01-27 10:56:16 +01:00
Henrik Andersson
2517b15bb4 Merge pull request #94 from derfian/long-drive-share-name
Send longer drive names for redirected drives
2017-01-27 10:54:13 +01:00
Henrik Andersson
87d8d123b8 Rework the logging system
This commit will add a logging system to solve the problem that
one actually need to recompile rdesktop from source to enable
different debug logging.

- Same logging api  for all kind of logging and messages to
   end user.

- Adding -v for verbose output when running rdesktop.

- All messages are logged into a subject and with a type, eg:

     logger(Keyboard, Notice, "Autos-electing %s based on locale.", locale);

- Debug logging is enabled trough a environment variable RDEKSTOP_DEBUG,
  which specifies subjects of interest, comma separated. There is a special
  subject named All which includes all subject for debug loggin. There is also
  a simple logic opeartor '!' = NOT which can be used in combination like:

    RDESKTOP_DEBUG=All,!Graphics,!Sound

  Which would give debug log output for All subject except Graphics and Sound.
2017-01-26 14:19:40 +01:00
Karl Mikaelsson
90ea473750 Send longer drive names for redirected drives
Store the full drive name in a new disk-specific pdevice_data
struct. Bump Drive Redirection version to 02, and send the full name
as part of the Device Announcement message.
2017-01-25 13:27:01 +01:00
Henrik Andersson
71bf45a5d7 Ran indent-all script 2017-01-25 00:34:37 +01:00
Henrik Andersson
14a4bf2d1d Use the correct mask for XSendEvent()
Sending ClientMessage is plain wrong.
2017-01-24 23:45:17 +01:00
Henrik Andersson
b29239986e Merge pull request #90 from derfian/decipher-rdpdr-capabilities-message
Decipher the contents of the DR_CORE_CAPABILITY_RSP message
2017-01-24 23:33:50 +01:00
Karl Mikaelsson
b093dc198d Decipher the contents of the DR_CORE_CAPABILITY_RSP message
Add relevant constants from the specification and use them while
building the capabilities reply.
2017-01-20 16:05:59 +01:00
Henrik Andersson
79b9813df5 Minor refactor of rdp_out_unistr()
The logon packets wants a mandatory null termination
to be written to stream if not string is available.
The current design was to do if statements at those
points to handle this. Refactored that code into
function rdp_out_unistr_mandatory_null() for a
cleaner code when building up the packets.
2017-01-20 10:32:46 +01:00
Henrik Andersson
2ea3f69873 Raise requirment for iconv to required
This commit changes rdesktop project to require iconv().

Part of issue #89
2017-01-20 08:46:27 +01:00
Henrik Andersson
c404034119 Merge pull request #79 from rdesktop/revert-78-hwheel
Revert "Support horizontal scroll with mouse wheel"
2016-12-05 14:37:51 +01:00
Henrik Andersson
29583c53b5 Revert "Support horizontal scroll with mouse wheel" 2016-12-05 14:35:10 +01:00
Henrik Andersson
d4df8c9f20 Remove rdpsnd_rec extension from rdesktop
This commit removes the implementation of rdpsnd_rec extension
of rdpsnd protocol from rdesktop. The reason for this is that the
required driver (which only works on Windows 2003) provided by Cendio
is deprecated.
2016-12-05 09:06:35 +01:00
Henrik Andersson
6616a6b2b3 Merge pull request #78 from abrasive/hwheel
Support horizontal scroll with mouse wheel
2016-12-05 07:21:40 +01:00
James Laird-Wah
37a2206347 Support horizontal scroll with mouse wheel 2016-12-05 10:40:31 +11:00
Henrik Andersson
45f757612f Merge pull request #74 from uglym8/fix_double_free
Fix double free
2016-11-18 08:35:42 +01:00
Alexander Zakharov
48058efcdf Fix double free 2016-11-17 16:16:29 +03:00
Henrik Andersson
c6e8e1074b Fix crash in rdssl_cert_to_rkey.
This crash was introduced by merging OpenSSL 1.1 PR done on
commit 50b39d11. Where algor was overwritten with return value
of X509_PUBKEY_get0_param(). I also added additional error
handling for X509_get_X509_PUBKEY.

Thanks to TingPing that found this error in PR.
2016-10-24 10:24:35 +02:00
Henrik Andersson
c7369052cc Regression in RDP_V4 logon packet introduced by commit 78a4f41.
Commit 78a4f41, forces the caller to handle the write of empty string byte
where protocol needs it. This commit fixes the RDP V4 logon packet which needs
a mandatory 2 bytes null terminator to be written if strings are empty.

Fixes issue #67
2016-10-14 13:27:09 +02:00
Henrik Andersson
18ac3acdb3 Disable smartcard build for travis 2016-09-20 11:06:05 +02:00
Henrik Andersson
f1386189b9 Disable credssp build for travis 2016-09-20 11:02:25 +02:00
Henrik Andersson
fd25312043 Cleanup travis.yml 2016-09-20 09:53:17 +02:00
Henrik Andersson
30da55f885 Fix typo in travis.yml 2016-09-20 09:32:07 +02:00
Henrik Andersson
7f7567d735 Add travis-ci configuration. 2016-09-20 09:06:36 +02:00
Henrik Andersson
50b39d114a Merge pull request #44 from jjhoo/master
Fix OpenSSL 1.1 compability issues
2016-09-20 08:53:16 +02:00
Henrik Andersson
d952852629 Enable FontSmoothing per default
FontSmoothing is now enabled per default or if experience selected by lan or broadband.
2016-08-23 12:43:15 +02:00
Henrik Andersson
188a569fbd Merge pull request #51 from dajohi/warning
Fix crash due to missing argument
2016-08-22 08:31:16 +02:00
David Hill
b3eeca3da0 Fix crash due to missing argument 2016-07-21 12:39:56 -04:00
Henrik Andersson
44df869e70 Merge pull request #42 from remijouannet/master
Add support to specify percentage for both with and height as geomoetry
2016-06-16 16:21:07 +02:00
Henrik Andersson
e62ad7cee9 Fix crash in rdp_in_unistr() issue #25 2016-06-16 16:06:36 +02:00
Jani Hakala
bd6aa6acdd Fix OpenSSL 1.1 compability issues
Some data types have been made opaque in OpenSSL version 1.1 so
stack allocation and accessing struct fields directly does not work.
2016-06-16 15:11:28 +03:00
Henrik Andersson
a9deb66c1b Merge pull request #40 from HenryJacques/disk_fix
Fix segfault when using a relative folder name with disk redirection
2016-06-16 08:40:01 +02:00
remijouannet
b46639ad3c indent-all.sh 2016-05-24 18:02:22 +02:00
remijouannet
0f0f64a97e fixing indent 2016-05-24 17:55:28 +02:00
remijouannet
3140824be3 -g 70%x90% 2016-05-24 17:47:03 +02:00