Commit Graph

115 Commits

Author SHA1 Message Date
Henrik Andersson
6920eadf7f Applied patch to support RD_STATUS_DIRECTORY_NOT_EMPTY when
recursive deletion of directory. This fixes bug 2906541 and
patch originates from 2909831.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1606 423420c4-83ab-492f-b58f-81f9feb106b5
2010-12-27 12:11:35 +00:00
Peter Åstrand
42f4ca28d5 Committed load balancing fixes from Daniel Drown. Hopefully fixes bug
#2845414.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1557 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-21 09:24:40 +00:00
Peter Åstrand
1b4c36a45f Implemented support for "Client Auto-Reconnect". This means that the
client can re-connect using a cookie, instead of going through the
normal authentication. This patch saves those cookies, and uses them
during logon. 

Note that this feature is currently unused. It remains to add support
for, say, detecting when the TCP connection has gone done and restart
a new one. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1539 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 10:34:38 +00:00
Peter Åstrand
281d7c9f06 Changed license to GPLv3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1534 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:31:06 +00:00
Peter Åstrand
2a4f8578ac Reverted last patch; by mistake
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1529 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 20:12:04 +00:00
Peter Åstrand
440542c535 Elminate code duplication in rdp_reconnect and sec_connect.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1528 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 20:01:58 +00:00
Jay Sorg
fdcd8d7591 added new pointers
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1520 423420c4-83ab-492f-b58f-81f9feb106b5
2009-10-25 21:36:17 +00:00
Peter Åstrand
058ee33be3 Clean up and document the return values. Trying to solve a number of issues:
* The current return values have been selected pretty much without any
thought. Basically, the value 1 is used for all different kinds of
errors, except for a corner case where the server doesn't send a
RDP_PDU_DEACTIVATE in combination with a few special "reasons", where
the value 2 is used instead.

* rdesktop will currently also return with 2 if the user is closing
the rdesktop window, the same error as many other fatal errors, which
is somewhat strange.

* The main principle of my patch is to utilize more of the available
256 return codes. We are currently only using 3 values out of
256. This is bad; rdesktop should expose more information to the
caller about error conditions if it can.

Besides using the standardized exit codes for generic errors such as
EX_USAGE for command line usage errors, I've also exposed the
"extended disconnect reasons" from RDP. This allows for, for example,
to be able to distinguish between a logoff and a disconnect.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1510 423420c4-83ab-492f-b58f-81f9feb106b5
2009-09-02 13:03:43 +00:00
Jay Sorg
88855ddcbf update the copyright year
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1474 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:51:23 +00:00
Jay Sorg
b59c4b92a6 added brush cache
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1473 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:35:24 +00:00
Peter Åstrand
6718610779 Applied rdesktop part of patch:
[ 1715359 ] seamlessrdp topmost windows


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1442 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-06 15:39:21 +00:00
Jay Sorg
797df4fa02 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1364 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 05:39:39 +00:00
Jay Sorg
b670bdacfa RD_ prefix and win32 compatibility for core files
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1363 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 04:55:56 +00:00
Michael Gernoth
c3f49ea246 more smartcard locking fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1327 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-03 23:51:35 +00:00
Matt Chapman
69692c7014 Allow server public key to be anywhere from 512 bits to 2048 bits.
(Vista Beta 2 uses a 2048 bit key)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1236 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 08:26:00 +00:00
Pierre Ossman
5b1de10ffc Support for the new HIDE/UNHIDE commands.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1192 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-22 16:20:55 +00:00
Pierre Ossman
8b98524485 Support for window groups and modal windows.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1176 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-21 14:42:25 +00:00
Peter Åstrand
2e7aa4b8b4 Send back our local positions upon changes, but only after a small timeout.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1156 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-17 12:39:09 +00:00
Peter Åstrand
bce447b305 Do not map seamless window until STATE is recieved
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1131 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 12:58:50 +00:00
Peter Åstrand
b06a70bf51 Initial support for SeamlessRDP
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1088 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 08:50:43 +00:00
Peter Åstrand
75ea7d9148 Applied patch #1247780 (slightly modified) from Brian Chapeau: Session Directory support.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@976 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-08 19:15:57 +00:00
Jeroen Meijer
154a1c895a Tell the server to stop sending window updates when the rdesktop window is unmapped
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@904 423420c4-83ab-492f-b58f-81f9feb106b5
2005-05-20 22:09:32 +00:00
Jeroen Meijer
696ea0c4f1 Add alternative mppc decompression code with 64kB history buffer from Vahur Sinijärv, and reenable rdp5 (persistent) bitmap cache 2 (64x64)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@888 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-17 23:14:20 +00:00
Michael Gernoth
76526ecffe use UTF-16LE instead of UTF-16 => let iconv swab the bytes for us
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@862 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-14 17:47:46 +00:00
Michael Gernoth
6b1bacd41c unicode support from Andy Igoshin <ai@vsu.ru>
Currently disabled, need HAVE_ICONV and HAVE_ICONV_H defined to be
used. This should be done with a new configure test.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@854 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-13 13:18:48 +00:00
Jeroen Meijer
f589939e23 Add support for ellipse and polygon orders
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@830 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 00:43:10 +00:00
Michael Gernoth
ec643e4718 bump version to 1.4.0
change year in files
add missing docu for updated commandline-flags
update changelog


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@827 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-06 21:11:18 +00:00
Jeroen Meijer
c988ab7224 add keyboard indicators data pdu type
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@816 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-20 20:43:58 +00:00
Michael Gernoth
53eabea36f Big serial- and disk-redirection update from
Andreas Flick <Andreas.Flick@unicon-ka.de>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@794 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-03 13:56:52 +00:00
Michael Gernoth
e08ca4e7ac Fix compiler error:
"orders.c", line 887: a cast does not yield an lvalue

Fix warnings:
"rdp.c", line 550: warning: integer overflow detected: op "<<"
"cache.c", line 42: warning: initializer does not fit or is out of range: -1


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@725 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-27 18:53:08 +00:00
Jay Sorg
7f836f0384 added persistant bitmap chaching from Jeroen Meijer, slightly modified
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@724 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-27 17:51:54 +00:00
Peter Kallden
5db5d38a46 mppc like decompression for the rdp protocol. code not activated. rdp5 gets some extra opcodes, and the decompression seems to work fine. :\
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@682 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-27 12:55:33 +00:00
Peter Åstrand
374b8aeba0 Applied disconnect handling patch from Jeroen Meijer
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@675 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-20 07:01:21 +00:00
Peter Åstrand
eb4245b24c Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@650 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-15 20:12:42 +00:00
Michael Gernoth
b9145c2384 RDP5 Experience patch by Jeroen Meijer <jeroen@oldambt7.com>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@636 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-15 14:49:12 +00:00
Peter Kallden
6d63bda2e7 leave sound on server -r sound:remote thanks to cbquillen for finding out.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@627 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 12:43:10 +00:00
Peter Kallden
d834c8efb8 adding some constants and sorting them
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@620 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-04 07:57:02 +00:00
Peter Kallden
714cbcd099 better error handling in rdpdr and disk.c - partial merge of Volker Mildes patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@611 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-23 09:58:16 +00:00
Peter Kallden
4991cbccc6 some new defines from anders flick used by disk.c
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@598 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-06 10:33:22 +00:00
Peter Kallden
a61eac7b19 redirection of disk, lptport, printer, comport.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@568 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-21 14:40:40 +00:00
Matt Chapman
c59e388bd5 Don't complain about data PDU 47 - seems to be normal when disconnecting
from a console session on XP and 2003.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@521 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-29 04:18:00 +00:00
Peter Åstrand
0affa3f3ff Applied null cursor patch from jeroen@oldambt7.com
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@507 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-22 10:55:11 +00:00
Michael Gernoth
5d67a3e036 Volume control for OSS & SUN
Ignore first 4 bytes of audio-packet (clicking noise)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@490 423420c4-83ab-492f-b58f-81f9feb106b5
2003-10-13 16:09:45 +00:00
Matt Chapman
d3e6c1a157 Preliminary sound support (PCM only).
Based on code from GuoJunBo <guojunbo@ict.ac.cn>


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@473 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-30 09:11:08 +00:00
Peter Åstrand
7ff54cdd90 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@434 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-09 09:18:20 +00:00
Matt Chapman
5b9286e6ea Commit of work in progress on channels (so that other people can hack on
RDPSND), in particular:
* channel layer takes care of virtual channel header
* split X dependent parts out of CLIPRDR, simplified IPC implementation
* initial RDPDR implementation


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@431 423420c4-83ab-492f-b58f-81f9feb106b5
2003-07-01 09:31:25 +00:00
Erik Forsberg
7589a7bf58 Added clipboard-related constants.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@403 423420c4-83ab-492f-b58f-81f9feb106b5
2003-06-06 10:40:14 +00:00
Erik Forsberg
2ea96995a7 Hopefully got the RDP5 Logon packet working.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@370 423420c4-83ab-492f-b58f-81f9feb106b5
2003-05-05 12:20:53 +00:00
Matt Chapman
ce7ad4cfb0 Split licensing "tag" into 8-bit tag/version and remove LICENCE_TAG_*_5
constants.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@363 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-16 08:08:40 +00:00
Erik Forsberg
af17f51472 Added a small thankyou-comment.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@359 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-03 13:56:51 +00:00
Erik Forsberg
bc446480d5 Define and use RDP5-related licence tags. Seems to solve the troubles with
undefined licence tags when running in RDP5 mode.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@358 423420c4-83ab-492f-b58f-81f9feb106b5
2003-04-03 13:52:41 +00:00
Erik Forsberg
593d7a04d6 Added the constants SEC_TAG_CLI_4 and SEC_TAG_CLI_CHANNELS. Both are
used in the RDP5 support.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@345 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-27 13:10:16 +00:00
Erik Forsberg
3a1e4d167b Added comment about where to find definition of General Capability set.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@338 423420c4-83ab-492f-b58f-81f9feb106b5
2003-03-06 14:06:38 +00:00
Matt Chapman
b120a50f44 Update copyright dates on all files that have changed.
Bump version to 1.2-cvs.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@206 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:26:46 +00:00
Peter Åstrand
2a495de6e8 Inhibited keys are defined in keymap files; not hardcoded
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@115 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 11:11:27 +00:00
Peter Åstrand
df8c2e47ce Added "localstate" support to keymapping: Send local modifier state. This fixes problems with Shift-Home etc
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@68 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-27 22:35:38 +00:00
Peter Åstrand
0685b1b65c Fixed indentation with indent
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@63 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 16:38:31 +00:00
Peter Åstrand
7df1204803 Added indent-all.sh
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@62 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 14:44:32 +00:00
Jay Sorg
17d9c67ce3 added wheel mouse support
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@55 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-12 22:40:32 +00:00
Matt Chapman
3ea5e25643 Code to save and load licence (not quite working yet - server still seems
to reissue the licence).
Small clean-up in xkeymap.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@38 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-05 07:57:43 +00:00
Matt Chapman
a42509f2e5 Major cleanups, particularly in X code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@28 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-14 03:38:39 +00:00
Matt Chapman
b5082af223 Merges from pl19-6-5.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@27 423420c4-83ab-492f-b58f-81f9feb106b5
2001-06-20 13:54:48 +00:00
Matt Chapman
6585bc027f Added a number of command line options including autologon.
Inverted sense of -m (the default is now to send mouse move events).
Preparing for release of 1.0.0.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@20 423420c4-83ab-492f-b58f-81f9feb106b5
2000-10-16 08:44:48 +00:00
Matt Chapman
f032bc75af Added specific handler for triblt opcode 0x69 (used by Microsoft Word),
and fixed a typo in the default handler.
Fixed implementation of desktop cache code, which was sometimes
overlapping saves.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@15 423420c4-83ab-492f-b58f-81f9feb106b5
2000-09-28 07:04:14 +00:00
Matt Chapman
cd9b5a8761 Major commit of work from laptop - done in various free moments.
Implemented encryption layer and some basic licensing negotiation.
Reorganised code somewhat. While this is not quite as clean, it is
a lot faster - our parser speed was becoming a bottle-neck.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@9 423420c4-83ab-492f-b58f-81f9feb106b5
2000-08-15 10:23:24 +00:00