Commit Graph

696 Commits

Author SHA1 Message Date
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
171e83a2f8 Oops typo... should have tested it first :)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@203 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:10:30 +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
Matt Chapman
c6038854b1 Provide some more feedback to the user.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@201 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-26 14:01:42 +00:00
Matt Chapman
9365833f59 Fix for flashing title bar problem.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@200 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 14:33:36 +00:00
Peter Åstrand
7968850051 Removed FIXME for key 124 (Print Screen).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@199 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 11:20:14 +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
1063a7f8cf Removed FIXME for key 126.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@197 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 11:12:08 +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
Peter Åstrand
c381a3bb9b Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@195 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 11:07:12 +00:00
Matt Chapman
1687645d7b Sync crypto/ with OpenSSL 0.9.6g (trivial changes only).
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@194 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-25 09:00:57 +00:00
Matt Chapman
23afca950e Move keyboard grabbing to FocusIn/FocusOut to fix "rdesktop gets screensaver
password" problem.  Hopefully this won't bring back the phantom flashing
titlebar...


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@193 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 12:25:21 +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
34e95df6f5 Reorder searches a bit - finds wrong X11 directory on my Debian system
since X11 is symlinked into /usr/include.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@190 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:58:34 +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
Matt Chapman
c0c6d24d16 Look for system OpenSSL in the usual places; if not found recommend installing.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@188 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 07:27:43 +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
Matt Chapman
639cff5c7b Test for X includes with -f instead of -e (-e is non-portable)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@186 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-24 05:14:14 +00:00
Peter Åstrand
47fa8e3bda Updated info about vincent_8bpp.patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@185 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-18 12:28:26 +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
5ccf491924 Applied apostrophe patch from hopfgartner.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@183 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 17:16:24 +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
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
85c1a03f7d Added localstate to space.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@180 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 16:54:04 +00:00
Peter Åstrand
19a109cd9c Updated with info about vincent_8bpp.patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@179 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 16:06:49 +00:00
Peter Åstrand
8a54d6331e Updated with info about vincent_19-7-3_excel.patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@178 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 15:57:01 +00:00
Peter Åstrand
a6098e5f3a Fixed typos: TDB -> TBD
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@177 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 10:00:14 +00:00
Peter Åstrand
ec357a4b2d Updated with info about vpypatch.txt.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@176 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:59:13 +00:00
Peter Kallden
7e00abf141 some BE fixes - without these rdesktop wont run on IBM AIX - such as RS6000 PowerPC
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@175 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:55:03 +00:00
Peter Åstrand
51a944f431 Updated with info about vincent_19-7-2.secure.patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@174 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:42:42 +00:00
Peter Åstrand
219185582d Updated with info about svenni_disable_bs_in_x-tiny-patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@173 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:34:39 +00:00
Peter Åstrand
1204318624 Updated with info about svenni_dis_wmkeybnds.patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@172 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:33:27 +00:00
Peter Åstrand
095219e661 Updated with info about svenni_dis_wmkeybnds.patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@171 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:29:26 +00:00
Peter Kallden
d409df76ab security: when supplying password as arg it is overwritten in the ps table with XXX. (On BSD based platforms this does nothing.)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@170 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 09:20:13 +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
Matt Chapman
4cc46cbe11 Send packet dumps to stdout.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@168 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 07:27:49 +00:00
Matt Chapman
09b205348e The polyline "flags" field seems like it might be a ROP2.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@167 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-17 07:23:32 +00:00
Peter Åstrand
546b0139b2 Added note about keymap files naming.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@166 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-16 18:54:50 +00:00
Peter Åstrand
46ef23bfde Type fix: There are four types of lines.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@165 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-16 18:20:33 +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
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
Peter Åstrand
f03ecb52e9 Updated info about rdesktop-gmp.patch.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@162 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-16 07:10:42 +00:00
Matt Chapman
c412dc458d Fix references to BINDIR/MANDIR -> bindir/mandir.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@161 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:58:42 +00:00
Matt Chapman
0b010de477 Reenable bitmap caching (inadvertantly disabled by a patch in 1.1.0)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@160 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:46:41 +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
4cefa21dd4 #ifdef out licence save code. I don't think it's really necessary; it's
always been broken and AFAIK no-one has complained.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@158 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 12:36:55 +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
e76dae49d7 Move platform-specific stuff to configure (avoid relying on GNU make)
Autodetect gcc in configure
Autodetect X11DIR in configure
Rename PREFIX etc in line with GNU conventions


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@155 423420c4-83ab-492f-b58f-81f9feb106b5
2002-09-15 11:36:23 +00:00