3d961e4767Adapted 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.
crs
2004-12-30 13:28:51 +00:00
34c2be00e5Added Henkan key. Patch from rniitani at sourceforge.net.
crs
2004-12-30 12:10:47 +00:00
1d0436b31cApplied patch from Tom Chadwick to synthesize PageUp/PageDown on X servers that don't support the mouse wheel.
crs
2004-12-30 11:54:23 +00:00
3ae1b916eaNow 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.
crs
2004-12-29 21:12:05 +00:00
7aea3964f5Fixed handling of number pad number and decimal point keys when NumLock is on on client on windows 95 family.
crs
2004-12-29 21:10:49 +00:00
d70ad662bfAdded support for ISO_Level3_Shift on X windows server. It's treated as if it were Mode_switch.
crs
2004-12-29 17:53:44 +00:00
ee787415c2Added support for unicode keyboard layouts on OS X.
crs
2004-12-29 17:07:08 +00:00
fedd2224e8Removed calls to show/hide mouse because they only work if we've taken exclusive access to the display and we don't do that.
crs
2004-12-29 17:06:49 +00:00
f0a5d3162eFixed leak of event objects on OS X.
crs
2004-12-29 17:06:00 +00:00
01fe5fb0a3Added Mac OS X autostart documentation from Tor Slettnes (tor@slett.net).
crs
2004-12-29 17:00:17 +00:00
fc3f17fd83Changed version to 1.1.11.
crs
2004-12-19 15:48:09 +00:00
ee7dcc1e83Now 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.
crs
2004-11-12 15:50:04 +00:00
014578b875Fixed 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.
crs
2004-11-11 19:23:14 +00:00
c135432040Changed 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.
crs
2004-11-11 19:17:03 +00:00
6ea96719abMade 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.
crs
2004-11-10 21:00:30 +00:00
57e9851894Fixed 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.
crs
2004-11-09 20:05:33 +00:00
fb266a00fdChanged version to 1.1.10.
crs
2004-11-09 18:42:47 +00:00
99da35de61Added synergy version number to first log message.
crs
2004-11-09 18:38:52 +00:00
6332f879fcAdded synergy version number to first log message.
crs
2004-11-09 18:38:14 +00:00
73488bc5b4Moved log message that prints system info to after installation of user requested log level so it can be filtered.
crs
2004-11-09 18:31:54 +00:00
ca23cd031fAdded forgotten files. Added define to common.h for OS X XCode build to get uname().
crs
2004-11-09 18:31:25 +00:00
cc16298febAdded new files to xcode project.
crs
2004-11-07 13:11:41 +00:00
6e58829c51Updated news and change log for 1.1.9.
crs
2004-11-07 12:34:01 +00:00
8ce1e0217aAttempt to workaround laggy mouse on OS X with linux as server.
crs
2004-11-06 16:29:06 +00:00
57fddf4cdcFixed screensaver detection on XP.
crs
2004-11-06 16:13:52 +00:00
01dc8fa337Fixed 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.
crs
2004-11-06 16:13:01 +00:00
b7f0311eb2Fixed 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.
crs
2004-11-06 16:11:39 +00:00
bdd3635f4bAdded 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.
crs
2004-11-04 21:26:43 +00:00
4be95841d2Added documentation for -display option.
crs
2004-11-02 20:50:36 +00:00
2513ae8972Added -display option for X11 version.
crs
2004-11-02 20:43:55 +00:00
f10ef9a97cReverted change to detach threads in hook DLL. It was breaking double clicking.
crs
2004-11-01 22:26:52 +00:00
65a86cb13bAdded tray menu item on win32 to force clients to reconnect.
crs
2004-11-01 22:26:02 +00:00
4d427a091dAdded operating system identification log message for debugging purposes.
crs
2004-11-01 22:25:39 +00:00
5717460221Added debugging output to check window class of active window when leaving screen. This may help determine how to avoid DOS command prompt windows being in the foreground when leaving the screen since they suppress handling of the shift key.
crs
2004-11-01 22:10:34 +00:00
169c1e5008Fixed synergy quiting when powerdvd stops playing a DVD. This may fix some other bugs that involve unexpectedly quiting. The problem was that synergy would (cleanly) quit when receiving an event with a message id of 0 when not running as a service.
crs
2004-11-01 18:26:29 +00:00
18dda312d2Fixed multimon support for win NT/2000/XP running as client. Mouse would jump between two points.
crs
2004-11-01 18:24:37 +00:00
2a3015f06aFixed a resource leak. Also fixed the detection of the screen saver closing on windows 2000 and XP.
crs
2004-11-01 18:22:45 +00:00
58de7a21feAdded 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.
crs
2004-11-01 18:21:00 +00:00
519871fe15Changed X11 key mapping to fallback to the modifier keysym with the opposite handedness if the desired handedness is missing. For example, if Alt_R is unmapped as it often is on keyboards with Mode_switch, the client will use Alt_L if it is mapped when told to synthesize Alt_R. This should fix handling of AltGr sent from a win32 server. AltGr is literally just Control_L and Alt_R and, previously, an X11 client without Alt_R mapped would only simulate Control_L. This does not address the fact that the user may really just want the Alt modifier; there are already hueristics to attempt to figure that out.
crs
2004-10-30 16:41:36 +00:00
719757ca22Improved X extension detection in configure and added handling of dpms.h headers that don't have function prototypes.
crs
2004-10-30 16:16:32 +00:00
91d1fcf38dFixed 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.
crs
2004-10-28 21:40:56 +00:00
12c95723b7Fixed use of freed memory.
crs
2004-10-27 21:46:22 +00:00
0ff6cdf5b1Now detaching hook thread after event processing. This may fix problems with the Alt key being synthetically down when using the back and forward bindings on a mouse with extra buttons.
crs
2004-10-27 21:38:05 +00:00
4d7d2c618fFixed bug in mouse wheel handling. Was reacting with mouse wheel events when receiving any event with message == 0 when the system doesn't use old style mouse wheel events. Some programs (especially the flash plugin) would send events with message == 0 causing undesired wheel scrolling.
crs
2004-10-27 21:29:19 +00:00
fe044cfab1Fixed problem with multimonitor on OS X. The bug was simply that the cursor wasn't being parked in the center of the main screen but instead at the center of the total display surface. This could place it off or dangerously close to the edge of the transparent window that covers the main screen and prevent synergy from capturing mouse motion.
crs
2004-10-27 21:22:36 +00:00
f65d53d06aFixed dead key and AltGr+shift handling on X windows. Also fixed bug with decomposing characters that have no direct key mapping but do have a direct key mapping for the character with the opposite case.
crs
2004-10-24 18:18:01 +00:00
9f6c8f937aMade OS X key mapping dynamic based on current key layout. It now includes full support for dead keys and non-ascii glyph keys.
crs
2004-10-24 18:15:33 +00:00
13a0f8671fAdded eject and sleep key IDs.
crs
2004-10-24 18:14:18 +00:00
9a1de9f105Previous half-duplex fix fixed secondary screens with half duplex keys but broke primary screens. This fixes both and also ensures that the primary screen updates its shadow toggle modifier state when leaving so the secondary screens get the correct toggle modifier state. Together these fix some strange inconsistencies in toggle state across screens.
crs
2004-10-23 19:43:37 +00:00
3f7f946ab0Fixed bug in half-duplex keys. Was updating their toggled state om every release as well as press.
crs
2004-10-23 18:40:31 +00:00
91acd26d93Fixed typo in the documentation of configuration options.
crs
2004-10-13 20:39:22 +00:00
07e2a3e511Removed 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.
crs
2004-09-29 21:59:26 +00:00
376bba970bNow accepting screen names that end in a dot since many OS X users have misconfigured their systems to have hostnames that end in a dot.
crs
2004-09-28 22:25:35 +00:00
f8e133dc29Fixed error in win32 installer packaging.
crs
2004-09-28 22:19:24 +00:00
dc499149f4Fixed compile on gcc 3.4 and later. gcc started doing access checks for class visibility on pointers to member function 'using the qualifying scope of the name itself.' what this means is if method 'prot' is declared protected in class A and B inherits from A then a method in B cannot use &A::prot but can use &B::prot. Synergy now does this in the one place it had not.
crs
2004-09-27 21:54:49 +00:00
e7ae6831cfWorked around minor gcc 3.3.2 -O3 compiler bug.
crs
2004-09-27 21:23:47 +00:00
c51c748a17Server 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.
crs
2004-09-27 21:04:37 +00:00
06987c2070Changed 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.
crs
2004-09-27 20:53:54 +00:00
b66a403941Now using <poll.h> instead of <sys/poll.h>. Also added a bit to autoconf to ensure we don't use poll on OS X.
crs
2004-07-31 11:19:39 +00:00
6284286d4fFixed handling of modifier keys on OS X. Also made OS X client ignore small mouse wheel events (which seem to get sent by some win32 systems). Other platforms were already ignoring them.
crs
2004-07-29 22:11:27 +00:00
cf3647f7ccWorked around bug in ifstream::operator!() on OS X.
crs
2004-07-29 22:09:28 +00:00
3d2fa92654Fixed handling of ctrl and alt keys when using low level hooks. They were being discarded so the server wouldn't correctly send ctrl, alt, or AltGr to clients.
crs
2004-07-29 21:59:26 +00:00
898a9af3b0Added comment about a problem detecting the screen saver.
crs
2004-07-29 21:57:42 +00:00
b1ead05a3cWorked around bogus key mapping on 95/98/me where multiple virtual keys are mapped to the same button. For example, the backslash virtual key shares a button with some other virtual key on british english key mappings. Synergy could end up using the wrong virtual key. In the given case, the other virtual key produced no character at all. To determine which virtual key should really be mapped to a button we map the button back to a virtual key and see if it's the virtual key we started with.
crs
2004-07-29 21:53:30 +00:00
bac1f24a53Synergy now steals window activation when using low level hooks and a console window is the active window. This is to work around console windows preventing the hook from detecting the shift key.
crs
2004-07-29 21:50:17 +00:00
ef85356f45Worked around bug/weirdness on OS X. It's reporting that a non-blocking connect is available for writing (i.e. the connection was successful) when the connection has actually failed. This caused synergy to rapidly retry connecting. This change makes synergy check for a connection error whether one was reported or not. Thankfully, OS X does correctly set the socket error state when it bogusly reports a successful connection so we can tell the connection failed.
crs
2004-07-29 21:48:40 +00:00
970c8b2fbaAdded workaround for apparent bug in OS X 10.3.4. If you started a synergy client on that OS and pointed it at a system that wasn't listening for connections then instead of the connection attempt failing with 'connection refused' the system would claim the connection succeeded. A subsequent read would reveal the problem and synergy would "disconnect" and retry, causing the CPU to spin. The system does correctly set the socket error state so this workaround checks for socket errors when connecting whether or not select reports an error state.
crs
2004-07-28 21:54:39 +00:00
59e466da0aChanged version to 1.1.8.
crs
2004-07-25 14:18:50 +00:00
95e4963f1dDisable key event capture on X11. This was going to be used to detect synergy hotkeys but a design flaw in X11 makes it problematic with many applications. We'll have to fall back to the more traditional XGrabKey when the time comes.
crs
2004-06-22 21:11:14 +00:00
43548cee89Added NDEBUG to and removed debugging symbols from XCode deployment project.
crs
2004-06-16 21:07:48 +00:00