Nick Bolton c9e11a6fdc Assert arg value num > 0 for BSD socket poll unblock pipe (#7415)
* Move integ test to corredt place and re-enable tests

* Depend on `poll.h` (removes support for non-POSIX systems)

* Only build tests for each arch

* Move back to unit tests (poll is mocked)

* Better error message for valgrind not found

* Simplify dependency injection for BSD sockets poll test

* Improve test readability for BSD net poll

* Split out 2-in-1 test for `isAnyAddr`

* Stub out sleep function

* Improve coverage for pollSocket

* Use gmock ON_CALL instead of manual mock

* Remove unused function signature

* Use conventional deps struct instead of std functional

* Add test for socket data FD set to -1

* Add assertation for adding unblock pipe

* Use older style array alloc

* Less precision around `getNetworkDataForThread` value

* Use `ssize_t` for `ignore`

* Remove unused var

* Update ChangeLog

* Assert `n > 0`

* Add `num > 0` to top assert

* Update ChangeLog

* Only run assert test in debug
2024-07-29 21:51:01 +01:00
2024-07-27 00:03:54 +01:00
2020-04-21 16:54:43 +01:00

Synergy Core

Quality Gate CI CodeQL Analysis SonarCloud Analysis Build containers

The Synergy Core project is the open-source core component of Synergy, a keyboard and mouse sharing tool.
This project is intended for advanced technical users, and when built produces Synergy 1 Community Edition.
To use the community edition, install the synergy package with your favorite package manager.

Developer quick start

Simplified instructions for those who want to contribute to the development of Synergy Core.

Having problems? Check the Quick Start FAQ wiki page.

Dependencies:

python scripts/install_deps.py

Configure:

Windows:

cmake -B build --preset=windows-release

macOS:

cmake -B build --preset=macos-release

Linux:

cmake -B build --preset=linux-release

Build:

cmake --build build -j8

Test:

./build/bin/unittests
Description
Deskflow (mirror)
Readme 99 MiB
Languages
C++ 93%
CMake 3.3%
Objective-C++ 2.4%
C 0.8%
Objective-C 0.4%