54acf38d82Merged Win32 updates. Added full warnings on g++. Fixed bug in client when handling server rejection.
crs
2004-02-28 12:19:49 +00:00
612a2054e6Updated Makefiles and win32 projects and removed dead classes.
crs
2004-02-15 18:12:35 +00:00
48908242d2Checkpoint. Conversion to event driven system complete for Unix. Still need to convert win32 platform specific files.
crs
2004-02-15 17:32:11 +00:00
1861f21fb5Checkpoint. synergys now works. Still need to do lib/client and synergyc.
crs
2004-02-14 14:04:36 +00:00
c44c18bfdcRefactored event queue. The event queue is now separated from the buffer that holds the events and generates system events. This allows us to switch in/out a platform specific event handler as necessary without losing our timers and handlers.
crs
2004-02-08 17:07:11 +00:00
3bcdf139a7No longer sending incorrect disconnect events in read() and removed redundant sending of disconnect event in close().
crs
2004-02-08 16:51:45 +00:00
848aee7a3aCheckpoint. Code does not run. Still converting over to new event loop model. Streams, stream filters, and sockets are converted. Client proxies are almost converted. CServer is in progress. Removed all HTTP code. Haven't converted the necessary win32 arch stuff.
crs
2004-02-01 21:09:22 +00:00
618aa7feddRemoved most HTTP stuff. It doesn't seem like the appropriate choice for server control. May later provide some other means for controlling the synergy server remotely.
crs
2004-02-01 20:56:52 +00:00
4c7e524896Checkpointing centralized event queue stuff. Currently have: an event queue and events, TCP sockets converted to use events, unix multithreading and network stuff converted, and an X Windows event queue subclass.
crs
2004-01-24 16:09:25 +00:00
fa215f1b13Merged changes from 1.0 branch, including Japanese keyboard support (thanks to Kazuhide Takahashi).
crs
2003-09-28 11:58:38 +00:00
175843b4fbChanged server side of win32 to send ctrl+alt+<key> if the key doesn't map to anything via AltGr. This is an improvement over the previous code which would simply discard the key but it still behaves slightly differently than pressing ctrl+alt+<key> on the server: if that combination is a hotkey on the server then the hotkey is performed, even if the combination is also a valid AltGr combination; on the client, we'll get the AltGr combination in preference to the hotkey.
crs
2003-09-08 19:42:00 +00:00
f4d7ea3d7bFixed button mapping. Was returning the physical button instead of the logical button, but XTest wants the logical button. Apparently, the XTest implementation on my mac laptop has it backwards.
crs
2003-09-07 13:08:30 +00:00
6d3c536717Fixed potential failure to use synergy's keyboard layout when using low-level keyboard hooks, fixed handling of the global keyboard layout dead key buffer, fixed identification of dead keys, fixed synthesis of AltGr (now using right-alt instead of left-alt), now using VK_DECIMAL for Separator key, fixed bug where an unmappable key was treated as virtual key 0xff, and added support for shift-space (shift was being discarded). Also fixed failure to hide cursor when leaving primary screen and added support for handling PrintScreen key.
crs
2003-09-06 23:17:41 +00:00
80f3998398Changed name-to-address translation to only use IPv4 addresses and to only copy as much address as fits in sockaddr_in.sin_addr, in case hostent.h_length is wrong.
crs
2003-09-03 21:54:18 +00:00
33e359a384Fixed failure to unlock mutex in CXWindowsScreen::mainLoop() when returning due to a quit event.
crs
2003-09-03 21:49:57 +00:00
8395f69899Now leaving client screen or entering server screen if necessary when disabling the screen.
crs
2003-09-03 21:26:52 +00:00
a237cbacdbFixed suppression of auto-repeat for keys that don't auto-repeat. Had forgotten to query the auto-repeat per-key mask.
crs
2003-09-03 21:22:25 +00:00
9311250c22Fixed uses of X11 display without mutex held.
crs
2003-09-03 21:21:22 +00:00
809a347333Removed heap allocation when polling sockets.
crs
2003-09-02 22:06:07 +00:00
47ca409ff9Merged primary and secondary screens into one class.
crs
2003-09-02 22:05:47 +00:00
4fea7719f3Merged changes from 1.0 branch.
crs
2003-09-02 21:41:00 +00:00
2f9cdfd1b2Integrated fixes from 1.0 branch.
crs
2003-08-06 21:09:25 +00:00
345de4cd11Integrate fixes from 1.0 branch.
crs
2003-08-03 21:24:45 +00:00
221628fd84Checkpoint refactoring. CSecondaryScreen now does the work common across platform secondary screens. X11 screen was compiled and tested but not the win23 screen. Will next change inheritance hierarchy.
crs
2003-07-26 13:41:41 +00:00
1030081f7fMerged documentation updates in 1.0 into mainline.
crs
2003-07-19 22:12:54 +00:00
b59e105bc4Changed version to 1.1.3.
crs
2003-07-17 21:17:08 +00:00
e1985f52c9Fixed handling of a dead key followed by space on win32 and X11. A dead key followed by space should convert the dead key to a regular character.
crs
2003-07-17 21:16:58 +00:00
99792b13a5Changed version to 1.1.2.
crs
2003-07-16 22:38:54 +00:00
0325de2e12Fixed handling of some non-ASCII but directly mapped characters on win32. The o, a, and u with diaeresis in the german keyboard mapping are examples.
crs
2003-07-16 22:38:43 +00:00
b949e108a0Changed version to 1.1.1.
crs
2003-07-16 21:41:09 +00:00
9c4267ed11Fixed handling of shift/ctrl/alt on special keys on win32 server.
crs
2003-07-16 21:40:57 +00:00
5488b77d61Fixed handling of some keystrokes on win32. Pressing a dead key and then space should convert the dead key to a non-dead key but previous the key was discarded. Fixed that but VkKeyScan() fails in this case so added special case to fix that (assuming AltGr is required). VkKeyScan() can return the wrong result for characters that have more than one virtual key mapped to them. AltGr+9 (^) on the French layout has this problem. Now detecting that problem and using the current keyboard state to decide if AltGr is required.
crs
2003-07-13 20:42:11 +00:00
be07a171ccRemoved ignoreNumLock option. It doesn't really seem to be necessary.
crs
2003-07-13 18:14:35 +00:00
f6683d3cadForgot to remove --camp and --no-camp from brief usage message.
crs
2003-07-13 17:03:41 +00:00
745c5421beChanged XSync() to XFlush() in X windows secondary screen. This doesn't appear to have any negative consequences and may prevent synergy from freezing when some X client (probably the window manager) grabs the server.
crs
2003-07-13 16:57:08 +00:00
faff28de44Added ignoreNumLock boolean per-screen option. When true, NumLock is ignored on that client (it has no effect on the server). This is useful for keyboards that don't have separate number pads and the user often uses the client's keyboard directly, when turning on NumLock interferes with normal typing.
crs
2003-07-12 18:13:36 +00:00
476faea8abPrevent INFO level log messages when client is repeatedly trying to connect. This prevents a log from filling up while the client can't connect for no useful reason. Also removed --camp option and cleaned up handling of client connection. Users must now use --restart instead of --camp.
crs
2003-07-12 17:57:31 +00:00
f27fd7b021Changed windows server to release ctrl and alt keys when it's sending a key that requires AltGr. That's because AltGr *is* ctrl and alt but AltGr should be seen on clients as mode switch without the ctrl and alt. I can't think of a better way to do this other than to not send modifier keystrokes to the clients at all.
crs
2003-07-08 18:40:46 +00:00
c325b923eaChange version to 1.0.11. Skipping version 1.0.10 because there have been too many major changes since 1.0.8. A new experimental release will provide a stable starting point for testing.
crs
2003-07-05 17:06:18 +00:00
2e741b7d96Fix to avoid warping mouse until client successfully connects to the server.
crs
2003-07-05 17:05:12 +00:00
28427a0e9bKeyboard fixes on win32.
crs
2003-07-05 17:04:26 +00:00
b9193ae1bbFix for new template syntax.
crs
2003-07-05 17:04:06 +00:00
8f9cc6e476Minor 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
47b480c0bcCompress sequential MappingNotify events into one.
crs
2003-07-05 14:47:41 +00:00
24fc257b3cRewrote 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
1eab99d70cAdded 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
48965e2381More fixes for X11 client keyboard handling.
crs
2003-06-22 16:39:25 +00:00
a6f21bff90More fixes for X11 client keyboard handling.
crs
2003-06-22 16:39:02 +00:00
92539f2cccCheckpoint 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
921526ab56More DEBUG2 level debugging of keyboard handling.
crs
2003-06-08 16:31:52 +00:00
f35a4541eeAdded new file to Makefile.
crs
2003-06-08 15:42:05 +00:00
7464e99ba7Fixed 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
c70ca5fbffFixed errors in log strings.
crs
2003-06-02 20:06:20 +00:00
7b58356fc7Added 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
5a65e36c99Added 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
af24ae6db7No 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
3fc87e7f87Fixed 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
3bd3e7a17cFixed unsigned compare against zero. Changed win32 priority to maximum.
crs
2003-05-21 21:22:14 +00:00
d577d457e3Made 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
bdecca0bccAttempt 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
01fab82edcReduced maximum priority in debug build.
crs
2003-05-20 19:14:24 +00:00
c0cd5cfce0Changed version to 1.0.9 in configure.in.
crs
2003-05-17 20:59:57 +00:00
5484751997Changed version to 1.0.9.
crs
2003-05-17 20:58:48 +00:00
dc6652a21aFixed 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
07ed8ebd1cAdded documentation for xtestIsXineramaUnaware option.
crs
2003-05-17 14:10:11 +00:00
3fc39eab4eFixed 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
51919a50e6Added 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
92ff58a5afAdded support for old versions of XF86keysym.h that are missing some expected #defines.
crs
2003-05-17 12:48:32 +00:00
b87b1b1894Updates for version 1.0.8.
crs
2003-05-10 18:16:49 +00:00
6f22c4d550Changed version to 1.0.8.
crs
2003-05-10 17:27:05 +00:00
923935060aFixed 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
0e58bab76cAdded support for 4th and 5th (non-mouse-wheel) buttons and "Internet" keyboard keys.
crs
2003-05-04 21:40:42 +00:00
ed439ec33cAdded global configuration option to disable screen saver synchronization.
crs
2003-05-03 14:38:36 +00:00
65de05e3ecForgot to restore global auto-repeat configuration on exit.
crs
2003-05-03 13:57:52 +00:00
3fc40e1939Now 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
af110dbce2Now 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
75729cef46Fixed 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
8d9134f93aBoosted 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
42ea6306f6Fixes 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
11f90022e0Checkpointing 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
cf7ab3459dAdded KeySym <-> Unicode mappings. Changed code to use those mappings to better support Unicode key events.
crs
2003-04-24 20:11:38 +00:00
7791b167bfAdded exec.dsp to EXTRA_DIST.
crs
2003-04-24 20:10:13 +00:00
368d8cae39Now allowing screen names with underscores.
crs
2003-04-16 20:05:00 +00:00
aeb3f760d0Fixed incorrect initialization of an XMotionEvent.
crs
2003-04-14 22:16:21 +00:00
6a108ed2d5Added 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
019994548cFixed problem with type casting void* to int.
crs
2003-04-13 18:14:01 +00:00