Commit Graph

62 Commits

Author SHA1 Message Date
Matt Chapman
d2b051fb30 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).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@189 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:33:17 +00:00
Matt Chapman
f418fe1a5c 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.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@187 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 06:09:09 +00:00
Peter Kallden
ce93ec91a4 Owncolmap removed in favour of more intelligent color allocation.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@184 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-18 12:13:08 +00:00
Peter Åstrand
b9eeaf747d Small line-break fix for DEBUG_KBD.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@181 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 16:55:43 +00:00
Peter Åstrand
8c203e862f xwin_reset_keys -> reset_modifier_keys. Only when necessary
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@169 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 08:18:41 +00:00
Peter Åstrand
eaaec08277 Small indent fix.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@163 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-16 13:19:54 +00:00
Matt Chapman
9d4c3b2872 Now that we have ui_init move rounding of geometry there (it's X-specific).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@159 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:42:26 +00:00
Matt Chapman
1bee46c41e Possible fix for "flashing title bar" problem (don't grab in response
to FocusIn/FocusOut - seems to cause an event loop).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@157 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 11:53:50 +00:00
Matt Chapman
c113538377 Fix rdesktop not resizing properly in xwin_toggle_fullscreen with
some window managers.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@156 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 11:39:16 +00:00
Matt Chapman
4eb19aceb1 Rewrite of toggle_fullscreen so it modifies the attributes of the existing
window instead of creating a new one.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@122 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 13:47:24 +00:00
Matt Chapman
6d5e7121b7 Move non-window-related initialisation to ui_init.
All functions after ui_init can now assume display and other globals are valid.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@120 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-14 11:48:44 +00:00
Peter Åstrand
65ec7634d9 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.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@118 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-12 09:38:31 +00:00
Peter Åstrand
7e7527302c Support for Windows keys (via Ctrl-Esc)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@117 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 11:45:20 +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
9d83ff00e5 Fixes NumLock problems; using RDP_INPUT_SYNCHRONIZE
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@114 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 09:52:30 +00:00
Matt Chapman
fd914b8cb8 Make sure width is a multiple of 4 (previous version in ui_create_window
was getting done too late, after connection).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@102 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-29 14:18:24 +00:00
Peter Åstrand
32d5382f9d Alt modifier for fullscreen toggle
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@101 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-26 17:14:04 +00:00
Peter Åstrand
f56b13e3ae Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@100 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-26 17:12:43 +00:00
Jay Sorg
a7c00fc2e6 toggle full screen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@99 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-24 20:04:56 +00:00
Jay Sorg
8d4995f623 focus out reset keys so some keys do not stick down
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@98 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-20 01:20:08 +00:00
Jay Sorg
d4c08f5a02 clear window upon startup so cached data is not viewed on screen from up19-7-5
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@86 423420c4-83ab-492f-b58f-81f9feb106b5
2002-08-03 22:28:05 +00:00
Peter Åstrand
6d144afb8c Got rid of var-arg macros
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@83 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:30:12 +00:00
Peter Åstrand
4f8b0bc47a Changed max line length to 100
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@81 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 07:18:48 +00:00
Jay Sorg
7a1b799c9d added ui_init for pre connect inits like fullscreen
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@80 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 01:57:39 +00:00
Jay Sorg
ef024a66ae patblt reset orgin from up19-7-4
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@79 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-30 00:56:48 +00:00
Peter Åstrand
e18946a585 Indentation fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@76 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 20:17:10 +00:00
Peter Åstrand
f1e223725f Applied patch from Bob Bell for -K option
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@75 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 20:16:22 +00:00
Peter Åstrand
6481d9b98c Applied patch from Bob Bell (#2)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@72 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 19:21:51 +00:00
Peter Åstrand
acb889329a Applied patch from Bob Bell (#1), which fixes compilation warning messages.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@71 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-29 18:59:01 +00:00
Peter Åstrand
5c181a1e5f Add support for enabling/disabling local compose handling. Compose support is now disabled per default
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@69 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-27 23:09:32 +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
2dd151bd20 Merged new keysym-based keyboard handling (from alt. CVS repos)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@65 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-18 18:28:12 +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
Jay Sorg
ea416fdd13 upside down pattern in patblt
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@58 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-14 04:20:25 +00:00
Peter Kallden
9ddcb7504a using XEvent instead of XkbEvent. better tracking of modifiers. ( TODO: 1. sync at start up, 2. fallback for missing or improperly configured xkb module. )
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@53 423420c4-83ab-492f-b58f-81f9feb106b5
2002-06-07 07:49:59 +00:00
Matt Chapman
09024cf458 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.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@52 423420c4-83ab-492f-b58f-81f9feb106b5
2002-05-28 11:48:55 +00:00
Peter Kallden
7162923fbe 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...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@51 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-26 08:22:39 +00:00
Matt Chapman
0f0d2643f2 There is an extended key flag that we should be setting for extended keys.
(Originally fixed by Ben McKeegan <Ben.McKeegan@fitz.cam.ac.uk>)

Ran make proto.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@49 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-20 09:41:03 +00:00
Michal Mihalik
c3fa5116c7 This fixes TEXT2(cache) procesing with corrupted screen with long lines and vertical text.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@48 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-19 12:06:08 +00:00
Matt Chapman
aee17eea87 Bugfix for ERROR: get font messages, particularly with vertical text.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@43 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-10 14:07:56 +00:00
Matt Chapman
9c0173a1eb Fix for rdesktop hanging when it loses the X server connection.
(reported by Per Kristian Hove <Per.Hove@math.ntnu.no>)


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@41 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-07 09:42:54 +00:00
Matt Chapman
478c36c13b Committing my keymap work - unlike the version in the unified patches,
this one uses external keymap files (which are my preference).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@37 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-04 12:04:33 +00:00
Matt Chapman
027225c75d OSF1/Alpha build fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@35 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-15 14:30:46 +00:00
Matt Chapman
c1c6abb07a Be very careful with if and macros...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@34 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-15 14:01:45 +00:00
Matt Chapman
8bbba2c59f Called translate_colour one too many times.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@33 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-15 13:03:35 +00:00
Matt Chapman
e867eb6fd1 Add a ui_select to xwin.c to reduce latency.
Remove extraneous error messages - only report at lowest level.
Endianness and IRIX compile fixes.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@32 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-15 12:34:34 +00:00
Matt Chapman
973ffe2dc1 Software backing store support.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@30 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-15 03:16:05 +00:00
Matt Chapman
24ea31f68a Portability fixes, including elimination of variable argument macros.
Rudimentary configure script.
Miscellaneous cleanups.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@29 423420c4-83ab-492f-b58f-81f9feb106b5
2001-09-14 13:51:38 +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