Commit Graph

799 Commits

Author SHA1 Message Date
crs fd5625ba99 Improved handling of screen saver handling when windows 2k is
the client and the screen saver is password protected.  It used
to immediately turn off the screen saver (unintentionally) in
that case.
2002-12-25 18:44:54 +00:00
crs 41dc621579 Fixed typos. 2002-12-25 18:42:39 +00:00
crs 9567a970a8 Changes to support building on solaris, irix, and darwin. Also
removed test for working fork (AC_FORK).
2002-12-25 10:35:59 +00:00
crs de1fadc027 Added OptionTypes.h to VC++ project. 2002-12-24 10:01:28 +00:00
crs 1eb2ed2d3f No longer sending options if there aren't any and no longer
sending a reset before sending options (the caller can do
that if necessary).
2002-12-23 14:49:14 +00:00
crs 50e9e855b0 Fixed handling of %I arguments to readf() and writef(). 2002-12-23 14:48:12 +00:00
crs 78538da754 Added code to process set/reset options messages from server. 2002-12-23 14:47:44 +00:00
crs 3fc1ddf6ce Added support for per-screen options in the configuration file
and sending those options to the appropriate client screens.
Currently, two options are supported:  halfDuplexCapsLock and
halfDuplexNumLock mark the caps lock and num lock keys,
respectively, as being half-duplex.
2002-12-23 13:55:21 +00:00
crs 72578b8061 Doxygen config file now sets HAVE_DOT to YES only if dot is found
by configure.
2002-12-22 14:51:41 +00:00
crs 9c70921525 Now handling any number of pointer buttons. 2002-12-15 22:39:59 +00:00
crs 2559dd2f05 Now ignoring half-duplex keys that are down when deciding if
the mouse is locked to the screen.  We can't tell if a half-
duplex key is physically down and logically down just means
it's active so there's no point in letting it lock the mouse
to the screen.
2002-12-15 22:17:18 +00:00
crs 7649afa00a Now restoring toggle key states on leaving a client screen to
their state when the screen was entered.  Previously when
leaving a client screen the toggle keys kept their state so,
say, caps lock, would remain on.  This was inconvenient if
you then used the client's keyboard directly.
2002-12-15 22:14:49 +00:00
crs 2128302307 Fixed loss of ctrl+alt when transmitted to non-windows platforms
from a windows server.  Was converting ctrl+alt on windows to
mode switch on the server.  No longer doing that;  windows clients
will interpret ctrl+alt as AltGr and other clients will just see
ctrl+alt.  Also made the right alt key mode switch on windows
servers in case the user wants to force a mode switch, but that
means the right alt key no longer acts as alt on clients.
2002-12-15 20:00:52 +00:00
crs 773fcae8b3 Fixed client not reconnecting when server dies bug. 2002-12-15 19:58:41 +00:00
crs eda93fc20d Cleanup and changed some DEBUG1 messages to DEBUG2. 2002-12-15 19:57:28 +00:00
crs 0ab692a8e8 Enabled dot and class diagrams. 2002-12-15 11:12:39 +00:00
crs 3ae1c67aef Changes for version 0.9.13. 2002-11-05 19:56:56 +00:00
crs 48fc3c77c8 Added -D_POSIX_PTHREAD_SEMANTICS for solaris. 2002-11-05 19:43:37 +00:00
crs 52d8edb747 Fixed bug in detecting screen saver activation. Was using || instead
of && in conditional.
2002-11-05 19:23:05 +00:00
crs ca984acb91 Removed configure check for mbstate_t and uses of it. 2002-11-03 18:20:21 +00:00
crs 17e8ba2dbd Merged fixes for building on MacOS X. It dies on one file with
an 	internal compiler error;  building that file without
optimization works around the compiler bug.  Sadly, synergy can
only interact with X windows, not native MacOS windows.
2002-11-03 18:09:28 +00:00
crs c256cf062f Escaped quotes to satisfy older autoheader versions. 2002-10-30 22:22:16 +00:00
crs cf13980bb8 Fixed bugs in error handling in CTCPSocket; previously was not
handling read errors at all and error handling for writes was
never being used.  Now the socket disconnects if a read or write
fails on the socket for any reason except EINTR.  Also added
<netinet/in.h> to includes in CNetwork.h because it's needed on
some platforms.
2002-10-30 22:16:30 +00:00
crs 9102fb80b9 Ported recent changes to win32 and fixed CRLF problems with project
files (most had CRCRCRLF).
2002-10-29 22:07:55 +00:00
crs e06368b950 fixed typo in makefile. 2002-10-29 07:40:43 +00:00
crs 541276595e solaris configure and build fixes. without having solaris i
can only hope that these changes actually work.
2002-10-28 22:49:21 +00:00
crs 24119802c6 Removed obsolete comment. 2002-10-28 21:33:48 +00:00
crs 8dbc9d62bc Added workarounds for missing reentrant versions of wide char
to/from multi-byte conversion functions.
2002-10-22 22:35:13 +00:00
crs 0ce15c1a9b Moved CUnicode to lib/io. That's a reasonable place for it
that's after lib/mt.  It needs to be after lib/mt in preparation
for supporting platforms without the reentrant wide char and
multi-byte functions.
2002-10-22 21:30:48 +00:00
crs 66c4b66d7c Fixed conditional to test for multimon to do nasty win32 mouse
positioning hack.  Was doing hack if *not* a multiple monitor
system but should've been doing it if is *is* a multimon system.
2002-10-20 22:39:54 +00:00
crs 8f229393b8 Replaced inet_addr() with inet_aton(), which is a better function
anyway but isn't implemented in winsock, removed use of INADDR_NONE
which some platforms don't define except on winsock which does
define it, and changed SOL_TCP to IPPROTO_TCP which should work on
more platforms.
2002-10-20 22:36:24 +00:00
crs 285cc3abc0 Fixed CXWindowsScreen to force the event loop to wake up when
exitMainLoop() is called.
2002-10-17 21:37:41 +00:00
crs 09e0750a11 Fixed CThreadRep to not raise a signal on the thread if it's
already dead.  Otherwise the signal could propagate to the
parent thread (at least on linux threads) and cause havoc.
2002-10-17 21:37:37 +00:00
crs 1d7f3d2aaf Changed server to fail with an error if in can't bind() the listen
socket for any reason other than it's in use.
2002-10-17 21:37:31 +00:00
crs 586a5a81ab Changed non-reentrant network functions to be reentrant and
thread safe.
2002-10-17 20:56:28 +00:00
crs 11e29ff7eb Added support for using select() instead of poll(). 2002-10-16 22:01:50 +00:00
crs c1797c6867 Added matching pthread_attr_destroy() for each pthread_attr_init()
in change 610.
2002-10-16 19:40:29 +00:00
crs d9c622ae04 CConfig now accepts and discards \r at the end of a line. This
allows the unix server to read configuration files created on
microsoft windows platforms.
2002-10-15 22:17:41 +00:00
crs a18b1462cf Fixed use of %s instead of %{1} in format() call. 2002-10-15 22:08:10 +00:00
crs c405c58c64 Renamed XThreadUnavailable to XMTThreadUnavailable and derived it
from XBase so it can be caught normally.  Changed client and server
to handle unavailable threads (in main loop, anyway).
2002-10-15 22:01:41 +00:00
crs abee021db2 Workaround for pthread bug on RedHat 7.2 on multiprocessor
systems.
2002-10-15 21:35:12 +00:00
crs d8dde48c2b Changed log() and logc() macros to LOG() and LOGC(), respectively.
This avoids a conflict with the standard math library log()
function.
2002-10-15 21:29:44 +00:00
crs 9e7b411f78 Changes for version 0.9.12. 2002-09-14 21:47:29 +00:00
crs 13c734d822 removed std::exception from base class list of XBase. this
is a workaround for gcc 3.2 until everything necessary has
throw() specifiers.
2002-09-14 21:31:35 +00:00
crs 5e4289dc80 now logging bind failures as warnings. 2002-09-14 20:56:50 +00:00
crs fec679cfe5 added better network error message support. 2002-09-14 20:56:28 +00:00
crs 4586f88188 Rewrote handling of key press on X11 client; it should be much
more robust now.  Also added handling of Super modifier key and
changed windows keys to map to Super instead of Meta, which is
the default on my keyboard.
2002-09-14 12:07:02 +00:00
crs 10bbf6f824 Added debug level combo box and version number to title bar. 2002-09-14 12:05:06 +00:00
crs 06856e170d Fixed backend mode. Now reports log messages and, if any are
serious, shows a message box before exiting.
2002-09-14 12:03:43 +00:00
crs 152eddc0c6 Changed version to 0.9.12. 2002-09-14 11:59:56 +00:00