Deskflow 可让您在 Windows、macOS 和 Linux 上的多台计算机之间共享一个鼠标和键盘。它就像一个软件 KVM(但没有视频)。
Go to file
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
.github Improve UI design and reduce over-use of #ifdef (#7413) 2024-07-26 23:53:52 +01:00
.vscode Improve UI design and reduce over-use of #ifdef (#7413) 2024-07-26 23:53:52 +01:00
cmake Expand BSD sockets poll tests and remove legacy-poll code (#7414) 2024-07-29 18:04:17 +01:00
doc Re-implement packaging for GitHub workflows (Linux) (#7361) 2024-07-02 11:23:56 +01:00
ext Improve UI design and reduce over-use of #ifdef (#7413) 2024-07-26 23:53:52 +01:00
res Expand BSD sockets poll tests and remove legacy-poll code (#7414) 2024-07-29 18:04:17 +01:00
scripts Expand BSD sockets poll tests and remove legacy-poll code (#7414) 2024-07-29 18:04:17 +01:00
src Assert arg value num > 0 for BSD socket poll unblock pipe (#7415) 2024-07-29 21:51:01 +01:00
.clang-format Make Clang param and arg alignment more readable (#7387) 2024-07-16 14:36:44 +01:00
.env.example Improve UI design and reduce over-use of #ifdef (#7413) 2024-07-26 23:53:52 +01:00
.gitignore Implement safer memory use, improve dev env, fixed GUI bugs (#7407) 2024-07-22 17:48:02 +01:00
.gitmodules Synergy 907 client tray language switcher reverts to en (#7038) 2021-10-04 18:51:12 +03:00
Brewfile Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00
ChangeLog Assert arg value num > 0 for BSD socket poll unblock pipe (#7415) 2024-07-29 21:51:01 +01:00
Chocolatey.config Upgrade from Qt5 to Qt6 for more modern UI (#7373) 2024-07-08 15:37:51 +01:00
cmake-format.yaml Restore integtests and add to CI as warning comment on failure (#7404) 2024-07-18 17:51:06 +01:00
CMakeLists.txt Solve low hanging reliability and maintainability issues (#7403) 2024-07-18 08:04:39 +01:00
CMakePresets.json Combine GitHub workflows to reduce config duplication (#7352) 2024-06-19 17:48:18 +01:00
config.yaml Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
CONTRIBUTING.md Create CONTRIBUTING.md 2024-07-27 00:03:54 +01:00
cspell.json Resolve Qt framework path with install_name_tool (#7379) 2024-07-10 15:11:32 +00:00
Doxyfile #6666 Fixed absolute path 2020-04-21 16:54:43 +01:00
LICENSE Add missing dependencies to Debian package (#7374) 2024-07-09 11:12:44 +01:00
README.md Fixed typos in README.md and clarify links 2024-07-23 10:29:57 +01:00
VERSION Re-implement CI auto version increment for packaging (#7354) 2024-06-26 15:46:42 +00: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