Commit Graph

691 Commits

Author SHA1 Message Date
crs
970c8b2fba Added workaround for apparent bug in OS X 10.3.4. If you started
a synergy client on that OS and pointed it at a system that wasn't
listening for connections then instead of the connection attempt
failing with 'connection refused' the system would claim the
connection succeeded.  A subsequent read would reveal the problem
and synergy would "disconnect" and retry, causing the CPU to spin.
The system does correctly set the socket error state so this
workaround checks for socket errors when connecting whether or not
select reports an error state.

Also, sometimes the system doesn't claim success but doesn't report
an error.  Synergy eventually times out these attempts.
2004-07-28 21:54:39 +00:00
crs
59e466da0a Changed version to 1.1.8. 2004-07-25 14:18:50 +00:00
crs
95e4963f1d Disable key event capture on X11. This was going to be used to
detect synergy hotkeys but a design flaw in X11 makes it problematic
with many applications.  We'll have to fall back to the more
traditional XGrabKey when the time comes.
2004-06-22 21:11:14 +00:00
crs
43548cee89 Added NDEBUG to and removed debugging symbols from XCode deployment
project.
2004-06-16 21:07:48 +00:00
crs
5c70584859 Updated documentation. 2004-06-13 17:11:19 +00:00
crs
ccb45bc2bc (Maybe) fixed a problem detecting when win32 screen saver started. 2004-06-12 20:48:04 +00:00
crs
a80ddb4a78 Fixed bug in converting wide characters to multibyte. 2004-06-12 20:46:35 +00:00
crs
4836452038 Fixed assertion failure when client connection fails immediately. 2004-06-10 21:25:09 +00:00
crs
9c9db6958f Changed 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.
2004-06-10 19:56:35 +00:00
crs
613413fb50 Added OS X precompiled header file for XCode compiles. 2004-06-10 19:42:01 +00:00
crs
f1dfc69d08 Removed 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.
2004-06-10 19:39:07 +00:00
crs
20bfb04886 Changed version to 1.1.7. 2004-06-10 19:32:40 +00:00
crs
2de2b72af9 Failed 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.
2004-06-07 21:06:49 +00:00
crs
70e2d2b89a Updated documentation. 2004-05-26 20:20:23 +00:00
crs
06d77fe314 Merged Bertrand's OS X changes. Also added support for mouse wheel
on OS X server.
2004-05-26 19:23:32 +00:00
crs
84247b4c6c If 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.
2004-05-18 20:32:13 +00:00
crs
88c6769ebe Fixed 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.
2004-05-18 20:26:48 +00:00
crs
7e36454b01 Fixed logging of connection to server. Was DEBUG now NOTE. 2004-05-17 21:55:55 +00:00
crs
ce399937f0 Fixed 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.
2004-05-17 21:55:38 +00:00
crs
93d74a1fda Fixed handling of screen resolution changes. 2004-05-16 18:04:36 +00:00
crs
5a1650914a Changed (win NT) service to depend on the 'Browser' service to
ensure correct startup order.
2004-05-16 18:03:36 +00:00
crs
62b5cefb64 Changed VC++ projects to put release targets in ./build, debug
targets in ./debug, and intermediate files under ./gen.
2004-05-16 18:02:49 +00:00
crs
c9046a9557 Changed version to 1.1.6. 2004-05-15 19:44:05 +00:00
crs
5a990691ca Avoided duplicate logging of screen size on win32. 2004-05-15 19:43:33 +00:00
crs
d9387dbed7 Added bertrand landry hetu's mac OS X port to date. 2004-05-15 19:41:46 +00:00
crs
242050d0f2 Now restoring input focus when entering the screen to the window
that had the focus when the screen was left.
2004-05-12 20:28:00 +00:00
crs
455d0210b2 Fixed thread reference leak in network code. 2004-05-12 19:50:58 +00:00
crs
a59ad51ce2 Added configure option to enable debug builds. If not enabled then
asserts are disabled.
2004-05-12 19:12:28 +00:00
crs
df4807950a Fixed build error in gcc 3.3. 2004-05-12 18:54:03 +00:00
crs
b876f8b98e Updated documentation files. 2004-05-04 20:53:41 +00:00
crs
8aa258ef31 Added GUI for relative mouse moves option on win32. 2004-05-04 20:45:06 +00:00
crs
a8c6b5e5ee Configured default mac to build for X windows instead of the incomplete
carbon implementation.
2004-05-04 19:44:51 +00:00
crs
ab0a693891 Fixed 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.
2004-05-04 19:37:46 +00:00
crs
fdf4b2604d Fixed X11 BMP and other bitmap conversion. Had data alignment
problems.
2004-05-03 21:14:01 +00:00
crs
4b212ad704 Added image/bmp and text/html support to X11. 2004-05-02 21:31:19 +00:00
crs
500362d5c0 Relative mouse motion for OS X. 2004-05-02 16:13:11 +00:00
crs
a1bd77f91a Used 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.
2004-05-02 16:06:04 +00:00
crs
423dd3b718 Added support for daemon startup dependencies. Made synergy
dependent on NetBT, which I hope is right.
2004-05-02 16:01:59 +00:00
crs
d97879b25c Fixed comment about canonical bitmap clipboard format. 2004-05-02 16:00:45 +00:00
crs
d84e5a26be Added win32 clipboard support for images and HTML. Still need X11
support.
2004-05-02 08:04:48 +00:00
crs
9c35a45a2c Added relative mouse move support to win32. 2004-05-02 08:04:15 +00:00
crs
0f45face21 Forgot to change the client to handle relative moves. 2004-05-02 08:03:49 +00:00
crs
fddf7d04a3 X11 clipboard logging now also prints atom names, not just numbers. 2004-05-01 16:10:09 +00:00
crs
3758d9d282 Added files forgotten in previous checkin. 2004-05-01 15:19:53 +00:00
crs
16110acaa2 Added 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".
2004-05-01 15:18:59 +00:00
crs
320cc754a2 Better fixes for compiling on FreeBSD and OpenBSD. 2004-05-01 12:11:28 +00:00
crs
975d888d65 Fixes for FreeBSD. 2004-05-01 11:01:40 +00:00
crs
165c889c5d Fixes to compile on solaris 9 using g++. 2004-05-01 10:12:06 +00:00
crs
dcfe49ef48 Fixed regression where cursor wasn't locked to screen when a mouse
button is down on win32.
2004-05-01 08:56:24 +00:00
crs
4d2d4a2171 Fixed type cast warnings. 2004-05-01 08:54:42 +00:00