Commit Graph

250 Commits

Author SHA1 Message Date
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
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
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
Alex Konradi
31fcab2ca1
Update googletest (#6878)
* Update googletest to current head

* Use MOCK_METHOD macro instead of MOCK_METHODn ones

MOCK_METHOD supports annotating functions with override and is the
preferred way to define mock methods.

* Use TEST_SUITE instead of TEST_CASE

The former is deprecated, switch to the latter.

* Update changelog
2020-12-17 19:02:12 +02:00
Ignacio Rodriguez
c2c952fe11 adding missing include 2020-11-09 21:55:46 +07:00
Ignacio Rodriguez
d9e656db97 accepted more suggestions from sonarcloud 2020-11-09 21:46:56 +07:00
Ignacio Rodriguez
455c254462 adding last test branch 2020-11-09 21:13:11 +07:00
Ignacio Rodriguez
af221bd94f increasing coverage 2020-11-09 19:43:19 +07:00
Ignacio Rodríguez
b9d3ce8aa0
Merge pull request #6829 from symless/fix/SYNERGY-509-deployment-fix
fix for older compilers
2020-11-05 16:09:18 +07:00
Ignacio Rodriguez
3961167dd0 avoiding auto in this context 2020-11-04 22:41:20 +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 Rodríguez
0bd9aabbc1
Merge branch 'master' into SYNERGY-509-sonarcloud-critical-bugs-in-synergy-core 2020-11-03 22:33:40 +07:00
Ignacio Rodriguez
edbf4dfeda a few tests 2020-11-03 22:31:50 +07:00
SerhiiGadzhilov
b235a1891a
SYNERGY-221 Blocker bugs in synergy-core tests (#6824)
* SYNERGY-221 Blocker bugs in synergy-core tests

* Update ChangeLog
2020-11-03 16:00:12 +02: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
Serhii Hadzhilov
60e4dc1103 SYNERGY-323 No configuration available. Fix test to use correct data size in mock. 2020-10-15 11:59:28 +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
Serhii Hadzhilov
4e51f3bb7a SYNERGY-323 Add unit tests for ProtocolUtils 2020-10-12 13:49:32 +03:00
Serhii Hadzhilov
90fce9af2a SYNERGY-324 Replace tabs with spaces. 2020-10-05 18:34:03 +03:00
Serhii Hadzhilov
05a66271a1 SYNERGY-324 Update behaviour when unregistered 2020-10-02 15:34:11 +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
1d43ab0f7c License notise has been corrected. 2020-09-25 21:26:54 +03:00
Serhii Hadzhilov
371a45d9c8 Preliminary implementation of license key expiry. 2020-09-24 22:11:47 +03:00
Jamie Newbon
9eaafdecc9 #6750 disabled failing test 2020-08-24 14:11:53 +01:00
Jamie Newbon
7571288fe9 #6736 Fixed failing test on windows and mac 2020-07-28 14:06:03 +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
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
Jamie Newbon
e70b1669d5 #6661 Disabled Ipc tests due to build error 2020-07-02 12:18:16 +01:00
Jamie Newbon
83d1588666 #6661 Updated google tests to 1.8.1 2020-07-01 14:12:44 +01:00
talyz
3e80a0bfc0
Build tests again
The tests were accidentally disabled in
688095d0a7. Since then, the code has
drifted slightly: the synergy lib has been renamed from synergy to
synlib in 4263fd1717 and the curl
dependency was dropped in 491bb2de00.

This re-enables the tests, targets the right lib and removes the
obsolete test.
2020-03-19 19:08:59 +01:00
Jamie Newbon
051138c8df Removed synwinhk DLL, back porting 703097c 2019-11-14 15:11:00 +00:00
Jerry (Xinyu Hou)
8446fe5395 #6178 Merge IPv6 PR 2018-03-20 13:53:38 +00:00
Andrew Nelless
45580db33c Port fix for guitests from offical debian package 2017-05-22 22:34:25 +01:00
Andrew Nelless
b3f606daee Merge branch 'master' into v1.9 2017-03-09 21:35:55 +00:00
Andrew Nelless
c30301e234 Merge branch 'master' into v1.8.8 2017-03-03 14:05:27 +00:00
Epakai
c5b83ce4c4 Fix ClipboardChunkTests unit test (Fixes #5840) 2017-02-12 21:18:44 +00:00
Andrew Nelless
f7b87e0670 Remove version number from gtest/gmock paths 2017-02-09 22:30:42 +00:00
XinyuHou
2abfd7a0d5 Convert tabs into spaces 2017-02-07 01:25:00 +00:00
XinyuHou
deea23f866 Apply tab to spaces filter to src folder 2017-02-07 01:24:59 +00:00
Jiwoong Yoo
180d3e57d2 #5196 Korean and Japanese keyboards have same key code 2017-01-25 21:04:13 +00:00
Jerry (Xinyu Hou)
cf397a0d6f #5186 Remove Dpi calculation code 2016-10-28 04:50:06 -07:00