Commit Graph

466 Commits

Author SHA1 Message Date
crs
9f984ad1a0 Fixed detection of screen saver shutdown on windows nt. 2003-03-16 17:40:57 +00:00
crs
74e50877e9 Made releaseKeys() only synthesize key releases for those keys
that synergy synthesized a press for, not keys that the user
is physically pressing.
2003-03-16 17:40:56 +00:00
crs
de64342292 Minor hook fixes. 2003-03-16 17:40:47 +00:00
crs
95ddb95643 Added resources missing from previous checkin. 2003-03-16 17:40:25 +00:00
crs
635a2a7c5f Moved comment to more relevant location. 2003-03-13 20:24:45 +00:00
crs
a7bafcca2f Fixed double locking of mutex. 2003-03-13 19:20:55 +00:00
crs
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.
2003-03-12 22:34:07 +00:00
crs
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.
2003-02-23 19:29:08 +00:00
crs
7bbd33d787 Added support on X11 for a global option to delay switching screens
when the mouse reaches a jump zone.
2003-02-22 21:53:25 +00:00
crs
aef50800e3 Added global options to CConfig (needed for heartbeat option). 2003-02-22 16:41:03 +00:00
crs
366537dc22 Added support for heartbeat global option. 2003-02-22 16:20:23 +00:00
crs
8685afd9f6 Changed version to 1.0.5. 2003-02-22 15:04:09 +00:00
crs
5f164375d4 Changes to support remapping modifier keys on clients. 2003-02-22 15:03:31 +00:00
crs
dce445a83a Updates for version 1.0.3. 2003-02-17 16:20:49 +00:00
crs
6301af9d50 Changed version to 1.0.3. 2003-02-17 12:44:37 +00:00
crs
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.
2003-02-16 19:55:54 +00:00
crs
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).
2003-02-16 19:53:56 +00:00
crs
9a7e452a3e Commented out an unnecessary hook and added a compile time
switch to disable grabbing of keyboard on win32 to facilitate
debugging.
2003-02-16 19:51:46 +00:00
crs
60fdb1f529 Changed heap to stack allocation in an oft-called function for
data that's never used outside the function.
2003-02-16 19:50:36 +00:00
crs
3351a66f51 Fixed memory leaks. 2003-02-16 19:49:44 +00:00
crs
57ba0cb660 Fixed incorrect mouse button swapping on client screens. 2003-02-12 20:59:25 +00:00
crs
c148bc7c9c Fixed error in debug build on win32. 2003-02-12 20:59:08 +00:00
crs
fefe457517 Added a simple implementation of vsnprintf for unix platforms
without it using /dev/null, vfprintf(), and vsprintf().
2003-02-12 19:50:22 +00:00
crs
154a474289 Made sure every file includes common.h directly or indirectly.
Also made sure common.h is included before any system headers.
2003-02-12 19:38:39 +00:00
crs
f0445295b5 Added info about using SSH for authentication and encryption. 2003-02-01 18:10:43 +00:00
crs
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.
2003-01-29 22:16:40 +00:00
crs
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).
2003-01-29 19:32:25 +00:00
crs
eb65726ce7 Updates for version 1.0.2. 2003-01-25 13:40:34 +00:00
crs
06ed985f84 Changed version number to 1.0.2. 2003-01-25 13:39:26 +00:00
crs
6b3e451b83 Added ability to set screen options from the windows launch dialog. 2003-01-25 13:34:51 +00:00
crs
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.
2003-01-25 13:34:17 +00:00
crs
c4bdd235d0 Updates for version 1.0.1. 2003-01-22 08:38:20 +00:00
crs
669f0b3974 Changed version number to 1.0.1. 2003-01-22 08:37:32 +00:00
crs
a55119f096 Fixed running as a service on Windows NT family. 2003-01-22 08:36:43 +00:00
crs
784297af24 Changed version number to 1.0.0. Documentation updates. 2003-01-18 16:21:36 +00:00
crs
e86e552ac8 Fixed stupid errors introduced by last attempt to fix broken
mouse behavior on multimonitor windows systems.  Those errors
broke synergy on all windows systems running as a server.
Also added an attempt to reduce the occasional jump that can
occur when switching screens when windows is the server.
2003-01-18 14:36:19 +00:00
crs
68a591210b Was forcing modifier keys that have no effect on the keysym
lookup to be up when synthesizing key events.  Now leaving
those modifiers in their current state.
2003-01-18 14:31:54 +00:00
crs
75603c25f9 Added a dist-pkg target to put the binary distribution files into
a tar gzip file.  This is to ease distribution of the binaries on
systems without a packaging system supported by synergy (which
currently supports only RPM).
2003-01-18 10:49:13 +00:00
crs
a3dcf9efdc Fixed error in configure for Darwin. 2003-01-16 22:55:07 +00:00
crs
24c0b3fd32 Fixed lookup of neighbor screens. The first problem was an old
code in a conditional for moving left that blew an assert verifying
that the mouse position was really on the screen if the neighbor
screen wasn't connected.

After that was fixed there was another problem when one screen
linked to another which then linked (in the same direction) to
itself.  If the latter screen wasn't connected then it'd get into
an infinite loop.
2003-01-16 21:28:15 +00:00
crs
a8bd4e7ff0 Moved log message into conditionals so it only appears when the
conditions are true.
2003-01-14 19:46:41 +00:00
crs
f7e936faa9 Another try at fixing broken mouse behavior when a windows system
has multiple monitors with 0,0 of the virtual desktop not at the
upper-left.
2003-01-14 19:46:17 +00:00
crs
0b67cdedf6 Added forgotten file for previous change. 2003-01-12 16:38:36 +00:00
crs
05f8f37888 Added test of using the client's own name as the server name
with an appropriate error message.
2003-01-12 16:35:54 +00:00
crs
6c56f8a9fc Removed unnecessary variable names. 2003-01-12 16:35:11 +00:00
crs
b2e11d3d35 Now catching and ignoring errors when writing to a socket in those
cases where errors were not being caught, typically when responding
to some other socket or protocol error.
2003-01-12 16:08:45 +00:00
crs
780a6fd13d Updated ChangeLog. 2003-01-11 21:07:14 +00:00
crs
a14a462e22 Fixes to support FreeBSD and Darwin. 2003-01-11 21:06:21 +00:00
crs
4bf0836eae Synergy no longer tries to suppress the screen saver once it starts.
It was doing that already if started through synergy but not if
started by something outside of synergy.  In particular, if you
use `xscreensaver-command --activate' synergy used to send fake
mouse motion events every 5 seconds to deactivate it.  That's
unlikely to be what the user wanted, especially if the locking is
enabled since it would force the password dialog to appear.

As before, it's recommended that client screens not use locking
because xscreensaver will not deactivate without getting a
password even if we make the request through a programmatic
interface.  Presumably that's for security reasons but it makes
life harder for synergy.
2003-01-11 15:16:41 +00:00
crs
1758ea6f9f Attempt to fix problems with multimon windows. The mouse position
reported by the synergy hook dll is in a space with 0,0 in the
upper-left which is not necessarily the same as the virtual desktop
space.  So the windows primary screen now accounts for that.  On
the secondary screen, mouse_event() doesn't seem to accept negative
coordinates even on the windows NT family, making monitors with
negative coordinates inaccessible via absolute moves.  So if the
move will be to negative coordinates, use the windows 95 family
fallback of absolute moving to 0,0 then relative moving to the
final position.
2003-01-11 14:01:44 +00:00