diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
deleted file mode 100644
index 90b00ec04..000000000
--- a/.github/FUNDING.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# These are supported funding model platforms
-
-github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
-patreon: # Replace with a single Patreon username
-open_collective: # Replace with a single Open Collective username
-ko_fi: # Replace with a single Ko-fi username
-tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
-community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
-liberapay: # Replace with a single Liberapay username
-issuehunt: # Replace with a single IssueHunt username
-otechie: # Replace with a single Otechie username
-custom: https://symless.com/synergy
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 2a354d3c4..b60ad2b87 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -1,59 +1,23 @@
name: Bug report
-description: If you find a bug in Synergy, please let us know so we can fix it.
+description: If you find a bug in Deskflow, please let us know so we can fix it.
labels: ["bug", "triage", "unanswered"]
body:
- type: markdown
attributes:
- value: Thanks for taking the time to help us improve Synergy.
+ value: Thanks for taking the time to help us improve Deskflow.
- type: dropdown
- id: user-type
+ id: project
attributes:
- label: What type of Synergy user are you?
- description: This will help us understand the context of your issue.
+ label: Project
+ description: Are you using Deskflow or a fork/derivative?
options:
# Empty option to force selection
-
- - Customer
- - Code contributor
- - Community user
- default: 0
- validations:
- required: true
-
- - type: input
- id: ticket-number
- attributes:
- label: Support ticket number (for customers)
- description: |
- If you have a support ticket number, please enter it here.
- Customers are advised to open a support ticket first: https://symless.com/synergy/contact
- This is for customers only (non-customers please ignore this field).
- Leave this blank if you do not have a support ticket or if you're not a customer.
- validations:
- required: false
-
- - type: checkboxes
- id: discussion
- attributes:
- label: Discussion
- description: |
- Have you considered starting a discussion instead of reporting a bug?
- options:
- - label: I want to report a bug (I don't want to start a discussion)
- required: true
-
- - type: dropdown
- id: product
- attributes:
- label: Product name
- description: Which Synergy product are you using?
- options:
- # Empty option to force selection
- -
- - Synergy 1
- - Synergy 2
- - Synergy 3
+ - Deskflow
+ - Barrier
+ - Input Leap
+ - Synergy
default: 0
validations:
required: true
@@ -61,8 +25,8 @@ body:
- type: input
id: version
attributes:
- label: Synergy version number
- description: You can find the Synergy version number on the about screen.
+ label: Deskflow version number
+ description: You can find the Deskflow version number on the about screen.
placeholder: 1.2.3
validations:
required: true
@@ -75,7 +39,8 @@ body:
options:
- label: Windows
- label: macOS
- - label: Linux or Unix
+ - label: Linux
+ - label: BSD-derived
- label: Other
validations:
required: true
@@ -83,7 +48,7 @@ body:
- type: textarea
id: os-version
attributes:
- label: OS versions or Linux distros
+ label: OS versions/distros
description: |
Please provide the version number of your operating system (OS).
If you're using Linux, please provide the name of the distribution.
@@ -91,17 +56,18 @@ body:
- Windows 11
- macOS 15
- Ubuntu 24.04
+ - FreeBSD 14.0
validations:
required: true
- type: textarea
id: config
attributes:
- label: Synergy configuration
+ label: Deskflow configuration
description: |
Please provide a very brief description of your configuration.
Let us know the OS of the server/host/primary and the OS of the client/guest/secondary.
- This will help us understand how you're using Synergy.
+ This will help us understand how you're using Deskflow.
placeholder: |
- Windows 11 server, macOS 15 client
- Each computer has a single monitor
@@ -118,7 +84,7 @@ body:
If you're not sure, please provide as much detail as possible.
This will help us understand the problem.
placeholder: |
- 1. Start Synergy
+ 1. Start Deskflow
2. Click 'Configure Server'
3. Click 'Apply'
validations:
@@ -143,6 +109,6 @@ body:
- Any ideas about what maybe causing the problem?
- Any workarounds that you've discovered?
- What other apps are you running?
- - Does the issue stop you using Synergy entirely?
- - Did restarting Synergy or the computer help?
+ - Does the issue stop you using Deskflow entirely?
+ - Did restarting Deskflow or the computer help?
- Anything else you can think of?
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 92cfba3d5..e5b17c8fb 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -1,59 +1,23 @@
name: Feature request
-description: Had an idea how to improve Synergy? Share it with us.
+description: Had an idea how to improve Deskflow? Share it with us.
labels: ["enhancement", "triage", "unanswered"]
body:
- type: markdown
attributes:
- value: Thanks for taking the time to help us improve Synergy.
+ value: Thanks for taking the time to help us improve Deskflow.
- type: dropdown
- id: user-type
+ id: project
attributes:
- label: What type of Synergy user are you?
- description: This will help us understand the context of your issue.
+ label: Project
+ description: Are you using Deskflow or a fork/derivative?
options:
# Empty option to force selection
-
- - Customer
- - Code contributor
- - Community user
- default: 0
- validations:
- required: true
-
- - type: input
- id: ticket-number
- attributes:
- label: Support ticket number (for customers)
- description: |
- If you have a support ticket number, please enter it here.
- Customers are advised to open a support ticket first: https://symless.com/synergy/contact
- This is for customers only (non-customers please ignore this field).
- Leave this blank if you do not have a support ticket or if you're not a customer.
- validations:
- required: false
-
- - type: checkboxes
- id: discussion
- attributes:
- label: Discussion
- description: |
- Have you considered starting a discussion instead of requesting a feature?
- options:
- - label: I want to request a feature (I don't want to start a discussion)
- required: true
-
- - type: dropdown
- id: product
- attributes:
- label: Product name
- description: Which Synergy product are you using?
- options:
- # Empty option to force selection
- -
- - Synergy 1
- - Synergy 2
- - Synergy 3
+ - Deskflow
+ - Barrier
+ - Input Leap
+ - Synergy
default: 0
validations:
required: true
@@ -66,7 +30,8 @@ body:
options:
- label: Windows
- label: macOS
- - label: Linux or Unix
+ - label: Linux
+ - label: BSD-derived
- label: Other
validations:
required: true
@@ -74,7 +39,7 @@ body:
- type: textarea
id: os-version
attributes:
- label: OS versions or Linux distros
+ label: OS versions/distros
description: |
Please provide the version number of your operating system (OS).
If you're using Linux, please provide the name of the distribution.
@@ -82,17 +47,18 @@ body:
- Windows 11
- macOS 15
- Ubuntu 24.04
+ - FreeBSD 14.0
validations:
required: true
- type: textarea
id: config
attributes:
- label: Synergy configuration
+ label: Deskflow configuration
description: |
Please provide a very brief description of your configuration.
Let us know the OS of the server/host/primary and the OS of the client/guest/secondary.
- This will help us understand how you're using Synergy.
+ This will help us understand how you're using Deskflow.
placeholder: |
- Windows 11 server, macOS 15 client
- Each computer has a single monitor
diff --git a/.github/actions/get-version/action.yml b/.github/actions/get-version/action.yml
index 95f7c05bf..51acb7dae 100644
--- a/.github/actions/get-version/action.yml
+++ b/.github/actions/get-version/action.yml
@@ -7,9 +7,9 @@ runs:
steps:
- run: |
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
- echo "SYNERGY_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
+ echo "DESKFLOW_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
fi
if [[ "${{ github.event.inputs.version }}" != "" ]]; then
- echo "SYNERGY_VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
+ echo "DESKFLOW_VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
fi
shell: bash
diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml
index 6968bd36f..712669a80 100644
--- a/.github/workflows/build-containers.yml
+++ b/.github/workflows/build-containers.yml
@@ -123,6 +123,6 @@ jobs:
push: true
context: .
file: ./.github/docker/${{ matrix.os.config-dir }}/Dockerfile
- tags: symless/synergy-core:${{ matrix.os.name }}
+ tags: deskflow/deskflow:${{ matrix.os.name }}
build-args: BASE_IMAGE=${{ matrix.os.base-image }}
platforms: linux/${{ matrix.os.platform }}
diff --git a/.github/workflows/ci-linux.json b/.github/workflows/ci-linux.json
index a7b366b55..3e7db5243 100644
--- a/.github/workflows/ci-linux.json
+++ b/.github/workflows/ci-linux.json
@@ -2,73 +2,73 @@
"distro": [
{
"name": "debian-13-amd64",
- "container": "symless/synergy-core:debian-13-amd64",
+ "container": "deskflow/deskflow:debian-13-amd64",
"runs-on": "ubuntu-latest",
"extra-packages": true
},
{
"name": "debian-12-arm64",
- "container": "symless/synergy-core:debian-12-arm64",
+ "container": "deskflow/deskflow:debian-12-arm64",
"runs-on": "ubuntu-24.04-8-core-arm64",
"extra-packages": true
},
{
"name": "debian-12-amd64",
- "container": "symless/synergy-core:debian-12-amd64",
+ "container": "deskflow/deskflow:debian-12-amd64",
"runs-on": "ubuntu-latest",
"extra-packages": true
},
{
"name": "ubuntu-24.04-amd64",
- "container": "symless/synergy-core:ubuntu-24.04-amd64",
+ "container": "deskflow/deskflow:ubuntu-24.04-amd64",
"runs-on": "ubuntu-latest",
"extra-dep-args": "--meson-no-system libportal --meson-static libportal --subprojects",
"extra-cmake-args": "-DSYSTEM_LIBPORTAL=OFF -DSTATIC_LIBPORTAL=ON"
},
{
"name": "ubuntu-22.04-amd64",
- "container": "symless/synergy-core:ubuntu-22.04-amd64",
+ "container": "deskflow/deskflow:ubuntu-22.04-amd64",
"runs-on": "ubuntu-latest"
},
{
"name": "fedora-40-arm64",
- "container": "symless/synergy-core:fedora-40-arm64",
+ "container": "deskflow/deskflow:fedora-40-arm64",
"runs-on": "ubuntu-24.04-8-core-arm64"
},
{
"name": "fedora-40-amd64",
- "container": "symless/synergy-core:fedora-40-amd64",
+ "container": "deskflow/deskflow:fedora-40-amd64",
"runs-on": "ubuntu-latest"
},
{
"name": "fedora-39-amd64",
- "container": "symless/synergy-core:fedora-39-amd64",
+ "container": "deskflow/deskflow:fedora-39-amd64",
"runs-on": "ubuntu-latest"
},
{
"name": "opensuse-amd64",
- "container": "symless/synergy-core:opensuse-amd64",
+ "container": "deskflow/deskflow:opensuse-amd64",
"runs-on": "ubuntu-latest"
},
{
"name": "rockylinux-9-amd64",
- "container": "symless/synergy-core:rockylinux-9-amd64",
+ "container": "deskflow/deskflow:rockylinux-9-amd64",
"runs-on": "ubuntu-latest"
},
{
"name": "almalinux-9-amd64",
- "container": "symless/synergy-core:almalinux-9-amd64",
+ "container": "deskflow/deskflow:almalinux-9-amd64",
"runs-on": "ubuntu-latest"
},
{
"name": "archlinux-amd64",
- "container": "symless/synergy-core:archlinux-amd64",
+ "container": "deskflow/deskflow:archlinux-amd64",
"runs-on": "ubuntu-latest",
"package-user": "build"
},
{
"name": "manjaro-amd64",
- "container": "symless/synergy-core:manjaro-amd64",
+ "container": "deskflow/deskflow:manjaro-amd64",
"runs-on": "ubuntu-latest",
"package-user": "build"
}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4ec2bf1e9..e86007821 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,7 +8,7 @@ on:
workflow_dispatch:
inputs:
version:
- description: Synergy version number
+ description: Deskflow version number
pull_request:
types:
- opened
@@ -20,10 +20,10 @@ on:
env:
GIT_SHA: ${{ github.sha }}
- SYNERGY_PRODUCT_NAME: ${{ vars.SYNERGY_PRODUCT_NAME }}
- SYNERGY_PACKAGE_PREFIX: ${{ vars.SYNERGY_PACKAGE_PREFIX }}
- SYNERGY_LICENSED_PRODUCT: ${{ vars.SYNERGY_LICENSED_PRODUCT }}
- SYNERGY_ENABLE_ACTIVATION: ${{ vars.SYNERGY_ENABLE_ACTIVATION }}
+ DESKFLOW_PRODUCT_NAME: ${{ vars.DESKFLOW_PRODUCT_NAME }}
+ DESKFLOW_PACKAGE_PREFIX: ${{ vars.DESKFLOW_PACKAGE_PREFIX }}
+ DESKFLOW_LICENSED_PRODUCT: ${{ vars.DESKFLOW_LICENSED_PRODUCT }}
+ DESKFLOW_ENABLE_ACTIVATION: ${{ vars.DESKFLOW_ENABLE_ACTIVATION }}
PACKAGE_BUILD: ${{ !github.event.pull_request.draft }}
PACKAGE_UPLOAD: ${{ !github.event.pull_request.draft && github.ref_name != 'master' }}
UPLOAD_TO_GITHUB: ${{ github.event_name == 'pull_request' && !github.event.pull_request.draft }}
@@ -126,11 +126,11 @@ jobs:
with:
use_github: ${{ env.UPLOAD_TO_GITHUB }}
use_gdrive: ${{ env.UPLOAD_TO_GDRIVE }}
- github-target-filename: "${{ env.SYNERGY_PACKAGE_PREFIX }}-${{ matrix.target.name }}"
+ github-target-filename: "${{ env.DESKFLOW_PACKAGE_PREFIX }}-${{ matrix.target.name }}"
gdrive-target-base-dir: ${{ vars.GDRIVE_TARGET_BASE_DIR }}
gdrive-secret-key: ${{ secrets.GOOGLE_DRIVE_KEY }}
gdrive-parent-folder-id: ${{ secrets.GOOGLE_DRIVE_TECH_DRIVE }}
- package-version: ${{ env.SYNERGY_VERSION }}
+ package-version: ${{ env.DESKFLOW_VERSION }}
macos:
needs: setup
@@ -213,11 +213,11 @@ jobs:
with:
use_github: ${{ env.UPLOAD_TO_GITHUB }}
use_gdrive: ${{ env.UPLOAD_TO_GDRIVE }}
- github-target-filename: "${{ env.SYNERGY_PACKAGE_PREFIX }}-${{ matrix.target.name }}"
+ github-target-filename: "${{ env.DESKFLOW_PACKAGE_PREFIX }}-${{ matrix.target.name }}"
gdrive-target-base-dir: ${{ vars.GDRIVE_TARGET_BASE_DIR }}
gdrive-secret-key: ${{ secrets.GOOGLE_DRIVE_KEY }}
gdrive-parent-folder-id: ${{ secrets.GOOGLE_DRIVE_TECH_DRIVE }}
- package-version: ${{ env.SYNERGY_VERSION }}
+ package-version: ${{ env.DESKFLOW_VERSION }}
linux-matrix:
runs-on: ubuntu-latest
@@ -298,11 +298,11 @@ jobs:
with:
use_github: ${{ env.UPLOAD_TO_GITHUB }}
use_gdrive: ${{ env.UPLOAD_TO_GDRIVE }}
- github-target-filename: "${{ env.SYNERGY_PACKAGE_PREFIX }}-${{ matrix.distro.name }}"
+ github-target-filename: "${{ env.DESKFLOW_PACKAGE_PREFIX }}-${{ matrix.distro.name }}"
gdrive-target-base-dir: ${{ vars.GDRIVE_TARGET_BASE_DIR }}
gdrive-secret-key: ${{ secrets.GOOGLE_DRIVE_KEY }}
gdrive-parent-folder-id: ${{ secrets.GOOGLE_DRIVE_TECH_DRIVE }}
- package-version: ${{ env.SYNERGY_VERSION }}
+ package-version: ${{ env.DESKFLOW_VERSION }}
# Technically, "unix" is a misnomer, but we use it here to mean "Unix-like BSD-derived".
unix:
@@ -312,7 +312,7 @@ jobs:
timeout-minutes: 20
env:
- SYNERGY_BUILD_CMD: |
+ DESKFLOW_BUILD_CMD: |
./scripts/install_deps.sh;
cmake -B build;
cmake --build build -j16;
@@ -336,4 +336,4 @@ jobs:
uses: vmactions/freebsd-vm@v1
with:
usesh: true
- run: ${{ env.SYNERGY_BUILD_CMD }}
+ run: ${{ env.DESKFLOW_BUILD_CMD }}
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 67f22f9de..58b788004 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -17,7 +17,7 @@ jobs:
name: Analyze
runs-on: ${{ vars.CODEQL_RUNNER || 'ubuntu-24.04' }}
- container: symless/synergy-core:ubuntu-24.04-amd64
+ container: deskflow/deskflow:ubuntu-24.04-amd64
timeout-minutes: 20
strategy:
diff --git a/.github/workflows/issue-check-support.yml b/.github/workflows/issue-check-support.yml
deleted file mode 100644
index af196b52b..000000000
--- a/.github/workflows/issue-check-support.yml
+++ /dev/null
@@ -1,63 +0,0 @@
-name: Check if tech support issue
-on:
- issues:
- types: [opened]
- workflow_dispatch:
- inputs:
- issue_number:
- description: "Issue number"
- required: true
- issue_body:
- description: "Issue body"
- required: true
-
-jobs:
- issue-check-support:
- runs-on: ubuntu-latest
- env:
- ISSUE_BODY: ${{ github.event.issue.body || github.event.inputs.issue_body }}
- ISSUE_NUMBER: ${{ github.event.issue.number || github.event.inputs.issue_number }}
-
- steps:
- - name: Add comment for customer
- env:
- CUSTOMER_PATTERN: What type of Synergy user are you\?\s*Customer
- NO_TICKET_PATTERN: Support ticket number \(for customers\)\s*_No response_
- COMMENT_BODY: |
- Hello! :wave: As a customer, you're entitled to tech support which is included in your
- license at no extra cost.
- Please [raise a support ticket](https://symless.com/synergy/contact) if you'd like to
- take advantage of that.
- If that works for you, then please let us know your ticket number so we can continue
- the discussion there. Thanks!
- uses: actions/github-script@v6
- with:
- script: |
- const issueNumber = process.env.ISSUE_NUMBER;
- const issueBody = process.env.ISSUE_BODY;
- const customerPattern = new RegExp(process.env.CUSTOMER_PATTERN);
- const noTicketPattern = new RegExp(process.env.NO_TICKET_PATTERN);
-
- const isCustomer = customerPattern.test(issueBody);
- const noTicket = noTicketPattern.test(issueBody);
-
- if (!isCustomer) {
- console.log('Not a customer');
- return;
- }
-
- if (!noTicket) {
- console.log('Already has a ticket');
- return;
- }
-
- // Strip newlines, since GitHub comments are not markdown.
- const commentBody = process.env.COMMENT_BODY.replace(/\n/g, ' ');
-
- console.log('Adding comment to issue:', issueNumber);
- github.rest.issues.createComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: issueNumber,
- body: commentBody
- });
diff --git a/.github/workflows/sonarcloud-analysis.yml b/.github/workflows/sonarcloud-analysis.yml
index c36a16335..bc5889b9e 100644
--- a/.github/workflows/sonarcloud-analysis.yml
+++ b/.github/workflows/sonarcloud-analysis.yml
@@ -16,7 +16,7 @@ jobs:
if: ${{ vars.SONAR_SCANNER_ENABLED }}
runs-on: ${{ vars.SONAR_SCANNER_RUNNER || 'ubuntu-24.04' }}
- container: symless/synergy-core:ubuntu-22.04-amd64
+ container: deskflow/deskflow:ubuntu-22.04-amd64
timeout-minutes: 20
env:
@@ -101,7 +101,7 @@ jobs:
export PATH=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-x64/bin:$PATH
sonar-scanner \
-Dsonar.organization=symless \
- -Dsonar.projectKey=symless_synergy-core \
+ -Dsonar.projectKey=deskflow_deskflow \
-Dsonar.sources=scripts,src/cmd,src/gui,src/lib \
-Dsonar.tests=src/test \
-Dsonar.exclusions=subprojects/**,build/** \
diff --git a/.github/workflows/valgrind-analysis.yml b/.github/workflows/valgrind-analysis.yml
index 8de54c4be..b3a9d2d68 100644
--- a/.github/workflows/valgrind-analysis.yml
+++ b/.github/workflows/valgrind-analysis.yml
@@ -12,9 +12,12 @@ on:
jobs:
valgrind-analysis:
runs-on: ubuntu-latest
- container: symless/synergy-core:ubuntu-22.04-amd64
+ container: deskflow/deskflow:ubuntu-22.04-amd64
timeout-minutes: 10
+ permissions:
+ pull-requests: write
+
steps:
- name: Checkout
uses: actions/checkout@v4
diff --git a/.gitignore b/.gitignore
index 2f6577df0..1723cb2a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,7 +12,7 @@ aqtinstall.log
Brewfile.lock.json
# typical developer-created files
-synergy-config.toml
+deskflow-config.toml
.vscode
.DS_Store
*.code-workspace
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index fe5319f30..495ee0cb6 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -50,13 +50,13 @@
"label": "clean-config",
"type": "shell",
"linux": {
- "command": "rm -r ~/.config/Synergy/Synergy.conf"
+ "command": "rm -r ~/.config/Deskflow/Deskflow.conf"
},
"windows": {
- "command": "remove-item -recurse $env:APPDATA\\Synergy\\Synergy"
+ "command": "remove-item -recurse $env:APPDATA\\Deskflow\\Deskflow"
},
"osx": {
- "command": "rm -r ~/Library/Application\\ Support/Synergy/Synergy"
+ "command": "rm -r ~/Library/Application\\ Support/Deskflow/Deskflow"
}
},
{
diff --git a/BUILD.md b/BUILD.md
index 5acf5ead1..f9f923e11 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -1,12 +1,12 @@
-# Build Synergy
+# Build Deskflow
## Developer Quick Start
-Synergy 1 Community Edition is free and open source software, and anyone is welcome to build it,
+Deskflow is free and open source software, and anyone is welcome to build it,
run it, tinker with it, redistribute it as part of their own app, etc.
-These instructions will build Synergy 1 Community Edition, which doesn't require a license
-or serial key. Check the [Build Guide](https://github.com/symless/synergy/wiki/Build-Guide)
+These instructions will build Deskflow, which doesn't require a license
+or serial key. Check the [Build Guide](https://github.com/deskflow/deskflow/wiki/Build-Guide)
wiki page if you have problems.
**1. Dependencies:**
@@ -46,5 +46,5 @@ cmake --build build -j8
**5. Run**
```
-./build/bin/synergy
+./build/bin/deskflow
```
diff --git a/CMakeLists.txt b/CMakeLists.txt
index addefb618..2cde0fab5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
# Copyright (C) 2009 Nick Bolton
#
@@ -15,7 +15,7 @@
# along with this program. If not, see .
cmake_minimum_required(VERSION 3.5)
-project(synergy C CXX)
+project(deskflow C CXX)
include(cmake/Version.cmake)
include(cmake/Definitions.cmake)
diff --git a/CMakePresets.json b/CMakePresets.json
index 208c07694..6367aafd1 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -13,7 +13,7 @@
"name": "minimal",
"hidden": true,
"environment": {
- "SYNERGY_BUILD_MINIMAL": "ON"
+ "DESKFLOW_BUILD_MINIMAL": "ON"
}
},
{
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 81520cfc1..bcb65e04d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,12 +1,12 @@
-# Contributing to Synergy
+# Contributing to Deskflow
Hello future community member!
-Synergy 1 Community Edition is free and open source software, and anyone is welcome to build it,
+Deskflow is free and open source software, and anyone is welcome to build it,
run it, tinker with it, redistribute it as part of their own app, etc.
-See our wiki page on [contributing](https://github.com/symless/synergy/wiki/Contributing) for more
+See our wiki page on [contributing](https://github.com/deskflow/deskflow/wiki/Contributing) for more
information. We look forward to reviewing your PR!
Thanks,
-The Synergy community
+The Deskflow community
diff --git a/ChangeLog b/ChangeLog
index 4dbe621e6..ffed92740 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+# v?
+
+- #7519 Rename project to Deskflow (was Synergy Community Edition)
+
# 1.16.1
Enhancements:
diff --git a/Doxyfile b/Doxyfile
index 249659e1b..e319e8c57 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
-PROJECT_NAME = Synergy
+PROJECT_NAME = Deskflow
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
@@ -51,7 +51,7 @@ PROJECT_BRIEF =
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
# the logo to the output directory.
-PROJECT_LOGO = res/synergy.svg
+PROJECT_LOGO = res/deskflow.svg
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
diff --git a/README.md b/README.md
index 7a1066af1..f7e8153eb 100644
--- a/README.md
+++ b/README.md
@@ -9,49 +9,45 @@
> 🚀 Deskflow is now the upstream project for Synergy.
>
> The project has been renamed to draw a line between the community-run project (now Deskflow),
-> and the commercially licensed product, Synergy (a mix of open source and proprietary).
+> and the commercially licensed product, Synergy.
>
-> We are currently in the process of renaming the project to Deskflow and moving all licensing code downstream.
+> We are currently in the process of renaming the project to Deskflow and moving all licensing code
+> downstream.
+>
> Hold on to your butts, this is going to be a hell of a ride.
>
-> [Join the discussion](https://github.com/deskflow/deskflow/discussions/7476)
+> [Join the discussion](https://github.com/deskflow/deskflow/discussions/7517)
[](https://github.com/deskflow/deskflow/releases)
[](https://github.com/deskflow/deskflow/commits/master/)
[](LICENSE)
-[](https://sonarcloud.io/summary/new_code?id=symless_synergy-core)
+[](https://sonarcloud.io/summary/new_code?id=deskflow_deskflow)
[](https://github.com/deskflow/deskflow/actions/workflows/ci.yml)
[](https://github.com/deskflow/deskflow/actions/workflows/codeql-analysis.yml)
[](https://github.com/deskflow/deskflow/actions/workflows/sonarcloud-analysis.yml)
[](https://github.com/deskflow/deskflow/actions/workflows/build-containers.yml)
-[Synergy](https://symless.com/synergy) is a keyboard and mouse sharing app.
-Use the keyboard, mouse, or trackpad of one computer to control nearby computers,
+**Deskflow** is a free and open source keyboard and mouse sharing app.
+Use the keyboard, mouse, or trackpad of one computer to control nearby computers,
and work seamlessly between them.
-This project contains the source code for _Synergy 1 Community Edition_ which is actively
-maintained.
-Synergy 1 Community Edition is free and open source software, and anyone is welcome to build it,
-run it, tinker with it, redistribute it as part of their own app, etc.
-
**Wayland support:** Experimental support in
-[Synergy v1.16](https://github.com/deskflow/deskflow/releases/tag/1.16.0-beta%2Br2)
+[Deskflow v1.16](https://github.com/deskflow/deskflow/releases/tag/1.16.0-beta%2Br2)
(required >= GNOME 46 or KDE Plasma 6.1).
-
+
-To use the community edition, we encourage you to build it yourself using the [Build Quick Start](#build-quick-start)
-instructions below or you can install the `synergy` package with your [favorite package manager](#how-to-install-packages)
-(please note that some package managers have older versions and need to be updated).
+To use Deskflow you can follow the [Build Quick Start](#build-quick-start),
+use one of our packages, or if it's available by your favorite package repository,
+install `deskflow` (see: [installing packages](#how-to-install-packages)).
-## Goals and Philosophy
+## Project values
-Version 1.15 brings a [new philosophy](https://github.com/deskflow/deskflow/discussions/7476)
-of being more approachable to the open source community instead of wholly focusing on commercial interests.
-We still have customers to finance the development of the code, but we are committed to
-maintaining and improving Synergy 1 Community Edition for years to come and we're excited to work
-with our community of open source users to improve the code for the benefit of everyone.
+- Motivated by the community interests (not business-driven)
+- Privacy by default (no update check or phone home on by default)
+- Nothing customer-related (this is all moved downstream to Synergy)
+- Have fun; we don't need to worry about impressing anyone
## Ways to get involved
@@ -62,16 +58,14 @@ Here are a few ways to join in with the project and get involved:
## Build Quick Start
-Synergy 1 Community Edition is free and open source software, and anyone is welcome to build it,
-run it, tinker with it, redistribute it as part of their own app, etc.
-
> [!TIP]
-> These instructions will build Synergy 1 Community Edition, which doesn't require a license
-> or serial key. Check the [Build Guide](https://github.com/deskflow/deskflow/wiki/Build-Guide)
+> Check the [Build Guide](https://github.com/deskflow/deskflow/wiki/Build-Guide)
> wiki page if you have problems.
**1. Dependencies:**
+You can either copy/paste the command from [config.yaml] or use the script.
+
*Linux, macOS, or BSD-derived:*
```
./scripts/install_deps.sh
@@ -107,50 +101,42 @@ cmake --build build -j8
**5. Run**
```
-./build/bin/synergy
+./build/bin/deskflow
```
## How to install (packages)
-Synergy 1 Community Edition is packaged by the community (status shown below).
-
-Synergy 2 is no longer in development and we recommend that package maintainers do not provide it.
-
-Synergy 3 and Synergy 1 (licensed) are available to download from the
-[official packages](https://symless.com/synergy/download).
-
-**Community edition:**
-
*macOS:*
+*(coming soon)*
```
-brew install synergy
+brew install deskflow
```
*Fedora, Red Hat, etc:*
+*(coming soon)*
```
-sudo dnf install synergy
+sudo dnf install deskflow
```
*Debian, Ubuntu, etc:*
-*(temporarily broken)*
+*(coming soon)*
```
-sudo apt install synergy
+sudo apt install deskflow
```
*Arch, Manjaro, etc:*
-*(temporarily broken)*
+*(coming soon)*
```
-sudo pacman -S synergy
+sudo pacman -S deskflow
```
*Windows:*
-*(very outdated)*
+*(coming soon)*
```
-choco install synergy
+choco install deskflow
```
-**Note:** Some packages are temporarily broken. We have reached out to the package maintainers to
-resolve this. If you're a package maintainer and have a question, please let us know.
+**Note:** We are working with package maintainers to have our new package name adopted.
## Operating Systems
@@ -161,67 +147,26 @@ Debian, Ubuntu, Linux Mint, Fedora, RHEL, AlmaLinux, Rocky Linux, Arch Linux, op
We officially support FreeBSD, and would also like to support: OpenBSD, NetBSD, DragonFly, Solaris.
-## Package Maintainers
-
-Synergy is already available through most package managers as `synergy`, and we would love to see
-the latest version of Synergy 1 Community Edition on every package manager for every OS we support
-(Windows, macOS, Linux, Unix-like BSD-derived, etc).
-
-Package maintainers can use `scripts/package.py` to see how we build packages.
-Feel free to contact us if you have any questions about packaging Synergy.
-
-Current packages:
-- [Fedora](https://packages.fedoraproject.org/pkgs/synergy/synergy/)
-- [Arch Linux](https://aur.archlinux.org/packages/synergy)
-- [FreeBSD](https://www.freshports.org/sysutils/synergy)
-- [Homebrew](https://formulae.brew.sh/formula/synergy-core#default)
-- [Gentoo](https://packages.gentoo.org/packages/x11-misc/synergy)
-
-Very outdated packages:
-- [Chocolatey](https://community.chocolatey.org/packages/synergy)
-- [openSUSE](https://build.opensuse.org/package/show/openSUSE:Factory/synergy)
-
-Broken packages:
-- [Ubuntu](https://launchpad.net/ubuntu/+source/synergy)
-- [Debian](https://tracker.debian.org/pkg/synergy)
-
-It appears that the `synergy` package has been removed or discontinued from some package repositories.
-That's a bit sad. If you're a package maintainer, please let us know if you have any questions.
-
## Similar Projects
* [Lan Mouse](https://github.com/feschber/lan-mouse) - A Rust implementation with the goal of
- having native front-ends and interoperability with Synergy.
-* [Input Leap](https://github.com/input-leap/input-leap) - A Synergy-derivative with the goal
- of continuing what Barrier started (a now dead Synergy fork).
+ having native front-ends and interoperability with Deskflow.
+* [Input Leap](https://github.com/input-leap/input-leap) - A Deskflow-derivative with the goal
+ of continuing what Barrier started (a now dead Deskflow fork).
## FAQ
-### Is Synergy compatible with Lan Mouse or Input Leap?
+### Is Deskflow compatible with Lan Mouse or Input Leap?
We would love to see compatibility between our fellow open source projects, Lan Mouse and
Input Leap. This idea is discussed from time in the communities for all of our projects,
so it may happen in the not-too-distant future.
-### Has Synergy moved beyond its goals from the 1.x era?
-
-Our goal for Synergy 1 (including the community edition) has always been and will always be to
-make a simple, reliable, and feature-rich mouse and keyboard-sharing tool. We do maintain another
-product called Synergy 3, but as this uses Synergy 1 Core (the server and client part of Synergy),
-we depend on Synergy 1 to remain stable and modern which is why we continue to develop and improve
-the product.
-
-### If I want to solve issues in Synergy do I need to contribute to a fork?
+### If I want to solve issues in Deskflow do I need to contribute to a fork?
We welcome PRs (pull requests) from the community. If you'd like to make a change, please feel
free to [start a discussion](https://github.com/deskflow/deskflow/discussions) or
[open a PR](https://github.com/deskflow/deskflow/wiki/Contributing).
-It's great that people spin up re-branded forks of Synergy, power to them. However, it's not
-necessary if you want to make changes.
-If you're thinking of starting your own re-branded fork of Synergy, it might be because we're
-doing something wrong so please
-[let us know](https://github.com/deskflow/deskflow/wiki/Contact-the-team) what we can do to let
-you feel welcome in our community.
### Is clipboard sharing supported?
@@ -234,15 +179,14 @@ Yes! Wayland (the Linux display server protocol aimed to become the successor of
System) is an important platform for us.
The [`libei`](https://gitlab.freedesktop.org/libinput/libei) and
[`libportal`](https://github.com/flatpak/libportal) libraries enable
-Wayland support for Synergy. We would like to give special thanks to Peter Hutterer (@whot),
+Wayland support for Deskflow. We would like to give special thanks to Peter Hutterer,
who is the author of `libei`, a major contributor to `libportal`, and the author of the Wayland
-implementation in Synergy. Others such as Olivier Fourdan helped with the Wayland implementation,
-and we rely on the work of our community of developers to continue the development of Wayland
-support.
+implementation in Deskflow. Others such as Olivier Fourdan and Povilas Kanapickas helped with the
+Wayland implementation.
### Where did it all start?
-Synergy was first created in 2001 by Chris Schoeneman.
+Deskflow was first created as Synergy in 2001 by Chris Schoeneman.
Read about the [history of the project](https://github.com/deskflow/deskflow/wiki/History) on our
wiki.
@@ -251,7 +195,7 @@ wiki.
Repology monitors a huge number of package repositories and other sources comparing package
versions across them and gathering other information.
-[](https://repology.org/project/synergy/versions)
+[](https://repology.org/project/deskflow/versions)
## License
diff --git a/cmake/Build.cmake b/cmake/Build.cmake
index 81d2fab7a..c6d3f729e 100644
--- a/cmake/Build.cmake
+++ b/cmake/Build.cmake
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@ macro(post_config)
# Build to a temp bin dir on Windows and then copy to the final bin dir
# (ignore copy fail). It is neccesary to do this. Since the binary may already
# be running and you can't write to a running binary (on Windows). It's common
- # to use Synergy to develop Synergy (i.e. eating your own dog food immediately
+ # to use Deskflow to develop Deskflow (i.e. eating your own dog food immediately
# making it).
if(WIN32)
@@ -60,10 +60,10 @@ macro(post_config_all)
add_dependencies(
run_post_build
- synergy
- synergyc
- synergys
- synergyd)
+ deskflow
+ deskflowc
+ deskflows
+ deskflowd)
endif()
endmacro()
diff --git a/cmake/Definitions.cmake b/cmake/Definitions.cmake
index 8c0a601a4..eaa237b64 100644
--- a/cmake/Definitions.cmake
+++ b/cmake/Definitions.cmake
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -36,7 +36,7 @@ macro(configure_definitions)
if("${VERSION_URL}" STREQUAL "")
set(VERSION_URL "https://api.symless.com/version?version=v1")
endif()
- add_definitions(-DSYNERGY_VERSION_URL="${VERSION_URL}")
+ add_definitions(-DDESKFLOW_VERSION_URL="${VERSION_URL}")
if(NOT "$ENV{GIT_SHA}" STREQUAL "")
# Shorten the Git SHA to 8 chars for readability
@@ -45,25 +45,25 @@ macro(configure_definitions)
add_definitions(-DGIT_SHA_SHORT="${GIT_SHA_SHORT}")
endif()
- if(NOT "$ENV{SYNERGY_PRODUCT_NAME}" STREQUAL "")
- set(PRODUCT_NAME $ENV{SYNERGY_PRODUCT_NAME})
+ if(NOT "$ENV{DESKFLOW_PRODUCT_NAME}" STREQUAL "")
+ set(PRODUCT_NAME $ENV{DESKFLOW_PRODUCT_NAME})
endif()
if(LICENSED_PRODUCT)
message(STATUS "Licensed product")
- add_definitions(-DSYNERGY_LICENSED_PRODUCT=1)
+ add_definitions(-DDESKFLOW_LICENSED_PRODUCT=1)
if(ENABLE_ACTIVATION)
message(STATUS "Activation enabled")
- add_definitions(-DSYNERGY_ENABLE_ACTIVATION=1)
+ add_definitions(-DDESKFLOW_ENABLE_ACTIVATION=1)
endif()
else()
- set(PRODUCT_NAME "Synergy 1 Community Edition")
+ set(PRODUCT_NAME "Deskflow")
endif()
if(PRODUCT_NAME)
message(STATUS "Product name: ${PRODUCT_NAME}")
- add_definitions(-DSYNERGY_PRODUCT_NAME="${PRODUCT_NAME}")
+ add_definitions(-DDESKFLOW_PRODUCT_NAME="${PRODUCT_NAME}")
endif()
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
@@ -120,28 +120,28 @@ macro(configure_options)
# by default, show the dev thanks message, guides contributions, etc.
set(DEFAULT_SHOW_DEV_THANKS ON)
- if("$ENV{SYNERGY_BUILD_MINIMAL}" STREQUAL "true")
+ if("$ENV{DESKFLOW_BUILD_MINIMAL}" STREQUAL "true")
set(DEFAULT_BUILD_GUI OFF)
set(DEFAULT_BUILD_INSTALLER OFF)
endif()
- if("$ENV{SYNERGY_BUILD_TESTS}" STREQUAL "false")
+ if("$ENV{DESKFLOW_BUILD_TESTS}" STREQUAL "false")
set(DEFAULT_BUILD_TESTS OFF)
endif()
- if("$ENV{SYNERGY_BUILD_UNIFIED}" STREQUAL "true")
+ if("$ENV{DESKFLOW_BUILD_UNIFIED}" STREQUAL "true")
set(DEFAULT_BUILD_UNIFIED ON)
endif()
- if("$ENV{SYNERGY_ENABLE_ACTIVATION}" STREQUAL "true")
+ if("$ENV{DESKFLOW_ENABLE_ACTIVATION}" STREQUAL "true")
set(DEFAULT_ENABLE_ACTIVATION ON)
endif()
- if("$ENV{SYNERGY_LICENSED_PRODUCT}" STREQUAL "true")
+ if("$ENV{DESKFLOW_LICENSED_PRODUCT}" STREQUAL "true")
set(DEFAULT_LICENSED_PRODUCT ON)
endif()
- if("$ENV{SYNERGY_ENABLE_COVERAGE}" STREQUAL "true")
+ if("$ENV{DESKFLOW_ENABLE_COVERAGE}" STREQUAL "true")
set(DEFAULT_ENABLE_COVERAGE ON)
endif()
diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake
index a89c7dcea..336e37a9f 100644
--- a/cmake/Libraries.cmake
+++ b/cmake/Libraries.cmake
@@ -463,7 +463,7 @@ macro(configure_windows_libs)
/DWIN32
/D_WINDOWS
/D_CRT_SECURE_NO_WARNINGS
- /DSYNERGY_VERSION=\"${SYNERGY_VERSION}\"
+ /DDESKFLOW_VERSION=\"${DESKFLOW_VERSION}\"
/D_XKEYCHECK_H)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/res/win/version.rc.in
@@ -527,7 +527,7 @@ macro(configure_gtest)
# Arch Linux package maintainers:
# We do care about not bundling libs and didn't mean to cause upset. We made some mistakes
# and we're trying to put that right.
- # The comment "They BUNDLE a fucking zip for cryptopp" in synergy.git/PKGBUILD is only
+ # The comment "They BUNDLE a fucking zip for cryptopp" in deskflow.git/PKGBUILD is only
# relevant to a very version of old the code, so the comment should probably be removed.
# If there are any problems like this in future, please do feel free send us a patch! :)
option(SYSTEM_GTEST "Use system GoogleTest" ${DEFAULT_SYSTEM_GTEST})
diff --git a/cmake/Packaging.cmake b/cmake/Packaging.cmake
index cb47e15c6..e5d19af86 100644
--- a/cmake/Packaging.cmake
+++ b/cmake/Packaging.cmake
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -20,8 +20,8 @@
macro(configure_packaging)
if(${BUILD_INSTALLER})
- set(CPACK_PACKAGE_NAME "synergy")
- set(CPACK_PACKAGE_CONTACT "Synergy ")
+ set(CPACK_PACKAGE_NAME "deskflow")
+ set(CPACK_PACKAGE_CONTACT "Deskflow ")
set(CPACK_PACKAGE_DESCRIPTION "Mouse and keyboard sharing utility")
set(CPACK_PACKAGE_VENDOR "Symless")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
@@ -50,7 +50,7 @@ macro(configure_windows_packaging)
message(STATUS "Configuring Windows installer")
- set(CPACK_PACKAGE_VERSION ${SYNERGY_VERSION_MS})
+ set(CPACK_PACKAGE_VERSION ${DESKFLOW_VERSION_MS})
set(QT_PATH $ENV{CMAKE_PREFIX_PATH})
configure_files(${CMAKE_CURRENT_SOURCE_DIR}/res/dist/wix
@@ -65,17 +65,17 @@ macro(configure_macos_packaging)
message(STATUS "Configuring macOS app bundle")
- set(CPACK_PACKAGE_VERSION ${SYNERGY_VERSION})
+ set(CPACK_PACKAGE_VERSION ${DESKFLOW_VERSION})
set(CMAKE_INSTALL_RPATH
"@loader_path/../Libraries;@loader_path/../Frameworks")
- set(SYNERGY_BUNDLE_SOURCE_DIR
+ set(DESKFLOW_BUNDLE_SOURCE_DIR
${CMAKE_CURRENT_SOURCE_DIR}/res/dist/macos/bundle)
- set(SYNERGY_BUNDLE_DIR ${CMAKE_BINARY_DIR}/bundle)
- set(SYNERGY_BUNDLE_APP_DIR ${SYNERGY_BUNDLE_DIR}/Synergy.app)
- set(SYNERGY_BUNDLE_BINARY_DIR ${SYNERGY_BUNDLE_APP_DIR}/Contents/MacOS)
+ set(DESKFLOW_BUNDLE_DIR ${CMAKE_BINARY_DIR}/bundle)
+ set(DESKFLOW_BUNDLE_APP_DIR ${DESKFLOW_BUNDLE_DIR}/Deskflow.app)
+ set(DESKFLOW_BUNDLE_BINARY_DIR ${DESKFLOW_BUNDLE_APP_DIR}/Contents/MacOS)
- configure_files(${SYNERGY_BUNDLE_SOURCE_DIR} ${SYNERGY_BUNDLE_DIR})
+ configure_files(${DESKFLOW_BUNDLE_SOURCE_DIR} ${DESKFLOW_BUNDLE_DIR})
endmacro()
@@ -86,10 +86,10 @@ macro(configure_linux_packaging)
message(STATUS "Configuring Linux packaging")
- set(CPACK_PACKAGE_VERSION ${SYNERGY_VERSION_LINUX})
+ set(CPACK_PACKAGE_VERSION ${DESKFLOW_VERSION_LINUX})
set(CPACK_GENERATOR "DEB;RPM;TGZ")
- set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Synergy ")
+ set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Deskflow ")
set(CPACK_DEBIAN_PACKAGE_SECTION "utils")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
@@ -108,8 +108,8 @@ macro(configure_linux_packaging)
# apps install to.
set(CMAKE_INSTALL_PREFIX /usr)
- install(FILES res/dist/linux/synergy.desktop DESTINATION share/applications)
- install(FILES res/synergy.png DESTINATION share/pixmaps)
+ install(FILES res/dist/linux/deskflow.desktop DESTINATION share/applications)
+ install(FILES res/deskflow.png DESTINATION share/pixmaps)
# Prepare PKGBUILD for Arch Linux
configure_file(res/dist/arch/PKGBUILD.in ${CMAKE_BINARY_DIR}/PKGBUILD @ONLY)
diff --git a/cmake/Version.cmake b/cmake/Version.cmake
index cbf8c9da6..bd5f678be 100644
--- a/cmake/Version.cmake
+++ b/cmake/Version.cmake
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -18,20 +18,20 @@
# On Windows, we also set a special 4-digit MSI version number.
macro(set_version)
- set(SYNERGY_VERSION $ENV{SYNERGY_VERSION})
- string(STRIP "${SYNERGY_VERSION}" SYNERGY_VERSION)
+ set(DESKFLOW_VERSION $ENV{DESKFLOW_VERSION})
+ string(STRIP "${DESKFLOW_VERSION}" DESKFLOW_VERSION)
- if(NOT SYNERGY_VERSION)
- file(READ "${CMAKE_SOURCE_DIR}/VERSION" SYNERGY_VERSION)
- string(STRIP "${SYNERGY_VERSION}" SYNERGY_VERSION)
+ if(NOT DESKFLOW_VERSION)
+ file(READ "${CMAKE_SOURCE_DIR}/VERSION" DESKFLOW_VERSION)
+ string(STRIP "${DESKFLOW_VERSION}" DESKFLOW_VERSION)
endif()
- message(STATUS "Version number (semver): " ${SYNERGY_VERSION})
- add_definitions(-DSYNERGY_VERSION="${SYNERGY_VERSION}")
+ message(STATUS "Version number (semver): " ${DESKFLOW_VERSION})
+ add_definitions(-DDESKFLOW_VERSION="${DESKFLOW_VERSION}")
# Useful for copyright (e.g. in macOS bundle .plist.in and Windows version .rc
# file)
- string(TIMESTAMP SYNERGY_BUILD_YEAR "%Y")
+ string(TIMESTAMP DESKFLOW_BUILD_YEAR "%Y")
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set_windows_version()
@@ -43,19 +43,19 @@ endmacro()
macro(set_four_part_version)
- string(REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.([0-9]+)" _ "${SYNERGY_VERSION}")
+ string(REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.([0-9]+)" _ "${DESKFLOW_VERSION}")
set(VERSION_MAJOR "${CMAKE_MATCH_1}")
set(VERSION_MINOR "${CMAKE_MATCH_2}")
set(VERSION_PATCH "${CMAKE_MATCH_3}")
# Find the revision number, which is the number after the 'r'.
- string(REGEX MATCH "r([0-9]+)$" _ "${SYNERGY_VERSION}")
+ string(REGEX MATCH "r([0-9]+)$" _ "${DESKFLOW_VERSION}")
set(VERSION_REVISION "${CMAKE_MATCH_1}")
if(NOT VERSION_REVISION)
set(VERSION_REVISION "0")
endif()
- set(SYNERGY_VERSION_FOUR_PART
+ set(DESKFLOW_VERSION_FOUR_PART
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.${VERSION_REVISION}")
endmacro()
@@ -66,15 +66,15 @@ macro(set_windows_version)
set_four_part_version()
# Dot-separated version number for MSI and Windows version .rc file.
- set(SYNERGY_VERSION_MS ${SYNERGY_VERSION_FOUR_PART})
+ set(DESKFLOW_VERSION_MS ${DESKFLOW_VERSION_FOUR_PART})
message(STATUS "Version number for (Microsoft 4-part): "
- ${SYNERGY_VERSION_MS})
+ ${DESKFLOW_VERSION_MS})
# CSV version number for Windows version .rc file.
- set(SYNERGY_VERSION_MS_CSV
+ set(DESKFLOW_VERSION_MS_CSV
"${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}")
message(STATUS "Version number for (Microsoft CSV): "
- ${SYNERGY_VERSION_MS_CSV})
+ ${DESKFLOW_VERSION_MS_CSV})
endmacro()
macro(set_linux_version)
@@ -83,12 +83,12 @@ macro(set_linux_version)
# char is reserved for use at at the end of the version string to indicate a
# package revision. Debian has always used this convention, but support for
# this was also introduced in RPM 4.10.0.
- string(REGEX REPLACE "-" "~" SYNERGY_VERSION_LINUX "${SYNERGY_VERSION}")
- message(STATUS "Version number (DEB/RPM): ${SYNERGY_VERSION_LINUX}")
+ string(REGEX REPLACE "-" "~" DESKFLOW_VERSION_LINUX "${DESKFLOW_VERSION}")
+ message(STATUS "Version number (DEB/RPM): ${DESKFLOW_VERSION_LINUX}")
# Arch does not support SemVer or DEB/RPM version format, so use the four-part
# version format which funnily enough is what Microsoft requires for MSI.
set_four_part_version()
- message(STATUS "Version number (4-part): ${SYNERGY_VERSION_FOUR_PART}")
+ message(STATUS "Version number (4-part): ${DESKFLOW_VERSION_FOUR_PART}")
endmacro()
diff --git a/cspell.json b/cspell.json
index 3ad8b7efd..71e72cf7e 100644
--- a/cspell.json
+++ b/cspell.json
@@ -13,6 +13,7 @@
"Compat",
"contribs",
"Daun",
+ "Deskflow",
"distros",
"dmgbuild",
"dotenv",
@@ -27,11 +28,13 @@
"ifdef",
"INPUTCAPTURE",
"integtests",
+ "Kanapickas",
"keychain",
"Keychains",
"Kutytska",
"Lanz",
"libei",
+ "Libera",
"libportal",
"LLDB",
"Lysytsia",
@@ -47,6 +50,7 @@
"Petroules",
"Pixmap",
"Poschta",
+ "Povilas",
"Priddy",
"pyproject",
"qputenv",
@@ -59,9 +63,6 @@
"Sorin",
"subproject",
"subprojects",
- "synergyc",
- "synergyd",
- "synergys",
"trackpad",
"Trixie",
"unittests",
diff --git a/doc/synergy.conf.example b/doc/deskflow.conf.example
similarity index 95%
rename from doc/synergy.conf.example
rename to doc/deskflow.conf.example
index 2586dfafa..3a0ff5ed1 100644
--- a/doc/synergy.conf.example
+++ b/doc/deskflow.conf.example
@@ -1,4 +1,4 @@
-# sample synergy configuration file
+# sample deskflow configuration file
#
# comments begin with the # character and continue to the end of
# line. comments may appear anywhere the syntax permits.
diff --git a/doc/synergy.conf.example-advanced b/doc/deskflow.conf.example-advanced
similarity index 97%
rename from doc/synergy.conf.example-advanced
rename to doc/deskflow.conf.example-advanced
index 771cf5347..f6176bcec 100644
--- a/doc/synergy.conf.example-advanced
+++ b/doc/deskflow.conf.example-advanced
@@ -1,4 +1,4 @@
-# sample synergy configuration file
+# sample deskflow configuration file
#
# comments begin with the # character and continue to the end of
# line. comments may appear anywhere the syntax permits.
diff --git a/doc/synergy.conf.example-basic b/doc/deskflow.conf.example-basic
similarity index 96%
rename from doc/synergy.conf.example-basic
rename to doc/deskflow.conf.example-basic
index 6f3c20d90..5a5c7b0db 100644
--- a/doc/synergy.conf.example-basic
+++ b/doc/deskflow.conf.example-basic
@@ -1,4 +1,4 @@
-# sample synergy configuration file
+# sample deskflow configuration file
#
# comments begin with the # character and continue to the end of
# line. comments may appear anywhere the syntax permits.
diff --git a/meson.build b/meson.build
index b3b2e12c4..6bf74374e 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@
# Where available, we use system packages, otherwise we use subprojects.
# Subprojects are also used to get the latest version during development.
-project('synergy', 'cpp')
+project('deskflow', 'cpp')
subproject('tomlplusplus')
subproject('cli11')
diff --git a/res/config.h.in b/res/config.h.in
index 463d644f2..9e5420a8f 100644
--- a/res/config.h.in
+++ b/res/config.h.in
@@ -1,5 +1,5 @@
/* Define version here for Unix, but using /D for Windows. */
-#cmakedefine SYNERGY_VERSION "${SYNERGY_VERSION}"
+#cmakedefine DESKFLOW_VERSION "${DESKFLOW_VERSION}"
/* Define to the base type of arg 3 for `accept`. */
#cmakedefine ACCEPT_TYPE_ARG3 ${ACCEPT_TYPE_ARG3}
diff --git a/res/synergy.ico b/res/deskflow.ico
similarity index 100%
rename from res/synergy.ico
rename to res/deskflow.ico
diff --git a/res/synergy.png b/res/deskflow.png
similarity index 100%
rename from res/synergy.png
rename to res/deskflow.png
diff --git a/res/synergy.svg b/res/deskflow.svg
similarity index 100%
rename from res/synergy.svg
rename to res/deskflow.svg
diff --git a/res/dist/arch/PKGBUILD.in b/res/dist/arch/PKGBUILD.in
index 85e27d5be..770738c5f 100644
--- a/res/dist/arch/PKGBUILD.in
+++ b/res/dist/arch/PKGBUILD.in
@@ -1,10 +1,10 @@
-# Maintainer: Synergy team
+# Maintainer: Deskflow team
-pkgname=synergy
-pkgver=@SYNERGY_VERSION_FOUR_PART@
+pkgname=deskflow
+pkgver=@DESKFLOW_VERSION_FOUR_PART@
pkgrel=1
pkgdesc="Mouse and keyboard sharing utility"
-url='https://symless.com/synergy/'
+url='https://symless.com/deskflow/'
arch=('x86_64')
license=('GPL-2.0-only')
depends=(
diff --git a/res/dist/flatpak/synergy.yml b/res/dist/flatpak/deskflow.yml
similarity index 88%
rename from res/dist/flatpak/synergy.yml
rename to res/dist/flatpak/deskflow.yml
index 5c6b95a56..0f5271ca9 100644
--- a/res/dist/flatpak/synergy.yml
+++ b/res/dist/flatpak/deskflow.yml
@@ -1,9 +1,9 @@
-app-id: com.symless.Synergy
+app-id: com.symless.Deskflow
runtime: org.kde.Platform
runtime-version: "5.15-21.08"
sdk: org.kde.Sdk
-rename-icon: synergy
-rename-desktop-file: synergy.desktop
+rename-icon: deskflow
+rename-desktop-file: deskflow.desktop
modules:
- name: openssl
buildsystem: simple
@@ -23,7 +23,7 @@ modules:
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/libnotify.git
- - name: synergy
+ - name: deskflow
buildsystem: cmake-ninja
config-opts:
- "-DCMAKE_BUILD_TYPE=Release"
@@ -32,7 +32,7 @@ modules:
path: ../
- type: patch
path: flatpak-desktop.patch
-command: synergy
+command: deskflow
finish-args:
- "--share=ipc"
- "--socket=x11"
diff --git a/res/dist/flatpak/flatpak-desktop.patch b/res/dist/flatpak/flatpak-desktop.patch
index 1fca84738..5d72dcfe4 100644
--- a/res/dist/flatpak/flatpak-desktop.patch
+++ b/res/dist/flatpak/flatpak-desktop.patch
@@ -1,14 +1,14 @@
-diff --git a/res/synergy.desktop b/res/synergy.desktop
+diff --git a/res/deskflow.desktop b/res/deskflow.desktop
index fa987bdf..9513dbf3 100644
---- a/res/synergy.desktop
-+++ b/res/synergy.desktop
+--- a/res/deskflow.desktop
++++ b/res/deskflow.desktop
@@ -3,8 +3,7 @@ Type=Application
Version=1.0
- Name=Synergy
+ Name=Deskflow
Comment=Keyboard and mouse sharing solution
-Path=/usr/bin
--Exec=/usr/bin/synergy
+-Exec=/usr/bin/deskflow
+Exec=
- Icon=synergy
+ Icon=deskflow
Terminal=false
Categories=Utility;
diff --git a/res/dist/linux/synergy.desktop b/res/dist/linux/deskflow.desktop
similarity index 78%
rename from res/dist/linux/synergy.desktop
rename to res/dist/linux/deskflow.desktop
index 6a62168d6..3142bc974 100644
--- a/res/dist/linux/synergy.desktop
+++ b/res/dist/linux/deskflow.desktop
@@ -1,11 +1,11 @@
[Desktop Entry]
Type=Application
Version=1.0
-Name=Synergy
+Name=Deskflow
Comment=Mouse and keyboard sharing utility
Path=/usr/bin
-Exec=/usr/bin/synergy
-Icon=synergy
+Exec=/usr/bin/deskflow
+Icon=deskflow
Terminal=false
Categories=Utility;
Keywords=keyboard;mouse;sharing;network;share;
diff --git a/res/dist/macos/bundle/Synergy.app/Contents/Info.plist.in b/res/dist/macos/bundle/Deskflow.app/Contents/Info.plist.in
similarity index 71%
rename from res/dist/macos/bundle/Synergy.app/Contents/Info.plist.in
rename to res/dist/macos/bundle/Deskflow.app/Contents/Info.plist.in
index 555c18d04..7f7298a59 100644
--- a/res/dist/macos/bundle/Synergy.app/Contents/Info.plist.in
+++ b/res/dist/macos/bundle/Deskflow.app/Contents/Info.plist.in
@@ -4,27 +4,27 @@
CFBundleDevelopmentRegion
English
CFBundleDisplayName
- Synergy
+ Deskflow
CFBundleExecutable
- synergy
+ deskflow
CFBundleIconFile
- Synergy.icns
+ Deskflow.icns
CFBundleIdentifier
- synergy
+ deskflow
CFBundleInfoDictionaryVersion
6.0
CFBundleName
- Synergy
+ Deskflow
CFBundlePackageType
APPL
CFBundleSignature
SYN1
CFBundleShortVersionString
- @SYNERGY_VERSION@
+ @DESKFLOW_VERSION@
CFBundleVersion
- @SYNERGY_VERSION@
+ @DESKFLOW_VERSION@
NSHumanReadableCopyright
- © 2012-@SYNERGY_BUILD_YEAR@ Symless Ltd
+ © 2012-@DESKFLOW_BUILD_YEAR@ Symless Ltd
LSMinimumSystemVersion
10.9.0
diff --git a/res/dist/macos/bundle/Deskflow.app/Contents/PkgInfo b/res/dist/macos/bundle/Deskflow.app/Contents/PkgInfo
new file mode 100644
index 000000000..8a95e2b34
--- /dev/null
+++ b/res/dist/macos/bundle/Deskflow.app/Contents/PkgInfo
@@ -0,0 +1 @@
+APPLDFLW
\ No newline at end of file
diff --git a/res/dist/macos/bundle/Synergy.app/Contents/Resources/.background.tiff b/res/dist/macos/bundle/Deskflow.app/Contents/Resources/.background.tiff
similarity index 100%
rename from res/dist/macos/bundle/Synergy.app/Contents/Resources/.background.tiff
rename to res/dist/macos/bundle/Deskflow.app/Contents/Resources/.background.tiff
diff --git a/res/dist/macos/bundle/Synergy.app/Contents/Resources/Synergy.icns b/res/dist/macos/bundle/Deskflow.app/Contents/Resources/Deskflow.icns
similarity index 100%
rename from res/dist/macos/bundle/Synergy.app/Contents/Resources/Synergy.icns
rename to res/dist/macos/bundle/Deskflow.app/Contents/Resources/Deskflow.icns
diff --git a/res/dist/macos/bundle/Synergy.app/Contents/Resources/VolumeIcon.icns b/res/dist/macos/bundle/Deskflow.app/Contents/Resources/VolumeIcon.icns
similarity index 100%
rename from res/dist/macos/bundle/Synergy.app/Contents/Resources/VolumeIcon.icns
rename to res/dist/macos/bundle/Deskflow.app/Contents/Resources/VolumeIcon.icns
diff --git a/res/dist/macos/bundle/Synergy.app/Contents/PkgInfo b/res/dist/macos/bundle/Synergy.app/Contents/PkgInfo
deleted file mode 100644
index 583e36af4..000000000
--- a/res/dist/macos/bundle/Synergy.app/Contents/PkgInfo
+++ /dev/null
@@ -1 +0,0 @@
-APPLSYN1
\ No newline at end of file
diff --git a/res/dist/wix/Synergy.sln b/res/dist/wix/Deskflow.sln
similarity index 89%
rename from res/dist/wix/Synergy.sln
rename to res/dist/wix/Deskflow.sln
index 5451972ba..3149f2081 100644
--- a/res/dist/wix/Synergy.sln
+++ b/res/dist/wix/Deskflow.sln
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29411.108
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Synergy", "Synergy.wixproj", "{D4BA9F39-6A35-4C8F-9CB2-67FCBE5CAB17}"
+Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Deskflow", "Deskflow.wixproj", "{D4BA9F39-6A35-4C8F-9CB2-67FCBE5CAB17}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/res/dist/wix/Synergy.wixproj b/res/dist/wix/Deskflow.wixproj
similarity index 76%
rename from res/dist/wix/Synergy.wixproj
rename to res/dist/wix/Deskflow.wixproj
index c3420922b..fc3b058d2 100644
--- a/res/dist/wix/Synergy.wixproj
+++ b/res/dist/wix/Deskflow.wixproj
@@ -4,18 +4,18 @@
3.11
{d4ba9f39-6a35-4c8f-9cb2-67fcbe5cab17}
2.0
- Synergy
+ Deskflow
Package
bin\$(Configuration)\
wix\obj\$(Configuration)\
-
-
-
-
-
-
+
+
+
+
+
+
@@ -36,4 +36,4 @@
-
\ No newline at end of file
+
diff --git a/res/dist/wix/SynergyBrowseDlg.wxs b/res/dist/wix/DeskflowBrowseDlg.wxs
similarity index 96%
rename from res/dist/wix/SynergyBrowseDlg.wxs
rename to res/dist/wix/DeskflowBrowseDlg.wxs
index 4751af4f9..1b3664b7d 100644
--- a/res/dist/wix/SynergyBrowseDlg.wxs
+++ b/res/dist/wix/DeskflowBrowseDlg.wxs
@@ -2,7 +2,7 @@
-
-
\ No newline at end of file
+
diff --git a/res/dist/wix/DeskflowDlgSequence.wxs b/res/dist/wix/DeskflowDlgSequence.wxs
new file mode 100644
index 000000000..7ec9e57a7
--- /dev/null
+++ b/res/dist/wix/DeskflowDlgSequence.wxs
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ "1"]]>
+
+ 1
+ NOT Installed
+
+ 1
+ Installed AND PATCH
+
+ 1
+ NOT WIXUI_DONTVALIDATEPATH
+ "1"]]>
+ WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"
+ 1
+ 1
+ 1
+
+ NOT Installed
+ Installed AND NOT PATCH
+ Installed AND PATCH
+
+ 1
+
+ 1
+ 1
+ 1
+
+
+
+
+
+
+
diff --git a/res/dist/wix/SynergyInstallDlg.wxs b/res/dist/wix/DeskflowInstallDlg.wxs
similarity index 85%
rename from res/dist/wix/SynergyInstallDlg.wxs
rename to res/dist/wix/DeskflowInstallDlg.wxs
index 358205ba2..e39f557ba 100644
--- a/res/dist/wix/SynergyInstallDlg.wxs
+++ b/res/dist/wix/DeskflowInstallDlg.wxs
@@ -2,8 +2,8 @@
-
-
+
+
@@ -12,7 +12,7 @@
-
+
@@ -21,4 +21,4 @@
-
\ No newline at end of file
+
diff --git a/res/dist/wix/SynergyMaintenanceTypeDlg.wxs b/res/dist/wix/DeskflowMaintenanceTypeDlg.wxs
similarity index 95%
rename from res/dist/wix/SynergyMaintenanceTypeDlg.wxs
rename to res/dist/wix/DeskflowMaintenanceTypeDlg.wxs
index 6e451a54c..5fb21c172 100644
--- a/res/dist/wix/SynergyMaintenanceTypeDlg.wxs
+++ b/res/dist/wix/DeskflowMaintenanceTypeDlg.wxs
@@ -13,8 +13,8 @@
-
-
+
+
1
ARPNOMODIFY
@@ -55,4 +55,4 @@
-
\ No newline at end of file
+
diff --git a/res/dist/wix/SynergyVerifyReadyDlg.wxs b/res/dist/wix/DeskflowVerifyReadyDlg.wxs
similarity index 98%
rename from res/dist/wix/SynergyVerifyReadyDlg.wxs
rename to res/dist/wix/DeskflowVerifyReadyDlg.wxs
index 4226df711..699716bc4 100644
--- a/res/dist/wix/SynergyVerifyReadyDlg.wxs
+++ b/res/dist/wix/DeskflowVerifyReadyDlg.wxs
@@ -3,7 +3,7 @@
-
+
NOT Installed AND ALLUSERS
NOT Installed
@@ -132,9 +132,9 @@
WixUI_InstallMode = "Remove"
-
+
-
\ No newline at end of file
+
diff --git a/res/dist/wix/SynergyWelcome.wxs b/res/dist/wix/DeskflowWelcome.wxs
similarity index 76%
rename from res/dist/wix/SynergyWelcome.wxs
rename to res/dist/wix/DeskflowWelcome.wxs
index f2b716320..4e6711046 100644
--- a/res/dist/wix/SynergyWelcome.wxs
+++ b/res/dist/wix/DeskflowWelcome.wxs
@@ -5,25 +5,25 @@
-
- welcome_background
+
+ welcome_background
-
+
Installed AND PATCH
1
-
+
- NOT Installed OR PATCH
+ NOT Installed OR PATCH
-
\ No newline at end of file
+
diff --git a/res/dist/wix/Include.wxi.in b/res/dist/wix/Include.wxi.in
index 90eaef6b6..1787e346a 100644
--- a/res/dist/wix/Include.wxi.in
+++ b/res/dist/wix/Include.wxi.in
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/res/dist/wix/Product.wxs b/res/dist/wix/Product.wxs
index 871b8643e..7e567c2a5 100644
--- a/res/dist/wix/Product.wxs
+++ b/res/dist/wix/Product.wxs
@@ -19,20 +19,20 @@
-
-
+
+
-
-
+
-
-
+
= 602)]]>
@@ -43,15 +43,15 @@
- common_background
+ common_background
-
+
-
+
-
+
@@ -59,7 +59,7 @@
-
+
@@ -77,18 +77,18 @@
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
+
@@ -98,9 +98,9 @@
-
-
-
+
+
+
@@ -147,8 +147,8 @@
-
+
-
\ No newline at end of file
+
diff --git a/res/dist/wix/SynergyDlgSequence.wxs b/res/dist/wix/SynergyDlgSequence.wxs
deleted file mode 100644
index 2b736202c..000000000
--- a/res/dist/wix/SynergyDlgSequence.wxs
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
- "1"]]>
-
- 1
- NOT Installed
-
- 1
- Installed AND PATCH
-
- 1
- NOT WIXUI_DONTVALIDATEPATH
- "1"]]>
- WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"
- 1
- 1
- 1
-
- NOT Installed
- Installed AND NOT PATCH
- Installed AND PATCH
-
- 1
-
- 1
- 1
- 1
-
-
-
-
-
-
-
diff --git a/res/doxygen.cfg.in b/res/doxygen.cfg.in
index ad7d18783..9f807e1fc 100644
--- a/res/doxygen.cfg.in
+++ b/res/doxygen.cfg.in
@@ -25,7 +25,7 @@ DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
-PROJECT_NAME = "Synergy"
+PROJECT_NAME = "Deskflow"
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
diff --git a/res/gui/Synergy.qrc b/res/gui/Deskflow.qrc
similarity index 69%
rename from res/gui/Synergy.qrc
rename to res/gui/Deskflow.qrc
index d4c70383e..69531fe3d 100644
--- a/res/gui/Synergy.qrc
+++ b/res/gui/Deskflow.qrc
@@ -1,15 +1,15 @@
- icons/16x16/synergy.png
+ icons/16x16/deskflow.png
icons/64x64/video-display.png
icons/64x64/user-trash.png
icons/16x16/warning.png
- icons/256x256/synergy.ico
+ icons/256x256/deskflow.ico
image/about-light.png
image/about-dark.png
icons/16x16/padlock.png
- icons/64x64/synergy-dark.png
- icons/64x64/synergy-light.png
+ icons/64x64/deskflow-dark.png
+ icons/64x64/deskflow-light.png
image/welcome.png
icons/64x64/folder.png
image/setup-blocker.png
diff --git a/res/gui/icons/16x16/synergy.png b/res/gui/icons/16x16/deskflow.png
similarity index 100%
rename from res/gui/icons/16x16/synergy.png
rename to res/gui/icons/16x16/deskflow.png
diff --git a/res/gui/icons/256x256/synergy.ico b/res/gui/icons/256x256/deskflow.ico
similarity index 100%
rename from res/gui/icons/256x256/synergy.ico
rename to res/gui/icons/256x256/deskflow.ico
diff --git a/res/gui/icons/64x64/synergy-dark.png b/res/gui/icons/64x64/deskflow-dark.png
similarity index 100%
rename from res/gui/icons/64x64/synergy-dark.png
rename to res/gui/icons/64x64/deskflow-dark.png
diff --git a/res/gui/icons/64x64/synergy-light.png b/res/gui/icons/64x64/deskflow-light.png
similarity index 100%
rename from res/gui/icons/64x64/synergy-light.png
rename to res/gui/icons/64x64/deskflow-light.png
diff --git a/res/gui/mac/Synergy.icns b/res/gui/mac/Deskflow.icns
similarity index 100%
rename from res/gui/mac/Synergy.icns
rename to res/gui/mac/Deskflow.icns
diff --git a/res/gui/mac/Info.plist b/res/gui/mac/Info.plist
index 8d19d8c98..4dd49d0fc 100644
--- a/res/gui/mac/Info.plist
+++ b/res/gui/mac/Info.plist
@@ -4,18 +4,18 @@
CFBundleDevelopmentRegion
English
CFBundleDisplayName
- Synergy
+ Deskflow
CFBundleExecutable
- Synergy
+ Deskflow
CFBundleIconFile
- Synergy.icns
+ Deskflow.icns
CFBundleIdentifier
- synergy
+ deskflow
CFBundleInfoDictionaryVersion
6.0
CFBundleName
- Synergy
+ Deskflow
CFBundlePackageType
APPL
CFBundleShortVersionString
diff --git a/res/gui/mac/QSynergy.icns b/res/gui/mac/QSynergy.icns
deleted file mode 100644
index 0d87c5a55..000000000
Binary files a/res/gui/mac/QSynergy.icns and /dev/null differ
diff --git a/res/gui/win/Deskflow.rc b/res/gui/win/Deskflow.rc
new file mode 100644
index 000000000..0526095c2
--- /dev/null
+++ b/res/gui/win/Deskflow.rc
@@ -0,0 +1 @@
+IDI_ICON1 ICON DISCARDABLE "../icons/256x256/deskflow.ico"
diff --git a/res/gui/win/Synergy.rc b/res/gui/win/Synergy.rc
deleted file mode 100644
index 62ec63d6c..000000000
--- a/res/gui/win/Synergy.rc
+++ /dev/null
@@ -1 +0,0 @@
-IDI_ICON1 ICON DISCARDABLE "../icons/256x256/synergy.ico"
diff --git a/res/openssl/synergy.conf b/res/openssl/deskflow.conf
similarity index 97%
rename from res/openssl/synergy.conf
rename to res/openssl/deskflow.conf
index f7fdff77e..c94260272 100644
--- a/res/openssl/synergy.conf
+++ b/res/openssl/deskflow.conf
@@ -1,5 +1,5 @@
#
-# Synergy OpenSSL configuration file.
+# Deskflow OpenSSL configuration file.
# Used for generation of certificate requests.
#
diff --git a/res/win/version.rc.in b/res/win/version.rc.in
index af7c63e2a..e770247ce 100644
--- a/res/win/version.rc.in
+++ b/res/win/version.rc.in
@@ -6,20 +6,20 @@ https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource?redi
#include
#include
-#define VER_FILEVERSION @SYNERGY_VERSION_MS_CSV@
-#define VER_FILEVERSION_STR "@SYNERGY_VERSION_MS@\0"
+#define VER_FILEVERSION @DESKFLOW_VERSION_MS_CSV@
+#define VER_FILEVERSION_STR "@DESKFLOW_VERSION_MS@\0"
-#define VER_PRODUCTVERSION @SYNERGY_VERSION_MS_CSV@
-#define VER_PRODUCTVERSION_STR "@SYNERGY_VERSION_MS@\0"
+#define VER_PRODUCTVERSION @DESKFLOW_VERSION_MS_CSV@
+#define VER_PRODUCTVERSION_STR "@DESKFLOW_VERSION_MS@\0"
#define VER_COMPANYNAME_STR "Symless\0"
-#define VER_FILEDESCRIPTION_STR "Synergy\0"
-#define VER_INTERNALNAME_STR "Synergy\0"
-#define VER_LEGALCOPYRIGHT_STR "Copyright (C) Symless Ltd. @SYNERGY_BUILD_YEAR@\0"
+#define VER_FILEDESCRIPTION_STR "Deskflow\0"
+#define VER_INTERNALNAME_STR "Deskflow\0"
+#define VER_LEGALCOPYRIGHT_STR "Copyright (C) Symless Ltd. @DESKFLOW_BUILD_YEAR@\0"
#define VER_LEGALTRADEMARKS1_STR "All Rights Reserved\0"
#define VER_LEGALTRADEMARKS2_STR "\0"
#define VER_ORIGINALFILENAME_STR "\0"
-#define VER_PRODUCTNAME_STR "Synergy\0"
+#define VER_PRODUCTNAME_STR "Deskflow\0"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
@@ -51,4 +51,4 @@ BEGIN
BEGIN
VALUE "Translation", 0x409, 1252
END
-END
\ No newline at end of file
+END
diff --git a/scripts/daemon.py b/scripts/daemon.py
index e0c2e8989..17873a9fa 100644
--- a/scripts/daemon.py
+++ b/scripts/daemon.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -25,12 +25,12 @@ import psutil # type: ignore
import lib.colors as colors
import lib.file_utils as file_utils
-DEFAULT_BIN_NAME = "synergyd"
+DEFAULT_BIN_NAME = "deskflowd"
DEFAULT_SOURCE_DIR = os.path.join("build", "temp", "bin")
DEFAULT_TARGET_DIR = os.path.join("build", "bin")
SERVICE_NOT_RUNNING_ERROR = 2
ERROR_ACCESS_VIOLATION = 0xC0000005
-IGNORE_PROCESSES = ["synergy.exe"]
+IGNORE_PROCESSES = ["deskflow.exe"]
class Context:
@@ -140,7 +140,7 @@ def stop(context, target_dir):
ensure_admin()
print("Stopping daemon service")
try:
- subprocess.run(["net", "stop", "synergy"], shell=True, check=True)
+ subprocess.run(["net", "stop", "deskflow"], shell=True, check=True)
except subprocess.CalledProcessError as e:
if e.returncode == SERVICE_NOT_RUNNING_ERROR:
print_verbose(context, "Daemon service not running")
@@ -154,7 +154,7 @@ def stop(context, target_dir):
def start():
ensure_admin()
print("Starting daemon service")
- subprocess.run(["net", "start", "synergy"], shell=True, check=True)
+ subprocess.run(["net", "start", "deskflow"], shell=True, check=True)
def wait_for_stop(context, target_dir):
diff --git a/scripts/fancy_copy.py b/scripts/fancy_copy.py
index 6ac500dbb..84d01cf71 100644
--- a/scripts/fancy_copy.py
+++ b/scripts/fancy_copy.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/install_deps.py b/scripts/install_deps.py
index 96611e079..7f13740f3 100755
--- a/scripts/install_deps.py
+++ b/scripts/install_deps.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/certificate.py b/scripts/lib/certificate.py
index 8abcc578c..927cbacb2 100644
--- a/scripts/lib/certificate.py
+++ b/scripts/lib/certificate.py
@@ -1,6 +1,6 @@
import os, base64
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/cmd_utils.py b/scripts/lib/cmd_utils.py
index 13c5365a1..26fbaa958 100644
--- a/scripts/lib/cmd_utils.py
+++ b/scripts/lib/cmd_utils.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/colors.py b/scripts/lib/colors.py
index 78237e96a..ff020aa44 100644
--- a/scripts/lib/colors.py
+++ b/scripts/lib/colors.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/config.py b/scripts/lib/config.py
index d106113f7..27d579043 100644
--- a/scripts/lib/config.py
+++ b/scripts/lib/config.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/env.py b/scripts/lib/env.py
index 6dba75040..46d90b908 100644
--- a/scripts/lib/env.py
+++ b/scripts/lib/env.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -240,7 +240,7 @@ def get_app_version():
"""
Returns the version either from the env var, or from the version file.
"""
- version = get_env("SYNERGY_VERSION", required=False)
+ version = get_env("DESKFLOW_VERSION", required=False)
if version:
return version
diff --git a/scripts/lib/file_utils.py b/scripts/lib/file_utils.py
index 4cb756c40..e6ba02e15 100644
--- a/scripts/lib/file_utils.py
+++ b/scripts/lib/file_utils.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/fs.py b/scripts/lib/fs.py
index 5aac7c9f6..0fde6e1f5 100644
--- a/scripts/lib/fs.py
+++ b/scripts/lib/fs.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/github.py b/scripts/lib/github.py
index abc6bda8e..b54015010 100644
--- a/scripts/lib/github.py
+++ b/scripts/lib/github.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/linux.py b/scripts/lib/linux.py
index 8ffb7e3d0..50c20ab4d 100644
--- a/scripts/lib/linux.py
+++ b/scripts/lib/linux.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -26,8 +26,8 @@ class PackageType(Enum):
dist_dir = "dist"
build_dir = "build"
-package_name = "synergy"
-test_cmd = "synergys --version"
+package_name = "deskflow"
+test_cmd = "deskflows --version"
def run_command(command, check=True):
@@ -140,19 +140,19 @@ def test_install(package_file, remove_test=True):
if "debian" in distro_like:
install_base = ["apt", "install", "-f", "-y"]
remove_base = ["apt", "remove", "-y"]
- list_cmd = ["dpkg", "-L", "synergy"]
+ list_cmd = ["dpkg", "-L", "deskflow"]
elif "fedora" in distro_like:
install_base = ["dnf", "install", "-y"]
remove_base = ["dnf", "remove", "-y"]
- list_cmd = ["rpm", "-ql", "synergy"]
+ list_cmd = ["rpm", "-ql", "deskflow"]
elif "opensuse" in distro_like:
install_base = ["zypper", "--no-gpg-checks", "install", "-y"]
remove_base = ["zypper", "remove", "-y"]
- list_cmd = ["rpm", "-ql", "synergy"]
+ list_cmd = ["rpm", "-ql", "deskflow"]
elif "arch" in distro_like:
install_base = ["pacman", "-U", "--noconfirm"]
remove_base = ["pacman", "-R", "--noconfirm"]
- list_cmd = ["pacman", "-Ql", "synergy"]
+ list_cmd = ["pacman", "-Ql", "deskflow"]
else:
raise RuntimeError(f"Linux distro not yet supported: {distro}")
diff --git a/scripts/lib/mac.py b/scripts/lib/mac.py
index e788121f6..ac6cd8624 100644
--- a/scripts/lib/mac.py
+++ b/scripts/lib/mac.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -24,9 +24,9 @@ notary_user_env = "APPLE_NOTARY_USER"
codesign_env = "APPLE_CODESIGN_ID"
shell_rc = "~/.zshrc"
dist_dir = "dist"
-product_name = "Synergy 1"
+product_name = "Deskflow"
settings_file = "res/dist/macos/dmgbuild/settings.py"
-app_path = "build/bundle/Synergy.app"
+app_path = "build/bundle/Deskflow.app"
security_path = "/usr/bin/security"
sudo_path = "/usr/bin/sudo"
notarytool_path = "/usr/bin/notarytool"
diff --git a/scripts/lib/meson.py b/scripts/lib/meson.py
index 77f660d02..9b3fb7ef6 100644
--- a/scripts/lib/meson.py
+++ b/scripts/lib/meson.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/qt_utils.py b/scripts/lib/qt_utils.py
index 97ca4ba5c..ca830f638 100644
--- a/scripts/lib/qt_utils.py
+++ b/scripts/lib/qt_utils.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/vcpkg.py b/scripts/lib/vcpkg.py
index ed30fc27b..9b735c20a 100644
--- a/scripts/lib/vcpkg.py
+++ b/scripts/lib/vcpkg.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lib/windows.py b/scripts/lib/windows.py
index ffd1cff35..163f9af48 100644
--- a/scripts/lib/windows.py
+++ b/scripts/lib/windows.py
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -26,8 +26,8 @@ CERTUTIL_CMD = "certutil"
RUNNER_TEMP_ENV = "RUNNER_TEMP"
DIST_DIR = "dist"
BUILD_DIR = "build"
-WIX_FILE = f"{BUILD_DIR}/installer/Synergy.sln"
-MSI_FILE = f"{BUILD_DIR}/installer/bin/Release/Synergy.msi"
+WIX_FILE = f"{BUILD_DIR}/installer/Deskflow.sln"
+MSI_FILE = f"{BUILD_DIR}/installer/bin/Release/Deskflow.msi"
def run_elevated(script, args=None, use_sys_argv=True, wait_for_exit=False):
diff --git a/scripts/lint_clang.py b/scripts/lint_clang.py
index 2b5ad77d7..b374b5cd9 100755
--- a/scripts/lint_clang.py
+++ b/scripts/lint_clang.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/lint_cmake.py b/scripts/lint_cmake.py
index 86aedbc40..cdba81eef 100755
--- a/scripts/lint_cmake.py
+++ b/scripts/lint_cmake.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/scripts/package.py b/scripts/package.py
index 6a073a3f7..303fc2a29 100755
--- a/scripts/package.py
+++ b/scripts/package.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@ from lib.linux import PackageType
from dotenv import load_dotenv # type: ignore
env_file = ".env"
-default_package_prefix = "synergy"
+default_package_prefix = "deskflow"
def main():
@@ -56,7 +56,9 @@ def main():
def get_filename_base(version, use_linux_distro=True):
os = env.get_os()
machine = platform.machine().lower()
- package_base = env.get_env("SYNERGY_PACKAGE_PREFIX", default=default_package_prefix)
+ package_base = env.get_env(
+ "DESKFLOW_PACKAGE_PREFIX", default=default_package_prefix
+ )
os_part = os
if os == "linux" and use_linux_distro:
diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml
index 197d5baa1..4fb0d669a 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -1,7 +1,7 @@
[project]
name = "scripts"
version = "0.0.1"
-description = "Scripts to assist with development of Synergy"
+description = "Scripts to assist with development of Deskflow"
requires-python = ">=3.9"
dependencies = [
"cmake_format",
diff --git a/scripts/tests.py b/scripts/tests.py
index 801b0cee0..411db37b8 100755
--- a/scripts/tests.py
+++ b/scripts/tests.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 08919fd96..338b10908 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
diff --git a/src/cmd/CMakeLists.txt b/src/cmd/CMakeLists.txt
index 69026a477..8b1ea36f1 100644
--- a/src/cmd/CMakeLists.txt
+++ b/src/cmd/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -14,13 +14,13 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-add_subdirectory(synergyd)
+add_subdirectory(deskflowd)
if(BUILD_UNIFIED)
- add_subdirectory(synergy-core)
+ add_subdirectory(deskflow-core)
else()
- add_subdirectory(synergyc)
- add_subdirectory(synergys)
+ add_subdirectory(deskflowc)
+ add_subdirectory(deskflows)
endif(BUILD_UNIFIED)
-add_subdirectory(syntool)
+add_subdirectory(deskflow-legacy)
diff --git a/src/cmd/synergy-core/CMakeLists.txt b/src/cmd/deskflow-core/CMakeLists.txt
similarity index 87%
rename from src/cmd/synergy-core/CMakeLists.txt
rename to src/cmd/deskflow-core/CMakeLists.txt
index caf53c8ea..09ba27ef6 100644
--- a/src/cmd/synergy-core/CMakeLists.txt
+++ b/src/cmd/deskflow-core/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-set(target synergy-core)
+set(target deskflow-core)
set(sources ${target}.cpp)
@@ -34,11 +34,11 @@ target_link_libraries(
ipc
platform
server
- synlib
+ app
${libs})
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- install(TARGETS ${target} DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR})
+ install(TARGETS ${target} DESTINATION ${DESKFLOW_BUNDLE_BINARY_DIR})
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(TARGETS ${target} DESTINATION bin)
endif()
diff --git a/src/cmd/synergy-core/synergy-core.cpp b/src/cmd/deskflow-core/deskflow-core.cpp
similarity index 79%
rename from src/cmd/synergy-core/synergy-core.cpp
rename to src/cmd/deskflow-core/deskflow-core.cpp
index 0bda69b67..e5e434108 100644
--- a/src/cmd/synergy-core/synergy-core.cpp
+++ b/src/cmd/deskflow-core/deskflow-core.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,8 +18,8 @@
#include "arch/Arch.h"
#include "base/EventQueue.h"
#include "base/Log.h"
-#include "synergy/ClientApp.h"
-#include "synergy/ServerApp.h"
+#include "deskflow/ClientApp.h"
+#include "deskflow/ServerApp.h"
#include
#if SYSAPI_WIN32
@@ -27,11 +27,11 @@
#endif
void showHelp() {
- std::cout << "Usage: synergy-core [...options]"
+ std::cout << "Usage: deskflow-core [...options]"
<< std::endl;
- std::cout << "server - start as a server (synergys)" << std::endl;
- std::cout << "client - start as a client (synergyc)" << std::endl;
- std::cout << "use synergy-core --help for more information."
+ std::cout << "server - start as a server (deskflows)" << std::endl;
+ std::cout << "client - start as a client (deskflowc)" << std::endl;
+ std::cout << "use deskflow-core --help for more information."
<< std::endl;
}
diff --git a/src/cmd/synergy-core/synergy-core.exe.manifest b/src/cmd/deskflow-core/deskflow-core.exe.manifest
similarity index 100%
rename from src/cmd/synergy-core/synergy-core.exe.manifest
rename to src/cmd/deskflow-core/deskflow-core.exe.manifest
diff --git a/src/cmd/syntool/CMakeLists.txt b/src/cmd/deskflow-legacy/CMakeLists.txt
similarity index 87%
rename from src/cmd/syntool/CMakeLists.txt
rename to src/cmd/deskflow-legacy/CMakeLists.txt
index 701db0c62..e3051748e 100644
--- a/src/cmd/syntool/CMakeLists.txt
+++ b/src/cmd/deskflow-legacy/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-set(target syntool)
+set(target deskflow-legacy)
file(GLOB headers "*.h")
file(GLOB sources "*.cpp")
@@ -26,7 +26,7 @@ endif()
add_executable(${target} ${sources})
target_link_libraries(
${target}
- synlib
+ app
arch
base
client
@@ -39,7 +39,7 @@ target_link_libraries(
${libs})
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- install(TARGETS ${target} DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR})
+ install(TARGETS ${target} DESTINATION ${DESKFLOW_BUNDLE_BINARY_DIR})
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(TARGETS ${target} DESTINATION bin)
endif()
diff --git a/src/cmd/syntool/syntool.cpp b/src/cmd/deskflow-legacy/deskflow-legacy.cpp
similarity index 92%
rename from src/cmd/syntool/syntool.cpp
rename to src/cmd/deskflow-legacy/deskflow-legacy.cpp
index d813c7ba2..70e68a178 100644
--- a/src/cmd/syntool/syntool.cpp
+++ b/src/cmd/deskflow-legacy/deskflow-legacy.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -16,7 +16,7 @@
*/
#include "arch/Arch.h"
-#include "synergy/ToolApp.h"
+#include "deskflow/ToolApp.h"
#if SYSAPI_WIN32
#include "arch/win32/ArchMiscWindows.h"
diff --git a/src/cmd/synergyc/.gitignore b/src/cmd/deskflowc/.gitignore
similarity index 100%
rename from src/cmd/synergyc/.gitignore
rename to src/cmd/deskflowc/.gitignore
diff --git a/src/cmd/synergyc/CMakeLists.txt b/src/cmd/deskflowc/CMakeLists.txt
similarity index 91%
rename from src/cmd/synergyc/CMakeLists.txt
rename to src/cmd/deskflowc/CMakeLists.txt
index f728adcc1..0480223cd 100644
--- a/src/cmd/synergyc/CMakeLists.txt
+++ b/src/cmd/deskflowc/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-set(target synergyc)
+set(target deskflowc)
set(sources ${target}.cpp)
@@ -60,11 +60,11 @@ target_link_libraries(
ipc
platform
server
- synlib
+ app
${libs})
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- install(TARGETS ${target} DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR})
+ install(TARGETS ${target} DESTINATION ${DESKFLOW_BUNDLE_BINARY_DIR})
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(TARGETS ${target} DESTINATION bin)
endif()
diff --git a/src/cmd/synergyc/MSWindowsClientTaskBarReceiver.cpp b/src/cmd/deskflowc/MSWindowsClientTaskBarReceiver.cpp
similarity index 99%
rename from src/cmd/synergyc/MSWindowsClientTaskBarReceiver.cpp
rename to src/cmd/deskflowc/MSWindowsClientTaskBarReceiver.cpp
index 6b87c4b86..2f0a3b10b 100644
--- a/src/cmd/synergyc/MSWindowsClientTaskBarReceiver.cpp
+++ b/src/cmd/deskflowc/MSWindowsClientTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -315,10 +315,10 @@ IArchTaskBarReceiver *createTaskBarReceiver(
const BufferedLogOutputter *logBuffer, IEventQueue *events) {
ArchMiscWindows::setIcons(
(HICON)LoadImage(
- ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_SYNERGY),
+ ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_DESKFLOW),
IMAGE_ICON, 32, 32, LR_SHARED),
(HICON)LoadImage(
- ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_SYNERGY),
+ ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_DESKFLOW),
IMAGE_ICON, 16, 16, LR_SHARED));
return new MSWindowsClientTaskBarReceiver(
diff --git a/src/cmd/synergyc/MSWindowsClientTaskBarReceiver.h b/src/cmd/deskflowc/MSWindowsClientTaskBarReceiver.h
similarity index 95%
rename from src/cmd/synergyc/MSWindowsClientTaskBarReceiver.h
rename to src/cmd/deskflowc/MSWindowsClientTaskBarReceiver.h
index e952685eb..090a0cced 100644
--- a/src/cmd/synergyc/MSWindowsClientTaskBarReceiver.h
+++ b/src/cmd/deskflowc/MSWindowsClientTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/ClientTaskBarReceiver.h"
+#include "deskflow/ClientTaskBarReceiver.h"
#define WIN32_LEAN_AND_MEAN
#include
diff --git a/src/cmd/synergyc/OSXClientTaskBarReceiver.cpp b/src/cmd/deskflowc/OSXClientTaskBarReceiver.cpp
similarity index 96%
rename from src/cmd/synergyc/OSXClientTaskBarReceiver.cpp
rename to src/cmd/deskflowc/OSXClientTaskBarReceiver.cpp
index 424a27564..bbd8e12e5 100644
--- a/src/cmd/synergyc/OSXClientTaskBarReceiver.cpp
+++ b/src/cmd/deskflowc/OSXClientTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/cmd/synergyc/OSXClientTaskBarReceiver.h b/src/cmd/deskflowc/OSXClientTaskBarReceiver.h
similarity index 92%
rename from src/cmd/synergyc/OSXClientTaskBarReceiver.h
rename to src/cmd/deskflowc/OSXClientTaskBarReceiver.h
index 49d1c169d..31e3d971f 100644
--- a/src/cmd/synergyc/OSXClientTaskBarReceiver.h
+++ b/src/cmd/deskflowc/OSXClientTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/ClientTaskBarReceiver.h"
+#include "deskflow/ClientTaskBarReceiver.h"
class BufferedLogOutputter;
class IEventQueue;
diff --git a/src/cmd/synergyc/XWindowsClientTaskBarReceiver.cpp b/src/cmd/deskflowc/XWindowsClientTaskBarReceiver.cpp
similarity index 96%
rename from src/cmd/synergyc/XWindowsClientTaskBarReceiver.cpp
rename to src/cmd/deskflowc/XWindowsClientTaskBarReceiver.cpp
index 0c124e536..0f45b919d 100644
--- a/src/cmd/synergyc/XWindowsClientTaskBarReceiver.cpp
+++ b/src/cmd/deskflowc/XWindowsClientTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
diff --git a/src/cmd/synergyc/XWindowsClientTaskBarReceiver.h b/src/cmd/deskflowc/XWindowsClientTaskBarReceiver.h
similarity index 94%
rename from src/cmd/synergyc/XWindowsClientTaskBarReceiver.h
rename to src/cmd/deskflowc/XWindowsClientTaskBarReceiver.h
index f38ee596e..91fa3d189 100644
--- a/src/cmd/synergyc/XWindowsClientTaskBarReceiver.h
+++ b/src/cmd/deskflowc/XWindowsClientTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/ClientTaskBarReceiver.h"
+#include "deskflow/ClientTaskBarReceiver.h"
class BufferedLogOutputter;
class IEventQueue;
diff --git a/src/cmd/synergyc/synergyc.exe.manifest b/src/cmd/deskflowc/deskflow.exe.manifest
similarity index 100%
rename from src/cmd/synergyc/synergyc.exe.manifest
rename to src/cmd/deskflowc/deskflow.exe.manifest
diff --git a/src/cmd/synergyc/synergyc.cpp b/src/cmd/deskflowc/deskflowc.cpp
similarity index 94%
rename from src/cmd/synergyc/synergyc.cpp
rename to src/cmd/deskflowc/deskflowc.cpp
index 137b07e2a..f0d162125 100644
--- a/src/cmd/synergyc/synergyc.cpp
+++ b/src/cmd/deskflowc/deskflowc.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,7 +19,7 @@
#include "arch/Arch.h"
#include "base/EventQueue.h"
#include "base/Log.h"
-#include "synergy/ClientApp.h"
+#include "deskflow/ClientApp.h"
#if SYSAPI_WIN32
#include "arch/win32/ArchMiscWindows.h"
diff --git a/src/cmd/synergyc/synergyc.ico b/src/cmd/deskflowc/deskflowc.ico
similarity index 100%
rename from src/cmd/synergyc/synergyc.ico
rename to src/cmd/deskflowc/deskflowc.ico
diff --git a/src/cmd/synergyc/synergyc.rc b/src/cmd/deskflowc/deskflowc.rc
similarity index 92%
rename from src/cmd/synergyc/synergyc.rc
rename to src/cmd/deskflowc/deskflowc.rc
index 7f2a5dc1c..109c0336a 100644
--- a/src/cmd/synergyc/synergyc.rc
+++ b/src/cmd/deskflowc/deskflowc.rc
@@ -57,7 +57,7 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
-IDI_SYNERGY ICON DISCARDABLE "synergyc.ico"
+IDI_DESKFLOW ICON DISCARDABLE "deskflowc.ico"
IDI_TASKBAR_NOT_RUNNING ICON DISCARDABLE "tb_idle.ico"
IDI_TASKBAR_NOT_WORKING ICON DISCARDABLE "tb_error.ico"
IDI_TASKBAR_NOT_CONNECTED ICON DISCARDABLE "tb_wait.ico"
@@ -84,7 +84,7 @@ END
IDR_TASKBAR MENU DISCARDABLE
BEGIN
- POPUP "Synergy"
+ POPUP "Deskflow"
BEGIN
MENUITEM "Show Status", IDC_TASKBAR_STATUS
MENUITEM "Show Log", IDC_TASKBAR_SHOW_LOG
@@ -119,8 +119,8 @@ END
STRINGTABLE DISCARDABLE
BEGIN
- IDS_FAILED "Synergy is about to quit with errors or warnings. Please check the log then click OK."
- IDS_INIT_FAILED "Synergy failed to initialize: %{1}"
+ IDS_FAILED "Deskflow is about to quit with errors or warnings. Please check the log then click OK."
+ IDS_INIT_FAILED "Deskflow failed to initialize: %{1}"
IDS_UNCAUGHT_EXCEPTION "Uncaught exception: %{1}"
END
diff --git a/src/cmd/synergyc/resource.h b/src/cmd/deskflowc/resource.h
similarity index 95%
rename from src/cmd/synergyc/resource.h
rename to src/cmd/deskflowc/resource.h
index a21e9c048..645de76a7 100644
--- a/src/cmd/synergyc/resource.h
+++ b/src/cmd/deskflowc/resource.h
@@ -1,11 +1,11 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
-// Used by synergyc.rc
+// Used by deskflowc.rc
//
#define IDS_FAILED 1
#define IDS_INIT_FAILED 2
#define IDS_UNCAUGHT_EXCEPTION 3
-#define IDI_SYNERGY 101
+#define IDI_DESKFLOW 101
#define IDI_TASKBAR_NOT_RUNNING 102
#define IDI_TASKBAR_NOT_WORKING 103
#define IDI_TASKBAR_NOT_CONNECTED 104
diff --git a/src/cmd/synergyc/tb_error.ico b/src/cmd/deskflowc/tb_error.ico
similarity index 100%
rename from src/cmd/synergyc/tb_error.ico
rename to src/cmd/deskflowc/tb_error.ico
diff --git a/src/cmd/synergyc/tb_idle.ico b/src/cmd/deskflowc/tb_idle.ico
similarity index 100%
rename from src/cmd/synergyc/tb_idle.ico
rename to src/cmd/deskflowc/tb_idle.ico
diff --git a/src/cmd/synergyc/tb_run.ico b/src/cmd/deskflowc/tb_run.ico
similarity index 100%
rename from src/cmd/synergyc/tb_run.ico
rename to src/cmd/deskflowc/tb_run.ico
diff --git a/src/cmd/synergyc/tb_wait.ico b/src/cmd/deskflowc/tb_wait.ico
similarity index 100%
rename from src/cmd/synergyc/tb_wait.ico
rename to src/cmd/deskflowc/tb_wait.ico
diff --git a/src/cmd/synergyd/CMakeLists.txt b/src/cmd/deskflowd/CMakeLists.txt
similarity index 92%
rename from src/cmd/synergyd/CMakeLists.txt
rename to src/cmd/deskflowd/CMakeLists.txt
index 8e92f5939..b63a49124 100644
--- a/src/cmd/synergyd/CMakeLists.txt
+++ b/src/cmd/deskflowd/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-set(target synergyd)
+set(target deskflowd)
file(GLOB headers "*.h")
file(GLOB sources "*.cpp")
@@ -34,7 +34,7 @@ target_link_libraries(
mt
net
platform
- synlib
+ app
license
${libs})
diff --git a/src/cmd/synergyd/synergyd.cpp b/src/cmd/deskflowd/deskflowd.cpp
similarity index 92%
rename from src/cmd/synergyd/synergyd.cpp
rename to src/cmd/deskflowd/deskflowd.cpp
index 446ee3717..42b2b266f 100644
--- a/src/cmd/synergyd/synergyd.cpp
+++ b/src/cmd/deskflowd/deskflowd.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/DaemonApp.h"
+#include "deskflow/DaemonApp.h"
#include
diff --git a/src/cmd/synergys/.gitignore b/src/cmd/deskflows/.gitignore
similarity index 100%
rename from src/cmd/synergys/.gitignore
rename to src/cmd/deskflows/.gitignore
diff --git a/src/cmd/synergys/CMakeLists.txt b/src/cmd/deskflows/CMakeLists.txt
similarity index 91%
rename from src/cmd/synergys/CMakeLists.txt
rename to src/cmd/deskflows/CMakeLists.txt
index 5e3908c3c..13a8ddfca 100644
--- a/src/cmd/synergys/CMakeLists.txt
+++ b/src/cmd/deskflows/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-set(target synergys)
+set(target deskflows)
set(sources ${target}.cpp)
@@ -60,11 +60,11 @@ target_link_libraries(
ipc
platform
server
- synlib
+ app
${libs})
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- install(TARGETS ${target} DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR})
+ install(TARGETS ${target} DESTINATION ${DESKFLOW_BUNDLE_BINARY_DIR})
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(TARGETS ${target} DESTINATION bin)
endif()
diff --git a/src/cmd/synergys/MSWindowsServerTaskBarReceiver.cpp b/src/cmd/deskflows/MSWindowsServerTaskBarReceiver.cpp
similarity index 98%
rename from src/cmd/synergys/MSWindowsServerTaskBarReceiver.cpp
rename to src/cmd/deskflows/MSWindowsServerTaskBarReceiver.cpp
index b54737e91..ec1d762f1 100644
--- a/src/cmd/synergys/MSWindowsServerTaskBarReceiver.cpp
+++ b/src/cmd/deskflows/MSWindowsServerTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -185,7 +185,7 @@ void MSWindowsServerTaskBarReceiver::runMenu(int x, int y) {
m_events->getSystemTarget()));
break;
- case ID_SYNERGY_RESETSERVER:
+ case ID_DESKFLOW_RESETSERVER:
m_events->addEvent(Event(
m_events->forServerApp().resetServer(), m_events->getSystemTarget()));
break;
@@ -348,10 +348,10 @@ IArchTaskBarReceiver *createTaskBarReceiver(
const BufferedLogOutputter *logBuffer, IEventQueue *events) {
ArchMiscWindows::setIcons(
(HICON)LoadImage(
- ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_SYNERGY),
+ ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_DESKFLOW),
IMAGE_ICON, 32, 32, LR_SHARED),
(HICON)LoadImage(
- ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_SYNERGY),
+ ArchMiscWindows::instanceWin32(), MAKEINTRESOURCE(IDI_DESKFLOW),
IMAGE_ICON, 16, 16, LR_SHARED));
return new MSWindowsServerTaskBarReceiver(
diff --git a/src/cmd/synergys/MSWindowsServerTaskBarReceiver.h b/src/cmd/deskflows/MSWindowsServerTaskBarReceiver.h
similarity index 95%
rename from src/cmd/synergys/MSWindowsServerTaskBarReceiver.h
rename to src/cmd/deskflows/MSWindowsServerTaskBarReceiver.h
index d5f544f05..4b0d1484d 100644
--- a/src/cmd/synergys/MSWindowsServerTaskBarReceiver.h
+++ b/src/cmd/deskflows/MSWindowsServerTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/ServerTaskBarReceiver.h"
+#include "deskflow/ServerTaskBarReceiver.h"
#define WIN32_LEAN_AND_MEAN
#include
diff --git a/src/cmd/synergys/OSXServerTaskBarReceiver.cpp b/src/cmd/deskflows/OSXServerTaskBarReceiver.cpp
similarity index 96%
rename from src/cmd/synergys/OSXServerTaskBarReceiver.cpp
rename to src/cmd/deskflows/OSXServerTaskBarReceiver.cpp
index ab4311c22..3dc8684b9 100644
--- a/src/cmd/synergys/OSXServerTaskBarReceiver.cpp
+++ b/src/cmd/deskflows/OSXServerTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/cmd/synergys/OSXServerTaskBarReceiver.h b/src/cmd/deskflows/OSXServerTaskBarReceiver.h
similarity index 92%
rename from src/cmd/synergys/OSXServerTaskBarReceiver.h
rename to src/cmd/deskflows/OSXServerTaskBarReceiver.h
index b95702d3c..c2c4a6402 100644
--- a/src/cmd/synergys/OSXServerTaskBarReceiver.h
+++ b/src/cmd/deskflows/OSXServerTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/ServerTaskBarReceiver.h"
+#include "deskflow/ServerTaskBarReceiver.h"
class BufferedLogOutputter;
diff --git a/src/cmd/synergys/XWindowsServerTaskBarReceiver.cpp b/src/cmd/deskflows/XWindowsServerTaskBarReceiver.cpp
similarity index 96%
rename from src/cmd/synergys/XWindowsServerTaskBarReceiver.cpp
rename to src/cmd/deskflows/XWindowsServerTaskBarReceiver.cpp
index 124f7a96d..64212cee9 100644
--- a/src/cmd/synergys/XWindowsServerTaskBarReceiver.cpp
+++ b/src/cmd/deskflows/XWindowsServerTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
diff --git a/src/cmd/synergys/XWindowsServerTaskBarReceiver.h b/src/cmd/deskflows/XWindowsServerTaskBarReceiver.h
similarity index 94%
rename from src/cmd/synergys/XWindowsServerTaskBarReceiver.h
rename to src/cmd/deskflows/XWindowsServerTaskBarReceiver.h
index 35a8f18cd..54c5d7746 100644
--- a/src/cmd/synergys/XWindowsServerTaskBarReceiver.h
+++ b/src/cmd/deskflows/XWindowsServerTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/ServerTaskBarReceiver.h"
+#include "deskflow/ServerTaskBarReceiver.h"
class BufferedLogOutputter;
class IEventQueue;
diff --git a/src/cmd/synergys/synergys.cpp b/src/cmd/deskflows/deskflows.cpp
similarity index 94%
rename from src/cmd/synergys/synergys.cpp
rename to src/cmd/deskflows/deskflows.cpp
index 65d67ced3..931395066 100644
--- a/src/cmd/synergys/synergys.cpp
+++ b/src/cmd/deskflows/deskflows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,7 +19,7 @@
#include "arch/Arch.h"
#include "base/EventQueue.h"
#include "base/Log.h"
-#include "synergy/ServerApp.h"
+#include "deskflow/ServerApp.h"
#if SYSAPI_WIN32
#include "arch/win32/ArchMiscWindows.h"
diff --git a/src/cmd/synergys/synergys.exe.manifest b/src/cmd/deskflows/deskflows.exe.manifest
similarity index 100%
rename from src/cmd/synergys/synergys.exe.manifest
rename to src/cmd/deskflows/deskflows.exe.manifest
diff --git a/src/cmd/synergys/synergys.ico b/src/cmd/deskflows/deskflows.ico
similarity index 100%
rename from src/cmd/synergys/synergys.ico
rename to src/cmd/deskflows/deskflows.ico
diff --git a/src/cmd/synergys/synergys.rc b/src/cmd/deskflows/deskflows.rc
similarity index 88%
rename from src/cmd/synergys/synergys.rc
rename to src/cmd/deskflows/deskflows.rc
index 860d6f548..386de1328 100644
--- a/src/cmd/synergys/synergys.rc
+++ b/src/cmd/deskflows/deskflows.rc
@@ -54,7 +54,7 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
-IDI_SYNERGY ICON "synergys.ico"
+IDI_DESKFLOW ICON "deskflows.ico"
IDI_TASKBAR_NOT_RUNNING ICON "tb_idle.ico"
IDI_TASKBAR_NOT_WORKING ICON "tb_error.ico"
IDI_TASKBAR_NOT_CONNECTED ICON "tb_wait.ico"
@@ -67,7 +67,7 @@ IDI_TASKBAR_CONNECTED ICON "tb_run.ico"
IDR_TASKBAR MENU
BEGIN
- POPUP "Synergy"
+ POPUP "Deskflow"
BEGIN
MENUITEM "Show Status", IDC_TASKBAR_STATUS
MENUITEM "Show Log", IDC_TASKBAR_SHOW_LOG
@@ -84,7 +84,7 @@ BEGIN
END
MENUITEM "Reload Configuration", IDC_RELOAD_CONFIG
MENUITEM "Force Reconnect", IDC_FORCE_RECONNECT
- MENUITEM "Reset Server", ID_SYNERGY_RESETSERVER
+ MENUITEM "Reset Server", ID_DESKFLOW_RESETSERVER
MENUITEM SEPARATOR
MENUITEM "Quit", IDC_TASKBAR_QUIT
END
@@ -112,8 +112,8 @@ END
STRINGTABLE
BEGIN
- IDS_FAILED "Synergy is about to quit with errors or warnings. Please check the log then click OK."
- IDS_INIT_FAILED "Synergy failed to initialize: %{1}"
+ IDS_FAILED "Deskflow is about to quit with errors or warnings. Please check the log then click OK."
+ IDS_INIT_FAILED "Deskflow failed to initialize: %{1}"
IDS_UNCAUGHT_EXCEPTION "Uncaught exception: %{1}"
END
diff --git a/src/cmd/synergys/resource.h b/src/cmd/deskflows/resource.h
similarity index 90%
rename from src/cmd/synergys/resource.h
rename to src/cmd/deskflows/resource.h
index 2d098c7c1..0c4c0b349 100644
--- a/src/cmd/synergys/resource.h
+++ b/src/cmd/deskflows/resource.h
@@ -1,11 +1,11 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by synergys.rc
+// Used by deskflows.rc
//
#define IDS_FAILED 1
#define IDS_INIT_FAILED 2
#define IDS_UNCAUGHT_EXCEPTION 3
-#define IDI_SYNERGY 101
+#define IDI_DESKFLOW 101
#define IDI_TASKBAR_NOT_RUNNING 102
#define IDI_TASKBAR_NOT_WORKING 103
#define IDI_TASKBAR_NOT_CONNECTED 104
@@ -27,8 +27,8 @@
#define IDC_TASKBAR_LOG_LEVEL_DEBUG 40013
#define IDC_TASKBAR_LOG_LEVEL_DEBUG1 40014
#define IDC_TASKBAR_LOG_LEVEL_DEBUG2 40015
-#define ID_SYNERGY_RELOADSYSTEM 40016
-#define ID_SYNERGY_RESETSERVER 40017
+#define ID_DESKFLOW_RELOADSYSTEM 40016
+#define ID_DESKFLOW_RESETSERVER 40017
// Next default values for new objects
//
diff --git a/src/cmd/synergys/tb_error.ico b/src/cmd/deskflows/tb_error.ico
similarity index 100%
rename from src/cmd/synergys/tb_error.ico
rename to src/cmd/deskflows/tb_error.ico
diff --git a/src/cmd/synergys/tb_idle.ico b/src/cmd/deskflows/tb_idle.ico
similarity index 100%
rename from src/cmd/synergys/tb_idle.ico
rename to src/cmd/deskflows/tb_idle.ico
diff --git a/src/cmd/synergys/tb_run.ico b/src/cmd/deskflows/tb_run.ico
similarity index 100%
rename from src/cmd/synergys/tb_run.ico
rename to src/cmd/deskflows/tb_run.ico
diff --git a/src/cmd/synergys/tb_wait.ico b/src/cmd/deskflows/tb_wait.ico
similarity index 100%
rename from src/cmd/synergys/tb_wait.ico
rename to src/cmd/deskflows/tb_wait.ico
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 862d85d04..163803675 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-set(target synergy)
+set(target deskflow)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
@@ -21,7 +21,7 @@ set(CMAKE_AUTOUIC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(res_dir ${CMAKE_SOURCE_DIR}/res/gui)
-set(qrc_file ${res_dir}/Synergy.qrc)
+set(qrc_file ${res_dir}/Deskflow.qrc)
file(
GLOB
@@ -33,7 +33,7 @@ file(
file(GLOB ui_files src/*.ui)
if(WIN32)
- set(rc_files ${res_dir}/win/Synergy.rc ${CMAKE_BINARY_DIR}/src/version.rc)
+ set(rc_files ${res_dir}/win/Deskflow.rc ${CMAKE_BINARY_DIR}/src/version.rc)
endif()
add_executable(${target} WIN32 ${sources} ${ui_files} ${rc_files} ${qrc_file})
@@ -54,9 +54,9 @@ target_link_libraries(
Qt6::Network)
target_compile_definitions(
- ${target} PRIVATE -DSYNERGY_VERSION_STAGE="${SYNERGY_VERSION_STAGE}")
+ ${target} PRIVATE -DDESKFLOW_VERSION_STAGE="${DESKFLOW_VERSION_STAGE}")
target_compile_definitions(${target}
- PRIVATE -DSYNERGY_REVISION="${SYNERGY_REVISION}")
+ PRIVATE -DDESKFLOW_REVISION="${DESKFLOW_REVISION}")
if(WIN32)
set_target_properties(${target} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
@@ -68,9 +68,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
message(STATUS "Found macdeployqt6: ${MACDEPLOYQT_BIN}")
set(MACDEPLOYQT_CMD
- "${MACDEPLOYQT_BIN} ${SYNERGY_BUNDLE_APP_DIR} -always-overwrite")
+ "${MACDEPLOYQT_BIN} ${DESKFLOW_BUNDLE_APP_DIR} -always-overwrite")
- install(TARGETS ${target} DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR})
+ install(TARGETS ${target} DESTINATION ${DESKFLOW_BUNDLE_BINARY_DIR})
install(CODE "MESSAGE (\"Running: ${MACDEPLOYQT_CMD}\")")
install(CODE "execute_process(COMMAND ${MACDEPLOYQT_CMD})")
@@ -109,7 +109,7 @@ elseif(WIN32)
POST_BUILD
COMMAND set PATH=%PATH%$${qt6_install_prefix}/bin
COMMAND Qt6::windeployqt
- "$/$")
+ "$/$")
endif()
endif()
diff --git a/src/gui/src/AboutDialog.cpp b/src/gui/src/AboutDialog.cpp
index 0838257b4..36e3c3028 100644
--- a/src/gui/src/AboutDialog.cpp
+++ b/src/gui/src/AboutDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -25,7 +25,7 @@
#include
#include
-using namespace synergy::gui;
+using namespace deskflow::gui;
AboutDialog::AboutDialog(MainWindow *parent)
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint),
@@ -35,8 +35,8 @@ AboutDialog::AboutDialog(MainWindow *parent)
this->setFixedSize(this->size());
- QString version = QString::fromStdString(synergy::version());
- m_pLabelSynergyVersion->setText(version);
+ QString version = QString::fromStdString(deskflow::version());
+ m_pLabelDeskflowVersion->setText(version);
QString buildDateString = QString::fromLocal8Bit(__DATE__).simplified();
QDate buildDate = QLocale("en_US").toDate(buildDateString, "MMM d yyyy");
@@ -46,7 +46,7 @@ AboutDialog::AboutDialog(MainWindow *parent)
int AboutDialog::exec() {
m_pDevelopersLabel->setText(importantDevelopers());
- m_pCopyrightLabel->setText(QString::fromStdString(synergy::copyright()));
+ m_pCopyrightLabel->setText(QString::fromStdString(deskflow::copyright()));
updateLogo();
return QDialog::exec();
@@ -71,7 +71,7 @@ QString AboutDialog::importantDevelopers() const {
// Chris is the ultimate creator, and the one who started it all in 2001.
<< "Chris Schoeneman"
- // Richard and Adam developed CosmoSynergy, the 90's predecessor project.
+ // Richard and Adam developed CosmoDeskflow, the 90's predecessor project.
<< "Richard Lee"
<< "Adam Feder"
diff --git a/src/gui/src/AboutDialog.h b/src/gui/src/AboutDialog.h
index 27d26987f..576c794f5 100644
--- a/src/gui/src/AboutDialog.h
+++ b/src/gui/src/AboutDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/AboutDialogBase.ui b/src/gui/src/AboutDialogBase.ui
index ca04453ba..5dc084f20 100644
--- a/src/gui/src/AboutDialogBase.ui
+++ b/src/gui/src/AboutDialogBase.ui
@@ -17,7 +17,7 @@
- About Synergy
+ About Deskflow
true
@@ -185,7 +185,7 @@
-
-
+
0
diff --git a/src/gui/src/Action.cpp b/src/gui/src/Action.cpp
index 3a4823752..610ba359b 100644
--- a/src/gui/src/Action.cpp
+++ b/src/gui/src/Action.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/Action.h b/src/gui/src/Action.h
index 3a6ef3369..be4c7338a 100644
--- a/src/gui/src/Action.h
+++ b/src/gui/src/Action.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/ActionDialog.cpp b/src/gui/src/ActionDialog.cpp
index 4a3c8b5e0..a691e9574 100644
--- a/src/gui/src/ActionDialog.cpp
+++ b/src/gui/src/ActionDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/ActionDialog.h b/src/gui/src/ActionDialog.h
index c112dd2c9..373e2ac11 100644
--- a/src/gui/src/ActionDialog.h
+++ b/src/gui/src/ActionDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/ActivationDialog.cpp b/src/gui/src/ActivationDialog.cpp
index a9bb37302..5d36765b9 100644
--- a/src/gui/src/ActivationDialog.cpp
+++ b/src/gui/src/ActivationDialog.cpp
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2016 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -32,8 +32,8 @@
#include
#include
-using namespace synergy::gui;
-using namespace synergy::license;
+using namespace deskflow::gui;
+using namespace deskflow::license;
ActivationDialog::ActivationDialog(
QWidget *parent, AppConfig &appConfig, LicenseHandler &licenseHandler)
@@ -52,7 +52,7 @@ ActivationDialog::ActivationDialog(
m_ui->m_widgetNotice->hide();
}
- const QString envSerialKey = ::getenv("SYNERGY_TEST_SERIAL_KEY");
+ const QString envSerialKey = ::getenv("DESKFLOW_TEST_SERIAL_KEY");
if (!envSerialKey.isEmpty()) {
qDebug() << "using env test serial key:" << envSerialKey;
m_ui->m_pTextEditSerialKey->setText(envSerialKey);
@@ -178,7 +178,7 @@ void ActivationDialog::showSuccessDialog() {
void ActivationDialog::showErrorDialog(const QString &message) {
QString fullMessage =
- QString("
There was a problem activating Synergy.
"
+ QString("There was a problem activating Deskflow.
"
R"(Please contact us )"
"and provide the following information:
"
"%3")
diff --git a/src/gui/src/ActivationDialog.h b/src/gui/src/ActivationDialog.h
index b44a0fcc9..ca1d7c3a3 100644
--- a/src/gui/src/ActivationDialog.h
+++ b/src/gui/src/ActivationDialog.h
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2016 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
diff --git a/src/gui/src/AddClientDialog.cpp b/src/gui/src/AddClientDialog.cpp
index d9d5cd91a..0c1b3395c 100644
--- a/src/gui/src/AddClientDialog.cpp
+++ b/src/gui/src/AddClientDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/AddClientDialog.h b/src/gui/src/AddClientDialog.h
index 1c2cac8e0..5c88c0df6 100644
--- a/src/gui/src/AddClientDialog.h
+++ b/src/gui/src/AddClientDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/CancelActivationDialog.cpp b/src/gui/src/CancelActivationDialog.cpp
index d766f8382..be2810232 100644
--- a/src/gui/src/CancelActivationDialog.cpp
+++ b/src/gui/src/CancelActivationDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/CancelActivationDialog.h b/src/gui/src/CancelActivationDialog.h
index 483960979..41debe971 100644
--- a/src/gui/src/CancelActivationDialog.h
+++ b/src/gui/src/CancelActivationDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/DataDownloader.cpp b/src/gui/src/DataDownloader.cpp
index 4fa279708..1e0022a41 100644
--- a/src/gui/src/DataDownloader.cpp
+++ b/src/gui/src/DataDownloader.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/DataDownloader.h b/src/gui/src/DataDownloader.h
index 629e896ef..7bf455ae7 100644
--- a/src/gui/src/DataDownloader.h
+++ b/src/gui/src/DataDownloader.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/QSynergyApplication.cpp b/src/gui/src/DeskflowApplication.cpp
similarity index 85%
rename from src/gui/src/QSynergyApplication.cpp
rename to src/gui/src/DeskflowApplication.cpp
index 20f671d55..3baf78a82 100644
--- a/src/gui/src/QSynergyApplication.cpp
+++ b/src/gui/src/DeskflowApplication.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -16,14 +16,14 @@
* along with this program. If not, see .
*/
-#include "QSynergyApplication.h"
+#include "DeskflowApplication.h"
#include "MainWindow.h"
#include
#include
-QSynergyApplication::QSynergyApplication(int &argc, char **argv)
+DeskflowApplication::DeskflowApplication(int &argc, char **argv)
: QApplication(argc, argv) {
// causes dark mode to be used on some OS (e.g. Windows)
diff --git a/src/gui/src/QSynergyApplication.h b/src/gui/src/DeskflowApplication.h
similarity index 79%
rename from src/gui/src/QSynergyApplication.h
rename to src/gui/src/DeskflowApplication.h
index 73bfd8599..fb04e152e 100644
--- a/src/gui/src/QSynergyApplication.h
+++ b/src/gui/src/DeskflowApplication.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -22,8 +22,8 @@
class QSessionManager;
-class QSynergyApplication : public QApplication {
+class DeskflowApplication : public QApplication {
public:
- QSynergyApplication(int &argc, char **argv);
- ~QSynergyApplication() override = default;
+ DeskflowApplication(int &argc, char **argv);
+ ~DeskflowApplication() override = default;
};
diff --git a/src/gui/src/Hotkey.cpp b/src/gui/src/Hotkey.cpp
index a82f700ff..ad492e86b 100644
--- a/src/gui/src/Hotkey.cpp
+++ b/src/gui/src/Hotkey.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/Hotkey.h b/src/gui/src/Hotkey.h
index efeecadc2..37463361b 100644
--- a/src/gui/src/Hotkey.h
+++ b/src/gui/src/Hotkey.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/HotkeyDialog.cpp b/src/gui/src/HotkeyDialog.cpp
index 6212b3cd3..b78872fc2 100644
--- a/src/gui/src/HotkeyDialog.cpp
+++ b/src/gui/src/HotkeyDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/HotkeyDialog.h b/src/gui/src/HotkeyDialog.h
index 1ba17d734..cec916211 100644
--- a/src/gui/src/HotkeyDialog.h
+++ b/src/gui/src/HotkeyDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/KeySequence.cpp b/src/gui/src/KeySequence.cpp
index ab05f3671..5ed4425a6 100644
--- a/src/gui/src/KeySequence.cpp
+++ b/src/gui/src/KeySequence.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -22,7 +22,7 @@
#include
// this table originally comes from Qt sources (gui/kernel/qkeysequence.cpp)
-// and is heavily modified for QSynergy
+// and is heavily modified for Deskflow
static const struct {
int key;
const char *name;
@@ -211,7 +211,7 @@ QString KeySequence::keyToString(int key) {
return QString("\\u%1").arg(
QChar(key).toLower().unicode(), 4, 16, QChar('0'));
- // give up, synergy probably won't handle this
+ // give up, deskflow probably won't handle this
return "";
}
diff --git a/src/gui/src/KeySequence.h b/src/gui/src/KeySequence.h
index 94c67a478..d7863f706 100644
--- a/src/gui/src/KeySequence.h
+++ b/src/gui/src/KeySequence.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/KeySequenceWidget.cpp b/src/gui/src/KeySequenceWidget.cpp
index 4e389f9c9..4d7837379 100644
--- a/src/gui/src/KeySequenceWidget.cpp
+++ b/src/gui/src/KeySequenceWidget.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/KeySequenceWidget.h b/src/gui/src/KeySequenceWidget.h
index 4dc6bac45..6a7acf97d 100644
--- a/src/gui/src/KeySequenceWidget.h
+++ b/src/gui/src/KeySequenceWidget.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp
index 737c38227..9f8dcc496 100644
--- a/src/gui/src/MainWindow.cpp
+++ b/src/gui/src/MainWindow.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -65,19 +65,19 @@
#include
#endif
-using namespace synergy::gui;
-using namespace synergy::license;
-using namespace synergy::gui::license;
+using namespace deskflow::gui;
+using namespace deskflow::license;
+using namespace deskflow::gui::license;
using CoreMode = CoreProcess::Mode;
using CoreConnectionState = CoreProcess::ConnectionState;
using CoreProcessState = CoreProcess::ProcessState;
-const auto kIconFile16 = ":/icons/16x16/synergy.png";
+const auto kIconFile16 = ":/icons/16x16/deskflow.png";
#ifdef Q_OS_MAC
-const auto kLightIconFile = ":/icons/64x64/synergy-light.png";
-const auto kDarkIconFile = ":/icons/64x64/synergy-dark.png";
+const auto kLightIconFile = ":/icons/64x64/deskflow-light.png";
+const auto kDarkIconFile = ":/icons/64x64/deskflow-dark.png";
#endif // Q_OS_MAC
MainWindow::MainWindow(ConfigScopes &configScopes, AppConfig &appConfig)
@@ -163,8 +163,8 @@ void MainWindow::setupControls() {
m_pLabelIpAddresses->setText(
QString("This computer's IP addresses: %1").arg(getIPAddresses()));
- if (m_AppConfig.lastVersion() != SYNERGY_VERSION) {
- m_AppConfig.setLastVersion(SYNERGY_VERSION);
+ if (m_AppConfig.lastVersion() != DESKFLOW_VERSION) {
+ m_AppConfig.setLastVersion(DESKFLOW_VERSION);
}
#if defined(Q_OS_MAC)
@@ -589,7 +589,7 @@ void MainWindow::onCoreProcessStarting() {
}
#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI)
- if (synergy::platform::isWayland()) {
+ if (deskflow::platform::isWayland()) {
m_WaylandWarnings.showOnce(this, m_CoreProcess.mode());
}
#endif
@@ -635,7 +635,7 @@ void MainWindow::createMenuBar() {
m_pMenuHelp->addAction(m_pActionClearSettings);
const auto enableTestMenu =
- strToTrue(qEnvironmentVariable("SYNERGY_TEST_MENU"));
+ strToTrue(qEnvironmentVariable("DESKFLOW_TEST_MENU"));
if (enableTestMenu || kDebugBuild) {
auto testMenu = new QMenu("Test", m_pMenuBar);
@@ -851,19 +851,19 @@ void MainWindow::updateStatus() {
using enum CoreProcessState;
case Starting:
- setStatus("Synergy is starting...");
+ setStatus("Deskflow is starting...");
break;
case RetryPending:
- setStatus("Synergy will retry in a moment...");
+ setStatus("Deskflow will retry in a moment...");
break;
case Stopping:
- setStatus("Synergy is stopping...");
+ setStatus("Deskflow is stopping...");
break;
case Stopped:
- setStatus("Synergy is not running");
+ setStatus("Deskflow is not running");
break;
case Started: {
@@ -872,28 +872,28 @@ void MainWindow::updateStatus() {
case Listening: {
if (m_CoreProcess.mode() == CoreMode::Server) {
- setStatus("Synergy is waiting for clients");
+ setStatus("Deskflow is waiting for clients");
}
break;
}
case Connecting:
- setStatus("Synergy is connecting...");
+ setStatus("Deskflow is connecting...");
break;
case Connected: {
if (m_SecureSocket) {
- setStatus(QString("Synergy is connected (with %1)")
+ setStatus(QString("Deskflow is connected (with %1)")
.arg(m_CoreProcess.secureSocketVersion()));
} else {
- setStatus("Synergy is connected (without TLS encryption)");
+ setStatus("Deskflow is connected (without TLS encryption)");
}
break;
}
case Disconnected:
- setStatus("Synergy is disconnected");
+ setStatus("Deskflow is disconnected");
break;
}
} break;
diff --git a/src/gui/src/MainWindow.h b/src/gui/src/MainWindow.h
index 8df40a178..047b30407 100644
--- a/src/gui/src/MainWindow.h
+++ b/src/gui/src/MainWindow.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -53,16 +53,16 @@ class QRadioButton;
class QMessageBox;
class QAbstractButton;
-class QSynergyApplication;
+class DeskflowApplication;
class SetupWizard;
class MainWindow : public QMainWindow, public Ui::MainWindowBase {
- using CoreMode = synergy::gui::CoreProcess::Mode;
- using CoreProcess = synergy::gui::CoreProcess;
+ using CoreMode = deskflow::gui::CoreProcess::Mode;
+ using CoreProcess = deskflow::gui::CoreProcess;
Q_OBJECT
- friend class QSynergyApplication;
+ friend class DeskflowApplication;
friend class SetupWizard;
friend class ActivationDialog;
friend class SettingsDialog;
@@ -72,7 +72,7 @@ public:
public:
explicit MainWindow(
- synergy::gui::ConfigScopes &configScopes, AppConfig &appConfig);
+ deskflow::gui::ConfigScopes &configScopes, AppConfig &appConfig);
~MainWindow() override;
void setVisible(bool visible) override;
@@ -184,7 +184,7 @@ private:
void showAndActivate();
VersionChecker m_VersionChecker;
- synergy::gui::TrayIcon m_TrayIcon;
+ deskflow::gui::TrayIcon m_TrayIcon;
bool m_ActivationDialogRunning = false;
QStringList m_PendingClientNames;
QMenuBar *m_pMenuBar = nullptr;
@@ -197,16 +197,16 @@ private:
bool m_SaveWindow = false;
LicenseHandler m_LicenseHandler;
bool m_Quitting = false;
- synergy::gui::config::ServerConfigDialogState m_ServerConfigDialogState;
+ deskflow::gui::config::ServerConfigDialogState m_ServerConfigDialogState;
bool m_SaveOnExit = true;
- synergy::gui::core::WaylandWarnings m_WaylandWarnings;
+ deskflow::gui::core::WaylandWarnings m_WaylandWarnings;
- synergy::gui::ConfigScopes &m_ConfigScopes;
+ deskflow::gui::ConfigScopes &m_ConfigScopes;
AppConfig &m_AppConfig;
ServerConfig m_ServerConfig;
- synergy::gui::CoreProcess m_CoreProcess;
- synergy::gui::ServerConnection m_ServerConnection;
- synergy::gui::ClientConnection m_ClientConnection;
- synergy::gui::TlsUtility m_TlsUtility;
+ deskflow::gui::CoreProcess m_CoreProcess;
+ deskflow::gui::ServerConnection m_ServerConnection;
+ deskflow::gui::ClientConnection m_ClientConnection;
+ deskflow::gui::TlsUtility m_TlsUtility;
QTimer m_WindowSaveTimer;
};
diff --git a/src/gui/src/MainWindowBase.ui b/src/gui/src/MainWindowBase.ui
index 22d9150e8..7995019bd 100644
--- a/src/gui/src/MainWindowBase.ui
+++ b/src/gui/src/MainWindowBase.ui
@@ -23,7 +23,7 @@
- Synergy
+ Deskflow
@@ -221,7 +221,7 @@
-
-
+
No clients connected
@@ -398,7 +398,7 @@
-
-
+
Connected to server
@@ -586,7 +586,7 @@
- &About Synergy...
+ &About Deskflow...
@@ -718,12 +718,12 @@
- synergy::gui::widgets::ServerStateLabel
+ deskflow::gui::widgets::ServerStateLabel
QLabel
gui/widgets/ServerStateLabel.h
- synergy::gui::widgets::ClientStateLabel
+ deskflow::gui::widgets::ClientStateLabel
QLabel
gui/widgets/ClientStateLabel.h
diff --git a/src/gui/src/ProcessorArch.h b/src/gui/src/ProcessorArch.h
index e47957f8b..f690f2a81 100644
--- a/src/gui/src/ProcessorArch.h
+++ b/src/gui/src/ProcessorArch.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/QUtility.cpp b/src/gui/src/QUtility.cpp
index ac4eacbef..7cd9227d0 100644
--- a/src/gui/src/QUtility.cpp
+++ b/src/gui/src/QUtility.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/QUtility.h b/src/gui/src/QUtility.h
index 060ab5a82..d536aeccf 100644
--- a/src/gui/src/QUtility.h
+++ b/src/gui/src/QUtility.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/ScreenSettingsDialog.cpp b/src/gui/src/ScreenSettingsDialog.cpp
index 742435485..b77643bff 100644
--- a/src/gui/src/ScreenSettingsDialog.cpp
+++ b/src/gui/src/ScreenSettingsDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -28,7 +28,7 @@
#include
#include
-using namespace synergy::gui;
+using namespace deskflow::gui;
using enum ScreenConfig::Modifier;
using enum ScreenConfig::SwitchCorner;
using enum ScreenConfig::Fix;
diff --git a/src/gui/src/ScreenSettingsDialog.h b/src/gui/src/ScreenSettingsDialog.h
index 4d483fe91..e6dd25ffd 100644
--- a/src/gui/src/ScreenSettingsDialog.h
+++ b/src/gui/src/ScreenSettingsDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/ScreenSetupModel.cpp b/src/gui/src/ScreenSetupModel.cpp
index 7d26da740..f4ed993f5 100644
--- a/src/gui/src/ScreenSetupModel.cpp
+++ b/src/gui/src/ScreenSetupModel.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -23,7 +23,7 @@
#include
#include
-const QString ScreenSetupModel::m_MimeType = "application/x-qsynergy-screen";
+const QString ScreenSetupModel::m_MimeType = "application/x-deskflow-screen";
ScreenSetupModel::ScreenSetupModel(
ScreenList &screens, int numColumns, int numRows)
diff --git a/src/gui/src/ScreenSetupModel.h b/src/gui/src/ScreenSetupModel.h
index 24121df6d..dee4ae183 100644
--- a/src/gui/src/ScreenSetupModel.h
+++ b/src/gui/src/ScreenSetupModel.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/ScreenSetupView.cpp b/src/gui/src/ScreenSetupView.cpp
index 660e6a8f0..db15fe3eb 100644
--- a/src/gui/src/ScreenSetupView.cpp
+++ b/src/gui/src/ScreenSetupView.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/ScreenSetupView.h b/src/gui/src/ScreenSetupView.h
index b6b1e40ea..38c8f8d64 100644
--- a/src/gui/src/ScreenSetupView.h
+++ b/src/gui/src/ScreenSetupView.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/ServerConfig.cpp b/src/gui/src/ServerConfig.cpp
index e6ced9e2a..fb7ff5f9e 100644
--- a/src/gui/src/ServerConfig.cpp
+++ b/src/gui/src/ServerConfig.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -27,7 +27,7 @@
#include
#include
-using namespace synergy::gui::proxy;
+using namespace deskflow::gui::proxy;
using enum ScreenConfig::Modifier;
using enum ScreenConfig::SwitchCorner;
using enum ScreenConfig::Fix;
diff --git a/src/gui/src/ServerConfig.h b/src/gui/src/ServerConfig.h
index 741b954e0..c154899b8 100644
--- a/src/gui/src/ServerConfig.h
+++ b/src/gui/src/ServerConfig.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -36,8 +36,8 @@ class ServerConfigDialog;
class MainWindow;
class AppConfig;
-class ServerConfig : public ScreenConfig, public synergy::gui::IServerConfig {
- using QSettingsProxy = synergy::gui::proxy::QSettingsProxy;
+class ServerConfig : public ScreenConfig, public deskflow::gui::IServerConfig {
+ using QSettingsProxy = deskflow::gui::proxy::QSettingsProxy;
friend class ServerConfigDialog;
friend QTextStream &
diff --git a/src/gui/src/ServerConfigDialog.cpp b/src/gui/src/ServerConfigDialog.cpp
index f1649227f..0417c1682 100644
--- a/src/gui/src/ServerConfigDialog.cpp
+++ b/src/gui/src/ServerConfigDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -249,16 +249,12 @@ void ServerConfigDialog::showEvent(QShowEvent *event) {
void ServerConfigDialog::accept() {
if (m_pCheckBoxUseExternalConfig->isChecked() &&
!QFile::exists(m_pEditConfigFile->text())) {
- auto title = tr("Configuration filename invalid");
- auto description =
- tr("You have not filled in a valid configuration file for the synergy "
- "server. "
- "Do you want to browse for the configuration file now?");
auto selectedButton = QMessageBox::warning(
- this, title, description, QMessageBox::Yes | QMessageBox::No);
+ this, "Filename invalid", "Please select a valid configuration file.",
+ QMessageBox::Ok | QMessageBox::Ignore);
- if (selectedButton != QMessageBox::Yes ||
+ if (selectedButton != QMessageBox::Ok ||
!on_m_pButtonBrowseConfigFile_clicked()) {
return;
}
@@ -415,16 +411,15 @@ void ServerConfigDialog::on_m_pCheckBoxUseExternalConfig_toggled(bool checked) {
bool ServerConfigDialog::on_m_pButtonBrowseConfigFile_clicked() {
#if defined(Q_OS_WIN)
- const QString synergyConfigFilter(
- QObject::tr("Synergy Configurations (*.sgc);;All files (*.*)"));
+ const QString deskflowConfigFilter(
+ QObject::tr("Deskflow Configurations (*.sgc);;All files (*.*)"));
#else
- const QString synergyConfigFilter(
- QObject::tr("Synergy Configurations (*.conf);;All files (*.*)"));
+ const QString deskflowConfigFilter(
+ QObject::tr("Deskflow Configurations (*.conf);;All files (*.*)"));
#endif
QString fileName = QFileDialog::getOpenFileName(
- this, tr("Browse for a synergys config file"), QString(),
- synergyConfigFilter);
+ this, "Browse for a config file", "", deskflowConfigFilter);
if (!fileName.isEmpty()) {
m_pEditConfigFile->setText(fileName);
diff --git a/src/gui/src/ServerConfigDialog.h b/src/gui/src/ServerConfigDialog.h
index 7b859574d..a71170a2b 100644
--- a/src/gui/src/ServerConfigDialog.h
+++ b/src/gui/src/ServerConfigDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/SetupWizard.cpp b/src/gui/src/SetupWizard.cpp
index 94f9281d9..c3b615b60 100644
--- a/src/gui/src/SetupWizard.cpp
+++ b/src/gui/src/SetupWizard.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include "gui/validators/ScreenNameValidator.h"
#include "gui/validators/ValidationError.h"
-using namespace synergy::gui;
+using namespace deskflow::gui;
SetupWizard::SetupWizard(AppConfig &appConfig) : m_appConfig(appConfig) {
setupUi(this);
diff --git a/src/gui/src/SetupWizard.h b/src/gui/src/SetupWizard.h
index 4d5de9636..3fbc89f0a 100644
--- a/src/gui/src/SetupWizard.h
+++ b/src/gui/src/SetupWizard.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/gui/src/SetupWizardBase.ui b/src/gui/src/SetupWizardBase.ui
index 88a141f58..8041f9c56 100644
--- a/src/gui/src/SetupWizardBase.ui
+++ b/src/gui/src/SetupWizardBase.ui
@@ -26,7 +26,7 @@
Qt::NoContextMenu
- Setup Synergy
+ Setup Deskflow
1.000000000000000
diff --git a/src/gui/src/TrashScreenWidget.cpp b/src/gui/src/TrashScreenWidget.cpp
index ffed00a65..7b9a277a7 100644
--- a/src/gui/src/TrashScreenWidget.cpp
+++ b/src/gui/src/TrashScreenWidget.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/TrashScreenWidget.h b/src/gui/src/TrashScreenWidget.h
index 0c4dad00d..d50e0ed33 100644
--- a/src/gui/src/TrashScreenWidget.h
+++ b/src/gui/src/TrashScreenWidget.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/gui/src/main.cpp b/src/gui/src/main.cpp
index 13f0d6b7e..7366b56d7 100644
--- a/src/gui/src/main.cpp
+++ b/src/gui/src/main.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -16,8 +16,8 @@
* along with this program. If not, see .
*/
+#include "DeskflowApplication.h"
#include "MainWindow.h"
-#include "QSynergyApplication.h"
#include "SetupWizard.h"
#include "common/constants.h"
#include "common/version.h"
@@ -42,7 +42,7 @@
#include
#endif
-using namespace synergy::gui;
+using namespace deskflow::gui;
class QThreadImpl : public QThread {
public:
@@ -74,11 +74,11 @@ int main(int argc, char *argv[]) {
// used as a prefix for settings paths, and must not be a url.
QCoreApplication::setOrganizationDomain(kOrgDomain);
- QSynergyApplication app(argc, argv);
+ DeskflowApplication app(argc, argv);
- qInstallMessageHandler(synergy::gui::messages::messageHandler);
- QString version = QString::fromStdString(synergy::version());
- qInfo("Synergy v%s", qPrintable(version));
+ qInstallMessageHandler(deskflow::gui::messages::messageHandler);
+ QString version = QString::fromStdString(deskflow::version());
+ qInfo("Deskflow v%s", qPrintable(version));
dotenv();
Logger::instance().loadEnvVars();
@@ -87,8 +87,8 @@ int main(int argc, char *argv[]) {
if (app.applicationDirPath().startsWith("/Volumes/")) {
QMessageBox::information(
- NULL, "Synergy",
- "Please drag Synergy to the Applications folder, "
+ NULL, "Deskflow",
+ "Please drag Deskflow to the Applications folder, "
"and open it from there.");
return 1;
}
@@ -105,7 +105,8 @@ int main(int argc, char *argv[]) {
// --no-reset
QStringList arguments = QCoreApplication::arguments();
const auto noReset = hasArg("--no-reset", arguments);
- const auto resetEnvVar = strToTrue(qEnvironmentVariable("SYNERGY_RESET_ALL"));
+ const auto resetEnvVar =
+ strToTrue(qEnvironmentVariable("DESKFLOW_RESET_ALL"));
if (resetEnvVar && !noReset) {
diagnostic::clearSettings(configScopes, false);
}
@@ -130,11 +131,11 @@ int main(int argc, char *argv[]) {
MainWindow mainWindow(configScopes, appConfig);
QObject::connect(
- &app, &QSynergyApplication::aboutToQuit, &mainWindow,
+ &app, &DeskflowApplication::aboutToQuit, &mainWindow,
&MainWindow::onAppAboutToQuit);
mainWindow.open();
- return QSynergyApplication::exec();
+ return DeskflowApplication::exec();
}
#if defined(Q_OS_MAC)
@@ -144,7 +145,7 @@ bool checkMacAssistiveDevices() {
// new in mavericks, applications are trusted individually
// with use of the accessibility api. this call will show a
// prompt which can show the security/privacy/accessibility
- // tab, with a list of allowed applications. synergy should
+ // tab, with a list of allowed applications. deskflow should
// show up there automatically, but will be unchecked.
if (AXIsProcessTrusted()) {
@@ -166,10 +167,10 @@ bool checkMacAssistiveDevices() {
bool result = AXAPIEnabled();
if (!result) {
QMessageBox::information(
- NULL, "Synergy",
+ NULL, "Deskflow",
"Please enable access to assistive devices "
"System Preferences -> Security & Privacy -> "
- "Privacy -> Accessibility, then re-open Synergy.");
+ "Privacy -> Accessibility, then re-open Deskflow.");
}
return result;
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 844735d8b..99d51ac12 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -17,12 +17,12 @@
add_subdirectory(arch)
add_subdirectory(base)
add_subdirectory(client)
+add_subdirectory(deskflow)
add_subdirectory(io)
add_subdirectory(ipc)
add_subdirectory(mt)
add_subdirectory(net)
add_subdirectory(platform)
add_subdirectory(server)
-add_subdirectory(synergy)
add_subdirectory(license)
add_subdirectory(gui)
diff --git a/src/lib/arch/Arch.cpp b/src/lib/arch/Arch.cpp
index 13a07751d..6100ad18a 100644
--- a/src/lib/arch/Arch.cpp
+++ b/src/lib/arch/Arch.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/Arch.h b/src/lib/arch/Arch.h
index 7da51eec1..560b2113b 100644
--- a/src/lib/arch/Arch.h
+++ b/src/lib/arch/Arch.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/ArchConsoleStd.cpp b/src/lib/arch/ArchConsoleStd.cpp
index 7c6b7aaeb..1cf33fe24 100644
--- a/src/lib/arch/ArchConsoleStd.cpp
+++ b/src/lib/arch/ArchConsoleStd.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/ArchConsoleStd.h b/src/lib/arch/ArchConsoleStd.h
index 92bb092ac..5955611ee 100644
--- a/src/lib/arch/ArchConsoleStd.h
+++ b/src/lib/arch/ArchConsoleStd.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/ArchDaemonNone.cpp b/src/lib/arch/ArchDaemonNone.cpp
index 14510bd21..601c90675 100644
--- a/src/lib/arch/ArchDaemonNone.cpp
+++ b/src/lib/arch/ArchDaemonNone.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/ArchDaemonNone.h b/src/lib/arch/ArchDaemonNone.h
index e0adfbdd9..1d7658c08 100644
--- a/src/lib/arch/ArchDaemonNone.h
+++ b/src/lib/arch/ArchDaemonNone.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/CMakeLists.txt b/src/lib/arch/CMakeLists.txt
index d1fa02a34..51be8a212 100644
--- a/src/lib/arch/CMakeLists.txt
+++ b/src/lib/arch/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
diff --git a/src/lib/arch/IArchConsole.h b/src/lib/arch/IArchConsole.h
index 424917e1b..d552f77ca 100644
--- a/src/lib/arch/IArchConsole.h
+++ b/src/lib/arch/IArchConsole.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -24,7 +24,7 @@
//! Interface for architecture dependent console output
/*!
This interface defines the console operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchConsole : public IInterface {
public:
diff --git a/src/lib/arch/IArchDaemon.h b/src/lib/arch/IArchDaemon.h
index c496b785a..111038602 100644
--- a/src/lib/arch/IArchDaemon.h
+++ b/src/lib/arch/IArchDaemon.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -23,7 +23,7 @@
//! Interface for architecture dependent daemonizing
/*!
-This interface defines the operations required by synergy for installing
+This interface defines the operations required by deskflow for installing
uninstalling daeamons and daemonizing a process. Each architecture must
implement this interface.
*/
diff --git a/src/lib/arch/IArchFile.h b/src/lib/arch/IArchFile.h
index 50148cbe0..62d543dac 100644
--- a/src/lib/arch/IArchFile.h
+++ b/src/lib/arch/IArchFile.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -25,7 +25,7 @@
//! Interface for architecture dependent file system operations
/*!
This interface defines the file system operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchFile : public IInterface {
public:
@@ -53,7 +53,7 @@ public:
//! Get installed directory
/*!
- Returns the directory in which Synergy is installed.
+ Returns the directory in which Deskflow is installed.
*/
virtual std::string getInstalledDirectory() = 0;
diff --git a/src/lib/arch/IArchLog.h b/src/lib/arch/IArchLog.h
index 0566ee876..c35a5aa80 100644
--- a/src/lib/arch/IArchLog.h
+++ b/src/lib/arch/IArchLog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -24,7 +24,7 @@
//! Interface for architecture dependent logging
/*!
This interface defines the logging operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchLog : public IInterface {
public:
diff --git a/src/lib/arch/IArchMultithread.h b/src/lib/arch/IArchMultithread.h
index fdd2b53cc..d7f6a78e1 100644
--- a/src/lib/arch/IArchMultithread.h
+++ b/src/lib/arch/IArchMultithread.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -66,7 +66,7 @@ typedef ArchThreadImpl *ArchThread;
//! Interface for architecture dependent multithreading
/*!
This interface defines the multithreading operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchMultithread : public IInterface {
public:
diff --git a/src/lib/arch/IArchNetwork.h b/src/lib/arch/IArchNetwork.h
index bcbd55f8b..af53400f3 100644
--- a/src/lib/arch/IArchNetwork.h
+++ b/src/lib/arch/IArchNetwork.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -58,7 +58,7 @@ typedef ArchNetAddressImpl *ArchNetAddress;
//! Interface for architecture dependent networking
/*!
This interface defines the networking operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchNetwork : public IInterface {
public:
diff --git a/src/lib/arch/IArchSleep.h b/src/lib/arch/IArchSleep.h
index 9ee0076a4..c3628770e 100644
--- a/src/lib/arch/IArchSleep.h
+++ b/src/lib/arch/IArchSleep.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -23,7 +23,7 @@
//! Interface for architecture dependent sleeping
/*!
This interface defines the sleep operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchSleep : public IInterface {
public:
diff --git a/src/lib/arch/IArchString.cpp b/src/lib/arch/IArchString.cpp
index e89fbd4b5..8b8dab336 100644
--- a/src/lib/arch/IArchString.cpp
+++ b/src/lib/arch/IArchString.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2011 Chris Schoeneman
*
diff --git a/src/lib/arch/IArchString.h b/src/lib/arch/IArchString.h
index 46e7bbc0e..02c6c56e2 100644
--- a/src/lib/arch/IArchString.h
+++ b/src/lib/arch/IArchString.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -26,7 +26,7 @@
//! Interface for architecture dependent string operations
/*!
This interface defines the string operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchString : public IInterface {
public:
diff --git a/src/lib/arch/IArchSystem.h b/src/lib/arch/IArchSystem.h
index b443e808f..76d00f560 100644
--- a/src/lib/arch/IArchSystem.h
+++ b/src/lib/arch/IArchSystem.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -43,16 +43,16 @@ public:
virtual std::string getPlatformName() const = 0;
//@}
- //! Get a Synergy setting
+ //! Get a Deskflow setting
/*!
- Reads a Synergy setting from the system.
+ Reads a Deskflow setting from the system.
*/
virtual std::string setting(const std::string &valueName) const = 0;
//@}
- //! Set a Synergy setting
+ //! Set a Deskflow setting
/*!
- Writes a Synergy setting from the system.
+ Writes a Deskflow setting from the system.
*/
virtual void setting(
const std::string &valueName, const std::string &valueString) const = 0;
diff --git a/src/lib/arch/IArchTaskBar.h b/src/lib/arch/IArchTaskBar.h
index c0f2f2495..26e72d9c4 100644
--- a/src/lib/arch/IArchTaskBar.h
+++ b/src/lib/arch/IArchTaskBar.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -25,7 +25,7 @@ class IArchTaskBarReceiver;
//! Interface for architecture dependent task bar control
/*!
This interface defines the task bar icon operations required
-by synergy. Each architecture must implement this interface
+by deskflow. Each architecture must implement this interface
though each operation can be a no-op.
*/
class IArchTaskBar : public IInterface {
diff --git a/src/lib/arch/IArchTaskBarReceiver.h b/src/lib/arch/IArchTaskBarReceiver.h
index a05604f18..ad5242124 100644
--- a/src/lib/arch/IArchTaskBarReceiver.h
+++ b/src/lib/arch/IArchTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -27,7 +27,7 @@ class INode;
//! Interface for architecture dependent task bar event handling
/*!
This interface defines the task bar icon event handlers required
-by synergy. Each architecture must implement this interface
+by deskflow. Each architecture must implement this interface
though each operation can be a no-op.
*/
class IArchTaskBarReceiver : public IInterface {
diff --git a/src/lib/arch/IArchTime.h b/src/lib/arch/IArchTime.h
index 067d54375..f11432c03 100644
--- a/src/lib/arch/IArchTime.h
+++ b/src/lib/arch/IArchTime.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -23,7 +23,7 @@
//! Interface for architecture dependent time operations
/*!
This interface defines the time operations required by
-synergy. Each architecture must implement this interface.
+deskflow. Each architecture must implement this interface.
*/
class IArchTime : public IInterface {
public:
diff --git a/src/lib/arch/XArch.h b/src/lib/arch/XArch.h
index f838cbec1..b56ffb915 100644
--- a/src/lib/arch/XArch.h
+++ b/src/lib/arch/XArch.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/multibyte.h b/src/lib/arch/multibyte.h
index e95dad31f..8bb5085e0 100644
--- a/src/lib/arch/multibyte.h
+++ b/src/lib/arch/multibyte.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchConsoleUnix.cpp b/src/lib/arch/unix/ArchConsoleUnix.cpp
index 13d499f8a..f2851abbe 100644
--- a/src/lib/arch/unix/ArchConsoleUnix.cpp
+++ b/src/lib/arch/unix/ArchConsoleUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchConsoleUnix.h b/src/lib/arch/unix/ArchConsoleUnix.h
index 609abbc9e..a39619c0f 100644
--- a/src/lib/arch/unix/ArchConsoleUnix.h
+++ b/src/lib/arch/unix/ArchConsoleUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchDaemonUnix.cpp b/src/lib/arch/unix/ArchDaemonUnix.cpp
index 020635ba9..84d15fae3 100644
--- a/src/lib/arch/unix/ArchDaemonUnix.cpp
+++ b/src/lib/arch/unix/ArchDaemonUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -43,19 +43,19 @@ ArchDaemonUnix::~ArchDaemonUnix() {
#ifdef __APPLE__
// In Mac OS X, fork()'d child processes can't use most APIs (the frameworks
-// that Synergy uses in fact prevent it and make the process just up and die),
+// that Deskflow uses in fact prevent it and make the process just up and die),
// so need to exec a copy of the program that doesn't fork so isn't limited.
int execSelfNonDaemonized() {
extern char **NXArgv;
char **selfArgv = NXArgv;
- setenv("_SYNERGY_DAEMONIZED", "", 1);
+ setenv("_DESKFLOW_DAEMONIZED", "", 1);
execvp(selfArgv[0], selfArgv);
return 0;
}
-bool alreadyDaemonized() { return getenv("_SYNERGY_DAEMONIZED") != NULL; }
+bool alreadyDaemonized() { return getenv("_DESKFLOW_DAEMONIZED") != NULL; }
#endif
diff --git a/src/lib/arch/unix/ArchDaemonUnix.h b/src/lib/arch/unix/ArchDaemonUnix.h
index 6622fff82..e8599286c 100644
--- a/src/lib/arch/unix/ArchDaemonUnix.h
+++ b/src/lib/arch/unix/ArchDaemonUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -33,4 +33,4 @@ public:
virtual int daemonize(const char *name, DaemonFunc func);
};
-#define CONFIG_FILE "/etc/synergy/synergyd.conf"
+#define CONFIG_FILE "/etc/deskflow/deskflowd.conf"
diff --git a/src/lib/arch/unix/ArchFileUnix.cpp b/src/lib/arch/unix/ArchFileUnix.cpp
index 065872e5a..b678cf856 100644
--- a/src/lib/arch/unix/ArchFileUnix.cpp
+++ b/src/lib/arch/unix/ArchFileUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -81,7 +81,7 @@ std::string ArchFileUnix::getInstalledDirectory() {
#if WINAPI_XWINDOWS
return "/usr/bin";
#else
- return "/Applications/Synergy.app/Contents/MacOS";
+ return "/Applications/Deskflow.app/Contents/MacOS";
#endif
}
@@ -105,9 +105,9 @@ std::string ArchFileUnix::getProfileDirectory() {
dir = m_profileDirectory;
} else {
#if WINAPI_XWINDOWS
- dir = getUserDirectory().append("/.synergy");
+ dir = getUserDirectory().append("/.deskflow");
#else
- dir = getUserDirectory().append("/Library/Synergy");
+ dir = getUserDirectory().append("/Library/Deskflow");
#endif
}
return dir;
diff --git a/src/lib/arch/unix/ArchFileUnix.h b/src/lib/arch/unix/ArchFileUnix.h
index a2098f7fd..14744d43b 100644
--- a/src/lib/arch/unix/ArchFileUnix.h
+++ b/src/lib/arch/unix/ArchFileUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchLogUnix.cpp b/src/lib/arch/unix/ArchLogUnix.cpp
index 4ea3f0e4d..b9aadf0aa 100644
--- a/src/lib/arch/unix/ArchLogUnix.cpp
+++ b/src/lib/arch/unix/ArchLogUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchLogUnix.h b/src/lib/arch/unix/ArchLogUnix.h
index 0742e4026..85f5cfe03 100644
--- a/src/lib/arch/unix/ArchLogUnix.h
+++ b/src/lib/arch/unix/ArchLogUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchMultithreadPosix.cpp b/src/lib/arch/unix/ArchMultithreadPosix.cpp
index 2ae0cad15..d21900d1e 100644
--- a/src/lib/arch/unix/ArchMultithreadPosix.cpp
+++ b/src/lib/arch/unix/ArchMultithreadPosix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -38,7 +38,7 @@
#if !HAVE_PTHREAD_SIGNAL
// boy, is this platform broken. forget about pthread signal
-// handling and let signals through to every process. synergy
+// handling and let signals through to every process. deskflow
// will not terminate cleanly when it gets SIGTERM or SIGINT.
#define pthread_sigmask sigprocmask
#define pthread_kill(tid_, sig_) kill(0, (sig_))
@@ -576,7 +576,7 @@ void ArchMultithreadPosix::insert(ArchThreadImpl *thread) {
// set thread id. note that we don't worry about m_nextID
// wrapping back to 0 and duplicating thread ID's since the
- // likelihood of synergy running that long is vanishingly
+ // likelihood of deskflow running that long is vanishingly
// small.
thread->m_id = ++m_nextID;
diff --git a/src/lib/arch/unix/ArchMultithreadPosix.h b/src/lib/arch/unix/ArchMultithreadPosix.h
index 8ed3af6eb..0b230dc4a 100644
--- a/src/lib/arch/unix/ArchMultithreadPosix.h
+++ b/src/lib/arch/unix/ArchMultithreadPosix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchNetworkBSD.cpp b/src/lib/arch/unix/ArchNetworkBSD.cpp
index 36ec26dd9..504627b92 100644
--- a/src/lib/arch/unix/ArchNetworkBSD.cpp
+++ b/src/lib/arch/unix/ArchNetworkBSD.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchNetworkBSD.h b/src/lib/arch/unix/ArchNetworkBSD.h
index 14f4642c6..2809af656 100644
--- a/src/lib/arch/unix/ArchNetworkBSD.h
+++ b/src/lib/arch/unix/ArchNetworkBSD.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchSleepUnix.cpp b/src/lib/arch/unix/ArchSleepUnix.cpp
index 1f22a13dd..95ccef74e 100644
--- a/src/lib/arch/unix/ArchSleepUnix.cpp
+++ b/src/lib/arch/unix/ArchSleepUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchSleepUnix.h b/src/lib/arch/unix/ArchSleepUnix.h
index 6c5abd942..dbff2055a 100644
--- a/src/lib/arch/unix/ArchSleepUnix.h
+++ b/src/lib/arch/unix/ArchSleepUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchStringUnix.cpp b/src/lib/arch/unix/ArchStringUnix.cpp
index 87d885c28..81e0c275e 100644
--- a/src/lib/arch/unix/ArchStringUnix.cpp
+++ b/src/lib/arch/unix/ArchStringUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchStringUnix.h b/src/lib/arch/unix/ArchStringUnix.h
index 2fba78017..d543ac53f 100644
--- a/src/lib/arch/unix/ArchStringUnix.h
+++ b/src/lib/arch/unix/ArchStringUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchSystemUnix.cpp b/src/lib/arch/unix/ArchSystemUnix.cpp
index 46094c9dd..8e1c978e4 100644
--- a/src/lib/arch/unix/ArchSystemUnix.cpp
+++ b/src/lib/arch/unix/ArchSystemUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -102,8 +102,8 @@ bool ArchSystemUnix::DBusInhibitScreenCall(
}
reply = screenSaverInterface.call(
- "Inhibit", "Synergy",
- "Sleep is manually prevented by the Synergy preferences");
+ "Inhibit", "Deskflow",
+ "Sleep is manually prevented by the Deskflow preferences");
if (reply.isValid())
cookies[serviceNum] = reply.value();
} else {
diff --git a/src/lib/arch/unix/ArchSystemUnix.h b/src/lib/arch/unix/ArchSystemUnix.h
index 7737faf79..656dca585 100644
--- a/src/lib/arch/unix/ArchSystemUnix.h
+++ b/src/lib/arch/unix/ArchSystemUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchTaskBarXWindows.cpp b/src/lib/arch/unix/ArchTaskBarXWindows.cpp
index db01c7bd1..cfcb6b8fe 100644
--- a/src/lib/arch/unix/ArchTaskBarXWindows.cpp
+++ b/src/lib/arch/unix/ArchTaskBarXWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchTaskBarXWindows.h b/src/lib/arch/unix/ArchTaskBarXWindows.h
index 1a6e7dd5e..3e30788c4 100644
--- a/src/lib/arch/unix/ArchTaskBarXWindows.h
+++ b/src/lib/arch/unix/ArchTaskBarXWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchTimeUnix.cpp b/src/lib/arch/unix/ArchTimeUnix.cpp
index fd6e91a51..ad58a9033 100644
--- a/src/lib/arch/unix/ArchTimeUnix.cpp
+++ b/src/lib/arch/unix/ArchTimeUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/ArchTimeUnix.h b/src/lib/arch/unix/ArchTimeUnix.h
index fe8133d78..64e7602cb 100644
--- a/src/lib/arch/unix/ArchTimeUnix.h
+++ b/src/lib/arch/unix/ArchTimeUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/XArchUnix.cpp b/src/lib/arch/unix/XArchUnix.cpp
index a85c935de..d078934fa 100644
--- a/src/lib/arch/unix/XArchUnix.cpp
+++ b/src/lib/arch/unix/XArchUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/unix/XArchUnix.h b/src/lib/arch/unix/XArchUnix.h
index c91c6931e..b00b26394 100644
--- a/src/lib/arch/unix/XArchUnix.h
+++ b/src/lib/arch/unix/XArchUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/vsnprintf.h b/src/lib/arch/vsnprintf.h
index 56dd02e9e..c0dc7dfe8 100644
--- a/src/lib/arch/vsnprintf.h
+++ b/src/lib/arch/vsnprintf.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchConsoleWindows.cpp b/src/lib/arch/win32/ArchConsoleWindows.cpp
index d6b3eb8b4..6b965fd81 100644
--- a/src/lib/arch/win32/ArchConsoleWindows.cpp
+++ b/src/lib/arch/win32/ArchConsoleWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchConsoleWindows.h b/src/lib/arch/win32/ArchConsoleWindows.h
index beb8b447a..6d0e14662 100644
--- a/src/lib/arch/win32/ArchConsoleWindows.h
+++ b/src/lib/arch/win32/ArchConsoleWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchDaemonWindows.cpp b/src/lib/arch/win32/ArchDaemonWindows.cpp
index 21f8fbcf5..c0af0406f 100644
--- a/src/lib/arch/win32/ArchDaemonWindows.cpp
+++ b/src/lib/arch/win32/ArchDaemonWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -31,7 +31,7 @@
ArchDaemonWindows *ArchDaemonWindows::s_daemon = NULL;
ArchDaemonWindows::ArchDaemonWindows() : m_daemonThreadID(0) {
- m_quitMessage = RegisterWindowMessage("SynergyDaemonExit");
+ m_quitMessage = RegisterWindowMessage("DeskflowDaemonExit");
}
ArchDaemonWindows::~ArchDaemonWindows() {
diff --git a/src/lib/arch/win32/ArchDaemonWindows.h b/src/lib/arch/win32/ArchDaemonWindows.h
index 0f457bd61..e39039100 100644
--- a/src/lib/arch/win32/ArchDaemonWindows.h
+++ b/src/lib/arch/win32/ArchDaemonWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -137,12 +137,12 @@ private:
std::string m_commandLine;
};
-#define DEFAULT_DAEMON_NAME _T("Synergy")
-#define DEFAULT_DAEMON_INFO _T("Manages the Synergy foreground processes.")
+#define DEFAULT_DAEMON_NAME _T("Deskflow")
+#define DEFAULT_DAEMON_INFO _T("Manages the Deskflow foreground processes.")
-#define LEGACY_SERVER_DAEMON_NAME _T("Synergy Server")
-#define LEGACY_CLIENT_DAEMON_NAME _T("Synergy Client")
+#define LEGACY_SERVER_DAEMON_NAME _T("Deskflow Server")
+#define LEGACY_CLIENT_DAEMON_NAME _T("Deskflow Client")
static const TCHAR *const g_daemonKeyPath[] = {
- _T("SOFTWARE"), _T("The Synergy Project"), _T("Synergy"), _T("Service"),
+ _T("SOFTWARE"), _T("The Deskflow Project"), _T("Deskflow"), _T("Service"),
NULL};
diff --git a/src/lib/arch/win32/ArchFileWindows.cpp b/src/lib/arch/win32/ArchFileWindows.cpp
index d8a29c88b..26bf47fe1 100644
--- a/src/lib/arch/win32/ArchFileWindows.cpp
+++ b/src/lib/arch/win32/ArchFileWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -150,7 +150,7 @@ std::string ArchFileWindows::getProfileDirectory() {
}
// HACK: append program name, this seems wrong.
- dir.append("\\Synergy");
+ dir.append("\\Deskflow");
return dir;
}
diff --git a/src/lib/arch/win32/ArchFileWindows.h b/src/lib/arch/win32/ArchFileWindows.h
index df4a67091..6d2428147 100644
--- a/src/lib/arch/win32/ArchFileWindows.h
+++ b/src/lib/arch/win32/ArchFileWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchLogWindows.cpp b/src/lib/arch/win32/ArchLogWindows.cpp
index 717b5fb2b..77deb8b50 100644
--- a/src/lib/arch/win32/ArchLogWindows.cpp
+++ b/src/lib/arch/win32/ArchLogWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchLogWindows.h b/src/lib/arch/win32/ArchLogWindows.h
index f5cbef821..dcf2f91c3 100644
--- a/src/lib/arch/win32/ArchLogWindows.h
+++ b/src/lib/arch/win32/ArchLogWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchMiscWindows.cpp b/src/lib/arch/win32/ArchMiscWindows.cpp
index ce14c4339..8a24463c9 100644
--- a/src/lib/arch/win32/ArchMiscWindows.cpp
+++ b/src/lib/arch/win32/ArchMiscWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchMiscWindows.h b/src/lib/arch/win32/ArchMiscWindows.h
index 4a459af2d..e272460bb 100644
--- a/src/lib/arch/win32/ArchMiscWindows.h
+++ b/src/lib/arch/win32/ArchMiscWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchMultithreadWindows.cpp b/src/lib/arch/win32/ArchMultithreadWindows.cpp
index c893df4e2..56933028b 100644
--- a/src/lib/arch/win32/ArchMultithreadWindows.cpp
+++ b/src/lib/arch/win32/ArchMultithreadWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchMultithreadWindows.h b/src/lib/arch/win32/ArchMultithreadWindows.h
index 527338ba0..474d4419f 100644
--- a/src/lib/arch/win32/ArchMultithreadWindows.h
+++ b/src/lib/arch/win32/ArchMultithreadWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchNetworkWinsock.cpp b/src/lib/arch/win32/ArchNetworkWinsock.cpp
index e1d5e6762..29629a12d 100644
--- a/src/lib/arch/win32/ArchNetworkWinsock.cpp
+++ b/src/lib/arch/win32/ArchNetworkWinsock.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchNetworkWinsock.h b/src/lib/arch/win32/ArchNetworkWinsock.h
index 0c8e4f1b9..909c26c2a 100644
--- a/src/lib/arch/win32/ArchNetworkWinsock.h
+++ b/src/lib/arch/win32/ArchNetworkWinsock.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchSleepWindows.cpp b/src/lib/arch/win32/ArchSleepWindows.cpp
index 97bf48d26..cede9bbfe 100644
--- a/src/lib/arch/win32/ArchSleepWindows.cpp
+++ b/src/lib/arch/win32/ArchSleepWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchSleepWindows.h b/src/lib/arch/win32/ArchSleepWindows.h
index d4f8f742a..c554b5122 100644
--- a/src/lib/arch/win32/ArchSleepWindows.h
+++ b/src/lib/arch/win32/ArchSleepWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchStringWindows.cpp b/src/lib/arch/win32/ArchStringWindows.cpp
index 78a22c0ca..bbe069279 100644
--- a/src/lib/arch/win32/ArchStringWindows.cpp
+++ b/src/lib/arch/win32/ArchStringWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchStringWindows.h b/src/lib/arch/win32/ArchStringWindows.h
index a7730fe4d..d62bd0e61 100644
--- a/src/lib/arch/win32/ArchStringWindows.h
+++ b/src/lib/arch/win32/ArchStringWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchSystemWindows.cpp b/src/lib/arch/win32/ArchSystemWindows.cpp
index 099fdb073..b2cd4c59e 100644
--- a/src/lib/arch/win32/ArchSystemWindows.cpp
+++ b/src/lib/arch/win32/ArchSystemWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -27,7 +27,8 @@
#include
#include
-static const char *s_settingsKeyNames[] = {_T("SOFTWARE"), _T("Synergy"), NULL};
+static const char *s_settingsKeyNames[] = {
+ _T("SOFTWARE"), _T("Deskflow"), NULL};
//
// ArchSystemWindows
diff --git a/src/lib/arch/win32/ArchSystemWindows.h b/src/lib/arch/win32/ArchSystemWindows.h
index 67de01847..99edcb10f 100644
--- a/src/lib/arch/win32/ArchSystemWindows.h
+++ b/src/lib/arch/win32/ArchSystemWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchTaskBarWindows.cpp b/src/lib/arch/win32/ArchTaskBarWindows.cpp
index 9d263df29..85e2e2858 100644
--- a/src/lib/arch/win32/ArchTaskBarWindows.cpp
+++ b/src/lib/arch/win32/ArchTaskBarWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -21,7 +21,7 @@
#include "arch/IArchTaskBarReceiver.h"
#include "arch/XArch.h"
#include "arch/win32/ArchMiscWindows.h"
-#include "synergy/win32/AppUtilWindows.h"
+#include "deskflow/win32/AppUtilWindows.h"
#include
#include
@@ -412,7 +412,7 @@ void ArchTaskBarWindows::threadMainLoop() {
m_taskBarRestart = RegisterWindowMessage(TEXT("TaskbarCreated"));
// register a window class
- LPCTSTR className = TEXT("SynergyTaskBar");
+ LPCTSTR className = TEXT("DeskflowTaskBar");
WNDCLASSEX classInfo;
classInfo.cbSize = sizeof(classInfo);
classInfo.style = CS_NOCLOSE;
@@ -430,7 +430,7 @@ void ArchTaskBarWindows::threadMainLoop() {
// create window
m_hwnd = CreateWindowEx(
- WS_EX_TOOLWINDOW, className, TEXT("Synergy Task Bar"), WS_POPUP, 0, 0, 1,
+ WS_EX_TOOLWINDOW, className, TEXT("Deskflow Task Bar"), WS_POPUP, 0, 0, 1,
1, NULL, NULL, instanceWin32(), static_cast(this));
// signal ready
@@ -467,4 +467,4 @@ void *ArchTaskBarWindows::threadEntry(void *self) {
HINSTANCE ArchTaskBarWindows::instanceWin32() {
return ArchMiscWindows::instanceWin32();
-}
\ No newline at end of file
+}
diff --git a/src/lib/arch/win32/ArchTaskBarWindows.h b/src/lib/arch/win32/ArchTaskBarWindows.h
index f28120b59..e53b65ba5 100644
--- a/src/lib/arch/win32/ArchTaskBarWindows.h
+++ b/src/lib/arch/win32/ArchTaskBarWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchTimeWindows.cpp b/src/lib/arch/win32/ArchTimeWindows.cpp
index 8cfb002dc..51e55543a 100644
--- a/src/lib/arch/win32/ArchTimeWindows.cpp
+++ b/src/lib/arch/win32/ArchTimeWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/ArchTimeWindows.h b/src/lib/arch/win32/ArchTimeWindows.h
index b057e48bc..95c1363cd 100644
--- a/src/lib/arch/win32/ArchTimeWindows.h
+++ b/src/lib/arch/win32/ArchTimeWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/arch/win32/XArchWindows.cpp b/src/lib/arch/win32/XArchWindows.cpp
index 3f7e2365d..9fe8bd670 100644
--- a/src/lib/arch/win32/XArchWindows.cpp
+++ b/src/lib/arch/win32/XArchWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -32,7 +32,7 @@ std::string XArchEvalWindows::eval() const throw() {
0, m_error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&cmsg,
0, NULL) == 0) {
cmsg = NULL;
- return synergy::string::sprintf("Unknown error, code %d", m_error);
+ return deskflow::string::sprintf("Unknown error, code %d", m_error);
}
std::string smsg(cmsg);
LocalFree(cmsg);
diff --git a/src/lib/arch/win32/XArchWindows.h b/src/lib/arch/win32/XArchWindows.h
index 075154686..4f5a41501 100644
--- a/src/lib/arch/win32/XArchWindows.h
+++ b/src/lib/arch/win32/XArchWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/CMakeLists.txt b/src/lib/base/CMakeLists.txt
index fb57ef1af..cb2701950 100644
--- a/src/lib/base/CMakeLists.txt
+++ b/src/lib/base/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
diff --git a/src/lib/base/ELevel.h b/src/lib/base/ELevel.h
index 1783b83df..f39c47dae 100644
--- a/src/lib/base/ELevel.h
+++ b/src/lib/base/ELevel.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2011 Chris Schoeneman
*
diff --git a/src/lib/base/Event.cpp b/src/lib/base/Event.cpp
index 60ba9e13c..eaeb15070 100644
--- a/src/lib/base/Event.cpp
+++ b/src/lib/base/Event.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/Event.h b/src/lib/base/Event.h
index 4b27af2c3..86033bd2f 100644
--- a/src/lib/base/Event.h
+++ b/src/lib/base/Event.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/EventQueue.cpp b/src/lib/base/EventQueue.cpp
index d494eabc7..61dc9348c 100644
--- a/src/lib/base/EventQueue.cpp
+++ b/src/lib/base/EventQueue.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/EventQueue.h b/src/lib/base/EventQueue.h
index a0c42b27e..c5b2bd7e6 100644
--- a/src/lib/base/EventQueue.h
+++ b/src/lib/base/EventQueue.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/EventTypes.cpp b/src/lib/base/EventTypes.cpp
index be39be562..d7d9ac94a 100644
--- a/src/lib/base/EventTypes.cpp
+++ b/src/lib/base/EventTypes.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/base/EventTypes.h b/src/lib/base/EventTypes.h
index 932a909e5..17d4af8dd 100644
--- a/src/lib/base/EventTypes.h
+++ b/src/lib/base/EventTypes.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/base/FunctionEventJob.cpp b/src/lib/base/FunctionEventJob.cpp
index e2311ee71..f75096820 100644
--- a/src/lib/base/FunctionEventJob.cpp
+++ b/src/lib/base/FunctionEventJob.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/FunctionEventJob.h b/src/lib/base/FunctionEventJob.h
index 232ad680c..1af60b493 100644
--- a/src/lib/base/FunctionEventJob.h
+++ b/src/lib/base/FunctionEventJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/FunctionJob.cpp b/src/lib/base/FunctionJob.cpp
index f806875eb..582c9e2fd 100644
--- a/src/lib/base/FunctionJob.cpp
+++ b/src/lib/base/FunctionJob.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/FunctionJob.h b/src/lib/base/FunctionJob.h
index 79fa6aa90..df06a28ef 100644
--- a/src/lib/base/FunctionJob.h
+++ b/src/lib/base/FunctionJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/IEventJob.h b/src/lib/base/IEventJob.h
index bafb8c61c..528035ecd 100644
--- a/src/lib/base/IEventJob.h
+++ b/src/lib/base/IEventJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/IEventQueue.h b/src/lib/base/IEventQueue.h
index 1646ceff3..6be5ad88d 100644
--- a/src/lib/base/IEventQueue.h
+++ b/src/lib/base/IEventQueue.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/IEventQueueBuffer.h b/src/lib/base/IEventQueueBuffer.h
index 59302b9d8..824b1496c 100644
--- a/src/lib/base/IEventQueueBuffer.h
+++ b/src/lib/base/IEventQueueBuffer.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/IJob.h b/src/lib/base/IJob.h
index a4ede28fb..7cc15b7ae 100644
--- a/src/lib/base/IJob.h
+++ b/src/lib/base/IJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/ILogOutputter.h b/src/lib/base/ILogOutputter.h
index f403fa6de..34f404e71 100644
--- a/src/lib/base/ILogOutputter.h
+++ b/src/lib/base/ILogOutputter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/Log.cpp b/src/lib/base/Log.cpp
index 822b4aedf..09e00af1f 100644
--- a/src/lib/base/Log.cpp
+++ b/src/lib/base/Log.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -229,7 +229,7 @@ void Log::insert(ILogOutputter *outputter, bool alwaysAtHead) {
// don't show log unless user requests it, as some users find this
// feature irritating (i.e. when they lose network connectivity).
// in windows the log window can be displayed by selecting "show log"
- // from the synergy system tray icon.
+ // from the deskflow system tray icon.
// if this causes problems for other architectures, then a different
// work around should be attempted.
// outputter->show(false);
diff --git a/src/lib/base/Log.h b/src/lib/base/Log.h
index 732188e9d..8bbabf310 100644
--- a/src/lib/base/Log.h
+++ b/src/lib/base/Log.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/Path.cpp b/src/lib/base/Path.cpp
index fc0da77a5..668364718 100644
--- a/src/lib/base/Path.cpp
+++ b/src/lib/base/Path.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -20,7 +20,7 @@
#include "arch/win32/ArchMiscWindows.h"
#endif
-namespace synergy {
+namespace deskflow {
namespace filesystem {
@@ -48,4 +48,4 @@ std::string path(const String &filePath) { return filePath; }
} // namespace filesystem
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/base/Path.h b/src/lib/base/Path.h
index 98c8e3a5a..f375aee44 100644
--- a/src/lib/base/Path.h
+++ b/src/lib/base/Path.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -14,12 +14,12 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-#ifndef SYNERGY_PATH_H
-#define SYNERGY_PATH_H
+#ifndef DESKFLOW_PATH_H
+#define DESKFLOW_PATH_H
#include "String.h"
-namespace synergy {
+namespace deskflow {
namespace filesystem {
@@ -31,6 +31,6 @@ std::string path(const String &filePath);
} // namespace filesystem
-} // namespace synergy
+} // namespace deskflow
-#endif // SYNERGY_PATH_H
+#endif // DESKFLOW_PATH_H
diff --git a/src/lib/base/PriorityQueue.h b/src/lib/base/PriorityQueue.h
index 6404cd66d..c1bf6f7ad 100644
--- a/src/lib/base/PriorityQueue.h
+++ b/src/lib/base/PriorityQueue.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
diff --git a/src/lib/base/SimpleEventQueueBuffer.cpp b/src/lib/base/SimpleEventQueueBuffer.cpp
index 4f4176ea6..aa512cb1c 100644
--- a/src/lib/base/SimpleEventQueueBuffer.cpp
+++ b/src/lib/base/SimpleEventQueueBuffer.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/SimpleEventQueueBuffer.h b/src/lib/base/SimpleEventQueueBuffer.h
index c1678f4c5..d8f460315 100644
--- a/src/lib/base/SimpleEventQueueBuffer.h
+++ b/src/lib/base/SimpleEventQueueBuffer.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/Stopwatch.cpp b/src/lib/base/Stopwatch.cpp
index 94cfbf6ee..758f09f2c 100644
--- a/src/lib/base/Stopwatch.cpp
+++ b/src/lib/base/Stopwatch.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/Stopwatch.h b/src/lib/base/Stopwatch.h
index 2abac2020..e4816ed4b 100644
--- a/src/lib/base/Stopwatch.h
+++ b/src/lib/base/Stopwatch.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/String.cpp b/src/lib/base/String.cpp
index 1c8b8c268..a060dbd7a 100644
--- a/src/lib/base/String.cpp
+++ b/src/lib/base/String.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@
#include
#include
-namespace synergy {
+namespace deskflow {
namespace string {
String format(const char *fmt, ...) {
@@ -243,7 +243,7 @@ bool CaselessCmp::cmpLess(
bool CaselessCmp::less(const String &a, const String &b) {
return std::lexicographical_compare(
a.begin(), a.end(), b.begin(), b.end(),
- &synergy::string::CaselessCmp::cmpLess);
+ &deskflow::string::CaselessCmp::cmpLess);
}
bool CaselessCmp::equal(const String &a, const String &b) {
@@ -255,4 +255,4 @@ bool CaselessCmp::operator()(const String &a, const String &b) const {
}
} // namespace string
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/base/String.h b/src/lib/base/String.h
index 9b333cbdb..d2b5b5019 100644
--- a/src/lib/base/String.h
+++ b/src/lib/base/String.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -27,7 +27,7 @@
// use standard C++ string class for our string class
using String = std::string;
-namespace synergy {
+namespace deskflow {
//! String utilities
/*!
@@ -131,4 +131,4 @@ public:
};
} // namespace string
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/base/TMethodEventJob.h b/src/lib/base/TMethodEventJob.h
index a67260d55..16a524d72 100644
--- a/src/lib/base/TMethodEventJob.h
+++ b/src/lib/base/TMethodEventJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/base/TMethodJob.h b/src/lib/base/TMethodJob.h
index 6c4cc6bd3..dd9b508d8 100644
--- a/src/lib/base/TMethodJob.h
+++ b/src/lib/base/TMethodJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/Unicode.cpp b/src/lib/base/Unicode.cpp
index 88abaec49..35ab791d9 100644
--- a/src/lib/base/Unicode.cpp
+++ b/src/lib/base/Unicode.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/Unicode.h b/src/lib/base/Unicode.h
index 45147ae97..f3a2b603b 100644
--- a/src/lib/base/Unicode.h
+++ b/src/lib/base/Unicode.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/XBase.cpp b/src/lib/base/XBase.cpp
index 95889cbb0..45a305888 100644
--- a/src/lib/base/XBase.cpp
+++ b/src/lib/base/XBase.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -58,7 +58,7 @@ String XBase::format(const char * /*id*/, const char *fmt, ...) const throw() {
va_list args;
va_start(args, fmt);
try {
- result = synergy::string::vformat(fmt, args);
+ result = deskflow::string::vformat(fmt, args);
} catch (...) {
// ignore
result.clear();
diff --git a/src/lib/base/XBase.h b/src/lib/base/XBase.h
index 416e7bd77..21e167b39 100644
--- a/src/lib/base/XBase.h
+++ b/src/lib/base/XBase.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/base/log_outputters.cpp b/src/lib/base/log_outputters.cpp
index 5be96dad8..7af10fd1d 100644
--- a/src/lib/base/log_outputters.cpp
+++ b/src/lib/base/log_outputters.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -185,7 +185,7 @@ bool FileLogOutputter::write(ELevel level, const char *message) {
bool moveFile = false;
std::ofstream m_handle;
- m_handle.open(synergy::filesystem::path(m_fileName), std::fstream::app);
+ m_handle.open(deskflow::filesystem::path(m_fileName), std::fstream::app);
if (m_handle.is_open() && m_handle.fail() != true) {
m_handle << message << std::endl;
@@ -199,7 +199,7 @@ bool FileLogOutputter::write(ELevel level, const char *message) {
if (moveFile) {
String oldLogFilename =
- synergy::string::sprintf("%s.1", m_fileName.c_str());
+ deskflow::string::sprintf("%s.1", m_fileName.c_str());
remove(oldLogFilename.c_str());
rename(m_fileName.c_str(), oldLogFilename.c_str());
}
diff --git a/src/lib/base/log_outputters.h b/src/lib/base/log_outputters.h
index 61d1efa02..79ffe69e2 100644
--- a/src/lib/base/log_outputters.h
+++ b/src/lib/base/log_outputters.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/client/CMakeLists.txt b/src/lib/client/CMakeLists.txt
index a74afe69b..7ea2b6480 100644
--- a/src/lib/client/CMakeLists.txt
+++ b/src/lib/client/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -24,5 +24,5 @@ endif()
add_library(client STATIC ${sources})
if(UNIX)
- target_link_libraries(client synlib io)
+ target_link_libraries(client app io)
endif()
diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp
index dac37fbb7..405ee6b58 100644
--- a/src/lib/client/Client.cpp
+++ b/src/lib/client/Client.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -25,21 +25,21 @@
#include "base/TMethodJob.h"
#include "client/ServerProxy.h"
#include "common/stdexcept.h"
+#include "deskflow/AppUtil.h"
+#include "deskflow/DropHelper.h"
+#include "deskflow/FileChunk.h"
+#include "deskflow/IPlatformScreen.h"
+#include "deskflow/PacketStreamFilter.h"
+#include "deskflow/ProtocolUtil.h"
+#include "deskflow/Screen.h"
+#include "deskflow/StreamChunker.h"
+#include "deskflow/XDeskflow.h"
+#include "deskflow/protocol_types.h"
#include "mt/Thread.h"
#include "net/IDataSocket.h"
#include "net/ISocketFactory.h"
#include "net/SecureSocket.h"
#include "net/TCPSocket.h"
-#include "synergy/AppUtil.h"
-#include "synergy/DropHelper.h"
-#include "synergy/FileChunk.h"
-#include "synergy/IPlatformScreen.h"
-#include "synergy/PacketStreamFilter.h"
-#include "synergy/ProtocolUtil.h"
-#include "synergy/Screen.h"
-#include "synergy/StreamChunker.h"
-#include "synergy/XSynergy.h"
-#include "synergy/protocol_types.h"
#include
#include
@@ -55,8 +55,8 @@
Client::Client(
IEventQueue *events, const String &name, const NetworkAddress &address,
- ISocketFactory *socketFactory, synergy::Screen *screen,
- synergy::ClientArgs const &args)
+ ISocketFactory *socketFactory, deskflow::Screen *screen,
+ deskflow::ClientArgs const &args)
: m_mock(false),
m_name(name),
m_serverAddress(address),
@@ -701,12 +701,12 @@ void Client::onFileRecieveCompleted() {
void Client::bindNetworkInterface(IDataSocket *socket) const {
try {
- if (!m_args.m_synergyAddress.empty()) {
+ if (!m_args.m_deskflowAddress.empty()) {
LOG(
(CLOG_DEBUG1 "bind to network interface: %s",
- m_args.m_synergyAddress.c_str()));
+ m_args.m_deskflowAddress.c_str()));
- NetworkAddress bindAddress(m_args.m_synergyAddress);
+ NetworkAddress bindAddress(m_args.m_deskflowAddress);
bindAddress.resolve();
socket->bind(bindAddress);
diff --git a/src/lib/client/Client.h b/src/lib/client/Client.h
index 274851034..1c0b13e71 100644
--- a/src/lib/client/Client.h
+++ b/src/lib/client/Client.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,34 +18,34 @@
#pragma once
-#include "synergy/IClient.h"
+#include "deskflow/IClient.h"
#include "base/EventTypes.h"
+#include "deskflow/ClientArgs.h"
+#include "deskflow/Clipboard.h"
+#include "deskflow/DragInformation.h"
+#include "deskflow/INode.h"
#include "mt/CondVar.h"
#include "net/NetworkAddress.h"
-#include "synergy/ClientArgs.h"
-#include "synergy/Clipboard.h"
-#include "synergy/DragInformation.h"
-#include "synergy/INode.h"
#include
class EventQueueTimer;
-namespace synergy {
+namespace deskflow {
class Screen;
}
class ServerProxy;
class IDataSocket;
class ISocketFactory;
-namespace synergy {
+namespace deskflow {
class IStream;
}
class IEventQueue;
class Thread;
class TCPSocket;
-//! Synergy client
+//! Deskflow client
/*!
-This class implements the top-level client algorithms for synergy.
+This class implements the top-level client algorithms for deskflow.
*/
class Client : public IClient, public INode {
public:
@@ -64,8 +64,8 @@ public:
*/
Client(
IEventQueue *events, const String &name, const NetworkAddress &address,
- ISocketFactory *socketFactory, synergy::Screen *screen,
- synergy::ClientArgs const &args);
+ ISocketFactory *socketFactory, deskflow::Screen *screen,
+ deskflow::ClientArgs const &args);
Client(Client const &) = delete;
Client(Client &&) = delete;
~Client();
@@ -225,8 +225,8 @@ private:
String m_name;
NetworkAddress m_serverAddress;
ISocketFactory *m_socketFactory;
- synergy::Screen *m_screen;
- synergy::IStream *m_stream;
+ deskflow::Screen *m_screen;
+ deskflow::IStream *m_stream;
EventQueueTimer *m_timer;
ServerProxy *m_server;
bool m_ready;
@@ -248,6 +248,6 @@ private:
bool m_useSecureNetwork;
bool m_enableClipboard;
size_t m_maximumClipboardSize;
- synergy::ClientArgs m_args;
+ deskflow::ClientArgs m_args;
size_t m_resolvedAddressesCount = 0;
};
diff --git a/src/lib/client/ServerProxy.cpp b/src/lib/client/ServerProxy.cpp
index 1d97a7c98..6c8b7db19 100644
--- a/src/lib/client/ServerProxy.cpp
+++ b/src/lib/client/ServerProxy.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -23,15 +23,15 @@
#include "base/TMethodEventJob.h"
#include "base/XBase.h"
#include "client/Client.h"
+#include "deskflow/AppUtil.h"
+#include "deskflow/Clipboard.h"
+#include "deskflow/ClipboardChunk.h"
+#include "deskflow/FileChunk.h"
+#include "deskflow/ProtocolUtil.h"
+#include "deskflow/StreamChunker.h"
+#include "deskflow/option_types.h"
+#include "deskflow/protocol_types.h"
#include "io/IStream.h"
-#include "synergy/AppUtil.h"
-#include "synergy/Clipboard.h"
-#include "synergy/ClipboardChunk.h"
-#include "synergy/FileChunk.h"
-#include "synergy/ProtocolUtil.h"
-#include "synergy/StreamChunker.h"
-#include "synergy/option_types.h"
-#include "synergy/protocol_types.h"
#include
#include
@@ -42,7 +42,7 @@
//
ServerProxy::ServerProxy(
- Client *client, synergy::IStream *stream, IEventQueue *events)
+ Client *client, deskflow::IStream *stream, IEventQueue *events)
: m_client(client),
m_stream(stream),
m_seqNum(0),
@@ -919,7 +919,7 @@ void ServerProxy::checkMissedLanguages() const {
LOG(
(CLOG_WARN
"You need to install these languages on this computer and restart "
- "Synergy to enable support for multiple languages: %s",
+ "Deskflow to enable support for multiple languages: %s",
missedLanguages.c_str()));
}
}
diff --git a/src/lib/client/ServerProxy.h b/src/lib/client/ServerProxy.h
index 0061dd810..378f7d35b 100644
--- a/src/lib/client/ServerProxy.h
+++ b/src/lib/client/ServerProxy.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -21,15 +21,15 @@
#include "base/Event.h"
#include "base/Stopwatch.h"
#include "base/String.h"
-#include "synergy/clipboard_types.h"
-#include "synergy/key_types.h"
-#include "synergy/languages/LanguageManager.h"
+#include "deskflow/clipboard_types.h"
+#include "deskflow/key_types.h"
+#include "deskflow/languages/LanguageManager.h"
class Client;
class ClientInfo;
class EventQueueTimer;
class IClipboard;
-namespace synergy {
+namespace deskflow {
class IStream;
}
class IEventQueue;
@@ -45,7 +45,7 @@ public:
Process messages from the server on \p stream and forward to
\p client.
*/
- ServerProxy(Client *client, synergy::IStream *stream, IEventQueue *events);
+ ServerProxy(Client *client, deskflow::IStream *stream, IEventQueue *events);
ServerProxy(ServerProxy const &) = delete;
ServerProxy(ServerProxy &&) = delete;
~ServerProxy();
@@ -124,7 +124,7 @@ private:
typedef EResult (ServerProxy::*MessageParser)(const UInt8 *);
Client *m_client;
- synergy::IStream *m_stream;
+ deskflow::IStream *m_stream;
UInt32 m_seqNum;
@@ -144,5 +144,5 @@ private:
IEventQueue *m_events;
String m_serverLanguage = "";
bool m_isUserNotifiedAboutLanguageSyncError = false;
- synergy::languages::LanguageManager m_languageManager;
+ deskflow::languages::LanguageManager m_languageManager;
};
diff --git a/src/lib/common/IInterface.h b/src/lib/common/IInterface.h
index 4e0d38d67..3fce440cb 100644
--- a/src/lib/common/IInterface.h
+++ b/src/lib/common/IInterface.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/MacOSXPrecomp.h b/src/lib/common/MacOSXPrecomp.h
index 8ae4edeef..18a43ceb1 100644
--- a/src/lib/common/MacOSXPrecomp.h
+++ b/src/lib/common/MacOSXPrecomp.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/basic_types.h b/src/lib/common/basic_types.h
index 02b9945ef..94ebe6ad6 100644
--- a/src/lib/common/basic_types.h
+++ b/src/lib/common/basic_types.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/common.h b/src/lib/common/common.h
index 8b8a04add..184a732da 100644
--- a/src/lib/common/common.h
+++ b/src/lib/common/common.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/constants.h b/src/lib/common/constants.h
index 3fb21b52d..3f8f10662 100644
--- a/src/lib/common/constants.h
+++ b/src/lib/common/constants.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,13 +18,13 @@
#pragma once
-#if !defined(SYNERGY_VERSION)
+#if !defined(DESKFLOW_VERSION)
#error version was not passed to the compiler
#endif
-const auto kAppName = "Synergy";
+const auto kAppName = "Deskflow";
const auto kAppDescription = "Mouse and keyboard sharing utility";
-const auto kVersion = SYNERGY_VERSION;
+const auto kVersion = DESKFLOW_VERSION;
#ifdef GIT_SHA_SHORT
const auto kVersionGitSha = GIT_SHA_SHORT;
diff --git a/src/lib/common/copyright.h b/src/lib/common/copyright.h
index f084d10b4..4ad3d5cb3 100644
--- a/src/lib/common/copyright.h
+++ b/src/lib/common/copyright.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include
#include
-namespace synergy {
+namespace deskflow {
const auto kCopyrightFormat = //
"Copyright (C) 2012-%s Symless Ltd.\n"
@@ -38,4 +38,4 @@ inline std::string copyright() {
return std::string(buffer.data());
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/common/ipc.h b/src/lib/common/ipc.h
index 90df86a51..85e05396e 100644
--- a/src/lib/common/ipc.h
+++ b/src/lib/common/ipc.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -34,7 +34,7 @@ const auto kIpcHost = "127.0.0.1";
const auto kIpcPort = 24801;
// handshake: node/gui -> daemon
-// $1 = type, the client identifies it's self as gui or node (synergyc/s).
+// $1 = type, the client identifies it's self as gui or node (deskflowc/s).
const auto kIpcMsgHello = "IHEL%1i";
// handshake: daemon -> node/gui
@@ -42,16 +42,16 @@ const auto kIpcMsgHello = "IHEL%1i";
const auto kIpcMsgHelloBack = "IHEL";
// log line: daemon -> gui
-// $1 = aggregate log lines collected from synergys/c or the daemon itself.
+// $1 = aggregate log lines collected from deskflows/c or the daemon itself.
const auto kIpcMsgLogLine = "ILOG%s";
// command: gui -> daemon
// $1 = command; the command for the daemon to launch, typically the full
-// path to synergys/c. $2 = true when process must be elevated on ms windows.
+// path to deskflows/c. $2 = true when process must be elevated on ms windows.
const auto kIpcMsgCommand = "ICMD%s%1i";
// shutdown: daemon -> node
-// the daemon tells synergys/c to shut down gracefully.
+// the daemon tells deskflows/c to shut down gracefully.
const auto kIpcMsgShutdown = "ISDN";
// set setting: gui -> daemon
diff --git a/src/lib/common/stdbitset.h b/src/lib/common/stdbitset.h
index a4d51edf2..49f0712ea 100644
--- a/src/lib/common/stdbitset.h
+++ b/src/lib/common/stdbitset.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stddeque.h b/src/lib/common/stddeque.h
index c781b8f81..689aa5a3f 100644
--- a/src/lib/common/stddeque.h
+++ b/src/lib/common/stddeque.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdexcept.h b/src/lib/common/stdexcept.h
index 52ce3ab0d..225499424 100644
--- a/src/lib/common/stdexcept.h
+++ b/src/lib/common/stdexcept.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/common/stdfstream.h b/src/lib/common/stdfstream.h
index b6845c55b..825693760 100644
--- a/src/lib/common/stdfstream.h
+++ b/src/lib/common/stdfstream.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdistream.h b/src/lib/common/stdistream.h
index 2adda50bc..b51a8a9fe 100644
--- a/src/lib/common/stdistream.h
+++ b/src/lib/common/stdistream.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdlist.h b/src/lib/common/stdlist.h
index 64ac1752c..253b5656c 100644
--- a/src/lib/common/stdlist.h
+++ b/src/lib/common/stdlist.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdmap.h b/src/lib/common/stdmap.h
index 28e4ad327..c11d65e93 100644
--- a/src/lib/common/stdmap.h
+++ b/src/lib/common/stdmap.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdostream.h b/src/lib/common/stdostream.h
index c82a02506..4a2bed77e 100644
--- a/src/lib/common/stdostream.h
+++ b/src/lib/common/stdostream.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdpost.h b/src/lib/common/stdpost.h
index 2658532f8..04977a037 100644
--- a/src/lib/common/stdpost.h
+++ b/src/lib/common/stdpost.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdpre.h b/src/lib/common/stdpre.h
index b09a70747..89fa0c279 100644
--- a/src/lib/common/stdpre.h
+++ b/src/lib/common/stdpre.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdset.h b/src/lib/common/stdset.h
index 9a0be8d30..7b08a3599 100644
--- a/src/lib/common/stdset.h
+++ b/src/lib/common/stdset.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdsstream.h b/src/lib/common/stdsstream.h
index d80ed7417..3d1511026 100644
--- a/src/lib/common/stdsstream.h
+++ b/src/lib/common/stdsstream.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdstring.h b/src/lib/common/stdstring.h
index 69433e374..228394d6f 100644
--- a/src/lib/common/stdstring.h
+++ b/src/lib/common/stdstring.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/stdvector.h b/src/lib/common/stdvector.h
index 0fcb993db..55248dbfc 100644
--- a/src/lib/common/stdvector.h
+++ b/src/lib/common/stdvector.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/common/version.h b/src/lib/common/version.h
index e4dc2bdaf..883ff2056 100644
--- a/src/lib/common/version.h
+++ b/src/lib/common/version.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include
-namespace synergy {
+namespace deskflow {
inline std::string version() {
std::string result = kVersion;
@@ -34,4 +34,4 @@ inline std::string version() {
return result;
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/App.cpp b/src/lib/deskflow/App.cpp
similarity index 94%
rename from src/lib/synergy/App.cpp
rename to src/lib/deskflow/App.cpp
index 32d5447d9..e907b7a80 100644
--- a/src/lib/synergy/App.cpp
+++ b/src/lib/deskflow/App.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/App.h"
+#include "deskflow/App.h"
#include "DisplayInvalidException.h"
#include "arch/Arch.h"
@@ -30,12 +30,12 @@
#include "common/copyright.h"
#include "common/ipc.h"
#include "common/version.h"
+#include "deskflow/ArgsBase.h"
+#include "deskflow/Config.h"
+#include "deskflow/XDeskflow.h"
+#include "deskflow/protocol_types.h"
#include "ipc/IpcMessage.h"
#include "ipc/IpcServerProxy.h"
-#include "synergy/ArgsBase.h"
-#include "synergy/Config.h"
-#include "synergy/XSynergy.h"
-#include "synergy/protocol_types.h"
#if SYSAPI_WIN32
#include "arch/win32/ArchMiscWindows.h"
@@ -63,7 +63,7 @@
#include
#endif
-using namespace synergy;
+using namespace deskflow;
App *App::s_instance = nullptr;
@@ -73,7 +73,7 @@ App *App::s_instance = nullptr;
App::App(
IEventQueue *events, CreateTaskBarReceiverFunc createTaskBarReceiver,
- synergy::ArgsBase *args)
+ deskflow::ArgsBase *args)
: m_bye(&exit),
m_taskBarReceiver(NULL),
m_suspended(false),
@@ -94,8 +94,8 @@ App::~App() {
}
void App::version() {
- const auto version = synergy::version();
- const auto copyright = synergy::copyright();
+ const auto version = deskflow::version();
+ const auto copyright = deskflow::copyright();
const auto kBufferLength = 1024;
std::vector buffer(kBufferLength);
@@ -274,7 +274,7 @@ void App::runEventsLoop(void *) {
// MinimalApp
//
-MinimalApp::MinimalApp() : App(NULL, NULL, new synergy::ArgsBase()) {
+MinimalApp::MinimalApp() : App(NULL, NULL, new deskflow::ArgsBase()) {
m_arch.init();
setEvents(m_events);
}
@@ -294,7 +294,7 @@ int MinimalApp::mainLoop() { return 0; }
int MinimalApp::foregroundStartup(int argc, char **argv) { return 0; }
-synergy::Screen *MinimalApp::createScreen() { return NULL; }
+deskflow::Screen *MinimalApp::createScreen() { return NULL; }
void MinimalApp::loadConfig() {}
diff --git a/src/lib/synergy/App.h b/src/lib/deskflow/App.h
similarity index 95%
rename from src/lib/synergy/App.h
rename to src/lib/deskflow/App.h
index fad88e3f0..f3f97e49d 100644
--- a/src/lib/synergy/App.h
+++ b/src/lib/deskflow/App.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -22,13 +22,13 @@
#include "base/Log.h"
#include "base/String.h"
#include "common/common.h"
+#include "deskflow/IApp.h"
#include "ipc/IpcClient.h"
-#include "synergy/IApp.h"
#if SYSAPI_WIN32
-#include "synergy/win32/AppUtilWindows.h"
+#include "deskflow/win32/AppUtilWindows.h"
#elif SYSAPI_UNIX
-#include "synergy/unix/AppUtilUnix.h"
+#include "deskflow/unix/AppUtilUnix.h"
#endif
#include
@@ -37,7 +37,7 @@ class IArchTaskBarReceiver;
class BufferedLogOutputter;
class ILogOutputter;
class FileLogOutputter;
-namespace synergy {
+namespace deskflow {
class Screen;
}
class IEventQueue;
@@ -54,7 +54,7 @@ public:
};
App(IEventQueue *events, CreateTaskBarReceiverFunc createTaskBarReceiver,
- synergy::ArgsBase *args);
+ deskflow::ArgsBase *args);
App(App const &) = delete;
App(App &&) = delete;
virtual ~App();
@@ -75,7 +75,7 @@ public:
virtual IEventQueue *getEvents() const { return m_events; }
ARCH_APP_UTIL &appUtil() { return m_appUtil; }
- synergy::ArgsBase &argsBase() const { return *m_args; }
+ deskflow::ArgsBase &argsBase() const { return *m_args; }
int run(int argc, char **argv);
int daemonMainLoop(int, const char **);
void setupFileLogging();
@@ -113,7 +113,7 @@ protected:
IEventQueue *m_events;
private:
- synergy::ArgsBase *m_args;
+ deskflow::ArgsBase *m_args;
static App *s_instance;
FileLogOutputter *m_fileLog;
CreateTaskBarReceiverFunc m_createTaskBarReceiver;
@@ -135,7 +135,7 @@ public:
virtual void startNode() override;
virtual int mainLoop() override;
virtual int foregroundStartup(int argc, char **argv) override;
- virtual synergy::Screen *createScreen() override;
+ virtual deskflow::Screen *createScreen() override;
virtual void loadConfig() override;
virtual bool loadConfig(const String &pathname) override;
virtual const char *daemonInfo() const override;
diff --git a/src/lib/synergy/AppUtil.cpp b/src/lib/deskflow/AppUtil.cpp
similarity index 93%
rename from src/lib/synergy/AppUtil.cpp
rename to src/lib/deskflow/AppUtil.cpp
index 95968283b..e586c283d 100644
--- a/src/lib/synergy/AppUtil.cpp
+++ b/src/lib/deskflow/AppUtil.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/AppUtil.h"
+#include "deskflow/AppUtil.h"
#include "algorithm"
diff --git a/src/lib/synergy/AppUtil.h b/src/lib/deskflow/AppUtil.h
similarity index 90%
rename from src/lib/synergy/AppUtil.h
rename to src/lib/deskflow/AppUtil.h
index b8065f731..c0887e4b1 100644
--- a/src/lib/synergy/AppUtil.h
+++ b/src/lib/deskflow/AppUtil.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,8 +18,8 @@
#pragma once
-#include "synergy/IAppUtil.h"
-#include "synergy/XSynergy.h"
+#include "deskflow/IAppUtil.h"
+#include "deskflow/XDeskflow.h"
class AppUtil : public IAppUtil {
public:
diff --git a/src/lib/synergy/ArgParser.cpp b/src/lib/deskflow/ArgParser.cpp
similarity index 93%
rename from src/lib/synergy/ArgParser.cpp
rename to src/lib/deskflow/ArgParser.cpp
index 641dc55a3..74d2ef4d5 100644
--- a/src/lib/synergy/ArgParser.cpp
+++ b/src/lib/deskflow/ArgParser.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,29 +15,29 @@
* along with this program. If not, see .
*/
-#include "synergy/ArgParser.h"
+#include "deskflow/ArgParser.h"
#include "base/Log.h"
#include "base/String.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgsBase.h"
+#include "deskflow/ClientArgs.h"
+#include "deskflow/ServerArgs.h"
+#include "deskflow/ToolArgs.h"
#include "license/parse_serial_key.h"
-#include "synergy/App.h"
-#include "synergy/ArgsBase.h"
-#include "synergy/ClientArgs.h"
-#include "synergy/ServerArgs.h"
-#include "synergy/ToolArgs.h"
#ifdef WINAPI_MSWINDOWS
#include
#endif
-using namespace synergy::license;
+using namespace deskflow::license;
-synergy::ArgsBase *ArgParser::m_argsBase = nullptr;
+deskflow::ArgsBase *ArgParser::m_argsBase = nullptr;
ArgParser::ArgParser(App *app) : m_app(app) {}
bool ArgParser::parseServerArgs(
- synergy::ServerArgs &args, int argc, const char *const *argv) {
+ deskflow::ServerArgs &args, int argc, const char *const *argv) {
setArgsBase(args);
updateCommonArgs(argv);
int i = 1;
@@ -76,7 +76,7 @@ bool ArgParser::parseServerArgs(
}
bool ArgParser::parseClientArgs(
- synergy::ClientArgs &args, int argc, const char *const *argv) {
+ deskflow::ClientArgs &args, int argc, const char *const *argv) {
setArgsBase(args);
updateCommonArgs(argv);
@@ -102,7 +102,7 @@ bool ArgParser::parseClientArgs(
args.m_enableLangSync = true;
} else if (isArg(i, argc, argv, nullptr, "--invert-scroll")) {
args.m_clientScrollDirection =
- synergy::ClientScrollDirection::INVERT_SERVER;
+ deskflow::ClientScrollDirection::INVERT_SERVER;
} else if (isArg(i, argc, argv, nullptr, "--host")) {
args.m_hostMode = true;
} else if (isArg(i, argc, argv, nullptr, "client")) {
@@ -138,11 +138,11 @@ bool ArgParser::parseClientArgs(
}
bool ArgParser::parsePlatformArgs(
- synergy::ArgsBase &argsBase, const int &argc, const char *const *argv,
+ deskflow::ArgsBase &argsBase, const int &argc, const char *const *argv,
int &i, bool isServer) {
#if WINAPI_MSWINDOWS
if (isArg(i, argc, argv, nullptr, "--service")) {
- LOG((CLOG_WARN "obsolete argument --service, use synergyd instead."));
+ LOG((CLOG_WARN "obsolete argument --service, use deskflowd instead."));
argsBase.m_shouldExitFail = true;
} else if (isArg(i, argc, argv, nullptr, "--exit-pause")) {
argsBase.m_pauseOnExit = true;
@@ -199,7 +199,7 @@ bool ArgParser::parseToolArgs(
bool ArgParser::parseGenericArgs(int argc, const char *const *argv, int &i) {
if (isArg(i, argc, argv, "-a", "--address", 1)) {
- argsBase().m_synergyAddress = argv[++i];
+ argsBase().m_deskflowAddress = argv[++i];
} else if (isArg(i, argc, argv, "-d", "--debug", 1)) {
// change logging level
argsBase().m_logFilter = argv[++i];
@@ -237,9 +237,9 @@ bool ArgParser::parseGenericArgs(int argc, const char *const *argv, int &i) {
} else if (isArg(i, argc, argv, nullptr, "--ipc")) {
argsBase().m_enableIpc = true;
} else if (isArg(i, argc, argv, nullptr, "--server")) {
- // HACK: stop error happening when using portable (synergyp)
+ // HACK: stop error happening when using portable (deskflowp)
} else if (isArg(i, argc, argv, nullptr, "--client")) {
- // HACK: stop error happening when using portable (synergyp)
+ // HACK: stop error happening when using portable (deskflowp)
} else if (isArg(i, argc, argv, nullptr, "--enable-drag-drop")) {
bool useDragDrop = true;
diff --git a/src/lib/synergy/ArgParser.h b/src/lib/deskflow/ArgParser.h
similarity index 76%
rename from src/lib/synergy/ArgParser.h
rename to src/lib/deskflow/ArgParser.h
index 70e1b048b..7d6fd92f1 100644
--- a/src/lib/synergy/ArgParser.h
+++ b/src/lib/deskflow/ArgParser.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -20,11 +20,11 @@
#include "base/String.h"
#include "common/stdvector.h"
-namespace synergy {
+namespace deskflow {
class ArgsBase;
class ServerArgs;
class ClientArgs;
-} // namespace synergy
+} // namespace deskflow
class ToolArgs;
class App;
@@ -34,17 +34,17 @@ class ArgParser {
public:
ArgParser(App *app);
- bool
- parseServerArgs(synergy::ServerArgs &args, int argc, const char *const *argv);
- bool
- parseClientArgs(synergy::ClientArgs &args, int argc, const char *const *argv);
+ bool parseServerArgs(
+ deskflow::ServerArgs &args, int argc, const char *const *argv);
+ bool parseClientArgs(
+ deskflow::ClientArgs &args, int argc, const char *const *argv);
bool parsePlatformArgs(
- synergy::ArgsBase &argsBase, const int &argc, const char *const *argv,
+ deskflow::ArgsBase &argsBase, const int &argc, const char *const *argv,
int &i, bool isServer);
bool parseToolArgs(ToolArgs &args, int argc, const char *const *argv);
bool parseGenericArgs(int argc, const char *const *argv, int &i);
bool parseDeprecatedArgs(int argc, const char *const *argv, int &i);
- void setArgsBase(synergy::ArgsBase &argsBase) { m_argsBase = &argsBase; }
+ void setArgsBase(deskflow::ArgsBase &argsBase) { m_argsBase = &argsBase; }
static bool isArg(
int argi, int argc, const char *const *argv, const char *name1,
@@ -58,7 +58,7 @@ public:
std::vector &argsArray, String ignoreArg = "",
int parametersRequired = 0);
- static synergy::ArgsBase &argsBase() { return *m_argsBase; }
+ static deskflow::ArgsBase &argsBase() { return *m_argsBase; }
private:
void updateCommonArgs(const char *const *argv);
@@ -67,5 +67,5 @@ private:
private:
App *m_app;
- static synergy::ArgsBase *m_argsBase;
+ static deskflow::ArgsBase *m_argsBase;
};
diff --git a/src/lib/synergy/ArgsBase.cpp b/src/lib/deskflow/ArgsBase.cpp
similarity index 88%
rename from src/lib/synergy/ArgsBase.cpp
rename to src/lib/deskflow/ArgsBase.cpp
index 240d057af..5c5218a18 100644
--- a/src/lib/synergy/ArgsBase.cpp
+++ b/src/lib/deskflow/ArgsBase.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2020 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
@@ -18,8 +18,8 @@
#include "ArgsBase.h"
-namespace synergy {
+namespace deskflow {
ArgsBase::~ArgsBase() {
//
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/ArgsBase.h b/src/lib/deskflow/ArgsBase.h
similarity index 96%
rename from src/lib/synergy/ArgsBase.h
rename to src/lib/deskflow/ArgsBase.h
index 9849bdb9c..ce3463b32 100644
--- a/src/lib/synergy/ArgsBase.h
+++ b/src/lib/deskflow/ArgsBase.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include "base/String.h"
-namespace synergy {
+namespace deskflow {
/**
* @brief This is the base Argument class that will store the generic
@@ -77,7 +77,7 @@ public:
bool m_shouldExitFail = false;
/// @brief Bind to this address
- String m_synergyAddress;
+ String m_deskflowAddress;
/// @brief Should the connections be TLS encrypted
bool m_enableCrypto = false;
@@ -111,4 +111,4 @@ protected:
p = 0;
}
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/CMakeLists.txt b/src/lib/deskflow/CMakeLists.txt
similarity index 81%
rename from src/lib/synergy/CMakeLists.txt
rename to src/lib/deskflow/CMakeLists.txt
index 02e92b1b1..a57b5f439 100644
--- a/src/lib/synergy/CMakeLists.txt
+++ b/src/lib/deskflow/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
+set(lib_name app)
+
file(GLOB headers "*.h" "languages/*.h")
file(GLOB sources "*.cpp" "languages/*.cpp")
@@ -38,11 +40,11 @@ if(ADD_HEADERS_TO_SOURCES)
list(APPEND sources ${headers})
endif()
-add_library(synlib STATIC ${sources})
+add_library(${lib_name} STATIC ${sources})
if(UNIX)
target_link_libraries(
- synlib
+ ${lib_name}
arch
client
ipc
@@ -53,12 +55,12 @@ if(UNIX)
server)
if(NOT APPLE)
- target_link_libraries(synlib pugixml)
+ target_link_libraries(${lib_name} pugixml)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
- target_link_libraries(synlib PkgConfig::lib_glib PkgConfig::lib_gdkpixbuf
- PkgConfig::lib_notify)
+ target_link_libraries(${lib_name} PkgConfig::lib_glib
+ PkgConfig::lib_gdkpixbuf PkgConfig::lib_notify)
endif()
endif()
endif()
diff --git a/src/lib/synergy/Chunk.cpp b/src/lib/deskflow/Chunk.cpp
similarity index 91%
rename from src/lib/synergy/Chunk.cpp
rename to src/lib/deskflow/Chunk.cpp
index 28f3f0fd1..bf2cabd0b 100644
--- a/src/lib/synergy/Chunk.cpp
+++ b/src/lib/deskflow/Chunk.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
* along with this program. If not, see .
*/
-#include "synergy/Chunk.h"
+#include "deskflow/Chunk.h"
#include "base/String.h"
Chunk::Chunk(size_t size) : m_dataSize(0) {
diff --git a/src/lib/synergy/Chunk.h b/src/lib/deskflow/Chunk.h
similarity index 95%
rename from src/lib/synergy/Chunk.h
rename to src/lib/deskflow/Chunk.h
index e6e2033dd..11c2de8be 100644
--- a/src/lib/synergy/Chunk.h
+++ b/src/lib/deskflow/Chunk.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/synergy/ClientApp.cpp b/src/lib/deskflow/ClientApp.cpp
similarity index 94%
rename from src/lib/synergy/ClientApp.cpp
rename to src/lib/deskflow/ClientApp.cpp
index 42212ab6d..79d1402bb 100644
--- a/src/lib/synergy/ClientApp.cpp
+++ b/src/lib/deskflow/ClientApp.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/ClientApp.h"
+#include "deskflow/ClientApp.h"
#include "arch/Arch.h"
#include "arch/IArchTaskBarReceiver.h"
@@ -26,17 +26,17 @@
#include "base/String.h"
#include "base/TMethodEventJob.h"
#include "client/Client.h"
+#include "deskflow/ArgParser.h"
+#include "deskflow/ClientArgs.h"
+#include "deskflow/Screen.h"
+#include "deskflow/XScreen.h"
+#include "deskflow/protocol_types.h"
#include "net/InverseSockets/InverseSocketFactory.h"
#include "net/NetworkAddress.h"
#include "net/SocketMultiplexer.h"
#include "net/TCPSocketFactory.h"
#include "net/XSocket.h"
#include "platform/wayland.h"
-#include "synergy/ArgParser.h"
-#include "synergy/ClientArgs.h"
-#include "synergy/Screen.h"
-#include "synergy/XScreen.h"
-#include "synergy/protocol_types.h"
#if SYSAPI_WIN32
#include "arch/win32/ArchMiscWindows.h"
@@ -76,7 +76,7 @@
ClientApp::ClientApp(
IEventQueue *events, CreateTaskBarReceiverFunc createTaskBarReceiver)
- : App(events, createTaskBarReceiver, new synergy::ClientArgs()),
+ : App(events, createTaskBarReceiver, new deskflow::ClientArgs()),
m_client(NULL),
m_clientScreen(NULL),
m_serverAddress(NULL) {}
@@ -132,7 +132,7 @@ void ClientApp::help() {
#endif
<< HELP_SYS_ARGS << HELP_COMMON_ARGS << " "
<< "\n\n"
- << "Connect to a synergy mouse/keyboard sharing server.\n"
+ << "Connect to a deskflow mouse/keyboard sharing server.\n"
<< "\n"
<< " -a, --address local network interface address.\n"
<< HELP_COMMON_INFO_1 << HELP_SYS_INFO
@@ -163,9 +163,9 @@ void ClientApp::help() {
const char *ClientApp::daemonName() const {
#if SYSAPI_WIN32
- return "Synergy Client";
+ return "Deskflow Client";
#elif SYSAPI_UNIX
- return "synergyc";
+ return "deskflowc";
#endif
}
@@ -178,9 +178,9 @@ const char *ClientApp::daemonInfo() const {
#endif
}
-synergy::Screen *ClientApp::createScreen() {
+deskflow::Screen *ClientApp::createScreen() {
#if WINAPI_MSWINDOWS
- return new synergy::Screen(
+ return new deskflow::Screen(
new MSWindowsScreen(
false, args().m_noHooks, args().m_stopOnDeskSwitch, m_events,
args().m_enableLangSync, args().m_clientScrollDirection),
@@ -188,11 +188,11 @@ synergy::Screen *ClientApp::createScreen() {
#endif
#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI)
- if (synergy::platform::isWayland()) {
+ if (deskflow::platform::isWayland()) {
#if WINAPI_LIBEI
LOG((CLOG_INFO "using ei screen for wayland"));
- return new synergy::Screen(
- new synergy::EiScreen(false, m_events, true), m_events);
+ return new deskflow::Screen(
+ new deskflow::EiScreen(false, m_events, true), m_events);
#else
throw XNoEiSupport();
#endif
@@ -201,7 +201,7 @@ synergy::Screen *ClientApp::createScreen() {
#if WINAPI_XWINDOWS
LOG((CLOG_INFO "using legacy x windows screen"));
- return new synergy::Screen(
+ return new deskflow::Screen(
new XWindowsScreen(
args().m_display, false, args().m_disableXInitThreads,
args().m_yscroll, m_events, args().m_clientScrollDirection),
@@ -210,7 +210,7 @@ synergy::Screen *ClientApp::createScreen() {
#endif
#if WINAPI_CARBON
- return new synergy::Screen(
+ return new deskflow::Screen(
new OSXScreen(
m_events, false, args().m_enableLangSync,
args().m_clientScrollDirection),
@@ -256,8 +256,8 @@ void ClientApp::handleScreenError(const Event &, void *) {
m_events->addEvent(Event(Event::kQuit));
}
-synergy::Screen *ClientApp::openClientScreen() {
- synergy::Screen *screen = createScreen();
+deskflow::Screen *ClientApp::openClientScreen() {
+ deskflow::Screen *screen = createScreen();
screen->setEnableDragDrop(argsBase().m_enableDragDrop);
m_events->adoptHandler(
m_events->forIScreen().error(), screen->getEventTarget(),
@@ -265,7 +265,7 @@ synergy::Screen *ClientApp::openClientScreen() {
return screen;
}
-void ClientApp::closeClientScreen(synergy::Screen *screen) {
+void ClientApp::closeClientScreen(deskflow::Screen *screen) {
if (screen != NULL) {
m_events->removeHandler(
m_events->forIScreen().error(), screen->getEventTarget());
@@ -348,7 +348,7 @@ void ClientApp::handleClientDisconnected(const Event &, void *) {
Client *ClientApp::openClient(
const String &name, const NetworkAddress &address,
- synergy::Screen *screen) {
+ deskflow::Screen *screen) {
Client *client =
new Client(m_events, name, address, getSocketFactory(), screen, args());
@@ -400,7 +400,7 @@ int ClientApp::foregroundStartup(int argc, char **argv) {
bool ClientApp::startClient() {
double retryTime;
- synergy::Screen *clientScreen = NULL;
+ deskflow::Screen *clientScreen = NULL;
try {
if (m_clientScreen == NULL) {
clientScreen = openClientScreen();
diff --git a/src/lib/synergy/ClientApp.h b/src/lib/deskflow/ClientApp.h
similarity index 86%
rename from src/lib/synergy/ClientApp.h
rename to src/lib/deskflow/ClientApp.h
index 60688fae8..a6ffbe222 100644
--- a/src/lib/synergy/ClientApp.h
+++ b/src/lib/deskflow/ClientApp.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,9 +18,9 @@
#pragma once
-#include "synergy/App.h"
+#include "deskflow/App.h"
-namespace synergy {
+namespace deskflow {
class Screen;
}
class Event;
@@ -29,7 +29,7 @@ class NetworkAddress;
class Thread;
class ISocketFactory;
-namespace synergy {
+namespace deskflow {
class ClientArgs;
}
@@ -54,7 +54,7 @@ public:
int runInner(
int argc, char **argv, ILogOutputter *outputter,
StartupFunc startup) override;
- synergy::Screen *createScreen() override;
+ deskflow::Screen *createScreen() override;
int mainLoop() override;
void startNode() override;
@@ -73,8 +73,8 @@ public:
void resetRestartTimeout();
double nextRestartTimeout();
void handleScreenError(const Event &, void *);
- synergy::Screen *openClientScreen();
- void closeClientScreen(synergy::Screen *screen);
+ deskflow::Screen *openClientScreen();
+ void closeClientScreen(deskflow::Screen *screen);
void handleClientRestart(const Event &, void *vtimer);
void scheduleClientRestart(double retryTime);
void handleClientConnected(const Event &, void *);
@@ -83,14 +83,14 @@ public:
void handleClientDisconnected(const Event &, void *);
Client *openClient(
const String &name, const NetworkAddress &address,
- synergy::Screen *screen);
+ deskflow::Screen *screen);
void closeClient(Client *client);
bool startClient();
void stopClient();
Client *getClientPtr() { return m_client; }
- synergy::ClientArgs &args() const {
- return (synergy::ClientArgs &)argsBase();
+ deskflow::ClientArgs &args() const {
+ return (deskflow::ClientArgs &)argsBase();
}
//
@@ -103,7 +103,7 @@ private:
ISocketFactory *getSocketFactory() const;
Client *m_client;
- synergy::Screen *m_clientScreen;
+ deskflow::Screen *m_clientScreen;
NetworkAddress *m_serverAddress;
size_t m_lastServerAddressIndex = 0;
};
diff --git a/src/lib/synergy/ClientAppArguments.md b/src/lib/deskflow/ClientAppArguments.md
similarity index 96%
rename from src/lib/synergy/ClientAppArguments.md
rename to src/lib/deskflow/ClientAppArguments.md
index 4cba17025..615ca5e88 100644
--- a/src/lib/synergy/ClientAppArguments.md
+++ b/src/lib/deskflow/ClientAppArguments.md
@@ -10,7 +10,7 @@ As obtained by ```updateCommonArgs()```
The name of the host as reported by the platform.
*m_pname*
-Name of the process (synergys\[.exe])
+Name of the process (deskflows\[.exe])
## Platform Arguments
@@ -126,7 +126,7 @@ Enables secure data sockets.
**--profile-dir**
*m_profileDirectory*
-If the profile directory is not passed-in, then it is inferred. For XWindows as "~/.synergy" or else "~/Library/Synergy".
+If the profile directory is not passed-in, then it is inferred. For XWindows as "~/.deskflow" or else "~/Library/Deskflow".
**--plugin-dir**
*m_pluginDirectory*
@@ -136,7 +136,7 @@ If unspecified, it is inferred. For XWindows "~/plugins" or else "~/Plugins".
**--tls-cert**
*m_tlsCertFile*
-If unspecified and used, then it is sought for as prifleDirectory/SSL/Synergy.pem
+If unspecified and used, then it is sought for as prifleDirectory/SSL/Deskflow.pem
## Uncategorised
diff --git a/src/lib/synergy/ClientArgs.cpp b/src/lib/deskflow/ClientArgs.cpp
similarity index 88%
rename from src/lib/synergy/ClientArgs.cpp
rename to src/lib/deskflow/ClientArgs.cpp
index fc079eda9..cd33744a8 100644
--- a/src/lib/synergy/ClientArgs.cpp
+++ b/src/lib/deskflow/ClientArgs.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -17,9 +17,9 @@
#include "ClientArgs.h"
-namespace synergy {
+namespace deskflow {
ClientArgs::~ClientArgs() {}
ClientArgs::ClientArgs() { m_classType = kClient; }
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/ClientArgs.h b/src/lib/deskflow/ClientArgs.h
similarity index 84%
rename from src/lib/synergy/ClientArgs.h
rename to src/lib/deskflow/ClientArgs.h
index 23e82fe9f..0630aa5d0 100644
--- a/src/lib/synergy/ClientArgs.h
+++ b/src/lib/deskflow/ClientArgs.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,12 +15,12 @@
* along with this program. If not, see .
*/
-#ifndef SYNERGY_CORE_CLIENTARGS_H
-#define SYNERGY_CORE_CLIENTARGS_H
+#ifndef DESKFLOW_CORE_CLIENTARGS_H
+#define DESKFLOW_CORE_CLIENTARGS_H
#include "ArgsBase.h"
-namespace synergy {
+namespace deskflow {
enum ClientScrollDirection { SERVER = 1, INVERT_SERVER = -1 };
class ClientArgs : public ArgsBase {
@@ -49,10 +49,10 @@ public:
bool m_hostMode = false;
/**
- * @brief m_serverAddress stores synergy server address
+ * @brief m_serverAddress stores deskflow server address
*/
std::string m_serverAddress;
};
-} // namespace synergy
+} // namespace deskflow
-#endif // SYNERGY_CORE_CLIENTARGS_H
+#endif // DESKFLOW_CORE_CLIENTARGS_H
diff --git a/src/lib/synergy/ClientTaskBarReceiver.cpp b/src/lib/deskflow/ClientTaskBarReceiver.cpp
similarity index 89%
rename from src/lib/synergy/ClientTaskBarReceiver.cpp
rename to src/lib/deskflow/ClientTaskBarReceiver.cpp
index 48c390588..d11f6e023 100644
--- a/src/lib/synergy/ClientTaskBarReceiver.cpp
+++ b/src/lib/deskflow/ClientTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/ClientTaskBarReceiver.h"
+#include "deskflow/ClientTaskBarReceiver.h"
#include "arch/Arch.h"
#include "base/IEventQueue.h"
#include "base/String.h"
@@ -94,22 +94,22 @@ void ClientTaskBarReceiver::unlock() const {
std::string ClientTaskBarReceiver::getToolTip() const {
switch (m_state) {
case kNotRunning:
- return synergy::string::sprintf("%s: Not running", kAppName);
+ return deskflow::string::sprintf("%s: Not running", kAppName);
case kNotWorking:
- return synergy::string::sprintf(
+ return deskflow::string::sprintf(
"%s: %s", kAppName, m_errorMessage.c_str());
case kNotConnected:
- return synergy::string::sprintf(
+ return deskflow::string::sprintf(
"%s: Not connected: %s", kAppName, m_errorMessage.c_str());
case kConnecting:
- return synergy::string::sprintf(
+ return deskflow::string::sprintf(
"%s: Connecting to %s...", kAppName, m_server.c_str());
case kConnected:
- return synergy::string::sprintf(
+ return deskflow::string::sprintf(
"%s: Connected to %s", kAppName, m_server.c_str());
default:
diff --git a/src/lib/synergy/ClientTaskBarReceiver.h b/src/lib/deskflow/ClientTaskBarReceiver.h
similarity index 95%
rename from src/lib/synergy/ClientTaskBarReceiver.h
rename to src/lib/deskflow/ClientTaskBarReceiver.h
index b2277990a..21556d4f0 100644
--- a/src/lib/synergy/ClientTaskBarReceiver.h
+++ b/src/lib/deskflow/ClientTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -26,7 +26,7 @@
class IEventQueue;
-//! Implementation of IArchTaskBarReceiver for the synergy server
+//! Implementation of IArchTaskBarReceiver for the deskflow server
class ClientTaskBarReceiver : public IArchTaskBarReceiver {
public:
ClientTaskBarReceiver(IEventQueue *events);
diff --git a/src/lib/synergy/Clipboard.cpp b/src/lib/deskflow/Clipboard.cpp
similarity index 95%
rename from src/lib/synergy/Clipboard.cpp
rename to src/lib/deskflow/Clipboard.cpp
index 70baacd46..344570e3e 100644
--- a/src/lib/synergy/Clipboard.cpp
+++ b/src/lib/deskflow/Clipboard.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/Clipboard.h"
+#include "deskflow/Clipboard.h"
//
// Clipboard
diff --git a/src/lib/synergy/Clipboard.h b/src/lib/deskflow/Clipboard.h
similarity index 95%
rename from src/lib/synergy/Clipboard.h
rename to src/lib/deskflow/Clipboard.h
index f4d2237ec..2cd6db676 100644
--- a/src/lib/synergy/Clipboard.h
+++ b/src/lib/deskflow/Clipboard.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/IClipboard.h"
+#include "deskflow/IClipboard.h"
//! Memory buffer clipboard
/*!
diff --git a/src/lib/synergy/ClipboardChunk.cpp b/src/lib/deskflow/ClipboardChunk.cpp
similarity index 91%
rename from src/lib/synergy/ClipboardChunk.cpp
rename to src/lib/deskflow/ClipboardChunk.cpp
index 008c5c518..a46d70044 100644
--- a/src/lib/synergy/ClipboardChunk.cpp
+++ b/src/lib/deskflow/ClipboardChunk.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,12 +15,12 @@
* along with this program. If not, see .
*/
-#include "synergy/ClipboardChunk.h"
+#include "deskflow/ClipboardChunk.h"
#include "base/Log.h"
+#include "deskflow/ProtocolUtil.h"
+#include "deskflow/protocol_types.h"
#include "io/IStream.h"
-#include "synergy/ProtocolUtil.h"
-#include "synergy/protocol_types.h"
#include
size_t ClipboardChunk::s_expectedSize = 0;
@@ -74,7 +74,7 @@ ClipboardChunk *ClipboardChunk::end(ClipboardID id, UInt32 sequence) {
}
int ClipboardChunk::assemble(
- synergy::IStream *stream, String &dataCached, ClipboardID &id,
+ deskflow::IStream *stream, String &dataCached, ClipboardID &id,
UInt32 &sequence) {
UInt8 mark;
String data;
@@ -85,7 +85,7 @@ int ClipboardChunk::assemble(
}
if (mark == kDataStart) {
- s_expectedSize = synergy::string::stringToSizeType(data);
+ s_expectedSize = deskflow::string::stringToSizeType(data);
LOG((CLOG_DEBUG "start receiving clipboard data"));
dataCached.clear();
return kStart;
@@ -109,7 +109,7 @@ int ClipboardChunk::assemble(
return kError;
}
-void ClipboardChunk::send(synergy::IStream *stream, void *data) {
+void ClipboardChunk::send(deskflow::IStream *stream, void *data) {
ClipboardChunk *clipboardData = static_cast(data);
LOG((CLOG_DEBUG1 "sending clipboard chunk"));
diff --git a/src/lib/synergy/ClipboardChunk.h b/src/lib/deskflow/ClipboardChunk.h
similarity index 82%
rename from src/lib/synergy/ClipboardChunk.h
rename to src/lib/deskflow/ClipboardChunk.h
index 38f3ae265..28932e4e6 100644
--- a/src/lib/synergy/ClipboardChunk.h
+++ b/src/lib/deskflow/ClipboardChunk.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,12 +19,12 @@
#include "base/String.h"
#include "common/basic_types.h"
-#include "synergy/Chunk.h"
-#include "synergy/clipboard_types.h"
+#include "deskflow/Chunk.h"
+#include "deskflow/clipboard_types.h"
#define CLIPBOARD_CHUNK_META_SIZE 7
-namespace synergy {
+namespace deskflow {
class IStream;
};
@@ -39,10 +39,10 @@ public:
static ClipboardChunk *end(ClipboardID id, UInt32 sequence);
static int assemble(
- synergy::IStream *stream, String &dataCached, ClipboardID &id,
+ deskflow::IStream *stream, String &dataCached, ClipboardID &id,
UInt32 &sequence);
- static void send(synergy::IStream *stream, void *data);
+ static void send(deskflow::IStream *stream, void *data);
static size_t getExpectedSize() { return s_expectedSize; }
diff --git a/src/lib/synergy/Config.cpp b/src/lib/deskflow/Config.cpp
similarity index 96%
rename from src/lib/synergy/Config.cpp
rename to src/lib/deskflow/Config.cpp
index 9538e697e..990499b30 100644
--- a/src/lib/synergy/Config.cpp
+++ b/src/lib/deskflow/Config.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -28,7 +28,7 @@
#include
#endif
-namespace synergy {
+namespace deskflow {
Config::Config(const std::string &filename, const std::string §ion)
: m_filename(filename),
@@ -113,4 +113,4 @@ bool Config::load(const std::string &firstArg) {
#endif // HAVE_TOMLPLUSPLUS
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/Config.h b/src/lib/deskflow/Config.h
similarity index 94%
rename from src/lib/synergy/Config.h
rename to src/lib/deskflow/Config.h
index 7c96504e2..e46501d69 100644
--- a/src/lib/synergy/Config.h
+++ b/src/lib/deskflow/Config.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include
#include
-namespace synergy {
+namespace deskflow {
//! App configuration
/*!
@@ -57,4 +57,4 @@ private:
std::vector m_argv;
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/DaemonApp.cpp b/src/lib/deskflow/DaemonApp.cpp
similarity index 93%
rename from src/lib/synergy/DaemonApp.cpp
rename to src/lib/deskflow/DaemonApp.cpp
index 055badabb..4c15bb913 100644
--- a/src/lib/synergy/DaemonApp.cpp
+++ b/src/lib/deskflow/DaemonApp.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
// TODO: split this class into windows and unix to get rid
// of all the #ifdefs!
-#include "synergy/DaemonApp.h"
+#include "deskflow/DaemonApp.h"
#include "arch/XArch.h"
#include "base/EventQueue.h"
@@ -26,23 +26,23 @@
#include "base/TMethodEventJob.h"
#include "base/log_outputters.h"
#include "common/ipc.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgParser.h"
+#include "deskflow/ClientArgs.h"
+#include "deskflow/ServerArgs.h"
#include "ipc/IpcClientProxy.h"
#include "ipc/IpcLogOutputter.h"
#include "ipc/IpcMessage.h"
#include "ipc/IpcSettingMessage.h"
#include "net/SocketMultiplexer.h"
-#include "synergy/App.h"
-#include "synergy/ArgParser.h"
-#include "synergy/ClientArgs.h"
-#include "synergy/ServerArgs.h"
#if SYSAPI_WIN32
#include "arch/win32/ArchMiscWindows.h"
+#include "deskflow/Screen.h"
#include "platform/MSWindowsDebugOutputter.h"
#include "platform/MSWindowsEventQueueBuffer.h"
#include "platform/MSWindowsWatchdog.h"
-#include "synergy/Screen.h"
#define WIN32_LEAN_AND_MEAN
#include
@@ -59,7 +59,7 @@
using namespace std;
-const char *const kLogFilename = "synergyd.log";
+const char *const kLogFilename = "deskflowd.log";
namespace {
void updateSetting(const IpcMessage &message) {
@@ -76,8 +76,8 @@ bool isServerCommandLine(const std::vector &cmd) {
if (cmd.size() > 1) {
isServer =
- (cmd[0].find("synergys") != String::npos) ||
- (cmd[0].find("synergy-core") != String::npos && cmd[1] == "server");
+ (cmd[0].find("deskflows") != String::npos) ||
+ (cmd[0].find("deskflow-core") != String::npos && cmd[1] == "server");
}
return isServer;
@@ -165,10 +165,10 @@ int DaemonApp::run(int argc, char **argv) {
} else {
#if SYSAPI_WIN32
LOG((CLOG_PRINT "daemonizing windows service"));
- arch.daemonize("Synergy", winMainLoopStatic);
+ arch.daemonize("Deskflow", winMainLoopStatic);
#elif SYSAPI_UNIX
LOG((CLOG_PRINT "daemonizing unix service"));
- arch.daemonize("Synergy", unixMainLoopStatic);
+ arch.daemonize("Deskflow", unixMainLoopStatic);
#endif
}
@@ -264,7 +264,7 @@ void DaemonApp::mainLoop(bool logToFile, bool foreground) {
void DaemonApp::foregroundError(const char *message) {
#if SYSAPI_WIN32
- MessageBox(NULL, message, "Synergy Service", MB_OK | MB_ICONERROR);
+ MessageBox(NULL, message, "Deskflow Service", MB_OK | MB_ICONERROR);
#elif SYSAPI_UNIX
cerr << message << endl;
#endif
@@ -307,10 +307,10 @@ void DaemonApp::handleIpcMessage(const Event &e, void *) {
int argc = static_cast(argsArray.size());
if (isServerCommandLine(argsArray)) {
- auto serverArgs = new synergy::ServerArgs();
+ auto serverArgs = new deskflow::ServerArgs();
argParser.parseServerArgs(*serverArgs, argc, argv);
} else {
- auto clientArgs = new synergy::ClientArgs();
+ auto clientArgs = new deskflow::ClientArgs();
argParser.parseClientArgs(*clientArgs, argc, argv);
}
diff --git a/src/lib/synergy/DaemonApp.h b/src/lib/deskflow/DaemonApp.h
similarity index 96%
rename from src/lib/synergy/DaemonApp.h
rename to src/lib/deskflow/DaemonApp.h
index 0dd94a86a..3710290a7 100644
--- a/src/lib/synergy/DaemonApp.h
+++ b/src/lib/deskflow/DaemonApp.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/synergy/DisplayInvalidException.h b/src/lib/deskflow/DisplayInvalidException.h
similarity index 83%
rename from src/lib/synergy/DisplayInvalidException.h
rename to src/lib/deskflow/DisplayInvalidException.h
index 084213528..8c7fc8def 100644
--- a/src/lib/synergy/DisplayInvalidException.h
+++ b/src/lib/deskflow/DisplayInvalidException.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2018 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -15,8 +15,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-#ifndef SYNERGY_DISPLAYINVALIDEXCEPTION_H
-#define SYNERGY_DISPLAYINVALIDEXCEPTION_H
+#ifndef DESKFLOW_DISPLAYINVALIDEXCEPTION_H
+#define DESKFLOW_DISPLAYINVALIDEXCEPTION_H
#include
#include
@@ -28,4 +28,4 @@ public:
DisplayInvalidException(std::string msg) : std::runtime_error(msg) {}
};
-#endif // SYNERGY_DISPLAYINVALIDEXCEPTION_H
+#endif // DESKFLOW_DISPLAYINVALIDEXCEPTION_H
diff --git a/src/lib/synergy/DragInformation.cpp b/src/lib/deskflow/DragInformation.cpp
similarity index 97%
rename from src/lib/synergy/DragInformation.cpp
rename to src/lib/deskflow/DragInformation.cpp
index ed72bd146..0ab653846 100644
--- a/src/lib/synergy/DragInformation.cpp
+++ b/src/lib/deskflow/DragInformation.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
* along with this program. If not, see .
*/
-#include "synergy/DragInformation.h"
+#include "deskflow/DragInformation.h"
#include "base/Log.h"
#include
diff --git a/src/lib/synergy/DragInformation.h b/src/lib/deskflow/DragInformation.h
similarity index 97%
rename from src/lib/synergy/DragInformation.h
rename to src/lib/deskflow/DragInformation.h
index d25f98c70..bc33a2501 100644
--- a/src/lib/synergy/DragInformation.h
+++ b/src/lib/deskflow/DragInformation.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/synergy/DropHelper.cpp b/src/lib/deskflow/DropHelper.cpp
similarity index 95%
rename from src/lib/synergy/DropHelper.cpp
rename to src/lib/deskflow/DropHelper.cpp
index 272851c90..a77db88fb 100644
--- a/src/lib/synergy/DropHelper.cpp
+++ b/src/lib/deskflow/DropHelper.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
* along with this program. If not, see .
*/
-#include "synergy/DropHelper.h"
+#include "deskflow/DropHelper.h"
#include "base/Log.h"
diff --git a/src/lib/synergy/DropHelper.h b/src/lib/deskflow/DropHelper.h
similarity index 90%
rename from src/lib/synergy/DropHelper.h
rename to src/lib/deskflow/DropHelper.h
index d232f3f07..71961ddfc 100644
--- a/src/lib/synergy/DropHelper.h
+++ b/src/lib/deskflow/DropHelper.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
#pragma once
#include "base/String.h"
-#include "synergy/DragInformation.h"
+#include "deskflow/DragInformation.h"
class DropHelper {
public:
diff --git a/src/lib/synergy/FileChunk.cpp b/src/lib/deskflow/FileChunk.cpp
similarity index 91%
rename from src/lib/synergy/FileChunk.cpp
rename to src/lib/deskflow/FileChunk.cpp
index f291bd64d..f7cd27959 100644
--- a/src/lib/synergy/FileChunk.cpp
+++ b/src/lib/deskflow/FileChunk.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,13 +15,13 @@
* along with this program. If not, see .
*/
-#include "synergy/FileChunk.h"
+#include "deskflow/FileChunk.h"
#include "base/Log.h"
#include "base/Stopwatch.h"
+#include "deskflow/ProtocolUtil.h"
+#include "deskflow/protocol_types.h"
#include "io/IStream.h"
-#include "synergy/ProtocolUtil.h"
-#include "synergy/protocol_types.h"
static const UInt16 kIntervalThreshold = 1;
@@ -60,7 +60,7 @@ FileChunk *FileChunk::end() {
}
int FileChunk::assemble(
- synergy::IStream *stream, String &dataReceived, size_t &expectedSize) {
+ deskflow::IStream *stream, String &dataReceived, size_t &expectedSize) {
// parse
UInt8 mark = 0;
String content;
@@ -75,7 +75,7 @@ int FileChunk::assemble(
switch (mark) {
case kDataStart:
dataReceived.clear();
- expectedSize = synergy::string::stringToSizeType(content);
+ expectedSize = deskflow::string::stringToSizeType(content);
receivedDataSize = 0;
elapsedTime = 0;
stopwatch.reset();
@@ -133,7 +133,7 @@ int FileChunk::assemble(
}
void FileChunk::send(
- synergy::IStream *stream, UInt8 mark, char *data, size_t dataSize) {
+ deskflow::IStream *stream, UInt8 mark, char *data, size_t dataSize) {
String chunk(data, dataSize);
switch (mark) {
diff --git a/src/lib/synergy/FileChunk.h b/src/lib/deskflow/FileChunk.h
similarity index 79%
rename from src/lib/synergy/FileChunk.h
rename to src/lib/deskflow/FileChunk.h
index 95ad18d30..668221abc 100644
--- a/src/lib/synergy/FileChunk.h
+++ b/src/lib/deskflow/FileChunk.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,11 +19,11 @@
#include "base/String.h"
#include "common/basic_types.h"
-#include "synergy/Chunk.h"
+#include "deskflow/Chunk.h"
#define FILE_CHUNK_META_SIZE 2
-namespace synergy {
+namespace deskflow {
class IStream;
};
@@ -35,7 +35,7 @@ public:
static FileChunk *data(UInt8 *data, size_t dataSize);
static FileChunk *end();
static int
- assemble(synergy::IStream *stream, String &dataCached, size_t &expectedSize);
+ assemble(deskflow::IStream *stream, String &dataCached, size_t &expectedSize);
static void
- send(synergy::IStream *stream, UInt8 mark, char *data, size_t dataSize);
+ send(deskflow::IStream *stream, UInt8 mark, char *data, size_t dataSize);
};
diff --git a/src/lib/synergy/IApp.h b/src/lib/deskflow/IApp.h
similarity index 88%
rename from src/lib/synergy/IApp.h
rename to src/lib/deskflow/IApp.h
index 917df352f..6f63a8f9a 100644
--- a/src/lib/synergy/IApp.h
+++ b/src/lib/deskflow/IApp.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
@@ -22,13 +22,13 @@
typedef int (*StartupFunc)(int, char **);
-namespace synergy {
+namespace deskflow {
class ArgsBase;
}
class ILogOutputter;
class IArchTaskBarReceiver;
-namespace synergy {
+namespace deskflow {
class Screen;
}
class IEventQueue;
@@ -36,7 +36,7 @@ class IEventQueue;
class IApp : public IInterface {
public:
virtual void setByeFunc(void (*bye)(int)) = 0;
- virtual synergy::ArgsBase &argsBase() const = 0;
+ virtual deskflow::ArgsBase &argsBase() const = 0;
virtual int standardStartup(int argc, char **argv) = 0;
virtual int runInner(
int argc, char **argv, ILogOutputter *outputter, StartupFunc startup) = 0;
@@ -47,6 +47,6 @@ public:
virtual void initApp(int argc, const char **argv) = 0;
virtual const char *daemonName() const = 0;
virtual int foregroundStartup(int argc, char **argv) = 0;
- virtual synergy::Screen *createScreen() = 0;
+ virtual deskflow::Screen *createScreen() = 0;
virtual IEventQueue *getEvents() const = 0;
};
diff --git a/src/lib/synergy/IAppUtil.h b/src/lib/deskflow/IAppUtil.h
similarity index 93%
rename from src/lib/synergy/IAppUtil.h
rename to src/lib/deskflow/IAppUtil.h
index a4cbd4ed5..c607ecf9f 100644
--- a/src/lib/synergy/IAppUtil.h
+++ b/src/lib/deskflow/IAppUtil.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -20,7 +20,7 @@
#include "base/String.h"
#include "common/IInterface.h"
-#include "synergy/IApp.h"
+#include "deskflow/IApp.h"
class IAppUtil : public IInterface {
public:
diff --git a/src/lib/synergy/IClient.h b/src/lib/deskflow/IClient.h
similarity index 96%
rename from src/lib/synergy/IClient.h
rename to src/lib/deskflow/IClient.h
index 727ff195b..5b59f91f4 100644
--- a/src/lib/synergy/IClient.h
+++ b/src/lib/deskflow/IClient.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,11 +19,11 @@
#pragma once
#include "base/String.h"
-#include "synergy/IScreen.h"
-#include "synergy/clipboard_types.h"
-#include "synergy/key_types.h"
-#include "synergy/mouse_types.h"
-#include "synergy/option_types.h"
+#include "deskflow/IScreen.h"
+#include "deskflow/clipboard_types.h"
+#include "deskflow/key_types.h"
+#include "deskflow/mouse_types.h"
+#include "deskflow/option_types.h"
//! Client interface
/*!
diff --git a/src/lib/synergy/IClipboard.cpp b/src/lib/deskflow/IClipboard.cpp
similarity index 98%
rename from src/lib/synergy/IClipboard.cpp
rename to src/lib/deskflow/IClipboard.cpp
index 62774ba94..54a61765f 100644
--- a/src/lib/synergy/IClipboard.cpp
+++ b/src/lib/deskflow/IClipboard.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/IClipboard.h"
+#include "deskflow/IClipboard.h"
#include "common/stdvector.h"
//
diff --git a/src/lib/synergy/IClipboard.h b/src/lib/deskflow/IClipboard.h
similarity index 99%
rename from src/lib/synergy/IClipboard.h
rename to src/lib/deskflow/IClipboard.h
index b4ecc2d7d..09442fe64 100644
--- a/src/lib/synergy/IClipboard.h
+++ b/src/lib/deskflow/IClipboard.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/IKeyState.cpp b/src/lib/deskflow/IKeyState.cpp
similarity index 97%
rename from src/lib/synergy/IKeyState.cpp
rename to src/lib/deskflow/IKeyState.cpp
index 415b9adcd..332e6610d 100644
--- a/src/lib/synergy/IKeyState.cpp
+++ b/src/lib/deskflow/IKeyState.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/IKeyState.h"
+#include "deskflow/IKeyState.h"
#include
#include
diff --git a/src/lib/synergy/IKeyState.h b/src/lib/deskflow/IKeyState.h
similarity index 98%
rename from src/lib/synergy/IKeyState.h
rename to src/lib/deskflow/IKeyState.h
index f1988cad6..f0f8e1bea 100644
--- a/src/lib/synergy/IKeyState.h
+++ b/src/lib/deskflow/IKeyState.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -24,7 +24,7 @@
#include "base/String.h"
#include "common/IInterface.h"
#include "common/stdset.h"
-#include "synergy/key_types.h"
+#include "deskflow/key_types.h"
//! Key state interface
/*!
diff --git a/src/lib/synergy/INode.h b/src/lib/deskflow/INode.h
similarity index 93%
rename from src/lib/synergy/INode.h
rename to src/lib/deskflow/INode.h
index 6334c50a0..8e667a3ed 100644
--- a/src/lib/synergy/INode.h
+++ b/src/lib/deskflow/INode.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/IPlatformScreen.cpp b/src/lib/deskflow/IPlatformScreen.cpp
similarity index 88%
rename from src/lib/synergy/IPlatformScreen.cpp
rename to src/lib/deskflow/IPlatformScreen.cpp
index 24476effc..1776e8458 100644
--- a/src/lib/synergy/IPlatformScreen.cpp
+++ b/src/lib/deskflow/IPlatformScreen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless.
*
* This package is free software; you can redistribute it and/or
@@ -15,6 +15,6 @@
* along with this program. If not, see .
*/
-#include "synergy/IPlatformScreen.h"
+#include "deskflow/IPlatformScreen.h"
bool IPlatformScreen::fakeMediaKey(KeyID id) { return false; }
diff --git a/src/lib/synergy/IPlatformScreen.h b/src/lib/deskflow/IPlatformScreen.h
similarity index 96%
rename from src/lib/synergy/IPlatformScreen.h
rename to src/lib/deskflow/IPlatformScreen.h
index a74016967..600f661cb 100644
--- a/src/lib/synergy/IPlatformScreen.h
+++ b/src/lib/deskflow/IPlatformScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,13 +18,13 @@
#pragma once
-#include "synergy/DragInformation.h"
-#include "synergy/IKeyState.h"
-#include "synergy/IPrimaryScreen.h"
-#include "synergy/IScreen.h"
-#include "synergy/ISecondaryScreen.h"
-#include "synergy/clipboard_types.h"
-#include "synergy/option_types.h"
+#include "deskflow/DragInformation.h"
+#include "deskflow/IKeyState.h"
+#include "deskflow/IPrimaryScreen.h"
+#include "deskflow/IScreen.h"
+#include "deskflow/ISecondaryScreen.h"
+#include "deskflow/clipboard_types.h"
+#include "deskflow/option_types.h"
class IClipboard;
diff --git a/src/lib/synergy/IPrimaryScreen.cpp b/src/lib/deskflow/IPrimaryScreen.cpp
similarity index 96%
rename from src/lib/synergy/IPrimaryScreen.cpp
rename to src/lib/deskflow/IPrimaryScreen.cpp
index 41dd5cb14..ae6e3aa52 100644
--- a/src/lib/synergy/IPrimaryScreen.cpp
+++ b/src/lib/deskflow/IPrimaryScreen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/IPrimaryScreen.h"
+#include "deskflow/IPrimaryScreen.h"
#include "base/EventQueue.h"
#include
diff --git a/src/lib/synergy/IPrimaryScreen.h b/src/lib/deskflow/IPrimaryScreen.h
similarity index 97%
rename from src/lib/synergy/IPrimaryScreen.h
rename to src/lib/deskflow/IPrimaryScreen.h
index f9bda9b7e..22f7d3ba6 100644
--- a/src/lib/synergy/IPrimaryScreen.h
+++ b/src/lib/deskflow/IPrimaryScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -21,8 +21,8 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/IInterface.h"
-#include "synergy/key_types.h"
-#include "synergy/mouse_types.h"
+#include "deskflow/key_types.h"
+#include "deskflow/mouse_types.h"
//! Primary screen interface
/*!
diff --git a/src/lib/synergy/IScreen.h b/src/lib/deskflow/IScreen.h
similarity index 95%
rename from src/lib/synergy/IScreen.h
rename to src/lib/deskflow/IScreen.h
index a4b10aa2b..5a1df2038 100644
--- a/src/lib/synergy/IScreen.h
+++ b/src/lib/deskflow/IScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -21,7 +21,7 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/IInterface.h"
-#include "synergy/clipboard_types.h"
+#include "deskflow/clipboard_types.h"
class IClipboard;
diff --git a/src/lib/synergy/IScreenSaver.h b/src/lib/deskflow/IScreenSaver.h
similarity index 97%
rename from src/lib/synergy/IScreenSaver.h
rename to src/lib/deskflow/IScreenSaver.h
index b009c78a2..d1d01a56c 100644
--- a/src/lib/synergy/IScreenSaver.h
+++ b/src/lib/deskflow/IScreenSaver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/ISecondaryScreen.h b/src/lib/deskflow/ISecondaryScreen.h
similarity index 95%
rename from src/lib/synergy/ISecondaryScreen.h
rename to src/lib/deskflow/ISecondaryScreen.h
index 67f4e6c9a..dd70bc2ab 100644
--- a/src/lib/synergy/ISecondaryScreen.h
+++ b/src/lib/deskflow/ISecondaryScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -21,7 +21,7 @@
#include "base/Event.h"
#include "base/EventTypes.h"
#include "common/IInterface.h"
-#include "synergy/mouse_types.h"
+#include "deskflow/mouse_types.h"
//! Secondary screen interface
/*!
diff --git a/src/lib/synergy/KeyMap.cpp b/src/lib/deskflow/KeyMap.cpp
similarity index 99%
rename from src/lib/synergy/KeyMap.cpp
rename to src/lib/deskflow/KeyMap.cpp
index 8113b82ec..e60f234db 100644
--- a/src/lib/synergy/KeyMap.cpp
+++ b/src/lib/deskflow/KeyMap.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2005 Chris Schoeneman
*
@@ -16,17 +16,17 @@
* along with this program. If not, see .
*/
-#include "synergy/KeyMap.h"
+#include "deskflow/KeyMap.h"
#include "base/Log.h"
-#include "synergy/App.h"
-#include "synergy/ArgsBase.h"
-#include "synergy/key_types.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgsBase.h"
+#include "deskflow/key_types.h"
#include
#include
#include
-namespace synergy {
+namespace deskflow {
KeyMap::NameToKeyMap *KeyMap::s_nameToKeyMap = NULL;
KeyMap::NameToModifierMap *KeyMap::s_nameToModifierMap = NULL;
@@ -1106,7 +1106,7 @@ String KeyMap::formatKey(KeyID key, KeyModifierMask mask) {
else if (key >= 33 && key < 127) {
x += (char)key;
} else {
- x += synergy::string::sprintf("\\u%04x", key);
+ x += deskflow::string::sprintf("\\u%04x", key);
}
} else if (!x.empty()) {
// remove trailing '+'
@@ -1253,4 +1253,4 @@ KeyMap::Keystroke::Keystroke(SInt32 group, bool absolute, bool restore)
m_data.m_group.m_restore = restore;
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/KeyMap.h b/src/lib/deskflow/KeyMap.h
similarity index 98%
rename from src/lib/synergy/KeyMap.h
rename to src/lib/deskflow/KeyMap.h
index b0e5b0b99..eddf77c53 100644
--- a/src/lib/synergy/KeyMap.h
+++ b/src/lib/deskflow/KeyMap.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2005 Chris Schoeneman
*
@@ -22,13 +22,13 @@
#include "common/stdmap.h"
#include "common/stdset.h"
#include "common/stdvector.h"
-#include "synergy/key_types.h"
+#include "deskflow/key_types.h"
#ifdef TEST_ENV
#include "gtest/gtest_prod.h"
#endif
-namespace synergy {
+namespace deskflow {
//! Key map
/*!
@@ -474,8 +474,8 @@ private:
typedef std::set KeyButtonSet;
// Key maps for parsing/formatting
- typedef std::map NameToKeyMap;
- typedef std::map
+ typedef std::map NameToKeyMap;
+ typedef std::map
NameToModifierMap;
typedef std::map KeyToNameMap;
typedef std::map ModifierToNameMap;
@@ -489,7 +489,7 @@ private:
bool m_composeAcrossGroups;
// half-duplex info
- KeyButtonSet m_halfDuplex; // half-duplex set by synergy
+ KeyButtonSet m_halfDuplex; // half-duplex set by deskflow
KeySet m_halfDuplexMods; // half-duplex set by user
// dummy KeyItem for changing modifiers
@@ -505,4 +505,4 @@ private:
static ModifierToNameMap *s_modifierToNameMap;
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/KeyState.cpp b/src/lib/deskflow/KeyState.cpp
similarity index 97%
rename from src/lib/synergy/KeyState.cpp
rename to src/lib/deskflow/KeyState.cpp
index 8232ed5b8..3e159cb75 100644
--- a/src/lib/synergy/KeyState.cpp
+++ b/src/lib/deskflow/KeyState.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -16,10 +16,10 @@
* along with this program. If not, see .
*/
-#include "synergy/KeyState.h"
+#include "deskflow/KeyState.h"
#include "base/Log.h"
-#include "synergy/ClientApp.h"
-#include "synergy/ClientArgs.h"
+#include "deskflow/ClientApp.h"
+#include "deskflow/ClientArgs.h"
#include
#include
@@ -663,7 +663,7 @@ static const KeyID s_numpadTable[] = {
KeyState::KeyState(
IEventQueue *events, std::vector layouts, bool isLangSyncEnabled)
: IKeyState(events),
- m_keyMapPtr(new synergy::KeyMap()),
+ m_keyMapPtr(new deskflow::KeyMap()),
m_keyMap(*m_keyMapPtr),
m_mask(0),
m_events(events),
@@ -673,7 +673,7 @@ KeyState::KeyState(
}
KeyState::KeyState(
- IEventQueue *events, synergy::KeyMap &keyMap, std::vector layouts,
+ IEventQueue *events, deskflow::KeyMap &keyMap, std::vector layouts,
bool isLangSyncEnabled)
: IKeyState(events),
m_keyMapPtr(0),
@@ -749,12 +749,12 @@ void KeyState::sendKeyEvent(
}
}
-void KeyState::updateKeyMap(synergy::KeyMap *existing) {
+void KeyState::updateKeyMap(deskflow::KeyMap *existing) {
if (existing) {
m_keyMap.swap(*existing);
} else {
// get the current keyboard map
- synergy::KeyMap keyMap;
+ deskflow::KeyMap keyMap;
getKeyMap(keyMap);
m_keyMap.swap(keyMap);
m_keyMap.finish();
@@ -794,7 +794,7 @@ void KeyState::updateKeyState() {
}
void KeyState::addActiveModifierCB(
- KeyID, SInt32 group, synergy::KeyMap::KeyItem &keyItem, void *vcontext) {
+ KeyID, SInt32 group, deskflow::KeyMap::KeyItem &keyItem, void *vcontext) {
AddActiveModifierContext *context =
static_cast(vcontext);
if (group == context->m_activeGroup &&
@@ -835,7 +835,7 @@ void KeyState::fakeKeyDown(
Keystrokes keys;
ModifierToKeys oldActiveModifiers = m_activeModifiers;
- const synergy::KeyMap::KeyItem *keyItem = m_keyMap.mapKey(
+ const deskflow::KeyMap::KeyItem *keyItem = m_keyMap.mapKey(
keys, id, pollActiveGroup(), m_activeModifiers,
getActiveModifiersRValue(), mask, false, lang);
@@ -881,7 +881,7 @@ bool KeyState::fakeKeyRepeat(
// get keys for key repeat
Keystrokes keys;
ModifierToKeys oldActiveModifiers = m_activeModifiers;
- const synergy::KeyMap::KeyItem *keyItem = m_keyMap.mapKey(
+ const deskflow::KeyMap::KeyItem *keyItem = m_keyMap.mapKey(
keys, id, pollActiveGroup(), m_activeModifiers,
getActiveModifiersRValue(), mask, true, lang);
if (keyItem == NULL) {
@@ -1011,7 +1011,7 @@ bool KeyState::isIgnoredKey(KeyID key, KeyModifierMask) const {
}
KeyButton KeyState::getButton(KeyID id, SInt32 group) const {
- const synergy::KeyMap::KeyItemList *items =
+ const deskflow::KeyMap::KeyItemList *items =
m_keyMap.findCompatibleKey(id, group, 0, 0);
if (items == NULL) {
return 0;
@@ -1117,7 +1117,7 @@ void KeyState::updateModifierKeyState(
KeyButton button, const ModifierToKeys &oldModifiers,
const ModifierToKeys &newModifiers) {
// get the pressed modifier buttons before and after
- synergy::KeyMap::ButtonToKeyMap oldKeys, newKeys;
+ deskflow::KeyMap::ButtonToKeyMap oldKeys, newKeys;
for (ModifierToKeys::const_iterator i = oldModifiers.begin();
i != oldModifiers.end(); ++i) {
oldKeys.insert(std::make_pair(i->second.m_button, &i->second));
@@ -1128,7 +1128,7 @@ void KeyState::updateModifierKeyState(
}
// get the modifier buttons that were pressed or released
- synergy::KeyMap::ButtonToKeyMap pressed, released;
+ deskflow::KeyMap::ButtonToKeyMap pressed, released;
std::set_difference(
oldKeys.begin(), oldKeys.end(), newKeys.begin(), newKeys.end(),
std::inserter(released, released.end()), ButtonToKeyLess());
@@ -1137,14 +1137,14 @@ void KeyState::updateModifierKeyState(
std::inserter(pressed, pressed.end()), ButtonToKeyLess());
// update state
- for (synergy::KeyMap::ButtonToKeyMap::const_iterator i = released.begin();
+ for (deskflow::KeyMap::ButtonToKeyMap::const_iterator i = released.begin();
i != released.end(); ++i) {
if (i->first != button) {
m_keys[i->first] = 0;
m_syntheticKeys[i->first] = 0;
}
}
- for (synergy::KeyMap::ButtonToKeyMap::const_iterator i = pressed.begin();
+ for (deskflow::KeyMap::ButtonToKeyMap::const_iterator i = pressed.begin();
i != pressed.end(); ++i) {
if (i->first != button) {
m_keys[i->first] = 1;
diff --git a/src/lib/synergy/KeyState.h b/src/lib/deskflow/KeyState.h
similarity index 89%
rename from src/lib/synergy/KeyState.h
rename to src/lib/deskflow/KeyState.h
index ca1f759cb..db80fff3b 100644
--- a/src/lib/synergy/KeyState.h
+++ b/src/lib/deskflow/KeyState.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -18,8 +18,8 @@
#pragma once
-#include "synergy/IKeyState.h"
-#include "synergy/KeyMap.h"
+#include "deskflow/IKeyState.h"
+#include "deskflow/KeyMap.h"
//! Core key state
/*!
@@ -31,8 +31,8 @@ public:
KeyState(
IEventQueue *events, std::vector layouts, bool isLangSyncEnabled);
KeyState(
- IEventQueue *events, synergy::KeyMap &keyMap, std::vector layouts,
- bool isLangSyncEnabled);
+ IEventQueue *events, deskflow::KeyMap &keyMap,
+ std::vector layouts, bool isLangSyncEnabled);
virtual ~KeyState();
//! @name manipulators
@@ -63,7 +63,7 @@ public:
//@}
- void updateKeyMap(synergy::KeyMap *existing);
+ void updateKeyMap(deskflow::KeyMap *existing);
// IKeyState overrides
void updateKeyMap() override { this->updateKeyMap(nullptr); }
void updateKeyState() override;
@@ -89,7 +89,7 @@ public:
SInt32 getKeyState(KeyButton keyButton) { return m_keys[keyButton]; }
protected:
- typedef synergy::KeyMap::Keystroke Keystroke;
+ typedef deskflow::KeyMap::Keystroke Keystroke;
//! @name protected manipulators
//@{
@@ -98,7 +98,7 @@ protected:
/*!
Fills \p keyMap with the current keyboard map.
*/
- virtual void getKeyMap(synergy::KeyMap &keyMap) = 0;
+ virtual void getKeyMap(deskflow::KeyMap &keyMap) = 0;
//! Fake a key event
/*!
@@ -140,8 +140,8 @@ protected:
//@}
private:
- typedef synergy::KeyMap::Keystrokes Keystrokes;
- typedef synergy::KeyMap::ModifierToKeys ModifierToKeys;
+ typedef deskflow::KeyMap::Keystrokes Keystrokes;
+ typedef deskflow::KeyMap::ModifierToKeys ModifierToKeys;
public:
struct AddActiveModifierContext {
@@ -164,8 +164,8 @@ private:
class ButtonToKeyLess {
public:
bool operator()(
- const synergy::KeyMap::ButtonToKeyMap::value_type &a,
- const synergy::KeyMap::ButtonToKeyMap::value_type b) const {
+ const deskflow::KeyMap::ButtonToKeyMap::value_type &a,
+ const deskflow::KeyMap::ButtonToKeyMap::value_type b) const {
return (a.first < b.first);
}
};
@@ -198,15 +198,15 @@ private:
// active modifiers collection callback
static void addActiveModifierCB(
- KeyID id, SInt32 group, synergy::KeyMap::KeyItem &keyItem,
+ KeyID id, SInt32 group, deskflow::KeyMap::KeyItem &keyItem,
void *vcontext);
private:
// must be declared before m_keyMap. used when this class owns the key map.
- synergy::KeyMap *m_keyMapPtr;
+ deskflow::KeyMap *m_keyMapPtr;
// the keyboard map
- synergy::KeyMap &m_keyMap;
+ deskflow::KeyMap &m_keyMap;
// current modifier state
KeyModifierMask m_mask;
diff --git a/src/lib/synergy/PacketStreamFilter.cpp b/src/lib/deskflow/PacketStreamFilter.cpp
similarity index 96%
rename from src/lib/synergy/PacketStreamFilter.cpp
rename to src/lib/deskflow/PacketStreamFilter.cpp
index 73909cee1..5effb78af 100644
--- a/src/lib/synergy/PacketStreamFilter.cpp
+++ b/src/lib/deskflow/PacketStreamFilter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/PacketStreamFilter.h"
+#include "deskflow/PacketStreamFilter.h"
#include "base/IEventQueue.h"
#include "base/TMethodEventJob.h"
#include "mt/Lock.h"
@@ -29,7 +29,7 @@
//
PacketStreamFilter::PacketStreamFilter(
- IEventQueue *events, synergy::IStream *stream, bool adoptStream)
+ IEventQueue *events, deskflow::IStream *stream, bool adoptStream)
: StreamFilter(events, stream, adoptStream),
m_size(0),
m_inputShutdown(false),
diff --git a/src/lib/synergy/PacketStreamFilter.h b/src/lib/deskflow/PacketStreamFilter.h
similarity index 92%
rename from src/lib/synergy/PacketStreamFilter.h
rename to src/lib/deskflow/PacketStreamFilter.h
index bf307e83a..7df5a47b9 100644
--- a/src/lib/synergy/PacketStreamFilter.h
+++ b/src/lib/deskflow/PacketStreamFilter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -31,7 +31,7 @@ Filters a stream to read and write packets.
class PacketStreamFilter : public StreamFilter {
public:
PacketStreamFilter(
- IEventQueue *events, synergy::IStream *stream, bool adoptStream = true);
+ IEventQueue *events, deskflow::IStream *stream, bool adoptStream = true);
~PacketStreamFilter();
// IStream overrides
diff --git a/src/lib/synergy/PlatformScreen.cpp b/src/lib/deskflow/PlatformScreen.cpp
similarity index 92%
rename from src/lib/synergy/PlatformScreen.cpp
rename to src/lib/deskflow/PlatformScreen.cpp
index 804bfd535..536aa1524 100644
--- a/src/lib/synergy/PlatformScreen.cpp
+++ b/src/lib/deskflow/PlatformScreen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -16,12 +16,12 @@
* along with this program. If not, see .
*/
-#include "synergy/PlatformScreen.h"
-#include "synergy/App.h"
-#include "synergy/ArgsBase.h"
+#include "deskflow/PlatformScreen.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgsBase.h"
PlatformScreen::PlatformScreen(
- IEventQueue *events, synergy::ClientScrollDirection scrollDirection)
+ IEventQueue *events, deskflow::ClientScrollDirection scrollDirection)
: IPlatformScreen(events),
m_draggingStarted(false),
m_fakeDraggingStarted(false),
diff --git a/src/lib/synergy/PlatformScreen.h b/src/lib/deskflow/PlatformScreen.h
similarity index 89%
rename from src/lib/synergy/PlatformScreen.h
rename to src/lib/deskflow/PlatformScreen.h
index 60be8a2dc..9f21ed34c 100644
--- a/src/lib/synergy/PlatformScreen.h
+++ b/src/lib/deskflow/PlatformScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -19,9 +19,9 @@
#pragma once
#include "common/stdexcept.h"
-#include "synergy/ClientArgs.h"
-#include "synergy/DragInformation.h"
-#include "synergy/IPlatformScreen.h"
+#include "deskflow/ClientArgs.h"
+#include "deskflow/DragInformation.h"
+#include "deskflow/IPlatformScreen.h"
//! Base screen implementation
/*!
@@ -32,8 +32,8 @@ subclasses to implement the rest.
class PlatformScreen : public IPlatformScreen {
public:
PlatformScreen(
- IEventQueue *events, synergy::ClientScrollDirection scrollDirection =
- synergy::ClientScrollDirection::SERVER);
+ IEventQueue *events, deskflow::ClientScrollDirection scrollDirection =
+ deskflow::ClientScrollDirection::SERVER);
virtual ~PlatformScreen();
// IScreen overrides
@@ -142,6 +142,6 @@ private:
* This member contains client scroll direction.
* This member is used only on client side.
*/
- synergy::ClientScrollDirection m_clientScrollDirection =
- synergy::ClientScrollDirection::SERVER;
+ deskflow::ClientScrollDirection m_clientScrollDirection =
+ deskflow::ClientScrollDirection::SERVER;
};
diff --git a/src/lib/synergy/ProtocolUtil.cpp b/src/lib/deskflow/ProtocolUtil.cpp
similarity index 93%
rename from src/lib/synergy/ProtocolUtil.cpp
rename to src/lib/deskflow/ProtocolUtil.cpp
index 2147a391a..fabd088cd 100644
--- a/src/lib/synergy/ProtocolUtil.cpp
+++ b/src/lib/deskflow/ProtocolUtil.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/ProtocolUtil.h"
+#include "deskflow/ProtocolUtil.h"
#include "base/Log.h"
#include "common/stdvector.h"
#include "io/IStream.h"
@@ -76,7 +76,7 @@ void writeString(const String *StringData, std::vector &Buffer) {
} // namespace
-void ProtocolUtil::writef(synergy::IStream *stream, const char *fmt, ...) {
+void ProtocolUtil::writef(deskflow::IStream *stream, const char *fmt, ...) {
assert(stream != NULL);
assert(fmt != NULL);
LOG((CLOG_DEBUG2 "writef(%s)", fmt));
@@ -90,7 +90,7 @@ void ProtocolUtil::writef(synergy::IStream *stream, const char *fmt, ...) {
va_end(args);
}
-bool ProtocolUtil::readf(synergy::IStream *stream, const char *fmt, ...) {
+bool ProtocolUtil::readf(deskflow::IStream *stream, const char *fmt, ...) {
bool result = false;
if (stream && fmt) {
@@ -112,7 +112,7 @@ bool ProtocolUtil::readf(synergy::IStream *stream, const char *fmt, ...) {
}
void ProtocolUtil::vwritef(
- synergy::IStream *stream, const char *fmt, UInt32 size, va_list args) {
+ deskflow::IStream *stream, const char *fmt, UInt32 size, va_list args) {
assert(stream != NULL);
assert(fmt != NULL);
@@ -138,7 +138,7 @@ void ProtocolUtil::vwritef(
}
void ProtocolUtil::vreadf(
- synergy::IStream *stream, const char *fmt, va_list args) {
+ deskflow::IStream *stream, const char *fmt, va_list args) {
assert(stream != NULL);
assert(fmt != NULL);
@@ -426,7 +426,8 @@ UInt32 ProtocolUtil::eatLength(const char **pfmt) {
}
}
-void ProtocolUtil::read(synergy::IStream *stream, void *vbuffer, UInt32 count) {
+void ProtocolUtil::read(
+ deskflow::IStream *stream, void *vbuffer, UInt32 count) {
assert(stream != NULL);
assert(vbuffer != NULL);
@@ -449,7 +450,7 @@ void ProtocolUtil::read(synergy::IStream *stream, void *vbuffer, UInt32 count) {
}
}
-UInt8 ProtocolUtil::read1ByteInt(synergy::IStream *stream) {
+UInt8 ProtocolUtil::read1ByteInt(deskflow::IStream *stream) {
const UInt32 BufferSize = 1;
std::array buffer = {};
read(stream, buffer.data(), BufferSize);
@@ -460,7 +461,7 @@ UInt8 ProtocolUtil::read1ByteInt(synergy::IStream *stream) {
return Result;
}
-UInt16 ProtocolUtil::read2BytesInt(synergy::IStream *stream) {
+UInt16 ProtocolUtil::read2BytesInt(deskflow::IStream *stream) {
const UInt32 BufferSize = 2;
std::array buffer = {};
read(stream, buffer.data(), BufferSize);
@@ -472,7 +473,7 @@ UInt16 ProtocolUtil::read2BytesInt(synergy::IStream *stream) {
return Result;
}
-UInt32 ProtocolUtil::read4BytesInt(synergy::IStream *stream) {
+UInt32 ProtocolUtil::read4BytesInt(deskflow::IStream *stream) {
const int BufferSize = 4;
std::array buffer = {};
read(stream, buffer.data(), BufferSize);
@@ -488,7 +489,7 @@ UInt32 ProtocolUtil::read4BytesInt(synergy::IStream *stream) {
}
void ProtocolUtil::readVector1ByteInt(
- synergy::IStream *stream, std::vector &destination) {
+ deskflow::IStream *stream, std::vector &destination) {
UInt32 size = read4BytesInt(stream);
for (UInt32 i = 0; i < size; ++i) {
destination.push_back(read1ByteInt(stream));
@@ -496,7 +497,7 @@ void ProtocolUtil::readVector1ByteInt(
}
void ProtocolUtil::readVector2BytesInt(
- synergy::IStream *stream, std::vector &destination) {
+ deskflow::IStream *stream, std::vector &destination) {
UInt32 size = read4BytesInt(stream);
for (UInt32 i = 0; i < size; ++i) {
destination.push_back(read2BytesInt(stream));
@@ -504,7 +505,7 @@ void ProtocolUtil::readVector2BytesInt(
}
void ProtocolUtil::readVector4BytesInt(
- synergy::IStream *stream, std::vector &destination) {
+ deskflow::IStream *stream, std::vector &destination) {
UInt32 size = read4BytesInt(stream);
for (UInt32 i = 0; i < size; ++i) {
destination.push_back(read4BytesInt(stream));
@@ -512,7 +513,7 @@ void ProtocolUtil::readVector4BytesInt(
}
void ProtocolUtil::readBytes(
- synergy::IStream *stream, UInt32 len, String *destination) {
+ deskflow::IStream *stream, UInt32 len, String *destination) {
assert(len == 0);
// read the string length
diff --git a/src/lib/synergy/ProtocolUtil.h b/src/lib/deskflow/ProtocolUtil.h
similarity index 75%
rename from src/lib/synergy/ProtocolUtil.h
rename to src/lib/deskflow/ProtocolUtil.h
index d81dbc3a0..3309eb52a 100644
--- a/src/lib/synergy/ProtocolUtil.h
+++ b/src/lib/deskflow/ProtocolUtil.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -23,13 +23,13 @@
#include
-namespace synergy {
+namespace deskflow {
class IStream;
}
-//! Synergy protocol utilities
+//! Deskflow protocol utilities
/*!
-This class provides various functions for implementing the synergy
+This class provides various functions for implementing the deskflow
protocol.
*/
class ProtocolUtil {
@@ -52,7 +52,7 @@ public:
- \%s -- converts String* to stream of bytes
- \%S -- converts integer N and const UInt8* to stream of N bytes
*/
- static void writef(synergy::IStream *, const char *fmt, ...);
+ static void writef(deskflow::IStream *, const char *fmt, ...);
//! Read formatted data
/*!
@@ -70,36 +70,36 @@ public:
- \%4I -- reads NBO 4 byte integers; arg is std::vector*
- \%s -- reads bytes; argument must be a String*, \b not a char*
*/
- static bool readf(synergy::IStream *, const char *fmt, ...);
+ static bool readf(deskflow::IStream *, const char *fmt, ...);
private:
static void
- vwritef(synergy::IStream *, const char *fmt, UInt32 size, va_list);
- static void vreadf(synergy::IStream *, const char *fmt, va_list);
+ vwritef(deskflow::IStream *, const char *fmt, UInt32 size, va_list);
+ static void vreadf(deskflow::IStream *, const char *fmt, va_list);
static UInt32 getLength(const char *fmt, va_list);
static void writef(std::vector &, const char *fmt, va_list);
static UInt32 eatLength(const char **fmt);
- static void read(synergy::IStream *, void *, UInt32);
+ static void read(deskflow::IStream *, void *, UInt32);
/**
* @brief Handles 1,2, or 4 byte Integers
*/
- static UInt8 read1ByteInt(synergy::IStream *stream);
- static UInt16 read2BytesInt(synergy::IStream *stream);
- static UInt32 read4BytesInt(synergy::IStream *stream);
+ static UInt8 read1ByteInt(deskflow::IStream *stream);
+ static UInt16 read2BytesInt(deskflow::IStream *stream);
+ static UInt32 read4BytesInt(deskflow::IStream *stream);
/**
* @brief Handles a Vector of integers
*/
- static void readVector1ByteInt(synergy::IStream *, std::vector &);
- static void readVector2BytesInt(synergy::IStream *, std::vector &);
- static void readVector4BytesInt(synergy::IStream *, std::vector &);
+ static void readVector1ByteInt(deskflow::IStream *, std::vector &);
+ static void readVector2BytesInt(deskflow::IStream *, std::vector &);
+ static void readVector4BytesInt(deskflow::IStream *, std::vector &);
/**
* @brief Handles an array of bytes
*/
- static void readBytes(synergy::IStream *, UInt32, String *);
+ static void readBytes(deskflow::IStream *, UInt32, String *);
};
//! Mismatched read exception
diff --git a/src/lib/synergy/Screen.cpp b/src/lib/deskflow/Screen.cpp
similarity index 98%
rename from src/lib/synergy/Screen.cpp
rename to src/lib/deskflow/Screen.cpp
index 55c0fef14..f8e6b104e 100644
--- a/src/lib/synergy/Screen.cpp
+++ b/src/lib/deskflow/Screen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -16,15 +16,15 @@
* along with this program. If not, see .
*/
-#include "synergy/Screen.h"
+#include "deskflow/Screen.h"
#include "base/IEventQueue.h"
#include "base/Log.h"
#include "base/TMethodEventJob.h"
+#include "deskflow/IPlatformScreen.h"
+#include "deskflow/protocol_types.h"
#include "server/ClientProxy.h"
-#include "synergy/IPlatformScreen.h"
-#include "synergy/protocol_types.h"
-namespace synergy {
+namespace deskflow {
//
// Screen
@@ -427,4 +427,4 @@ String Screen::getSecureInputApp() const {
return m_screen->getSecureInputApp();
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/Screen.h b/src/lib/deskflow/Screen.h
similarity index 96%
rename from src/lib/synergy/Screen.h
rename to src/lib/deskflow/Screen.h
index 7c29c94eb..e9d7c5a40 100644
--- a/src/lib/synergy/Screen.h
+++ b/src/lib/deskflow/Screen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,18 +19,18 @@
#pragma once
#include "base/String.h"
-#include "synergy/DragInformation.h"
-#include "synergy/IScreen.h"
-#include "synergy/clipboard_types.h"
-#include "synergy/key_types.h"
-#include "synergy/mouse_types.h"
-#include "synergy/option_types.h"
+#include "deskflow/DragInformation.h"
+#include "deskflow/IScreen.h"
+#include "deskflow/clipboard_types.h"
+#include "deskflow/key_types.h"
+#include "deskflow/mouse_types.h"
+#include "deskflow/option_types.h"
class IClipboard;
class IPlatformScreen;
class IEventQueue;
-namespace synergy {
+namespace deskflow {
//! Platform independent screen
/*!
@@ -352,4 +352,4 @@ private:
bool m_enableDragDrop;
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/ServerApp.cpp b/src/lib/deskflow/ServerApp.cpp
similarity index 92%
rename from src/lib/synergy/ServerApp.cpp
rename to src/lib/deskflow/ServerApp.cpp
index 512c964c9..c189636a0 100644
--- a/src/lib/synergy/ServerApp.cpp
+++ b/src/lib/deskflow/ServerApp.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,13 +16,19 @@
* along with this program. If not, see .
*/
-#include "synergy/ServerApp.h"
+#include "deskflow/ServerApp.h"
#include "arch/Arch.h"
#include "base/IEventQueue.h"
#include "base/Log.h"
#include "base/Path.h"
#include "base/TMethodEventJob.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgParser.h"
+#include "deskflow/Screen.h"
+#include "deskflow/ServerArgs.h"
+#include "deskflow/ServerTaskBarReceiver.h"
+#include "deskflow/XScreen.h"
#include "net/InverseSockets/InverseSocketFactory.h"
#include "net/SocketMultiplexer.h"
#include "net/TCPSocketFactory.h"
@@ -32,12 +38,6 @@
#include "server/Config.h"
#include "server/PrimaryClient.h"
#include "server/Server.h"
-#include "synergy/App.h"
-#include "synergy/ArgParser.h"
-#include "synergy/Screen.h"
-#include "synergy/ServerArgs.h"
-#include "synergy/ServerTaskBarReceiver.h"
-#include "synergy/XScreen.h"
#if SYSAPI_WIN32
#include "arch/win32/ArchMiscWindows.h"
@@ -74,7 +74,7 @@
#include
#include
-using namespace synergy::server;
+using namespace deskflow::server;
//
// ServerApp
@@ -82,14 +82,14 @@ using namespace synergy::server;
ServerApp::ServerApp(
IEventQueue *events, CreateTaskBarReceiverFunc createTaskBarReceiver)
- : App(events, createTaskBarReceiver, new synergy::ServerArgs()),
+ : App(events, createTaskBarReceiver, new deskflow::ServerArgs()),
m_server(NULL),
m_serverState(kUninitialized),
m_serverScreen(NULL),
m_primaryClient(NULL),
m_listener(NULL),
m_timer(NULL),
- m_synergyAddress(NULL) {}
+ m_deskflowAddress(NULL) {}
ServerApp::~ServerApp() {}
@@ -105,11 +105,11 @@ void ServerApp::parseArgs(int argc, const char *const *argv) {
m_bye(kExitArgs);
}
} else {
- if (!args().m_synergyAddress.empty()) {
+ if (!args().m_deskflowAddress.empty()) {
try {
- *m_synergyAddress =
- NetworkAddress(args().m_synergyAddress, kDefaultPort);
- m_synergyAddress->resolve();
+ *m_deskflowAddress =
+ NetworkAddress(args().m_deskflowAddress, kDefaultPort);
+ m_deskflowAddress->resolve();
} catch (XSocketAddress &e) {
LOG((CLOG_CRIT "%s: %s" BYE, args().m_pname, e.what(), args().m_pname));
m_bye(kExitArgs);
@@ -140,7 +140,7 @@ void ServerApp::help() {
#endif
<< HELP_SYS_ARGS HELP_COMMON_ARGS "\n\n"
- << "Start the synergy mouse/keyboard sharing server.\n"
+ << "Start the deskflow mouse/keyboard sharing server.\n"
<< "\n"
<< " -a, --address listen for clients on the given address.\n"
<< " -c, --config use the named configuration file "
@@ -238,7 +238,7 @@ bool ServerApp::loadConfig(const String &pathname) {
try {
// load configuration
LOG((CLOG_DEBUG "opening configuration \"%s\"", pathname.c_str()));
- std::ifstream configStream(synergy::filesystem::path(pathname));
+ std::ifstream configStream(deskflow::filesystem::path(pathname));
if (!configStream.is_open()) {
// report failure to open configuration as a debug message
// since we try several paths and we expect some to be
@@ -349,7 +349,7 @@ void ServerApp::closePrimaryClient(PrimaryClient *primaryClient) {
delete primaryClient;
}
-void ServerApp::closeServerScreen(synergy::Screen *screen) {
+void ServerApp::closeServerScreen(deskflow::Screen *screen) {
if (screen != NULL) {
m_events->removeHandler(
m_events->forIScreen().error(), screen->getEventTarget());
@@ -430,7 +430,7 @@ bool ServerApp::initServer() {
}
double retryTime;
- synergy::Screen *serverScreen = NULL;
+ deskflow::Screen *serverScreen = NULL;
PrimaryClient *primaryClient = NULL;
try {
String name = args().m_config->getCanonicalName(args().m_name);
@@ -475,8 +475,8 @@ bool ServerApp::initServer() {
}
}
-synergy::Screen *ServerApp::openServerScreen() {
- synergy::Screen *screen = createScreen();
+deskflow::Screen *ServerApp::openServerScreen() {
+ deskflow::Screen *screen = createScreen();
screen->setEnableDragDrop(argsBase().m_enableDragDrop);
m_events->adoptHandler(
m_events->forIScreen().error(), screen->getEventTarget(),
@@ -512,7 +512,7 @@ bool ServerApp::startServer() {
ClientListener *listener = NULL;
try {
- listener = openClientListener(args().m_config->getSynergyAddress());
+ listener = openClientListener(args().m_config->getDeskflowAddress());
m_server = openServer(*args().m_config, m_primaryClient);
listener->setServer(m_server);
m_server->setListener(listener);
@@ -552,20 +552,20 @@ bool ServerApp::startServer() {
}
}
-synergy::Screen *ServerApp::createScreen() {
+deskflow::Screen *ServerApp::createScreen() {
#if WINAPI_MSWINDOWS
- return new synergy::Screen(
+ return new deskflow::Screen(
new MSWindowsScreen(
true, args().m_noHooks, args().m_stopOnDeskSwitch, m_events),
m_events);
#endif
#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI)
- if (synergy::platform::isWayland()) {
+ if (deskflow::platform::isWayland()) {
#if WINAPI_LIBEI
LOG((CLOG_INFO "using ei screen for wayland"));
- return new synergy::Screen(
- new synergy::EiScreen(true, m_events, true), m_events);
+ return new deskflow::Screen(
+ new deskflow::EiScreen(true, m_events, true), m_events);
#else
throw XNoEiSupport();
#endif
@@ -574,17 +574,17 @@ synergy::Screen *ServerApp::createScreen() {
#if WINAPI_XWINDOWS
LOG((CLOG_INFO "using legacy x windows screen"));
- return new synergy::Screen(
+ return new deskflow::Screen(
new XWindowsScreen(
args().m_display, true, args().m_disableXInitThreads, 0, m_events),
m_events);
#elif WINAPI_CARBON
- return new synergy::Screen(new OSXScreen(m_events, true), m_events);
+ return new deskflow::Screen(new OSXScreen(m_events, true), m_events);
#endif
}
PrimaryClient *
-ServerApp::openPrimaryClient(const String &name, synergy::Screen *screen) {
+ServerApp::openPrimaryClient(const String &name, deskflow::Screen *screen) {
LOG((CLOG_DEBUG1 "creating primary screen"));
return new PrimaryClient(name, screen);
}
@@ -685,10 +685,10 @@ int ServerApp::mainLoop() {
// set the contact address, if provided, in the config.
// otherwise, if the config doesn't have an address, use
// the default.
- if (m_synergyAddress->isValid()) {
- args().m_config->setSynergyAddress(*m_synergyAddress);
- } else if (!args().m_config->getSynergyAddress().isValid()) {
- args().m_config->setSynergyAddress(NetworkAddress(kDefaultPort));
+ if (m_deskflowAddress->isValid()) {
+ args().m_config->setDeskflowAddress(*m_deskflowAddress);
+ } else if (!args().m_config->getDeskflowAddress().isValid()) {
+ args().m_config->setDeskflowAddress(NetworkAddress(kDefaultPort));
}
// canonicalize the primary screen name
@@ -720,7 +720,7 @@ int ServerApp::mainLoop() {
new TMethodEventJob(this, &ServerApp::forceReconnect));
// to work around the sticky meta keys problem, we'll give users
- // the option to reset the state of synergys
+ // the option to reset the state of deskflows
m_events->adoptHandler(
m_events->forServerApp().resetServer(), m_events->getSystemTarget(),
new TMethodEventJob(this, &ServerApp::resetServer));
@@ -774,7 +774,7 @@ void ServerApp::resetServer(const Event &, void *) {
int ServerApp::runInner(
int argc, char **argv, ILogOutputter *outputter, StartupFunc startup) {
// general initialization
- m_synergyAddress = new NetworkAddress;
+ m_deskflowAddress = new NetworkAddress;
args().m_config = std::make_shared(m_events);
args().m_pname = ARCH->getBasename(argv[0]);
@@ -791,7 +791,7 @@ int ServerApp::runInner(
delete m_taskBarReceiver;
}
- delete m_synergyAddress;
+ delete m_deskflowAddress;
return result;
}
@@ -819,9 +819,9 @@ int ServerApp::foregroundStartup(int argc, char **argv) {
const char *ServerApp::daemonName() const {
#if SYSAPI_WIN32
- return "Synergy Server";
+ return "Deskflow Server";
#elif SYSAPI_UNIX
- return "synergys";
+ return "deskflows";
#endif
}
diff --git a/src/lib/synergy/ServerApp.h b/src/lib/deskflow/ServerApp.h
similarity index 83%
rename from src/lib/synergy/ServerApp.h
rename to src/lib/deskflow/ServerApp.h
index 9ddda0c30..7fdf88ee7 100644
--- a/src/lib/synergy/ServerApp.h
+++ b/src/lib/deskflow/ServerApp.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -22,9 +22,9 @@
#include "arch/IArchMultithread.h"
#include "base/EventTypes.h"
#include "base/String.h"
+#include "deskflow/App.h"
#include "net/NetworkAddress.h"
#include "server/Config.h"
-#include "synergy/App.h"
enum EServerState {
kUninitialized,
@@ -36,7 +36,7 @@ enum EServerState {
};
class Server;
-namespace synergy {
+namespace deskflow {
class Screen;
}
class ClientListener;
@@ -45,12 +45,12 @@ class ILogOutputter;
class IEventQueue;
class ISocketFactory;
-namespace synergy {
+namespace deskflow {
class ServerArgs;
}
class ServerApp : public App {
- using ServerConfig = synergy::server::Config;
+ using ServerConfig = deskflow::server::Config;
public:
ServerApp(
@@ -67,7 +67,7 @@ public:
const char *daemonInfo() const override;
void loadConfig() override;
bool loadConfig(const String &pathname) override;
- synergy::Screen *createScreen() override;
+ deskflow::Screen *createScreen() override;
int mainLoop() override;
int runInner(
int argc, char **argv, ILogOutputter *outputter,
@@ -98,12 +98,13 @@ public:
void closeClientListener(ClientListener *listen);
void stopServer();
void closePrimaryClient(PrimaryClient *primaryClient);
- void closeServerScreen(synergy::Screen *screen);
+ void closeServerScreen(deskflow::Screen *screen);
void cleanupServer();
bool initServer();
void retryHandler(const Event &, void *);
- synergy::Screen *openServerScreen();
- PrimaryClient *openPrimaryClient(const String &name, synergy::Screen *screen);
+ deskflow::Screen *openServerScreen();
+ PrimaryClient *
+ openPrimaryClient(const String &name, deskflow::Screen *screen);
void handleScreenError(const Event &, void *);
void handleSuspend(const Event &, void *);
void handleResume(const Event &, void *);
@@ -113,8 +114,8 @@ public:
bool startServer();
Server *getServerPtr() { return m_server; }
- synergy::ServerArgs &args() const {
- return (synergy::ServerArgs &)argsBase();
+ deskflow::ServerArgs &args() const {
+ return (deskflow::ServerArgs &)argsBase();
}
//
@@ -131,18 +132,18 @@ private:
Server *m_server;
EServerState m_serverState;
- synergy::Screen *m_serverScreen;
+ deskflow::Screen *m_serverScreen;
PrimaryClient *m_primaryClient;
ClientListener *m_listener;
EventQueueTimer *m_timer;
- NetworkAddress *m_synergyAddress;
+ NetworkAddress *m_deskflowAddress;
};
// configuration file name
#if SYSAPI_WIN32
-#define USER_CONFIG_NAME "synergy.sgc"
-#define SYSTEM_CONFIG_NAME "synergy.sgc"
+#define USER_CONFIG_NAME "deskflow.sgc"
+#define SYSTEM_CONFIG_NAME "deskflow.sgc"
#elif SYSAPI_UNIX
-#define USER_CONFIG_NAME ".synergy.conf"
-#define SYSTEM_CONFIG_NAME "synergy.conf"
+#define USER_CONFIG_NAME ".deskflow.conf"
+#define SYSTEM_CONFIG_NAME "deskflow.conf"
#endif
diff --git a/src/lib/synergy/ServerAppArguments.md b/src/lib/deskflow/ServerAppArguments.md
similarity index 95%
rename from src/lib/synergy/ServerAppArguments.md
rename to src/lib/deskflow/ServerAppArguments.md
index 9f918b284..a9132471c 100644
--- a/src/lib/synergy/ServerAppArguments.md
+++ b/src/lib/deskflow/ServerAppArguments.md
@@ -10,7 +10,7 @@ As obtained by ```updateCommonArgs()```
The name of the host as reported by the platform.
*m_pname*
-Name of the process (synergys\[.exe])
+Name of the process (deskflows\[.exe])
## Platform Arguments
@@ -126,7 +126,7 @@ Enables secure data sockets.
**--profile-dir**
*m_profileDirectory*
-If the profile directory is not passed-in, then it is inferred. For XWindows as "~/.synergy" or else "~/Library/Synergy".
+If the profile directory is not passed-in, then it is inferred. For XWindows as "~/.deskflow" or else "~/Library/Deskflow".
**--plugin-dir**
*m_pluginDirectory*
@@ -136,12 +136,12 @@ If unspecified, it is inferred. For XWindows "~/plugins" or else "~/Plugins".
**--tls-cert**
*m_tlsCertFile*
-If unspecified and used, then it is sought for as prifleDirectory/SSL/Synergy.pem
+If unspecified and used, then it is sought for as prifleDirectory/SSL/Deskflow.pem
## Uncategorised
**-a** / **--address**
-*m_synergyAddress*
+*m_deskflowAddress*
Used as the listening address.
diff --git a/src/lib/synergy/ServerArgs.cpp b/src/lib/deskflow/ServerArgs.cpp
similarity index 88%
rename from src/lib/synergy/ServerArgs.cpp
rename to src/lib/deskflow/ServerArgs.cpp
index 71936a40d..5163beb40 100644
--- a/src/lib/synergy/ServerArgs.cpp
+++ b/src/lib/deskflow/ServerArgs.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2020 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -17,9 +17,9 @@
#include "ServerArgs.h"
-namespace synergy {
+namespace deskflow {
ServerArgs::~ServerArgs() {}
ServerArgs::ServerArgs() { m_classType = kServer; }
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/ServerArgs.h b/src/lib/deskflow/ServerArgs.h
similarity index 86%
rename from src/lib/synergy/ServerArgs.h
rename to src/lib/deskflow/ServerArgs.h
index 3b280971a..c6e6dd9f1 100644
--- a/src/lib/synergy/ServerArgs.h
+++ b/src/lib/deskflow/ServerArgs.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2020 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -23,11 +23,11 @@
#include
-namespace synergy {
+namespace deskflow {
class ServerArgs : public ArgsBase {
- using License = synergy::license::License;
- using Config = synergy::server::Config;
+ using License = deskflow::license::License;
+ using Config = deskflow::server::Config;
public:
ServerArgs();
@@ -44,4 +44,4 @@ public:
std::shared_ptr m_config;
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/ServerTaskBarReceiver.cpp b/src/lib/deskflow/ServerTaskBarReceiver.cpp
similarity index 88%
rename from src/lib/synergy/ServerTaskBarReceiver.cpp
rename to src/lib/deskflow/ServerTaskBarReceiver.cpp
index ade50630c..4a4d1eba9 100644
--- a/src/lib/synergy/ServerTaskBarReceiver.cpp
+++ b/src/lib/deskflow/ServerTaskBarReceiver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/ServerTaskBarReceiver.h"
+#include "deskflow/ServerTaskBarReceiver.h"
#include "arch/Arch.h"
#include "base/IEventQueue.h"
#include "base/String.h"
@@ -97,17 +97,17 @@ void ServerTaskBarReceiver::unlock() const {
std::string ServerTaskBarReceiver::getToolTip() const {
switch (m_state) {
case kNotRunning:
- return synergy::string::sprintf("%s: Not running", kAppName);
+ return deskflow::string::sprintf("%s: Not running", kAppName);
case kNotWorking:
- return synergy::string::sprintf(
+ return deskflow::string::sprintf(
"%s: %s", kAppName, m_errorMessage.c_str());
case kNotConnected:
- return synergy::string::sprintf("%s: Waiting for clients", kAppName);
+ return deskflow::string::sprintf("%s: Waiting for clients", kAppName);
case kConnected:
- return synergy::string::sprintf("%s: Connected", kAppName);
+ return deskflow::string::sprintf("%s: Connected", kAppName);
default:
return "";
diff --git a/src/lib/synergy/ServerTaskBarReceiver.h b/src/lib/deskflow/ServerTaskBarReceiver.h
similarity index 94%
rename from src/lib/synergy/ServerTaskBarReceiver.h
rename to src/lib/deskflow/ServerTaskBarReceiver.h
index ba009a86d..0227631d6 100644
--- a/src/lib/synergy/ServerTaskBarReceiver.h
+++ b/src/lib/deskflow/ServerTaskBarReceiver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -23,12 +23,12 @@
#include "base/EventTypes.h"
#include "base/String.h"
#include "common/stdvector.h"
+#include "deskflow/ServerApp.h"
#include "server/Server.h"
-#include "synergy/ServerApp.h"
class IEventQueue;
-//! Implementation of IArchTaskBarReceiver for the synergy server
+//! Implementation of IArchTaskBarReceiver for the deskflow server
class ServerTaskBarReceiver : public IArchTaskBarReceiver {
public:
ServerTaskBarReceiver(IEventQueue *events);
diff --git a/src/lib/synergy/StreamChunker.cpp b/src/lib/deskflow/StreamChunker.cpp
similarity index 93%
rename from src/lib/synergy/StreamChunker.cpp
rename to src/lib/deskflow/StreamChunker.cpp
index eae8d7cab..548a0a629 100644
--- a/src/lib/synergy/StreamChunker.cpp
+++ b/src/lib/deskflow/StreamChunker.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
* along with this program. If not, see .
*/
-#include "synergy/StreamChunker.h"
+#include "deskflow/StreamChunker.h"
#include "base/Event.h"
#include "base/EventTypes.h"
@@ -24,11 +24,11 @@
#include "base/Stopwatch.h"
#include "base/String.h"
#include "common/stdexcept.h"
+#include "deskflow/ClipboardChunk.h"
+#include "deskflow/FileChunk.h"
+#include "deskflow/protocol_types.h"
#include "mt/Lock.h"
#include "mt/Mutex.h"
-#include "synergy/ClipboardChunk.h"
-#include "synergy/FileChunk.h"
-#include "synergy/protocol_types.h"
#include
@@ -56,7 +56,7 @@ void StreamChunker::sendFile(
size_t size = (size_t)file.tellg();
// send first message (file size)
- String fileSize = synergy::string::sizeTypeToString(size);
+ String fileSize = deskflow::string::sizeTypeToString(size);
FileChunk *sizeMessage = FileChunk::start(fileSize);
events->addEvent(
@@ -113,7 +113,7 @@ void StreamChunker::sendClipboard(
String &data, size_t size, ClipboardID id, UInt32 sequence,
IEventQueue *events, void *eventTarget) {
// send first message (data size)
- String dataSize = synergy::string::sizeTypeToString(size);
+ String dataSize = deskflow::string::sizeTypeToString(size);
ClipboardChunk *sizeMessage = ClipboardChunk::start(id, sequence, dataSize);
events->addEvent(Event(
diff --git a/src/lib/synergy/StreamChunker.h b/src/lib/deskflow/StreamChunker.h
similarity index 92%
rename from src/lib/synergy/StreamChunker.h
rename to src/lib/deskflow/StreamChunker.h
index e9615ed5c..9624feaac 100644
--- a/src/lib/synergy/StreamChunker.h
+++ b/src/lib/deskflow/StreamChunker.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
#pragma once
#include "base/String.h"
-#include "synergy/clipboard_types.h"
+#include "deskflow/clipboard_types.h"
class IEventQueue;
class Mutex;
diff --git a/src/lib/synergy/ToolApp.cpp b/src/lib/deskflow/ToolApp.cpp
similarity index 90%
rename from src/lib/synergy/ToolApp.cpp
rename to src/lib/deskflow/ToolApp.cpp
index d56f379dd..b8bc7e0db 100644
--- a/src/lib/synergy/ToolApp.cpp
+++ b/src/lib/deskflow/ToolApp.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,12 +15,12 @@
* along with this program. If not, see .
*/
-#include "synergy/ToolApp.h"
+#include "deskflow/ToolApp.h"
#include "arch/Arch.h"
#include "base/Log.h"
#include "base/String.h"
-#include "synergy/ArgParser.h"
+#include "deskflow/ArgParser.h"
#include
@@ -53,7 +53,7 @@ UInt32 ToolApp::run(int argc, char **argv) {
return kExitFailed;
} else {
String output =
- synergy::string::sprintf("activeDesktop:%s", name.c_str());
+ deskflow::string::sprintf("activeDesktop:%s", name.c_str());
LOG((CLOG_INFO "%s", output.c_str()));
}
#endif
@@ -64,7 +64,7 @@ UInt32 ToolApp::run(int argc, char **argv) {
} else if (m_args.m_getArch) {
std::cout << ARCH->getPlatformName() << std::endl;
} else {
- throw XSynergy("Nothing to do");
+ throw XDeskflow("Nothing to do");
}
} catch (std::exception &e) {
LOG((CLOG_CRIT "an error occurred: %s\n", e.what()));
diff --git a/src/lib/synergy/ToolApp.h b/src/lib/deskflow/ToolApp.h
similarity index 88%
rename from src/lib/synergy/ToolApp.h
rename to src/lib/deskflow/ToolApp.h
index f38b556ec..8eb2eae6b 100644
--- a/src/lib/synergy/ToolApp.h
+++ b/src/lib/deskflow/ToolApp.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -18,8 +18,8 @@
#pragma once
#include "common/basic_types.h"
-#include "synergy/App.h"
-#include "synergy/ToolArgs.h"
+#include "deskflow/App.h"
+#include "deskflow/ToolArgs.h"
class ToolApp : public MinimalApp {
public:
diff --git a/src/lib/synergy/ToolArgs.cpp b/src/lib/deskflow/ToolArgs.cpp
similarity index 90%
rename from src/lib/synergy/ToolArgs.cpp
rename to src/lib/deskflow/ToolArgs.cpp
index 70a8f50b8..03e215844 100644
--- a/src/lib/synergy/ToolArgs.cpp
+++ b/src/lib/deskflow/ToolArgs.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
* along with this program. If not, see .
*/
-#include "synergy/ToolArgs.h"
+#include "deskflow/ToolArgs.h"
ToolArgs::ToolArgs()
: m_printActiveDesktopName(false),
diff --git a/src/lib/synergy/ToolArgs.h b/src/lib/deskflow/ToolArgs.h
similarity index 94%
rename from src/lib/synergy/ToolArgs.h
rename to src/lib/deskflow/ToolArgs.h
index 14337f309..80028183c 100644
--- a/src/lib/synergy/ToolArgs.h
+++ b/src/lib/deskflow/ToolArgs.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/synergy/XSynergy.cpp b/src/lib/deskflow/XDeskflow.cpp
similarity index 89%
rename from src/lib/synergy/XSynergy.cpp
rename to src/lib/deskflow/XDeskflow.cpp
index c236e69fa..2747d3279 100644
--- a/src/lib/synergy/XSynergy.cpp
+++ b/src/lib/deskflow/XDeskflow.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/XSynergy.h"
+#include "deskflow/XDeskflow.h"
#include "base/String.h"
//
@@ -42,8 +42,8 @@ int XIncompatibleClient::getMinor() const throw() { return m_minor; }
String XIncompatibleClient::getWhat() const throw() {
return format(
"XIncompatibleClient", "incompatible client %{1}.%{2}",
- synergy::string::sprintf("%d", m_major).c_str(),
- synergy::string::sprintf("%d", m_minor).c_str());
+ deskflow::string::sprintf("%d", m_major).c_str(),
+ deskflow::string::sprintf("%d", m_minor).c_str());
}
//
@@ -87,5 +87,5 @@ int XExitApp::getCode() const throw() { return m_code; }
String XExitApp::getWhat() const throw() {
return format(
"XExitApp", "exiting with code %{1}",
- synergy::string::sprintf("%d", m_code).c_str());
+ deskflow::string::sprintf("%d", m_code).c_str());
}
diff --git a/src/lib/synergy/XSynergy.h b/src/lib/deskflow/XDeskflow.h
similarity index 87%
rename from src/lib/synergy/XSynergy.h
rename to src/lib/deskflow/XDeskflow.h
index c8c17a133..e749b7c8f 100644
--- a/src/lib/synergy/XSynergy.h
+++ b/src/lib/deskflow/XDeskflow.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -20,26 +20,26 @@
#include "base/XBase.h"
-//! Generic synergy exception
-XBASE_SUBCLASS(XSynergy, XBase);
+//! Generic deskflow exception
+XBASE_SUBCLASS(XDeskflow, XBase);
//! Subscription error
/*!
Thrown when there is a problem with the subscription.
*/
-XBASE_SUBCLASS(XSubscription, XSynergy);
+XBASE_SUBCLASS(XSubscription, XDeskflow);
//! Client error exception
/*!
Thrown when the client fails to follow the protocol.
*/
-XBASE_SUBCLASS_WHAT(XBadClient, XSynergy);
+XBASE_SUBCLASS_WHAT(XBadClient, XDeskflow);
//! Incompatible client exception
/*!
Thrown when a client attempting to connect has an incompatible version.
*/
-class XIncompatibleClient : public XSynergy {
+class XIncompatibleClient : public XDeskflow {
public:
XIncompatibleClient(int major, int minor);
@@ -66,7 +66,7 @@ private:
Thrown when a client attempting to connect is using the same name as
a client that is already connected.
*/
-class XDuplicateClient : public XSynergy {
+class XDuplicateClient : public XDeskflow {
public:
XDuplicateClient(const String &name);
virtual ~XDuplicateClient() _NOEXCEPT {}
@@ -91,7 +91,7 @@ private:
Thrown when a client attempting to connect is using a name that is
unknown to the server.
*/
-class XUnknownClient : public XSynergy {
+class XUnknownClient : public XDeskflow {
public:
XUnknownClient(const String &name);
virtual ~XUnknownClient() _NOEXCEPT {}
@@ -117,7 +117,7 @@ Thrown when we want to abort, with the opportunity to clean up. This is a
little bit of a hack, but it's a better way of exiting, than just calling
exit(int).
*/
-class XExitApp : public XSynergy {
+class XExitApp : public XDeskflow {
public:
XExitApp(int code);
virtual ~XExitApp() _NOEXCEPT {}
diff --git a/src/lib/synergy/XScreen.cpp b/src/lib/deskflow/XScreen.cpp
similarity index 94%
rename from src/lib/synergy/XScreen.cpp
rename to src/lib/deskflow/XScreen.cpp
index e822ba13d..662700840 100644
--- a/src/lib/synergy/XScreen.cpp
+++ b/src/lib/deskflow/XScreen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/XScreen.h"
+#include "deskflow/XScreen.h"
//
// XScreenOpenFailure
diff --git a/src/lib/synergy/XScreen.h b/src/lib/deskflow/XScreen.h
similarity index 97%
rename from src/lib/synergy/XScreen.h
rename to src/lib/deskflow/XScreen.h
index 001347126..56121ac0d 100644
--- a/src/lib/synergy/XScreen.h
+++ b/src/lib/deskflow/XScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/clipboard_types.h b/src/lib/deskflow/clipboard_types.h
similarity index 96%
rename from src/lib/synergy/clipboard_types.h
rename to src/lib/deskflow/clipboard_types.h
index 3de4ebb09..2404f8eb0 100644
--- a/src/lib/synergy/clipboard_types.h
+++ b/src/lib/deskflow/clipboard_types.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/key_types.cpp b/src/lib/deskflow/key_types.cpp
similarity index 98%
rename from src/lib/synergy/key_types.cpp
rename to src/lib/deskflow/key_types.cpp
index 3da3162f9..bc13f82f4 100644
--- a/src/lib/synergy/key_types.cpp
+++ b/src/lib/deskflow/key_types.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/key_types.h"
+#include "deskflow/key_types.h"
const KeyNameMapEntry kKeyNameMap[] = {
{"AltGr", kKeyAltGr},
diff --git a/src/lib/synergy/key_types.h b/src/lib/deskflow/key_types.h
similarity index 99%
rename from src/lib/synergy/key_types.h
rename to src/lib/deskflow/key_types.h
index 2dbcd12d1..813ae054d 100644
--- a/src/lib/synergy/key_types.h
+++ b/src/lib/deskflow/key_types.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/languages/LanguageManager.cpp b/src/lib/deskflow/languages/LanguageManager.cpp
similarity index 96%
rename from src/lib/synergy/languages/LanguageManager.cpp
rename to src/lib/deskflow/languages/LanguageManager.cpp
index c5296cc3c..bbcfe3ccb 100644
--- a/src/lib/synergy/languages/LanguageManager.cpp
+++ b/src/lib/deskflow/languages/LanguageManager.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -35,7 +35,7 @@ String vectorToString(
} // anonymous namespace
-namespace synergy {
+namespace deskflow {
namespace languages {
@@ -100,4 +100,4 @@ bool LanguageManager::isLanguageInstalled(const String &language) const {
} // namespace languages
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/synergy/languages/LanguageManager.h b/src/lib/deskflow/languages/LanguageManager.h
similarity index 89%
rename from src/lib/synergy/languages/LanguageManager.h
rename to src/lib/deskflow/languages/LanguageManager.h
index 4163cdb71..a7ffaf65f 100644
--- a/src/lib/synergy/languages/LanguageManager.h
+++ b/src/lib/deskflow/languages/LanguageManager.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -14,14 +14,14 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-#ifndef SYNERGY_LANGUAGESLANGUAGEMANAGER_H
-#define SYNERGY_LANGUAGESLANGUAGEMANAGER_H
+#ifndef DESKFLOW_LANGUAGESLANGUAGEMANAGER_H
+#define DESKFLOW_LANGUAGESLANGUAGEMANAGER_H
#include "base/String.h"
-#include "synergy/AppUtil.h"
+#include "deskflow/AppUtil.h"
#include
-namespace synergy {
+namespace deskflow {
namespace languages {
@@ -75,6 +75,6 @@ public:
} // namespace languages
-} // namespace synergy
+} // namespace deskflow
-#endif // SYNERGY_LANGUAGESLANGUAGEMANAGER_H
+#endif // DESKFLOW_LANGUAGESLANGUAGEMANAGER_H
diff --git a/src/lib/synergy/mouse_types.h b/src/lib/deskflow/mouse_types.h
similarity index 96%
rename from src/lib/synergy/mouse_types.h
rename to src/lib/deskflow/mouse_types.h
index 86b095ec8..c42ebcb87 100644
--- a/src/lib/synergy/mouse_types.h
+++ b/src/lib/deskflow/mouse_types.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/option_types.h b/src/lib/deskflow/option_types.h
similarity index 98%
rename from src/lib/synergy/option_types.h
rename to src/lib/deskflow/option_types.h
index 4e2b16182..7896ec546 100644
--- a/src/lib/synergy/option_types.h
+++ b/src/lib/deskflow/option_types.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/protocol_types.cpp b/src/lib/deskflow/protocol_types.cpp
similarity index 92%
rename from src/lib/synergy/protocol_types.cpp
rename to src/lib/deskflow/protocol_types.cpp
index 95b4ee950..dca443e26 100644
--- a/src/lib/synergy/protocol_types.cpp
+++ b/src/lib/deskflow/protocol_types.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,10 +16,10 @@
* along with this program. If not, see .
*/
-#include "synergy/protocol_types.h"
+#include "deskflow/protocol_types.h"
-const char *const kMsgHello = "Synergy%2i%2i";
-const char *const kMsgHelloBack = "Synergy%2i%2i%s";
+const char *const kMsgHello = "Deskflow%2i%2i";
+const char *const kMsgHelloBack = "Deskflow%2i%2i%s";
const char *const kMsgCNoop = "CNOP";
const char *const kMsgCClose = "CBYE";
const char *const kMsgCEnter = "CINN%2i%2i%4i%2i";
diff --git a/src/lib/synergy/protocol_types.h b/src/lib/deskflow/protocol_types.h
similarity index 98%
rename from src/lib/synergy/protocol_types.h
rename to src/lib/deskflow/protocol_types.h
index 95fc2ebec..759d23196 100644
--- a/src/lib/synergy/protocol_types.h
+++ b/src/lib/deskflow/protocol_types.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -31,7 +31,7 @@
// 1.6: adds clipboard streaming
// 1.7 adds security input notifications
// 1.8 adds language synchronization functionality
-// NOTE: with new version, synergy minor version should increment
+// NOTE: with new version, deskflow minor version should increment
static const SInt16 kProtocolMajorVersion = 1;
static const SInt16 kProtocolMinorVersion = 8;
diff --git a/src/lib/synergy/unix/AppUtilUnix.cpp b/src/lib/deskflow/unix/AppUtilUnix.cpp
similarity index 94%
rename from src/lib/synergy/unix/AppUtilUnix.cpp
rename to src/lib/deskflow/unix/AppUtilUnix.cpp
index 0a4f6d88b..d59194b2b 100644
--- a/src/lib/synergy/unix/AppUtilUnix.cpp
+++ b/src/lib/deskflow/unix/AppUtilUnix.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,12 +16,12 @@
* along with this program. If not, see .
*/
-#include "synergy/unix/AppUtilUnix.h"
-#include "synergy/ArgsBase.h"
+#include "deskflow/unix/AppUtilUnix.h"
+#include "deskflow/ArgsBase.h"
#include
#if WINAPI_XWINDOWS
-#include "synergy/unix/X11LayoutsParser.h"
+#include "deskflow/unix/X11LayoutsParser.h"
#include
#elif WINAPI_CARBON
#include
@@ -177,7 +177,7 @@ void AppUtilUnix::showNotification(
LOG(
(CLOG_INFO "showing notification, title=\"%s\", text=\"%s\"",
title.c_str(), text.c_str()));
- if (!notify_init("Synergy")) {
+ if (!notify_init("Deskflow")) {
LOG((CLOG_INFO "failed to initialize libnotify"));
return;
}
@@ -198,8 +198,8 @@ void AppUtilUnix::showNotification(
notify_uninit();
#elif WINAPI_CARBON
- // synergys and synergyc are not allowed to send native notifications on MacOS
- // instead ask main synergy process to show them instead
+ // deskflows and deskflowc are not allowed to send native notifications on
+ // MacOS instead ask main deskflow process to show them instead
LOG((CLOG_INFO "mac notification: %s|%s", title.c_str(), text.c_str()));
#endif
}
diff --git a/src/lib/synergy/unix/AppUtilUnix.h b/src/lib/deskflow/unix/AppUtilUnix.h
similarity index 93%
rename from src/lib/synergy/unix/AppUtilUnix.h
rename to src/lib/deskflow/unix/AppUtilUnix.h
index 38d2282f4..1cbe96bad 100644
--- a/src/lib/synergy/unix/AppUtilUnix.h
+++ b/src/lib/deskflow/unix/AppUtilUnix.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/AppUtil.h"
+#include "deskflow/AppUtil.h"
#define ARCH_APP_UTIL AppUtilUnix
diff --git a/src/lib/synergy/unix/SynergyXkbKeyboard.cpp b/src/lib/deskflow/unix/DeskflowXkbKeyboard.cpp
similarity index 81%
rename from src/lib/synergy/unix/SynergyXkbKeyboard.cpp
rename to src/lib/deskflow/unix/DeskflowXkbKeyboard.cpp
index ac21866fc..9d952467d 100644
--- a/src/lib/synergy/unix/SynergyXkbKeyboard.cpp
+++ b/src/lib/deskflow/unix/DeskflowXkbKeyboard.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2021 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,14 +19,14 @@
#if WINAPI_XWINDOWS
#include
-#include "SynergyXkbKeyboard.h"
+#include "DeskflowXkbKeyboard.h"
#include "base/Log.h"
-namespace synergy {
+namespace deskflow {
namespace linux {
-SynergyXkbKeyboard::SynergyXkbKeyboard() {
+DeskflowXkbKeyboard::DeskflowXkbKeyboard() {
using XkbDisplay = std::unique_ptr;
XkbDisplay display(
XkbOpenDisplay(nullptr, nullptr, nullptr, nullptr, nullptr, nullptr),
@@ -41,15 +41,15 @@ SynergyXkbKeyboard::SynergyXkbKeyboard() {
}
}
-const char *SynergyXkbKeyboard::getLayout() const {
+const char *DeskflowXkbKeyboard::getLayout() const {
return m_data.layout ? m_data.layout : "us";
}
-const char *SynergyXkbKeyboard::getVariant() const {
+const char *DeskflowXkbKeyboard::getVariant() const {
return m_data.variant ? m_data.variant : "";
}
-SynergyXkbKeyboard::~SynergyXkbKeyboard() {
+DeskflowXkbKeyboard::~DeskflowXkbKeyboard() {
std::free(m_data.model);
std::free(m_data.layout);
std::free(m_data.variant);
@@ -58,6 +58,6 @@ SynergyXkbKeyboard::~SynergyXkbKeyboard() {
} // namespace linux
-} // namespace synergy
+} // namespace deskflow
#endif // WINAPI_XWINDOWS
diff --git a/src/lib/synergy/unix/SynergyXkbKeyboard.h b/src/lib/deskflow/unix/DeskflowXkbKeyboard.h
similarity index 77%
rename from src/lib/synergy/unix/SynergyXkbKeyboard.h
rename to src/lib/deskflow/unix/DeskflowXkbKeyboard.h
index ab31c11c9..93e0cae9a 100644
--- a/src/lib/synergy/unix/SynergyXkbKeyboard.h
+++ b/src/lib/deskflow/unix/DeskflowXkbKeyboard.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2021 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -24,27 +24,27 @@
#include
#include
-namespace synergy {
+namespace deskflow {
namespace linux {
-class SynergyXkbKeyboard {
+class DeskflowXkbKeyboard {
XkbRF_VarDefsRec m_data = {};
public:
- SynergyXkbKeyboard();
- SynergyXkbKeyboard(const SynergyXkbKeyboard &) = delete;
- SynergyXkbKeyboard &operator=(const SynergyXkbKeyboard &) = delete;
+ DeskflowXkbKeyboard();
+ DeskflowXkbKeyboard(const DeskflowXkbKeyboard &) = delete;
+ DeskflowXkbKeyboard &operator=(const DeskflowXkbKeyboard &) = delete;
const char *getLayout() const;
const char *getVariant() const;
- ~SynergyXkbKeyboard();
+ ~DeskflowXkbKeyboard();
};
} // namespace linux
-} // namespace synergy
+} // namespace deskflow
#endif // XKBKEYBOARD_H
diff --git a/src/lib/synergy/unix/ISO639Table.h b/src/lib/deskflow/unix/ISO639Table.h
similarity index 99%
rename from src/lib/synergy/unix/ISO639Table.h
rename to src/lib/deskflow/unix/ISO639Table.h
index d2ac6ebde..b79a70f6d 100644
--- a/src/lib/synergy/unix/ISO639Table.h
+++ b/src/lib/deskflow/unix/ISO639Table.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/unix/X11LayoutsParser.cpp b/src/lib/deskflow/unix/X11LayoutsParser.cpp
similarity index 98%
rename from src/lib/synergy/unix/X11LayoutsParser.cpp
rename to src/lib/deskflow/unix/X11LayoutsParser.cpp
index 2711f1851..dc2af1a80 100644
--- a/src/lib/synergy/unix/X11LayoutsParser.cpp
+++ b/src/lib/deskflow/unix/X11LayoutsParser.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -20,8 +20,8 @@
#include
#include
+#include "DeskflowXkbKeyboard.h"
#include "ISO639Table.h"
-#include "SynergyXkbKeyboard.h"
#include "X11LayoutsParser.h"
#include "base/Log.h"
#include "pugixml.hpp"
@@ -172,7 +172,7 @@ X11LayoutsParser::getX11LanguageList(const String &pathToEvdevFile) {
std::vector layoutNames;
std::vector layoutVariantNames;
- synergy::linux::SynergyXkbKeyboard keyboard;
+ deskflow::linux::DeskflowXkbKeyboard keyboard;
splitLine(layoutNames, keyboard.getLayout(), ',');
splitLine(layoutVariantNames, keyboard.getVariant(), ',');
diff --git a/src/lib/synergy/unix/X11LayoutsParser.h b/src/lib/deskflow/unix/X11LayoutsParser.h
similarity index 97%
rename from src/lib/synergy/unix/X11LayoutsParser.h
rename to src/lib/deskflow/unix/X11LayoutsParser.h
index abb2639a8..fab08b188 100644
--- a/src/lib/synergy/unix/X11LayoutsParser.h
+++ b/src/lib/deskflow/unix/X11LayoutsParser.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/synergy/win32/AppUtilWindows.cpp b/src/lib/deskflow/win32/AppUtilWindows.cpp
similarity index 95%
rename from src/lib/synergy/win32/AppUtilWindows.cpp
rename to src/lib/deskflow/win32/AppUtilWindows.cpp
index 81908bf39..dbc6953a0 100644
--- a/src/lib/synergy/win32/AppUtilWindows.cpp
+++ b/src/lib/deskflow/win32/AppUtilWindows.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-#include "synergy/win32/AppUtilWindows.h"
+#include "deskflow/win32/AppUtilWindows.h"
#include "arch/IArchTaskBarReceiver.h"
#include "arch/win32/ArchMiscWindows.h"
@@ -27,11 +27,11 @@
#include "base/Log.h"
#include "base/log_outputters.h"
#include "common/constants.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgsBase.h"
+#include "deskflow/Screen.h"
+#include "deskflow/XDeskflow.h"
#include "platform/MSWindowsScreen.h"
-#include "synergy/App.h"
-#include "synergy/ArgsBase.h"
-#include "synergy/Screen.h"
-#include "synergy/XSynergy.h"
#include
#include
@@ -224,9 +224,9 @@ void AppUtilWindows::showNotification(
return;
}
if (!WinToastLib::WinToast::instance()->isInitialized()) {
- WinToastLib::WinToast::instance()->setAppName(L"Synergy");
+ WinToastLib::WinToast::instance()->setAppName(L"Deskflow");
const auto aumi = WinToastLib::WinToast::configureAUMI(
- L"Symless", L"Synergy", L"Synergy App", L"1.14.1+");
+ L"Symless", L"Deskflow", L"Deskflow App", L"1.14.1+");
WinToastLib::WinToast::instance()->setAppUserModelId(aumi);
if (!WinToastLib::WinToast::instance()->initialize()) {
diff --git a/src/lib/synergy/win32/AppUtilWindows.h b/src/lib/deskflow/win32/AppUtilWindows.h
similarity index 95%
rename from src/lib/synergy/win32/AppUtilWindows.h
rename to src/lib/deskflow/win32/AppUtilWindows.h
index 561617069..c9382b9fa 100644
--- a/src/lib/synergy/win32/AppUtilWindows.h
+++ b/src/lib/deskflow/win32/AppUtilWindows.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "synergy/AppUtil.h"
+#include "deskflow/AppUtil.h"
#define WIN32_LEAN_AND_MEAN
#include "Windows.h"
diff --git a/src/lib/gui/CMakeLists.txt b/src/lib/gui/CMakeLists.txt
index fcac62fc1..496fa1565 100644
--- a/src/lib/gui/CMakeLists.txt
+++ b/src/lib/gui/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2024 Symless Ltd.
#
# This package is free software; you can redistribute it and/or
@@ -16,7 +16,7 @@
set(target gui)
set(res_dir ${CMAKE_SOURCE_DIR}/res/gui)
-set(qrc_file ${res_dir}/Synergy.qrc)
+set(qrc_file ${res_dir}/Deskflow.qrc)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
diff --git a/src/lib/gui/Logger.cpp b/src/lib/gui/Logger.cpp
index f61f4ec09..4dac6b621 100644
--- a/src/lib/gui/Logger.cpp
+++ b/src/lib/gui/Logger.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -28,10 +28,10 @@
#include
#endif
-namespace synergy::gui {
+namespace deskflow::gui {
const auto kForceDebugMessages = QStringList{
- "Synergy", // TEST
+ "Deskflow", // TEST
"No functional TLS backend was found",
"No TLS backend is available",
"QSslSocket::connectToHostEncrypted: TLS initialization failed",
@@ -72,12 +72,12 @@ QString printLine(
}
void Logger::loadEnvVars() {
- const auto debugEnvVar = qEnvironmentVariable("SYNERGY_GUI_DEBUG");
+ const auto debugEnvVar = qEnvironmentVariable("DESKFLOW_GUI_DEBUG");
if (!debugEnvVar.isEmpty()) {
m_debug = strToTrue(debugEnvVar);
}
- const auto verboseEnvVar = qEnvironmentVariable("SYNERGY_GUI_VERBOSE");
+ const auto verboseEnvVar = qEnvironmentVariable("DESKFLOW_GUI_VERBOSE");
if (!verboseEnvVar.isEmpty()) {
m_verbose = strToTrue(verboseEnvVar);
}
@@ -127,4 +127,4 @@ void Logger::handleMessage(
emit newLine(logLine);
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/Logger.h b/src/lib/gui/Logger.h
index dc1bab89d..7d53cb68e 100644
--- a/src/lib/gui/Logger.h
+++ b/src/lib/gui/Logger.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@ const bool kDebug = false;
const bool kDebug = true;
#endif
-namespace synergy::gui {
+namespace deskflow::gui {
class Logger : public QObject {
Q_OBJECT
@@ -51,4 +51,4 @@ inline void logVerbose(const QString &message) {
Logger::instance().logVerbose(message);
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/OSXHelpers.h b/src/lib/gui/OSXHelpers.h
index 2670494ce..a2db5cd9f 100644
--- a/src/lib/gui/OSXHelpers.h
+++ b/src/lib/gui/OSXHelpers.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/OSXHelpers.mm b/src/lib/gui/OSXHelpers.mm
index 54fd83866..b80bfee99 100644
--- a/src/lib/gui/OSXHelpers.mm
+++ b/src/lib/gui/OSXHelpers.mm
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -54,7 +54,7 @@ bool
isOSXDevelopmentBuild()
{
std::string bundleURL = [[[NSBundle mainBundle] bundleURL].absoluteString UTF8String];
- return (bundleURL.find("Applications/Synergy.app") == std::string::npos);
+ return (bundleURL.find("Applications/Deskflow.app") == std::string::npos);
}
bool
@@ -62,7 +62,7 @@ showOSXNotification(const QString& title, const QString& body)
{
#if OSX_DEPLOYMENT_TARGET >= 1014
// accessing notification center on unsigned build causes an immidiate
- // application shutodown (in this case synergys) and cannot be caught
+ // application shutodown (in this case deskflows) and cannot be caught
// to avoid issues with it need to first check if this is a dev build
if (isOSXDevelopmentBuild())
{
diff --git a/src/lib/gui/TrayIcon.cpp b/src/lib/gui/TrayIcon.cpp
index 98df215ff..b59dde8f8 100644
--- a/src/lib/gui/TrayIcon.cpp
+++ b/src/lib/gui/TrayIcon.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -20,7 +20,7 @@
#include "Logger.h"
#include "common/constants.h"
-namespace synergy::gui {
+namespace deskflow::gui {
const auto kShowRetryInterval = 1000;
@@ -74,4 +74,4 @@ void TrayIcon::create(std::vector const &actions) {
showRetryLoop();
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/TrayIcon.h b/src/lib/gui/TrayIcon.h
index f9d8350cd..70322f058 100644
--- a/src/lib/gui/TrayIcon.h
+++ b/src/lib/gui/TrayIcon.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
class TrayIcon : public QObject {
Q_OBJECT
@@ -47,4 +47,4 @@ private:
QIcon m_icon;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/VersionChecker.cpp b/src/lib/gui/VersionChecker.cpp
index 785061638..e2cf52ee8 100644
--- a/src/lib/gui/VersionChecker.cpp
+++ b/src/lib/gui/VersionChecker.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
#include
#include
-const char *const kVersion = SYNERGY_VERSION;
+const char *const kVersion = DESKFLOW_VERSION;
VersionChecker::VersionChecker(std::shared_ptr network)
: m_network(
@@ -37,22 +37,22 @@ VersionChecker::VersionChecker(std::shared_ptr network)
void VersionChecker::checkLatest() const {
const QString url =
- qEnvironmentVariable("SYNERGY_VERSION_URL", SYNERGY_VERSION_URL);
+ qEnvironmentVariable("DESKFLOW_VERSION_URL", DESKFLOW_VERSION_URL);
auto request = QNetworkRequest(url);
- auto userAgent = QString("Synergy %1 on %2")
+ auto userAgent = QString("Deskflow %1 on %2")
.arg(kVersion)
.arg(QSysInfo::prettyProductName());
request.setHeader(QNetworkRequest::UserAgentHeader, userAgent);
- request.setRawHeader("X-Synergy-Version", kVersion);
+ request.setRawHeader("X-Deskflow-Version", kVersion);
request.setRawHeader(
- "X-Synergy-Language", QLocale::system().name().toStdString().c_str());
+ "X-Deskflow-Language", QLocale::system().name().toStdString().c_str());
m_network->get(request);
}
void VersionChecker::replyFinished(QNetworkReply *reply) {
auto newestVersion = QString(reply->readAll());
if (!newestVersion.isEmpty() &&
- compareVersions(SYNERGY_VERSION, newestVersion) > 0) {
+ compareVersions(DESKFLOW_VERSION, newestVersion) > 0) {
emit updateFound(newestVersion);
}
}
diff --git a/src/lib/gui/VersionChecker.h b/src/lib/gui/VersionChecker.h
index 3ad1e3472..8199d7039 100644
--- a/src/lib/gui/VersionChecker.h
+++ b/src/lib/gui/VersionChecker.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/byte_utils.h b/src/lib/gui/byte_utils.h
index 941abfc74..70a7dbc9d 100644
--- a/src/lib/gui/byte_utils.h
+++ b/src/lib/gui/byte_utils.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
inline int bytesToInt(const char *buffer, size_t size) {
QByteArray byteArray(buffer, static_cast(size));
@@ -39,4 +39,4 @@ inline QByteArray intToBytes(int value) {
return bytes;
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/config/AppConfig.cpp b/src/lib/gui/config/AppConfig.cpp
index 62cdf13e4..67fc99572 100644
--- a/src/lib/gui/config/AppConfig.cpp
+++ b/src/lib/gui/config/AppConfig.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -28,7 +28,7 @@
#include
#include
-using namespace synergy::gui;
+using namespace deskflow::gui;
// this should be incremented each time the wizard is changed,
// which will force it to re-run for existing installations.
@@ -38,15 +38,15 @@ static const char *const kLogLevelNames[] = {
"INFO", "DEBUG", "DEBUG1", "DEBUG2"};
#if defined(Q_OS_WIN)
-const char AppConfig::m_CoreServerName[] = "synergys.exe";
-const char AppConfig::m_CoreClientName[] = "synergyc.exe";
+const char AppConfig::m_CoreServerName[] = "deskflows.exe";
+const char AppConfig::m_CoreClientName[] = "deskflowc.exe";
const char AppConfig::m_LogDir[] = "log/";
-const char AppConfig::m_ConfigFilename[] = "synergy.sgc";
+const char AppConfig::m_ConfigFilename[] = "deskflow.sgc";
#else
-const char AppConfig::m_CoreServerName[] = "synergys";
-const char AppConfig::m_CoreClientName[] = "synergyc";
+const char AppConfig::m_CoreServerName[] = "deskflows";
+const char AppConfig::m_CoreClientName[] = "deskflowc";
const char AppConfig::m_LogDir[] = "/var/log/";
-const char AppConfig::m_ConfigFilename[] = "synergy.conf";
+const char AppConfig::m_ConfigFilename[] = "deskflow.conf";
#endif
// TODO: instead, use key value pair table, which would be less fragile.
@@ -97,7 +97,7 @@ const char *const AppConfig::m_SettingsName[] = {
};
AppConfig::AppConfig(
- synergy::gui::IConfigScopes &scopes, std::shared_ptr deps)
+ deskflow::gui::IConfigScopes &scopes, std::shared_ptr deps)
: m_Scopes(scopes),
m_pDeps(deps),
m_ScreenName(deps->hostname()),
diff --git a/src/lib/gui/config/AppConfig.h b/src/lib/gui/config/AppConfig.h
index 3dd7a5ef9..f693be5ff 100644
--- a/src/lib/gui/config/AppConfig.h
+++ b/src/lib/gui/config/AppConfig.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -33,10 +33,10 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
const ElevateMode kDefaultElevateMode = ElevateMode::kAutomatic;
-const QString kDefaultLogFile = "synergy.log";
+const QString kDefaultLogFile = "deskflow.log";
const int kDefaultTlsKeyLength = 2048;
#if defined(Q_OS_WIN)
@@ -45,7 +45,7 @@ const ProcessMode kDefaultProcessMode = ProcessMode::kService;
const ProcessMode kDefaultProcessMode = ProcessMode::kDesktop;
#endif // Q_OS_WIN
-} // namespace synergy::gui
+} // namespace deskflow::gui
/**
* @brief Simply reads and writes app settings.
@@ -55,9 +55,9 @@ const ProcessMode kDefaultProcessMode = ProcessMode::kDesktop;
* instance is widely accessible, but that has previously led to this class
* becoming a god object.
*/
-class AppConfig : public QObject, public synergy::gui::IAppConfig {
- using ProcessMode = synergy::gui::ProcessMode;
- using IConfigScopes = synergy::gui::IConfigScopes;
+class AppConfig : public QObject, public deskflow::gui::IAppConfig {
+ using ProcessMode = deskflow::gui::ProcessMode;
+ using IConfigScopes = deskflow::gui::IConfigScopes;
Q_OBJECT
@@ -112,7 +112,7 @@ public:
struct Deps {
virtual ~Deps() = default;
virtual QString defaultTlsCertPath() const {
- return synergy::gui::paths::defaultTlsCertPath();
+ return deskflow::gui::paths::defaultTlsCertPath();
}
virtual QString hostname() const { return QHostInfo::localHostName(); }
};
@@ -302,10 +302,10 @@ private:
QString m_Interface = "";
int m_LogLevel = 0;
bool m_LogToFile = false;
- QString m_LogFilename = logDir() + synergy::gui::kDefaultLogFile;
+ QString m_LogFilename = logDir() + deskflow::gui::kDefaultLogFile;
int m_WizardLastRun = 0;
bool m_StartedBefore = false;
- ElevateMode m_ElevateMode = synergy::gui::kDefaultElevateMode;
+ ElevateMode m_ElevateMode = deskflow::gui::kDefaultElevateMode;
QString m_ActivateEmail = "";
bool m_TlsEnabled = true;
bool m_AutoHide = false;
@@ -324,12 +324,12 @@ private:
bool m_ClientGroupChecked = false;
QString m_ServerHostname = "";
bool m_EnableService =
- synergy::gui::kDefaultProcessMode == ProcessMode::kService;
+ deskflow::gui::kDefaultProcessMode == ProcessMode::kService;
bool m_CloseToTray = true;
- int m_TlsKeyLength = synergy::gui::kDefaultTlsKeyLength;
+ int m_TlsKeyLength = deskflow::gui::kDefaultTlsKeyLength;
std::optional m_MainWindowSize;
std::optional m_MainWindowPosition;
- bool m_ShowDevThanks = !synergy::gui::license::isLicensedProduct();
+ bool m_ShowDevThanks = !deskflow::gui::license::isLicensedProduct();
bool m_LoadFromSystemScope = false;
bool m_ShowCloseReminder = true;
@@ -339,7 +339,7 @@ private:
*/
bool m_TlsChanged = false;
- synergy::gui::IConfigScopes &m_Scopes;
+ deskflow::gui::IConfigScopes &m_Scopes;
std::shared_ptr m_pDeps;
QString m_ScreenName;
QString m_TlsCertPath;
diff --git a/src/lib/gui/config/ConfigScopes.cpp b/src/lib/gui/config/ConfigScopes.cpp
index f352adf44..51431698b 100644
--- a/src/lib/gui/config/ConfigScopes.cpp
+++ b/src/lib/gui/config/ConfigScopes.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2020 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
using namespace proxy;
@@ -140,4 +140,4 @@ void ConfigScopes::setInScope(
}
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/config/ConfigScopes.h b/src/lib/gui/config/ConfigScopes.h
index 7ff670a6e..ff9d519b4 100644
--- a/src/lib/gui/config/ConfigScopes.h
+++ b/src/lib/gui/config/ConfigScopes.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2020 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -24,11 +24,11 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
/// @brief Encapsulates Qt config for both user and global scopes.
class ConfigScopes : public QObject, public IConfigScopes {
- using QSettingsProxy = synergy::gui::proxy::QSettingsProxy;
+ using QSettingsProxy = deskflow::gui::proxy::QSettingsProxy;
Q_OBJECT
@@ -71,4 +71,4 @@ private:
std::shared_ptr m_pSystemSettingsProxy;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/config/ElevateMode.h b/src/lib/gui/config/ElevateMode.h
index 49dbe82ed..3ec6a34b6 100644
--- a/src/lib/gui/config/ElevateMode.h
+++ b/src/lib/gui/config/ElevateMode.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless
*
* This package is free software; you can redistribute it and/or
@@ -20,11 +20,11 @@
/**
* @brief The elevate mode tristate determines two behaviors on Windows.
*
- * The first, switch-on-desk-switch (SodS), passed through synergyd as a
- * command line argument to synergy core, determines if the server restarts
+ * The first, switch-on-desk-switch (SodS), passed through deskflowd as a
+ * command line argument to deskflow core, determines if the server restarts
* when switching Windows desktops (e.g. when Windows UAC dialog pops up).
- * The second, passed as a boolean flag to Synergyd over the IPC inside
- * IpcMessageType::CommandMessage, determines whether Synergy should be started
+ * The second, passed as a boolean flag to Deskflowd over the IPC inside
+ * IpcMessageType::CommandMessage, determines whether Deskflow should be started
* with elevated privileges.
*
* The matrix for these two behaviors is as follows:
diff --git a/src/lib/gui/config/IAppConfig.h b/src/lib/gui/config/IAppConfig.h
index c973fa1ed..8a6efbdf0 100644
--- a/src/lib/gui/config/IAppConfig.h
+++ b/src/lib/gui/config/IAppConfig.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -23,12 +23,12 @@
#include
-namespace synergy::gui {
+namespace deskflow::gui {
enum class ProcessMode { kService, kDesktop };
class IAppConfig {
- using IConfigScopes = synergy::gui::IConfigScopes;
+ using IConfigScopes = deskflow::gui::IConfigScopes;
public:
virtual ~IAppConfig() = default;
@@ -92,4 +92,4 @@ public:
virtual void setInvertConnection(bool invertConnection) = 0;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/config/IConfigScopes.h b/src/lib/gui/config/IConfigScopes.h
index e52c3911b..3243810b4 100644
--- a/src/lib/gui/config/IConfigScopes.h
+++ b/src/lib/gui/config/IConfigScopes.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -23,10 +23,10 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
class IConfigScopes {
- using QSettingsProxy = synergy::gui::proxy::QSettingsProxy;
+ using QSettingsProxy = deskflow::gui::proxy::QSettingsProxy;
public:
enum class Scope { Current, System, User };
@@ -75,4 +75,4 @@ public:
Scope scope = Scope::Current) = 0;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/config/IServerConfig.h b/src/lib/gui/config/IServerConfig.h
index 1114c97d3..12c6ff605 100644
--- a/src/lib/gui/config/IServerConfig.h
+++ b/src/lib/gui/config/IServerConfig.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
#include "ScreenList.h"
-namespace synergy::gui {
+namespace deskflow::gui {
class IServerConfig {
public:
@@ -35,4 +35,4 @@ public:
virtual const ScreenList &screens() const = 0;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/config/Screen.cpp b/src/lib/gui/config/Screen.cpp
index 1ebde0ad3..b6290b067 100644
--- a/src/lib/gui/config/Screen.cpp
+++ b/src/lib/gui/config/Screen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -22,7 +22,7 @@
#include
#include
-using namespace synergy::gui::proxy;
+using namespace deskflow::gui::proxy;
using enum ScreenConfig::Modifier;
using enum ScreenConfig::SwitchCorner;
using enum ScreenConfig::Fix;
diff --git a/src/lib/gui/config/Screen.h b/src/lib/gui/config/Screen.h
index eee8e7fda..241fa1fd7 100644
--- a/src/lib/gui/config/Screen.h
+++ b/src/lib/gui/config/Screen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -32,7 +32,7 @@ class QTextStream;
class ScreenSettingsDialog;
class Screen : public ScreenConfig {
- using QSettingsProxy = synergy::gui::proxy::QSettingsProxy;
+ using QSettingsProxy = deskflow::gui::proxy::QSettingsProxy;
friend class ScreenSettingsDialog;
friend class ScreenSetupModel;
diff --git a/src/lib/gui/config/ScreenConfig.cpp b/src/lib/gui/config/ScreenConfig.cpp
index 697b70ba7..1b97785ce 100644
--- a/src/lib/gui/config/ScreenConfig.cpp
+++ b/src/lib/gui/config/ScreenConfig.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/lib/gui/config/ScreenConfig.h b/src/lib/gui/config/ScreenConfig.h
index c4e5aa5f8..1214778f1 100644
--- a/src/lib/gui/config/ScreenConfig.h
+++ b/src/lib/gui/config/ScreenConfig.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -25,7 +25,7 @@
/// @brief Screen configuration base class
class ScreenConfig {
- using QSettingsProxy = synergy::gui::proxy::QSettingsProxy;
+ using QSettingsProxy = deskflow::gui::proxy::QSettingsProxy;
public:
enum class Modifier {
diff --git a/src/lib/gui/config/ScreenList.cpp b/src/lib/gui/config/ScreenList.cpp
index c06624ebb..b5d489238 100644
--- a/src/lib/gui/config/ScreenList.cpp
+++ b/src/lib/gui/config/ScreenList.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2021 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/lib/gui/config/ScreenList.h b/src/lib/gui/config/ScreenList.h
index c8bd89fcc..a99abf665 100644
--- a/src/lib/gui/config/ScreenList.h
+++ b/src/lib/gui/config/ScreenList.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/config/ServerConfigDialogState.h b/src/lib/gui/config/ServerConfigDialogState.h
index 39dfd57f0..43a23f46d 100644
--- a/src/lib/gui/config/ServerConfigDialogState.h
+++ b/src/lib/gui/config/ServerConfigDialogState.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
#pragma once
-namespace synergy::gui::config {
+namespace deskflow::gui::config {
/**
* @brief Represents the state of the server config dialog.
@@ -35,4 +35,4 @@ private:
bool m_isVisible = false;
};
-} // namespace synergy::gui::config
+} // namespace deskflow::gui::config
diff --git a/src/lib/gui/constants.h b/src/lib/gui/constants.h
index ae230f039..ef899aabc 100644
--- a/src/lib/gui/constants.h
+++ b/src/lib/gui/constants.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include
-namespace synergy::gui {
+namespace deskflow::gui {
// important: this is used for settings paths on some platforms,
// and must not be a url. qt automatically converts this to reverse domain
@@ -47,10 +47,10 @@ const auto kUrlDownload =
QString("%1/download?%2").arg(kUrlProduct, kUrlSourceQuery);
const auto kUrlBugReport = QString("%1/issues").arg(kUrlGitHub);
-#ifdef SYNERGY_PRODUCT_NAME
-const QString kProductName = SYNERGY_PRODUCT_NAME;
+#ifdef DESKFLOW_PRODUCT_NAME
+const QString kProductName = DESKFLOW_PRODUCT_NAME;
#else
const QString kProductName;
#endif
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/ClientConnection.cpp b/src/lib/gui/core/ClientConnection.cpp
index 942bb93f7..eeb5ef963 100644
--- a/src/lib/gui/core/ClientConnection.cpp
+++ b/src/lib/gui/core/ClientConnection.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
//
// ClientConnection::Deps
@@ -82,4 +82,4 @@ void ClientConnection::showMessage(const QString &logLine) {
}
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/ClientConnection.h b/src/lib/gui/core/ClientConnection.h
index 8b7d31946..e51ca8907 100644
--- a/src/lib/gui/core/ClientConnection.h
+++ b/src/lib/gui/core/ClientConnection.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -28,7 +28,7 @@
class QWidget;
-namespace synergy::gui {
+namespace deskflow::gui {
class ClientConnection : public QObject {
Q_OBJECT
@@ -63,4 +63,4 @@ private:
bool m_showMessage = true;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/CommandProcess.cpp b/src/lib/gui/core/CommandProcess.cpp
index 83828eab7..0b125306d 100644
--- a/src/lib/gui/core/CommandProcess.cpp
+++ b/src/lib/gui/core/CommandProcess.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/core/CommandProcess.h b/src/lib/gui/core/CommandProcess.h
index bf0c9b2c8..ee047081d 100644
--- a/src/lib/gui/core/CommandProcess.h
+++ b/src/lib/gui/core/CommandProcess.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/core/CoreProcess.cpp b/src/lib/gui/core/CoreProcess.cpp
index a2a2d057c..3e5e29523 100644
--- a/src/lib/gui/core/CoreProcess.cpp
+++ b/src/lib/gui/core/CoreProcess.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -37,13 +37,13 @@
#include
#include
-using namespace synergy::license;
-using namespace synergy::gui::license;
+using namespace deskflow::license;
+using namespace deskflow::gui::license;
-namespace synergy::gui {
+namespace deskflow::gui {
const int kRetryDelay = 1000;
-const auto kServerConfigFilename = "synergy-server.conf";
+const auto kServerConfigFilename = "deskflow-server.conf";
const auto kLineSplitRegex = QRegularExpression("\r|\n|\r\n");
//
@@ -499,9 +499,9 @@ bool CoreProcess::addGenericArgs(
// is switched; this is because we may need to elevate or not
// based on which desk the user is in (login always needs
// elevation, where as default desk does not).
- // Note that this is only enabled when synergy is set to elevate
+ // Note that this is only enabled when deskflow is set to elevate
// 'as needed' (e.g. on a UAC dialog popup) in order to prevent
- // unnecessary restarts when synergy was started elevated or
+ // unnecessary restarts when deskflow was started elevated or
// when it is not allowed to elevate. In these cases restarting
// the server is fruitless.
if (m_appConfig.elevateMode() == ElevateMode::kAutomatic) {
@@ -709,8 +709,8 @@ void CoreProcess::checkLogLine(const QString &line) {
checkSecureSocket(line);
- // subprocess (synergys, synergyc) is not allowed to show notifications
- // process the log from it and show notification from synergy instead
+ // subprocess (deskflows, deskflowc) is not allowed to show notifications
+ // process the log from it and show notification from deskflow instead
#ifdef Q_OS_MAC
checkOSXNotification(line);
#endif
@@ -752,4 +752,4 @@ QString CoreProcess::correctedInterface() const {
QString CoreProcess::correctedAddress() const { return wrapIpv6(m_address); }
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/CoreProcess.h b/src/lib/gui/core/CoreProcess.h
index 37695371a..e90c1cf56 100644
--- a/src/lib/gui/core/CoreProcess.h
+++ b/src/lib/gui/core/CoreProcess.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -30,13 +30,13 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
class CoreProcess : public QObject {
- using IServerConfig = synergy::gui::IServerConfig;
- using QProcessProxy = synergy::gui::proxy::QProcessProxy;
- using IQIpcClient = synergy::gui::ipc::IQIpcClient;
- using ILicense = synergy::license::ILicense;
+ using IServerConfig = deskflow::gui::IServerConfig;
+ using QProcessProxy = deskflow::gui::proxy::QProcessProxy;
+ using IQIpcClient = deskflow::gui::ipc::IQIpcClient;
+ using ILicense = deskflow::license::ILicense;
Q_OBJECT
@@ -140,4 +140,4 @@ private:
QTimer m_retryTimer;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/CoreTool.cpp b/src/lib/gui/core/CoreTool.cpp
index 846ddd5f2..5f86001cc 100644
--- a/src/lib/gui/core/CoreTool.cpp
+++ b/src/lib/gui/core/CoreTool.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -24,12 +24,12 @@
#include
#include
-static const char kCoreBinary[] = "syntool";
+static const char kCoreBinary[] = "deskflow-legacy";
#ifdef Q_WS_WIN
-static const char kSerialKeyFilename[] = "Synergy.subkey";
+static const char kSerialKeyFilename[] = "Deskflow.subkey";
#else
-static const char kSerialKeyFilename[] = ".synergy.subkey";
+static const char kSerialKeyFilename[] = ".deskflow.subkey";
#endif
QString CoreTool::getProfileDir() const {
diff --git a/src/lib/gui/core/CoreTool.h b/src/lib/gui/core/CoreTool.h
index d23bc215e..ba1277b6a 100644
--- a/src/lib/gui/core/CoreTool.h
+++ b/src/lib/gui/core/CoreTool.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/core/ServerConnection.cpp b/src/lib/gui/core/ServerConnection.cpp
index 40fc3ee97..0d7b8e59f 100644
--- a/src/lib/gui/core/ServerConnection.cpp
+++ b/src/lib/gui/core/ServerConnection.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
//
// ServerConnection::Deps
@@ -118,4 +118,4 @@ void ServerConnection::handleNewClient(const QString &clientName) {
}
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/ServerConnection.h b/src/lib/gui/core/ServerConnection.h
index e6899389d..da58cd810 100644
--- a/src/lib/gui/core/ServerConnection.h
+++ b/src/lib/gui/core/ServerConnection.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -25,11 +25,11 @@
#include "gui/config/ServerConfigDialogState.h"
#include "gui/messages.h"
-namespace synergy::gui {
+namespace deskflow::gui {
class ServerConnection : public QObject {
Q_OBJECT
- using IServerConfig = synergy::gui::IServerConfig;
+ using IServerConfig = deskflow::gui::IServerConfig;
public:
struct Deps {
@@ -60,4 +60,4 @@ private:
bool m_messageShowing = false;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/ServerMessage.cpp b/src/lib/gui/core/ServerMessage.cpp
index 48e930121..118db30d2 100644
--- a/src/lib/gui/core/ServerMessage.cpp
+++ b/src/lib/gui/core/ServerMessage.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
#include "ServerMessage.h"
-namespace synergy::gui {
+namespace deskflow::gui {
ServerMessage::ServerMessage(const QString &message)
: m_message(message),
@@ -53,4 +53,4 @@ QString ServerMessage::parseClientName(const QString &line) const {
return clientName;
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/ServerMessage.h b/src/lib/gui/core/ServerMessage.h
index 5ced6a079..a5acab033 100644
--- a/src/lib/gui/core/ServerMessage.h
+++ b/src/lib/gui/core/ServerMessage.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include
-namespace synergy::gui {
+namespace deskflow::gui {
class ServerMessage {
QString m_message;
@@ -39,4 +39,4 @@ private:
QString parseClientName(const QString &line) const;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/core/WaylandWarnings.cpp b/src/lib/gui/core/WaylandWarnings.cpp
index dd313d49e..9137d50ce 100644
--- a/src/lib/gui/core/WaylandWarnings.cpp
+++ b/src/lib/gui/core/WaylandWarnings.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,9 +19,9 @@
#include "messages.h"
-using namespace synergy::platform;
+using namespace deskflow::platform;
-namespace synergy::gui::core {
+namespace deskflow::gui::core {
//
// WaylandWarnings::Deps
@@ -62,4 +62,4 @@ void WaylandWarnings::showOnce(
}
}
-} // namespace synergy::gui::core
+} // namespace deskflow::gui::core
diff --git a/src/lib/gui/core/WaylandWarnings.h b/src/lib/gui/core/WaylandWarnings.h
index 473b59410..1aab82810 100644
--- a/src/lib/gui/core/WaylandWarnings.h
+++ b/src/lib/gui/core/WaylandWarnings.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include "CoreProcess.h"
#include "platform/wayland.h"
-namespace synergy::gui::core {
+namespace deskflow::gui::core {
class WaylandWarnings {
public:
@@ -46,4 +46,4 @@ private:
std::shared_ptr m_pDeps;
};
-} // namespace synergy::gui::core
+} // namespace deskflow::gui::core
diff --git a/src/lib/gui/diagnostic.cpp b/src/lib/gui/diagnostic.cpp
index 4dfff7f66..5b1e666f3 100644
--- a/src/lib/gui/diagnostic.cpp
+++ b/src/lib/gui/diagnostic.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
#include
#include
-namespace synergy::gui::diagnostic {
+namespace deskflow::gui::diagnostic {
void restart() {
QString program = QCoreApplication::applicationFilePath();
@@ -64,4 +64,4 @@ void clearSettings(ConfigScopes &scopes, bool enableRestart) {
}
}
-} // namespace synergy::gui::diagnostic
+} // namespace deskflow::gui::diagnostic
diff --git a/src/lib/gui/diagnostic.h b/src/lib/gui/diagnostic.h
index 6ad338f4e..bd0902263 100644
--- a/src/lib/gui/diagnostic.h
+++ b/src/lib/gui/diagnostic.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include "gui/config/ConfigScopes.h"
-namespace synergy::gui::diagnostic {
+namespace deskflow::gui::diagnostic {
void clearSettings(ConfigScopes &scopes, bool enableRestart);
diff --git a/src/lib/gui/dialogs/SettingsDialog.cpp b/src/lib/gui/dialogs/SettingsDialog.cpp
index 59e2c925f..248e271ca 100644
--- a/src/lib/gui/dialogs/SettingsDialog.cpp
+++ b/src/lib/gui/dialogs/SettingsDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -33,10 +33,10 @@
#include
#include
-using namespace synergy::license;
-using namespace synergy::gui;
+using namespace deskflow::license;
+using namespace deskflow::gui;
-const char *const kProProductName = "Synergy 1 Pro";
+const char *const kProProductName = "Deskflow";
SettingsDialog::SettingsDialog(
QWidget *parent, IAppConfig &appConfig, const IServerConfig &serverConfig,
@@ -274,7 +274,7 @@ void SettingsDialog::updateTlsControlsEnabled() {
}
bool SettingsDialog::isClientMode() const {
- return m_coreProcess.mode() == synergy::gui::CoreProcess::Mode::Client;
+ return m_coreProcess.mode() == deskflow::gui::CoreProcess::Mode::Client;
}
void SettingsDialog::updateTlsRegenerateButton() {
diff --git a/src/lib/gui/dialogs/SettingsDialog.h b/src/lib/gui/dialogs/SettingsDialog.h
index 23e090d8e..45979b487 100644
--- a/src/lib/gui/dialogs/SettingsDialog.h
+++ b/src/lib/gui/dialogs/SettingsDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
@@ -31,10 +31,10 @@
#include
class SettingsDialog : public QDialog, public Ui::SettingsDialogBase {
- using IAppConfig = synergy::gui::IAppConfig;
- using IServerConfig = synergy::gui::IServerConfig;
- using CoreProcess = synergy::gui::CoreProcess;
- using License = synergy::license::License;
+ using IAppConfig = deskflow::gui::IAppConfig;
+ using IServerConfig = deskflow::gui::IServerConfig;
+ using CoreProcess = deskflow::gui::CoreProcess;
+ using License = deskflow::license::License;
Q_OBJECT
@@ -90,5 +90,5 @@ private:
const IServerConfig &m_serverConfig;
const License &m_license;
const CoreProcess &m_coreProcess;
- synergy::gui::TlsUtility m_tlsUtility;
+ deskflow::gui::TlsUtility m_tlsUtility;
};
diff --git a/src/lib/gui/dialogs/SettingsDialogBase.ui b/src/lib/gui/dialogs/SettingsDialogBase.ui
index ecf5a4996..d8108ced8 100644
--- a/src/lib/gui/dialogs/SettingsDialogBase.ui
+++ b/src/lib/gui/dialogs/SettingsDialogBase.ui
@@ -628,7 +628,7 @@
- Specify when the Synergy service should run at an elevated privilege level
+ Specify when the Deskflow service should run at an elevated privilege level
0
diff --git a/src/lib/gui/dialogs/UpgradeDialog.cpp b/src/lib/gui/dialogs/UpgradeDialog.cpp
index 1c69255b2..ea0f7bf6a 100644
--- a/src/lib/gui/dialogs/UpgradeDialog.cpp
+++ b/src/lib/gui/dialogs/UpgradeDialog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -33,7 +33,7 @@ void UpgradeDialog::showDialog(const QString &text) {
exec();
if (clickedButton() == m_upgrade) {
- const auto url = QUrl(synergy::gui::kUrlUpgrade);
+ const auto url = QUrl(deskflow::gui::kUrlUpgrade);
if (QDesktopServices::openUrl(url)) {
qDebug("opened url: %s", qUtf8Printable(url.toString()));
} else {
diff --git a/src/lib/gui/dialogs/UpgradeDialog.h b/src/lib/gui/dialogs/UpgradeDialog.h
index 4292016e8..d8adcece7 100644
--- a/src/lib/gui/dialogs/UpgradeDialog.h
+++ b/src/lib/gui/dialogs/UpgradeDialog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/dotenv.cpp b/src/lib/gui/dotenv.cpp
index e986509df..7a9aa9286 100644
--- a/src/lib/gui/dotenv.cpp
+++ b/src/lib/gui/dotenv.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
QPair getPair(const QString &line);
@@ -114,4 +114,4 @@ QPair getPair(const QString &line) {
return QPair(key.trimmed(), stripQuotes(value.trimmed()));
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/dotenv.h b/src/lib/gui/dotenv.h
index b55a30295..7984b2cba 100644
--- a/src/lib/gui/dotenv.h
+++ b/src/lib/gui/dotenv.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include
-namespace synergy::gui {
+namespace deskflow::gui {
const QString kDefaultEnvFilename = ".env";
@@ -30,4 +30,4 @@ const QString kDefaultEnvFilename = ".env";
*/
void dotenv(const QString &filename = kDefaultEnvFilename);
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/ipc/IQIpcClient.cpp b/src/lib/gui/ipc/IQIpcClient.cpp
index 26f4aa38b..bf1b3e0b9 100644
--- a/src/lib/gui/ipc/IQIpcClient.cpp
+++ b/src/lib/gui/ipc/IQIpcClient.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/ipc/IQIpcClient.h b/src/lib/gui/ipc/IQIpcClient.h
index e2bed875e..e9c0b1eac 100644
--- a/src/lib/gui/ipc/IQIpcClient.h
+++ b/src/lib/gui/ipc/IQIpcClient.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
#include "gui/config/ElevateMode.h"
-namespace synergy::gui::ipc {
+namespace deskflow::gui::ipc {
class IQIpcClient : public QObject {
Q_OBJECT
@@ -40,4 +40,4 @@ signals:
void serviceReady();
};
-} // namespace synergy::gui::ipc
+} // namespace deskflow::gui::ipc
diff --git a/src/lib/gui/ipc/IpcReader.cpp b/src/lib/gui/ipc/IpcReader.cpp
index f1f7018f9..e1b1ec343 100644
--- a/src/lib/gui/ipc/IpcReader.cpp
+++ b/src/lib/gui/ipc/IpcReader.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
#include
#include
-using namespace synergy::gui;
+using namespace deskflow::gui;
IpcReader::IpcReader(QTcpSocket *socket) : m_Socket(socket) {}
diff --git a/src/lib/gui/ipc/IpcReader.h b/src/lib/gui/ipc/IpcReader.h
index dd68725d9..7ec4ed344 100644
--- a/src/lib/gui/ipc/IpcReader.h
+++ b/src/lib/gui/ipc/IpcReader.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/ipc/QDataStreamProxy.h b/src/lib/gui/ipc/QDataStreamProxy.h
index 25a4b4258..3004ef619 100644
--- a/src/lib/gui/ipc/QDataStreamProxy.h
+++ b/src/lib/gui/ipc/QDataStreamProxy.h
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2024 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
diff --git a/src/lib/gui/ipc/QIpcClient.cpp b/src/lib/gui/ipc/QIpcClient.cpp
index c7665aa31..8b05e7e45 100644
--- a/src/lib/gui/ipc/QIpcClient.cpp
+++ b/src/lib/gui/ipc/QIpcClient.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@
const auto kRetryInterval = 1000;
const auto kConnectTimeout = 5000;
-using namespace synergy::gui;
+using namespace deskflow::gui;
QIpcClient::QIpcClient(const StreamProvider &streamProvider)
: m_streamProvider(streamProvider) {
diff --git a/src/lib/gui/ipc/QIpcClient.h b/src/lib/gui/ipc/QIpcClient.h
index d8b5bb6be..8268edebe 100644
--- a/src/lib/gui/ipc/QIpcClient.h
+++ b/src/lib/gui/ipc/QIpcClient.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -30,7 +30,7 @@
class IpcReader;
-class QIpcClient : public synergy::gui::ipc::IQIpcClient {
+class QIpcClient : public deskflow::gui::ipc::IQIpcClient {
Q_OBJECT
public:
diff --git a/src/lib/gui/license/LicenseHandler.cpp b/src/lib/gui/license/LicenseHandler.cpp
index f1fe2df9b..b2248fd6f 100644
--- a/src/lib/gui/license/LicenseHandler.cpp
+++ b/src/lib/gui/license/LicenseHandler.cpp
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2015 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -27,10 +27,10 @@
#include
using namespace std::chrono;
-using namespace synergy::gui::license;
-using License = synergy::license::License;
+using namespace deskflow::gui::license;
+using License = deskflow::license::License;
-const synergy::license::License &LicenseHandler::license() const {
+const deskflow::license::License &LicenseHandler::license() const {
return m_license;
}
diff --git a/src/lib/gui/license/LicenseHandler.h b/src/lib/gui/license/LicenseHandler.h
index f68468069..0b8cbceef 100644
--- a/src/lib/gui/license/LicenseHandler.h
+++ b/src/lib/gui/license/LicenseHandler.h
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2015 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -29,8 +29,8 @@
*/
class LicenseHandler : public QObject {
Q_OBJECT
- using License = synergy::license::License;
- using SerialKey = synergy::license::SerialKey;
+ using License = deskflow::license::License;
+ using SerialKey = deskflow::license::SerialKey;
public:
enum class ChangeSerialKeyResult {
@@ -53,6 +53,6 @@ signals:
void invalidLicense() const;
private:
- bool m_enabled = synergy::gui::license::isActivationEnabled();
+ bool m_enabled = deskflow::gui::license::isActivationEnabled();
License m_license = License::invalid();
};
diff --git a/src/lib/gui/license/license_notices.cpp b/src/lib/gui/license/license_notices.cpp
index c3b127f4f..e5f496835 100644
--- a/src/lib/gui/license/license_notices.cpp
+++ b/src/lib/gui/license/license_notices.cpp
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2024 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -21,9 +21,9 @@
#include "license/License.h"
#include "styles.h"
-using License = synergy::license::License;
+using License = deskflow::license::License;
-namespace synergy::gui {
+namespace deskflow::gui {
QString trialLicenseNotice(const License &license);
QString subscriptionLicenseNotice(const License &license);
@@ -74,4 +74,4 @@ QString subscriptionLicenseNotice(const License &license) {
}
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/license/license_notices.h b/src/lib/gui/license/license_notices.h
index 153623b0e..3edc8aea6 100644
--- a/src/lib/gui/license/license_notices.h
+++ b/src/lib/gui/license/license_notices.h
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2024 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -21,8 +21,8 @@
#include
-namespace synergy::gui {
+namespace deskflow::gui {
-QString licenseNotice(const synergy::license::License &license);
+QString licenseNotice(const deskflow::license::License &license);
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/license/license_utils.cpp b/src/lib/gui/license/license_utils.cpp
index c1747a1cb..75a6fb950 100644
--- a/src/lib/gui/license/license_utils.cpp
+++ b/src/lib/gui/license/license_utils.cpp
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2024 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -23,25 +23,25 @@
#include
#include
-namespace synergy::gui::license {
+namespace deskflow::gui::license {
-#ifdef SYNERGY_LICENSED_PRODUCT
+#ifdef DESKFLOW_LICENSED_PRODUCT
const bool kLicensedProduct = true;
#else
const bool kLicensedProduct = false;
#endif
-#ifdef SYNERGY_ENABLE_ACTIVATION
-#ifndef SYNERGY_LICENSED_PRODUCT
+#ifdef DESKFLOW_ENABLE_ACTIVATION
+#ifndef DESKFLOW_LICENSED_PRODUCT
#error "activation requires licensed product"
#endif
const bool kEnableActivation = true;
#else
const bool kEnableActivation = false;
-#endif // SYNERGY_ENABLE_ACTIVATION
+#endif // DESKFLOW_ENABLE_ACTIVATION
bool isLicensedProduct() {
- if (strToTrue(qEnvironmentVariable("SYNERGY_LICENSED_PRODUCT"))) {
+ if (strToTrue(qEnvironmentVariable("DESKFLOW_LICENSED_PRODUCT"))) {
return true;
} else {
return kLicensedProduct;
@@ -49,16 +49,16 @@ bool isLicensedProduct() {
}
bool isActivationEnabled() {
- if (strToTrue(qEnvironmentVariable("SYNERGY_ENABLE_ACTIVATION"))) {
+ if (strToTrue(qEnvironmentVariable("DESKFLOW_ENABLE_ACTIVATION"))) {
return true;
} else {
return kEnableActivation;
}
}
-synergy::license::SerialKey parseSerialKey(const QString &hexString) {
+deskflow::license::SerialKey parseSerialKey(const QString &hexString) {
try {
- return synergy::license::parseSerialKey(hexString.toStdString());
+ return deskflow::license::parseSerialKey(hexString.toStdString());
} catch (const std::exception &e) {
qFatal("failed to parse serial key: %s", e.what());
abort();
@@ -68,4 +68,4 @@ synergy::license::SerialKey parseSerialKey(const QString &hexString) {
}
}
-} // namespace synergy::gui::license
+} // namespace deskflow::gui::license
diff --git a/src/lib/gui/license/license_utils.h b/src/lib/gui/license/license_utils.h
index 40a76babe..a9bcc5cdc 100644
--- a/src/lib/gui/license/license_utils.h
+++ b/src/lib/gui/license/license_utils.h
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2024 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -21,10 +21,10 @@
#include "license/SerialKey.h"
-namespace synergy::gui::license {
+namespace deskflow::gui::license {
bool isLicensedProduct();
bool isActivationEnabled();
-synergy::license::SerialKey parseSerialKey(const QString &hexString);
+deskflow::license::SerialKey parseSerialKey(const QString &hexString);
-} // namespace synergy::gui::license
+} // namespace deskflow::gui::license
diff --git a/src/lib/gui/messages.cpp b/src/lib/gui/messages.cpp
index 18938f430..97f05790b 100644
--- a/src/lib/gui/messages.cpp
+++ b/src/lib/gui/messages.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -31,9 +31,9 @@
#include
#include
-using namespace synergy::gui::license;
+using namespace deskflow::gui::license;
-namespace synergy::gui::messages {
+namespace deskflow::gui::messages {
struct Errors {
static std::unique_ptr s_criticalMessage;
@@ -72,7 +72,7 @@ void showErrorDialog(
.arg(kUrlBugReport, kColorSecondary);
}
- const QString version = QString::fromStdString(synergy::version());
+ const QString version = QString::fromStdString(deskflow::version());
text += QString("v%1\n%2\n%3
").arg(version, message, fileLine);
if (type == QtFatalMsg) {
@@ -138,8 +138,8 @@ void messageHandler(
void showCloseReminder(QWidget *parent) {
QString message =
- "Synergy will continue to run in the background and can be accessed "
- "via the Synergy icon in your system notifications area. This setting "
+ "
Deskflow will continue to run in the background and can be accessed "
+ "via the Deskflow icon in your system notifications area. This setting "
"can be disabled.
";
#if defined(Q_OS_LINUX)
@@ -147,7 +147,7 @@ void showCloseReminder(QWidget *parent) {
"notification area might be disabled. "
"You may need to "
R"(enable an extension)"
- " to see the Synergy tray icon.
")
+ " to see the Deskflow tray icon.")
.arg(kUrlGnomeTrayFix, kStyleLink);
#endif
@@ -166,7 +166,7 @@ void showFirstServerStartMessage(QWidget *parent) {
void showFirstConnectedMessage(
QWidget *parent, bool closeToTray, bool enableService, bool isServer) {
- auto message = QString("Synergy is now connected!
");
+ auto message = QString("Deskflow is now connected!
");
if (isServer) {
message +=
@@ -179,12 +179,12 @@ void showFirstConnectedMessage(
if (!closeToTray && !enableService) {
message +=
- "As you do not have the setting enabled to keep Synergy running in "
+ "
As you do not have the setting enabled to keep Deskflow running in "
"the background, you'll need to keep this window open or minimized to "
- "keep Synergy running.
";
+ "keep Deskflow running.";
} else {
message +=
- "You can now close this window and Synergy will continue to run in "
+ "
You can now close this window and Deskflow will continue to run in "
"the background. This setting can be disabled.
";
}
@@ -272,7 +272,7 @@ bool showClearSettings(QWidget *parent) {
const auto clear =
message.addButton(QObject::tr("Clear settings"), QMessageBox::AcceptRole);
message.setText(
- "Are you sure you want to clear all settings and restart Synergy?
"
+ "Are you sure you want to clear all settings and restart Deskflow?
"
"This action cannot be undone.
");
message.exec();
@@ -303,7 +303,7 @@ void showWaylandLibraryError(QWidget *parent) {
QMessageBox::critical(
parent, "Library problem",
QString(
- "Sorry, while this version of Synergy does support Wayland, "
+ "
Sorry, while this version of Deskflow does support Wayland, "
"this build was not linked with one or more of the required "
"libraries.
"
"Please either switch to X from your login screen or use a build "
@@ -314,4 +314,4 @@ void showWaylandLibraryError(QWidget *parent) {
.arg(kUrlBugReport, kColorSecondary));
}
-} // namespace synergy::gui::messages
+} // namespace deskflow::gui::messages
diff --git a/src/lib/gui/messages.h b/src/lib/gui/messages.h
index 46aa8b0f5..4fa8d0ae1 100644
--- a/src/lib/gui/messages.h
+++ b/src/lib/gui/messages.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
class QWidget;
-namespace synergy::gui::messages {
+namespace deskflow::gui::messages {
enum class ClientError { AlreadyConnected, HostnameError, GenericError };
@@ -56,4 +56,4 @@ void showWaylandExperimental(QWidget *parent);
void showWaylandLibraryError(QWidget *parent);
-} // namespace synergy::gui::messages
+} // namespace deskflow::gui::messages
diff --git a/src/lib/gui/paths.h b/src/lib/gui/paths.h
index 796ba7eca..73612d201 100644
--- a/src/lib/gui/paths.h
+++ b/src/lib/gui/paths.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -23,10 +23,10 @@
#include
#include
-const auto kCertificateFilename = "Synergy.pem";
+const auto kCertificateFilename = "Deskflow.pem";
const auto kSslDir = "SSL";
-namespace synergy::gui::paths {
+namespace deskflow::gui::paths {
/**
* @brief Gets the org config dir (parent of app config dir).
@@ -64,4 +64,4 @@ inline QString defaultTlsCertPath() {
return sslDirPath.filePath(kCertificateFilename);
}
-} // namespace synergy::gui::paths
+} // namespace deskflow::gui::paths
diff --git a/src/lib/gui/proxy/QProcessProxy.cpp b/src/lib/gui/proxy/QProcessProxy.cpp
index 339e6055d..e99da4c7d 100644
--- a/src/lib/gui/proxy/QProcessProxy.cpp
+++ b/src/lib/gui/proxy/QProcessProxy.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
#include "QProcessProxy.h"
-namespace synergy::gui::proxy {
+namespace deskflow::gui::proxy {
void QProcessProxy::create() {
m_pProcess = std::make_unique();
@@ -60,4 +60,4 @@ QString QProcessProxy::readAllStandardError() {
return m_pProcess->readAllStandardError();
}
-} // namespace synergy::gui::proxy
+} // namespace deskflow::gui::proxy
diff --git a/src/lib/gui/proxy/QProcessProxy.h b/src/lib/gui/proxy/QProcessProxy.h
index cb556b25b..8ef1170e5 100644
--- a/src/lib/gui/proxy/QProcessProxy.h
+++ b/src/lib/gui/proxy/QProcessProxy.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -20,7 +20,7 @@
#include
#include
-namespace synergy::gui::proxy {
+namespace deskflow::gui::proxy {
class QProcessProxy : public QObject {
Q_OBJECT
@@ -45,4 +45,4 @@ private:
std::unique_ptr m_pProcess;
};
-} // namespace synergy::gui::proxy
+} // namespace deskflow::gui::proxy
diff --git a/src/lib/gui/proxy/QSettingsProxy.cpp b/src/lib/gui/proxy/QSettingsProxy.cpp
index f580f2f99..3fe3d580d 100644
--- a/src/lib/gui/proxy/QSettingsProxy.cpp
+++ b/src/lib/gui/proxy/QSettingsProxy.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
#include
#include
-namespace synergy::gui::proxy {
+namespace deskflow::gui::proxy {
const auto kLegacyOrgDomain = "http-symless-com";
const auto kLegacySystemConfigFilename = "SystemConfig.ini";
@@ -43,7 +43,7 @@ const auto kUnixSystemConfigPath = "/usr/local/etc/";
* @brief The base dir for the system settings file.
*
* Important: Qt will append the org name as a dir, and the app name as the
- * settings filename, i.e.: `{base-dir}/Synergy/Synergy.ini`
+ * settings filename, i.e.: `{base-dir}/Deskflow/Deskflow.ini`
*/
QString getSystemSettingsBaseDir() {
#if defined(Q_OS_WIN)
@@ -129,7 +129,7 @@ void QSettingsProxy::loadUser() {
m_pSettings = std::make_unique();
#if defined(Q_OS_MAC)
- // on mac, we used to save settings to "com.http-symless-com.Synergy.plist"
+ // on mac, we used to save settings to "com.http-symless-com.Deskflow.plist"
// because `setOrganizationName` was historically called using a url instead
// of an actual domain (e.g. symless.com).
migrateLegacyUserSettings(*m_pSettings);
@@ -205,4 +205,4 @@ bool QSettingsProxy::contains(const QString &key) const {
return m_pSettings->contains(key);
}
-} // namespace synergy::gui::proxy
+} // namespace deskflow::gui::proxy
diff --git a/src/lib/gui/proxy/QSettingsProxy.h b/src/lib/gui/proxy/QSettingsProxy.h
index bd965cc84..e59060551 100644
--- a/src/lib/gui/proxy/QSettingsProxy.h
+++ b/src/lib/gui/proxy/QSettingsProxy.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include
-namespace synergy::gui::proxy {
+namespace deskflow::gui::proxy {
QString getSystemSettingBaseDir();
@@ -52,4 +52,4 @@ private:
std::unique_ptr m_pSettings;
};
-} // namespace synergy::gui::proxy
+} // namespace deskflow::gui::proxy
diff --git a/src/lib/gui/string_utils.h b/src/lib/gui/string_utils.h
index a75a36852..5d6d52e77 100644
--- a/src/lib/gui/string_utils.h
+++ b/src/lib/gui/string_utils.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/style_utils.h b/src/lib/gui/style_utils.h
index 2c2b2441b..4d9c5407c 100644
--- a/src/lib/gui/style_utils.h
+++ b/src/lib/gui/style_utils.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include
#include
-namespace synergy::gui {
+namespace deskflow::gui {
/**
* @brief Detects dark mode depending on Qt version.
@@ -39,4 +39,4 @@ inline bool isDarkMode() {
#endif // QT_VERSION
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/styles.h b/src/lib/gui/styles.h
index 7bd5e9339..27c610acf 100644
--- a/src/lib/gui/styles.h
+++ b/src/lib/gui/styles.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include
-namespace synergy::gui {
+namespace deskflow::gui {
const auto kColorWhite = "#ffffff";
const auto kColorPrimary = "#ff7c00";
@@ -50,4 +50,4 @@ const auto kStyleNoticeLabel = //
"background-color: %1; color: %2")
.arg(kColorNotice, kColorWhite);
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/tls/TlsCertificate.cpp b/src/lib/gui/tls/TlsCertificate.cpp
index fe14b528d..676add1eb 100644
--- a/src/lib/gui/tls/TlsCertificate.cpp
+++ b/src/lib/gui/tls/TlsCertificate.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -27,21 +27,21 @@
static const char *const kCertificateKeyLength = "rsa:";
static const char *const kCertificateHashAlgorithm = "-sha256";
static const char *const kCertificateLifetime = "365";
-static const char *const kCertificateSubjectInfo = "/CN=Synergy";
+static const char *const kCertificateSubjectInfo = "/CN=Deskflow";
#if defined(Q_OS_WIN)
static const char *const kWinOpenSslDir = "OpenSSL";
static const char *const kWinOpenSslBinary = "openssl.exe";
-static const char *const kConfigFile = "synergy.conf";
+static const char *const kConfigFile = "deskflow.conf";
#elif defined(Q_OS_UNIX)
static const char *const kUnixOpenSslCommand = "openssl";
#endif
-using namespace synergy::gui;
+using namespace deskflow::gui;
#if defined(Q_OS_WIN)
-namespace synergy::gui {
+namespace deskflow::gui {
QString openSslWindowsDir() {
@@ -81,9 +81,9 @@ QString openSslWindowsBinary() {
return path;
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
-using namespace synergy::gui;
+using namespace deskflow::gui;
#endif
diff --git a/src/lib/gui/tls/TlsCertificate.h b/src/lib/gui/tls/TlsCertificate.h
index 86823d5a0..27a0913c5 100644
--- a/src/lib/gui/tls/TlsCertificate.h
+++ b/src/lib/gui/tls/TlsCertificate.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/tls/TlsFingerprint.cpp b/src/lib/gui/tls/TlsFingerprint.cpp
index 19ce8c603..f306efab6 100644
--- a/src/lib/gui/tls/TlsFingerprint.cpp
+++ b/src/lib/gui/tls/TlsFingerprint.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/tls/TlsFingerprint.h b/src/lib/gui/tls/TlsFingerprint.h
index 7123b2fc4..6ca294966 100644
--- a/src/lib/gui/tls/TlsFingerprint.h
+++ b/src/lib/gui/tls/TlsFingerprint.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/tls/TlsUtility.cpp b/src/lib/gui/tls/TlsUtility.cpp
index 53e020fef..e21031564 100644
--- a/src/lib/gui/tls/TlsUtility.cpp
+++ b/src/lib/gui/tls/TlsUtility.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -23,10 +23,10 @@
#include
#include
-using namespace synergy::license;
-using namespace synergy::gui::license;
+using namespace deskflow::license;
+using namespace deskflow::gui::license;
-namespace synergy::gui {
+namespace deskflow::gui {
TlsUtility::TlsUtility(const IAppConfig &appConfig, const ILicense &license)
: m_appConfig(appConfig),
@@ -67,4 +67,4 @@ bool TlsUtility::persistCertificate() {
return generateCertificate();
}
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/tls/TlsUtility.h b/src/lib/gui/tls/TlsUtility.h
index 3192fcf61..202a87939 100644
--- a/src/lib/gui/tls/TlsUtility.h
+++ b/src/lib/gui/tls/TlsUtility.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -24,10 +24,10 @@
#include
-namespace synergy::gui {
+namespace deskflow::gui {
class TlsUtility : public QObject {
- using ILicense = synergy::license::ILicense;
+ using ILicense = deskflow::license::ILicense;
Q_OBJECT
public:
@@ -56,4 +56,4 @@ private:
TlsCertificate m_certificate;
};
-} // namespace synergy::gui
+} // namespace deskflow::gui
diff --git a/src/lib/gui/validators/AliasValidator.cpp b/src/lib/gui/validators/AliasValidator.cpp
index 62834e91f..1193e08a8 100644
--- a/src/lib/gui/validators/AliasValidator.cpp
+++ b/src/lib/gui/validators/AliasValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/AliasValidator.h b/src/lib/gui/validators/AliasValidator.h
index 36fc0f327..c7323ba00 100644
--- a/src/lib/gui/validators/AliasValidator.h
+++ b/src/lib/gui/validators/AliasValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/ComputerNameValidator.cpp b/src/lib/gui/validators/ComputerNameValidator.cpp
index 15ab4d292..92a3a594b 100644
--- a/src/lib/gui/validators/ComputerNameValidator.cpp
+++ b/src/lib/gui/validators/ComputerNameValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/ComputerNameValidator.h b/src/lib/gui/validators/ComputerNameValidator.h
index 3ddea8e54..6f38fc11a 100644
--- a/src/lib/gui/validators/ComputerNameValidator.h
+++ b/src/lib/gui/validators/ComputerNameValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/EmptyStringValidator.cpp b/src/lib/gui/validators/EmptyStringValidator.cpp
index bb43ae9b9..c84fbeea2 100644
--- a/src/lib/gui/validators/EmptyStringValidator.cpp
+++ b/src/lib/gui/validators/EmptyStringValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/EmptyStringValidator.h b/src/lib/gui/validators/EmptyStringValidator.h
index cd44ff202..238588e36 100644
--- a/src/lib/gui/validators/EmptyStringValidator.h
+++ b/src/lib/gui/validators/EmptyStringValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/IStringValidator.cpp b/src/lib/gui/validators/IStringValidator.cpp
index 32f65e8bf..d98051fa7 100644
--- a/src/lib/gui/validators/IStringValidator.cpp
+++ b/src/lib/gui/validators/IStringValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/IStringValidator.h b/src/lib/gui/validators/IStringValidator.h
index 2275dcd9d..3f35833ab 100644
--- a/src/lib/gui/validators/IStringValidator.h
+++ b/src/lib/gui/validators/IStringValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/LineEditValidator.cpp b/src/lib/gui/validators/LineEditValidator.cpp
index e52b46cbd..c8cf69eba 100644
--- a/src/lib/gui/validators/LineEditValidator.cpp
+++ b/src/lib/gui/validators/LineEditValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include
-using namespace synergy::gui;
+using namespace deskflow::gui;
namespace validators {
diff --git a/src/lib/gui/validators/LineEditValidator.h b/src/lib/gui/validators/LineEditValidator.h
index 9e07b2d97..4d4c999bb 100644
--- a/src/lib/gui/validators/LineEditValidator.h
+++ b/src/lib/gui/validators/LineEditValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/ScreenDuplicationsValidator.cpp b/src/lib/gui/validators/ScreenDuplicationsValidator.cpp
index 168b33518..67d0ec350 100644
--- a/src/lib/gui/validators/ScreenDuplicationsValidator.cpp
+++ b/src/lib/gui/validators/ScreenDuplicationsValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/ScreenDuplicationsValidator.h b/src/lib/gui/validators/ScreenDuplicationsValidator.h
index d54ce635d..e3d1867c6 100644
--- a/src/lib/gui/validators/ScreenDuplicationsValidator.h
+++ b/src/lib/gui/validators/ScreenDuplicationsValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/ScreenNameValidator.cpp b/src/lib/gui/validators/ScreenNameValidator.cpp
index 51c4f49a1..402a1c88d 100644
--- a/src/lib/gui/validators/ScreenNameValidator.cpp
+++ b/src/lib/gui/validators/ScreenNameValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/ScreenNameValidator.h b/src/lib/gui/validators/ScreenNameValidator.h
index 0caffc77d..a0859aed0 100644
--- a/src/lib/gui/validators/ScreenNameValidator.h
+++ b/src/lib/gui/validators/ScreenNameValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/SpacesValidator.cpp b/src/lib/gui/validators/SpacesValidator.cpp
index c7d496fe0..080e113f1 100644
--- a/src/lib/gui/validators/SpacesValidator.cpp
+++ b/src/lib/gui/validators/SpacesValidator.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/SpacesValidator.h b/src/lib/gui/validators/SpacesValidator.h
index 57190a63c..ca3213141 100644
--- a/src/lib/gui/validators/SpacesValidator.h
+++ b/src/lib/gui/validators/SpacesValidator.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/validators/ValidationError.cpp b/src/lib/gui/validators/ValidationError.cpp
index 5381989b0..9f3050dc6 100644
--- a/src/lib/gui/validators/ValidationError.cpp
+++ b/src/lib/gui/validators/ValidationError.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include "gui/styles.h"
-using namespace synergy::gui;
+using namespace deskflow::gui;
namespace validators {
diff --git a/src/lib/gui/validators/ValidationError.h b/src/lib/gui/validators/ValidationError.h
index 198921a04..fd65c04ed 100644
--- a/src/lib/gui/validators/ValidationError.h
+++ b/src/lib/gui/validators/ValidationError.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/gui/widgets/ClientStateLabel.cpp b/src/lib/gui/widgets/ClientStateLabel.cpp
index 611025e12..fc95d2245 100644
--- a/src/lib/gui/widgets/ClientStateLabel.cpp
+++ b/src/lib/gui/widgets/ClientStateLabel.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
#include "ClientStateLabel.h"
-namespace synergy::gui::widgets {
+namespace deskflow::gui::widgets {
ClientStateLabel::ClientStateLabel(QWidget *parent) : QLabel(parent) { hide(); }
@@ -31,4 +31,4 @@ void ClientStateLabel::updateClientState(const QString &line) {
}
}
-} // namespace synergy::gui::widgets
+} // namespace deskflow::gui::widgets
diff --git a/src/lib/gui/widgets/ClientStateLabel.h b/src/lib/gui/widgets/ClientStateLabel.h
index 170e4357c..b8082000d 100644
--- a/src/lib/gui/widgets/ClientStateLabel.h
+++ b/src/lib/gui/widgets/ClientStateLabel.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include
-namespace synergy::gui::widgets {
+namespace deskflow::gui::widgets {
class ClientStateLabel : public QLabel {
public:
@@ -27,4 +27,4 @@ public:
void updateClientState(const QString &line);
};
-} // namespace synergy::gui::widgets
+} // namespace deskflow::gui::widgets
diff --git a/src/lib/gui/widgets/ServerStateLabel.cpp b/src/lib/gui/widgets/ServerStateLabel.cpp
index eebb574d2..4ab2d0729 100644
--- a/src/lib/gui/widgets/ServerStateLabel.cpp
+++ b/src/lib/gui/widgets/ServerStateLabel.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,9 +19,9 @@
#include "gui/core/ServerMessage.h"
-using namespace synergy::gui;
+using namespace deskflow::gui;
-namespace synergy::gui::widgets {
+namespace deskflow::gui::widgets {
ServerStateLabel::ServerStateLabel(QWidget *parent) : QLabel(parent) {}
@@ -50,4 +50,4 @@ void ServerStateLabel::updateServerState(const QString &line) {
}
}
-} // namespace synergy::gui::widgets
+} // namespace deskflow::gui::widgets
diff --git a/src/lib/gui/widgets/ServerStateLabel.h b/src/lib/gui/widgets/ServerStateLabel.h
index 810d48c7f..62bf492b7 100644
--- a/src/lib/gui/widgets/ServerStateLabel.h
+++ b/src/lib/gui/widgets/ServerStateLabel.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2021 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -20,7 +20,7 @@
#include
#include
-namespace synergy::gui::widgets {
+namespace deskflow::gui::widgets {
class ServerStateLabel : public QLabel {
public:
@@ -33,4 +33,4 @@ private:
void updateState();
};
-} // namespace synergy::gui::widgets
+} // namespace deskflow::gui::widgets
diff --git a/src/lib/io/CMakeLists.txt b/src/lib/io/CMakeLists.txt
index 4093a970b..baedab0c6 100644
--- a/src/lib/io/CMakeLists.txt
+++ b/src/lib/io/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
diff --git a/src/lib/io/IStream.h b/src/lib/io/IStream.h
index a5289aa0e..51a303ffd 100644
--- a/src/lib/io/IStream.h
+++ b/src/lib/io/IStream.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -25,7 +25,7 @@
class IEventQueue;
-namespace synergy {
+namespace deskflow {
//! Bidirectional stream interface
/*!
@@ -117,4 +117,4 @@ public:
//@}
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/io/StreamBuffer.cpp b/src/lib/io/StreamBuffer.cpp
index 2ba264e96..88c49360e 100644
--- a/src/lib/io/StreamBuffer.cpp
+++ b/src/lib/io/StreamBuffer.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/io/StreamBuffer.h b/src/lib/io/StreamBuffer.h
index 5d0478d8f..b58722778 100644
--- a/src/lib/io/StreamBuffer.h
+++ b/src/lib/io/StreamBuffer.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/io/StreamFilter.cpp b/src/lib/io/StreamFilter.cpp
index d17860eba..f57690779 100644
--- a/src/lib/io/StreamFilter.cpp
+++ b/src/lib/io/StreamFilter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -25,7 +25,7 @@
//
StreamFilter::StreamFilter(
- IEventQueue *events, synergy::IStream *stream, bool adoptStream)
+ IEventQueue *events, deskflow::IStream *stream, bool adoptStream)
: m_stream(stream),
m_adopted(adoptStream),
m_events(events) {
@@ -68,7 +68,7 @@ bool StreamFilter::isReady() const { return getStream()->isReady(); }
UInt32 StreamFilter::getSize() const { return getStream()->getSize(); }
-synergy::IStream *StreamFilter::getStream() const { return m_stream; }
+deskflow::IStream *StreamFilter::getStream() const { return m_stream; }
void StreamFilter::filterEvent(const Event &event) {
m_events->dispatchEvent(
diff --git a/src/lib/io/StreamFilter.h b/src/lib/io/StreamFilter.h
index 41342562b..8cc99491e 100644
--- a/src/lib/io/StreamFilter.h
+++ b/src/lib/io/StreamFilter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -26,7 +26,7 @@
This class wraps a stream. Subclasses provide indirect access
to the wrapped stream, typically performing some filtering.
*/
-class StreamFilter : public synergy::IStream {
+class StreamFilter : public deskflow::IStream {
public:
/*!
Create a wrapper around \c stream. Iff \c adoptStream is true then
@@ -34,7 +34,7 @@ public:
d'tor.
*/
StreamFilter(
- IEventQueue *events, synergy::IStream *stream, bool adoptStream = true);
+ IEventQueue *events, deskflow::IStream *stream, bool adoptStream = true);
StreamFilter(StreamFilter const &) = delete;
StreamFilter(StreamFilter &&) = delete;
virtual ~StreamFilter();
@@ -59,7 +59,7 @@ public:
/*!
Returns the stream passed to the c'tor.
*/
- synergy::IStream *getStream() const;
+ deskflow::IStream *getStream() const;
protected:
//! Handle events from source stream
@@ -73,7 +73,7 @@ private:
void handleUpstreamEvent(const Event &, void *);
private:
- synergy::IStream *m_stream;
+ deskflow::IStream *m_stream;
bool m_adopted;
IEventQueue *m_events;
};
diff --git a/src/lib/io/XIO.cpp b/src/lib/io/XIO.cpp
index 54edae83f..12b222e50 100644
--- a/src/lib/io/XIO.cpp
+++ b/src/lib/io/XIO.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/io/XIO.h b/src/lib/io/XIO.h
index 2d0656aae..77239628d 100644
--- a/src/lib/io/XIO.h
+++ b/src/lib/io/XIO.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/ipc/CMakeLists.txt b/src/lib/ipc/CMakeLists.txt
index 7bbf08ce1..8c4588785 100644
--- a/src/lib/ipc/CMakeLists.txt
+++ b/src/lib/ipc/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -31,5 +31,5 @@ if(UNIX)
mt
io
net
- synlib)
+ app)
endif()
diff --git a/src/lib/ipc/IpcClient.cpp b/src/lib/ipc/IpcClient.cpp
index f463330ba..b6cb13c78 100644
--- a/src/lib/ipc/IpcClient.cpp
+++ b/src/lib/ipc/IpcClient.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/ipc/IpcClient.h b/src/lib/ipc/IpcClient.h
index 2c89ac1e4..80be77a8c 100644
--- a/src/lib/ipc/IpcClient.h
+++ b/src/lib/ipc/IpcClient.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/ipc/IpcClientProxy.cpp b/src/lib/ipc/IpcClientProxy.cpp
index 7d48684c9..35317cd99 100644
--- a/src/lib/ipc/IpcClientProxy.cpp
+++ b/src/lib/ipc/IpcClientProxy.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -20,16 +20,16 @@
#include "base/Log.h"
#include "base/TMethodEventJob.h"
#include "common/ipc.h"
+#include "deskflow/ProtocolUtil.h"
#include "io/IStream.h"
#include "ipc/IpcMessage.h"
#include "ipc/IpcSettingMessage.h"
-#include "synergy/ProtocolUtil.h"
//
// IpcClientProxy
//
-IpcClientProxy::IpcClientProxy(synergy::IStream &stream, IEventQueue *events)
+IpcClientProxy::IpcClientProxy(deskflow::IStream &stream, IEventQueue *events)
: m_stream(stream),
m_events(events) {
m_events->adoptHandler(
diff --git a/src/lib/ipc/IpcClientProxy.h b/src/lib/ipc/IpcClientProxy.h
index b0260b203..94295585b 100644
--- a/src/lib/ipc/IpcClientProxy.h
+++ b/src/lib/ipc/IpcClientProxy.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@
#include "base/EventTypes.h"
#include "common/ipc.h"
-namespace synergy {
+namespace deskflow {
class IStream;
}
class IpcMessage;
@@ -36,7 +36,7 @@ class IpcClientProxy {
friend class IpcServer;
public:
- IpcClientProxy(synergy::IStream &stream, IEventQueue *events);
+ IpcClientProxy(deskflow::IStream &stream, IEventQueue *events);
IpcClientProxy(IpcClientProxy const &) = delete;
IpcClientProxy(IpcClientProxy &&) = delete;
virtual ~IpcClientProxy();
@@ -55,7 +55,7 @@ private:
void disconnect();
private:
- synergy::IStream &m_stream;
+ deskflow::IStream &m_stream;
IEventQueue *m_events;
IpcClientType m_clientType = IpcClientType::Unknown;
bool m_disconnecting = false;
diff --git a/src/lib/ipc/IpcLogOutputter.cpp b/src/lib/ipc/IpcLogOutputter.cpp
index 81f5536d3..a8a08c569 100644
--- a/src/lib/ipc/IpcLogOutputter.cpp
+++ b/src/lib/ipc/IpcLogOutputter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/ipc/IpcLogOutputter.h b/src/lib/ipc/IpcLogOutputter.h
index 1bac53206..00242e8d3 100644
--- a/src/lib/ipc/IpcLogOutputter.h
+++ b/src/lib/ipc/IpcLogOutputter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/ipc/IpcMessage.cpp b/src/lib/ipc/IpcMessage.cpp
index e953f8a47..4749925da 100644
--- a/src/lib/ipc/IpcMessage.cpp
+++ b/src/lib/ipc/IpcMessage.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/ipc/IpcMessage.h b/src/lib/ipc/IpcMessage.h
index 587791061..8b4707b46 100644
--- a/src/lib/ipc/IpcMessage.h
+++ b/src/lib/ipc/IpcMessage.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/ipc/IpcServer.cpp b/src/lib/ipc/IpcServer.cpp
index 544b2ddae..de74a821c 100644
--- a/src/lib/ipc/IpcServer.cpp
+++ b/src/lib/ipc/IpcServer.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
@@ -86,7 +86,7 @@ IpcServer::~IpcServer() {
void IpcServer::listen() { m_socket->bind(m_address); }
void IpcServer::handleClientConnecting(const Event &, void *) {
- synergy::IStream *stream = m_socket->accept();
+ deskflow::IStream *stream = m_socket->accept();
if (stream == NULL) {
return;
}
diff --git a/src/lib/ipc/IpcServer.h b/src/lib/ipc/IpcServer.h
index 356caf30d..677691c36 100644
--- a/src/lib/ipc/IpcServer.h
+++ b/src/lib/ipc/IpcServer.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/ipc/IpcServerProxy.cpp b/src/lib/ipc/IpcServerProxy.cpp
index 1c889ae44..cd4e6968d 100644
--- a/src/lib/ipc/IpcServerProxy.cpp
+++ b/src/lib/ipc/IpcServerProxy.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
@@ -21,15 +21,15 @@
#include "base/Log.h"
#include "base/TMethodEventJob.h"
#include "common/ipc.h"
+#include "deskflow/ProtocolUtil.h"
#include "io/IStream.h"
#include "ipc/IpcMessage.h"
-#include "synergy/ProtocolUtil.h"
//
// IpcServerProxy
//
-IpcServerProxy::IpcServerProxy(synergy::IStream &stream, IEventQueue *events)
+IpcServerProxy::IpcServerProxy(deskflow::IStream &stream, IEventQueue *events)
: m_stream(stream),
m_events(events) {
m_events->adoptHandler(
diff --git a/src/lib/ipc/IpcServerProxy.h b/src/lib/ipc/IpcServerProxy.h
index 4fd96b0f7..47a07d3b1 100644
--- a/src/lib/ipc/IpcServerProxy.h
+++ b/src/lib/ipc/IpcServerProxy.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
@@ -21,7 +21,7 @@
#include "base/Event.h"
#include "base/EventTypes.h"
-namespace synergy {
+namespace deskflow {
class IStream;
}
class IpcMessage;
@@ -32,7 +32,7 @@ class IpcServerProxy {
friend class IpcClient;
public:
- IpcServerProxy(synergy::IStream &stream, IEventQueue *events);
+ IpcServerProxy(deskflow::IStream &stream, IEventQueue *events);
IpcServerProxy(IpcServerProxy const &) = delete;
virtual ~IpcServerProxy();
@@ -44,6 +44,6 @@ private:
void disconnect();
private:
- synergy::IStream &m_stream;
+ deskflow::IStream &m_stream;
IEventQueue *m_events;
};
diff --git a/src/lib/ipc/IpcSettingMessage.cpp b/src/lib/ipc/IpcSettingMessage.cpp
index 3ba9a5310..83834db5c 100644
--- a/src/lib/ipc/IpcSettingMessage.cpp
+++ b/src/lib/ipc/IpcSettingMessage.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/ipc/IpcSettingMessage.h b/src/lib/ipc/IpcSettingMessage.h
index 86937c80c..9956ec723 100644
--- a/src/lib/ipc/IpcSettingMessage.h
+++ b/src/lib/ipc/IpcSettingMessage.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/license/CMakeLists.txt b/src/lib/license/CMakeLists.txt
index 024ecda9e..79e8e7ebd 100644
--- a/src/lib/license/CMakeLists.txt
+++ b/src/lib/license/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
diff --git a/src/lib/license/ILicense.h b/src/lib/license/ILicense.h
index f6d699e9b..ee34c06dc 100644
--- a/src/lib/license/ILicense.h
+++ b/src/lib/license/ILicense.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@ class Server;
class LicenseHandler;
class LicenseTests;
-namespace synergy::license {
+namespace deskflow::license {
class ILicense {
public:
@@ -29,4 +29,4 @@ public:
virtual bool isTlsAvailable() const = 0;
};
-} // namespace synergy::license
+} // namespace deskflow::license
diff --git a/src/lib/license/License.cpp b/src/lib/license/License.cpp
index 273e495dd..3eceb7d4b 100644
--- a/src/lib/license/License.cpp
+++ b/src/lib/license/License.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
using namespace std::chrono;
-namespace synergy::license {
+namespace deskflow::license {
License::License(const std::string &hexString)
: m_serialKey(parseSerialKey(hexString)) {}
@@ -98,4 +98,4 @@ std::string License::productName() const {
return name;
}
-} // namespace synergy::license
+} // namespace deskflow::license
diff --git a/src/lib/license/License.h b/src/lib/license/License.h
index 83ce3f84d..05743ddee 100644
--- a/src/lib/license/License.h
+++ b/src/lib/license/License.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@ class Server;
class LicenseHandler;
class LicenseTests;
-namespace synergy::license {
+namespace deskflow::license {
class License : public ILicense {
friend class ::Server;
@@ -93,4 +93,4 @@ private:
NowFunc m_nowFunc = []() { return system_clock::now(); };
};
-} // namespace synergy::license
+} // namespace deskflow::license
diff --git a/src/lib/license/Product.cpp b/src/lib/license/Product.cpp
index c4116de0e..a82e9f7df 100644
--- a/src/lib/license/Product.cpp
+++ b/src/lib/license/Product.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
using SKE = Product::SerialKeyEditionID;
-const char *const kLicensedProductName = "Synergy 1";
+const char *const kLicensedProductName = "Deskflow";
const std::string SKE::Pro = "pro";
const std::string SKE::Basic = "basic";
diff --git a/src/lib/license/Product.h b/src/lib/license/Product.h
index 17183857d..39fe93cde 100644
--- a/src/lib/license/Product.h
+++ b/src/lib/license/Product.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/license/ProductEdition.h b/src/lib/license/ProductEdition.h
index 7ea23798f..a04aaeed9 100644
--- a/src/lib/license/ProductEdition.h
+++ b/src/lib/license/ProductEdition.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/license/SerialKey.h b/src/lib/license/SerialKey.h
index 55b6fdae4..290164399 100644
--- a/src/lib/license/SerialKey.h
+++ b/src/lib/license/SerialKey.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -27,7 +27,7 @@
#include
#include
-namespace synergy::license {
+namespace deskflow::license {
struct SerialKey {
using time_point = std::chrono::system_clock::time_point;
@@ -57,4 +57,4 @@ private:
explicit SerialKey(Edition edition) : product(edition) {}
};
-} // namespace synergy::license
+} // namespace deskflow::license
diff --git a/src/lib/license/SerialKeyType.cpp b/src/lib/license/SerialKeyType.cpp
index 0e0834a37..c2432525c 100644
--- a/src/lib/license/SerialKeyType.cpp
+++ b/src/lib/license/SerialKeyType.cpp
@@ -1,6 +1,6 @@
/*
- * synergy -- mouse and keyboard sharing utility
- * Copyright (C) 2015 Synergy Ltd.
+ * Deskflow -- mouse and keyboard sharing utility
+ * Copyright (C) 2015 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
diff --git a/src/lib/license/SerialKeyType.h b/src/lib/license/SerialKeyType.h
index a7057ef36..45454082d 100644
--- a/src/lib/license/SerialKeyType.h
+++ b/src/lib/license/SerialKeyType.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/license/parse_serial_key.cpp b/src/lib/license/parse_serial_key.cpp
index bd81fdbac..f1d60cc5b 100644
--- a/src/lib/license/parse_serial_key.cpp
+++ b/src/lib/license/parse_serial_key.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@ using Parts = std::vector;
using system_clock = std::chrono::system_clock;
using time_point = system_clock::time_point;
-namespace synergy::license {
+namespace deskflow::license {
std::string decode(const std::string &hexString);
Parts tokenize(const std::string &plainText);
@@ -147,4 +147,4 @@ std::optional parseDate(const std::string &unixTimeString) {
}
}
-} // namespace synergy::license
+} // namespace deskflow::license
diff --git a/src/lib/license/parse_serial_key.h b/src/lib/license/parse_serial_key.h
index b34e21041..bbb95aee7 100644
--- a/src/lib/license/parse_serial_key.h
+++ b/src/lib/license/parse_serial_key.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2024 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -20,7 +20,7 @@
#include
#include
-namespace synergy::license {
+namespace deskflow::license {
class SerialKeyParseError : public std::runtime_error {
public:
@@ -55,4 +55,4 @@ public:
SerialKey parseSerialKey(const std::string &hexString);
-} // namespace synergy::license
+} // namespace deskflow::license
diff --git a/src/lib/mt/CMakeLists.txt b/src/lib/mt/CMakeLists.txt
index 671a2768b..e40a45d7b 100644
--- a/src/lib/mt/CMakeLists.txt
+++ b/src/lib/mt/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
diff --git a/src/lib/mt/CondVar.cpp b/src/lib/mt/CondVar.cpp
index 34f0e645b..152b62adc 100644
--- a/src/lib/mt/CondVar.cpp
+++ b/src/lib/mt/CondVar.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/CondVar.h b/src/lib/mt/CondVar.h
index 76dfaa183..2a897c816 100644
--- a/src/lib/mt/CondVar.h
+++ b/src/lib/mt/CondVar.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/Lock.cpp b/src/lib/mt/Lock.cpp
index 4806742b1..eacc865eb 100644
--- a/src/lib/mt/Lock.cpp
+++ b/src/lib/mt/Lock.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/Lock.h b/src/lib/mt/Lock.h
index 18efb0648..b8679bc25 100644
--- a/src/lib/mt/Lock.h
+++ b/src/lib/mt/Lock.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/Mutex.cpp b/src/lib/mt/Mutex.cpp
index 79b65a159..55a4d855b 100644
--- a/src/lib/mt/Mutex.cpp
+++ b/src/lib/mt/Mutex.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/Mutex.h b/src/lib/mt/Mutex.h
index dd93b259b..f592f64d5 100644
--- a/src/lib/mt/Mutex.h
+++ b/src/lib/mt/Mutex.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/Thread.cpp b/src/lib/mt/Thread.cpp
index d0148aab7..0d1fbb2ad 100644
--- a/src/lib/mt/Thread.cpp
+++ b/src/lib/mt/Thread.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -121,7 +121,7 @@ void *Thread::threadFunc(void *vjob) {
result = e.m_result;
LOG((CLOG_DEBUG1 "caught exit on thread 0x%08x, result %p", id, result));
} catch (XBase &e) {
- LOG((CLOG_ERR "synergy exception on thread 0x%08x: %s", id, e.what()));
+ LOG((CLOG_ERR "deskflow exception on thread 0x%08x: %s", id, e.what()));
delete job;
throw;
} catch (std::exception &e) {
diff --git a/src/lib/mt/Thread.h b/src/lib/mt/Thread.h
index c6eddbe7d..7f18e15cf 100644
--- a/src/lib/mt/Thread.h
+++ b/src/lib/mt/Thread.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/XMT.cpp b/src/lib/mt/XMT.cpp
index ad4b87541..3fd7d5e3d 100644
--- a/src/lib/mt/XMT.cpp
+++ b/src/lib/mt/XMT.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/XMT.h b/src/lib/mt/XMT.h
index 1c2c5e725..b1ce2ae5e 100644
--- a/src/lib/mt/XMT.h
+++ b/src/lib/mt/XMT.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/mt/XThread.h b/src/lib/mt/XThread.h
index 18985ff87..ec5cbfb46 100644
--- a/src/lib/mt/XThread.h
+++ b/src/lib/mt/XThread.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/CMakeLists.txt b/src/lib/net/CMakeLists.txt
index d49645453..74282fd00 100644
--- a/src/lib/net/CMakeLists.txt
+++ b/src/lib/net/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
diff --git a/src/lib/net/IDataSocket.cpp b/src/lib/net/IDataSocket.cpp
index 51d3092b5..1d4f9f1ad 100644
--- a/src/lib/net/IDataSocket.cpp
+++ b/src/lib/net/IDataSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/IDataSocket.h b/src/lib/net/IDataSocket.h
index 5561796d9..46fd7c65a 100644
--- a/src/lib/net/IDataSocket.h
+++ b/src/lib/net/IDataSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -28,7 +28,7 @@
This interface defines the methods common to all network sockets that
represent a full-duplex data stream.
*/
-class IDataSocket : public ISocket, public synergy::IStream {
+class IDataSocket : public ISocket, public deskflow::IStream {
public:
class ConnectionFailedInfo {
public:
diff --git a/src/lib/net/IListenSocket.h b/src/lib/net/IListenSocket.h
index d64488bfd..b839879cc 100644
--- a/src/lib/net/IListenSocket.h
+++ b/src/lib/net/IListenSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/ISocket.h b/src/lib/net/ISocket.h
index 0c6f536d9..f23b23460 100644
--- a/src/lib/net/ISocket.h
+++ b/src/lib/net/ISocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/ISocketFactory.h b/src/lib/net/ISocketFactory.h
index 4e5f84d62..f8de4807d 100644
--- a/src/lib/net/ISocketFactory.h
+++ b/src/lib/net/ISocketFactory.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/ISocketMultiplexerJob.h b/src/lib/net/ISocketMultiplexerJob.h
index 601592141..dcb795318 100644
--- a/src/lib/net/ISocketMultiplexerJob.h
+++ b/src/lib/net/ISocketMultiplexerJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/net/InverseSockets/AutoArchSocket.cpp b/src/lib/net/InverseSockets/AutoArchSocket.cpp
index 2972b6adc..becfea65e 100644
--- a/src/lib/net/InverseSockets/AutoArchSocket.cpp
+++ b/src/lib/net/InverseSockets/AutoArchSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/InverseSockets/AutoArchSocket.h b/src/lib/net/InverseSockets/AutoArchSocket.h
index ab0db7028..7e99d3dbf 100644
--- a/src/lib/net/InverseSockets/AutoArchSocket.h
+++ b/src/lib/net/InverseSockets/AutoArchSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/InverseSockets/InverseClientSocket.cpp b/src/lib/net/InverseSockets/InverseClientSocket.cpp
index 9c2ca6a7a..a5dba7e53 100644
--- a/src/lib/net/InverseSockets/InverseClientSocket.cpp
+++ b/src/lib/net/InverseSockets/InverseClientSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/InverseSockets/InverseClientSocket.h b/src/lib/net/InverseSockets/InverseClientSocket.h
index 397279ec6..fd0383df9 100644
--- a/src/lib/net/InverseSockets/InverseClientSocket.h
+++ b/src/lib/net/InverseSockets/InverseClientSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/InverseSockets/InverseServerSocket.cpp b/src/lib/net/InverseSockets/InverseServerSocket.cpp
index bfbab395d..c4a447adf 100644
--- a/src/lib/net/InverseSockets/InverseServerSocket.cpp
+++ b/src/lib/net/InverseSockets/InverseServerSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/InverseSockets/InverseServerSocket.h b/src/lib/net/InverseSockets/InverseServerSocket.h
index bbbd630b5..f1eb7089f 100644
--- a/src/lib/net/InverseSockets/InverseServerSocket.h
+++ b/src/lib/net/InverseSockets/InverseServerSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/InverseSockets/InverseSocketFactory.cpp b/src/lib/net/InverseSockets/InverseSocketFactory.cpp
index 2694304a0..4c4331596 100644
--- a/src/lib/net/InverseSockets/InverseSocketFactory.cpp
+++ b/src/lib/net/InverseSockets/InverseSocketFactory.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/InverseSockets/InverseSocketFactory.h b/src/lib/net/InverseSockets/InverseSocketFactory.h
index 2fe67e145..d32df6f3f 100644
--- a/src/lib/net/InverseSockets/InverseSocketFactory.h
+++ b/src/lib/net/InverseSockets/InverseSocketFactory.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/InverseSockets/SecureClientSocket.cpp b/src/lib/net/InverseSockets/SecureClientSocket.cpp
index 10eb6c163..846dda90a 100644
--- a/src/lib/net/InverseSockets/SecureClientSocket.cpp
+++ b/src/lib/net/InverseSockets/SecureClientSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/InverseSockets/SecureClientSocket.h b/src/lib/net/InverseSockets/SecureClientSocket.h
index 7f6ff15d0..cd3b3a2c7 100644
--- a/src/lib/net/InverseSockets/SecureClientSocket.h
+++ b/src/lib/net/InverseSockets/SecureClientSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -65,7 +65,7 @@ private:
void handleTCPConnected(const Event &, void *);
- synergy::ssl::SslApi m_ssl{false};
+ deskflow::ssl::SslApi m_ssl{false};
bool m_secureReady = false;
bool m_fatal = false;
};
diff --git a/src/lib/net/InverseSockets/SecureServerSocket.cpp b/src/lib/net/InverseSockets/SecureServerSocket.cpp
index 49f393d58..4cc253371 100644
--- a/src/lib/net/InverseSockets/SecureServerSocket.cpp
+++ b/src/lib/net/InverseSockets/SecureServerSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -18,10 +18,10 @@
#include "SecureServerSocket.h"
#include
+#include
+#include
#include
#include
-#include
-#include
//
// SecureServerSocket
@@ -70,8 +70,8 @@ std::string SecureServerSocket::getCertificateFileName() const {
if (certificateFilename.empty()) {
// default location of the TLS cert file in users dir
- certificateFilename = synergy::string::sprintf(
- "%s/SSL/Synergy.pem", ARCH->getProfileDirectory().c_str());
+ certificateFilename = deskflow::string::sprintf(
+ "%s/SSL/Deskflow.pem", ARCH->getProfileDirectory().c_str());
}
return certificateFilename;
diff --git a/src/lib/net/InverseSockets/SecureServerSocket.h b/src/lib/net/InverseSockets/SecureServerSocket.h
index bc150dc9c..e70c90ab1 100644
--- a/src/lib/net/InverseSockets/SecureServerSocket.h
+++ b/src/lib/net/InverseSockets/SecureServerSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/InverseSockets/SslApi.cpp b/src/lib/net/InverseSockets/SslApi.cpp
index e2e122fac..1d2a56efb 100644
--- a/src/lib/net/InverseSockets/SslApi.cpp
+++ b/src/lib/net/InverseSockets/SslApi.cpp
@@ -8,7 +8,7 @@
#include
#include
-namespace synergy {
+namespace deskflow {
namespace ssl {
using AutoX509 = std::unique_ptr;
@@ -159,13 +159,13 @@ std::string SslApi::getFingerprint() const {
}
bool SslApi::isTrustedFingerprint(const std::string &fingerprint) const {
- auto trustedServersFilename = synergy::string::sprintf(
+ auto trustedServersFilename = deskflow::string::sprintf(
"%s/SSL/Fingerprints/TrustedServers.txt",
ARCH->getProfileDirectory().c_str());
// check if this fingerprint exist
std::ifstream file;
- file.open(synergy::filesystem::path(trustedServersFilename));
+ file.open(deskflow::filesystem::path(trustedServersFilename));
bool isValid = false;
if (file.is_open()) {
@@ -217,9 +217,9 @@ int SslApi::getErrorCode(int status) const {
void SslApi::formatFingerprint(std::string &fingerprint) const {
// to hexidecimal
- synergy::string::toHex(fingerprint, 2);
+ deskflow::string::toHex(fingerprint, 2);
// all uppercase
- synergy::string::uppercase(fingerprint);
+ deskflow::string::uppercase(fingerprint);
// add colon to separate each 2 charactors
size_t separators = fingerprint.size() / 2;
for (size_t i = 1; i < separators; i++) {
@@ -231,7 +231,7 @@ bool SslApi::isCertificateExists(const std::string &filename) const {
bool result = (!filename.empty());
if (result) {
- std::ifstream file(synergy::filesystem::path(filename));
+ std::ifstream file(deskflow::filesystem::path(filename));
result = file.good();
if (!result) {
@@ -247,4 +247,4 @@ bool SslApi::isCertificateExists(const std::string &filename) const {
}
} // namespace ssl
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/net/InverseSockets/SslApi.h b/src/lib/net/InverseSockets/SslApi.h
index 8a8e82266..c28a84a2e 100644
--- a/src/lib/net/InverseSockets/SslApi.h
+++ b/src/lib/net/InverseSockets/SslApi.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
#include
#include
-namespace synergy {
+namespace deskflow {
namespace ssl {
class SslApi {
@@ -52,4 +52,4 @@ private:
};
} // namespace ssl
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/net/InverseSockets/SslLogger.cpp b/src/lib/net/InverseSockets/SslLogger.cpp
index dcb3d7ea3..47c406639 100644
--- a/src/lib/net/InverseSockets/SslLogger.cpp
+++ b/src/lib/net/InverseSockets/SslLogger.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/InverseSockets/SslLogger.h b/src/lib/net/InverseSockets/SslLogger.h
index a5fb2466e..d698b63e7 100644
--- a/src/lib/net/InverseSockets/SslLogger.h
+++ b/src/lib/net/InverseSockets/SslLogger.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2022 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/NetworkAddress.cpp b/src/lib/net/NetworkAddress.cpp
index dc6627333..e96debb6f 100644
--- a/src/lib/net/NetworkAddress.cpp
+++ b/src/lib/net/NetworkAddress.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/NetworkAddress.h b/src/lib/net/NetworkAddress.h
index 708c77bdd..ad6d15b79 100644
--- a/src/lib/net/NetworkAddress.h
+++ b/src/lib/net/NetworkAddress.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/SecureListenSocket.cpp b/src/lib/net/SecureListenSocket.cpp
index c38676d39..a0ef2c103 100644
--- a/src/lib/net/SecureListenSocket.cpp
+++ b/src/lib/net/SecureListenSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,14 +19,14 @@
#include "SecureSocket.h"
#include "arch/XArch.h"
+#include "deskflow/ArgParser.h"
+#include "deskflow/ArgsBase.h"
#include "net/NetworkAddress.h"
#include "net/SocketMultiplexer.h"
#include "net/TSocketMultiplexerMethodJob.h"
-#include "synergy/ArgParser.h"
-#include "synergy/ArgsBase.h"
static const char s_certificateDir[] = {"SSL"};
-static const char s_certificateFilename[] = {"Synergy.pem"};
+static const char s_certificateFilename[] = {"Deskflow.pem"};
//
// SecureListenSocket
@@ -49,7 +49,7 @@ IDataSocket *SecureListenSocket::accept() {
}
// default location of the TLS cert file in users dir
- String certificateFilename = synergy::string::sprintf(
+ String certificateFilename = deskflow::string::sprintf(
"%s/%s/%s", ARCH->getProfileDirectory().c_str(), s_certificateDir,
s_certificateFilename);
diff --git a/src/lib/net/SecureListenSocket.h b/src/lib/net/SecureListenSocket.h
index 986393a6a..de15a103e 100644
--- a/src/lib/net/SecureListenSocket.h
+++ b/src/lib/net/SecureListenSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/SecureSocket.cpp b/src/lib/net/SecureSocket.cpp
index 2873b595d..739841f14 100644
--- a/src/lib/net/SecureSocket.cpp
+++ b/src/lib/net/SecureSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -276,7 +276,7 @@ bool SecureSocket::loadCertificates(String &filename) {
SslLogger::logError("tls certificate is not specified");
return false;
} else {
- std::ifstream file(synergy::filesystem::path(filename));
+ std::ifstream file(deskflow::filesystem::path(filename));
bool exist = file.good();
file.close();
@@ -580,11 +580,11 @@ void SecureSocket::formatFingerprint(
String &fingerprint, bool hex, bool separator) {
if (hex) {
// to hexidecimal
- synergy::string::toHex(fingerprint, 2);
+ deskflow::string::toHex(fingerprint, 2);
}
// all uppercase
- synergy::string::uppercase(fingerprint);
+ deskflow::string::uppercase(fingerprint);
if (separator) {
// add colon to separate each 2 charactors
@@ -620,14 +620,14 @@ bool SecureSocket::verifyCertFingerprint() {
LOG((CLOG_NOTE "server fingerprint: %s", fingerprint.c_str()));
String trustedServersFilename;
- trustedServersFilename = synergy::string::sprintf(
+ trustedServersFilename = deskflow::string::sprintf(
"%s/%s/%s", ARCH->getProfileDirectory().c_str(), kFingerprintDirName,
kFingerprintTrustedServersFilename);
// check if this fingerprint exist
String fileLine;
std::ifstream file;
- file.open(synergy::filesystem::path(trustedServersFilename));
+ file.open(deskflow::filesystem::path(trustedServersFilename));
bool isValid = false;
if (file.is_open()) {
diff --git a/src/lib/net/SecureSocket.h b/src/lib/net/SecureSocket.h
index 75999f077..82d3094c4 100644
--- a/src/lib/net/SecureSocket.h
+++ b/src/lib/net/SecureSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2015-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/net/SocketMultiplexer.cpp b/src/lib/net/SocketMultiplexer.cpp
index df9125b0f..384854d35 100644
--- a/src/lib/net/SocketMultiplexer.cpp
+++ b/src/lib/net/SocketMultiplexer.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/net/SocketMultiplexer.h b/src/lib/net/SocketMultiplexer.h
index 70f8d291b..ff1d663e8 100644
--- a/src/lib/net/SocketMultiplexer.h
+++ b/src/lib/net/SocketMultiplexer.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/net/TCPListenSocket.cpp b/src/lib/net/TCPListenSocket.cpp
index da389d1c6..9ee35df94 100644
--- a/src/lib/net/TCPListenSocket.cpp
+++ b/src/lib/net/TCPListenSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/TCPListenSocket.h b/src/lib/net/TCPListenSocket.h
index 8a6045098..bf6965596 100644
--- a/src/lib/net/TCPListenSocket.h
+++ b/src/lib/net/TCPListenSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/TCPSocket.cpp b/src/lib/net/TCPSocket.cpp
index 1c0c733c7..f3f4d7494 100644
--- a/src/lib/net/TCPSocket.cpp
+++ b/src/lib/net/TCPSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -439,16 +439,16 @@ ISocketMultiplexerJob *TCPSocket::serviceConnecting(
// non-blocking stream socket that fails to connect immediately is
// reported by select as being writable (i.e. connected) even when
// the connection has failed. this is easily demonstrated on OS X
- // 10.3.4 by starting a synergy client and telling to connect to
- // another system that's not running a synergy server. it will
+ // 10.3.4 by starting a deskflow client and telling to connect to
+ // another system that's not running a deskflow server. it will
// claim to have connected then quickly disconnect (i guess because
- // read returns 0 bytes). unfortunately, synergy attempts to
+ // read returns 0 bytes). unfortunately, deskflow attempts to
// reconnect immediately, the process repeats and we end up
// spinning the CPU. luckily, OS X does set SO_ERROR on the
// socket correctly when the connection has failed so checking for
// errors works. (curiously, sometimes OS X doesn't report
// connection refused. when that happens it at least doesn't
- // report the socket as being writable so synergy is able to time
+ // report the socket as being writable so deskflow is able to time
// out the attempt.)
if (error || true) {
try {
diff --git a/src/lib/net/TCPSocket.h b/src/lib/net/TCPSocket.h
index dca6994d9..a78baa675 100644
--- a/src/lib/net/TCPSocket.h
+++ b/src/lib/net/TCPSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/TCPSocketFactory.cpp b/src/lib/net/TCPSocketFactory.cpp
index 28c265c5b..20afebfa4 100644
--- a/src/lib/net/TCPSocketFactory.cpp
+++ b/src/lib/net/TCPSocketFactory.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/TCPSocketFactory.h b/src/lib/net/TCPSocketFactory.h
index 53287a1b4..05e229b11 100644
--- a/src/lib/net/TCPSocketFactory.h
+++ b/src/lib/net/TCPSocketFactory.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/net/TSocketMultiplexerMethodJob.h b/src/lib/net/TSocketMultiplexerMethodJob.h
index 7b3eb1ae1..20adb8168 100644
--- a/src/lib/net/TSocketMultiplexerMethodJob.h
+++ b/src/lib/net/TSocketMultiplexerMethodJob.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/net/XSocket.cpp b/src/lib/net/XSocket.cpp
index 85ab64787..c68de4aa8 100644
--- a/src/lib/net/XSocket.cpp
+++ b/src/lib/net/XSocket.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -50,7 +50,7 @@ String XSocketAddress::getWhat() const throw() {
};
return format(
s_errorID[m_error], s_errorMsg[m_error], m_hostname.c_str(),
- synergy::string::sprintf("%d", m_port).c_str());
+ deskflow::string::sprintf("%d", m_port).c_str());
}
//
diff --git a/src/lib/net/XSocket.h b/src/lib/net/XSocket.h
index 5d5c2147c..28c4cc977 100644
--- a/src/lib/net/XSocket.h
+++ b/src/lib/net/XSocket.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/CMakeLists.txt b/src/lib/platform/CMakeLists.txt
index 9be8318d0..f90c3682e 100644
--- a/src/lib/platform/CMakeLists.txt
+++ b/src/lib/platform/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Synergy -- mouse and keyboard sharing utility
+# Deskflow -- mouse and keyboard sharing utility
# Copyright (C) 2012-2024 Symless Ltd.
# Copyright (C) 2009-2012 Nick Bolton
#
@@ -86,7 +86,7 @@ if(UNIX)
io
net
ipc
- synlib
+ app
client
${libs})
diff --git a/src/lib/platform/EiEventQueueBuffer.cpp b/src/lib/platform/EiEventQueueBuffer.cpp
index dc5d84939..c3f3d6f09 100644
--- a/src/lib/platform/EiEventQueueBuffer.cpp
+++ b/src/lib/platform/EiEventQueueBuffer.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Red Hat, Inc.
* Copyright (C) 2024 Symless Ltd.
*
@@ -32,7 +32,7 @@
class EventQueueTimer {};
-namespace synergy {
+namespace deskflow {
EiEventQueueBuffer::EiEventQueueBuffer(
EiScreen *screen, ei *ei, IEventQueue *events)
@@ -153,4 +153,4 @@ void EiEventQueueBuffer::deleteTimer(EventQueueTimer *timer) const {
delete timer;
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/platform/EiEventQueueBuffer.h b/src/lib/platform/EiEventQueueBuffer.h
index af4e35024..bef8eea60 100644
--- a/src/lib/platform/EiEventQueueBuffer.h
+++ b/src/lib/platform/EiEventQueueBuffer.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Red Hat, Inc.
* Copyright (C) 2024 Symless Ltd.
*
@@ -21,16 +21,16 @@
#include "config.h"
#include "base/IEventQueueBuffer.h"
+#include "deskflow/IScreen.h"
#include "mt/Thread.h"
#include "platform/EiScreen.h"
-#include "synergy/IScreen.h"
#include
#include
#include
#include
-namespace synergy {
+namespace deskflow {
//! Event queue buffer for Ei
class EiEventQueueBuffer : public IEventQueueBuffer {
@@ -56,4 +56,4 @@ private:
mutable std::mutex mutex_;
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/platform/EiKeyState.cpp b/src/lib/platform/EiKeyState.cpp
index 16013271a..2d4d55d4f 100644
--- a/src/lib/platform/EiKeyState.cpp
+++ b/src/lib/platform/EiKeyState.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Red Hat, Inc.
* Copyright (C) 2024 Symless Ltd.
*
@@ -19,9 +19,9 @@
#include "platform/EiKeyState.h"
#include "base/Log.h"
+#include "deskflow/AppUtil.h"
+#include "deskflow/ClientApp.h"
#include "platform/XWindowsUtil.h"
-#include "synergy/AppUtil.h"
-#include "synergy/ClientApp.h"
#include
#include
@@ -29,7 +29,7 @@
#include
#include
-namespace synergy {
+namespace deskflow {
EiKeyState::EiKeyState(EiScreen *screen, IEventQueue *events)
: KeyState(
@@ -148,7 +148,7 @@ std::uint32_t EiKeyState::convert_mod_mask(std::uint32_t xkb_mask) const {
// check if a modifier changed state and then release it again.
// Luckily xkbcommon allows us to do this in a separate state.
void EiKeyState::assign_generated_modifiers(
- std::uint32_t keycode, synergy::KeyMap::KeyItem &item) {
+ std::uint32_t keycode, deskflow::KeyMap::KeyItem &item) {
std::uint32_t mods_generates = 0;
auto state = xkb_state_new(xkb_keymap_);
enum xkb_state_component changed =
@@ -170,7 +170,7 @@ void EiKeyState::assign_generated_modifiers(
item.m_generates = convert_mod_mask(mods_generates);
}
-void EiKeyState::getKeyMap(synergy::KeyMap &keyMap) {
+void EiKeyState::getKeyMap(deskflow::KeyMap &keyMap) {
auto min_keycode = xkb_keymap_min_keycode(xkb_keymap_);
auto max_keycode = xkb_keymap_max_keycode(xkb_keymap_);
@@ -201,7 +201,7 @@ void EiKeyState::getKeyMap(synergy::KeyMap &keyMap) {
"multiple keysyms per keycode are not supported, keycode %d",
keycode);
- synergy::KeyMap::KeyItem item{};
+ deskflow::KeyMap::KeyItem item{};
xkb_keysym_t keysym = syms[0];
KeySym sym = static_cast(keysym);
item.m_id = XWindowsUtil::mapKeySymToKeyID(sym);
@@ -279,4 +279,4 @@ void EiKeyState::update_xkb_state(uint32_t keyval, bool is_pressed) {
xkb_state_, keyval, is_pressed ? XKB_KEY_DOWN : XKB_KEY_UP);
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/platform/EiKeyState.h b/src/lib/platform/EiKeyState.h
index 9cd651cf4..d894456dc 100644
--- a/src/lib/platform/EiKeyState.h
+++ b/src/lib/platform/EiKeyState.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Red Hat, Inc.
* Copyright (C) 2024 Symless Ltd.
*
@@ -18,14 +18,14 @@
#pragma once
+#include "deskflow/KeyState.h"
#include "platform/EiScreen.h"
-#include "synergy/KeyState.h"
struct xkb_context;
struct xkb_keymap;
struct xkb_state;
-namespace synergy {
+namespace deskflow {
/// A key state for Ei
class EiKeyState : public KeyState {
@@ -60,4 +60,4 @@ private:
xkb_state *xkb_state_ = nullptr;
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/platform/EiScreen.cpp b/src/lib/platform/EiScreen.cpp
index acd972000..ac7eb029f 100644
--- a/src/lib/platform/EiScreen.cpp
+++ b/src/lib/platform/EiScreen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Red Hat, Inc.
* Copyright (C) 2024 Symless Ltd.
*
@@ -24,11 +24,11 @@
#include "base/Log.h"
#include "base/Stopwatch.h"
#include "base/TMethodEventJob.h"
+#include "deskflow/Clipboard.h"
+#include "deskflow/KeyMap.h"
+#include "deskflow/XScreen.h"
#include "platform/EiEventQueueBuffer.h"
#include "platform/EiKeyState.h"
-#include "synergy/Clipboard.h"
-#include "synergy/KeyMap.h"
-#include "synergy/XScreen.h"
#if WINAPI_LIBPORTAL
#include "platform/PortalInputCapture.h"
@@ -46,7 +46,7 @@ struct ScrollRemainder {
double x, y; // scroll remainder in pixels
};
-namespace synergy {
+namespace deskflow {
EiScreen::EiScreen(bool is_primary, IEventQueue *events, bool use_portal)
: PlatformScreen(events),
@@ -141,7 +141,7 @@ void EiScreen::init_ei() {
ei_set_user_data(ei_, this);
ei_log_set_priority(ei_, EI_LOG_PRIORITY_DEBUG);
ei_log_set_handler(ei_, cb_handle_ei_log_event);
- ei_configure_name(ei_, "synergy client");
+ ei_configure_name(ei_, "deskflow client");
// install the platform event queue
events_->adoptBuffer(nullptr);
@@ -296,7 +296,7 @@ void EiScreen::fakeMouseWheel(int32_t xDelta, int32_t yDelta) const {
if (!ei_pointer_)
return;
- // libei and synergy seem to use opposite directions, so we have
+ // libei and deskflow seem to use opposite directions, so we have
// to send EI the opposite of the value received if we want to remain
// compatible with other platforms (including X11).
ei_device_scroll_discrete(ei_pointer_, -xDelta, -yDelta);
@@ -615,7 +615,7 @@ void EiScreen::on_pointer_scroll_event(ei_event *event) {
assert(!std::isnan(x) && !std::isinf(x));
assert(!std::isnan(y) && !std::isinf(y));
- // libei and synergy seem to use opposite directions, so we have
+ // libei and deskflow seem to use opposite directions, so we have
// to send the opposite of the value reported by EI if we want to
// remain compatible with other platforms (including X11).
if (x != 0 || y != 0)
@@ -630,7 +630,7 @@ void EiScreen::on_pointer_scroll_event(ei_event *event) {
}
void EiScreen::on_pointer_scroll_discrete_event(ei_event *event) {
- // both libei and synergy use multiples of 120 to represent
+ // both libei and deskflow use multiples of 120 to represent
// one scroll wheel click event so we can just forward things
// as-is.
@@ -641,7 +641,7 @@ void EiScreen::on_pointer_scroll_discrete_event(ei_event *event) {
LOG_DEBUG1("event: scroll discrete (%d, %d)", dx, dy);
- // libei and synergy seem to use opposite directions, so we have
+ // libei and deskflow seem to use opposite directions, so we have
// to send the opposite of the value reported by EI if we want to
// remain compatible with other platforms (including X11).
sendEvent(events_->forIPrimaryScreen().wheel(), WheelInfo::alloc(-dx, -dy));
@@ -847,4 +847,4 @@ std::uint32_t EiScreen::HotKeySet::find_by_mask(std::uint32_t mask) const {
return 0;
}
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/platform/EiScreen.h b/src/lib/platform/EiScreen.h
index 973b16f2d..82ecaab92 100644
--- a/src/lib/platform/EiScreen.h
+++ b/src/lib/platform/EiScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2022 Red Hat, Inc.
* Copyright (C) 2024 Symless Ltd.
*
@@ -19,8 +19,8 @@
#pragma once
#include "config.h"
-#include "synergy/KeyMap.h"
-#include "synergy/PlatformScreen.h"
+#include "deskflow/KeyMap.h"
+#include "deskflow/PlatformScreen.h"
#include
#include
@@ -32,7 +32,7 @@ struct ei_event;
struct ei_seat;
struct ei_device;
-namespace synergy {
+namespace deskflow {
class EiClipboard;
class EiKeyState;
@@ -198,4 +198,4 @@ private:
HotKeyMap hotkeys_;
};
-} // namespace synergy
+} // namespace deskflow
diff --git a/src/lib/platform/IMSWindowsClipboardFacade.h b/src/lib/platform/IMSWindowsClipboardFacade.h
index f815af811..667836b56 100644
--- a/src/lib/platform/IMSWindowsClipboardFacade.h
+++ b/src/lib/platform/IMSWindowsClipboardFacade.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/IOSXKeyResource.cpp b/src/lib/platform/IOSXKeyResource.cpp
index 1e010b35d..9b7eb0975 100644
--- a/src/lib/platform/IOSXKeyResource.cpp
+++ b/src/lib/platform/IOSXKeyResource.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/platform/IOSXKeyResource.h b/src/lib/platform/IOSXKeyResource.h
index 6f0a07159..2d6db36e0 100644
--- a/src/lib/platform/IOSXKeyResource.h
+++ b/src/lib/platform/IOSXKeyResource.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
#pragma once
-#include "synergy/KeyState.h"
+#include "deskflow/KeyState.h"
class IOSXKeyResource : public IInterface {
public:
diff --git a/src/lib/platform/MSWindowsClipboard.cpp b/src/lib/platform/MSWindowsClipboard.cpp
index eff22a1c6..96031002e 100644
--- a/src/lib/platform/MSWindowsClipboard.cpp
+++ b/src/lib/platform/MSWindowsClipboard.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -78,7 +78,7 @@ bool MSWindowsClipboard::empty() {
return false;
}
- // mark clipboard as being owned by synergy
+ // mark clipboard as being owned by deskflow
HGLOBAL data = GlobalAlloc(GMEM_MOVEABLE | GMEM_DDESHARE, 1);
if (NULL == SetClipboardData(getOwnershipFormat(), data)) {
LOG((CLOG_DEBUG "failed to set clipboard data"));
@@ -194,10 +194,10 @@ void MSWindowsClipboard::clearConverters() {
m_converters.clear();
}
-bool MSWindowsClipboard::isOwnedBySynergy() {
+bool MSWindowsClipboard::isOwnedByDeskflow() {
// create ownership format if we haven't yet
if (s_ownershipFormat == 0) {
- s_ownershipFormat = RegisterClipboardFormat(TEXT("SynergyOwnership"));
+ s_ownershipFormat = RegisterClipboardFormat(TEXT("DeskflowOwnership"));
}
return (IsClipboardFormatAvailable(getOwnershipFormat()) != 0);
}
@@ -205,7 +205,7 @@ bool MSWindowsClipboard::isOwnedBySynergy() {
UINT MSWindowsClipboard::getOwnershipFormat() {
// create ownership format if we haven't yet
if (s_ownershipFormat == 0) {
- s_ownershipFormat = RegisterClipboardFormat(TEXT("SynergyOwnership"));
+ s_ownershipFormat = RegisterClipboardFormat(TEXT("DeskflowOwnership"));
}
// return the format
diff --git a/src/lib/platform/MSWindowsClipboard.h b/src/lib/platform/MSWindowsClipboard.h
index b96716cd8..fd5ce9844 100644
--- a/src/lib/platform/MSWindowsClipboard.h
+++ b/src/lib/platform/MSWindowsClipboard.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,8 +19,8 @@
#pragma once
#include "common/stdvector.h"
+#include "deskflow/IClipboard.h"
#include "platform/MSWindowsClipboardFacade.h"
-#include "synergy/IClipboard.h"
#define WIN32_LEAN_AND_MEAN
#include
@@ -41,17 +41,17 @@ public:
This must be called between a successful open() and close().
Return false if the clipboard ownership could not be taken;
the clipboard should not be emptied in this case. Unlike
- empty(), isOwnedBySynergy() will return false when emptied
- this way. This is useful when synergy wants to put data on
+ empty(), isOwnedByDeskflow() will return false when emptied
+ this way. This is useful when deskflow wants to put data on
clipboard but pretend (to itself) that some other app did it.
- When using empty(), synergy assumes the data came from the
+ When using empty(), deskflow assumes the data came from the
server and doesn't need to be sent back. emptyUnowned()
- makes synergy send the data to the server.
+ makes deskflow send the data to the server.
*/
bool emptyUnowned();
- //! Test if clipboard is owned by synergy
- static bool isOwnedBySynergy();
+ //! Test if clipboard is owned by deskflow
+ static bool isOwnedByDeskflow();
// IClipboard overrides
virtual bool empty();
diff --git a/src/lib/platform/MSWindowsClipboardAnyTextConverter.cpp b/src/lib/platform/MSWindowsClipboardAnyTextConverter.cpp
index 8d5d77065..65c6bdd47 100644
--- a/src/lib/platform/MSWindowsClipboardAnyTextConverter.cpp
+++ b/src/lib/platform/MSWindowsClipboardAnyTextConverter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardAnyTextConverter.h b/src/lib/platform/MSWindowsClipboardAnyTextConverter.h
index 6fccd01f0..af854adb7 100644
--- a/src/lib/platform/MSWindowsClipboardAnyTextConverter.h
+++ b/src/lib/platform/MSWindowsClipboardAnyTextConverter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardBitmapConverter.cpp b/src/lib/platform/MSWindowsClipboardBitmapConverter.cpp
index 54d8c2c2f..bfac10b22 100644
--- a/src/lib/platform/MSWindowsClipboardBitmapConverter.cpp
+++ b/src/lib/platform/MSWindowsClipboardBitmapConverter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardBitmapConverter.h b/src/lib/platform/MSWindowsClipboardBitmapConverter.h
index 4863bfba3..d32cc47fe 100644
--- a/src/lib/platform/MSWindowsClipboardBitmapConverter.h
+++ b/src/lib/platform/MSWindowsClipboardBitmapConverter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardFacade.cpp b/src/lib/platform/MSWindowsClipboardFacade.cpp
index f57d65691..e1a048f4b 100644
--- a/src/lib/platform/MSWindowsClipboardFacade.cpp
+++ b/src/lib/platform/MSWindowsClipboardFacade.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardFacade.h b/src/lib/platform/MSWindowsClipboardFacade.h
index 82a517328..274ce08f4 100644
--- a/src/lib/platform/MSWindowsClipboardFacade.h
+++ b/src/lib/platform/MSWindowsClipboardFacade.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -20,7 +20,7 @@
#include "platform/IMSWindowsClipboardFacade.h"
-#include "synergy/IClipboard.h"
+#include "deskflow/IClipboard.h"
class MSWindowsClipboardFacade : public IMSWindowsClipboardFacade {
public:
diff --git a/src/lib/platform/MSWindowsClipboardHTMLConverter.cpp b/src/lib/platform/MSWindowsClipboardHTMLConverter.cpp
index 221d2f49b..fe1c81d4f 100644
--- a/src/lib/platform/MSWindowsClipboardHTMLConverter.cpp
+++ b/src/lib/platform/MSWindowsClipboardHTMLConverter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -57,13 +57,13 @@ MSWindowsClipboardHTMLConverter::doFromIClipboard(const String &data) const {
prefix.replace(
prefix.find("XXXXXXXXXX"), 10,
- synergy::string::sprintf("%010u", StartFragment));
+ deskflow::string::sprintf("%010u", StartFragment));
prefix.replace(
prefix.find("YYYYYYYYYY"), 10,
- synergy::string::sprintf("%010u", EndFragment));
+ deskflow::string::sprintf("%010u", EndFragment));
prefix.replace(
prefix.find("ZZZZZZZZZZ"), 10,
- synergy::string::sprintf("%010u", EndHTML));
+ deskflow::string::sprintf("%010u", EndHTML));
// concatenate
prefix += data;
diff --git a/src/lib/platform/MSWindowsClipboardHTMLConverter.h b/src/lib/platform/MSWindowsClipboardHTMLConverter.h
index 75b5a343e..71406acf4 100644
--- a/src/lib/platform/MSWindowsClipboardHTMLConverter.h
+++ b/src/lib/platform/MSWindowsClipboardHTMLConverter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardTextConverter.cpp b/src/lib/platform/MSWindowsClipboardTextConverter.cpp
index 0d04692a1..4d5f4f864 100644
--- a/src/lib/platform/MSWindowsClipboardTextConverter.cpp
+++ b/src/lib/platform/MSWindowsClipboardTextConverter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardTextConverter.h b/src/lib/platform/MSWindowsClipboardTextConverter.h
index 6b1e9dd0d..0f98a2bdf 100644
--- a/src/lib/platform/MSWindowsClipboardTextConverter.h
+++ b/src/lib/platform/MSWindowsClipboardTextConverter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardUTF16Converter.cpp b/src/lib/platform/MSWindowsClipboardUTF16Converter.cpp
index b41f9bc17..388287ea8 100644
--- a/src/lib/platform/MSWindowsClipboardUTF16Converter.cpp
+++ b/src/lib/platform/MSWindowsClipboardUTF16Converter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsClipboardUTF16Converter.h b/src/lib/platform/MSWindowsClipboardUTF16Converter.h
index f80e733a1..8407bb724 100644
--- a/src/lib/platform/MSWindowsClipboardUTF16Converter.h
+++ b/src/lib/platform/MSWindowsClipboardUTF16Converter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsDebugOutputter.cpp b/src/lib/platform/MSWindowsDebugOutputter.cpp
index f5730e8ab..e8b7a8dfd 100644
--- a/src/lib/platform/MSWindowsDebugOutputter.cpp
+++ b/src/lib/platform/MSWindowsDebugOutputter.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/platform/MSWindowsDebugOutputter.h b/src/lib/platform/MSWindowsDebugOutputter.h
index 84a94b140..ac0d197d1 100644
--- a/src/lib/platform/MSWindowsDebugOutputter.h
+++ b/src/lib/platform/MSWindowsDebugOutputter.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2012 Nick Bolton
*
diff --git a/src/lib/platform/MSWindowsDesks.cpp b/src/lib/platform/MSWindowsDesks.cpp
index 28a63592a..7f5fadf80 100644
--- a/src/lib/platform/MSWindowsDesks.cpp
+++ b/src/lib/platform/MSWindowsDesks.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -24,13 +24,13 @@
#include "base/Log.h"
#include "base/TMethodEventJob.h"
#include "base/TMethodJob.h"
+#include "deskflow/IScreenSaver.h"
+#include "deskflow/XScreen.h"
+#include "deskflow/win32/AppUtilWindows.h"
#include "mt/Lock.h"
#include "mt/Thread.h"
#include "platform/MSWindowsScreen.h"
-#include "platform/synwinhk.h"
-#include "synergy/IScreenSaver.h"
-#include "synergy/XScreen.h"
-#include "synergy/win32/AppUtilWindows.h"
+#include "platform/dfwhook.h"
#include
@@ -64,29 +64,29 @@
#endif
// ;
-#define SYNERGY_MSG_SWITCH SYNERGY_HOOK_LAST_MSG + 1
+#define DESKFLOW_MSG_SWITCH DESKFLOW_HOOK_LAST_MSG + 1
// ;
-#define SYNERGY_MSG_ENTER SYNERGY_HOOK_LAST_MSG + 2
+#define DESKFLOW_MSG_ENTER DESKFLOW_HOOK_LAST_MSG + 2
// ;
-#define SYNERGY_MSG_LEAVE SYNERGY_HOOK_LAST_MSG + 3
+#define DESKFLOW_MSG_LEAVE DESKFLOW_HOOK_LAST_MSG + 3
// wParam = flags, HIBYTE(lParam) = virtual key, LOBYTE(lParam) = scan code
-#define SYNERGY_MSG_FAKE_KEY SYNERGY_HOOK_LAST_MSG + 4
+#define DESKFLOW_MSG_FAKE_KEY DESKFLOW_HOOK_LAST_MSG + 4
// flags, XBUTTON id
-#define SYNERGY_MSG_FAKE_BUTTON SYNERGY_HOOK_LAST_MSG + 5
+#define DESKFLOW_MSG_FAKE_BUTTON DESKFLOW_HOOK_LAST_MSG + 5
// x; y
-#define SYNERGY_MSG_FAKE_MOVE SYNERGY_HOOK_LAST_MSG + 6
+#define DESKFLOW_MSG_FAKE_MOVE DESKFLOW_HOOK_LAST_MSG + 6
// xDelta; yDelta
-#define SYNERGY_MSG_FAKE_WHEEL SYNERGY_HOOK_LAST_MSG + 7
+#define DESKFLOW_MSG_FAKE_WHEEL DESKFLOW_HOOK_LAST_MSG + 7
// POINT*;
-#define SYNERGY_MSG_CURSOR_POS SYNERGY_HOOK_LAST_MSG + 8
+#define DESKFLOW_MSG_CURSOR_POS DESKFLOW_HOOK_LAST_MSG + 8
// IKeyState*;
-#define SYNERGY_MSG_SYNC_KEYS SYNERGY_HOOK_LAST_MSG + 9
+#define DESKFLOW_MSG_SYNC_KEYS DESKFLOW_HOOK_LAST_MSG + 9
// install;
-#define SYNERGY_MSG_SCREENSAVER SYNERGY_HOOK_LAST_MSG + 10
+#define DESKFLOW_MSG_SCREENSAVER DESKFLOW_HOOK_LAST_MSG + 10
// dx; dy
-#define SYNERGY_MSG_FAKE_REL_MOVE SYNERGY_HOOK_LAST_MSG + 11
+#define DESKFLOW_MSG_FAKE_REL_MOVE DESKFLOW_HOOK_LAST_MSG + 11
// enable;
-#define SYNERGY_MSG_FAKE_INPUT SYNERGY_HOOK_LAST_MSG + 12
+#define DESKFLOW_MSG_FAKE_INPUT DESKFLOW_HOOK_LAST_MSG + 12
static void send_keyboard_input(WORD wVk, WORD wScan, DWORD dwFlags) {
INPUT inp;
@@ -186,10 +186,10 @@ void MSWindowsDesks::disable() {
m_isOnScreen = m_isPrimary;
}
-void MSWindowsDesks::enter() { sendMessage(SYNERGY_MSG_ENTER, 0, 0); }
+void MSWindowsDesks::enter() { sendMessage(DESKFLOW_MSG_ENTER, 0, 0); }
void MSWindowsDesks::leave(HKL keyLayout) {
- sendMessage(SYNERGY_MSG_LEAVE, (WPARAM)keyLayout, 0);
+ sendMessage(DESKFLOW_MSG_LEAVE, (WPARAM)keyLayout, 0);
}
void MSWindowsDesks::resetOptions() { m_leaveForegroundOption = false; }
@@ -205,7 +205,7 @@ void MSWindowsDesks::setOptions(const OptionsList &options) {
}
}
-void MSWindowsDesks::updateKeys() { sendMessage(SYNERGY_MSG_SYNC_KEYS, 0, 0); }
+void MSWindowsDesks::updateKeys() { sendMessage(DESKFLOW_MSG_SYNC_KEYS, 0, 0); }
void MSWindowsDesks::setShape(
SInt32 x, SInt32 y, SInt32 width, SInt32 height, SInt32 xCenter,
@@ -222,28 +222,28 @@ void MSWindowsDesks::setShape(
void MSWindowsDesks::installScreensaverHooks(bool install) {
if (m_isPrimary && m_screensaverNotify != install) {
m_screensaverNotify = install;
- sendMessage(SYNERGY_MSG_SCREENSAVER, install, 0);
+ sendMessage(DESKFLOW_MSG_SCREENSAVER, install, 0);
}
}
void MSWindowsDesks::fakeInputBegin() {
- sendMessage(SYNERGY_MSG_FAKE_INPUT, 1, 0);
+ sendMessage(DESKFLOW_MSG_FAKE_INPUT, 1, 0);
}
void MSWindowsDesks::fakeInputEnd() {
- sendMessage(SYNERGY_MSG_FAKE_INPUT, 0, 0);
+ sendMessage(DESKFLOW_MSG_FAKE_INPUT, 0, 0);
}
void MSWindowsDesks::getCursorPos(SInt32 &x, SInt32 &y) const {
POINT pos;
- sendMessage(SYNERGY_MSG_CURSOR_POS, reinterpret_cast(&pos), 0);
+ sendMessage(DESKFLOW_MSG_CURSOR_POS, reinterpret_cast(&pos), 0);
x = pos.x;
y = pos.y;
}
void MSWindowsDesks::fakeKeyEvent(
WORD virtualKey, WORD scanCode, DWORD flags, bool /*isAutoRepeat*/) const {
- sendMessage(SYNERGY_MSG_FAKE_KEY, flags, MAKELPARAM(scanCode, virtualKey));
+ sendMessage(DESKFLOW_MSG_FAKE_KEY, flags, MAKELPARAM(scanCode, virtualKey));
}
void MSWindowsDesks::fakeMouseButton(ButtonID button, bool press) {
@@ -294,22 +294,22 @@ void MSWindowsDesks::fakeMouseButton(ButtonID button, bool press) {
}
// do it
- sendMessage(SYNERGY_MSG_FAKE_BUTTON, flags, data);
+ sendMessage(DESKFLOW_MSG_FAKE_BUTTON, flags, data);
}
void MSWindowsDesks::fakeMouseMove(SInt32 x, SInt32 y) const {
sendMessage(
- SYNERGY_MSG_FAKE_MOVE, static_cast(x), static_cast(y));
+ DESKFLOW_MSG_FAKE_MOVE, static_cast(x), static_cast(y));
}
void MSWindowsDesks::fakeMouseRelativeMove(SInt32 dx, SInt32 dy) const {
sendMessage(
- SYNERGY_MSG_FAKE_REL_MOVE, static_cast(dx),
+ DESKFLOW_MSG_FAKE_REL_MOVE, static_cast(dx),
static_cast(dy));
}
void MSWindowsDesks::fakeMouseWheel(SInt32 xDelta, SInt32 yDelta) const {
- sendMessage(SYNERGY_MSG_FAKE_WHEEL, xDelta, yDelta);
+ sendMessage(DESKFLOW_MSG_FAKE_WHEEL, xDelta, yDelta);
}
void MSWindowsDesks::sendMessage(UINT msg, WPARAM wParam, LPARAM lParam) const {
@@ -354,7 +354,7 @@ ATOM MSWindowsDesks::createDeskWindowClass(bool isPrimary) const {
classInfo.hCursor = m_cursor;
classInfo.hbrBackground = NULL;
classInfo.lpszMenuName = NULL;
- classInfo.lpszClassName = "SynergyDesk";
+ classInfo.lpszClassName = "DeskflowDesk";
classInfo.hIconSm = NULL;
return RegisterClassEx(&classInfo);
}
@@ -430,7 +430,7 @@ void MSWindowsDesks::deskMouseRelativeMove(SInt32 dx, SInt32 dy) const {
// restore acceleration. there's a slight chance we'll end up in
// the wrong place if the user moves the cursor using this system's
// mouse while simultaneously moving the mouse on the server
- // system. that defeats the purpose of synergy so we'll assume
+ // system. that defeats the purpose of deskflow so we'll assume
// that won't happen. even if it does, the next mouse move will
// correct the position.
@@ -513,7 +513,7 @@ void MSWindowsDesks::deskLeave(Desk *desk, HKL keyLayout) {
// if not using low-level hooks we have to also activate the
// window to ensure we don't lose keyboard focus.
// FIXME -- see if this can be avoided. if so then always
- // disable the window (see handling of SYNERGY_MSG_SWITCH).
+ // disable the window (see handling of DESKFLOW_MSG_SWITCH).
if (!desk->m_lowLevel) {
SetActiveWindow(desk->m_window);
}
@@ -573,7 +573,7 @@ void MSWindowsDesks::deskThread(void *vdesk) {
// create a window. we use this window to hide the cursor.
try {
- desk->m_window = createWindow(m_deskClass, "SynergyDesk");
+ desk->m_window = createWindow(m_deskClass, "DeskflowDesk");
LOG(
(CLOG_DEBUG "desk %s window is 0x%08x", desk->m_name.c_str(),
desk->m_window));
@@ -597,7 +597,7 @@ void MSWindowsDesks::deskThread(void *vdesk) {
DispatchMessage(&msg);
continue;
- case SYNERGY_MSG_SWITCH:
+ case DESKFLOW_MSG_SWITCH:
if (!m_noHooks) {
MSWindowsHook::uninstall();
if (m_screensaverNotify) {
@@ -626,47 +626,47 @@ void MSWindowsDesks::deskThread(void *vdesk) {
}
break;
- case SYNERGY_MSG_ENTER:
+ case DESKFLOW_MSG_ENTER:
m_isOnScreen = true;
deskEnter(desk);
break;
- case SYNERGY_MSG_LEAVE:
+ case DESKFLOW_MSG_LEAVE:
m_isOnScreen = false;
m_keyLayout = (HKL)msg.wParam;
deskLeave(desk, m_keyLayout);
break;
- case SYNERGY_MSG_FAKE_KEY:
+ case DESKFLOW_MSG_FAKE_KEY:
// Note, this is intended to be HI/LOWORD and not HI/LOBYTE
send_keyboard_input(
HIWORD(msg.lParam), LOWORD(msg.lParam), (DWORD)msg.wParam);
break;
- case SYNERGY_MSG_FAKE_BUTTON:
+ case DESKFLOW_MSG_FAKE_BUTTON:
if (msg.wParam != 0) {
send_mouse_input((DWORD)msg.wParam, 0, 0, (DWORD)msg.lParam);
}
break;
- case SYNERGY_MSG_FAKE_MOVE:
+ case DESKFLOW_MSG_FAKE_MOVE:
deskMouseMove(
static_cast(msg.wParam), static_cast(msg.lParam));
break;
- case SYNERGY_MSG_FAKE_REL_MOVE:
+ case DESKFLOW_MSG_FAKE_REL_MOVE:
deskMouseRelativeMove(
static_cast(msg.wParam), static_cast(msg.lParam));
break;
- case SYNERGY_MSG_FAKE_WHEEL:
+ case DESKFLOW_MSG_FAKE_WHEEL:
// XXX -- add support for x-axis scrolling
if (msg.lParam != 0) {
send_mouse_input(MOUSEEVENTF_WHEEL, 0, 0, (DWORD)msg.lParam);
}
break;
- case SYNERGY_MSG_CURSOR_POS: {
+ case DESKFLOW_MSG_CURSOR_POS: {
POINT *pos = reinterpret_cast(msg.wParam);
if (!GetCursorPos(pos)) {
pos->x = m_xCenter;
@@ -675,11 +675,11 @@ void MSWindowsDesks::deskThread(void *vdesk) {
break;
}
- case SYNERGY_MSG_SYNC_KEYS:
+ case DESKFLOW_MSG_SYNC_KEYS:
m_updateKeys->run();
break;
- case SYNERGY_MSG_SCREENSAVER:
+ case DESKFLOW_MSG_SCREENSAVER:
if (!m_noHooks) {
if (msg.wParam != 0) {
MSWindowsHook::installScreenSaver();
@@ -689,10 +689,10 @@ void MSWindowsDesks::deskThread(void *vdesk) {
}
break;
- case SYNERGY_MSG_FAKE_INPUT:
+ case DESKFLOW_MSG_FAKE_INPUT:
send_keyboard_input(
- SYNERGY_HOOK_FAKE_INPUT_VIRTUAL_KEY, SYNERGY_HOOK_FAKE_INPUT_SCANCODE,
- msg.wParam ? 0 : KEYEVENTF_KEYUP);
+ DESKFLOW_HOOK_FAKE_INPUT_VIRTUAL_KEY,
+ DESKFLOW_HOOK_FAKE_INPUT_SCANCODE, msg.wParam ? 0 : KEYEVENTF_KEYUP);
break;
}
@@ -772,7 +772,7 @@ void MSWindowsDesks::checkDesk() {
// show cursor on previous desk
bool wasOnScreen = m_isOnScreen;
if (!wasOnScreen) {
- sendMessage(SYNERGY_MSG_ENTER, 0, 0);
+ sendMessage(DESKFLOW_MSG_ENTER, 0, 0);
}
// check for desk accessibility change. we don't get events
@@ -794,11 +794,11 @@ void MSWindowsDesks::checkDesk() {
// switch desk
m_activeDesk = desk;
m_activeDeskName = name;
- sendMessage(SYNERGY_MSG_SWITCH, 0, 0);
+ sendMessage(DESKFLOW_MSG_SWITCH, 0, 0);
// hide cursor on new desk
if (!wasOnScreen) {
- sendMessage(SYNERGY_MSG_LEAVE, (WPARAM)m_keyLayout, 0);
+ sendMessage(DESKFLOW_MSG_LEAVE, (WPARAM)m_keyLayout, 0);
}
// update keys if necessary
@@ -807,7 +807,7 @@ void MSWindowsDesks::checkDesk() {
}
} else if (name != m_activeDeskName) {
// screen saver might have started
- PostThreadMessage(m_threadID, SYNERGY_MSG_SCREEN_SAVER, TRUE, 0);
+ PostThreadMessage(m_threadID, DESKFLOW_MSG_SCREEN_SAVER, TRUE, 0);
}
}
@@ -833,7 +833,7 @@ void MSWindowsDesks::handleCheckDesk(const Event &, void *) {
if (m_isPrimary) {
BOOL running;
SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, &running, FALSE);
- PostThreadMessage(m_threadID, SYNERGY_MSG_SCREEN_SAVER, running, 0);
+ PostThreadMessage(m_threadID, DESKFLOW_MSG_SCREEN_SAVER, running, 0);
}
}
diff --git a/src/lib/platform/MSWindowsDesks.h b/src/lib/platform/MSWindowsDesks.h
index cce464bef..edadfa072 100644
--- a/src/lib/platform/MSWindowsDesks.h
+++ b/src/lib/platform/MSWindowsDesks.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -20,12 +20,12 @@
#include "base/String.h"
#include "common/stdmap.h"
+#include "deskflow/key_types.h"
+#include "deskflow/mouse_types.h"
+#include "deskflow/option_types.h"
#include "mt/CondVar.h"
#include "mt/Mutex.h"
-#include "platform/synwinhk.h"
-#include "synergy/key_types.h"
-#include "synergy/mouse_types.h"
-#include "synergy/option_types.h"
+#include "platform/dfwhook.h"
#define WIN32_LEAN_AND_MEAN
#include
@@ -46,9 +46,9 @@ desk at a time, you can't switch desks if the thread has any hooks
installed or owns any windows, windows cannot exist on multiple
desks at once, etc. Basically, they're useless except for running
the login window or the screensaver, which is what they're used
-for. Synergy must deal with them mainly because of the login
+for. Deskflow must deal with them mainly because of the login
window and screensaver but users can create their own desks and
-synergy should work on those too.
+deskflow should work on those too.
This class encapsulates all the desk nastiness. Clients of this
object don't have to know anything about desks.
diff --git a/src/lib/platform/MSWindowsDropTarget.cpp b/src/lib/platform/MSWindowsDropTarget.cpp
index 2f5c16bce..60abc9f31 100644
--- a/src/lib/platform/MSWindowsDropTarget.cpp
+++ b/src/lib/platform/MSWindowsDropTarget.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/platform/MSWindowsDropTarget.h b/src/lib/platform/MSWindowsDropTarget.h
index 8acf8cc2a..c12c6faf7 100644
--- a/src/lib/platform/MSWindowsDropTarget.h
+++ b/src/lib/platform/MSWindowsDropTarget.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2014-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/platform/MSWindowsEventQueueBuffer.cpp b/src/lib/platform/MSWindowsEventQueueBuffer.cpp
index 332b34d42..86fcf344b 100644
--- a/src/lib/platform/MSWindowsEventQueueBuffer.cpp
+++ b/src/lib/platform/MSWindowsEventQueueBuffer.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -38,7 +38,7 @@ MSWindowsEventQueueBuffer::MSWindowsEventQueueBuffer(IEventQueue *events)
m_thread = GetCurrentThreadId();
// create a message type for custom events
- m_userEvent = RegisterWindowMessage("SYNERGY_USER_EVENT");
+ m_userEvent = RegisterWindowMessage("DESKFLOW_USER_EVENT");
// get message type for daemon quit
m_daemonQuit = ArchMiscWindows::getDaemonQuitMessage();
diff --git a/src/lib/platform/MSWindowsEventQueueBuffer.h b/src/lib/platform/MSWindowsEventQueueBuffer.h
index e87c81271..d340e8934 100644
--- a/src/lib/platform/MSWindowsEventQueueBuffer.h
+++ b/src/lib/platform/MSWindowsEventQueueBuffer.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsHook.cpp b/src/lib/platform/MSWindowsHook.cpp
index faa75b3c2..5d92ab715 100644
--- a/src/lib/platform/MSWindowsHook.cpp
+++ b/src/lib/platform/MSWindowsHook.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2011 Chris Schoeneman
*
@@ -18,10 +18,10 @@
#include "platform/MSWindowsHook.h"
#include "base/Log.h"
-#include "synergy/XScreen.h"
-#include "synergy/protocol_types.h"
+#include "deskflow/XScreen.h"
+#include "deskflow/protocol_types.h"
-static const char *g_name = "synwinhk";
+static const char *g_name = "dfwhook";
static DWORD g_processID = 0;
static DWORD g_threadID = 0;
@@ -209,12 +209,12 @@ static bool keyboardHookHandler(WPARAM wParam, LPARAM lParam) {
// passing events through and not report them to the server. this
// is used to allow the server to synthesize events locally but
// not pick them up as user events.
- if (wParam == SYNERGY_HOOK_FAKE_INPUT_VIRTUAL_KEY &&
- ((lParam >> 16) & 0xffu) == SYNERGY_HOOK_FAKE_INPUT_SCANCODE) {
+ if (wParam == DESKFLOW_HOOK_FAKE_INPUT_VIRTUAL_KEY &&
+ ((lParam >> 16) & 0xffu) == DESKFLOW_HOOK_FAKE_INPUT_SCANCODE) {
// update flag
g_fakeServerInput = ((lParam & 0x80000000u) == 0);
PostThreadMessage(
- g_threadID, SYNERGY_MSG_DEBUG, 0xff000000u | wParam, lParam);
+ g_threadID, DESKFLOW_MSG_DEBUG, 0xff000000u | wParam, lParam);
// discard event
return true;
@@ -224,7 +224,7 @@ static bool keyboardHookHandler(WPARAM wParam, LPARAM lParam) {
// and do not forward to the server
if (g_fakeServerInput) {
PostThreadMessage(
- g_threadID, SYNERGY_MSG_DEBUG, 0xfe000000u | wParam, lParam);
+ g_threadID, DESKFLOW_MSG_DEBUG, 0xfe000000u | wParam, lParam);
return false;
}
@@ -235,14 +235,14 @@ static bool keyboardHookHandler(WPARAM wParam, LPARAM lParam) {
}
// tell server about event
- PostThreadMessage(g_threadID, SYNERGY_MSG_DEBUG, wParam, lParam);
+ PostThreadMessage(g_threadID, DESKFLOW_MSG_DEBUG, wParam, lParam);
// ignore dead key release
if ((g_deadVirtKey == wParam || g_deadRelease == wParam) &&
(lParam & 0x80000000u) != 0) {
g_deadRelease = 0;
PostThreadMessage(
- g_threadID, SYNERGY_MSG_DEBUG, wParam | 0x04000000, lParam);
+ g_threadID, DESKFLOW_MSG_DEBUG, wParam | 0x04000000, lParam);
return false;
}
@@ -304,14 +304,14 @@ static bool keyboardHookHandler(WPARAM wParam, LPARAM lParam) {
// if mapping failed and ctrl and alt are pressed then try again
// with both not pressed. this handles the case where ctrl and
// alt are being used as individual modifiers rather than AltGr.
- // we note that's the case in the message sent back to synergy
+ // we note that's the case in the message sent back to deskflow
// because there's no simple way to deduce it after the fact.
// we have to put the dead key back first, if there was one.
bool noAltGr = false;
if (n == 0 && (control & 0x80) != 0 && (menu & 0x80) != 0) {
noAltGr = true;
PostThreadMessage(
- g_threadID, SYNERGY_MSG_DEBUG, wParam | 0x05000000, lParam);
+ g_threadID, DESKFLOW_MSG_DEBUG, wParam | 0x05000000, lParam);
setDeadKey(wc, 2, flags);
BYTE keys2[256];
@@ -328,7 +328,7 @@ static bool keyboardHookHandler(WPARAM wParam, LPARAM lParam) {
}
PostThreadMessage(
- g_threadID, SYNERGY_MSG_DEBUG,
+ g_threadID, DESKFLOW_MSG_DEBUG,
(wc[0] & 0xffff) | ((wParam & 0xff) << 16) | ((n & 0xf) << 24) |
0x60000000,
lParam);
@@ -370,10 +370,10 @@ static bool keyboardHookHandler(WPARAM wParam, LPARAM lParam) {
// and release for the dead key to our window.
WPARAM deadCharAndVirtKey = makeKeyMsg((UINT)g_deadVirtKey, wc[0], noAltGr);
PostThreadMessage(
- g_threadID, SYNERGY_MSG_KEY, deadCharAndVirtKey,
+ g_threadID, DESKFLOW_MSG_KEY, deadCharAndVirtKey,
g_deadLParam & 0x7fffffffu);
PostThreadMessage(
- g_threadID, SYNERGY_MSG_KEY, deadCharAndVirtKey,
+ g_threadID, DESKFLOW_MSG_KEY, deadCharAndVirtKey,
g_deadLParam | 0x80000000u);
// use uncomposed character
@@ -404,8 +404,8 @@ static bool keyboardHookHandler(WPARAM wParam, LPARAM lParam) {
// forwarding.
if (charAndVirtKey != 0) {
PostThreadMessage(
- g_threadID, SYNERGY_MSG_DEBUG, charAndVirtKey | 0x07000000, lParam);
- PostThreadMessage(g_threadID, SYNERGY_MSG_KEY, charAndVirtKey, lParam);
+ g_threadID, DESKFLOW_MSG_DEBUG, charAndVirtKey | 0x07000000, lParam);
+ PostThreadMessage(g_threadID, DESKFLOW_MSG_KEY, charAndVirtKey, lParam);
}
if (g_mode == kHOOK_RELAY_EVENTS) {
@@ -505,13 +505,13 @@ static bool mouseHookHandler(WPARAM wParam, SInt32 x, SInt32 y, SInt32 data) {
case WM_NCRBUTTONUP:
case WM_NCXBUTTONUP:
// always relay the event. eat it if relaying.
- PostThreadMessage(g_threadID, SYNERGY_MSG_MOUSE_BUTTON, wParam, data);
+ PostThreadMessage(g_threadID, DESKFLOW_MSG_MOUSE_BUTTON, wParam, data);
return (g_mode == kHOOK_RELAY_EVENTS);
case WM_MOUSEWHEEL:
if (g_mode == kHOOK_RELAY_EVENTS) {
// relay event
- PostThreadMessage(g_threadID, SYNERGY_MSG_MOUSE_WHEEL, data, 0);
+ PostThreadMessage(g_threadID, DESKFLOW_MSG_MOUSE_WHEEL, data, 0);
}
return (g_mode == kHOOK_RELAY_EVENTS);
@@ -519,7 +519,7 @@ static bool mouseHookHandler(WPARAM wParam, SInt32 x, SInt32 y, SInt32 data) {
case WM_MOUSEMOVE:
if (g_mode == kHOOK_RELAY_EVENTS) {
// relay and eat event
- PostThreadMessage(g_threadID, SYNERGY_MSG_MOUSE_MOVE, x, y);
+ PostThreadMessage(g_threadID, DESKFLOW_MSG_MOUSE_MOVE, x, y);
return true;
} else if (g_mode == kHOOK_WATCH_JUMP_ZONE) {
// low level hooks can report bogus mouse positions that are
@@ -563,7 +563,7 @@ static bool mouseHookHandler(WPARAM wParam, SInt32 x, SInt32 y, SInt32 data) {
}
// relay the event
- PostThreadMessage(g_threadID, SYNERGY_MSG_MOUSE_MOVE, x, y);
+ PostThreadMessage(g_threadID, DESKFLOW_MSG_MOUSE_MOVE, x, y);
// if inside and not bogus then eat the event
return inside && !bogus;
@@ -674,7 +674,7 @@ static LRESULT CALLBACK getMessageHook(int code, WPARAM wParam, LPARAM lParam) {
MSG *msg = reinterpret_cast(lParam);
if (msg->message == WM_SYSCOMMAND && msg->wParam == SC_SCREENSAVE) {
// broadcast screen saver started message
- PostThreadMessage(g_threadID, SYNERGY_MSG_SCREEN_SAVER, TRUE, 0);
+ PostThreadMessage(g_threadID, DESKFLOW_MSG_SCREEN_SAVER, TRUE, 0);
}
}
}
diff --git a/src/lib/platform/MSWindowsHook.h b/src/lib/platform/MSWindowsHook.h
index 36d1aa262..0a9bb0b48 100644
--- a/src/lib/platform/MSWindowsHook.h
+++ b/src/lib/platform/MSWindowsHook.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2011 Chris Schoeneman
*
@@ -18,7 +18,7 @@
#pragma once
-#include "platform/synwinhk.h"
+#include "platform/dfwhook.h"
#define WIN32_LEAN_AND_MEAN
#include
diff --git a/src/lib/platform/MSWindowsKeyState.cpp b/src/lib/platform/MSWindowsKeyState.cpp
index b925165cb..5d56b2460 100644
--- a/src/lib/platform/MSWindowsKeyState.cpp
+++ b/src/lib/platform/MSWindowsKeyState.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -37,7 +37,7 @@
// MSWindowsKeyState
//
-// map virtual keys to synergy key enumeration
+// map virtual keys to deskflow key enumeration
const KeyID MSWindowsKeyState::s_virtualKey[] = {
/* 0x000 */ {kKeyNone}, // reserved
/* 0x001 */ {kKeyNone}, // VK_LBUTTON
@@ -586,7 +586,7 @@ MSWindowsKeyState::MSWindowsKeyState(
MSWindowsKeyState::MSWindowsKeyState(
MSWindowsDesks *desks, void *eventTarget, IEventQueue *events,
- synergy::KeyMap &keyMap, std::vector layouts,
+ deskflow::KeyMap &keyMap, std::vector layouts,
bool isLangSyncEnabled)
: KeyState(events, keyMap, std::move(layouts), isLangSyncEnabled),
m_eventTarget(eventTarget),
@@ -852,7 +852,7 @@ void MSWindowsKeyState::pollPressedKeys(KeyButtonSet &pressedKeys) const {
}
}
-void MSWindowsKeyState::getKeyMap(synergy::KeyMap &keyMap) {
+void MSWindowsKeyState::getKeyMap(deskflow::KeyMap &keyMap) {
// update keyboard groups
if (getGroups(m_groups)) {
m_groupMap.clear();
@@ -867,7 +867,7 @@ void MSWindowsKeyState::getKeyMap(synergy::KeyMap &keyMap) {
memset(m_virtualKeyToButton, 0, sizeof(m_virtualKeyToButton));
m_keyToVKMap.clear();
- synergy::KeyMap::KeyItem item;
+ deskflow::KeyMap::KeyItem item;
SInt32 numGroups = (SInt32)m_groups.size();
for (SInt32 g = 0; g < numGroups; ++g) {
item.m_group = g;
@@ -1052,7 +1052,7 @@ void MSWindowsKeyState::getKeyMap(synergy::KeyMap &keyMap) {
item.m_client = m_buttonToVK[i];
// get flags for modifier keys
- synergy::KeyMap::initModifierKey(item);
+ deskflow::KeyMap::initModifierKey(item);
if (item.m_id == 0) {
// translate virtual key to a character with and without
@@ -1286,7 +1286,7 @@ UINT MSWindowsKeyState::mapButtonToVirtualKey(KeyButton button) const {
}
KeyID MSWindowsKeyState::getIDForKey(
- synergy::KeyMap::KeyItem &item, KeyButton button, UINT virtualKey,
+ deskflow::KeyMap::KeyItem &item, KeyButton button, UINT virtualKey,
PBYTE keyState, HKL hkl) const {
WCHAR unicode[2];
int n = m_ToUnicodeEx(
@@ -1308,7 +1308,7 @@ KeyID MSWindowsKeyState::getIDForKey(
// as an alternative, we could use the returned
// buffer in unicode to look at the dead key character
// and not rely on getDeadKey to provide the mapping
- return synergy::KeyMap::getDeadKey(id);
+ return deskflow::KeyMap::getDeadKey(id);
}
default:
case 0:
@@ -1327,7 +1327,7 @@ KeyID MSWindowsKeyState::getIDForKey(
}
void MSWindowsKeyState::addKeyEntry(
- synergy::KeyMap &keyMap, synergy::KeyMap::KeyItem &item) {
+ deskflow::KeyMap &keyMap, deskflow::KeyMap::KeyItem &item) {
keyMap.addKeyEntry(item);
if (item.m_group == 0) {
m_keyToVKMap[item.m_id] = static_cast(item.m_client);
diff --git a/src/lib/platform/MSWindowsKeyState.h b/src/lib/platform/MSWindowsKeyState.h
index 7dbdd5e4c..7dadc5af1 100644
--- a/src/lib/platform/MSWindowsKeyState.h
+++ b/src/lib/platform/MSWindowsKeyState.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2003 Chris Schoeneman
*
@@ -20,7 +20,7 @@
#include "base/String.h"
#include "common/stdvector.h"
-#include "synergy/KeyState.h"
+#include "deskflow/KeyState.h"
#define WIN32_LEAN_AND_MEAN
#include
@@ -41,7 +41,7 @@ public:
std::vector layouts, bool isLangSyncEnabled);
MSWindowsKeyState(
MSWindowsDesks *desks, void *eventTarget, IEventQueue *events,
- synergy::KeyMap &keyMap, std::vector layouts,
+ deskflow::KeyMap &keyMap, std::vector layouts,
bool isLangSyncEnabled);
virtual ~MSWindowsKeyState();
@@ -164,7 +164,7 @@ public:
protected:
// KeyState overrides
- virtual void getKeyMap(synergy::KeyMap &keyMap);
+ virtual void getKeyMap(deskflow::KeyMap &keyMap);
virtual void fakeKey(const Keystroke &keystroke);
virtual KeyModifierMask &getActiveModifiersRValue();
@@ -178,10 +178,10 @@ private:
void setWindowGroup(SInt32 group);
KeyID getIDForKey(
- synergy::KeyMap::KeyItem &item, KeyButton button, UINT virtualKey,
+ deskflow::KeyMap::KeyItem &item, KeyButton button, UINT virtualKey,
PBYTE keyState, HKL hkl) const;
- void addKeyEntry(synergy::KeyMap &keyMap, synergy::KeyMap::KeyItem &item);
+ void addKeyEntry(deskflow::KeyMap &keyMap, deskflow::KeyMap::KeyItem &item);
void init();
diff --git a/src/lib/platform/MSWindowsPowerManager.cpp b/src/lib/platform/MSWindowsPowerManager.cpp
index dee434d78..02ab7fc8f 100644
--- a/src/lib/platform/MSWindowsPowerManager.cpp
+++ b/src/lib/platform/MSWindowsPowerManager.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2021 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/lib/platform/MSWindowsPowerManager.h b/src/lib/platform/MSWindowsPowerManager.h
index fcc843b39..75df747f7 100644
--- a/src/lib/platform/MSWindowsPowerManager.h
+++ b/src/lib/platform/MSWindowsPowerManager.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2021 Symless Ltd.
* Copyright (C) 2008 Volker Lanz (vl@fidra.de)
*
diff --git a/src/lib/platform/MSWindowsScreen.cpp b/src/lib/platform/MSWindowsScreen.cpp
index b6c77ff00..6a2228fb0 100644
--- a/src/lib/platform/MSWindowsScreen.cpp
+++ b/src/lib/platform/MSWindowsScreen.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -26,6 +26,12 @@
#include "base/TMethodEventJob.h"
#include "base/TMethodJob.h"
#include "client/Client.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgsBase.h"
+#include "deskflow/ClientApp.h"
+#include "deskflow/Clipboard.h"
+#include "deskflow/KeyMap.h"
+#include "deskflow/XScreen.h"
#include "mt/Thread.h"
#include "platform/MSWindowsClipboard.h"
#include "platform/MSWindowsDesks.h"
@@ -33,12 +39,6 @@
#include "platform/MSWindowsEventQueueBuffer.h"
#include "platform/MSWindowsKeyState.h"
#include "platform/MSWindowsScreenSaver.h"
-#include "synergy/App.h"
-#include "synergy/ArgsBase.h"
-#include "synergy/ClientApp.h"
-#include "synergy/Clipboard.h"
-#include "synergy/KeyMap.h"
-#include "synergy/XScreen.h"
#include
#include
@@ -93,7 +93,7 @@ MSWindowsScreen *MSWindowsScreen::s_screen = NULL;
MSWindowsScreen::MSWindowsScreen(
bool isPrimary, bool noHooks, bool stopOnDeskSwitch, IEventQueue *events,
- bool enableLangSync, synergy::ClientScrollDirection scrollDirection)
+ bool enableLangSync, deskflow::ClientScrollDirection scrollDirection)
: PlatformScreen(events, scrollDirection),
m_isPrimary(isPrimary),
m_noHooks(noHooks),
@@ -146,7 +146,7 @@ MSWindowsScreen::MSWindowsScreen(
updateScreenShape();
m_class = createWindowClass();
- m_window = createWindow(m_class, "Synergy");
+ m_window = createWindow(m_class, "Deskflow");
forceShowCursor();
LOG(
(CLOG_DEBUG "screen shape: %d,%d %dx%d %s", m_x, m_y, m_w, m_h,
@@ -313,8 +313,8 @@ bool MSWindowsScreen::leave() {
if (!getThisCursorPos(&pos)) {
LOG((CLOG_DEBUG "unable to leave screen as windows security has disabled "
"critical functions"));
- // unable to get position this means synergy will break if the cursor leaves
- // the screen
+ // unable to get position this means deskflow will break if the cursor
+ // leaves the screen
return false;
}
// get keyboard layout of foreground window. we'll use this
@@ -418,7 +418,7 @@ void MSWindowsScreen::checkClipboards() {
// next reboot we do this double check. clipboard ownership
// won't be reflected on other screens until we leave but at
// least the clipboard itself will work.
- if (m_ownClipboard && !MSWindowsClipboard::isOwnedBySynergy()) {
+ if (m_ownClipboard && !MSWindowsClipboard::isOwnedByDeskflow()) {
LOG((CLOG_DEBUG
"clipboard changed: lost ownership and no notification received"));
m_ownClipboard = false;
@@ -571,7 +571,8 @@ void MSWindowsScreen::warpCursor(SInt32 x, SInt32 y) {
// remove all input events before and including warp
MSG msg;
while (PeekMessage(
- &msg, NULL, SYNERGY_MSG_INPUT_FIRST, SYNERGY_MSG_INPUT_LAST, PM_REMOVE)) {
+ &msg, NULL, DESKFLOW_MSG_INPUT_FIRST, DESKFLOW_MSG_INPUT_LAST,
+ PM_REMOVE)) {
// do nothing
}
@@ -652,13 +653,13 @@ UInt32 MSWindowsScreen::registerHotKey(KeyID key, KeyModifierMask mask) {
m_hotKeys.erase(id);
LOG(
(CLOG_WARN "failed to register hotkey %s (id=%04x mask=%04x)",
- synergy::KeyMap::formatKey(key, mask).c_str(), key, mask));
+ deskflow::KeyMap::formatKey(key, mask).c_str(), key, mask));
return 0;
}
LOG(
(CLOG_DEBUG "registered hotkey %s (id=%04x mask=%04x) as id=%d",
- synergy::KeyMap::formatKey(key, mask).c_str(), key, mask, id));
+ deskflow::KeyMap::formatKey(key, mask).c_str(), key, mask, id));
return id;
}
@@ -822,7 +823,7 @@ ATOM MSWindowsScreen::createWindowClass() const {
classInfo.hCursor = NULL;
classInfo.hbrBackground = NULL;
classInfo.lpszMenuName = NULL;
- classInfo.lpszClassName = "Synergy";
+ classInfo.lpszClassName = "Deskflow";
classInfo.hIconSm = NULL;
return RegisterClassEx(&classInfo);
}
@@ -913,10 +914,10 @@ bool MSWindowsScreen::onPreDispatch(
HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) {
// handle event
switch (message) {
- case SYNERGY_MSG_SCREEN_SAVER:
+ case DESKFLOW_MSG_SCREEN_SAVER:
return onScreensaver(wParam != 0);
- case SYNERGY_MSG_DEBUG:
+ case DESKFLOW_MSG_DEBUG:
LOG((CLOG_DEBUG1 "hook: 0x%08x 0x%08x", wParam, lParam));
return true;
}
@@ -934,24 +935,24 @@ bool MSWindowsScreen::onPreDispatchPrimary(
// handle event
switch (message) {
- case SYNERGY_MSG_MARK:
+ case DESKFLOW_MSG_MARK:
return onMark(static_cast(wParam));
- case SYNERGY_MSG_KEY:
+ case DESKFLOW_MSG_KEY:
return onKey(wParam, lParam);
- case SYNERGY_MSG_MOUSE_BUTTON:
+ case DESKFLOW_MSG_MOUSE_BUTTON:
return onMouseButton(wParam, lParam);
- case SYNERGY_MSG_MOUSE_MOVE:
+ case DESKFLOW_MSG_MOUSE_MOVE:
return onMouseMove(
static_cast(wParam), static_cast(lParam));
- case SYNERGY_MSG_MOUSE_WHEEL:
+ case DESKFLOW_MSG_MOUSE_WHEEL:
// XXX -- support x-axis scrolling
return onMouseWheel(0, static_cast(wParam));
- case SYNERGY_MSG_PRE_WARP: {
+ case DESKFLOW_MSG_PRE_WARP: {
// save position to compute delta of next motion
saveMousePosition(static_cast(wParam), static_cast(lParam));
@@ -962,12 +963,12 @@ bool MSWindowsScreen::onPreDispatchPrimary(
// event.
MSG msg;
do {
- GetMessage(&msg, NULL, SYNERGY_MSG_MOUSE_MOVE, SYNERGY_MSG_POST_WARP);
- } while (msg.message != SYNERGY_MSG_POST_WARP);
+ GetMessage(&msg, NULL, DESKFLOW_MSG_MOUSE_MOVE, DESKFLOW_MSG_POST_WARP);
+ } while (msg.message != DESKFLOW_MSG_POST_WARP);
}
return true;
- case SYNERGY_MSG_POST_WARP:
+ case DESKFLOW_MSG_POST_WARP:
LOG((CLOG_WARN "unmatched post warp"));
return true;
@@ -1271,7 +1272,7 @@ bool MSWindowsScreen::onMouseButton(WPARAM wParam, LPARAM lParam) {
}
// here's how mouse movements are sent across the network to a client:
-// 1. synergy checks the mouse position on server screen
+// 1. deskflow checks the mouse position on server screen
// 2. records the delta (current x,y minus last x,y)
// 3. records the current x,y as "last" (so we can calc delta next time)
// 4. on the server, puts the cursor back to the center of the screen
@@ -1364,14 +1365,14 @@ bool MSWindowsScreen::onScreensaver(bool activated) {
// the screen saver is disabled!
MSG msg;
if (PeekMessage(
- &msg, NULL, SYNERGY_MSG_SCREEN_SAVER, SYNERGY_MSG_SCREEN_SAVER,
+ &msg, NULL, DESKFLOW_MSG_SCREEN_SAVER, DESKFLOW_MSG_SCREEN_SAVER,
PM_NOREMOVE)) {
return true;
}
if (activated) {
if (!m_screensaverActive &&
- m_screensaver->checkStarted(SYNERGY_MSG_SCREEN_SAVER, FALSE, 0)) {
+ m_screensaver->checkStarted(DESKFLOW_MSG_SCREEN_SAVER, FALSE, 0)) {
m_screensaverActive = true;
sendEvent(m_events->forIPrimaryScreen().screensaverActivated());
}
@@ -1424,7 +1425,7 @@ bool MSWindowsScreen::onDisplayChange() {
bool MSWindowsScreen::onClipboardChange() {
// now notify client that somebody changed the clipboard (unless
// we're the owner).
- if (!MSWindowsClipboard::isOwnedBySynergy()) {
+ if (!MSWindowsClipboard::isOwnedByDeskflow()) {
if (m_ownClipboard) {
LOG((CLOG_DEBUG "clipboard changed: lost ownership"));
m_ownClipboard = false;
@@ -1434,7 +1435,7 @@ bool MSWindowsScreen::onClipboardChange() {
m_events->forClipboard().clipboardGrabbed(), kClipboardSelection);
}
} else if (!m_ownClipboard) {
- LOG((CLOG_DEBUG "clipboard changed: synergy owned"));
+ LOG((CLOG_DEBUG "clipboard changed: deskflow owned"));
m_ownClipboard = true;
}
@@ -1443,7 +1444,7 @@ bool MSWindowsScreen::onClipboardChange() {
void MSWindowsScreen::warpCursorNoFlush(SInt32 x, SInt32 y) {
// send an event that we can recognize before the mouse warp
- PostThreadMessage(GetCurrentThreadId(), SYNERGY_MSG_PRE_WARP, x, y);
+ PostThreadMessage(GetCurrentThreadId(), DESKFLOW_MSG_PRE_WARP, x, y);
// warp mouse. hopefully this inserts a mouse motion event
// between the previous message and the following message.
@@ -1493,7 +1494,7 @@ void MSWindowsScreen::warpCursorNoFlush(SInt32 x, SInt32 y) {
ARCH->sleep(0.0);
// send an event that we can recognize after the mouse warp
- PostThreadMessage(GetCurrentThreadId(), SYNERGY_MSG_POST_WARP, 0, 0);
+ PostThreadMessage(GetCurrentThreadId(), DESKFLOW_MSG_POST_WARP, 0, 0);
}
void MSWindowsScreen::nextMark() {
@@ -1501,7 +1502,7 @@ void MSWindowsScreen::nextMark() {
++m_mark;
// mark point in message queue where the mark was changed
- PostThreadMessage(GetCurrentThreadId(), SYNERGY_MSG_MARK, m_mark, 0);
+ PostThreadMessage(GetCurrentThreadId(), DESKFLOW_MSG_MARK, m_mark, 0);
}
bool MSWindowsScreen::ignore() const { return (m_mark != m_markReceived); }
diff --git a/src/lib/platform/MSWindowsScreen.h b/src/lib/platform/MSWindowsScreen.h
index 0996151cb..a9421f2ba 100644
--- a/src/lib/platform/MSWindowsScreen.h
+++ b/src/lib/platform/MSWindowsScreen.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,14 +19,14 @@
#pragma once
#include "base/String.h"
+#include "deskflow/ClientArgs.h"
+#include "deskflow/DragInformation.h"
+#include "deskflow/PlatformScreen.h"
#include "mt/CondVar.h"
#include "mt/Mutex.h"
#include "platform/MSWindowsHook.h"
#include "platform/MSWindowsPowerManager.h"
-#include "platform/synwinhk.h"
-#include "synergy/ClientArgs.h"
-#include "synergy/DragInformation.h"
-#include "synergy/PlatformScreen.h"
+#include "platform/dfwhook.h"
#define WIN32_LEAN_AND_MEAN
#include
@@ -44,8 +44,8 @@ public:
MSWindowsScreen(
bool isPrimary, bool noHooks, bool stopOnDeskSwitch, IEventQueue *events,
bool enableLangSync = false,
- synergy::ClientScrollDirection scrollDirection =
- synergy::ClientScrollDirection::SERVER);
+ deskflow::ClientScrollDirection scrollDirection =
+ deskflow::ClientScrollDirection::SERVER);
virtual ~MSWindowsScreen();
//! @name manipulators
diff --git a/src/lib/platform/MSWindowsScreenSaver.cpp b/src/lib/platform/MSWindowsScreenSaver.cpp
index bdd255215..94f91f7bf 100644
--- a/src/lib/platform/MSWindowsScreenSaver.cpp
+++ b/src/lib/platform/MSWindowsScreenSaver.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsScreenSaver.h b/src/lib/platform/MSWindowsScreenSaver.h
index 825c4b184..6483dc545 100644
--- a/src/lib/platform/MSWindowsScreenSaver.h
+++ b/src/lib/platform/MSWindowsScreenSaver.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
*
@@ -19,7 +19,7 @@
#pragma once
#include "base/String.h"
-#include "synergy/IScreenSaver.h"
+#include "deskflow/IScreenSaver.h"
#define WIN32_LEAN_AND_MEAN
#include
diff --git a/src/lib/platform/MSWindowsSession.cpp b/src/lib/platform/MSWindowsSession.cpp
index a00ff4ce5..894654350 100644
--- a/src/lib/platform/MSWindowsSession.cpp
+++ b/src/lib/platform/MSWindowsSession.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
#include "arch/win32/XArchWindows.h"
#include "base/Log.h"
-#include "synergy/XSynergy.h"
+#include "deskflow/XDeskflow.h"
#include
diff --git a/src/lib/platform/MSWindowsSession.h b/src/lib/platform/MSWindowsSession.h
index 03a86d343..0f3056598 100644
--- a/src/lib/platform/MSWindowsSession.h
+++ b/src/lib/platform/MSWindowsSession.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2013-2016 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
diff --git a/src/lib/platform/MSWindowsUtil.cpp b/src/lib/platform/MSWindowsUtil.cpp
index 1518241ae..bf0c0f420 100644
--- a/src/lib/platform/MSWindowsUtil.cpp
+++ b/src/lib/platform/MSWindowsUtil.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
@@ -45,8 +45,8 @@ MSWindowsUtil::getErrorString(HINSTANCE hinstance, DWORD error, DWORD id) {
FORMAT_MESSAGE_FROM_SYSTEM,
0, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&buffer,
0, NULL) == 0) {
- String errorString = synergy::string::sprintf("%d", error);
- return synergy::string::format(
+ String errorString = deskflow::string::sprintf("%d", error);
+ return deskflow::string::format(
getString(hinstance, id).c_str(), errorString.c_str());
} else {
String result(buffer);
diff --git a/src/lib/platform/MSWindowsUtil.h b/src/lib/platform/MSWindowsUtil.h
index 986913fe9..39156d138 100644
--- a/src/lib/platform/MSWindowsUtil.h
+++ b/src/lib/platform/MSWindowsUtil.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2004 Chris Schoeneman
*
diff --git a/src/lib/platform/MSWindowsWatchdog.cpp b/src/lib/platform/MSWindowsWatchdog.cpp
index 6e3d7e1dc..a773a6598 100644
--- a/src/lib/platform/MSWindowsWatchdog.cpp
+++ b/src/lib/platform/MSWindowsWatchdog.cpp
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2009 Chris Schoeneman
*
@@ -24,12 +24,12 @@
#include "base/TMethodJob.h"
#include "base/log_outputters.h"
#include "common/ipc.h"
+#include "deskflow/App.h"
+#include "deskflow/ArgsBase.h"
#include "ipc/IpcLogOutputter.h"
#include "ipc/IpcMessage.h"
#include "ipc/IpcServer.h"
#include "mt/Thread.h"
-#include "synergy/App.h"
-#include "synergy/ArgsBase.h"
#include
#include
@@ -161,7 +161,7 @@ HANDLE
MSWindowsWatchdog::getUserToken(LPSECURITY_ATTRIBUTES security) {
// always elevate if we are at the vista/7 login screen. we could also
// elevate for the uac dialog (consent.exe) but this would be pointless,
- // since synergy would re-launch as non-elevated after the desk switch,
+ // since deskflow would re-launch as non-elevated after the desk switch,
// and so would be unusable with the new elevated process taking focus.
if (m_elevateProcess || m_autoElevated ||
m_session.isProcessInSession("logonui.exe", NULL)) {
@@ -526,9 +526,9 @@ void MSWindowsWatchdog::shutdownProcess(HANDLE handle, DWORD pid, int timeout) {
double elapsed = (ARCH->time() - start);
if (elapsed > timeout) {
// if timeout reached, kill forcefully.
- // calling TerminateProcess on synergy is very bad!
+ // calling TerminateProcess on deskflow is very bad!
// it causes the hook DLL to stay loaded in some apps,
- // making it impossible to start synergy again.
+ // making it impossible to start deskflow again.
LOG(
(CLOG_WARN
"shutdown timed out after %d secs, forcefully terminating",
@@ -571,9 +571,9 @@ void MSWindowsWatchdog::shutdownExistingProcesses() {
// make sure we're not checking the system process
if (entry.th32ProcessID != 0) {
- if (_stricmp(entry.szExeFile, "synergyc.exe") == 0 ||
- _stricmp(entry.szExeFile, "synergys.exe") == 0 ||
- _stricmp(entry.szExeFile, "synergy-core.exe") == 0) {
+ if (_stricmp(entry.szExeFile, "deskflowc.exe") == 0 ||
+ _stricmp(entry.szExeFile, "deskflows.exe") == 0 ||
+ _stricmp(entry.szExeFile, "deskflow-core.exe") == 0) {
HANDLE handle =
OpenProcess(PROCESS_ALL_ACCESS, FALSE, entry.th32ProcessID);
@@ -604,13 +604,13 @@ void MSWindowsWatchdog::shutdownExistingProcesses() {
void MSWindowsWatchdog::getActiveDesktop(LPSECURITY_ATTRIBUTES security) {
String installedDir = ARCH->getInstalledDirectory();
if (!installedDir.empty()) {
- String syntoolCommand;
- syntoolCommand.append("\"")
- .append(installedDir)
- .append("\\")
- .append("syntool")
- .append("\"");
- syntoolCommand.append(" --get-active-desktop");
+ String deskflow - legacyCommand;
+ deskflow - legacyCommand.append("\"")
+ .append(installedDir)
+ .append("\\")
+ .append("deskflow-legacy")
+ .append("\"");
+ deskflow - legacyCommand.append(" --get-active-desktop");
m_session.updateActiveSession();
bool elevateProcess = m_elevateProcess;
@@ -618,13 +618,14 @@ void MSWindowsWatchdog::getActiveDesktop(LPSECURITY_ATTRIBUTES security) {
HANDLE userToken = getUserToken(security);
m_elevateProcess = elevateProcess;
- BOOL createRet = startProcessAsUser(syntoolCommand, userToken, security);
+ BOOL createRet =
+ startProcessAsUser(deskflow - legacyCommand, userToken, security);
auto pid = m_processInfo.dwProcessId;
if (!createRet) {
DWORD rc = GetLastError();
RevertToSelf();
} else {
- LOG((CLOG_DEBUG "launched syntool to check active desktop"));
+ LOG((CLOG_DEBUG "launched deskflow-legacy to check active desktop"));
}
ARCH->lockMutex(m_mutex);
diff --git a/src/lib/platform/MSWindowsWatchdog.h b/src/lib/platform/MSWindowsWatchdog.h
index 4e4bfa60e..698ffbaca 100644
--- a/src/lib/platform/MSWindowsWatchdog.h
+++ b/src/lib/platform/MSWindowsWatchdog.h
@@ -1,5 +1,5 @@
/*
- * synergy -- mouse and keyboard sharing utility
+ * Deskflow -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2009 Chris Schoeneman
*
@@ -19,8 +19,8 @@
#pragma once
#include "arch/IArchMultithread.h"
+#include "deskflow/XDeskflow.h"
#include "platform/MSWindowsSession.h"
-#include "synergy/XSynergy.h"
#include