Commit Graph

3219 Commits

Author SHA1 Message Date
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
crs c4f8373e9a Changes for version 0.9.11. 2002-09-04 22:07:02 +00:00
crs a210c8c1ec Changed version number to 0.9.11. Added NEWS item. 2002-09-04 21:17:01 +00:00
crs ecb2fbb342 now looking up SendEvent() using GetProcAddress() so win95
systems can run the synergy client.
2002-09-04 21:14:18 +00:00
crs 7f21588e9b fixed bug that caused the wrong keycode to be used for most,
possibly all, keysyms.  was reading past the end of an array
of keysyms.
2002-09-04 20:17:54 +00:00
crs e4c29179d9 added version 0.9.10 to NEWS. 2002-09-02 17:49:18 +00:00
crs af5a900599 removed PORTING from binary distribution. 2002-09-02 17:49:05 +00:00
crs 87d973e4d0 removed executable bit on new source files and added them to
the makefile.
2002-09-02 17:48:51 +00:00
crs 08867440c1 updating ChangeLog. 2002-09-02 17:36:52 +00:00
crs a7d413dd75 Changed version number to 0.9.10. 2002-09-02 17:36:25 +00:00
crs a729e33cfb Fixed win32 config saving, keyboard mapping, and AltGr bugs.
Made extensive changes to the launcher to provide more control
over setting up auto-start and it now saves configuration to
the user's documents directory if auto-starting at login and
saves to the system directory if auto-starting at boot.
Replaced MapVirtualKey() with table lookup to work around that
function's lack of support for extended keyboard scan codes.
Added first cut at support for AltGr.
2002-09-02 17:30:04 +00:00
crs c95e991aeb Updated news with release of version 0.9.9. 2002-09-02 17:15:43 +00:00
crs 1038e290a3 added notes to PORTING. 2002-09-02 17:14:21 +00:00
crs cc8272e258 work around to get mode switch working. 2002-09-01 16:45:44 +00:00
crs 7dadc86caf fixed language setting to be compatible with older autoconf's. 2002-09-01 16:43:47 +00:00
crs 3295705f97 checkpoint. trying to add support for mode switch key to X11
screens.
2002-09-01 15:30:00 +00:00
crs 210ed86827 added more tests to autoconf. also now handling missing sstream
header in gcc 2.95 by including sstream header backported from v3.
2002-09-01 10:31:10 +00:00
crs b0b494b8fa lowered severity of some debug messages. 2002-09-01 09:28:54 +00:00
crs 604599c178 Updated ChangeLog. 2002-08-18 17:46:24 +00:00
crs 79ce1dab4f Changed version number to 0.9.9. 2002-08-18 17:45:59 +00:00
crs 7b3999b166 fixed win32 deadlock. when a client disconnects the server will
warp the mouse to the primary screen.  entering the primary
screen causes the primary screen's window to be hidden.  the
deadlock occurs because hiding the window seems to post a
message then wait for it to be handled (or possibly it won't
send a message while a posted message is being handled).
thread A locks the mutex, warps the mouse, the hides the window.
thread B begins processing the mouse warp then tries to lock
the mutex.  thread A is waiting on the event loop owned by B
while B is waiting on the mutex owned by A.  this fix simply
hides the window asynchronously.  however, there may be other
ways to cause a similar deadlock that have not been found.
2002-08-18 17:40:10 +00:00
crs a4db7f0005 fixed PrintScrn handling; it was being changed to keypad multiply. 2002-08-18 17:35:10 +00:00
crs a0c2cd10dd removed bogus #error. 2002-08-18 17:32:27 +00:00
crs 305b01edf9 no longer sending fake events for unmapped logical buttons. 2002-08-18 17:31:48 +00:00
crs f49b186722 Updated ChangeLog. 2002-08-11 23:00:28 +00:00
crs 8e232346e1 Updated win32 installation instructions. 2002-08-11 23:00:16 +00:00
crs 2f5120acba fixed references to renamed icon files. 2002-08-11 22:59:59 +00:00
crs 4c6eb241a6 Moved synergy client to cmd/synergyc and renamed it synergyc.
Moved synergy server to cmd/synergys and renamed it synergys.
Updated documentation to reflect that and the win32 launcher.
2002-08-11 22:43:07 +00:00
crs 2bea3d1460 added TODO and example/synergy.conf to documenation files. 2002-08-11 11:51:25 +00:00
crs 1d9efb0e3a added TODO file and top-level rule to make zip file of distribution
files.
2002-08-11 11:50:49 +00:00
crs 639cb26a7d removed pre-instantiation of templates in header file. 2002-08-11 11:50:07 +00:00