Commit Graph

2248 Commits

Author SHA1 Message Date
crs 32c98816f5 checkpoint notes. 2002-07-31 13:29:33 +00:00
crs 1a830c227b added comment about large motif clipboard items to README. 2002-07-31 13:18:27 +00:00
crs bc72cac780 updated README. 2002-07-31 13:10:15 +00:00
crs c6d98af056 now building hook dll for release without linking in standard
C runtime.  need C runtime for debug build for asserts.
2002-07-31 12:40:41 +00:00
crs 5e40de48f9 fixed problem with opening client and server. in some cases it
would fail to open in such a way that it could never succeed
but it'd never stop retrying.  now terminating when open fails
such that it'll never succeed.
2002-07-31 12:39:34 +00:00
crs f5795a6630 added new files to projects and added two project files that
should've been adding in change 530.
2002-07-30 19:03:40 +00:00
crs 0d70150589 made it so a negative kHeartRate disables heartbeats and set
kHeartRate to -1.
2002-07-30 18:49:31 +00:00
crs da361e9686 moved exception definition to header file. 2002-07-30 18:31:21 +00:00
crs 69496abbab now using class factories to move some decisions from the libraries
into the application.
2002-07-30 18:31:00 +00:00
crs fee4095624 Reorganized source tree. Moved client.cpp into cmd/synergy as
synergy.cpp and server.cpp into cmd/synergyd as synergyd.cpp.
Moved and renamed related files.  Moved remaining source files
into lib/....  Modified and added makefiles as appropriate.
Result is that library files are under lib with each library
in its own directory and program files are under cmd with each
command in its own directory.
2002-07-30 16:52:46 +00:00
crs 9792d35a6b Replaced method name `run' with `mainLoop', and `stop' and `quit'
with `exitMainLoop' in most places.
2002-07-30 15:17:44 +00:00
crs 8913acac34 Added doxygen comments for all relevant headers in client and server. 2002-07-30 14:59:36 +00:00
crs 3a05ffe3c4 Added doxygen comments for all relevant headers in platform. 2002-07-29 17:03:55 +00:00
crs b5a8ae11ac Added doxygen comments for all relevant headers in synergy. 2002-07-29 16:07:26 +00:00
crs 50eee03f6d moved try/catch block from CMSWindowsScreen to CPrimaryClient.
this means CMSWindowsScreen doesn't need to include XSynergy.h.
2002-07-29 16:06:52 +00:00
crs 5c4e4fdf08 changed doxygen configuration. 2002-07-29 16:05:59 +00:00
crs 4651a3f821 Added doxygen comments for all relevant headers in net. 2002-07-28 19:06:52 +00:00
crs 46140549fc Added doxygen comments for all relevant headers in http. 2002-07-28 17:55:59 +00:00
crs b8ce70d0f0 Added doxygen comments for all relevant headers in io. 2002-07-28 17:25:13 +00:00
crs 24d54fca53 Added doxygen comments for all relevant headers in mt. 2002-07-28 13:34:19 +00:00
crs 7a461855eb added doxygen comments for all relevant headers in base. 2002-07-26 18:28:18 +00:00
crs 879cf26f8d fixed type mismatch (SInt32 vs int) in definition of
getWindowProperty().
2002-07-26 18:27:31 +00:00
crs 0bf455e79a added configuration file for building doxygen documentation.
the code is not yet doxygen documented, though.
2002-07-26 16:05:59 +00:00
crs 3f046bb48a now deleting property when so requested even if read failed. 2002-07-26 15:22:25 +00:00
crs 4bf6cf2adf checkpoint. 2002-07-25 18:08:00 +00:00
crs 4688c99ee4 improved error messages for bad addresses. 2002-07-25 17:58:01 +00:00
crs f129841b38 made all getWhat() methods on exceptions consistent. they now
all use format() the same way.  also changed format() to actually
do formatting.  however, it doesn't try looking up formatting
strings by id, it just uses the fallback format string.
2002-07-25 17:52:40 +00:00
crs 1fd8e25f7d moved string formatting into CStringUtil from CLog and added
methods for format positional string arguments.
2002-07-25 17:23:35 +00:00
crs 8334d987f5 added unix specific implementation of CXWindowsScreen::mainLoop()
that uses poll() to process events more efficiently.  it won't
wake up nor sleep any more than necessary, unlike the platform
independent implementation that polls and sleeps.
2002-07-25 09:55:01 +00:00
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 63b1d4397a fixes for win32 due to changes in how s_restartable is handled.
the main change is that WM_QUIT now causes the thread to be
cancelled instead of mainLoop() just returning.  this also
requires runDaemon() to call the run function in a new thread
each time it calls it because it could can cancelled.
2002-07-24 19:26:18 +00:00
crs 2e6e8e179a fixes for win32 clipboard due to CUnicode nul terminator changes. 2002-07-24 19:24:21 +00:00
crs a150f64e9c fixed an off-by-one error in UTF8ToText(). 2002-07-24 19:23:46 +00:00
crs 4c38178fb9 fixed an off-by-one error in textToUTF8(). 2002-07-24 17:39:52 +00:00
crs 67051556bb fixed type of TARGETS target. 2002-07-24 17:30:32 +00:00
crs 5fe7763d37 made handling of nul terminators in CUnicode more sane. 2002-07-24 17:22:01 +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 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 d9ec880291 checkpoint. 2002-07-23 19:00:01 +00:00
crs 7d7b7f85ca fixed a bug in clipboard conversion (was using wrong converter or
no converter when one was available).
2002-07-23 18:59:44 +00:00
crs 7129efc9ab converted win32 to use unicode based KeyID. 2002-07-23 18:59:15 +00:00
crs 8271c8accc checkpoint. converting KeyID to use UTF-32 encoding instead of
X11 keysyms.
2002-07-23 17:04:41 +00:00
crs 57b64f1fe7 no longer attempting to unmarshall clipboard formats that aren't
known to the caller.  if the client supports more formats than
the server then the server could get a clipboard format greater
than kNumFormats.  with this change the server discards the
extra formats instead of crashing.
2002-07-23 15:34:05 +00:00
crs 8ada1e8a72 unicode clipboard changes for win32 plus some bug fixes. 2002-07-23 15:26:40 +00:00
crs b1163aa593 removed unnecessary atoms from X clipboard object. 2002-07-23 12:35:36 +00:00
crs 1fd07567cc checkpoint. more CUnicode fixes. 2002-07-23 12:08:30 +00:00
crs 2fa9b263f9 checkpoint. fixed the other cases in the same function as the
previous checkin.  also prevented the errors flag from getting
reset after the multibyte to wide character conversion.
2002-07-23 11:51:13 +00:00
crs e93a12868d checkpoint. fixed cases for mbrtowc (was using 1 and 2 instead
of -1 and -2).
2002-07-23 11:42:54 +00:00
crs 1f5cb6a96f checkpoint. more UTF8 clipboard stuff. 2002-07-23 11:36:18 +00:00