Commit graph

1039 commits

Author SHA1 Message Date
Andrey Batyiev
431433f78a
SYNERGY-907 Client tray language switcher reverts to EN (#6989)
* SYNERGY-907 Client tray language switcher reverts to EN
*Dummy commit to update test coverage statistic

* SYNERGY-907 Client tray language switcher reverts to EN
*Update changelog

* SYNERGY-907 Client tray language switcher reverts to EN
* Test code to generate code coverage

* SYNERGY-907 Client tray language switcher reverts to EN
*Add first test for Windows hooks

* SYNERGY-907 Client tray language switcher reverts to EN
*Add parameter for language sync in client app

* SYNERGY-907 Client tray language switcher reverts to EN
*Remove debug code

* SYNERGY-907 Client tray language switcher reverts to EN
*Add sync language support in gui

* SYNERGY-907 Client tray language switcher reverts to EN
*Fix code smells

* SYNERGY-907 Client tray language switcher reverts to EN
*Add language sync checkbox to UI

* SYNERGY-907 Client tray language switcher reverts to EN
*Fix code smells

* SYNERGY-907 Client tray language switcher reverts to EN
*Change language sync to disable as default
*Bug fix

* SYNERGY-907 Client tray language switcher reverts to EN
*Hide language sync in GUI for server

Co-authored-by: Andrii Batyiev <andrii-external@symless.com>
Co-authored-by: Serhii Hadzhilov <serhii-external@symless.com>
2021-05-13 09:30:24 +03:00
Andrey Batyiev
c1243deab9
SYNERGY-885 mac client listens on ipv4 only but attempts to connect on ipv6 (#6983)
* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Fix ipv6 port parsing
* Fix ipv6 server bind

* SYNERGY 885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Add ipv6 scope checker

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Update changelog

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Refactor network address logic

* SYNERGY-885-Mac client listens on ipv4 only but attempts to connect on ipv6
* Build fix

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Fix code smells

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Fix empty ipv4 hostname

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Fix build

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Add test for new logic

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Upgrade network adress parser tests

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Fix sonar code smells in tests

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
* Fix code smells

* SYNERGY-885 Mac client listens on ipv4 only but attempts to connect on ipv6
*Fix comment

Co-authored-by: user <user@users-Mac-mini.local>
Co-authored-by: Andrii Batyiev <andrii-external@symless.com>
2021-04-26 10:37:34 +03:00
Andrey Batyiev
4d99707e93
SYNERGY-511 SonarCloud security hotspots in Synergy-core (#6972)
* SYNERGY-511 SonarCloud security hotspots in Synergy-core
* Test commit to check sonar reaction

* SYNERGY-511 SonarCloud security hotspots in Synergy-core
* Update changelog
* Supress unsafe strcpy for SonarCloud

* SYNERGY-511 SonarCloud security hotspots in Synergy-core
* Fix all SonarCloud security hotspots

* SYNERGY-511 SonarCloud security hotspots in Synergy-core
* Fix SonarCloud code smells

* SYNERGY-511 SonarCloud security hotspots in Synergy-core
* Fix missed size in memcpy for C-style string

* SYNERGY-511 SonarCloud security hotspots in Synergy-core
* Return unsafe http as domain adress

Co-authored-by: Andrii Batyiev <andrii-external@symless.com>
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-04-06 13:54:25 +03:00
Andrey Batyiev
ad1fd9c1af
SYNERGY 512 SonarCloud vulnerabilities in Synergy-Core (#6971)
* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Fix all vulnerablilities from SonarCloud besides TLS
* Update ChangeLog

* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Fix SonarCloud messages(Code Smells level)

* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Fix build on Linux based systems

* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Fix Sonar messages

* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Fix Sonar messages

* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Fix Sonar messages

* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Resolve comment issues

* SYNERGY-512 SonarCloud vulnerabilities in Synergy-Core
* Fix comments

Co-authored-by: Andrii Batyiev <andrii-external@symless.com>
2021-04-06 13:02:25 +03:00
Kyle Bloom
54cb817de8
OpenSSL find package (#6952)
* Change cmake to use find_package for openssl

* Change cmake prefix paths

* Fix Qt prefix path

* Limit static to apple

* Re-add qt bin path

* Fix use of apple cmake variable

* Update ChangeLog

* Update CMake prefix path for mac and windows tests

* Fix windows test

* Seems to fix mac test

* Brew defined prefix paths

* Explicitly ensure all homebrew dependencies
2021-03-03 14:04:39 +03:00
SerhiiGadzhilov
9c8a1c1e3d
SYNERGY-722 Remove information about drag and drop from Log (#6928) 2021-01-27 19:51:01 +00:00
SerhiiGadzhilov
7128f8f5f0
Fixed #6839 Wrong text encoding in iMessage (#6927)
* Fixed #6839 Wrong text encoding in iMessage

* Update ChangeLog
2021-01-27 21:38:52 +02:00
Kyle Bloom
70d67040b7
Revert openssl changes (#6926)
* Revert "Core builds (#6908)"

This reverts commit 4c7456d3cc.

* Re-add minor gitignore changes

* Re-add buildCoreWindows script

* Re-add synergy no legacy flag

* Minor format fix

* Revert openssl checksums

* Remove enhancement

* Install python-pip for gcovr

* Fix mixed tabs and spaces
2021-01-26 13:36:39 +02:00
Kyle Bloom
4c7456d3cc
Core builds (#6908)
* Fix formatting in CMakeLists

* Add SYNERGY_NO_LEGACY environment flag

* Add build script for Windows

* Find_package for OpenSSL

* Move build scrits to scripts folder

* Add macOS and Linux build scripts

* Add environment variable

* Compile core with static openssl

* Default builds to Release

* Streamline OpenSSL dependancies

* Remove openssl from repo

* Change actions to test actions

* Add zip creation to build scripts

* Re-add original tests

* Add action value output

* Build per platform on release

* Fix path for core build

* Temporarily keep artifacts

* Set execute flag

* Zip before archiving

* Static build only for windows

* Remove -m flag from zip

* Change zip to tar

* Fix workflow name

* Add hints to openssl on mac

* Fix zip files

* Fix verbose flag on tar

* Remove path on download artifacts

* Try an array of build targets

* Extract action binaries

* Install full openssl

* Add 32bit openssl

* Modify installer to use the openssl.exe from ext

* Install OpenSSL full for windows release build

* Add openssl installation during windows CI

* Modify changelog

* Add enhancments section

* Remove bottom line in changelog
2021-01-20 14:47:56 +00:00
Ignacio Rodríguez
8c11fb8e8a
Document CLI arguments (#6909)
* Documentation file added

* fixes motivated by the review of server arguments

* updated changelog

* added client app arguments

Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-01-20 14:07:25 +02:00
Ignacio Rodríguez
ec79083753
Removing positional union initialisation (#6918)
* Removing positional union initialisation

* udpated changelog
2021-01-20 11:56:26 +02:00
Ignacio Rodríguez
8ca0c185b2
Synergy 591 remaining sonarcloud bugs in synergy core (#6915)
* (WIP)-all issues corrected, tests started

* first test passing

alternative solution for SonarCloud check

fixed for to while translation

added changelog item

adding tests and fixes

more tests; avoid compiling BSD Tests on Windows

attempting a BSD compile patch

more tests

borrowing symbol detection from another test

more ambitious testing

changed the order of assertions for better info

more tests

fixed clear errors before executing

expanding transformation to use string comparison

including terminator on translation count

a different flag for testing MS Windows

differente Windows flag

more tests

fixing platform encoding match

Windows compiler difference on #ifdef

Google Test macro usage fix

test added

added keymap test

test and initialisation fixed

ms cl issue with named init

test for keymap

exercising keystate

more configuration exercises

one more test for config

added Unicode test

an IPv6 test

more portable networking code

using our own platform switching code

avoiding strcpy

* Fixed typo in Changelog.

* +appropriate memory handling

* one more test for coverage

* a tad more coverage

* expanded test on Config

* forcing addresses be resolved before use on test

* log modified

* re-obtaining equivalency at continue

* test added

* additional test, and initialisation for Windows

* added test sections for coverage

* fixed count

Co-authored-by: Max <maxmommersteeg@hotmail.com>
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-01-19 14:52:37 +02:00
Ignacio Rodríguez
5c2311a50a
Remaining SonarCloud Bugs (#6900)
* (WIP)-all issues corrected, tests started

* first test passing

alternative solution for SonarCloud check

fixed for to while translation

added changelog item

adding tests and fixes

more tests; avoid compiling BSD Tests on Windows

attempting a BSD compile patch

more tests

borrowing symbol detection from another test

more ambitious testing

changed the order of assertions for better info

more tests

fixed clear errors before executing

expanding transformation to use string comparison

including terminator on translation count

a different flag for testing MS Windows

differente Windows flag

more tests

fixing platform encoding match

Windows compiler difference on #ifdef

Google Test macro usage fix

test added

added keymap test

test and initialisation fixed

ms cl issue with named init

test for keymap

exercising keystate

more configuration exercises

one more test for config

added Unicode test

an IPv6 test

more portable networking code

using our own platform switching code

avoiding strcpy

* Fixed typo in Changelog.

* +appropriate memory handling

* one more test for coverage

* a tad more coverage

* expanded test on Config

Co-authored-by: Max <maxmommersteeg@hotmail.com>
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-01-15 13:24:31 +02:00
SerhiiGadzhilov
e9a654e16e
SYNERGY-148 Memory leaks on macOS (#6837)
* SYNERGY-148 Memory leaks on macOS

* SYNEGRY-148 Update ChangeLog and fixed one typo
2020-11-11 10:01:09 +03:00
Ignacio Rodriguez
d9e656db97 accepted more suggestions from sonarcloud 2020-11-09 21:46:56 +07:00
Ignacio Rodriguez
23037d7932 incorporating sonar's major 2020-11-05 19:20:45 +07:00
Ignacio Rodríguez
20c830afb0
Merge pull request #6826 from symless/SYNERGY-509-sonarcloud-critical-bugs-in-synergy-core
SonarCloud Critical bugs
2020-11-04 19:02:38 +07:00
SerhiiGadzhilov
64249f13c9
SYNERGY-362 Eliminate using std::chrono (#6828)
* SYNERGY-362 Eliminate using chrono due to compilation error on: centos7.6, ubuntu1604, debian9

* Remove chrono header

* Update ChangeLog

* SYNERGY-362 Tests compilation fix

* SYNERGY-362 Fix code smell
2020-11-04 12:10:18 +02:00
Ignacio Rodriguez
77ee71768b formatting 2020-11-03 22:31:32 +07:00
Ignacio Rodriguez
0f779c7f76 improved takes 2020-11-03 20:24:44 +07:00
Ignacio Rodríguez
fa17f631c1
Merge branch 'master' into SYNERGY-509-sonarcloud-critical-bugs-in-synergy-core 2020-11-03 18:00:09 +07:00
Ignacio Rodriguez
6656e7337d as per Sonar recommendations 2020-11-03 17:52:56 +07:00
SerhiiGadzhilov
261b1f422d
SYNERGY-362 Improve license validation (#6816)
* SYNERGY-362 Improve license validation

* Update ChangeLog

* SYNERGY-362 Improve license validation
2020-11-02 17:11:03 +02:00
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