Commit Graph

81 Commits

Author SHA1 Message Date
crs23 5c29ae9967 Applied patch by maruel:
- Fixed taking the address of begin() on an empty std::vector.
- Fixed nsis makefile to use %ProgramFiles% environment variable.
- Fixed nsis makefile to pass the output directory and file to makensis.
- Fixed synergy.nsi to get the files from the output directory. That
  enables a debug build of the installer.
- Fixes to compile under VS2005.

I did not apply VS2005 project files, instead adding nmake files.
nmake is pretty weak but the makefiles can be modified without having
visual studio.  Also modified the .rc files to not use winres.h.
This plus nmake means synergy can now be built using the freely
downloadable Microsoft Windows SDK for Vista, available from
microsoft's web site.  This change removes all of the old VC++6
project files in favor of the nmake files.  It also removes the
XCode project in favor of ./configure and make.

All of the nmake files are named nmake.mak.  Only the top level
makefile is directly useful (the rest are included by it) so all
builds are from the top level directory.  nmake knows the following
targets:

  all:  build synergy.exe, synergyc.exe and synergys.exe
  clean:  remove all intermediate files, keep programs
  clobber:  clean and remove programs
  installer:  build programs and an installer
  debug:  build a debug version of 'all'
  release:  build a release version of 'all'
  debug-installer:  build an installer of the debug build
  release-installer:  build an installer of the release build

The default build version is release so 'all' and 'installer' will
build a release version.  The installer itself never has debug
symbols, just the stuff it installs.  The default target is 'all'.
To build use:

  nmake /nologo /f nmake.mak <target>

VC++ and VisualStudio users may need to manually run vcvars.bat in a
command.exe or cmd.exe window before invoking nmake.  The Window 98/Me
command.exe may not handle potentially long command lines;  I haven't
tried to verify if that works.
2007-09-06 05:01:44 +00:00
crs 52ae656411 Restored lost files and changes in version 1.3.1 to depot. 2007-06-17 11:19:18 +00:00
crs 3d961e4767 Adapted and applied patch by Brent Priddy for re-resolving the server
hostname on each connection.  This allows the client to startup
without being able to resolve the server's hostname.  It also lets
it handle changes in the server's address, a typical scenario when
the client is a laptop moving between networks.
2004-12-30 13:28:51 +00:00
crs 99da35de61 Added synergy version number to first log message. 2004-11-09 18:38:52 +00:00
crs 6332f879fc Added synergy version number to first log message. 2004-11-09 18:38:14 +00:00
crs 73488bc5b4 Moved log message that prints system info to after installation
of user requested log level so it can be filtered.
2004-11-09 18:31:54 +00:00
crs b7f0311eb2 Fixed console appearing when running synergy as a service. This
was introduced with the change to print system info to the start
of the log.  This message was printed before the service installed
the log handler that directs messages to the event log.
2004-11-06 16:11:39 +00:00
crs 2513ae8972 Added -display option for X11 version. 2004-11-02 20:43:55 +00:00
crs 65a86cb13b Added tray menu item on win32 to force clients to reconnect. 2004-11-01 22:26:02 +00:00
crs 4d427a091d Added operating system identification log message for debugging
purposes.
2004-11-01 22:25:39 +00:00
crs 58de7a21fe Added option to set the listen address via the win32 GUI. This
allows the user to specify one (and only one) network interface
to listen on.
2004-11-01 18:21:00 +00:00
crs 07e2a3e511 Removed recursive mutexes. Simplified stream filters as a side
effect.  Removed -D_BSD_SOURCE and -D_XOPEN_SOURCE=500 from
compile since they're not longer necessary.
2004-09-29 21:59:26 +00:00
crs 3c3c31008e Added half-duplex option for scroll lock key. 2004-09-28 22:19:11 +00:00
crs c51c748a17 Server now reports configuration file errors as ERROR level log
messages rather than DEBUG level.  Missing files are still reported
as DEBUG level messages since we expect some to be missing.
2004-09-27 21:04:37 +00:00
crs cf3647f7cc Worked around bug in ifstream::operator!() on OS X. 2004-07-29 22:09:28 +00:00
crs f1dfc69d08 Removed dependency of service on Browser. Browser isn't always
available and, if it's not, synergy won't start.  Users may have
to use an IP server address instead of a hostname since the
service may start before the service that resolves hostnames.
If I knew what that service was I'd depend on it instead.
2004-06-10 19:39:07 +00:00
crs 7e36454b01 Fixed logging of connection to server. Was DEBUG now NOTE. 2004-05-17 21:55:55 +00:00
crs 5a1650914a Changed (win NT) service to depend on the 'Browser' service to
ensure correct startup order.
2004-05-16 18:03:36 +00:00
crs 62b5cefb64 Changed VC++ projects to put release targets in ./build, debug
targets in ./debug, and intermediate files under ./gen.
2004-05-16 18:02:49 +00:00
crs 8aa258ef31 Added GUI for relative mouse moves option on win32. 2004-05-04 20:45:06 +00:00
crs 423dd3b718 Added support for daemon startup dependencies. Made synergy
dependent on NetBT, which I hope is right.
2004-05-02 16:01:59 +00:00
crs cc577dce7c Oops, broke build in launcher on non-win32 platforms. 2004-04-11 20:01:18 +00:00
crs e1027eeb3a More changes for MSYS/MinGW builds. Added makefile for launcher.
Still need hook library and resource compiling.
2004-04-11 19:43:16 +00:00
crs bf2879724f Preliminary support for MSYS/MinGW builds. Doesn't yet build
CSynergyHook as a DLL and does not compile or link in the
resources for the binaries.
2004-04-11 19:15:09 +00:00
crs 530be3ff9d Updates to support OS X. This improves support for building on
multiple systems with automake, with X Windows and Carbon window
system APIs supported.  It's also a starting port for supporting
win32 builds using mingw.  OS X support is incomplete;  the tree
will compile and link but the binaries will not function.
2004-04-11 14:58:08 +00:00
crs 083607345a Removed DEPTH, VDEPTH, and VPATH from makefiles. 2004-04-04 12:12:32 +00:00
crs 4ace26f19b Make screen drop down lists longer in the launcher. They're now
long enough for the scroll bar to show up properly (with the
thumb) and they have enough space for 6 screens without needing
the scroll bar.
2004-03-31 22:14:01 +00:00
crs 82552698f7 Fixed bug in starting (when not testing) synergy from launcher
on windows NT.  It was trying to start it as a service.
2004-03-28 20:52:49 +00:00
crs d2f4cbf002 Fixed bugs in installing per-user startup programs on windows 95
family.
2004-03-28 14:05:31 +00:00
crs a6e858a208 Added win32 support for power management. 2004-03-13 17:13:55 +00:00
crs 77dd4c81c4 Added reload configuration menu item to win32 task bar. 2004-02-29 21:31:24 +00:00
crs 75cafe65a6 Enabled running at high priority on windows. 2004-02-28 17:51:55 +00:00
crs 82dffeb498 Generalized signal handling. Now handling SIGHUP in addition
to SIGINT and SIGTERM.  Setup SIGHUP to reload the server's
configuration.
2004-02-28 17:49:29 +00:00
crs 54acf38d82 Merged Win32 updates. Added full warnings on g++. Fixed bug in
client when handling server rejection.
2004-02-28 12:19:49 +00:00
crs 48908242d2 Checkpoint. Conversion to event driven system complete for Unix.
Still need to convert win32 platform specific files.
2004-02-15 17:32:11 +00:00
crs 901a76df0d Minor cleanup. 2004-02-14 16:30:27 +00:00
crs 1861f21fb5 Checkpoint. synergys now works. Still need to do lib/client and
synergyc.
2004-02-14 14:04:36 +00:00
crs 848aee7a3a Checkpoint. Code does not run. Still converting over to new
event loop model.  Streams, stream filters, and sockets are
converted.  Client proxies are almost converted.  CServer is
in progress.  Removed all HTTP code.  Haven't converted the
necessary win32 arch stuff.
2004-02-01 21:09:22 +00:00
crs 618aa7fedd Removed most HTTP stuff. It doesn't seem like the appropriate
choice for server control.  May later provide some other means
for controlling the synergy server remotely.
2004-02-01 20:56:52 +00:00
crs 47ca409ff9 Merged primary and secondary screens into one class. 2003-09-02 22:05:47 +00:00
crs 2f9cdfd1b2 Integrated fixes from 1.0 branch. 2003-08-06 21:09:25 +00:00
crs be07a171cc Removed ignoreNumLock option. It doesn't really seem to be
necessary.
2003-07-13 18:14:35 +00:00
crs f6683d3cad Forgot to remove --camp and --no-camp from brief usage message. 2003-07-13 17:03:41 +00:00
crs c22059b433 Win32 launcher changes for ignore NumLock option. 2003-07-12 22:41:07 +00:00
crs 476faea8ab Prevent INFO level log messages when client is repeatedly trying
to connect.  This prevents a log from filling up while the client
can't connect for no useful reason.  Also removed --camp option
and cleaned up handling of client connection.  Users must now use
--restart instead of --camp.
2003-07-12 17:57:31 +00:00
crs 7b58356fc7 Added menu item on win32 tray icon to copy the last 1000 lines from
the log to the clipboard.
2003-06-02 20:06:03 +00:00
crs b840c61f6c Added screen saver synchronization option to win32 launcher dialog. 2003-05-03 15:16:30 +00:00
crs 7791b167bf Added exec.dsp to EXTRA_DIST. 2003-04-24 20:10:13 +00:00
crs 54cc95123b Win32 project configuration fixes. 2003-04-16 20:59:25 +00:00
crs 56bafdb0e2 Minor win32 fixes. 2003-04-16 20:59:14 +00:00