walker0643
be0fab1775
migrate k/m hook handlers from synwinhk to platform/MSWindowsHook and delete synwinhk.dll. for ever and ever.
2018-02-23 18:06:17 -05:00
walker0643
d169555b28
remove references to immunekeys functions from outside synwinhk
2018-02-23 16:27:56 -05:00
walker0643
4571f4cc6e
remove annoying LOG statement; add a small bit of debugging info
2018-02-23 14:02:38 -05:00
walker0643
f5b5258f4a
revert some of the "deprecated" fixes so that older OSX versions are still supported. my thanks to Cpuroast for additional macos testing.
2018-02-15 01:17:18 -05:00
walker0643
8073db2247
silence a couple more compiler warnings on osx
2018-02-13 17:43:39 -05:00
walker0643
6cf4f14dec
fix some compiler warnings
2018-02-13 15:14:26 -05:00
walker0643
541fb2afc5
fix quotations in for platform build
2018-02-06 17:26:23 -05:00
walker0643
df129f139b
add ImmuneKeysReader.h/cpp to windows builds
2018-02-03 16:47:36 -05:00
walker0643
faec8a2f84
implement "Immune Keys" which are keys that are ignored by
...
server-to-client key-forwarding. this feature is only implemented for
servers running on windows machines.
2018-02-03 16:32:41 -05:00
walker0643
edfc7e9bbc
add description to XWindows error handler message
2018-02-01 18:21:47 -05:00
walker0643
8bdd530d7d
fix running daemon in foreground for debugging
2018-01-30 14:18:14 -05:00
walker0643
dbfb04a6ec
pass QS_POSTMESSAGE to GetQueueStatus() instead of QS_ALLINPUT.
...
QS_ALLINPUT is a meta-flag that includes QS_POINTER and QS_TOUCH, both
of which can cause GetQueueStatus() to return 0 even when there are
pending messages.
fixes #4
2018-01-29 18:12:50 -05:00
walker0643
f12bfdfedc
rebranding symless/synergy to debauchee/barrier
2018-01-27 16:48:17 -05:00
Nick Bolton
d61d2c0d6c
#6116 Change log level for unknown quartz event type to DEBUG3
2017-08-09 19:59:44 +01:00
Andrew Nelless
98e617a937
#6037 Use MAKINTATOM in MSWindowsScreen
2017-05-18 01:20:22 +01:00
Andrew Nelless
0c2b89ed21
#6037 Fix key repeat expression always false
2017-05-18 00:32:59 +01:00
Andrew Nelless
bae51a4406
#6037 Use MAKEINTATOM in MSWindowsScreen
2017-05-18 00:06:56 +01:00
Andrew Nelless
3e6920964a
#6037 Unitialized members in MSWindowsScreenSaver
2017-05-18 00:03:34 +01:00
Andrew Nelless
762718d938
#6037 Use MAKEINTATOM macro in place of dodgy casts
2017-05-12 20:15:57 +01:00
Andrew Nelless
ae8db8b125
#6037 prevent object slicing in caught exception
2017-05-12 20:02:51 +01:00
Andrew Nelless
3e6b6dc7b8
#6037 Remove crazy LoadString wrapper
2017-05-12 01:41:17 +01:00
Andrew Nelless
823868f767
#6037 Fix potential memory leak if SetClipboardData fails
2017-05-12 01:08:27 +01:00
Andrew Nelless
fedbcb0f3a
Remove ../ includes in src/lib
2017-03-09 15:16:08 +00:00
Andrew Nelless
0cd45ba1ef
Remove unused include paths
2017-03-09 14:18:39 +00:00
Andrew Nelless
f7b87e0670
Remove version number from gtest/gmock paths
2017-02-09 22:30:42 +00:00
Andrew Nelless
4263fd1717
Rename synergy library to synlib to work around conflict with GUI
2017-02-08 15:11:21 +00:00
XinyuHou
deea23f866
Apply tab to spaces filter to src folder
2017-02-07 01:24:59 +00:00
Jerry (Xinyu Hou)
72c394208f
Fix Mac warning ⚠️
2017-02-07 01:24:32 +00:00
Andrew Nelless
680c9b4078
Merge changes from v1.8.8-rc1
2017-02-06 14:28:20 +00:00
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
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
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
Jerry (Xinyu Hou)
e8145aa779
#5592 Post keyboard events to lower level HID client
2016-11-22 15:19:58 +00:00
Andrew Nelless
96efe5fb73
Merge changes from v1.8.5
2016-10-31 16:14:39 +00: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
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
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
f3d1470e58
Brutally replace all reinterpret_casts with static_casts
2016-10-05 12:46:16 +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
Andrew Nelless
c3c0913633
Update company copyright notice
2016-09-26 11:58:33 +01:00
Andrew Nelless
36be2051c2
Change company domain name
2016-09-26 11:58:33 +01:00
Andrew Nelless
7d11004575
#4768 Expand scope of X display lock in getCurrentTime()
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
de91be1035
#2765 Added unit tests for KeyMap
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
7a0fae2f6c
#2765 Fixed wrong bit shifting to match OSX modifier mask
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
57950d39a3
Revert "Revert "Used input source ID as the key in group map #2765 ""
...
This reverts commit a70cba80ea
.
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
f4bd2dab82
#3305 Fixed class name convention for Mac and Linux
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
df8443e795
#3305 Fixed Linux key types incompatible issue
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
1a4a313ece
#3305 Added mission control and launchpad support
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
ab4f59eac4
#3305 Made Mac clients aware of brightness keys
2016-09-26 11:58:33 +01:00
Xinyu Hou (Jerry)
67f14da691
#3305 Added brightness up and down support
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
d9a6c14170
#3305 Used Mac native way to simulate media keys
2016-09-26 11:58:33 +01:00
Jake Petroules
433cfc232c
#4978 Removed obsolete code for unsupported OS versions.
2016-08-08 16:41:01 +01:00
Jerry (Xinyu Hou)
42494a72a5
#3305 Fixed class name convention for Mac and Linux
2016-08-08 16:41:01 +01:00
Jerry (Xinyu Hou)
e742269ada
#3305 Fixed Linux key types incompatible issue
2016-08-08 16:41:01 +01:00
Jerry (Xinyu Hou)
8f99911636
#3305 Added mission control and launchpad support
2016-08-08 16:41:01 +01:00
Jerry (Xinyu Hou)
1f78fe6f6d
#3305 Made Mac clients aware of brightness keys
2016-08-08 16:41:01 +01:00
Xinyu Hou (Jerry)
8058ed06a1
#3305 Added brightness up and down support
2016-08-08 16:41:01 +01:00
Jerry (Xinyu Hou)
9115d5570b
#3305 Used Mac native way to simulate media keys
2016-08-08 16:41:01 +01:00
Andrew Nelless
f6e1dd51fa
#4768 Workaround locking issue in X11 getCurrentTime()
2016-08-08 14:38:26 +01:00
Andrew Nelless
8a4caba386
#5087 Ensure createBlankCursor() doesn't try to create 0x0 cursor
...
XQueryBestCursor sometimes returns 0 for both width and height of the
cursor pixmap. Also caused #5322 and #5068
2016-08-08 14:38:26 +01:00
Jerry (Xinyu Hou)
a70cba80ea
Revert "Used input source ID as the key in group map #2765 "
...
This reverts commit 4208e89eaec211d332af9ac7b977107d6712e8dd.
2016-08-08 14:36:43 +01:00
Jerry (Xinyu Hou)
17c35f53f4
Applied name convention to KeyResource #2765
2016-08-08 14:27:13 +01:00
Jerry (Xinyu Hou)
8003c4a2ad
Made IKeyResource OSX specific #2765
2016-08-08 14:27:13 +01:00
Jerry (Xinyu Hou)
6d2040b698
Reorganised KeyResource #2765
2016-08-08 14:27:13 +01:00
Jerry (Xinyu Hou)
6d93a28c2e
Used input source ID as the key in group map #2765
2016-08-08 14:27:13 +01:00
Jerry (Xinyu Hou)
7f786cc884
Refactor KeyResource into own files #2765
2016-08-08 14:27:13 +01:00
Jerry (Xinyu Hou)
ed0888880c
Rename CUCHRKeyResource to UchrKeyResource #2765
2016-08-08 14:27:13 +01:00
Jerry (Xinyu Hou)
929431f5fc
Remove support for OSX 10.4 and below #2765
2016-08-08 14:27:13 +01:00
Asbjorn Kjaer
c7e723030b
Fix log string to use the re-mapped button instead of the input ID #2975
2016-08-08 14:27:13 +01:00
Asbjorn Kjaer
d93ff2f53f
Fix comment #2975
2016-08-08 14:27:13 +01:00