* Rename `LicenseManager` to `License` * Rename `LicenseManager` to `License` * Move License class to gui lib * Rename license related classes * Refactor serial key parsing * Don't fail fast on containers * Move licensed product name from config to code * Fixed formatting * Update code coverage generator and fixed args * WIP: Converting license to chrono * WIP: Fixed compile errors, tests failing * Fixed all serial key and license tests * Disable verbose logging * Add missing </p> * Add missing include * Revert code coverage config * Handle parse errors * Move more classes into the new gui lib and improve license/serial object ownership * WIP: Fixing signal/slots in MainWindow * Fixed slot for about to quit * Rename manual slots to solve auto-connection warnings * Fixed logging issue * By default, don't close to tray * Add .env support and furthe refactor license code, also fixed some copyright dates * Remove test code * Fixed memory error in .env parser and refactor more licensing display code * Fixed color inconsistencies * Fixed link colors and made log view expand * Disable server components rather than hiding * Reset years of blind UI layout fiddling * Fixed clean Qt task * Only show notice when time limited * Fixed main window layout * Show connected clients * Set 15 spacing * Auto connect on start * More intentional screen size * Fixed tests related to license * Tests for expiry notifications * Reorg tests and remove death test * Update gtest * Tests for dotenv parser * Test command process * What the heck is that doing there? * Merge constants headers * Fixed magic includes * Remove helper function * Remove comment * Remove extern decl * Update ChangeLog
176 lines
4.2 KiB
JSON
176 lines
4.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "cmake",
|
|
"command": "build",
|
|
"targets": ["all"],
|
|
"preset": "${command:cmake.activeBuildPresetName}",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": {
|
|
"base": "$gcc",
|
|
"fileLocation": ["absolute"]
|
|
},
|
|
"presentation": {
|
|
"revealProblems": "onProblem"
|
|
}
|
|
},
|
|
{
|
|
"label": "clean",
|
|
"type": "cmake",
|
|
"command": "build",
|
|
"targets": ["clean"],
|
|
"preset": "${command:cmake.activeBuildPresetName}",
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "clean-gcda",
|
|
"type": "shell",
|
|
"command": "find . -name '*.gcda' -delete",
|
|
"windows": {
|
|
"command": "$null"
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
}
|
|
},
|
|
{
|
|
"label": "clean-qt",
|
|
"type": "shell",
|
|
"command": "rm -r build/src/gui build/src/lib/gui",
|
|
"windows": {
|
|
"command": "remove-item -recurse build/src/gui,build/src/lib/gui"
|
|
}
|
|
},
|
|
{
|
|
"label": "clean-config",
|
|
"type": "shell",
|
|
"linux": {
|
|
"command": "rm -r ~/.config/Synergy/Synergy.conf"
|
|
},
|
|
"windows": {
|
|
"command": "remove-item -recurse $env:APPDATA\\Synergy\\Synergy"
|
|
},
|
|
"osx": {
|
|
"command": "rm -r ~/Library/Application\\ Support/Synergy/Synergy"
|
|
}
|
|
},
|
|
{
|
|
"label": "tests",
|
|
"dependsOn": ["integtests", "unittests"],
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "kill",
|
|
"type": "shell",
|
|
"command": "killall synergy; killall synergyc; killall synergys || true",
|
|
"windows": {
|
|
"command": "taskkill /F /IM synergy.exe /IM synergyc.exe /IM synergys.exe; $true"
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
}
|
|
},
|
|
{
|
|
"label": "kill-build",
|
|
"dependsOn": ["kill", "build"],
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "gui",
|
|
"type": "process",
|
|
"command": "${workspaceFolder}/build/bin/synergy",
|
|
"dependsOn": ["build", "kill"],
|
|
"problemMatcher": [],
|
|
"windows": {
|
|
"command": "${workspaceFolder}/build/bin/synergy.exe"
|
|
}
|
|
},
|
|
{
|
|
"label": "restart daemon",
|
|
"type": "shell",
|
|
"command": "python scripts/daemon.py --restart",
|
|
"dependsOn": ["build"]
|
|
},
|
|
{
|
|
"label": "reinstall daemon",
|
|
"type": "shell",
|
|
"command": "python scripts/daemon.py --reinstall",
|
|
"dependsOn": ["build"]
|
|
},
|
|
{
|
|
"label": "stop daemon",
|
|
"type": "shell",
|
|
"command": "python scripts/daemon.py --stop"
|
|
},
|
|
{
|
|
"label": "unittests (current)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--unit-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "integtests (current)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--integ-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "unittests",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": ["./scripts/tests.py", "--unit-tests", "--ignore-return-code"],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "integtests",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": ["./scripts/tests.py", "--integ-tests", "--ignore-return-code"],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "unittests (current, valgrind)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--unit-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}",
|
|
"--valgrind"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "integtests (current, valgrind)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--integ-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}",
|
|
"--valgrind"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
}
|
|
]
|
|
}
|