Commit Graph

44 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 8ddb77b811 Changed version to 1.3.0. 2005-01-01 20:16:50 +00:00
crs 03df4ce631 Changed version to 1.2.0. 2004-12-30 13:52:52 +00:00
crs fc3f17fd83 Changed version to 1.1.11. 2004-12-19 15:48:09 +00:00
crs fb266a00fd Changed version to 1.1.10. 2004-11-09 18:42:47 +00:00
crs ca23cd031f Added forgotten files. Added define to common.h for OS X XCode
build to get uname().
2004-11-09 18:31:25 +00:00
crs 91d1fcf38d Fixed bugs in configuration. Wasn't doing configuration for DPMS
and Xinerama correctly.  Also was using '#if defined(...)' instead
of '#if ...' for testing configure macros in some places.  This
yields the wrong answer if the macro is set to 0, which means
missing/disabled.
2004-10-28 21:40:56 +00:00
crs 06987c2070 Changed version to 1.1.9. Changed configure.in to get version
number from lib/common/Version.h so it only has to be changed
there.
2004-09-27 20:53:54 +00:00
crs 59e466da0a Changed version to 1.1.8. 2004-07-25 14:18:50 +00:00
crs 613413fb50 Added OS X precompiled header file for XCode compiles. 2004-06-10 19:42:01 +00:00
crs 20bfb04886 Changed version to 1.1.7. 2004-06-10 19:32:40 +00:00
crs 06d77fe314 Merged Bertrand's OS X changes. Also added support for mouse wheel
on OS X server.
2004-05-26 19:23:32 +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 c9046a9557 Changed version to 1.1.6. 2004-05-15 19:44:05 +00:00
crs d9387dbed7 Added bertrand landry hetu's mac OS X port to date. 2004-05-15 19:41:46 +00:00
crs 320cc754a2 Better fixes for compiling on FreeBSD and OpenBSD. 2004-05-01 12:11:28 +00:00
crs 975d888d65 Fixes for FreeBSD. 2004-05-01 11:01:40 +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 ef908bf0bc Changed version to 1.1.5. 2004-04-04 12:12:30 +00:00
crs ceb654246c Changed version to 1.1.4. This time changing the version before
making any other changes.
2004-03-30 18:54:56 +00:00
crs 63db68aee5 Added missing file. 2004-02-28 12:24:47 +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 b59e105bc4 Changed version to 1.1.3. 2003-07-17 21:17:08 +00:00
crs 99792b13a5 Changed version to 1.1.2. 2003-07-16 22:38:54 +00:00
crs b949e108a0 Changed version to 1.1.1. 2003-07-16 21:41:09 +00:00
crs c325b923ea Change version to 1.0.11. Skipping version 1.0.10 because there
have been too many major changes since 1.0.8.  A new experimental
release will provide a stable starting point for testing.
2003-07-05 17:06:18 +00:00
crs f35a4541ee Added new file to Makefile. 2003-06-08 15:42:05 +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 5484751997 Changed version to 1.0.9. 2003-05-17 20:58:48 +00:00
crs 6f22c4d550 Changed version to 1.0.8. 2003-05-10 17:27:05 +00:00
crs 2d168319e4 Changed version to 1.0.7. 2003-04-13 14:38:40 +00:00
crs 5320f663ba Changed version to 1.0.6. 2003-03-26 21:03:58 +00:00
crs 74e50877e9 Made releaseKeys() only synthesize key releases for those keys
that synergy synthesized a press for, not keys that the user
is physically pressing.
2003-03-16 17:40:56 +00:00
crs 8685afd9f6 Changed version to 1.0.5. 2003-02-22 15:04:09 +00:00
crs 6301af9d50 Changed version to 1.0.3. 2003-02-17 12:44:37 +00:00
crs 06ed985f84 Changed version number to 1.0.2. 2003-01-25 13:39:26 +00:00
crs 669f0b3974 Changed version number to 1.0.1. 2003-01-22 08:37:32 +00:00
crs 784297af24 Changed version number to 1.0.0. Documentation updates. 2003-01-18 16:21:36 +00:00
crs a14a462e22 Fixes to support FreeBSD and Darwin. 2003-01-11 21:06:21 +00:00
crs 84d75600a9 Changed version number to 0.9.15. Added 0.9.15 log entries. 2003-01-07 21:47:27 +00:00
crs f65921bc3f Refactored some platform dependent code into a new library,
lib/arch.  This should make porting easier.  Will probably
continue to refactor a little more, moving platform dependent
event handling stuff into lib/platform.
2003-01-04 22:01:32 +00:00