c9e11a6fdcf28fae33abecfa538d388388f7597a
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
Synergy Core
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.
- Download Synergy (paid version)
- Contact support (for customers)
- Help articles
- Project Wiki
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
Languages
C++
93%
CMake
3.3%
Objective-C++
2.4%
C
0.8%
Objective-C
0.4%