Commit Graph

288 Commits

Author SHA1 Message Date
Pierre Ossman
07667c4d7c Completely redraw a seamless window when our reposition is complete. This
will clear out any rendering bugs caused by the fact the meta-data channel
isn't synchronized with the main graphics channel.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1180 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-21 15:29:47 +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
39654aef29 SeamlessRDP: Initializing all of sw->outpos_ variables.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1173 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 16:14:02 +00:00
Peter Åstrand
c997751ac9 Removed unneccessary return.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1171 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 15:58:16 +00:00
Peter Åstrand
d9b1dc3e3c Do not explicitly specify override_redirect=False when creating
SeamlessRDP window; default false is fine.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1170 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 15:55:18 +00:00
Peter Åstrand
b09bdd7fac Cleaned up SeamlessRDP functions: All utility functions are prefixed with sw_.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1169 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 15:43:15 +00:00
Pierre Ossman
a62da2d8fb Make sure we do not update seamless windows' offsets until we get an ACK
back (i.e. when the request has been executed).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1167 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 14:39:00 +00:00
Pierre Ossman
62b1c67758 Basic infrastructure for receiving seamless ACK:s.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1165 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-20 12:36:14 +00:00
Pierre Ossman
54bd012205 Set _NET_WM_STATE property manually for withdrawn windows.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1158 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-17 15:16:52 +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
Pierre Ossman
d54d68dccc Add some client side book keeping of window ordering and focus in order to
not send unnecessary updates. This is done to avoid side effects for commands
that would seem to be no-ops.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1154 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-17 10:48:11 +00:00
Pierre Ossman
b899e2f50f Detect focus changes and send FOCUS to the server.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1153 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-17 09:56:20 +00:00
Pierre Ossman
8d65411c21 Support for seamless window restacking (ZCHANGE).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1150 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-17 08:52:29 +00:00
Pierre Ossman
905e228417 Don't activate seamless mode until we have a working connection with the
remote server (i.e. when we get a HELLO).

Also change g_seamless_rdp to mean that -A was specified on the command line.
g_seamless_active now indicates if we're in seamless or "normal" mode.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1148 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 15:27:59 +00:00
Pierre Ossman
c6a5ea32e6 Only allocate the XWMHints structure where we need it.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1143 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 10:14:18 +00:00
Pierre Ossman
06b0c2eb6e Set _NET_WM_STATE atoms via the window manager (as required by the spec.).
Unfortunately, this means we have to wait for the window to leave the
withdrawn state.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1142 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 08:41:53 +00:00
Pierre Ossman
bb3bcfc8a2 Handle initially minimized windows through WM_HINTS.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1141 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 08:11:29 +00:00
Pierre Ossman
f91d09e47a The logic for parent window was borked. Minor if-statement tweak.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1139 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 15:27:24 +00:00
Peter Åstrand
661a93ab08 Set _NET_WM_NAME
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1138 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 15:16:18 +00:00
Pierre Ossman
f4cb53875c Handle popups without a parent by setting the window manager hints
_NET_WM_STATE_SKIP_TASKBAR and _NET_WM_STATE_SKIP_PAGER. That seems to get
the behaviour we want.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1136 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 15:10:21 +00:00
Peter Åstrand
0c06b6b1ef Changed default WM_NAME. Changed WM_CLASS to
rdesktop/SeamlessRDP. This makes it easier to identify seamless
windows, but also shows a nicer title in kwin when WM_NAME is empty.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1132 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 13:15:51 +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
4a7a75d402 Support for SeamlessRDP SYNCBEGIN/SYNCEND
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1122 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 08:41:48 +00:00
Peter Åstrand
b198566f5f Ignoring CREATEs for existing windows - be idempotent.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1121 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 08:35:13 +00:00
Peter Åstrand
1894873fb3 When a seamless window is moved to a new desktop, move all other seamless windows as well.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1118 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 06:42:57 +00:00
Peter Åstrand
2a804a8b4f Implemented support for changing state normal/minimized/maximized via EWMH. Also, sending notifications to server when local state changes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1117 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-14 13:56:50 +00:00
Peter Åstrand
0c70be11d4 Checking return value from seamless_get_window_* everywhere
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1106 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 14:09:16 +00:00
Peter Åstrand
0146173a59 ui_seamless_setstate: Support for leaving iconic state.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1104 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 13:46:15 +00:00
Peter Åstrand
b557b2dc63 ui_seamless_create_window: Only search for parent if not zero
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1102 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 13:32:18 +00:00
Peter Åstrand
e6cb9fee3b Setting WM_TRANSIENT_FOR, when necessary
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1100 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 12:56:38 +00:00
Peter Åstrand
95f39af2d3 Parsing the new CREATE command, with parent parameter.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1097 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 12:44:32 +00:00
Peter Åstrand
f756bec8c3 SETSTATE is not two ops: TITLE and STATE
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1093 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-10 10:40: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
b4c4c0195f * If fullscreen mode, set g_using_full_workarea = True;
* When using -g workarea, if workarea fetch fails, do not set
  g_using_full_workarea. Fall back to size of entire screen, instead
  of 800x600.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1056 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-07 08:17:40 +00:00
Peter Åstrand
265f5c101b Applied rdesktop-visual-host-be-fix.patch from #1390148, which fixes a problem when rdesktop is run on a machine with different byte order than the Xserver.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1048 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-01 13:54:19 +00:00
Peter Åstrand
acffcd7e9c Applied patch #1390148 from Ilya Konstantinov: Refactoring of color depth code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1041 423420c4-83ab-492f-b58f-81f9feb106b5
2006-01-24 12:40:24 +00:00
Peter Åstrand
960a02dfeb Corrected spelling error.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1040 423420c4-83ab-492f-b58f-81f9feb106b5
2006-01-24 12:25:49 +00:00
Peter Åstrand
d8a0e374a6 In translate24to32, only read 3 bytes from data buffer. If we are
reading 4 bytes, we are reading beyond the buffer. Fixes valgrind
warnings.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1039 423420c4-83ab-492f-b58f-81f9feb106b5
2006-01-24 12:24:40 +00:00
Peter Åstrand
7d65f76b4d Applied patch #1363476: -D option doesn't work on 64bit system.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1032 423420c4-83ab-492f-b58f-81f9feb106b5
2005-12-27 08:58:57 +00:00
Peter Åstrand
aa7b579355 Another try at the fix for short 0xff and 0xfe commands:
* On short commands, print a warning as well as a debug string.

* For 0xfe, allow one byte commands. In this case, do not increment
  x/y; assume that the third byte is zero.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1030 423420c4-83ab-492f-b58f-81f9feb106b5
2005-11-23 13:26:29 +00:00
Peter Åstrand
798983d938 cache_get_text never returns NULL, so check if entry->data is NULL
instead.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1029 423420c4-83ab-492f-b58f-81f9feb106b5
2005-11-23 12:49:37 +00:00
Peter Åstrand
f2558e541e Handle too short 0xff and 0xfe commands in ui_draw_text.
This fix should remove both a segfault and a "this shouldn't be
happening" abortion, which I can trigger with vertical text in
OpenOffice 2.0.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1028 423420c4-83ab-492f-b58f-81f9feb106b5
2005-11-18 22:46:38 +00:00
Jay Sorg
bf2ea4bcb6 ellipse fix for non copy rop
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1021 423420c4-83ab-492f-b58f-81f9feb106b5
2005-09-29 03:34:33 +00:00
Peter Åstrand
def2b08c1a Disable moving in single-app mode when window is occupying entire
workarea.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@990 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-26 07:01:02 +00:00
Peter Åstrand
758c0576f3 Moved mouse button handling to separate function, handle_button_event. The single app mode has been enhanced: The minimazation now works better.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@987 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-25 20:27:45 +00:00
Peter Åstrand
2daead38a7 Protection against recursive sequences
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@975 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-04 13:39:57 +00:00
Peter Åstrand
c04f1dc310 Implemented support for keyboard "sequences", which makes it possible to send multiple scancodes to the RDP server in response to one X11 keyboard event.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@948 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-02 15:07:35 +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
Michael Gernoth
0929decadd Handle RDP recv queue even in RDP send queue is full.
Patch from James Cameron <james.cameron@hp.com>
This closes Debian Bug #246461.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@886 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-16 11:57:19 +00:00
Michael Gernoth
5a0fa7b5ab Window-placement patch by <gregmhughes@comcast.net>
small modifications by me, to only set the PPosition sizehint, if the
position was specified on the command-line


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@866 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-23 12:25:54 +00:00
Jeroen Meijer
0b5bb3b442 do polyline in a single ui operation: ui_polyline
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@843 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-10 22:48:15 +00:00
Jeroen Meijer
8bc5e0ad3f Fix text2 order parsing. The brush is parsed but not yet used.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@842 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-10 22:40:20 +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
Michael Gernoth
d94519186b fix missing while. This garbled data when displaying on a BE host running
at 32bpp, when rdesktop is running on a LE host connecting with 16bpp to
the TS


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@822 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-28 23:30:00 +00:00
Michael Gernoth
a652d3209d compile fix for older gcc
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@821 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-28 22:38:24 +00:00
Jeroen Meijer
19719019b2 More optimisations
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@820 423420c4-83ab-492f-b58f-81f9feb106b5
2005-02-28 01:15:45 +00:00
Peter Åstrand
881f0fe93e Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@800 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-23 13:29:12 +00:00
Michael Gernoth
12623c1e10 add support for specifying the window-position with the -g parameter
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@799 423420c4-83ab-492f-b58f-81f9feb106b5
2004-11-18 11:18:49 +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
Peter Åstrand
78710116bc null_pointer_data must actually be 24 bytes. Fixes another Valgrind
warning.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@787 423420c4-83ab-492f-b58f-81f9feb106b5
2004-10-21 08:43:22 +00:00
Peter Åstrand
2c9c88f726 The current version of ui_create_cursor requires that
null_pointer_data is nine octets. This patch fixes valgrind errors.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@762 423420c4-83ab-492f-b58f-81f9feb106b5
2004-09-08 07:19:20 +00:00
Michael Gernoth
3dbf5279c8 gui should really have higher priority then sound...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@753 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-23 11:28:23 +00:00
Michael Gernoth
5632b932bc oss sound fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@752 423420c4-83ab-492f-b58f-81f9feb106b5
2004-08-23 11:13:50 +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
Jay Sorg
2942c88808 added ui_begin/end_update and rdp_loop for ports
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@712 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-16 03:08:55 +00:00
Jay Sorg
d33f94f744 clean up and comment the repeat macros
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@708 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-11 22:37:05 +00:00
Jay Sorg
312035fd20 warnings when screen size of depth change and backstore resizeing when screen size changes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@707 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-04 15:01:36 +00:00
Peter Åstrand
030f5f0ca1 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@705 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-01 08:06:02 +00:00
Michael Gernoth
8cf9b562eb fix for colourspace-expansion
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@703 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-27 10:19:41 +00:00
Peter Åstrand
efef8750a8 Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@696 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 13:45:57 +00:00
Michael Gernoth
d48204c9c3 fix compiler warning/error "a cast does not yield a lvalue"
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@694 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-11 07:34:03 +00:00
Peter Åstrand
581acea28a Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@690 423420c4-83ab-492f-b58f-81f9feb106b5
2004-05-06 08:17:47 +00:00
Jay Sorg
7c346510aa speed up screenblt if screen is unobscured
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@687 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-30 19:14:15 +00:00
Jay Sorg
f0fb055450 only do stipple ops on backingstore when possible
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@679 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 23:14:07 +00:00
Jay Sorg
7e650f8a49 unroll the bits in translate8to16/32
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@678 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 23:00:25 +00:00
Peter Kallden
5cfce0a406 new: ui_resize_window() and related, which is used when resizing while shadowing. And fallback for color when connecting to a session with fewer colors than you have set in your session. Jeroen Meijer jeroen@oldambt7.com
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@676 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-26 13:48:39 +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
95d2f76a30 rdp2vnc fixes from Johannes Schindelin <Johannes.Schindelin@gmx.de>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@647 423420c4-83ab-492f-b58f-81f9feb106b5
2004-04-10 09:34:52 +00:00
Jay Sorg
c3defe8dd7 return data only if 15 or 16 bbp in translate_image
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@644 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-29 13:59:03 +00:00
Jay Sorg
b6300628f5 if rdp server and client bpp match and architectures match, don't translate image
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@643 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-25 22:58:45 +00:00
Jay Sorg
910b8094a0 only check g_xserver_be once in translate8toXX
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@642 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-24 18:16:58 +00:00
Michael Gernoth
697f58a48a XEmbed-patch by Arend van Beelen jr. <arend@auton.nl>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@635 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-13 12:08:18 +00:00
Peter Åstrand
a9bd98563c Sometimes, the boxcx value is something really large, like 32691. This
makes XCopyArea fail with Xvnc. If boxcx is this large, reset to
g_width - boxx.

(The reason why boxcx is strange is that os->boxright is strange. I
have no idea what's causing this, though.)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@619 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-03 10:46:35 +00:00
Peter Åstrand
56c429de0c Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@618 423420c4-83ab-492f-b58f-81f9feb106b5
2004-03-03 10:41:53 +00:00
Jay Sorg
7592155f8d optimize split_colour15 and 16
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@616 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-25 18:28:52 +00:00
Michael Gernoth
b540405e17 Make internal backing-store the default && small fix for it
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@608 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-16 20:28:09 +00:00
Michael Gernoth
5ed20d8028 fix select errors due to exploding fdnum n
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@605 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-14 23:20:24 +00:00
Michael Gernoth
7deb3bbc62 fixes for HP-UX
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@602 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-07 18:47:06 +00:00
Peter Kallden
24cce4004e tmp disable select timeout - we segfault
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@593 423420c4-83ab-492f-b58f-81f9feb106b5
2004-02-03 13:55:12 +00:00
Peter Kallden
f8b90aeb7b reworked the asyncio some and completed it. parallel and serial uses it now. disk.c is a likely candidate for the future, but there are some problems with disk.c that we will have to look into first. parallel and serial works better, they do not hang the session, but are still yerky at large chunks... possibly we could split the chunks, but the terminal server does not seem to like partial transfers, i've tried some variations.. :) fns->write() could be split in smaller pieces, but what should the thresholds be.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@591 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-30 14:10:32 +00:00
Peter Åstrand
a9a863db41 Ran indent-all.sh
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@579 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-23 08:35:52 +00:00
Michael Gernoth
628db36a74 fix g_null_pointer memleak
fixes for compiles on NetBSD & FreeBSD


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@575 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-22 20:31:59 +00:00
Michael Gernoth
899e56c108 fix g_gc memleak
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@565 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-19 23:45:26 +00:00
Michael Gernoth
0f1660ead7 Try to use a TrueColor visual, even if the default-visual is
PseudoColor. This enables high-colour modes on displays with
a PseudoColor default visual and eliminates colourmap-flashing
at 8 bpp there.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@564 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-19 21:58:58 +00:00
Jay Sorg
df4b9915d8 ui_draw_text optimize and small fix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@563 423420c4-83ab-492f-b58f-81f9feb106b5
2004-01-16 23:15:33 +00:00
Peter Åstrand
58c2cbd12a When mixing -f and -g, the last option should take precedence.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@546 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-10 15:09:49 +00:00
Michael Gernoth
41ab669bf9 compile when not all baudrates are defined on a system
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@544 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 20:19:01 +00:00
Peter Åstrand
ee9d0add63 Re-worked numlock handling: Keeping remote numlock state in sync with local state
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@542 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 13:33:35 +00:00
Peter Åstrand
bbd2c8f209 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@541 423420c4-83ab-492f-b58f-81f9feb106b5
2003-11-03 13:22:09 +00:00