Commit Graph

1613 Commits

Author SHA1 Message Date
Henrik Andersson
6a6e01ae7c Update working Windows versions. 2015-08-21 09:03:02 +02:00
Peter Åstrand
f95ae65dcb Update the visible copyright year.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1847 423420c4-83ab-492f-b58f-81f9feb106b5
2015-03-13 08:57:20 +00:00
Henrik Andersson
378b10f296 Make sure to break out of inner loop when pending resize
is triggered. This will make a reconnect happen as fast as
possible and prevent waiting for any xwin inputs or data
on rdp channel.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1846 423420c4-83ab-492f-b58f-81f9feb106b5
2015-02-11 14:33:57 +00:00
Peter Åstrand
0db1aeac1f Modern versions of binutils requires that you list all DSOs. libcrypto
normally requires libdl.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1843 423420c4-83ab-492f-b58f-81f9feb106b5
2015-02-10 08:48:58 +00:00
Henrik Andersson
e71e7f8d8c Apply patch #218
Fixes compilation of rdesktop on IRIX



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1842 423420c4-83ab-492f-b58f-81f9feb106b5
2014-11-19 07:44:18 +00:00
Henrik Andersson
c577bc1d59 Use correct uri's in example.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1840 423420c4-83ab-492f-b58f-81f9feb106b5
2014-11-03 11:35:37 +00:00
Henrik Andersson
82d8b8fdc6 Bump trunk version to 1.8.3post
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1839 423420c4-83ab-492f-b58f-81f9feb106b5
2014-11-03 11:34:49 +00:00
Henrik Andersson
b793a87e6d Updated CHangeLog and bumped version to 1.8.3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1837 423420c4-83ab-492f-b58f-81f9feb106b5
2014-10-31 11:39:04 +00:00
Henrik Andersson
761cc053e2 Fixes a bug with Windows Server 2012 r2 and smartcard
redirection were the RDPDR channel is shutdown by server.

The RDPDR channel is shutdown by server when responses from
abdonend iorequests are received on a reinitialized RDPDR
channel. This fix adds epochs for RDPDR channel and tags 
iorequest to specific epoch to handle abdonend iorequest.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1836 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 11:54:46 +00:00
Henrik Andersson
fffb479e0c Workaround for bug in pcsc lite where timeout value 0
for SCardGetStatusChange() behaves just like INFINIT.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1835 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 11:15:46 +00:00
Henrik Andersson
03c53c48bd Fix implementation of DR_CORE_CLIENT_NAME_REQ packet.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1834 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 08:58:40 +00:00
Henrik Andersson
ae54605c8d - Clarification of client and server announce
- Make sure to use server supplied ClientID if
  server VersionMinor is >= 12.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1833 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 08:54:31 +00:00
Henrik Andersson
388cec747d - Clarification of code.
- Make sure to send DR_CORE_CAPABILITY_RSP as response
  to DR_CORE_SERVER_ANNOUNCE_REQ.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1832 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 08:38:27 +00:00
Henrik Andersson
0858a6c9a7 Clarify implementation to match MS-RDPEFS spec.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1831 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 08:19:23 +00:00
Henrik Andersson
ace6c10a5b Remove dead code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1830 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 07:50:48 +00:00
Peter Åstrand
1b50eb1e42 diag message spelling fix: persitent > persistent
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1829 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-11 06:36:25 +00:00
Henrik Andersson
0440d0faca Make use of constants defined in specification instead of
magic character numbers found in protocol stream for clarity.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1828 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-09 12:34:09 +00:00
Henrik Andersson
4707416314 Make sure we close the connection before redirect.
Complementary fix for commit r1825.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1827 423420c4-83ab-492f-b58f-81f9feb106b5
2014-09-02 10:24:40 +00:00
Henrik Andersson
03ec4e1fc8 Add additional 4 bytes to stream allocation.
Fixes memory corruptions where rdp_out_unistr() wants
string len plus 4 bytes allocated memory.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1826 423420c4-83ab-492f-b58f-81f9feb106b5
2014-08-29 10:57:24 +00:00
Henrik Andersson
ee8366405d Make sure we handle redirection PDU packet received
within rdp_connect() loop.

Fixes silent exits of rdesktop when receiving a redirection
PDU before license handling which is a corner case appeared
while using CredSSP+Kerberos.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1825 423420c4-83ab-492f-b58f-81f9feb106b5
2014-08-27 12:19:59 +00:00
Henrik Andersson
78a4f41f48 Fix sigsegv while using credssp and kerberos without
specifying domainname as argument.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1824 423420c4-83ab-492f-b58f-81f9feb106b5
2014-08-27 12:15:21 +00:00
Henrik Andersson
d70b65edc7 Revert of commit 1794.
Fixes regression with "disconnect: Invalid licensing message."



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1823 423420c4-83ab-492f-b58f-81f9feb106b5
2014-08-18 07:47:07 +00:00
Henrik Andersson
46a3684c27 Document the new seamless protocol command PERSISTENT
and implement the usage of the new command in rdesktop.

If a seamless command is specified the persistent mode
of the session will be changed to non-persistent.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1822 423420c4-83ab-492f-b58f-81f9feb106b5
2014-07-03 10:42:04 +00:00
Henrik Andersson
2ceb56e0d4 Added seamless_reset_state() and use it whenever a
new window is created. This fixes issues with seamless
protocol parser between reconnects.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1820 423420c4-83ab-492f-b58f-81f9feb106b5
2014-07-02 08:25:07 +00:00
Henrik Andersson
d0b0e731d9 Fix compile error introduced in previous commit.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1819 423420c4-83ab-492f-b58f-81f9feb106b5
2014-07-02 08:05:30 +00:00
Henrik Andersson
07008abc10 Make sure to always add RDP5_NO_CURSOR_SHADOW even
when specifying that nothing should be disabled in
performance flags.

This is a workaround for rdesktop not supporting
alpha cursors.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1818 423420c4-83ab-492f-b58f-81f9feb106b5
2014-07-01 06:17:02 +00:00
Henrik Andersson
a87ed59ad4 Updates all constants for TS_INFO_PACKET flags to
much names in specification.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1817 423420c4-83ab-492f-b58f-81f9feb106b5
2014-06-27 13:49:19 +00:00
Henrik Andersson
1c97aa5be1 Fix constant naming and enabled windowskey by default.
Fixes bug #384

Thanks to Alexander Zakharov for pinpointing
the core issue.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1816 423420c4-83ab-492f-b58f-81f9feb106b5
2014-06-27 13:15:24 +00:00
Henrik Andersson
6ef81653f7 Add keyboard layout US international with dead keys.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1815 423420c4-83ab-492f-b58f-81f9feb106b5
2014-06-26 08:13:29 +00:00
Henrik Andersson
b4ac3c4182 Clear g_seamless_spawn_cmd when used.
Fixes problem were a new seamless application is spawned
upon a reconnection due to resize or network failure.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1809 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-28 07:56:23 +00:00
Henrik Andersson
0fe7375197 Bump version to 1.8.2post
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1808 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 15:19:07 +00:00
Henrik Andersson
0ac32bd06c Bump version to 1.8.2 and updated ChangeLog
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1806 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 14:37:02 +00:00
Henrik Andersson
d3c4cb3535 Run indentation script.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1805 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 14:34:45 +00:00
Henrik Andersson
35ed85c03b Reducing hash and keymap hashtable slots from 65535
to 127 which will reduce memory footprint.

Tested using a few keymaps and With 0x7f there were
max 5 collisions in a slot which is good for
performance. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1804 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 11:24:59 +00:00
Henrik Andersson
2a76ef7b53 Handle trailing whitespace in a keyname sequence.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1803 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 10:52:39 +00:00
Henrik Andersson
cb06fe1863 Applied slightly modified patch #220 that fixes
hash collisions with keysyms.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1802 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 10:43:03 +00:00
Henrik Andersson
e597ef4e90 Make sure to use rdp_out_unistr() when writing strings
to streams in CredSSP. (The other part of bug #383.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1801 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 07:49:52 +00:00
Henrik Andersson
77ec7d1128 Use rdp_out_unistr to fill in string in tspasswordcreds
packet. This fixes bug were login fails due to non-ASCII
characters in username or password.

Fixes bug #383.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1800 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 07:40:17 +00:00
Henrik Andersson
a563c49723 Use correct types for reading cursot hotspot and
clamp the point into cursor boundingbox.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1799 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-20 06:27:09 +00:00
Henrik Andersson
f000599925 Fix typo.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1798 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-13 14:36:18 +00:00
Henrik Andersson
4a4d0a9160 Updated comment to be more clarifying.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1797 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-13 14:34:23 +00:00
Henrik Andersson
8c7c645285 Reintroduce special caps flag 0x00800000 which got
removed in commit r1791.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1796 423420c4-83ab-492f-b58f-81f9feb106b5
2014-05-13 14:03:08 +00:00
Henrik Andersson
a1f8856484 Make password variable global and clear it in correct place.
This fix a bug where redirection using CredSSP fails to SSO
due to wrong password sent to server and asks for a correct one.
The source to this issue was that the password was zeroed before
the actual redirection is handled.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1795 423420c4-83ab-492f-b58f-81f9feb106b5
2014-04-24 12:02:40 +00:00
Henrik Andersson
708c3861f1 Remove process of packets in rdp_connect.
The process of packets in rdp_connect assumes that the
first packets are demand active to set g_rdp_shareid which
is not true. In case when CredSSP+Kerberos is in use an
enhanced redirection PDU packet is sent before the demande
active PDU.

This fixes the problem with rdesktop silently exists in
the case above.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1794 423420c4-83ab-492f-b58f-81f9feb106b5
2014-04-23 06:11:55 +00:00
Peter Åstrand
a8e9328c9f 0x35 in dutch layout should be for minus; not hyphen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1793 423420c4-83ab-492f-b58f-81f9feb106b5
2014-04-15 11:28:00 +00:00
Henrik Andersson
f545366312 Add no_cursor_shadow to default performance flags.
This fix the cursor issues on Window 2012



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1792 423420c4-83ab-492f-b58f-81f9feb106b5
2014-03-12 06:22:28 +00:00
Henrik Andersson
b8557c42ea Always enable rdpsnd channel and use flags to control use
of streamed audio or not.

This is a fix for driveredirection which requires rdpsnd
channel to work as mentioned in the following post.

http://social.msdn.microsoft.com/Forums/en-US/75024a3d-458f-4ed9-b55d-7852d0113bd7/rdpbcgrpdf-2-minors-problems-with-server-2012
 


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1791 423420c4-83ab-492f-b58f-81f9feb106b5
2014-03-06 11:43:43 +00:00
Henrik Andersson
e21475f3dc Change default printer driver to "MS Publisher Imagesetter".
Fixes bug #348



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1790 423420c4-83ab-492f-b58f-81f9feb106b5
2014-03-06 08:32:02 +00:00
Henrik Andersson
38ca609c78 Added minimal implementation for TS_AUTORECONNECT_STATUS_PDU.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1789 423420c4-83ab-492f-b58f-81f9feb106b5
2014-02-19 08:57:51 +00:00
Henrik Andersson
6e5bb07c9c Clear memory before use. Fixes bug where hash of licensefilename
differs between load and save.

Thanks to Florent Peterschmitt for reporting,testing and patch.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1788 423420c4-83ab-492f-b58f-81f9feb106b5
2014-02-19 08:02:07 +00:00