Commit Graph

3902 Commits

Author SHA1 Message Date
crs a0b25b9d4a checkpoint 2002-05-23 18:35:15 +00:00
crs e277e6e74a added support for mouse wheel on win32. 2002-05-23 18:35:08 +00:00
crs 24f5b66cf3 added support for mouse wheel on X. 2002-05-23 15:50:38 +00:00
crs 4542bb9e40 added a third screen to hard coded map for testing purposes. 2002-05-23 15:00:39 +00:00
crs 9ce7a2757a fixed log message. 2002-05-23 15:00:13 +00:00
crs 13eee14232 server no longer asserts when a client connects with a name that's
already in use by another client.  also added reporting of errors
from the server to clients so clients can report meaningful
messages to users.
2002-05-23 14:56:03 +00:00
crs 995771eec1 checkpoint 2002-05-23 14:04:43 +00:00
crs 6611ea871e changed structs to classes. there should be no more structs now. 2002-05-23 14:04:35 +00:00
crs 6697bd900e checkpoint. 2002-05-22 17:09:08 +00:00
crs 8df02380e5 removed unnecessary call in screen class, added logging calls
in clipboard class, and added another cast in protocol util
to avoid warning on win32.
2002-05-22 17:08:37 +00:00
crs 9e161163b0 now letting some key events filter through. this allows the
keyboard lights to track toggle changes.  however, it also
seems to let through keyboard events that shouldn't get
through.
2002-05-22 17:05:26 +00:00
crs 685bcfa05f fixed incorrect for-loop over directions conditional. 2002-05-22 17:02:58 +00:00
crs a5ae8011e2 win32 changes. replaced log dialog hack with a windows console
window.  now attaching thread input queues as necessary. shifted
code around so toggling toggle keys is immediately reflected by
secondary screen's keyboard.  now setting extended key flag for
keys that need it.  fixed handling of shift + caps-lock.  added
handling of keys that should distinguish between left and right
but don't.  fixed get/set of active window on leave/enter of
primary screen.  replaced 1x1 primary window with a full screen
window to work around a problem with losing key events.  changed
calculation of mouse move deltas.
2002-05-22 17:01:17 +00:00
crs d893cc16a8 fixed type of socket handle (from int to CNetwork::Socket). 2002-05-22 16:56:06 +00:00
crs 5c760183ce removed blank line. 2002-05-22 16:55:19 +00:00
crs 024f76c909 changed un-inlined code to avoid bogus VC++ level 4 warnings.
added support for more win32 thread priorities.
2002-05-22 16:55:05 +00:00
crs cda243ac76 fixed parameter type for socket port. 2002-05-22 16:51:59 +00:00
crs aa125b07c5 changed set of disabled win32 warnings. 2002-05-22 16:43:14 +00:00
crs 0cbd6b07a2 fixed NULL dereference. 2002-05-22 16:42:48 +00:00
crs 4968a5bb7c removed setting send buffer to zero size. it just reduced
performance.
2002-05-05 23:37:12 +00:00
crs f8f1fb4041 replaced True/False with true/false when assigning to m_repeat.
also should now work if the first element of a modifier
keymapping is 0.  that won't normally be the case but xmodmap
was doing weird things on grace.  if the first element is 0
it'll try the second element.  if that's also zero then that
modifier will be ignored.
2002-05-05 19:52:03 +00:00
crs 7ebaab42e0 fixes for win32 keyboard. 2002-05-05 19:38:09 +00:00
crs 2d7e3e8a61 fixed caps-lock handling. 2002-05-04 19:43:20 +00:00
crs 2dad59a027 checkpoint. added half duplex for num lock. 2002-05-04 18:33:48 +00:00
crs cd3e49a9a9 checkpoint. fixing up handling of half-duplex num-lock. 2002-05-04 18:31:54 +00:00
crs 8de2696369 checkpoint. changed when toggle keys toggle (now always on
release).  must see if this works.
2002-05-04 18:09:02 +00:00
crs 4d11079095 Fixes for win32 key handling. 2002-05-04 18:08:22 +00:00
crs f3c70dc300 fixed handling of shift + caps-lock. those two modifiers should
cancel out if the keysym is subject to case conversion, but not
otherwise.  also added logging of key lookup code.
2002-05-04 11:23:11 +00:00
crs b19fdd86cf fixed handling of shift+tab on a system that can map ISO_Left_Tab.
now tries to map ISO_Left_Tab without shift first then falls back
to Tab (note that if ISO_Left_Tab can be mapped but requires a
modifier then the modifier will be added).  also changed attempt
to map ISO_Left_Tab as a backup to Tab to request the shift
modifier whether or not the primary screen requested it.
2002-05-03 12:23:48 +00:00
crs afa14b67c2 fixed handling of ISO_Left_Tab when that is not mapped to a
keycode by mapping it to tab with shift pressed.
2002-05-03 12:14:55 +00:00
crs ab62dec0f7 removed attempt to make release/press of a repeating key use
the same server time.  was getting what appears to be deadlock
but not sure why.
2002-05-03 11:49:30 +00:00
crs 5641a875c1 checkpoint. made changes to support key autorepeats on X. 2002-05-03 11:26:44 +00:00
crs 570d85c842 Indentation change. 2002-05-02 11:44:21 +00:00
crs 5132161e30 Fixed bug in stream buffer that could cause data to be
inserted out of order.  Also removed unnecessary limit
on writes to the TCP socket.
2002-05-02 11:43:52 +00:00
crs 76269a48c1 checkpoint debugging of stream buffer. 2002-05-02 11:33:34 +00:00
crs eb2a202834 Was trying to avoid sending clipboard if timestamp wasn't
changed but clipboard owners may not update that timestamp
when the selection is changed.  Disabled the timestamp check.
2002-05-01 16:30:20 +00:00
crs f052d126c0 Added more checks to avoid sending unchanged clipboard data.
Still takes too long to query the clipboard owner for info
(maybe 1/10th second) but not sure why or if that can be
improved.
2002-05-01 16:17:57 +00:00
crs f2e83e607d checkpoint. turned off nagle and send buffering. also
added test to skip clipboard conversion if a previous
conversion from that owner failed.
2002-05-01 15:31:47 +00:00
crs 59c5e4bf13 Fixed uninitialized variable when computing toggle mask. Also
reduced priority of some mouse motion log messages.
2002-05-01 14:36:52 +00:00
crs c8737de4ad removed obsolete files. 2002-05-01 14:35:55 +00:00
crs f536e1cece added fallback for missing numpad movement keys (if there's no
mapping for those keys then the non-keypad versions are tried).
2002-04-30 18:30:05 +00:00
crs b279c80608 checkpoint. now sending toggle modifier state when entering
a screen.  this allows the secondary screen to set it's
modifier state to match the primary screen's state.  this is
not strictly necessary since each keystroke should adjust the
modifier state as needed to get the right result.
2002-04-30 17:48:11 +00:00
crs 56877bcc7d Added logging and handling of "half-duplex" caps-lock key. 2002-04-30 16:25:29 +00:00
crs c2a69d6c64 Changed name for auto-generated dependency files from
Makedepend to .depend.
2002-04-30 16:23:30 +00:00
crs dc19570621 Fixes to get win32 client and server up to date. 2002-04-30 16:23:03 +00:00
crs ea6b347b18 Indentation changes. 2002-04-29 14:40:01 +00:00
crs 3ca72b35f3 Added some validation of protocol message parameters. 2002-04-29 14:25:24 +00:00
crs 32b085e42e Shortened timeout on waiting for clipboard response. 2002-04-29 14:12:48 +00:00
crs 6a9a180688 Made event selection a little more robust. Also fixed failure
to marshall clipboard data when updating primary clipboards.
2002-04-29 14:08:48 +00:00
crs 6299eea7b6 Added missing event mask. 2002-04-29 13:49:56 +00:00