Commit Graph

793 Commits

Author SHA1 Message Date
crs23 c169961986 Fixed minor errors in .rc files. 2007-09-06 05:01:51 +00:00
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
crs23 0ed17ccca2 Updated compiling documentation for upcoming change. 2007-09-06 05:01:11 +00:00
crs23 90b1d4d8ab Fixes to p4tolog. 2007-09-06 05:01:04 +00:00
crs23 dacca8f96b Updated change log. 2007-09-06 05:00:58 +00:00
crs23 da0521bcd2 Allow input scripts other than roman on OS X. 2007-09-06 05:00:52 +00:00
crs d1e56572d2 Applied patch 1731039. Fixes a bug in testing if X clipboard
was owned at a given time.
2007-06-22 19:17:24 +00:00
crs23 34cf5bfd92 Added missing docs images. 2007-06-22 03:38:08 +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 73acb7860d Integrated with 1.2.2. 2005-04-24 11:56:28 +00:00
crs 1bd227922e Integrated some changes from 1.2 branch. 2005-01-26 19:01:53 +00:00
crs 42b4e2488a Fixed bug in OS X server key translation which pretty much broke any
keystroke with a modifier key.
2005-01-04 19:28:22 +00:00
crs 23ea82968d Fixed compiling documentation. 2005-01-01 20:52:01 +00:00
crs 2e67f1e0d4 Fixed description of client command line options (removed --camp
and --no-camp, which are obsolete).
2005-01-01 20:17:24 +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 d9b6575ee6 Updated documentation. 2004-12-30 13:52:20 +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 34c2be00e5 Added Henkan key. Patch from rniitani at sourceforge.net. 2004-12-30 12:10:47 +00:00
crs 1d0436b31c Applied patch from Tom Chadwick to synthesize PageUp/PageDown on
X servers that don't support the mouse wheel.
2004-12-30 11:54:23 +00:00
crs 3ae1b916ea Now ignoring 4th and 5th mouse buttons if they don't exist. Was
previously querying their state, sometimes getting the wrong
answer from the OS that they were down, which prevented switching
screens.
2004-12-29 21:12:05 +00:00
crs 7aea3964f5 Fixed handling of number pad number and decimal point keys when
NumLock is on on client on windows 95 family.
2004-12-29 21:10:49 +00:00
crs d70ad662bf Added support for ISO_Level3_Shift on X windows server. It's
treated as if it were Mode_switch.
2004-12-29 17:53:44 +00:00
crs ee787415c2 Added support for unicode keyboard layouts on OS X. 2004-12-29 17:07:08 +00:00
crs fedd2224e8 Removed calls to show/hide mouse because they only work if we've
taken exclusive access to the display and we don't do that.
2004-12-29 17:06:49 +00:00
crs f0a5d3162e Fixed leak of event objects on OS X. 2004-12-29 17:06:00 +00:00
crs 01fe5fb0a3 Added Mac OS X autostart documentation from Tor Slettnes (tor@slett.net). 2004-12-29 17:00:17 +00:00
crs fc3f17fd83 Changed version to 1.1.11. 2004-12-19 15:48:09 +00:00
crs 4750c1214d Updated documentation. 2004-11-12 15:59:09 +00:00
crs ee7dcc1e83 Now suppressing shift key when caps-lock is enabled on OSX. This
fixes handling of, say, Command+N with caps-lock enabled which
was being synthesized as Command+Shift+N.
2004-11-12 15:50:04 +00:00
crs 014578b875 Fixed a serious flaw in wrapper for posix condition variable wait
function.  Because synergy doesn't use posix cancellation, it
cannot wake up a thread waiting on a condition variable.  So
the wrapper would wake up periodically to test if the thread was
cancelled (according to synergy's cancellation state) then go
back to waiting.  Well the condition could be signalled while
we're testing and be lost and we'd never return from the wait.
So now we wake up after a maximum timeout and return to the
caller.  The caller must check for this spurious wakeup but all
callers should do this anyway so we're okay there.
2004-11-11 19:23:14 +00:00
crs c135432040 Changed scheme used to lock the socket multiplexer's job list.
I think the new scheme is easier to understand.  It should have
exactly the same behavior.
2004-11-11 19:17:03 +00:00
crs 6ea96719ab Made condition variable data volatile. This will hopefully fix
an strange deadlock seen on OSX.  The CSocketMultiplexer deadlocks
with two threads, one waiting for m_polling to become false and
the other waiting for m_pollable to become true.  The weird part
is that they're both false so the first thread should proceed.
It either didn't receive the broadcast when m_polling went to
false or it's not really checking the actual value of that flag.
I can't see how the former is possible and this change fixes the
latter.
2004-11-10 21:00:30 +00:00
crs d8b6fab8bb Fixed typo. 2004-11-10 19:11:33 +00:00
crs 57e9851894 Fixed modifier handling on OSX client. Had hardcoded one set of
modifiers for all keys for testing purposes and forgotton to fix
that.  Now choosing required modifiers per key.  This fixes
shift+arrow keys suppressing the shift key and, i think, the
option key not working.
2004-11-09 20:05:33 +00:00
crs fb266a00fd Changed version to 1.1.10. 2004-11-09 18:42:47 +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 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 cc16298feb Added new files to xcode project. 2004-11-07 13:11:41 +00:00
crs 6e58829c51 Updated news and change log for 1.1.9. 2004-11-07 12:34:01 +00:00
crs 8ce1e0217a Attempt to workaround laggy mouse on OS X with linux as server. 2004-11-06 16:29:06 +00:00
crs 57fddf4cdc Fixed screensaver detection on XP. 2004-11-06 16:13:52 +00:00
crs 01dc8fa337 Fixed handling of number pad keys with num-lock off. Was
synthesizing events for the numbers even with num-lock off.  Now
synthesizing the cursor movements.
2004-11-06 16:13:01 +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 bdd3635f4b Added support for X11 compose key (Multi_key). This change fixes
the handling of compose key sequences.  The key presses were
suppressed but not the corresponding releases, confusing the
clients.  It also adds support for generating keysyms via the
compose key if the necessary dead keys or Mode_switch are not
available.
2004-11-04 21:26:43 +00:00
crs 4be95841d2 Added documentation for -display option. 2004-11-02 20:50:36 +00:00
crs 2513ae8972 Added -display option for X11 version. 2004-11-02 20:43:55 +00:00
crs f10ef9a97c Reverted change to detach threads in hook DLL. It was breaking
double clicking.
2004-11-01 22:26:52 +00:00