9c9db6958fChanged O_NDELAY to O_NONBLOCK. On some versions of Unix, read return 0 when O_NDELAY is set and there is nothing to read. We want the O_NONBLOCK behavior where read returns -1 and sets errno to EAGAIN when there is nothing to read.
crs
2004-06-10 19:56:35 +00:00
613413fb50Added OS X precompiled header file for XCode compiles.
crs
2004-06-10 19:42:01 +00:00
f1dfc69d08Removed dependency of service on Browser. Browser isn't always available and, if it's not, synergy won't start. Users may have to use an IP server address instead of a hostname since the service may start before the service that resolves hostnames. If I knew what that service was I'd depend on it instead.
crs
2004-06-10 19:39:07 +00:00
20bfb04886Changed version to 1.1.7.
crs
2004-06-10 19:32:40 +00:00
2de2b72af9Failed to reset flag in X11 event queue buffer and that could cause multiple threads to access the X display connection simultaneously which causes synergy to die.
crs
2004-06-07 21:06:49 +00:00
06d77fe314Merged Bertrand's OS X changes. Also added support for mouse wheel on OS X server.
crs
2004-05-26 19:23:32 +00:00
84247b4c6cIf the server manages to detect ctrl+alt+del it will no longer send that to the client. If it did then the user could see the effect of ctrl+alt+del on both the server and client which we never want. The user can use ctrl+alt+pause to emulate ctrl+alt+del on the client.
crs
2004-05-18 20:32:13 +00:00
88c6769ebeFixed bug that could allow multiple threads to simultaneously access the X11 display connection. The only problematic method was CXWindowsEventQueueBuffer::addEvent given that the other event queue methods are only called from the main thread.
crs
2004-05-18 20:26:48 +00:00
7e36454b01Fixed logging of connection to server. Was DEBUG now NOTE.
crs
2004-05-17 21:55:55 +00:00
ce399937f0Fixed ctrl+alt+del emulation on win32 server. It was mapping VK_DELETE to the keypad delete key. This key is not interpreted on the client as causing ctrl+alt+del.
crs
2004-05-17 21:55:38 +00:00
93d74a1fdaFixed handling of screen resolution changes.
crs
2004-05-16 18:04:36 +00:00
5a1650914aChanged (win NT) service to depend on the 'Browser' service to ensure correct startup order.
crs
2004-05-16 18:03:36 +00:00
62b5cefb64Changed VC++ projects to put release targets in ./build, debug targets in ./debug, and intermediate files under ./gen.
crs
2004-05-16 18:02:49 +00:00
c9046a9557Changed version to 1.1.6.
crs
2004-05-15 19:44:05 +00:00
5a990691caAvoided duplicate logging of screen size on win32.
crs
2004-05-15 19:43:33 +00:00
d9387dbed7Added bertrand landry hetu's mac OS X port to date.
crs
2004-05-15 19:41:46 +00:00
242050d0f2Now restoring input focus when entering the screen to the window that had the focus when the screen was left.
crs
2004-05-12 20:28:00 +00:00
8aa258ef31Added GUI for relative mouse moves option on win32.
crs
2004-05-04 20:45:06 +00:00
a8c6b5e5eeConfigured default mac to build for X windows instead of the incomplete carbon implementation.
crs
2004-05-04 19:44:51 +00:00
ab0a693891Fixed bug in TCP socket that caused a busy loop in the socket multiplexer. That caused a lock up on windows when quitting the server with a client connected.
crs
2004-05-04 19:37:46 +00:00
fdf4b2604dFixed X11 BMP and other bitmap conversion. Had data alignment problems.
crs
2004-05-03 21:14:01 +00:00
4b212ad704Added image/bmp and text/html support to X11.
crs
2004-05-02 21:31:19 +00:00
500362d5c0Relative mouse motion for OS X.
crs
2004-05-02 16:13:11 +00:00
a1bd77f91aUsed MouseKeys accessibility function to show the mouse cursor on a secondary screen when there's no physical mouse attached to the system. Kinda flaky when a mouse is attached or detached but seems to work well enough when the device is not attached to start with and not attached while running synergy.
crs
2004-05-02 16:06:04 +00:00
423dd3b718Added support for daemon startup dependencies. Made synergy dependent on NetBT, which I hope is right.
crs
2004-05-02 16:01:59 +00:00
d84e5a26beAdded win32 clipboard support for images and HTML. Still need X11 support.
crs
2004-05-02 08:04:48 +00:00
9c35a45a2cAdded relative mouse move support to win32.
crs
2004-05-02 08:04:15 +00:00
0f45face21Forgot to change the client to handle relative moves.
crs
2004-05-02 08:03:49 +00:00
fddf7d04a3X11 clipboard logging now also prints atom names, not just numbers.
crs
2004-05-01 16:10:09 +00:00
3758d9d282Added files forgotten in previous checkin.
crs
2004-05-01 15:19:53 +00:00
16110acaa2Added support for a global relative mouse motion option. When true and on a secondary screen and locked to the screen (via scroll lock) mouse motion is sent as motion deltas. When true and scroll lock is toggled off the mouse is warped to the secondary screen's center so the server knows where it is. This option is intended to support games and other programs that repeatedly warp the mouse to the center of the screen. This change adds general and X11 support but not win32. The option name is "relativeMouseMoves".
crs
2004-05-01 15:18:59 +00:00
320cc754a2Better fixes for compiling on FreeBSD and OpenBSD.
crs
2004-05-01 12:11:28 +00:00
975d888d65Fixes for FreeBSD.
crs
2004-05-01 11:01:40 +00:00
165c889c5dFixes to compile on solaris 9 using g++.
crs
2004-05-01 10:12:06 +00:00
dcfe49ef48Fixed regression where cursor wasn't locked to screen when a mouse button is down on win32.
crs
2004-05-01 08:56:24 +00:00
4d2d4a2171Fixed type cast warnings.
crs
2004-05-01 08:54:42 +00:00
54b3884ebaRemoved use of mbrtowc, wcrtomb, and mbsinit. Many platforms didn't support them and the emulated versions were just as good except for a performance problem with excessive locking and unlocking of a mutex. So this also changes IArchString to provide string rather than character conversion so we can lock the mutex once per string rather than once per character.
crs
2004-04-13 19:39:04 +00:00
cc577dce7cOops, broke build in launcher on non-win32 platforms.
crs
2004-04-11 20:01:18 +00:00
e1027eeb3aMore changes for MSYS/MinGW builds. Added makefile for launcher. Still need hook library and resource compiling.
crs
2004-04-11 19:43:16 +00:00
bf2879724fPreliminary support for MSYS/MinGW builds. Doesn't yet build CSynergyHook as a DLL and does not compile or link in the resources for the binaries.
crs
2004-04-11 19:15:09 +00:00
530be3ff9dUpdates to support OS X. This improves support for building on multiple systems with automake, with X Windows and Carbon window system APIs supported. It's also a starting port for supporting win32 builds using mingw. OS X support is incomplete; the tree will compile and link but the binaries will not function.
crs
2004-04-11 14:58:08 +00:00
bede6352c1Fixed bug in handling rejection of screen with name that's already in use. The client was being correctly rejected but the already connected client was being forcefully disconnected too because the client to disconnect was found by looking up the client by name. We now instead look up the client by IClient*.
crs
2004-04-05 21:23:44 +00:00
3db9facb6cAdded workaround for win32 low-level mouse hook position weirdness. The low-level hook can report mouse positions outside the boundaries of the screen and bogus retrograde motion. This messes up switch on double tap. This change attempts to detect and suppress the bogus events.
crs
2004-04-05 21:10:06 +00:00
6d6ebf7926Made hook debug logging print at DEBUG1 rather than INFO level.
crs
2004-04-05 21:08:49 +00:00
083607345aRemoved DEPTH, VDEPTH, and VPATH from makefiles.
crs
2004-04-04 12:12:32 +00:00
ef908bf0bcChanged version to 1.1.5.
crs
2004-04-04 12:12:30 +00:00
bf61301d4cUpdated NEWS and ChangeLog for 1.1.4.
crs
2004-03-31 22:20:27 +00:00
d1a60e848eReverted task bar code to 1.0.15 version. That used a window in its own thread for handling messages. It seems to fix most of the task bar bugs but there's still an hourglass cursor on NT when using the popup menu.
crs
2004-03-31 22:15:13 +00:00
4576b30c37Fixed lookup of hosts by name on win32.
crs
2004-03-31 22:14:15 +00:00
4ace26f19bMake screen drop down lists longer in the launcher. They're now long enough for the scroll bar to show up properly (with the thumb) and they have enough space for 6 screens without needing the scroll bar.
crs
2004-03-31 22:14:01 +00:00
4805453190Fixed failure to initialize double tap and wait to switch timeouts.
crs
2004-03-31 22:12:53 +00:00
610518104bFixed crash bug in CKeyState. Would deference bogus pointer in isModifierActive if there's an unmapped toggle modifier.
crs
2004-03-30 18:55:58 +00:00
ceb654246cChanged version to 1.1.4. This time changing the version before making any other changes.
crs
2004-03-30 18:54:56 +00:00
82552698f7Fixed bug in starting (when not testing) synergy from launcher on windows NT. It was trying to start it as a service.
crs
2004-03-28 20:52:49 +00:00
3c29242208Updates for Version 1.1.3.
crs
2004-03-28 20:01:16 +00:00
8d0a2fa043Forgot file in previous submit.
crs
2004-03-28 20:00:30 +00:00
cfb082f306Added ISO_Level3_Shift as a synonym for Mode_switch. I've no idea if this will work as hoped but I've seen documentation that XFree 4.3 uses ISO_Level3_Shift rather than Mode_switch.
crs
2004-03-28 14:53:01 +00:00
97046541b9Fixed keyboard handling on windows 95 family.
crs
2004-03-28 14:07:58 +00:00
e50146119fUpdated makefile to reflect renaming of platform files for win32.
crs
2004-03-28 14:07:37 +00:00
0f7fa2dfd9Fixed windows 95 family screen saver stuff.
crs
2004-03-28 14:06:40 +00:00
bf7643faabChanged debug logging of key IDs to use hex.
crs
2004-03-28 14:05:52 +00:00
d2f4cbf002Fixed bugs in installing per-user startup programs on windows 95 family.
crs
2004-03-28 14:05:31 +00:00
e2a31e8b66Converted win32 to new keyboard state tracking design. Also changed locking to screen so that keys no longer count (only mouse buttons and scroll lock toggled on). This is to deal with the unreliability of key event reporting which can leave us locked to a screen with no key physically pressed. The result of this is that clients get key repeats and releases without the corresponding key press. CKeyState handles this by discarding repeat/release events on keys it hasn't seen go down. Also made a few other minor fixes to win32 keyboard handling.
crs
2004-03-26 20:59:26 +00:00
ab11ebea01Fixed handling of reading strings from the registry. This was broken when support for binary data was added. The terminating NUL was included in the string as a character (that's in addition to the terminating NUL added by std::string).
crs
2004-03-26 20:59:21 +00:00
8d99fd2511Checkpoint. Converted X11 to new keyboard state tracking design. This new design is simpler. For keyboard support, clients need only implement 4 virtual methods on a class derived from CKeyState and one trivial method in the class derived from CPlatformScreen, which is now the superclass of platform screens instead of IPlatformScreen. Keyboard methods have been removed from IPlatformScreen, IPrimaryScreen and ISecondaryScreen. Also, all keyboard state tracking is now in exactly one place (the CKeyState subclass) rather than in CScreen, the platform screen, and the key mapper. Still need to convert Win32.
crs
2004-03-21 20:01:41 +00:00
19559d4b4eUpdated keyboard handling on win32. Still needs some work to avoid shadowing key state in multiple places. Also got locked to screen and reported key appeared to be wrong.
crs
2004-03-17 20:59:25 +00:00
20ba10bfa8Changed how key state is tracked on X11. Now updating key state on every key press and release so we don't have to updateKeys() in isLockedToScreen(). However, if any key appears to be down we still call updateKeys() to double check that it's really down. If not we note the spurious lock and don't lock to the screen.
crs
2004-03-14 17:55:53 +00:00
03dc45972bImproved handling of active window on win32. Synergy no longer takes activation so the previously active window doesn't pop to the top of the window stack when it regains activation. One drawback of this is that the mouse cursor isn't shown when a window (other than synergy's) is activated. However, synergy does detect mouse motion as before and shows the cursor when it sees any.
crs
2004-03-13 19:01:27 +00:00
83713c6235Fixed error in previous submit.
crs
2004-03-13 18:58:20 +00:00
12fa99aee0Fixed handling of handshake complete. Was posting an event for it but making direct calls for other messages from the server. This could cause messages to be handled out of order. Now making a direct call for handshake complete.
crs
2004-03-13 17:16:24 +00:00
8c1af9d53fFixed win32 taskbar icon event handling. Wasn't responding to messages sent via SendMessage (rather than PostMessage).
crs
2004-03-13 17:14:32 +00:00
a6e858a208Added win32 support for power management.
crs
2004-03-13 17:13:55 +00:00
a1c807ba67Added support for DPMS in X11 screen saver. DPMS is the extension that allows you to power down the display. Previously, synergy would not power on the display if DPMS was enabled and activated and xscreensaver was not running. It also wouldn't disable DPMS so the display would power down normally on a synergy client if there was no input activity.
crs
2004-03-10 22:03:01 +00:00
6c7039490dAdded check for inet_aton and a simple implementation for platforms that are missing it.
crs
2004-03-10 20:35:03 +00:00
3920c63af6Removed dependency on X11/XF86keysym.h. There are several versions of that file in existance, not all of which have all the symbols we require and none of which provide any convenient means of telling what groups of symbols they define.
crs
2004-03-08 21:18:36 +00:00
9e995bedbfWin32 fixes. Fixed slightly off cursor positioning when using absolute mouse_event(). Improved keyboard handling: now using keyboard layout of last foreground window when leaving server so users can meaningfully choose the locale, moved dead key handling into hook library so there should be no more race conditions involving the keyboard dead key buffer, simplified keyboard and cursor handling by using a full screen transparent window when not using low level hooks, fixed error in restoring buffered dead key when checking for dead keys. This hopefully fixes all known keyboard bugs on win32.
crs
2004-03-08 20:53:32 +00:00
f068232643Typecasting fix to compile on old solaris.
crs
2004-03-08 20:45:53 +00:00
a27c6ad2c6Server now disables jump zones when scroll lock is active.
crs
2004-03-06 16:20:08 +00:00
5593573182Fixed processing of events. Was waking up on a sent (rather than posted) message but then blocking in GetMessage() which handles the sent message directly. No longer blocking on sent messages.
crs
2004-02-29 21:34:30 +00:00
ffa966747bFixed handling of winsock connect event. Was always immediately indicating socket had connected.
crs
2004-02-29 21:33:20 +00:00
4ac756fc28Fixed cursor hiding on win32. Still fails occassionally.
crs
2004-02-29 21:32:00 +00:00
77dd4c81c4Added reload configuration menu item to win32 task bar.
crs
2004-02-29 21:31:24 +00:00
b8606412d6Switched to doxygen comments.
crs
2004-02-29 17:29:01 +00:00
c3135b1b1cMoved clipboard changed event to CClientProxy because only it and CServer use it. CServerProxy instead makes a direct call to CClient, like it does for most other messages.
crs
2004-02-29 17:28:51 +00:00
1ccb92b888Fixed BSD unblockPollSocket(). Was signaling to break out of poll() but there was a race condition where the thread trying to unblock poll() could send the signal before the polling thread had entered poll(). Now using a pipe and polling on that and the client's sockets, and just writing a byte into the pipe to unblock poll. This persists until the next call to poll() so we might force poll() to return once unnecessarily but that's not a problem. This change makes the BSD code similar to the winsock code, which uses a winsock event instead of a pipe.
crs
2004-02-29 16:48:22 +00:00
d6ec331b09Made all arch sockets non-blocking.
crs
2004-02-29 16:11:17 +00:00
75cafe65a6Enabled running at high priority on windows.
crs
2004-02-28 17:51:55 +00:00
82dffeb498Generalized signal handling. Now handling SIGHUP in addition to SIGINT and SIGTERM. Setup SIGHUP to reload the server's configuration.
crs
2004-02-28 17:49:29 +00:00