Dayne Broderson
d4a2a055cc
fix spelling of matches
2018-12-26 14:57:19 -05:00
Dayne Broderson
5f71b47b5a
add debug notes to help identify where trusted fingerprints file is
2018-12-26 14:57:19 -05:00
Monika Kairaityte
14a7ca0848
Fix tests wrapper
2018-11-21 17:39:33 -05:00
Monika Kairaityte
51118014b1
x11: Wrap platform functions in XWindowsEventQueueBuffer class
2018-11-12 23:09:27 -05:00
Monika Kairaityte
2c32270d49
x11: Wrap platform functions in XWindowsKeyState class
2018-11-12 23:09:27 -05:00
Monika Kairaityte
624a718f2d
x11: Wrap platform functions in XWindowsClipboard class
2018-11-12 23:09:27 -05:00
Monika Kairaityte
ce3e8243a9
x11: Wrap platform functions in XWindowsScreenSaver class
2018-11-12 23:09:27 -05:00
Monika Kairaityte
be45440e84
x11: Wrap platform functions in an interface that can be mocked later
2018-11-12 23:09:27 -05:00
walker0643
53ebc47ace
Merge pull request #106 from coypoop/master
...
Small patches for netbsd
2018-09-08 19:09:56 -04:00
Josh Stone
7a0bc3abb7
Fix data indexes in Unicode::fromUTF8
2018-08-29 14:40:39 -07:00
Pawel Bogut
af8bbf2674
Fix config file name in server help message
2018-08-09 07:54:30 +02:00
coypu
443e656be2
Use ${CMAKE_DL_LIBS} rather than listing OSes.
...
CMake makes our lives easier. Needed for NetBSD, which also
doesn't have libdl.so.
2018-08-02 15:46:01 +03:00
walker0643
53ee9c7803
Merge pull request #64 from p12tic/osx-server-jumpy-scrolling
...
Improve precision of grabbed scroll events on OSX server
2018-06-30 16:40:10 -04:00
Povilas Kanapickas
76c39aaf4e
Accumulate scrolls less than supported scroll on XWindows
...
This fixes barrier case #67 and synergy case #5670 .
2018-06-21 00:50:08 +03:00
Povilas Kanapickas
a645e9a296
Improve precision of grabbed scroll events on OSX server
...
This is barrier issue #63 , synergy issue #5672 .
2018-06-21 00:13:40 +03:00
walker0643
0b2dfd80e2
move protocol version to new line in --version output (fix display issue in created manpages)
2018-05-14 12:23:24 -04:00
walker0643
9ab77545ee
fix ipv6 handling between GUI and barriers/barrierc; zero-fill sockaddr_in(6) structs prior to initializing; update --help output
2018-05-12 17:42:55 -04:00
walker0643
f4301a7618
fix usage of m_pname and rename to m_exename
2018-05-12 17:32:26 -04:00
walker0643
642eb33446
make linux/bsd data directory conform to freedesktop standards. fixes #31
2018-05-07 12:57:06 -04:00
walker0643
a7fb1b56f6
Merge branch 'master' into nosyntool
2018-04-01 21:14:32 -04:00
walker0643
5e19820425
remove dangling handler..fixes race condition when a clipboard event is queued but not dispatched before disconnect
2018-04-01 21:13:56 -04:00
walker0643
9e7792e2ae
add comment re C++17 to MSWindowsUtil.cpp
2018-04-01 14:57:22 -04:00
walker0643
42a8f69050
better comments in PathUtilities.cpp
2018-04-01 14:47:34 -04:00
walker0643
767188799e
add desktop name to DEBUG output. when is desktop ever NOT "Default" ?
2018-04-01 13:59:14 -04:00
walker0643
e6d0f40a36
add legal header to new files
2018-04-01 12:43:55 -04:00
walker0643
129e61a33a
server should look for config in the profile() dir rather than the personal() dir. removed personal() since it is no longer used.
2018-03-31 22:48:59 -04:00
walker0643
4c04f39685
reimplement path operations basename() and concat() in Common. these were the last bits remaining in ArchFile* so it was removed
2018-03-31 22:41:00 -04:00
walker0643
131a19d478
reimplement ArchFile*::getSystemDirectory() as DataDirectories::systemconfig(). windows will now use ProgramData by default rather than C:\Windows
2018-03-30 14:39:12 -04:00
walker0643
6c5acdd552
remove DataDirectory wrappers in ArchFile*
2018-03-30 14:01:18 -04:00
walker0643
d81054ab6e
remove some stale code and put windows service logfile in a better spot
2018-03-29 21:41:30 -04:00
walker0643
1be86a9248
remove syntool, CoreInterface, and WebClient
2018-03-29 17:14:57 -04:00
walker0643
451bd72b30
MSWindowsWatchdog checks active desktop without external call to syntool
2018-03-29 16:32:51 -04:00
walker0643
c16fd089f6
old personal and profile directory functions now wrap the new implementations
2018-03-29 16:12:45 -04:00
walker0643
96627f4f07
reimplement finding personal & profile directories on unix (not yet used)
2018-03-29 15:54:41 -04:00
walker0643
c5e70af09a
DataDirectories header should be shared between platform-specific implementations
2018-03-29 15:50:23 -04:00
walker0643
72cc7e3d89
link gui with common; reimplement finding personal and profile directories on windows (not yet used)
2018-03-29 14:01:07 -04:00
walker0643
fe818a4955
add console for ctrl+c to daemon app when debugging in foreground
2018-03-29 12:02:35 -04:00
walker0643
ecfa7d7d1c
fix windows build
2018-03-24 15:47:51 -04:00
walker0643
9a2d61cbb5
Merge pull request #19 from debauchee/ipv6
...
Add ipv6 support
2018-03-24 15:09:20 -04:00
walker0643
d75bdb8ec0
clean up --help output for barriers/barrierc at kloetzl's request. ref commit 63a7936
2018-03-17 16:55:53 -04:00
walker0643
63a7936e9f
update manpages and --help output. fixes #23
2018-03-16 21:27:03 -04:00
walker0643
3389a980ea
remove bogus check for logonui.exe. it was causing false-positives for the need to elevate
2018-03-13 18:04:29 -04:00
walker0643
51abdc281d
make DaemonApp a win32-only target
2018-03-11 13:14:45 -04:00
walker0643
b9a59c014f
don't build barrierd for non-windows platforms; removed some synergy-related legacy checks
2018-03-11 12:48:59 -04:00
walker0643
24987e0694
merge modified patch from synergy PR https://github.com/symless/synergy-core/pull/6178
2018-03-06 13:55:27 -05:00
walker0643
5b31036cdc
fix bad logic in XWindowsScreen.cpp
2018-03-03 12:57:13 -05:00
walker0643
625253a7e8
fix FreeBSD build
2018-03-02 18:36:31 -05:00
walker0643
916b085474
better resource management for SecureSocket buffer. fixes #16
2018-02-24 19:37:30 -05:00
walker0643
b994c94a90
fix build for libressl. thanks to truatpasteurdotfr for the patch
2018-02-24 18:20:14 -05:00
walker0643
60d121aed3
reduce size of clipboard buffer. fixes #15
2018-02-24 17:41:28 -05:00
walker0643
06d5080b42
reimplement immune keys
2018-02-23 21:31:05 -05:00
walker0643
0e5ed7a305
clean up the hook management code
2018-02-23 20:56:12 -05:00
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
a3ec43999f
remove local memcpy from synwinhk
2018-02-23 16:30:44 -05:00
walker0643
d169555b28
remove references to immunekeys functions from outside synwinhk
2018-02-23 16:27:56 -05:00
walker0643
b1be8227d2
missed a couple things: EWheelSupport and immunekeys stuff in header
2018-02-23 16:24:01 -05:00
walker0643
30304255ea
remove *very* old support code for mouse wheels
2018-02-23 15:42:09 -05:00
walker0643
a71779647d
remove high-level k/m hooks and temporarily remove immune keys
...
implementation in synwinhk
2018-02-23 15:06:27 -05:00
walker0643
4571f4cc6e
remove annoying LOG statement; add a small bit of debugging info
2018-02-23 14:02:38 -05:00
walker0643
07dad10251
moved SSL configuration on OSX from Library/Barrier to Library/Application Support/Barrier as per the App Programming Guide. fixes #5
...
ref: https://developer.apple.com/library/content/documentation/General/Conceptual/MOSXAppProgrammingGuide/AppRuntime/AppRuntime.html
2018-02-16 12:29:47 -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
1effd7bc0b
Merge branch 'master' of github.com:debauchee/barrier
2018-02-01 18:42:41 -05:00
walker0643
edfc7e9bbc
add description to XWindows error handler message
2018-02-01 18:21:47 -05:00
walker0643
dea4359cce
Merge branch 'master' of github.com:debauchee/barrier
2018-02-01 17:13:57 -05:00
walker0643
b3298ad799
fix race condition
2018-02-01 16:37:25 -05:00
walker0643
eb025871c4
add CLOG_DEBUG for opening/closing TCPSocket objects and fix assert() crash
2018-02-01 11:18:13 -05:00
walker0643
830f6acbef
fix windows build and refactor last addition to EventQueue
2018-02-01 10:10:46 -05:00
walker0643
d9530bf7aa
use a relatively small hack to keep barriers/barrierc from crashing on
...
unixes when they are killed from the GUI with QProcess's close(). the
stdin stream is going completely unused (though the stdout stream is
not) so use stdin to send a shutdown command. this solution avoids all
the nastiness and overhead of using shared memory, mutexes, condvars,
etc. just to communicate "stop" from one process to another
2018-01-31 20:20:06 -05:00
walker0643
b77eec1f17
fix some compiler warnings
2018-01-31 10:03:34 -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
ce8c65f8f9
move deletion of accepted client socket pointers to ClientListener
...
where it belongs. previously SecureListenSocket would delete the client
socket but TCPListenSocket would not. PacketStreamFilter would then
attempt to delete the socket regardless of what type it was. this would
cause an access violation when SecureListenSocket attempted to delete
the socket again.
fixes #3
2018-01-29 12:57:17 -05:00
walker0643
0bb94da72d
replace unknown type to fix windows build
2018-01-28 16:19:27 -05:00
walker0643
99b16334b5
remove activation, serial, trial garbage. shame on you all!
2018-01-27 20:21:44 -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
b87dba52ba
#6037 Unitialized member in Chunk
2017-05-18 01:11:20 +01:00
Andrew Nelless
857482ced7
#6037 Unitialized members in App class
2017-05-18 01:09:38 +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
40e943d145
#6037 Use of non-memsize type for pointer arithmetic
2017-05-12 20:40:07 +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
c556184114
#6037 Remove pointless cast in TCPSocket
2017-05-12 19:50:38 +01:00
Andrew Nelless
58e8e06812
#6037 Unitialized member in SecureSocket
2017-05-12 19:47:03 +01:00
Andrew Nelless
b097171c69
#6037 Unitialized and unused members in IPCLogOutputter
2017-05-12 19:38:03 +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
7deb5f04f3
#6037 Replaced empty()->clear() mixup
2017-05-12 00:57:46 +01:00
Andrew Nelless
46231cd35c
#6037 Slightly improve error checking in vformat()
2017-05-12 00:45:59 +01:00
Andrew Nelless
0290583ab9
#6037 Unitialized handles and other members in ArchTaskBarWindows
2017-05-12 00:20:59 +01:00
Andrew Nelless
485540bbb4
#6037 socket accept() failure could lead to NULL ptr dereference
2017-05-12 00:10:16 +01:00
Svyatoslav
cd015482d5
PVS-Studio: An exception should be caught by reference rather than by value. ( #6003 )
2017-05-05 01:34:34 +01:00
Svyatoslav
30baa8fbe1
src/lib/server/Server.cpp: PVS-Studio: Initial and final values of the iterator are the same.
2017-05-05 01:31:36 +01:00
Andrew Nelless
a73b65431b
Fix showSecureCipherInfo() to build with OpenSSL 1.1.0
2017-05-05 01:27:25 +01:00
Dan Sorahan
165bfa3dd6
Fix hex encoding of non-ASCII characters in serial
2017-05-04 12:38:19 +01:00
Andrew Nelless
242f1e7e29
Rename VERSION to SYNERGY_VERSION
2017-04-27 16:14:46 +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
0cddcdca10
Fix common.h: Windows doesn't use config.h
2017-03-08 18:50:56 +00:00
Andrew Nelless
f815f9840d
See what happens when config.h is mandatory
2017-03-08 18:43:23 +00:00
Andrew Nelless
9ce58f1f4e
Remove suspicious looking fp.h hack for macOS
2017-03-08 18:36:08 +00:00
Andrew Nelless
a35c567e2f
Remove #define nullptr: it's the future now
2017-03-08 18:34:49 +00:00
Andrew Nelless
58e2ece498
Remove suspect MSVC hacks and warning suppression
2017-03-08 18:31:09 +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
Andrew Nelless
b46daccc29
Fix ODR violation of EventQueueTimer base class
2017-02-07 01:25:01 +00:00
XinyuHou
deea23f866
Apply tab to spaces filter to src folder
2017-02-07 01:24:59 +00:00
XinyuHou
0d8bc9d7e2
Remove all xcopy commands in cmake
2017-02-07 01:24:58 +00:00
Andrew Nelless
5fdf50ce93
Fix missing trailing slashes in xcopy command
2017-02-07 01:24:58 +00:00
Jerry (Xinyu Hou)
72c394208f
Fix Mac warning ⚠️
2017-02-07 01:24:32 +00:00
Jerry (Xinyu Hou)
2a333b7fbf
Copy binaries and libs into ROOT/bin
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
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