Commit Graph

19 Commits

Author SHA1 Message Date
crs 3bfd2e252e finished INCR transfer changes. also made motifGetTime() return
icccmGetTime() because it seems motif does TIMESTAMP like ICCCM.
2002-07-25 09:23:24 +00:00
crs d3ea39149a checkpoint. working on INCR transfers. 2002-07-25 08:57:46 +00:00
crs 67051556bb fixed type of TARGETS target. 2002-07-24 17:30:32 +00:00
crs 6fc6805a06 some fixes for motif clipboard. still not handling incremental
transfer through root window property because not sure of the
protocol.
2002-07-24 17:07:52 +00:00
crs b1163aa593 removed unnecessary atoms from X clipboard object. 2002-07-23 12:35:36 +00:00
crs 1f5cb6a96f checkpoint. more UTF8 clipboard stuff. 2002-07-23 11:36:18 +00:00
crs 16cc05d56b checkpoint. more UTF8 clipboard testing. 2002-07-23 09:33:50 +00:00
crs fcd99c9510 checkpoint. more UTF8 clipboard stuff. 2002-07-22 18:46:57 +00:00
crs c4f21ce29b checkpoint. more UTF8 clipboard stuff. 2002-07-22 18:17:21 +00:00
crs bb966cdd65 checkpoint. working on UTF8 clipboard transfer. 2002-07-22 18:03:44 +00:00
crs 643d0f1089 checkpoint. adding support for unicode in clipboard. 2002-07-22 17:32:51 +00:00
crs 64232c7854 updated to new automake and refactored server stuff. the server
now speaks to the primary screen and secondary screens almost
everywhere the same way through an IClient interface;  only
special primary screen calls are accessed through a different
interface, the CPrimaryClient interface.  this simplifies the
server since it no longer needs to test whether the active screen
is the primary or a secondary in most cases.

the server no longer speaks directly to the primary screen;  all
that goes through the CPrimaryClient, which often just forwards
the call.  the primary screen no longer speaks directly to the
server either, again going through the CPrimaryClient via a
IPrimaryReceiver interface.

CServerProtocol classes have been replaced by CClientProxy
classes which are very similar.  the name makes more sense
though.
2002-07-09 21:22:31 +00:00
crs 95a1ce8798 CXWindowsUtil::CErrorLock wasn't XSync()'ing the display before
installing and uninstalling the new error handler, causing
errors before the lock to be caught and errors during the lock
to not be caught.  had to add Display* as argument to c'tor.
2002-06-22 19:47:27 +00:00
crs cec075cb60 fixed bug introduced by previous checkin. calling XCheckIfEvent()
multiple times is *not* the same as calling XIfEvent() because the
former will re-encounter events that it didn't process previously.
to make things simple it now pulls events off the queue and saves
them if not processed for selection transfer and puts them back
afterwards.
2002-06-20 16:27:49 +00:00
crs 2423dc662d speeded up clipboard transfer by avoiding a selection request
when it wasn't necessary.  (in particular, we were getting the
clipboard update time from the owner then emptying the clipboard,
so we didn't need to get the time.  worse, most owners don't
support getting the time and we often timed out.)

also fixed a multithread bug using the X display.  we were using
a CThread to send an event after a timeout while we were waiting
in XIfEvent().  this necessarily involved two threads calling
into Xlib at once, which is not allowed.  now using polling to
do the timeout because Xlib doesn't have a function to get
events with a timeout.
2002-06-20 14:01:44 +00:00
crs 3d27de39bb checkpoint. trying to fix a delay when sending clipboards on X. 2002-06-20 13:35:28 +00:00
crs fe16546a1d formatting changes. 2002-06-17 13:31:21 +00:00
crs 62519b19fe indentation and other formatting changes. also cleaned up
#includes.
2002-06-10 22:06:45 +00:00
crs 5709d8ddef refactored some common platform dependent stuff into a new
library:  platform.  also removed test.cpp.
2002-06-04 12:26:23 +00:00