Use Deskflow Name (#7519)

* Use Deskflow Name

* Remove business-oriented options from issue templates

* Remove business-oriented workflow

* Bump version to 3.0.0 (to avoid confusion with previously used version numbers 1.x & 2.x)

* Update readme to reflect new project name and goals

* Found some more "synergy" to rename

* Rename `synlib` to `app`

* Rename `syntool` to `deskflow-legacy`

* Rename `synwinhk` to `dfwhook`

* Rename dirs from synergy to deskflow

* Rename more "Synergy" files

* Rename app bundle ID

* Fixed copyright typo

* Rename only title in serial key dialog (to be moved downstream later)

* Preserve original serial key window for moving downstream

* Restore dialogs ready for moving downstream

* Rename `QDeskflowApplication` to `DeskflowApplication` (the Q is confusing)

* Restore Volker's original project name

* Fixed mimetype

* Fixed weird grammar

* Fixed (more) weird grammar

* Broken link, restoring (but we should move all links out of source)

* Broken link, restoring (but we should move all links out of source)

* Add write permission to valgrind-analysis.yml

* Restore AUR conflicts

* Apply Clang format

* Update ChangeLog

* Back out version change

---------

Co-authored-by: Nick Bolton <nick@symless.com>
This commit is contained in:
Chris Rizzitello
2024-09-17 15:00:25 -04:00
committed by GitHub
parent 1fa4b9631b
commit ed1217e9cc
839 changed files with 2872 additions and 3051 deletions

View File

@ -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<String> layouts,
deskflow::KeyMap &keyMap, std::vector<String> 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<UINT>(item.m_client);