Commit Graph

34 Commits

Author SHA1 Message Date
crs
32b085e42e Shortened timeout on waiting for clipboard response. 2002-04-29 14:12:48 +00:00
crs
6a9a180688 Made event selection a little more robust. Also fixed failure
to marshall clipboard data when updating primary clipboards.
2002-04-29 14:08:48 +00:00
crs
c5f6b34d85 checkpoint. changed protocol to better handle clipboards. now
sending a sequence number with enter messages.  screens use that
sequence number in clipboard grab and data messages.  the server
uses the sequence number to order messages across clients.  also
changed secondary screens to send clipboard updates on leaving
(or when grab occurs when not active) instead of on a query from
the server.  primary effectively does the same.  the query
message has been removed.
2002-04-29 13:31:44 +00:00
crs
3be014f8f5 Clipboard improvements. Still not working right. Nedit
doesn't work at all but at least now there's a timeout to
prevent synergy from hanging waiting on a reply.
2002-04-28 00:46:15 +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
9ac0473d5a checkpoint. changed CProtocolUtil::readf() to store 1 and 2
byte integers into pointers to 1 and 2 byte integers.  was
always assuming pointers to 4 byte integers.
2002-04-27 18:06:40 +00:00
crs
f9170eb139 Added support for multiple clipboards. This is mainly to
support both PRIMARY and CLIPBOARD selections on X windows.
2002-04-27 14:19:53 +00:00
crs
419eadfaf9 changed processing of key events in X. secondary screen now
activates/deactivates modifiers as necessary to get a keycode
interpreted as the expected keysym.  still some work and
testing to do on this.
2002-04-26 17:38:01 +00:00
crs
7d9fa41514 added handling for DestroyNotify of clipboard requestors. 2002-04-25 10:43:53 +00:00
crs
f63d0e4ada checkpoint. improvements to clipboard transfer on X windows.
not detecting a change to clipboard when synergy window isn't
the owner (since there's no event for this;  we'll have to
check when we leave the screen i guess).  large transfers
don't seem to work.
2001-11-26 22:36:51 +00:00
crs
9d83cfdbe2 checkpoint. testing clipboard transfer on X windows. 2001-11-26 22:09:53 +00:00
crs
ff9c3ba7af checkpoint. implementing clipboard owner in x windows. 2001-11-25 22:20:41 +00:00
crs
c19022e965 fixed function signature. 2001-11-25 18:44:13 +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
51505783aa moved client and server files into their own respective
directories.
2001-11-18 23:14:28 +00:00
crs
6a223b7da5 added preliminary support for getting the X selection. 2001-11-13 23:34:12 +00:00
crs
303734a438 fixed clamping when mapping to a different screen when beyond
bottom or right of source screen.
2001-11-11 21:27:36 +00:00
crs
cf4e1fd9ca factored common X windows screen stuff into a common base class. 2001-11-11 21:15:30 +00:00
crs
ef3149cead removed unnecessary global scoping operators. 2001-10-25 22:17:17 +00:00
crs
dbdf20e804 changed hider window to move underneath mouse when leaving the
screen.  this makes it so if the mouse is moved locally, it'll
reappear where it was last seen.
2001-10-25 22:09:27 +00:00
crs
c5df2edd14 changed some method names and removed warpCursor() from
secondary screen interface.
2001-10-25 21:40:29 +00:00
crs
5b1826a638 now handling disconnect of secondary screen that has the cursor
by jumping back to the primary screen (without trying to notify
the now disconnected secondary screen).  also fixed blown assert
in mapPosition().
2001-10-24 23:29:29 +00:00
crs
066910fab8 made calls to X thread safe. 2001-10-24 22:33:24 +00:00
crs
20c7aca1db added cursor hiding. 2001-10-23 22:41:46 +00:00
crs
b7533aea2a fixed blown assert trying to find neighbor when there was none. 2001-10-23 21:13:08 +00:00
crs
cfdf6bd73a fixed handling of stream ownership. 2001-10-21 00:21:21 +00:00
crs
8d1cf844c7 fixed bugs in handling streams. 2001-10-21 00:21:02 +00:00
crs
b3291bc2b5 fixed timeout bug in CThreadRep::wait() (negative timeout wouldn't
wait forever).  also fixed early return from sleep due to signal.
now forcing client to initialize CThread to ensure global mutex
gets initialized before threads are used.
2001-10-14 18:29:43 +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
c6ed114410 stupid bug fixes. writef() used the wrong variable as the number
of bytes to write.  readf() forgot to prepare the va_list.
2001-10-14 14:56:06 +00:00
crs
1ed2b43e13 added logging facility and added a bunch of log messages. 2001-10-14 14:37:41 +00:00
crs
23f948d55a checkpoint. first cut of client and server apps. not tested
yet but they compile and *should* work as is.
2001-10-08 19:24:46 +00:00
crs
ff81f708e2 Started over. 2001-10-06 14:13:28 +00:00