Commit Graph

33 Commits

Author SHA1 Message Date
crs
c6ecc79c0d removed restart function from platform. no longer trying to
restart if the X server connection was lost;  since synergy
is likely to be started by xdm or the user's xsession, it's
better for synergy to simply terminate when the connection
is lost.  synergy will still restart due to other errors.
also fixed numerous other minor bugs and cleaned some stuff
up (like app error codes are now consistent and enumerated
in Version.h, for lack of a better place).  and boosted
version and protocol numbers.
2002-07-24 13:01:18 +00:00
crs
4e37691a9c added header files to _SOURCES. 2002-06-22 17:31:24 +00:00
crs
e0f66d162f ported network changes to win32. 2002-06-21 17:54:22 +00:00
crs
a996db6600 now trying to convert hostname as a dot notation address before
trying name lookup.  not all platforms will do this for us in
gethostbyname().
2002-06-21 16:29:35 +00:00
crs
327af03d3d fixed CTCPSocket::connect() to allow cancellation. 2002-06-21 16:19:08 +00:00
crs
9c7e863d77 checkpoint. more conversion to automake. 2002-06-19 11:23:49 +00:00
crs
1c604ecc3d started to convert to autoconf/automake. 2002-06-18 19:44:34 +00:00
crs
32713d0cfb added FIXME to commented out code. 2002-06-18 18:33:59 +00:00
crs
fe16546a1d formatting changes. 2002-06-17 13:31:21 +00:00
crs
57fb87ad10 refactored ISocket into IDataSocket. the latter and IListenSocket
now derive from ISocket.
2002-06-17 12:02:26 +00:00
crs
62519b19fe indentation and other formatting changes. also cleaned up
#includes.
2002-06-10 22:06:45 +00:00
crs
68940e58f3 win32 changes. now including windows.h with WIN32_LEAN_AND_MEAN
to avoid including some stuff we don't want (like winsock).
2002-06-10 16:49:46 +00:00
crs
555aa19eb2 added command line and configuration file arguments to choose
the address and port to listen on or connect to.  changed the
default port and put it in ProtocolTypes.h.  the HTTP port is
now no longer opened unless the --http argument is supplied
or the config file includes it.
2002-06-09 16:53:25 +00:00
crs
4b28ffc5b2 win32 changes. changed names of binaries. added support for
running as (and installing/installing) a service.  added
support for multiple desktops (NT only, 95 doesn't support
multiple desktops).
2002-06-08 21:48:00 +00:00
crs
ddbb465540 shortened poll() timeout. 2002-06-02 23:07:57 +00:00
crs
ad15393732 changed buffered output stream to wait() when flush()ing instead
of polling/sleeping.  changed CTCPSocket to not use thread
cancellation but to instead use m_connected to exit the thread.
also shortened poll timeout.
2002-06-02 22:57:50 +00:00
crs
d2135af0d9 fixes, mainly for windows. first, had to add a notification from
CServer to the primary screen when the configuration changes so it
can make necessary adjustments (the win32 primary screen must tell
the hook dll about the new jump zones).

changed includes of some std c++ library files to go through
our own include files.  these wrap the include with stuff to
keep vc++ quiet when compiling at warning level 4, which is
what it does now.  it also works around missing <istream> and
<ostream> on g++2.96.

added missing std:: where necessary.  g++ doesn't really support
namespaces so it lets references without the namespace slip
through.

added workaround or fix.  not sure if istringstream::str(string)
should reset eofbit.  it does on g++ but does not on vc++.
added clear() after str() so it works either way.

added low-level keyboard hook to win32.  if available (it's only
available on NT SP3 and up) it allows us to catch and handle
alt+tab, alt+esc, ctrl+esc, and windows key hot keys.  i think
that leaves only ctrl+alt+del and accessibility functions
uncaught on those systems.
2002-06-01 19:26:11 +00:00
crs
2cc63e31aa fixed bug in closing down a socket. 2002-05-30 16:11:59 +00:00
crs
6611ea871e changed structs to classes. there should be no more structs now. 2002-05-23 14:04:35 +00:00
crs
d893cc16a8 fixed type of socket handle (from int to CNetwork::Socket). 2002-05-22 16:56:06 +00:00
crs
4968a5bb7c removed setting send buffer to zero size. it just reduced
performance.
2002-05-05 23:37:12 +00:00
crs
4d11079095 Fixes for win32 key handling. 2002-05-04 18:08:22 +00:00
crs
5132161e30 Fixed bug in stream buffer that could cause data to be
inserted out of order.  Also removed unnecessary limit
on writes to the TCP socket.
2002-05-02 11:43:52 +00:00
crs
f2e83e607d checkpoint. turned off nagle and send buffering. also
added test to skip clipboard conversion if a previous
conversion from that owner failed.
2002-05-01 15:31:47 +00:00
crs
c8737de4ad removed obsolete files. 2002-05-01 14:35:55 +00:00
crs
ea6b347b18 Indentation changes. 2002-04-29 14:40:01 +00:00
crs
d1ca5295d1 Added more debug levels and moved some annoying debug messages
to those levels.  Default log level is now DEBUG for debug
builds and INFO for release builds.
2002-04-27 18:49:03 +00:00
crs
f15c9df85b added platform independent clipboard transfer stuff
clipboard owner support (MS windows done, X windows partial)
added key transfer on ms windows
mutex fixes in CClient (had race conditions)
faster debug output in ms windows
changed temporary screen name to "secondary"
network fixes on ms windows (poll returned wrong result)
fixed transparent cursor on ms windows
2001-11-25 18:32:41 +00:00
crs
3f6146b15f checkpoint. merging win32 code. server on X is currently broken
and client probably is.
2001-11-19 00:33:36 +00:00
crs
ef3149cead removed unnecessary global scoping operators. 2001-10-25 22:17:17 +00:00
crs
8d1cf844c7 fixed bugs in handling streams. 2001-10-21 00:21:02 +00:00
crs
6aba3a6f57 removed exception specifications. thread exceptions weren't
being listed and they'd have to be added to every one.  just
doesn't seem worth the trouble.
2001-10-14 16:58:01 +00:00
crs
ff81f708e2 Started over. 2001-10-06 14:13:28 +00:00