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) 2004 Chris Schoeneman
*
@ -194,7 +194,7 @@ OSXKeyState::OSXKeyState(
}
OSXKeyState::OSXKeyState(
IEventQueue *events, synergy::KeyMap &keyMap, std::vector<String> layouts,
IEventQueue *events, deskflow::KeyMap &keyMap, std::vector<String> layouts,
bool isLangSyncEnabled)
: KeyState(events, keyMap, std::move(layouts), isLangSyncEnabled) {
init();
@ -460,7 +460,7 @@ void OSXKeyState::pollPressedKeys(KeyButtonSet &pressedKeys) const {
}
}
void OSXKeyState::getKeyMap(synergy::KeyMap &keyMap) {
void OSXKeyState::getKeyMap(deskflow::KeyMap &keyMap) {
// update keyboard groups
SInt32 numGroups{0};
if (getGroups(m_groups)) {
@ -640,9 +640,9 @@ void OSXKeyState::fakeKey(const Keystroke &keystroke) {
}
void OSXKeyState::getKeyMapForSpecialKeys(
synergy::KeyMap &keyMap, SInt32 group) const {
deskflow::KeyMap &keyMap, SInt32 group) const {
// special keys are insensitive to modifers and none are dead keys
synergy::KeyMap::KeyItem item;
deskflow::KeyMap::KeyItem item;
for (size_t i = 0; i < sizeof(s_controlKeys) / sizeof(s_controlKeys[0]);
++i) {
const KeyEntry &entry = s_controlKeys[i];
@ -653,7 +653,7 @@ void OSXKeyState::getKeyMapForSpecialKeys(
item.m_sensitive = 0;
item.m_dead = false;
item.m_client = 0;
synergy::KeyMap::initModifierKey(item);
deskflow::KeyMap::initModifierKey(item);
keyMap.addKeyEntry(item);
if (item.m_lock) {
@ -670,7 +670,7 @@ void OSXKeyState::getKeyMapForSpecialKeys(
}
bool OSXKeyState::getKeyMap(
synergy::KeyMap &keyMap, SInt32 group, const IOSXKeyResource &r) const {
deskflow::KeyMap &keyMap, SInt32 group, const IOSXKeyResource &r) const {
if (!r.isValid()) {
return false;
}
@ -682,7 +682,7 @@ bool OSXKeyState::getKeyMap(
std::vector<std::pair<KeyID, bool>> buttonKeys(r.getNumTables());
// iterate over each button
synergy::KeyMap::KeyItem item;
deskflow::KeyMap::KeyItem item;
for (UInt32 i = 0; i < r.getNumButtons(); ++i) {
item.m_button = mapVirtualKeyToKeyButton(i);
@ -692,7 +692,7 @@ bool OSXKeyState::getKeyMap(
// convert the entry in each table for this button to a KeyID
for (UInt32 j = 0; j < r.getNumTables(); ++j) {
buttonKeys[j].first = r.getKey(j, i);
buttonKeys[j].second = synergy::KeyMap::isDeadKey(buttonKeys[j].first);
buttonKeys[j].second = deskflow::KeyMap::isDeadKey(buttonKeys[j].first);
}
// iterate over each character table
@ -715,7 +715,7 @@ bool OSXKeyState::getKeyMap(
item.m_group = group;
item.m_dead = buttonKeys[j].second;
item.m_client = buttonKeys[j].second ? 1 : 0;
synergy::KeyMap::initModifierKey(item);
deskflow::KeyMap::initModifierKey(item);
if (item.m_lock) {
// all locking keys are half duplex on OS X
keyMap.addHalfDuplexButton(i);
@ -783,7 +783,7 @@ bool OSXKeyState::getKeyMap(
return true;
}
bool OSXKeyState::mapSynergyHotKeyToMac(
bool OSXKeyState::mapDeskflowHotKeyToMac(
KeyID key, KeyModifierMask mask, UInt32 &macVirtualKey,
UInt32 &macModifierMask) const {
// look up button for key