Commit Graph

  • 8f9cc6e476 Minor X11 keyboard code cleanup. Also now handling KeyPress with keycode == 0 generated by XFilterEvent() by using the keycode from the previous KeyPress. crs 2003-07-05 14:49:08 +00:00
  • 47b480c0bc Compress sequential MappingNotify events into one. crs 2003-07-05 14:47:41 +00:00
  • 24fc257b3c Rewrote key handling on X11 client. This should fix problems with applying the incorrect shift and mode switch modifiers to some keycodes, such as getting Pointer_EnableKeys when pressing shift with NumLock enabled. crs 2003-07-01 19:35:28 +00:00
  • 1eab99d70c Added support for input methods. Only handling IMs that don't need a precompose area or status area. This includes IMs that do simple dead key composition. This only changes the server. The client still does not decompose a character it cannot generate directly into the keysyms to compose the character. crs 2003-06-22 21:27:38 +00:00
  • 48965e2381 More fixes for X11 client keyboard handling. crs 2003-06-22 16:39:25 +00:00
  • a6f21bff90 More fixes for X11 client keyboard handling. crs 2003-06-22 16:39:02 +00:00
  • 92539f2ccc Checkpoint for improving X11 client key handling. Should prevent unintentional Pointer_EnableKeys (i.e. generating NumLock press and release around a shift press). crs 2003-06-22 15:01:44 +00:00
  • 5ca0e026ab Another ctrl+alt+del checkpoint. crs 2003-06-08 22:20:01 +00:00
  • 784ab183ae ctrl+alt+del emulation checkpoint. crs 2003-06-08 22:12:12 +00:00
  • 921526ab56 More DEBUG2 level debugging of keyboard handling. crs 2003-06-08 16:31:52 +00:00
  • f35a4541ee Added new file to Makefile. crs 2003-06-08 15:42:05 +00:00
  • 7464e99ba7 Fixed ctrl and alt keys on win32 clients. Was broken by a recent fix to character handling. crs 2003-06-02 20:07:16 +00:00
  • c70ca5fbff Fixed errors in log strings. crs 2003-06-02 20:06:20 +00:00
  • 7b58356fc7 Added menu item on win32 tray icon to copy the last 1000 lines from the log to the clipboard. crs 2003-06-02 20:06:03 +00:00
  • 5a65e36c99 Added workaround for broken clipboard owners that report the type of TARGETS as TARGETS instead of ATOM. crs 2003-05-26 09:50:35 +00:00
  • af24ae6db7 No longer installing clibboard format for plain text on windows nt family because nt automatically converts to and from the unicode format. This may fix text encoding errors when synergy puts non-ascii text on the clipboard and other clients prefer CF_TEXT to CF_UNICODE (which they should not because synergy lists CF_UNICODE first). crs 2003-05-26 09:49:38 +00:00
  • 3fc87e7f87 Fixed loss of ctrl+alt+del key releases when the Winlogin desktop is accessible (was already fixed when inaccessible). This change also ignores press and release of virtual key 0, which should never happen but does according to one user. crs 2003-05-26 09:46:52 +00:00
  • 3bd3e7a17c Fixed unsigned compare against zero. Changed win32 priority to maximum. crs 2003-05-21 21:22:14 +00:00
  • d577d457e3 Made double tap require moving farther away from the tapped edge before arming. This should reduce spurious double taps. crs 2003-05-21 19:38:11 +00:00
  • bdecca0bcc Attempt to improve key event synthesis. This change adds support for dead keys and attempts to choose the correct code page for the thread that will (probably) receive synthesized events. crs 2003-05-20 19:15:58 +00:00
  • 01fab82edc Reduced maximum priority in debug build. crs 2003-05-20 19:14:24 +00:00
  • c0cd5cfce0 Changed version to 1.0.9 in configure.in. crs 2003-05-17 20:59:57 +00:00
  • 5484751997 Changed version to 1.0.9. crs 2003-05-17 20:58:48 +00:00
  • dc6652a21a Fixed getting locked to screen after ctrl+alt+del. Also fixed cursor not being hidden on win32 server when on client screens (which happened when using low-level hooks). crs 2003-05-17 20:58:27 +00:00
  • 07ed8ebd1c Added documentation for xtestIsXineramaUnaware option. crs 2003-05-17 14:10:11 +00:00
  • 3fc39eab4e Fixed previous fix. Was trying to avoid using XWarpPointer() when warping on screen 0. That just doesn't work if screen 0 is not at 0,0. So now always use XWarpPointer() if there are multiple xinerama screens and the appropriate option is enabled. crs 2003-05-17 14:03:32 +00:00
  • 51919a50e6 Added workaround for when XTest is unaware of Xinerama. When that's true, faking a mouse motion outside screen 0 is clamped onto screen 0. When the workaround is enabled, we use XWarpPointer() instead of an XTest fake motion. This isn't perfect but the only real fix requires patching XTest. crs 2003-05-17 13:44:24 +00:00
  • 92ff58a5af Added support for old versions of XF86keysym.h that are missing some expected #defines. crs 2003-05-17 12:48:32 +00:00
  • b87b1b1894 Updates for version 1.0.8. crs 2003-05-10 18:16:49 +00:00
  • 6f22c4d550 Changed version to 1.0.8. crs 2003-05-10 17:27:05 +00:00
  • a9c3d0be2f Updated documentation. crs 2003-05-10 17:26:42 +00:00
  • 923935060a Fixed jumping to same client screen. It was broken by an earlier change (probably double tap). Jumping to the same server screen worked correctly. crs 2003-05-08 21:59:35 +00:00
  • 0e58bab76c Added support for 4th and 5th (non-mouse-wheel) buttons and "Internet" keyboard keys. crs 2003-05-04 21:40:42 +00:00
  • b840c61f6c Added screen saver synchronization option to win32 launcher dialog. crs 2003-05-03 15:16:30 +00:00
  • ddfc05244b Removed accidental debugging code. crs 2003-05-03 14:54:03 +00:00
  • ed439ec33c Added global configuration option to disable screen saver synchronization. crs 2003-05-03 14:38:36 +00:00
  • 65de05e3ec Forgot to restore global auto-repeat configuration on exit. crs 2003-05-03 13:57:52 +00:00
  • 3fc40e1939 Now warping mouse to center of screen when leaving client screens. Some users requested this. Also, the hider window is mapped before warping the mouse so the active window shouldn't change if the focus policy is point-to-focus. Showing the window first can also reduce the likelihood of seeing the cursor briefly in its hidden position. crs 2003-05-03 13:50:06 +00:00
  • af110dbce2 Now turning off auto-repeat when on an X11 client. This prevents the server from auto-repeating fake events, which is undesired since synergy will do the auto-repeating itself. This also disables auto-repeat on any keys locally configured on X11 to not auto-repeat. That's mainly to suppress auto-repeat on modifier keys, which auto-repeat on win32 but not X11. crs 2003-05-03 13:28:21 +00:00
  • 75729cef46 Fixed a few win32 keyboard/mouse problems. First, the mouse hook now captures non-client area mouse messages. Previously, these were ignored (because i forgot about them) and they caused all kinds of problems because they weren't forwarded. For example, clicking on a window border would cause the window to start resizing when the mouse came back to the server screen. Moving inside a title bar meant that the mouse wouldn't move on the client screen. crs 2003-05-03 12:54:22 +00:00
  • 8d9134f93a Boosted priority of main synergy threads to be very high (highest realtime priority). After some testing it appears that anything less than this can starve synergy in some circumstances, preventing it from forwarding messages to clients. This is a rather risky change since synergy can now virtually take over a system if it behaves badly. This change only affects windows systems since lib/arch of other platforms don't yet attempt to boost priority. crs 2003-05-03 12:37:03 +00:00
  • 42ea6306f6 Fixes to previous checkpoint. Non-ascii keys seem to work correctly. Still not supporting key composition on X11. crs 2003-04-27 18:05:32 +00:00
  • 11f90022e0 Checkpointing improved key handling. This change adds non-ASCII key handling to win32 on both client and server. It also changes the protocol and adds code to ensure every key pressed also gets released and that that doesn't get confused when the KeyID for the press is different from the KeyID of the release (or repeat). crs 2003-04-27 17:01:14 +00:00
  • cf7ab3459d Added KeySym <-> Unicode mappings. Changed code to use those mappings to better support Unicode key events. crs 2003-04-24 20:11:38 +00:00
  • 7791b167bf Added exec.dsp to EXTRA_DIST. crs 2003-04-24 20:10:13 +00:00
  • 54cc95123b Win32 project configuration fixes. crs 2003-04-16 20:59:25 +00:00
  • 56bafdb0e2 Minor win32 fixes. crs 2003-04-16 20:59:14 +00:00
  • 368d8cae39 Now allowing screen names with underscores. crs 2003-04-16 20:05:00 +00:00
  • aeb3f760d0 Fixed incorrect initialization of an XMotionEvent. crs 2003-04-14 22:16:21 +00:00
  • 6a108ed2d5 Added workaround for apparent Xinerama bug when warping the pointer. This should allow synergy to be used on a system using Xinerama to create a single logical screen from multiple physical screens. crs 2003-04-14 22:15:56 +00:00
  • 019994548c Fixed problem with type casting void* to int. crs 2003-04-13 18:14:01 +00:00
  • a4a08c3ce6 Removed periodic call to XForceScreenSaver() to prevent the built-in screen saver from activating. It was unnecessary since the built-in screen saver is disabled as appropriate; this call was just to ensure that the screen saver wouldn't start if an external program reactivated the screen saver after synergy disabled it. crs 2003-04-13 17:13:27 +00:00
  • 4521fe4990 Fixed several win32 bugs. First, synergy wasn't forwarding mouse events to other hook functions, which broke some tools like objectbar. Second, windows key processing was fixed. Previously pressing and release the key would only send a press event, locking the user onto the client window; also, the win32 server treated as a Meta modifier instead of a Super modifier, which broke any use of it as any kind of modifier key. Third, added hacks to support several key combinations on windows 95/98/me that are treated specially by windows, including Alt+Tab, Alt+Shift+Tab, Alt+Esc, Alt+Shift+Esc, Ctrl+Esc, and any combination using the windows key like Win+E and Win+F but not Ctrl+Alt+Del. Fourth, scroll lock only locking to the client (which only happened when using a synergy server on windows) has been fixed; unfortunately the solution causes a lot of screen redraws for some reason. Finally, there's been a fix to clipboard handling that may or may not fix a problem where the clipboard would stop transferring between systems after a little while. I can't be sure if it fixes the problem because I can't reproduce the problem. crs 2003-04-13 14:59:53 +00:00
  • ef59307c16 Added mention of tray icon to launcher start message box. crs 2003-04-13 14:39:17 +00:00
  • 2d168319e4 Changed version to 1.0.7. crs 2003-04-13 14:38:40 +00:00
  • c2bd4ebd4c Changed MS clipboard text converters to truncate the clipboard data at the first NUL. This fixes a bug when interoperating with some win32 programs. crs 2003-04-08 19:26:35 +00:00
  • 53c05e0163 Updates for version 1.0.6. crs 2003-03-26 21:19:10 +00:00
  • 5320f663ba Changed version to 1.0.6. crs 2003-03-26 21:03:58 +00:00
  • 125e81c92e This should fix multimon support on win32. crs 2003-03-25 21:31:39 +00:00
  • 380369d331 Documentation updates. crs 2003-03-22 11:49:23 +00:00
  • 68ecf48a70 Added key modifier and heartbeat options to GUI. crs 2003-03-22 11:49:13 +00:00
  • a6cb8769ba Oops, included a windows only header in non-windows builds. crs 2003-03-21 19:34:08 +00:00
  • 9dabd425a5 Added check for the screen saver actually being active before entering the loop waiting for it to deactivate. The failure to check was causing the screen saver code to kick in when the screen saver timeout occurred, even if the screen saver wasn't enabled (because Windows still sends the screen saver activating message for no good reason when the screen saver is disabled). crs 2003-03-21 19:16:37 +00:00
  • 95263289ac Fixed errors in merge causing infinite loops. crs 2003-03-21 19:14:32 +00:00
  • 7684b35c4f Fixed icons. crs 2003-03-21 19:14:10 +00:00
  • 995c9547cf Fixed getWindowProperty(). It wasn't catching all failure cases correctly. crs 2003-03-21 19:13:15 +00:00
  • a5633b1971 Added options and advanced options dialogs which should've been part of an earlier checkin. Also now saving and restoring options that aren't in the configuration file to/from the registry. crs 2003-03-17 22:32:10 +00:00
  • a7e2141ede Added a log message why the user is locked to the screen. crs 2003-03-17 22:32:01 +00:00
  • 0fd70ee536 Added type casts to avoid warning. crs 2003-03-17 22:31:59 +00:00
  • 9f984ad1a0 Fixed detection of screen saver shutdown on windows nt. crs 2003-03-16 17:40:57 +00:00
  • 74e50877e9 Made releaseKeys() only synthesize key releases for those keys that synergy synthesized a press for, not keys that the user is physically pressing. crs 2003-03-16 17:40:56 +00:00
  • de64342292 Minor hook fixes. crs 2003-03-16 17:40:47 +00:00
  • 95ddb95643 Added resources missing from previous checkin. crs 2003-03-16 17:40:25 +00:00
  • 635a2a7c5f Moved comment to more relevant location. crs 2003-03-13 20:24:45 +00:00
  • a7bafcca2f Fixed double locking of mutex. crs 2003-03-13 19:20:55 +00:00
  • 1d17f865ea Added switch delay and double-tap options to win32 and added a tray icon to the client and server that gives status feedback to the user and allows the user to kill the app. crs 2003-03-12 22:34:07 +00:00
  • f411df65fb Added support for a user option to require hitting the edge of a screen twice within a specified amount of time in order to switch screens. This can help prevent unintended switching. crs 2003-02-23 19:29:08 +00:00
  • 7bbd33d787 Added support on X11 for a global option to delay switching screens when the mouse reaches a jump zone. crs 2003-02-22 21:53:25 +00:00
  • aef50800e3 Added global options to CConfig (needed for heartbeat option). crs 2003-02-22 16:41:03 +00:00
  • 366537dc22 Added support for heartbeat global option. crs 2003-02-22 16:20:23 +00:00
  • 8685afd9f6 Changed version to 1.0.5. crs 2003-02-22 15:04:09 +00:00
  • 5f164375d4 Changes to support remapping modifier keys on clients. crs 2003-02-22 15:03:31 +00:00
  • dce445a83a Updates for version 1.0.3. crs 2003-02-17 16:20:49 +00:00
  • 6301af9d50 Changed version to 1.0.3. crs 2003-02-17 12:44:37 +00:00
  • dd339fe375 Changed win32 client side cursor warping to be all relative motion when not on the primary monitor. This should eliminate the flicker between virtual display 0,0 and the correct position. While this allows the user to confuse synergy by using the client's mouse, synergy recovers quickly and easily from any confusion. crs 2003-02-16 19:55:54 +00:00
  • 2fc8780285 Added hack to heuristically detect bogus mouse motion caused by a race condition where the synergy server updates the mouse position but the synergy hook later receives a mouse update from before the position change (i.e. out of order). crs 2003-02-16 19:53:56 +00:00
  • 9a7e452a3e Commented out an unnecessary hook and added a compile time switch to disable grabbing of keyboard on win32 to facilitate debugging. crs 2003-02-16 19:51:46 +00:00
  • 60fdb1f529 Changed heap to stack allocation in an oft-called function for data that's never used outside the function. crs 2003-02-16 19:50:36 +00:00
  • 3351a66f51 Fixed memory leaks. crs 2003-02-16 19:49:44 +00:00
  • 57ba0cb660 Fixed incorrect mouse button swapping on client screens. crs 2003-02-12 20:59:25 +00:00
  • c148bc7c9c Fixed error in debug build on win32. crs 2003-02-12 20:59:08 +00:00
  • fefe457517 Added a simple implementation of vsnprintf for unix platforms without it using /dev/null, vfprintf(), and vsprintf(). crs 2003-02-12 19:50:22 +00:00
  • 154a474289 Made sure every file includes common.h directly or indirectly. Also made sure common.h is included before any system headers. crs 2003-02-12 19:38:39 +00:00
  • f0445295b5 Added info about using SSH for authentication and encryption. crs 2003-02-01 18:10:43 +00:00
  • 116005d64f To support keymaps with only upper (or lower) case keysyms we now use Xlib to convert an unmatched keysym to upper and lower case and use whichever, if any, is not the same as the original keysym. This supports case conversion in any language that Xlib supports it in. crs 2003-01-29 22:16:40 +00:00
  • dedb48d244 Applied patch from grmcdorman at users dot sourceforge dot net to support keymaps that have only uppercase letters, which is the case by default on the Sun X server (for US keyboards anyway). crs 2003-01-29 19:32:25 +00:00
  • eb65726ce7 Updates for version 1.0.2. crs 2003-01-25 13:40:34 +00:00
  • 06ed985f84 Changed version number to 1.0.2. crs 2003-01-25 13:39:26 +00:00
  • 6b3e451b83 Added ability to set screen options from the windows launch dialog. crs 2003-01-25 13:34:51 +00:00
  • 188d89108b Added missing entry in a socket family table. This was a serious bug and should've failed on all platforms but just happened to work on linux and windows. crs 2003-01-25 13:34:17 +00:00