Commit Graph

1500 Commits

Author SHA1 Message Date
Peter Åstrand
cc1ce68417 Tweaked the SeamlessRDP documentation: Telling where to download seamlessrdpshell
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1242 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-05 12:36:29 +00:00
Peter Åstrand
c2d3430c02 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1241 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-05 12:07:48 +00:00
Peter Åstrand
40d0ed7c2d Updated 1.5.0 ChangeLog: Large file support, default color depth and
Vista support.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1240 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-05 12:04:56 +00:00
Michael Gernoth
1ea625c969 fix some warnings
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1239 423420c4-83ab-492f-b58f-81f9feb106b5
2006-07-02 13:03:22 +00:00
Peter Åstrand
6fa3105441 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1238 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-21 14:40:02 +00:00
Matt Chapman
797a7c980c Windows Vista Beta 2 sends a disconnect PDU with reason 0 when reconnecting
to a disconnected session (I do not know if this is a bug or a feature).
Previously we would drop the connection.

I suspect that in general we shouldn't be dropping the connection in
response to the disconnect PDU; we should treat it as informative like the
logon PDU and just save the status.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1237 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 08:59:03 +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
Matt Chapman
997e354a24 Fix a small memory leak.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1235 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 06:30:54 +00:00
Pierre Ossman
6b600842b7 QT sets incorrect types on clipboard properties so we have to accept
everything and hope for the best.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1233 423420c4-83ab-492f-b58f-81f9feb106b5
2006-05-15 11:38:49 +00:00
Pierre Ossman
f8b9095263 Add a destroy group command to SeamlessRDP for when entire groups of windows
get killed off in one go.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1231 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-28 07:55:36 +00:00
Pierre Ossman
7656da0f6b Don't print server side debug messages unless WITH_DEBUG_SEAMLESS is defined.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1230 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-20 13:01:45 +00:00
Peter Åstrand
e708ae8f7a Removed two things from the SeamlessRDP TODO: Clipboard works and the Security Dialog is recoqnized.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1228 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-20 12:41:37 +00:00
Peter Åstrand
3486cb8a80 Removed the localstate keyword from translations using numlock. This
combination doesn't work very well, for a number of reasons. In
Windows, Shift+KP_key isn't the same thing as NumLock+KP_key. For
example, Shift+0x53 (the Delete key) actually means BackSpace! This
behaviour isn't expected in X11.

With this patch, rdesktop should now work just like most X11
applications, such as standard KDE apps. Additionally, it improves
compatibility with those environments that fakes NumLocks with Shifts,
such as Xvnc.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1227 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-18 14:47:31 +00:00
Peter Åstrand
42970a8216 Make rdpsnd_oss work with Esound again, even with largefile enabled: build this compilation unit without largefile support.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1226 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-13 07:37:24 +00:00
Peter Åstrand
b73a2b4d8c The default color depth is now the depth of the root window.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1225 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-12 06:47:24 +00:00
Peter Åstrand
6e285f3440 ewmh_modify_state: Prevent using uninitialized state; simplify code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1224 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-09 20:22:11 +00:00
Peter Åstrand
9e3dd0b7ab Eliminated a few compile warnings.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1223 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-09 20:16:31 +00:00
Peter Åstrand
2d2ba24cdc Compile fixes for GCC 2.96. Fixes 1444824.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1222 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-09 20:11:42 +00:00
Jay Sorg
7bf79518c0 idx should be uint16
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1221 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-08 04:19:11 +00:00
Jay Sorg
effa62b9c6 pstcache_save_bitmap should use uint8 for width and height
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1220 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-08 03:59:24 +00:00
Peter Åstrand
2b39b63722 Added some test cases.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1219 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 22:36:12 +00:00
Peter Åstrand
54587760ed Using MASK_ macros in a few more places.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1218 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 22:20:43 +00:00
Peter Åstrand
ffb111b2a1 Only release Shift if non-physical shift plus Ctrl is pressed;
not if CapsLock is active. This should solve bug 1228691.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1217 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 22:17:14 +00:00
Peter Åstrand
c05dbc98b1 When synchronizing numlock, send 0 if not using numlock synchronizing,
since that's what our local state variable is initialized to.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1216 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 14:41:34 +00:00
Peter Åstrand
86091fb5f5 Clarified what the numlock flag means.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1215 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 14:19:46 +00:00
Pierre Ossman
c2c379220f Cut down own the redundant clipboard mode arguments.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1214 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-28 14:46:47 +00:00
Pierre Ossman
b1f202a761 Make sure we notify other rdesktops that we exited so that they can update
their clipboard status.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1213 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-28 13:56:08 +00:00
Pierre Ossman
b48e542deb New race free implementation of the rdesktop-to-rdesktop clipboard protocol.
We now use the property on the root window merely as a way of notifying other
windows that something happend. The actual formats are queried directly from
the current clipboard owner. The new model should be easier to extend with
XFixes support.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1212 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-28 13:24:48 +00:00
Pierre Ossman
91779a2fe3 Examine the magic root window property on startup so that we correctly handle
when another rdesktop owns the clipboard when we start.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1211 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 13:03:27 +00:00
Pierre Ossman
ce69fe16be Handle when server sends a failure back for a clipboard request.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1210 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 12:29:29 +00:00
Pierre Ossman
0732aaa60a Store the time when we acquired the selection so that we can correctly
report it when queried.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1209 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 11:31:10 +00:00
Pierre Ossman
2661541740 Handle when server doesn't give us any clipboard data.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1208 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 11:10:09 +00:00
Pierre Ossman
b9f44e00a8 Reorder construction of the target list so that we do not insert an atom that
isn't yet created. Also make sure that we order targets in order of preference.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1207 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 10:41:22 +00:00
Pierre Ossman
ba2f441f18 Control clipboard behaviour (and even disable it) using command line options.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1206 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 09:20:24 +00:00
Pierre Ossman
2e80d53a30 Examine timestamps of PRIMARY and CLIPBOARD to determine which is more
recent and should therefore be used.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1205 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:49:38 +00:00
Pierre Ossman
93cfd505c0 We requested data from CLIPBOARD even though we might be examining the targets
for PRIMARY.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1204 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:41:16 +00:00
Peter Åstrand
5100adfeca Added a few more TODOs for SeamlessRDP.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1203 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:40:58 +00:00
Pierre Ossman
c13ad01965 Use the helper functions since they make sure the server end flushes its
cache.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1202 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:39:20 +00:00
Pierre Ossman
11d219de02 Make a copy of the formats list so that we can properly resend it when the
server is too busy to accept it.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1201 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:30:15 +00:00
Pierre Ossman
1946b02f65 More clipboard debug output.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1200 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:24:41 +00:00
Peter Åstrand
d34f119841 Note about SeamlessRDP.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1199 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:18:35 +00:00
Peter Åstrand
6b6ebaad66 Added SeamlessRDP support: Merged seamlessrdp-branch
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1198 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:17:34 +00:00
Peter Åstrand
1ae77985b3 Minor whitespace changes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1197 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 08:09:55 +00:00
Peter Åstrand
b8d22567ac ON_ALL_SEAMLESS_WINDOWS: Return immediately if no seamless windows.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1196 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-27 07:45:34 +00:00
Pierre Ossman
9fb01276f2 Give virtual channel debug output its own switch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1195 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-24 15:34:32 +00:00
Jay Sorg
d411accb2f get uiport compiling again
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1194 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-23 01:32:49 +00:00
Pierre Ossman
2101ef3081 Update seamless protocol spec with the new HIDE/UNHIDE commands.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1193 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-22 16:28:13 +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
Peter Åstrand
a75c18a3fc One more SeamlessRDP TODO:
* Implement something similiar to explhook.dll


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1190 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-22 15:55:04 +00:00
Peter Åstrand
6f0c28753f One more SeamlessRDP TODO:
* Add a client to server message for starting additional
    applications.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1189 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-22 15:33:37 +00:00