Martin Wilck
ed17e9275d
XRandR: fix screen size calculation
...
XWindowsScreen::saveShape() using XRRSizes / XRRRotations to
calculate screen dimensions when XRandR and a rotated screen
was detected. This is wrong. The screen dimensions in the
display properties already reflect rotation.
Moreover, on servers supporting XRandR >= 1.2, the XRRSizes()
and XRRRotations calls from XRandR 1.1 will return the
properties of the "primary output" in XRandR 1.2 terms rather than
the properties of the entire screen.
2017-02-06 12:45:39 +00:00
Reinder Feenstra
1499f7b27c
#5525 Add support for floating point start/end range values
2017-01-25 21:11:13 +00:00
Jiwoong Yoo
f35e3e5e06
#5578 Virtual key table mapped for inactive IMEs
...
Virtual key table is mapped for all IMEs not just active IME.
And this causes the wrong modifier key to be pressed. For example, if you use Korean and Japanese IMEs, pressing the Hangul key makes alt key pressed. So when I press just 'a', client interprets that as 'alt-a'.
2017-01-25 21:07:44 +00:00
Jiwoong Yoo
180d3e57d2
#5196 Korean and Japanese keyboards have same key code
2017-01-25 21:04:13 +00:00
Mike Hobbs
adf34eba40
#5785 Fix screen switch problem when cursor is in a corner
2017-01-25 20:55:20 +00:00
James McMullan
0eff5a95be
#3992 macOS: Dragging broken in Unity
...
OSXScreen was not adding mouse movement deltas to mouse events while
dragging. Some 3D applications rely on these deltas to implement
dragging. Adding the mouse deltas to the mouse event fixes dragging in
these applications. Ex: Unity3d
2017-01-25 20:46:00 +00:00
Andreas Eriksson
ba55369d42
#3197 Disable regular motion events when using XInput 2
2017-01-25 20:36:56 +00:00
Christian Schmidt
21d4e6a908
#4477 Only allow mouse buttons 1-10 for XTestFakeButtons call.
...
These are the only valid ones:
[~]>for i in `seq 0 1 11`; do echo Testing $i; xte "mouseclick $i"; done
Testing 0
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 132 (XTEST)
Minor opcode of failed request: 2 (X_XTestFakeInput)
Value in failed request: 0x0
Serial number of failed request: 12
Current serial number in output stream: 15
Testing 1
Testing 2
Testing 3
Testing 4
Testing 5
Testing 6
Testing 7
Testing 8
Testing 9
Testing 10
Testing 11
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 132 (XTEST)
Minor opcode of failed request: 2 (X_XTestFakeInput)
Value in failed request: 0xb
Serial number of failed request: 12
And there are mice out there where buttons 11+ can be pressed accidentally,
terminating the synergy client and often leaving the system in a bad state.
2017-01-25 20:30:15 +00:00
Fábio Oliveira
3d3b7ca881
#4288 Remove auto Alt+Printscreen on Windows
...
As per issue https://github.com/synergy/synergy/issues/4288
2017-01-25 20:25:49 +00:00
Andrew Nelless
c27c094f9c
Merge changes from v1.8.6 and v1.8.7
2017-01-20 23:18:03 +00:00
XinyuHou
c31f908fb2
Fix warning in IPC proxy classes
2016-12-07 17:35:52 +00:00
XinyuHou
74d63df244
Fix incorrect check of return code from dup
2016-12-07 17:28:15 +00:00
Epakai
4297673387
spelling error "implmented => implemented"
2016-12-06 14:56:47 +00:00
Epakai
72b1ebcdb2
spelling error "unknow => unknown"
2016-12-06 14:56:38 +00:00
Jerry (Xinyu Hou)
e8145aa779
#5592 Post keyboard events to lower level HID client
2016-11-22 15:19:58 +00:00
Jerry (Xinyu Hou)
b8233fc146
#5186 Add deprecated arguments warnings
2016-11-03 14:31:27 +00:00
Jerry (Xinyu Hou)
514e2475c3
Merge branch 'v1.8.6' into issue5186-different-dpi
2016-10-31 16:31:30 +00:00
Andrew Nelless
96efe5fb73
Merge changes from v1.8.5
2016-10-31 16:14:39 +00:00
Andrew Nelless
ef9842c819
#5707 Change update notification url
2016-10-28 17:45:47 +01:00
Andrew Nelless
af9037276c
#5707 Prefer 'update' over 'upgrade'
2016-10-28 17:45:35 +01:00
Andrew Nelless
73685c3d92
#5707 Tweak notify url for upgrades
2016-10-28 17:45:30 +01:00
Andrew Nelless
4206799ae3
#5707 Add from and to version numbers to version update notification
2016-10-28 17:45:26 +01:00
Andrew Nelless
2de06b9727
#5707 Add support for upgrade notifications
2016-10-28 17:45:20 +01:00
Andrew Nelless
9f1e91cc76
Remove pointless call to curl_free
2016-10-28 17:45:18 +01:00
Jerry (Xinyu Hou)
0d4fd6dcef
#5186 Reorder some functions call to make it clear
2016-10-28 06:00:11 -07:00
Jerry (Xinyu Hou)
c2372bc9a8
#5186 Remove accumulate fraction DPI calculation
2016-10-28 05:24:07 -07:00
Jerry (Xinyu Hou)
cf397a0d6f
#5186 Remove Dpi calculation code
2016-10-28 04:50:06 -07:00
Andrew Nelless
7bae07d34e
#5657 Merge trial support
2016-10-20 11:30:25 +01:00
Jerry (Xinyu Hou)
984ca48f34
Merge remote-tracking branch 'origin/issue5620-sierra' into v1.8.5
2016-10-19 10:54:31 +01:00
Jerry (Xinyu Hou)
dc4beba9e9
#5680 Stop deleting socket twice if it's been adopted by PacketStream
2016-10-18 16:48:32 +01:00
Andrew Nelless
020b7974df
#5657 Fix trial warning label and serial key serialisation
2016-10-18 15:32:59 +01:00
Jerry (Xinyu Hou)
e65631c451
#5657 Fix wrong logic about checking if serial key expired
2016-10-18 13:02:36 +01:00
Andrew Nelless
5a34da3ce0
#5657 Refresh UI when synergys reports trial expired
2016-10-17 17:49:14 +01:00
Andrew Nelless
99dbdc5eb3
#5657 Use SerialKey class in ServerArgs
2016-10-17 17:38:05 +01:00
Andrew Nelless
599415f047
#5657 Only check trial times when using a trial
2016-10-17 17:11:30 +01:00
Andrew Nelless
8b4d7abfb0
#5657 Remove SerialKey::m_valid
2016-10-17 17:08:26 +01:00
Andrew Nelless
c7dc198d82
#5657 Fix SerialKey whitespace
2016-10-17 16:34:44 +01:00
Andrew Nelless
7eefa49c77
#5657 Fix SerialKey construction in unit tests
2016-10-17 16:12:33 +01:00
Andrew Nelless
714b2f6440
#5657 Make trial expiry notification live
2016-10-17 15:26:42 +01:00
Andrew Nelless
3ee9ac5d49
#5657 Remove C++11 enum qualifier
2016-10-15 15:49:36 +01:00
Andrew Nelless
4ad7c7fe39
#5657 Rename edition to activeLicense. WSFs
2016-10-15 15:30:28 +01:00
Andrew Nelless
d244683ac4
#5657 Merge core changes
2016-10-15 12:03:55 +01:00
Andrew Nelless
55414e4581
#5657 Make SubscriptionManager backward compatible
2016-10-14 17:38:31 +01:00
Jerry (Xinyu Hou)
89851fddc3
#5657 Exited server if trial is expired
2016-10-14 17:14:21 +01:00
Jerry (Xinyu Hou)
92b29276d0
#5657 Added serial argument in core
2016-10-14 13:51:27 +01:00
Jerry (Xinyu Hou)
dce4b382e6
#5657 Fixed passing in the raw serial key
2016-10-14 12:43:33 +01:00
Jerry (Xinyu Hou)
33ebe61ef2
#5657 Counted expiring within 1 day as 1 day left
2016-10-14 12:43:01 +01:00
Andrew Nelless
727fc5c220
#5659 Move activation notification to SubscriptionManager
2016-10-14 12:16:23 +01:00
Andrew Nelless
540882056f
#5657 Create a global SubscriptionManager instance
2016-10-14 11:59:25 +01:00
Jerry (Xinyu Hou)
719e64dc8f
#5657 Added missing dependencies on Linux and Windows
2016-10-13 18:07:21 +01:00
Jerry (Xinyu Hou)
235f528dd9
#5657 Added unit tests for SerialKey
2016-10-13 17:55:38 +01:00
Jerry (Xinyu Hou)
2a452307cd
#5657 Fleshed out the implementation of SerialKey
2016-10-13 17:55:09 +01:00
Jerry (Xinyu Hou)
92a885524b
#5657 Added temporary implementation for SerialKey
2016-10-13 14:00:19 +01:00
Jerry (Xinyu Hou)
92680b2877
#5657 Extracted shared code between GUI and core
2016-10-13 13:53:09 +01:00
Jerry (Xinyu Hou)
82e55702ef
#5657 Removed serial key code from syntool
2016-10-13 11:20:43 +01:00
Jerry (Xinyu Hou)
4be9fc1800
Removed unused code
2016-10-13 11:18:03 +01:00
Jerry (Xinyu Hou)
d92fcd2453
#5657 Added version 2 trial serial key support
2016-10-13 11:15:38 +01:00
Andrew Nelless
5ea1fdc7c6
#5620 Remove deprecated NXClickTime call
2016-10-12 16:10:57 +01:00
Andrew Nelless
df88faaad8
#5620 Convert OSXScreen into Objective C++
2016-10-12 15:43:01 +01:00
Andrew Nelless
2b9f48602c
#5620 Make Xcode 8 happy with null cast
2016-10-12 15:09:29 +01:00
Andrew Nelless
964f1aa093
Merge changes made in v1.8.4
2016-10-12 10:41:44 +01:00
Andrew Magill
217eb475de
#5183 Accumulate fractional moves across updates.
2016-10-06 15:42:29 +01:00
Andrew Nelless
6892664f4a
Fix cast of XRRNotifyEvent
2016-10-05 15:10:40 +01:00
Andrew Nelless
360d5a7c17
Merge Linux xrandr branch into v1.8.4
2016-10-05 15:05:31 +01:00
Andrew Nelless
dd88e324d7
#4420 Send screen shape change event on Linux (xrandr)
2016-10-05 12:54:57 +01:00
Andrew Nelless
26c11ec3c9
Restore horrible reinterpret_casts in OSXUchrKeyResource
2016-10-05 12:46:17 +01:00
Andrew Nelless
602fd3f649
Restore safe reinterpret_casts in OSXKeyState
2016-10-05 12:46:17 +01:00
Andrew Nelless
8072594008
Restore safe reinterpret_casts in OSXClipboardBMPConverter
2016-10-05 12:46:17 +01:00
Andrew Nelless
19b9be4593
Restore safe reinterpret_casts in MSWindowsScreenSaver
2016-10-05 12:46:17 +01:00
Andrew Nelless
788f6eab9f
Restore safe reinterpret_casts in MSWindowsScreen
2016-10-05 12:46:17 +01:00
Andrew Nelless
2a5dc62747
Restore safe reinterpret_casts in MSWindowsDesks
2016-10-05 12:46:17 +01:00
Andrew Nelless
f7ad162634
Fix up casts in MSWindowsClipboardBitmapConverter
2016-10-05 12:46:17 +01:00
Andrew Nelless
2e30dc2c68
Restore safe reinterpret_cast of Windows thread handle
2016-10-05 12:46:17 +01:00
Andrew Nelless
702f095efd
Fix cast in Windows TaskBar
2016-10-05 12:46:17 +01:00
Andrew Nelless
7e386c0bf9
Fix cast of port number in Winsock
2016-10-05 12:46:16 +01:00
Andrew Nelless
d77b5f1176
Restore safe reinterpret_casts in Windows TaskBar
2016-10-05 12:46:16 +01:00
Andrew Nelless
5a03e37d15
Restore safe reinterpret_casts in misc Windows code
2016-10-05 12:46:16 +01:00
Andrew Nelless
a13dc92f2e
Restore safe reinterpret_casts in SecureSocket
2016-10-05 12:46:16 +01:00
Andrew Nelless
16977788d3
Restore safe reinterpret_casts in XWindowsClipboardBMPConverter
2016-10-05 12:46:16 +01:00
Andrew Nelless
5b8fb69124
Partially de-reinterpret_cast XWindowsClipboard
2016-10-05 12:46:16 +01:00
Andrew Nelless
5272c9dde4
Restore safe reinterpret_casts in XWindowsUtil
2016-10-05 12:46:16 +01:00
Andrew Nelless
50807bfcb6
Restore safe reinterpret_casts in XWindowsScreen
2016-10-05 12:46:16 +01:00
Andrew Nelless
055370412c
Restore safe reinterpret_cast in clipboard converter
2016-10-05 12:46:16 +01:00
Andrew Nelless
fb5e2bb171
Restore safe reinterpret_cast in readUInt32
2016-10-05 12:46:16 +01:00
Andrew Nelless
e81f7ab8c7
Replace unsafe casts with memcpy ops
2016-10-05 12:46:16 +01:00
Andrew Nelless
90c3dd6622
Restore evil-enabling reinterpret_cast in SocketMultiplexer
2016-10-05 12:46:16 +01:00
Andrew Nelless
0371002497
Restore use of reinterpret_cast in unicode routines
2016-10-05 12:46:16 +01:00
Andrew Nelless
f174614655
Remove bizarre cast of sockaddr to char*
2016-10-05 12:46:16 +01:00
Andrew Nelless
9ed9bde4e7
Restore use of reinterpret_cast for sockaddr_in
2016-10-05 12:46:16 +01:00
Andrew Nelless
f3d1470e58
Brutally replace all reinterpret_casts with static_casts
2016-10-05 12:46:16 +01:00
Andrew Nelless
e6a3caaf75
#5628 Fix net lib linkage on Ubuntu
2016-10-04 15:51:07 +01:00
Andrew Nelless
176d7e4725
#5617 Don't copy plugins directory on Windows
2016-10-03 19:47:55 +01:00
Andrew Nelless
45da1dfc7c
#5628 Make enableCrypto directly enable SSL
2016-09-29 13:11:09 +01:00
Andrew Nelless
55a2d1231f
#5628 Initialize SSL on secure client sockets
2016-09-29 13:11:09 +01:00
Andrew Nelless
0d84e4eed6
#5617 Make PacketStreamFilter adopt all socket types
2016-09-29 13:11:09 +01:00
Andrew Nelless
3b5940ac18
#5628 Restore copying of SSL libs on Windows
2016-09-29 13:11:09 +01:00
Andrew Nelless
5db78acab4
#5628 Link Synergy core against OpenSSL
2016-09-29 13:05:04 +01:00
Andrew Nelless
52c8763d97
#5617 Add SecureSocket to TCPSocketFactory
2016-09-29 13:05:04 +01:00
Andrew Nelless
6456271141
#5617 Remove plugin interface from Arch
2016-09-29 13:05:04 +01:00
Andrew Nelless
79fc6239fd
#5617 Revert "Remove plugin interface from Arch"
...
This reverts commit 4613edc17ced61d6aca80cff661323ede0cb9d30.
2016-09-29 13:05:04 +01:00
Andrew Nelless
c3889667ba
#5617 Remove online check for plugins
2016-09-29 13:05:04 +01:00
Andrew Nelless
b55b8f0038
#5617 Revert "Remove plugin args from ArgParser"
...
This reverts commit cd58a8f0d0abe344d8e31a817386f613c7acde25.
2016-09-29 13:05:04 +01:00
Andrew Nelless
b1a991e8cd
#5617 Revert "Remove plugin directory support"
...
This reverts commit fc697d2ab79bbd2d607c97658c986b629a1280ed.
2016-09-29 13:05:04 +01:00
Andrew Nelless
45ef3e1080
#5617 Remove plugin interface from Arch
2016-09-29 13:05:04 +01:00
Andrew Nelless
77d6b83b0c
#5617 Remove stray PluginVersion includes
2016-09-29 13:05:04 +01:00
Andrew Nelless
a2ad4cb0dc
#5617 Remove plugin args from ArgParser
2016-09-29 13:05:04 +01:00
Andrew Nelless
011da60cca
#5617 Remove plugin infra from ClientApp
2016-09-29 13:05:04 +01:00
Andrew Nelless
85227f41a1
#5617 Remove plugin infra from ServerApp
2016-09-29 13:05:04 +01:00
Andrew Nelless
f7e588dfff
#5617 Remove plugin directory support
2016-09-29 13:05:03 +01:00
Andrew Nelless
dc93b063b7
#5617 Remove plugin infra from TCPSocketFactory
2016-09-29 13:05:03 +01:00
Andrew Nelless
5774f5a291
#5617 Remove plugin infra from Client
2016-09-29 13:05:03 +01:00
Andrew Nelless
27ccddbea4
#5617 Remove plugin infra from ClientListener
2016-09-29 13:05:03 +01:00
Andrew Nelless
76b2558f1a
#5617 Delete the plugin infrastructure
2016-09-29 13:05:03 +01:00
Andrew Nelless
665bd91dbd
#5628 Move SSL socket code from plugin to lib/net
2016-09-29 13:04:57 +01:00
Andrew Nelless
c7bf59e6c1
Merge changes from v1.8.3
2016-09-26 15:33:57 +01:00
Andrew Nelless
c418d66f60
#3305 Rename macOS MediaKeySimulator to MediaKeySupport
2016-09-26 11:58:33 +01:00
Andrew Nelless
e76b4a7747
#3305 Send macOS media key events to clients
2016-09-26 11:58:33 +01:00
Andrew Nelless
1b0d4308e2
#3305 Map brightness keys correctly on macOS servers
2016-09-26 11:58:33 +01:00
Andrew Nelless
6294679fcd
#3305 Detect media keys on macOS server
2016-09-26 11:58:33 +01:00
Andrew Nelless
6d5b2707c8
#3305 Add logging for unknown macOS events
2016-09-26 11:58:33 +01:00
Xinyu Hou
a17779e7fd
#123 Disabled clipboard grab mechanism when clipboard is disabled
2016-09-26 11:58:33 +01:00
Xinyu Hou
ce4effa2c8
#123 Fixed warning on Linux
2016-09-26 11:58:33 +01:00
Xinyu Hou
eafc548b97
#123 Made disable clipboard take effect on client
2016-09-26 11:58:33 +01:00
Xinyu Hou
90673e8b87
#123 Added note about disabling clipboard
2016-09-26 11:58:33 +01:00
Xinyu Hou
673829f511
#123 Made disable clipboard take effect on server
2016-09-26 11:58:33 +01:00
Xinyu Hou
9c0bac7c7d
Fixed indentations
2016-09-26 11:58:33 +01:00
Xinyu Hou
3c94310c9e
#123 Read clipboard sharing option and pass it to all clients
2016-09-26 11:58:33 +01:00
Xinyu Hou
d78758ab7d
Fixed indentation
2016-09-26 11:58:33 +01:00
Xinyu Hou
dc80ab4023
#4740 Sent heartbeat message between each chunk message
2016-09-26 11:58:33 +01:00
Xinyu Hou
d8ace7fb4a
#4740 Used global const rather than macro
2016-09-26 11:58:33 +01:00
Xinyu Hou
8ab69a22ae
#4740 Forced delay on heartbeat rather than each clipboard chunk
2016-09-26 11:58:33 +01:00
Xinyu Hou
d14d907ac1
#4740 Removed clipboard interrupt code
2016-09-26 11:58:33 +01:00
Andrew Nelless
fc6ce84ee4
Don't pollute the log with clipboard data at DEBUG2
2016-09-26 11:58:33 +01:00
Xinyu Hou
ceecee0f57
#4740 Used safer static cast
2016-09-26 11:58:33 +01:00
Xinyu Hou
71741da721
#4740 Only adopted non-SSL socket
2016-09-26 11:58:33 +01:00
Xinyu Hou
07f7baf335
#4740 Passed IDataSocket directly
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
61c0bd1910
Removed unused variable
2016-09-26 11:58:33 +01:00
XinyuHou
f2846b1586
Remove disconnect on retry exceed
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
16dbb7cd6a
Fixed using the wrong variable name
2016-09-26 11:58:33 +01:00
XinyuHou
a471bdcea7
Made a own copy of ClientArgs in Client
2016-09-26 11:58:33 +01:00
XinyuHou
a12ae98e9f
Used parent pointer for socket accept
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
e1be5a66b7
Used correct event target
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
6d86a6033f
Removed dead code
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
e0819b86cd
Conflicts:
...
src/lib/plugin/ns/SecureSocket.cpp
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
07902d623c
Removed dead code
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
08a73218e6
Refactored secure read and write into SecureSocket
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
61b489ab3d
Refactor write and read into functions
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
436e333f6f
Fixed indentations
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
3df75f9601
Conflicts:
...
src/lib/server/ClientListener.cpp
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
e1be67cfb6
Fixed indentations
...
Conflicts:
src/lib/client/Client.h
2016-09-26 11:58:33 +01:00