Commit Graph

1349 Commits

Author SHA1 Message Date
Peter Åstrand
dddbfd93d8 Added comments about the TS_EXTENDED_INFO_PACKET variables.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1530 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-11 13:11:19 +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
Peter Åstrand
cf715c225c Indented on Fedora 11
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1527 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 18:52:26 +00:00
Peter Åstrand
d00373436a Avoid code duplication in iso_connect/iso_reconnect.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1526 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 18:42:47 +00:00
Peter Åstrand
a410341c11 Indented on Fedora 11
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1525 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 18:39:20 +00:00
Peter Åstrand
775715848c Avoid code duplication in mcs_connect/mcs_reconnect.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1524 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 18:31:16 +00:00
Peter Åstrand
1f3d7e61bc Document XP/domain return code problem.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1523 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-04 09:40:55 +00:00
Jay Sorg
c0197b7be2 Fix annoying problem where screen doesn't update until you move the mouse, caused by xwin.c revision 886
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1521 423420c4-83ab-492f-b58f-81f9feb106b5
2009-10-25 23:37:26 +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
Jay Sorg
6bc8c23da3 send the correct num_caps in rdp_send_confirm_active, re-enable glyph cache
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1519 423420c4-83ab-492f-b58f-81f9feb106b5
2009-10-19 23:02:52 +00:00
Peter Åstrand
bbeb187681 When modifiers are used and a key is released, the generated keysym
might be different from the one generated when the key was
pressed. This can happen if the user physically releases the modifier
key before the symbol key. It can also happen with VNC servers such as
Xvnc, since it only "fakes" the correct modifiers during key
presses. So, we must remember which keysym that was used during the
key press, and use the same on release, otherwise keys such as the
Windows key can be stuck activated. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1512 423420c4-83ab-492f-b58f-81f9feb106b5
2009-09-17 13:52:04 +00:00
Peter Åstrand
ecd9eeeaa6 Added hint of how to test egrave sequence.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1511 423420c4-83ab-492f-b58f-81f9feb106b5
2009-09-17 12:42:36 +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
Peter Åstrand
5c67800d15 Indent fixes; ran indent-all with modern indent (F11)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1509 423420c4-83ab-492f-b58f-81f9feb106b5
2009-08-27 08:35:48 +00:00
Peter Åstrand
ea46f1729d process_data_pdu never returns True nowadays, so the comment about the
disc variable is incorrect. Removed the variable, since it's always
False.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1508 423420c4-83ab-492f-b58f-81f9feb106b5
2009-08-27 07:30:32 +00:00
Peter Åstrand
55eaf2a098 Fix build with DEBUG: depth variable is no longer.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1507 423420c4-83ab-492f-b58f-81f9feb106b5
2009-08-26 15:20:32 +00:00
Peter Åstrand
be2812888f Applied patch by Enrico Scholz:
autoconf: renamed socklen_t_equiv to socklen_t_ac_equiv - ID: 2624071



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1506 423420c4-83ab-492f-b58f-81f9feb106b5
2009-08-26 12:34:04 +00:00
Peter Åstrand
e5e7b5572f Minor changes to make this README reStructured text.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1505 423420c4-83ab-492f-b58f-81f9feb106b5
2009-05-15 11:41:40 +00:00
Peter Åstrand
32e66f94b8 Removed empty script sections
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1485 423420c4-83ab-492f-b58f-81f9feb106b5
2008-12-12 13:49:01 +00:00
Peter Åstrand
c7feab2840 Ran indent-all
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1484 423420c4-83ab-492f-b58f-81f9feb106b5
2008-11-25 08:05:25 +00:00
Jay Sorg
a42c5895f6 added brushtest
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1483 423420c4-83ab-492f-b58f-81f9feb106b5
2008-11-02 03:55:00 +00:00
Jay Sorg
c3dc159869 brush cache for > 2 color brushes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1482 423420c4-83ab-492f-b58f-81f9feb106b5
2008-11-01 02:37:10 +00:00
Peter Åstrand
b64678c9ee Temporarily disabled the recently added brush cache feature, due to
bug 2167833.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1481 423420c4-83ab-492f-b58f-81f9feb106b5
2008-10-20 07:16:43 +00:00
Peter Åstrand
d87e27483f Reworked device opening, only open the device with the access that we
currently needs. Avoids transmitting recording data on playback with padsp.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1480 423420c4-83ab-492f-b58f-81f9feb106b5
2008-10-02 18:21:58 +00:00
Peter Åstrand
edbae085f1 Everything except oss_register can be static
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1479 423420c4-83ab-492f-b58f-81f9feb106b5
2008-10-02 09:48:20 +00:00
Peter Åstrand
27388283ad Removed the hardcoded limit of the username length.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1478 423420c4-83ab-492f-b58f-81f9feb106b5
2008-09-26 11:40:54 +00:00
Peter Åstrand
bf4c26c110 Two minor fixes to avoid compiler warnings.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1477 423420c4-83ab-492f-b58f-81f9feb106b5
2008-09-26 11:32:43 +00:00
Jay Sorg
c9a4156554 update the copyright year
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1476 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 06:01:18 +00:00
Jay Sorg
f306257aa4 ran indent and removed some spaces at EOL
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1475 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:55:52 +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
Matt Chapman
14ce531d73 Update ChangeLog
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1471 423420c4-83ab-492f-b58f-81f9feb106b5
2008-05-11 06:15:40 +00:00
Peter Åstrand
42abc7d5b2 Corrected last patch; rdpsnd_dsp_resample_set is not needed, since we perform the duplication ourselves.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1470 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-25 11:17:21 +00:00
Peter Åstrand
fced134989 Workaround to support recording on Sun Ray x86 systems.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1469 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-24 15:11:17 +00:00
Peter Åstrand
f6d95062f2 Indented
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1468 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-24 14:13:28 +00:00
Matt Chapman
71e90d1f56 Fix for Windows 2008 Server (see Patch #1744033)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1467 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-05 07:37:02 +00:00
Matt Chapman
7902a19869 Update to tr keymap (Patches #1907097)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1466 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-05 06:31:37 +00:00
Matt Chapman
5c7d320c99 Update to fr-ca keymap from ticpu@users.sourceforge.net (Bug #1904884)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1465 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-05 06:24:26 +00:00
Matt Chapman
b25d176fe1 Bump version number in preparation for release.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1464 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-05 06:15:45 +00:00
Matt Chapman
231c3f1285 Fix bug #1886199 (tracked down by nicolyon@users.sourceforge.net).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1463 423420c4-83ab-492f-b58f-81f9feb106b5
2008-04-05 05:56:26 +00:00
Peter Åstrand
a37022eba5 Moved call to seamless_restack_test from ui_init to end of
ui_create_window. This seems to fix problems the WTS disconnecting the
session due to "DATA ENCRYPTION" errors. At this point, it's unknown
why this patch fixes the problem, but ui_create_window is a good place
for seamless_restack_test() in any case.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1462 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-28 11:36:15 +00:00
Peter Åstrand
079a5c0048 Numbered test cases
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1461 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-27 16:15:21 +00:00
Peter Åstrand
af3925665a Decreased timeout in sw_wait_configurenotify to one second, to reduce
frusrtation with old metacity versions. Need to use gettimeofday.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1460 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-26 17:16:32 +00:00
Peter Åstrand
3a949d3127 Re-worked the support for SeamlessRDP window stacking:
* Since many window managers cannot properly restack a window between
two other windows, we need to check for this at startup.

* A new utility function, sw_wait_configurenotify, is used to wait for
the WM to process our restacking request.

* We are using XReconfigureWMWindow instead of XRestackWindows and
XRaiseWindow, to easier meet the demands of ICCCM. Restacking between
is only done if the WM is not broken, though.

* The error handler does not ignore BadMatch from ConfigureWindow
requests any longer. I haven't found any WM that gives BadMatch for
XReconfigureWMWindow.

* The test cases has been updated to test more stacking cases.


A somewhat related bug fix wrt focus handling is also included, which
prevents FOCUS messages when reverting focus from a destroyed window


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1458 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-26 16:44:55 +00:00
Peter Åstrand
d7f206df6c Added TODO about reconnecting and icons
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1457 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-25 15:13:47 +00:00
Peter Åstrand
9a4bfd1c8d Testing without WM is also a good idea. Added two new test cases.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1456 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-24 17:54:33 +00:00
Peter Åstrand
4f21fb4975 Added simple tool for SeamlessRDP testing
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1455 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-24 17:49:06 +00:00
Peter Åstrand
f1bcaa9f3e Reminder: test different WMs
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1453 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-14 07:43:46 +00:00
Peter Åstrand
d654753ea6 SeamlessRDP bugfix: The first window to XRestackWindows should be the
reference window (the "behind" window); not the window to restack.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1452 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-14 07:39:38 +00:00