This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /sourceforge.net/trunk/rdesktop/xwin.c
Parent Directory
| Revision Log
Revision
763 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 07:19:20 2004 UTC
(19 years, 10 months ago)
by
astrand
File length: 48603 byte(s)
Diff to
previous 754
,
to
selected 250
The current version of ui_create_cursor requires that
null_pointer_data is nine octets. This patch fixes valgrind errors.
Revision
677 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 26 13:48:39 2004 UTC
(20 years, 2 months ago)
by
n-ki
File length: 46364 byte(s)
Diff to
previous 651
,
to
selected 250
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
Revision
620 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 3 10:46:35 2004 UTC
(20 years, 4 months ago)
by
astrand
File length: 45125 byte(s)
Diff to
previous 619
,
to
selected 250
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.)
Revision
592 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 30 14:10:32 2004 UTC
(20 years, 5 months ago)
by
n-ki
File length: 44749 byte(s)
Diff to
previous 580
,
to
selected 250
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.
Revision
565 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 19 21:58:58 2004 UTC
(20 years, 5 months ago)
by
stargo
File length: 44403 byte(s)
Diff to
previous 564
,
to
selected 250
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.
Revision
541 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 2 16:43:29 2003 UTC
(20 years, 8 months ago)
by
stargo
File length: 43540 byte(s)
Diff to
previous 537
,
to
selected 250
Fix crash bug when toggling fullscreen-mode with fancy cursors.
Do no longer destroy the global null_cursor, when destroying the
current window.
Revision
534 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 30 00:10:32 2003 UTC
(20 years, 8 months ago)
by
stargo
File length: 43530 byte(s)
Diff to
previous 532
,
to
selected 250
translate24to{24,32} were not using make/split-colour which makes
them unuseable on BE RGB-Displays of this depth...
This should fix it.
Revision
519 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 28 03:40:26 2003 UTC
(20 years, 8 months ago)
by
matthewc
File length: 42468 byte(s)
Diff to
previous 517
,
to
selected 250
Convert bpp printf into DEBUG_RDP5 (perhaps not the ideal category but
it will do for now).
Revision
487 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 13 12:34:15 2003 UTC
(20 years, 9 months ago)
by
astrand
File length: 41882 byte(s)
Diff to
previous 483
,
to
selected 250
Corrected SET_FOREGROUND/SET_BACKGROUND in Hatch handling routine.
This should be done according to patch 688390, and feels right,
although I basically have no idea of what I'm doing :-)
Revision
449 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 27 09:42:55 2003 UTC
(20 years, 10 months ago)
by
astrand
File length: 39099 byte(s)
Diff to
previous 448
,
to
selected 250
kbd: Restoring changed remote modifiers after keypress. Fixes problem with shift & altgr 'stuck' down after typing, for example, A
Revision
432 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 1 09:31:25 2003 UTC
(21 years ago)
by
matthewc
File length: 38849 byte(s)
Diff to
previous 415
,
to
selected 250
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
Revision
415 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 6 11:10:48 2003 UTC
(21 years, 1 month ago)
by
forsberg
File length: 41335 byte(s)
Diff to
previous 376
,
to
selected 250
Listen for clipboard-related events and handle them.
Listen for IPC-related events and handle them.
Changes after running indent-all.sh
Revision
342 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 14 12:00:17 2003 UTC
(21 years, 4 months ago)
by
astrand
File length: 37257 byte(s)
Diff to
previous 332
,
to
selected 250
Support for moving window by dragging applications title bar. To be used
in conjunction with -s, -S and -D.
Revision
297 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 28 12:27:28 2003 UTC
(21 years, 5 months ago)
by
matthewc
File length: 30600 byte(s)
Diff to
previous 296
,
to
selected 250
Add a warning function, change some errors to warnings, improve a
couple of error messages (not sure whether scewed was meant to be skewed
or screwed :))
Revision
288 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 5 20:06:32 2003 UTC
(21 years, 6 months ago)
by
jsorg71
File length: 30605 byte(s)
Diff to
previous 286
,
to
selected 250
focus fullscreen window if not focused when mouse moves, it seems some display managers don't focus new windows, this will provides a way to fucus it
Revision
279 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 26 10:09:14 2002 UTC
(21 years, 7 months ago)
by
n-ki
File length: 30459 byte(s)
Diff to
previous 278
,
to
selected 250
owncolmap reintroduced, basically the same code, but with a switch -C. didn't use the -v switch as in the patches. I believe it is confusing and should be reserved for -version information. Other than that I can say that the code does not work as it does in the patches... haven't found what's wrong with it. bit shifting?
Revision
273 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 19 14:22:47 2002 UTC
(21 years, 7 months ago)
by
astrand
File length: 28449 byte(s)
Diff to
previous 265
,
to
selected 250
Made -g workarea a bit less fatal when the WM does not support _NET_WORKAREA:
defaulting to 800x600.
Revision
257 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 11 23:15:27 2002 UTC
(21 years, 8 months ago)
by
jsorg71
File length: 27207 byte(s)
Diff to
previous 253
,
to
selected 250
can't grabkeyboard on focusin unless mouse is in window, can't grabkeyboard on enternotiy unless window is focused, cache them, other grabkeyboard fixes
Revision
253 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 5 11:09:26 2002 UTC
(21 years, 8 months ago)
by
matthewc
File length: 26617 byte(s)
Diff to
previous 250
Need to make absolutely sure rdesktop ungrabs the keyboard - do it on
LeaveNotify as well.
Revision
250 -
(
view)
(
annotate)
-
[selected]
Modified
Sun Nov 3 12:33:02 2002 UTC
(21 years, 8 months ago)
by
matthewc
File length: 26523 byte(s)
Diff to
previous 210
Focus upon receiving EnterNotify in fullscreen mode (in lieu of window manager)
Revision
203 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 26 14:04:30 2002 UTC
(21 years, 9 months ago)
by
matthewc
File length: 26350 byte(s)
Diff to
previous 201
,
to
selected 250
Optimise get_key_state by caching the modifier map and the state
(this can probably still be improved in the future).
Only call time(NULL) for the events where it's needed.
Revision
194 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 24 12:25:21 2002 UTC
(21 years, 9 months ago)
by
matthewc
File length: 26119 byte(s)
Diff to
previous 192
,
to
selected 250
Move keyboard grabbing to FocusIn/FocusOut to fix "rdesktop gets screensaver
password" problem. Hopefully this won't bring back the phantom flashing
titlebar...
Revision
190 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 24 07:33:17 2002 UTC
(21 years, 9 months ago)
by
matthewc
File length: 26194 byte(s)
Diff to
previous 188
,
to
selected 250
Make no translation messages DEBUG_KBD.
Clean up includes, fix a few compile warnings, avoid rdesktop.h depending
on X (at the expense of KeySym -> uint32 - maybe in the future we need a
better proto scheme).
Revision
188 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 24 06:09:09 2002 UTC
(21 years, 9 months ago)
by
matthewc
File length: 26266 byte(s)
Diff to
previous 185
,
to
selected 250
Reinstate a cleaned-up version of the old xwin_toggle_fullscreen - I indeed
can't get it working reliably with all window managers without creating a
new window.
Move remaining non-window dependant code into ui_init/ui_deinit so that
xwin_toggle_fullscreen can do ui_destroy_window/ui_create_window.
Revision
158 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 15 11:53:50 2002 UTC
(21 years, 9 months ago)
by
matthewc
File length: 26575 byte(s)
Diff to
previous 157
,
to
selected 250
Possible fix for "flashing title bar" problem (don't grab in response
to FocusIn/FocusOut - seems to cause an event loop).
Revision
123 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 14 13:47:24 2002 UTC
(21 years, 9 months ago)
by
matthewc
File length: 26616 byte(s)
Diff to
previous 121
,
to
selected 250
Rewrite of toggle_fullscreen so it modifies the attributes of the existing
window instead of creating a new one.
Revision
121 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 14 11:48:44 2002 UTC
(21 years, 9 months ago)
by
matthewc
File length: 27033 byte(s)
Diff to
previous 119
,
to
selected 250
Move non-window-related initialisation to ui_init.
All functions after ui_init can now assume display and other globals are valid.
Revision
119 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 12 09:38:31 2002 UTC
(21 years, 10 months ago)
by
astrand
File length: 28095 byte(s)
Diff to
previous 118
,
to
selected 250
Fixes Excel scroll-of-death problem: earlier select-loop failed to call xwin_process_events
when the queue was non-zero but the X11 socket was empty.
Revision
103 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 29 14:18:24 2002 UTC
(21 years, 10 months ago)
by
matthewc
File length: 28102 byte(s)
Diff to
previous 102
,
to
selected 250
Make sure width is a multiple of 4 (previous version in ui_create_window
was getting done too late, after connection).
Revision
70 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 27 23:09:32 2002 UTC
(21 years, 11 months ago)
by
astrand
File length: 24505 byte(s)
Diff to
previous 69
,
to
selected 250
Add support for enabling/disabling local compose handling. Compose support is now disabled per default
Revision
69 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 27 22:35:38 2002 UTC
(21 years, 11 months ago)
by
astrand
File length: 24461 byte(s)
Diff to
previous 66
,
to
selected 250
Added "localstate" support to keymapping: Send local modifier state. This fixes problems with Shift-Home etc
Revision
54 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 7 07:49:59 2002 UTC
(22 years, 1 month ago)
by
n-ki
File length: 28541 byte(s)
Diff to
previous 53
,
to
selected 250
using XEvent instead of XkbEvent. better tracking of modifiers. ( TODO: 1. sync at start up, 2. fallback for missing or improperly configured xkb module. )
Revision
53 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 28 11:48:55 2002 UTC
(22 years, 1 month ago)
by
matthewc
File length: 26873 byte(s)
Diff to
previous 52
,
to
selected 250
Revert to old behaviour of connecting before creating the UI.
This is to stop the UI generating input before the connection is complete
(which causes connection failures). The one difficulty is that ui_select
is now called before ui_create_window, which may cause problems for other
UIs - we may still need to change this in the future.
Revision
52 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 26 08:22:39 2002 UTC
(22 years, 2 months ago)
by
n-ki
File length: 26873 byte(s)
Diff to
previous 50
,
to
selected 250
adds support for accessx, makes it possible for people with disabilities to use rdesktop. Relies on XKB. Sync problem with changed modifiers on focus in not fixed yet...
Revision
49 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 19 12:06:08 2002 UTC
(22 years, 2 months ago)
by
mmihalik
File length: 21721 byte(s)
Diff to
previous 44
,
to
selected 250
This fixes TEXT2(cache) procesing with corrupted screen with long lines and vertical text.
Revision
38 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 4 12:04:33 2002 UTC
(22 years, 3 months ago)
by
matthewc
File length: 20574 byte(s)
Diff to
previous 36
,
to
selected 250
Committing my keymap work - unlike the version in the unified patches,
this one uses external keymap files (which are my preference).
Revision
33 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 15 12:34:34 2001 UTC
(22 years, 9 months ago)
by
matty
File length: 21826 byte(s)
Diff to
previous 31
,
to
selected 250
Add a ui_select to xwin.c to reduce latency.
Remove extraneous error messages - only report at lowest level.
Endianness and IRIX compile fixes.
Revision
30 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 14 13:51:38 2001 UTC
(22 years, 9 months ago)
by
matty
File length: 19085 byte(s)
Diff to
previous 29
,
to
selected 250
Portability fixes, including elimination of variable argument macros.
Rudimentary configure script.
Miscellaneous cleanups.
Revision
21 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 16 08:44:48 2000 UTC
(23 years, 8 months ago)
by
matty
File length: 12339 byte(s)
Diff to
previous 20
,
to
selected 250
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.
Revision
16 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 28 07:04:14 2000 UTC
(23 years, 9 months ago)
by
matty
File length: 12107 byte(s)
Diff to
previous 12
,
to
selected 250
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.
Revision
10 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 15 10:23:24 2000 UTC
(23 years, 10 months ago)
by
matty
File length: 12141 byte(s)
Diff to
previous 9
,
to
selected 250
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.
Revision
9 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 25 12:34:29 2000 UTC
(23 years, 11 months ago)
by
matty
File length: 11943 byte(s)
Diff to
previous 7
,
to
selected 250
Committing some awesome progress I made while overseas - this commit
really embodies a huge number of changes. We are now able to talk quite
fluently to a French NT Terminal Server - in normal usage only minor
font issues remain (handling of TEXT2 order is not perfect).
The next major hurdle is encryption, and it will be quite a big hurdle
- there seems to be some quite nasty session key stuff.
Revision
7 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 7 09:40:03 2000 UTC
(24 years ago)
by
matty
File length: 3395 byte(s)
Diff to
previous 6
,
to
selected 250
Miscellaneous updates: implemented some more protocol features including
colour maps. Started on a new bitmap decompression engine which is not
completely working yet - however I am going back on the road so I am
committing now.
Revision
6 -
(
view)
(
annotate)
-
[select for diffs]
Added
Wed Jul 5 07:44:21 2000 UTC
(24 years ago)
by
matty
File length: 2178 byte(s)
Diff
to
selected 250
Started hacking on an X-Windows (Xlib) interface.
Currently pops up a window and displays bitmaps it sees side by side.
Next step is to go back to the protocol and interpret the surrounding data
stream.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.