Commit graph

1066 commits

Author SHA1 Message Date
SerhiiGadzhilov
d9d833fcb8
SYNERGY-221 Blocker bugs (#6821)
* SYNERGY-221 Blocker bugs

* SYNERGY-221 Compilation fix

* Update ChangeLog

* SYNERGY-221 Exception message has been fixed.

* Update src/lib/synergy/ProtocolUtil.cpp

Co-authored-by: Jnewbon <48688400+Jnewbon@users.noreply.github.com>

* SYNERGY-221 Fix code smells

Co-authored-by: Jnewbon <48688400+Jnewbon@users.noreply.github.com>
2020-10-30 18:21:03 +02:00
Andrea Candian
4f65578546
Merge pull request #6811 from symless/SYNERGY-323-No-configuration-available
SYNERGY-323 "No configuration available error" appears because the system fails on windows.
2020-10-15 16:36:31 +01:00
Serhii Hadzhilov
b542f3b302 SYNERGY-323 NO configuration available. Fix sonar "Code Smells". 2020-10-15 12:17:17 +03:00
Serhii Hadzhilov
6c37cfad3b SYNERGY-323 "No configuration available" error. Sonar issues fix. 2020-10-13 22:38:50 +03:00
Serhii Hadzhilov
75efede1e3 SYNERGY-323 Fixed sonar issues in tests. 2020-10-13 18:09:20 +03:00
Serhii Hadzhilov
a31e984aad SYNERGY-323 "No configuration available" error.
Main fix and additional tests.
2020-10-13 12:56:26 +03:00
Mikael Lövqvist
73b40c04d8 Added atom "text/plain;charset=utf-8" to the m_converters list to prevent falling back to "STRING", causing non ASCII characters to be replaced by question marks 2020-10-10 10:58:16 +02:00
Serhii Hadzhilov
90fce9af2a SYNERGY-324 Replace tabs with spaces. 2020-10-05 18:34:03 +03:00
Serhii Hadzhilov
836e0444d3 SYNERGY-324 Removed tabs in SerialKey.h 2020-10-05 16:29:33 +03:00
Serhii Hadzhilov
05a66271a1 SYNERGY-324 Update behaviour when unregistered 2020-10-02 15:34:11 +03:00
Serhii Hadzhilov
71e271db49 #6799 Synergy "Business" edition. Fix sonar issues SYNERGY-315 2020-10-02 10:48:17 +03:00
Serhii Hadzhilov
957ab70170 #6799 Synergy "Business" edition. Update ChangeLog SYNERGY-315 2020-10-02 10:30:24 +03:00
Serhii Hadzhilov
9274f06e3c SYNERGY-315 Synergy "Business" edition 2020-10-02 10:19:13 +03:00
Serhii Hadzhilov
74ae96d0c0 "temp" has been changed to "subscription" 2020-09-28 10:37:10 +03:00
Serhii Hadzhilov
8e96719480 Fix additional sonar issues 2020-09-25 22:18:59 +03:00
Serhii Hadzhilov
2083b66e8e Fix solnar issues 2020-09-25 22:01:17 +03:00
Serhii Hadzhilov
1d43ab0f7c License notise has been corrected. 2020-09-25 21:26:54 +03:00
Serhii Hadzhilov
2a8e696d53 Test code cleanup 2020-09-24 22:27:35 +03:00
Serhii Hadzhilov
371a45d9c8 Preliminary implementation of license key expiry. 2020-09-24 22:11:47 +03:00
Jnewbon
39902714ef
Merge pull request #6762 from symless/issue-6567-zombie-processes
SYNERGY-92 Fixed deamon leaving zombie process hanging about feeding on memory
2020-09-17 10:51:55 +01:00
Jamie Newbon
2719694b58 Merge branch 'issue-6567-zombie-processes' of https://github.com/symless/synergy-core into issue-6567-zombie-processes 2020-09-15 09:20:21 +01:00
Jamie Newbon
d191e46818 #6567 Closed open handle created when shutting a process down 2020-09-15 09:18:39 +01:00
Jamie Newbon
71f2a18cd3 #6342 updated copyright in cmd version to use build date 2020-09-14 16:39:38 +01:00
Jnewbon
584d02d1b0
Merge branch 'master' into issue-6567-zombie-processes 2020-09-14 15:23:49 +01:00
Jamie Newbon
f25947e68b #6567 Fixed memory leak causing zombie handles to created in the deamon on windows
Capture all process information as they are created to properly kill off handles when process are stopped, also added in a kill everything when the program cleans up all synergy(s|c) processes
2020-09-08 12:15:06 +01:00
Jamie Newbon
445f616e34 #6755 Broke up large function for readability. 2020-09-03 10:19:26 +01:00
Jamie Newbon
0a5fbe6e3e #6755 Added a check to prevent buffer overflow 2020-08-26 11:40:46 +01:00
Jamie Newbon
a21606664d #6753 Updated missed sprintf 2020-08-25 20:10:51 +01:00
Jamie Newbon
539da69a34 #6753 Replaced vulnerable sprintf calls with snprintf 2020-08-25 19:16:21 +01:00
Jamie Newbon
6684b8b09f #6734 Added new cmd option --tls-cert
- Moved ArgsBase, ClientArgs, and ServerArgs to own namespace
 - Added some Documentation to Args classes

Signed-off-by: Jamie Newbon <jamie@symless.com>
2020-07-27 13:29:58 +01:00
Jnewbon
c579858dd2
Merge pull request #6726 from symless/pr-5943-disable-tests
Disable test with cmake option
2020-07-14 13:38:33 +01:00
Jnewbon
0a97c2be0d
Merge pull request from GHSA-chfm-333q-gfpp
Attempts to fis DoS to servers with less then 4GB memory
2020-07-14 13:14:40 +01:00
Jamie Newbon
bdd36c389d #6716 Changed throw to pass exception to caller and handle it there updated debug message 2020-07-14 12:51:44 +01:00
Pieterjan Camerlynck
16bccc2ed0 #6725 allow building of synergy without tests
Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Jamie Newbon <jamie@symless.com>
2020-07-14 11:44:17 +01:00
Martin van Zijl
e237be80ee #4036 Fix for client resolution change on Linux 2020-07-11 14:51:42 +01:00
Jamie Newbon
59e63f5818 #6716 Added try catch around memory allocation 2020-07-10 13:30:30 +01:00
Povilas Kanapickas
4308b42915 #6487 XWindowsEventQueueBuffer: Fix delays when waiting for new events
QLength() may return 0 even if there are events pending because they
need to be read from the display socket in order to become visible. We
must use XPending() which will poll the socket if QLength() == 0.
2020-05-22 14:41:42 +01:00
Jamie Newbon
bf3796aea7 Revert "#6487 Changed timeout multiplier"
This reverts commit a324957e
2020-05-22 14:41:04 +01:00
Jamie Newbon
a324957e2d #6487 Changed timeout multiplier
We belive that there was a bug in the polling function that caused it
to return straight away instead of actually waiting for the timeout.
2020-05-04 13:52:14 +01:00
Jamie Newbon
26f4b4da46 Revert "#6487 Possible culprit to mouse freeze commented out for testing"
This reverts commit b5c57d9b
2020-05-04 13:45:45 +01:00
Jamie Newbon
b5c57d9b5e #6487 Possible culprit to mouse freeze commented out for testing 2020-04-30 22:19:29 +01:00
Jnewbon
e047cd66fa
Merge pull request #6435 from vifino/patch-1
Fixed missing SSL_get_client_ciphers with LibreSSL
2020-01-21 16:19:40 +00:00
Jnewbon
bbdc842b04
Merge pull request #6618 from symless/v1-issue-4288-printscreen-issue
Send Print Screen key to Windows clients
2020-01-21 15:47:24 +00:00
Jnewbon
1027f41053
Merge pull request #6616 from symless/v1-issue-4-quote-deadkey
Fixed quote key on US International keyboard
2020-01-21 15:47:04 +00:00
Jnewbon
a7891e721b
Merge pull request #6617 from symless/v1-issue-6593-unicode-support
Fixed possible data index bug for Unicode read
2020-01-21 15:46:39 +00:00
Jamie Newbon
4f2e0b6cdb #4288 Fixed if assignment instead of equals 2020-01-11 01:33:03 +00:00
Jamie Newbon
23a7e5c05f #4288 removed #if 0 blocks 2020-01-11 01:24:22 +00:00
Jamie Newbon
9015f6a328 WIP printscreen fixes for Windows
# Conflicts:
#	src/lib/platform/MSWindowsDesks.cpp
#	src/lib/platform/MSWindowsDesks.h
2020-01-11 01:08:00 +00:00
Josh Stone
8299bcda95 #6593 Fix data indexes in Unicode::fromUTF8 2020-01-11 00:15:21 +00:00
Martin van Zijl
9f9627aa66 #4. Fix quote key on US International keyboard. 2020-01-10 23:50:11 +00:00
Jamie Newbon
dc363d66ab #6611 Updated untrusted server dialog to show sha256 fingerprint 2020-01-09 10:03:40 +00:00
Jnewbon
b09b6e176d
Merge pull request #6596 from symless/v1-issue-4957-remove-synwinhk
Removed Windows hook DLL
2019-11-19 15:21:57 +00:00
Jamie Newbon
b641d4b337 Fixed build issue on Windows unable to find iterator 2019-11-14 16:14:11 +00:00
Jamie Newbon
051138c8df Removed synwinhk DLL, back porting 703097c 2019-11-14 15:11:00 +00:00
Jamie Newbon
e64e4c598d Changed to stringstream as Mac had problems with regex 2019-11-14 11:29:17 +00:00
Jamie Newbon
27e5d3b084 Grabbed connection protocol from cipher for display to user 2019-11-13 10:01:27 +00:00
Jamie Newbon
4d3cf2c626 Preventing older insecure version of TLS/SSL 2019-11-12 17:06:44 +00:00
Jamie Newbon
021229879b Removing updated function name 2019-11-04 19:31:53 +00:00
Jamie Newbon
136996a9a9 #6566 Switched info to debug 2019-11-01 15:13:03 +00:00
Jamie Newbon
a3a4a21837 #6566 Switched info to debug 2019-11-01 09:49:11 +00:00
Jamie Newbon
4dbaafa743 #6566 Change info message to debug1 2019-10-21 15:01:26 +01:00
Jnewbon
e367fa9d61
Merge pull request #6577 from symless/v1-issue-5294-cursor-locked
Prevented cursor moving off screen when a locking issue may occur
2019-10-18 15:31:05 +01:00
Jamie Newbon
ce691463b1 #5294 Prevented cursor moving off screen when a locking issue may occur 2019-10-18 13:39:05 +01:00
Jamie Newbon
29ab86b734 #6518 Added server restart action and hotkey capability 2019-10-15 18:40:53 +01:00
Jamie Newbon
d376ad3feb #6535 Version URL and added stage check to version check 2019-09-03 09:41:49 +01:00
Jnewbon
4fea67e078 #6390 Updated OpenSSL For better security with TLS1.3 2019-09-03 09:41:49 +01:00
Nathan Neulinger
c8e1e036e2 #6409 Time out read events for clipboard 2019-09-03 09:41:49 +01:00
walker0643
7e0c849211 #6528 Also display error text as well as error code when logging an X11 error 2019-09-03 09:41:49 +01:00
walker0643
b3a90dddae #6526 Fixed crash when socket is null on handling TCP connection, and added some logging 2019-09-03 09:41:49 +01:00
walker0643
30c6b3a588 #6525 Removed sleep before TLS socket delete, and fix race condition by removing socket from job queue 2019-09-03 09:41:49 +01:00
walker0643
69432151fd #6521 Fixed access violation in SSL sockets 2019-09-03 09:41:49 +01:00
James Spurin
9702d7e8c6 #3705 Hotkeys broken on macOS servers 2019-09-03 09:41:49 +01:00
Radek Smejkal
70ba53caf4 Fixed retry timer not being unregistered properly (#6077)
Closes #6495
2019-05-03 18:05:17 +01:00
Yuri
751fcffc87
#6373 Fixed compile error on BSD. Cherry picked from 94eb69eb 2019-05-02 18:22:21 +01:00
Jnewbon
a56abf68dd
#6488 Fixed a memory leak in the TLS socket code 2019-04-29 13:56:08 +01:00
Steve Williams
2bbfe450ae #5648 Fixed mouse drift by switching from int to float 2019-04-03 16:42:29 +01:00
Adrian Pistol
17d27a67d9
SecureSocket: Fix LibreSSL support.
Weirdly enough, LibreSSL has a high enough version, yet does not feature SSL_get_client_ciphers.
2018-10-24 21:54:12 +02:00
Nick Bolton
8d2ca0b36f #6383 Switch to Unix line endings 2018-08-07 10:18:22 +01:00
Nick Bolton
acecfef949 #6383 Make core console window minimized in foreground mode 2018-08-02 22:05:47 +01:00
Nick Bolton
80efcfa495 Revert "#6383 Hide console window when in foreground mode"
Actually, closing the console window is a handy way to do a clean exit. This reverts commit 25c2e360d3.
2018-08-02 21:50:55 +01:00
Nick Bolton
566e2db202 #6383 Send core output to VS debug window when in foreground mode 2018-08-02 19:19:06 +01:00
Nick Bolton
25c2e360d3 #6383 Hide console window when in foreground mode 2018-08-02 18:59:17 +01:00
Nick Bolton
8ef2e7edbc #6383 Refactor set startup info to a function 2018-08-02 18:04:32 +01:00
Nick Bolton
aca2605cb8 #6383 Capture process output when in foreground mode 2018-08-02 17:40:20 +01:00
Nick Bolton
026b1f0de1 #6383 Use CreateProcess when in foreground mode 2018-08-02 16:25:10 +01:00
Nick Bolton
568a008037 #6382 Add helpful comment about DCMAKE_BUILD_TYPE and logging 2018-08-02 14:11:05 +01:00
Nick Bolton
3523d6e254 #6380 Reintroduce common.h include in basic_types.h (defines TYPE_OF_SIZE_* on *nix) 2018-08-01 15:29:09 +01:00
Nick Bolton
d9ec2f3ed3 Revert "#6380 Reintroduce type size defines for non-Windows"
This reverts commit b5c0f5c47e.
2018-08-01 15:24:50 +01:00
Nick Bolton
b5c0f5c47e #6380 Reintroduce type size defines for non-Windows 2018-08-01 14:51:01 +01:00
Nick Bolton
fc6cc78738 #6380 Fixed rogue include that I didn't end up using 2018-08-01 14:43:15 +01:00
Nick Bolton
65e9045981 #6376 Removed dead code (getLibsUsed function) 2018-08-01 13:04:18 +01:00
Nick Bolton
8dc868a206 #6380 Fixed warnings for VS2017 2018-08-01 13:03:41 +01:00
Nick Bolton
fd0cb228ee #6374 Remove file logging for service; sharing a log file is probably not a brilliant idea 2018-07-28 15:34:44 +01:00
Nick Bolton
555090c7d2 #6372 Make service messages more user friendly 2018-07-28 02:53:45 +01:00
Nick Bolton
89cc8a8daa #6372 More user friendly and current logging for SecureSocket 2018-07-28 01:19:23 +01:00
Nick Bolton
46a5166fba #6372 Force TLS 1.2 only in secure connection code 2018-07-27 09:20:20 +01:00
Sarah Hebert
491bb2de00 #6312 Removed CURL dependency and all code that uses it 2018-07-08 16:51:50 +01:00
Andrew Nelless
c3a4fe7f2b #6344 Don't send clipboards over size limit 2018-07-08 16:50:34 +01:00
Andrew Nelless
14343fa7e1 #6344 Don't send clipboards over size limit to server 2018-07-08 16:50:31 +01:00
Andrew Nelless
953e829562 #6344 Clarify on client who disabled clipboard sharing 2018-07-08 16:50:23 +01:00