Commit Graph

34 Commits

Author SHA1 Message Date
Matt Chapman
a3088b8a6c On Solaris Break is Shift-Pause not Alt-Pause - so when checking for
Ctrl-Alt-Break, accept both Break and Pause and check state of Ctrl
and Alt.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@211 423420c4-83ab-492f-b58f-81f9feb106b5
2002-10-06 13:25:30 +00:00
Matt Chapman
b120a50f44 Update copyright dates on all files that have changed.
Bump version to 1.2-cvs.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@206 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:26:46 +00:00
Matt Chapman
e3e20a7ad0 Convert C++ style comment.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@205 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:17:41 +00:00
Matt Chapman
f4009305c7 Suppress missing translation warnings if the keymap was "none" or doesn't
exist (in the latter case the user already receives an error).


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@204 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:11:59 +00:00
Matt Chapman
b46de1c760 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.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@202 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:04:30 +00:00
Peter Åstrand
77f962c2c8 Support for Break key.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@198 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 11:17:59 +00:00
Peter Åstrand
e98b17731d Support for Pause key.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@196 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 11:07:57 +00:00
Matt Chapman
837d91eefc Avoid sending release of Break in Ctrl-Alt-Break to server.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@192 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 11:14:46 +00:00
Matt Chapman
5514330916 foo function() -> foo function(void) to conform to ANSI C.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@191 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:59:14 +00:00
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
Peter Åstrand
16122cf6f6 Shift optimization: Either left or right shift is fine.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@182 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 16:57:07 +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
3b403f9346 Better handling of guessed key translations: Uses local shift state.
Fixes problem with LeftShift not working without keymaps.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@164 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-16 13:21:44 +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
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
Peter Åstrand
6927e1563c DEBUG_KBD changes: only printing remote_modifier_state when changed
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@112 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-11 07:39:53 +00:00
Peter Åstrand
434d9cbe94 Replaced all printf with fprintf(stderr)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@110 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-01 12:03:33 +00:00
Peter Åstrand
51558f920b Keypresses was not sent unless DEBUG_KBD was enabled
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@84 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-31 06:49:34 +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
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
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
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
Jay Sorg
2c654d76dc added wheel mouse support
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@66 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-23 01:53:04 +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
17d9c67ce3 added wheel mouse support
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@55 423420c4-83ab-492f-b58f-81f9feb106b5
2002-07-12 22:40:32 +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
Matt Chapman
3ea5e25643 Code to save and load licence (not quite working yet - server still seems
to reissue the licence).
Small clean-up in xkeymap.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@38 423420c4-83ab-492f-b58f-81f9feb106b5
2002-04-05 07:57:43 +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