Volker Krause
f00e04c07d
Don't set an absolute D-Bus service path on Windows and macOS
2024-09-28 15:53:56 +00:00
Albert Vaca Cintora
bbcbec7709
Refactor macOS startup code
...
Moves all the stuff that is needed to start DBus on macOS (which for some reason it needs several steps, involving the use of `launchctl`) into a single `startDBusDaemon()` function. Before, it was spread into `kdeconnectconfig.cpp`, `indicatorhelper_mac.cpp` and `dbushelper.cpp`.
It also removes checking for an existing DBus daemon and always starts our own, since in most cases we couldn't connect to it anyway. This, together with removing the sleep in the retries when polling for the DBus daemon from 3s to 100ms, makes the startup much faster, so I removed the loading splash screen.
2024-09-21 09:27:24 +00:00
Albert Vaca Cintora
6374d863d2
Fix clang-format
2024-09-13 17:10:59 +02:00
Albert Vaca Cintora
da07bce897
Split DesktopDaemon into its own files
2024-09-13 00:44:38 +02:00
Albert Vaca Cintora
0477bc93d0
Revert "Revert "Use absolute path in D-Bus service file""
...
This reverts commit 01a2db20c4
2024-09-12 08:03:07 +00:00
Albert Vaca Cintora
01a2db20c4
Revert "Use absolute path in D-Bus service file"
...
This reverts commit c322ba5a70
2024-09-11 17:28:42 +00:00
Volker Krause
c322ba5a70
Use absolute path in D-Bus service file
...
That's what is done everywhere else, and it is needed to work with install
locations not in PATH from the perspective of the D-Bus daemon.
2024-08-20 17:31:32 +02:00
Nicolas Fella
75bd1c694e
Enable KCrash for all executables
2024-08-01 11:23:02 +00:00
l10n daemon script
aa009cfd85
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-09 01:17:55 +00:00
Albert Vaca Cintora
af4ce1c33c
Show pairing keys everywhere and always shorten to 8 chars
...
The previous key was 64 freakin characters long which made it more prone
to being ignored, and thus less secure.
2024-05-18 20:26:48 +00:00
l10n daemon script
cd22528bab
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-05-04 01:21:06 +00:00
Aleix Pol
5921ab6f2a
Drop Qt5-only code branches
2024-04-27 17:46:39 +02:00
l10n daemon script
ab49f96c74
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-03-28 01:18:01 +00:00
Aleix Pol Gonzalez
695133e69d
Apply 2 suggestion(s) to 2 file(s)
2024-03-06 22:18:59 +00:00
Albert Vaca Cintora
e04c43882c
Don't install kdeconnectd in libexec
...
Few programs use libexec so it's not well known and there's no real
reason to "hide" our daemon binary in case somebody wants to run it
manually.
2024-03-06 22:18:59 +00:00
l10n daemon script
9e699c3e54
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-01-29 01:11:56 +00:00
Laurent Montel
9a2de928a1
Use StartupNotify now instead of X-KDE-StartupNotify
2024-01-18 07:33:29 +01:00
l10n daemon script
59dd54a115
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-01-15 01:13:08 +00:00
Andreas Sturmlechner
79bc9a85e4
Cleanup all occurences of QT_MAJOR_VERSION in cmake
...
Follow-up to 7f03aa548c
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 17:49:07 +01:00
Alexander Lohnau
fd3de36d0b
Do not rely on KIO source-code compat code
...
Instead, explicitly include the needed job headers
Needed for https://invent.kde.org/frameworks/kio/-/merge_requests/1525 to land
2023-12-27 14:37:29 +01:00
Rob Emery
4dba3394a7
Bluetooth support improvements #1 ( !600 )
...
Android counterpart: https://invent.kde.org/network/kdeconnect-android/-/merge_requests/399
Bluetooth support is now enabled by default.
2023-11-20 18:09:13 +00:00
l10n daemon script
d3c2d52c3b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-11-07 02:12:13 +00:00
Nicolas Fella
0343c9401d
Port to new KNotifications action API
2023-11-04 13:40:22 +01:00
l10n daemon script
4b1b1b9b14
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-11-04 11:52:33 +00:00
Alexander Lohnau
e598a997e7
Use initializer list syntax where appropiate
2023-08-07 19:28:37 +02:00
l10n daemon script
885d311b31
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-07-28 01:41:47 +00:00
Alexander Lohnau
87c9032ab9
kdeconnectd: Make QByteArray->const char* conversion explicit
...
With latest ECM settings, this gives a Qt6 error
2023-07-25 18:29:38 +02:00
Alexander Lohnau
e957f8f90e
Fix kdeconnect daemon quitting in Qt6
2023-07-25 18:29:38 +02:00
Alexander Lohnau
f740a8bda8
Use target-centric CMake approach for declaring debug category
...
This makes it easier to read, because we do not have to handle a list of
files that get added to the targets. In other KDE projects, we also
prefer the target centric approach.
In case one wants to reuse the same category in multiple places, it
would be best to create a small static lib. But for now, this is not
needed.
2023-07-22 20:51:19 +00:00
Alexander Lohnau
f3998e4b5f
Fix windows build issues
...
- Add dummy args param to QProcess::startDetached
- Remove logging category from inline snippet. This was removed due to
being unused in non-windows builds.
2023-07-22 19:12:28 +02:00
Alexander Lohnau
1ee75463e0
Get rid of QOverload/static_cast for overloaded signals
...
By exclusing deprecated API in the KF5 build, the deprecated signal no
longer cause an ambiguity
2023-07-22 16:17:24 +02:00
Alexander Lohnau
5a87000e3b
daemon/kdeconnectd: Use QOverload with undeprecated signal
...
This will work in both KF5 and KF6
2023-07-20 11:16:04 +03:00
Alexander Lohnau
c5bfc4a5b0
Allow building against Qt6/KF6
2023-07-20 11:15:41 +03:00
Albert Vaca Cintora
9c87393b28
clang-format pass
2023-07-16 16:20:34 +02:00
Albert Vaca Cintora
d3590c37eb
Revert "Do not autostart the UI from the daemon on Windows"
...
This is here because the kdeconnect shortcut launches the
app, not the systray. The app launches the daemon via dbus
but without this, we don't have a systray.
Ideally the systray and daemon would be the same process.
Also ideally we would have a way to launch the daemon and
systray at boot, so people don't have to launch the app
just for the side effect of starting the daemon.
This reverts commit 1dcfaf5108
.
2023-07-11 20:41:36 +02:00
Albert Vaca Cintora
1dcfaf5108
Do not autostart the UI from the daemon on Windows
2023-07-06 01:02:19 +02:00
Albert Vaca Cintora
0a0c990501
Fix daemon hanging on Windows when loading the window icon
...
I'm not sure why this started failing suddenly (or if it's only on my
machine), but changing the icon from svg to png solves the problem.
2023-06-28 00:03:11 +02:00
Albert Vaca Cintora
1ba446d1c5
Get the output when running kdeconnectd from the console on Windows
2023-06-27 23:52:48 +02:00
Albert Vaca Cintora
5a93a48973
Hide macos-only setting on non-macos
2023-06-07 21:46:20 +02:00
Albert Vaca Cintora
064ddfa3fe
Refactor PairingHandler
...
We now have a single PairingHandler for all types of links.
The implementation now is more aligned with the one for Android.
2023-06-02 16:38:52 +00:00
Albert Vaca Cintora
6e2f218b55
Follow-up to my previous commit (fixes build)
2023-04-10 10:52:29 +02:00
Albert Vaca Cintora
74caaface0
Further KIO::AccessManager cleanup
2023-04-10 08:29:48 +00:00
Nicolas Fella
2c2e883288
Don't use KIO::AccessManager
...
The main thing it provides over QNetworkAccessManager is integration
with the CookieJar and using kio-http, but since we jsut exchange bytes
from another local device that's not interesting for us
2023-04-10 08:29:48 +00:00
l10n daemon script
9ee562cac3
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-03-05 01:58:22 +00:00
l10n daemon script
b5ab505074
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-02-02 02:03:13 +00:00
Aleix Pol
851e456210
Use the RemoteDesktop portal to input from wayland
...
Cross-desktop approach to moving the cursor remotely on wayland. Should
work on X11 too, so we can consider drop the other one as well.
It adds support for receiving full text as well, which didn't use to be
possible.
2023-01-16 18:14:47 +01:00
l10n daemon script
e712748881
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-11-17 01:47:30 +00:00
Volker Krause
002848efa8
Adapt build system to also support Qt 6
...
This is complicated by the Qt 5.6 requirement of SailfishOS, hopefully
that didn't get broken by this.
2022-10-29 16:51:41 +02:00
l10n daemon script
e77ba5b542
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-10-20 02:01:51 +00:00
l10n daemon script
f556dc721b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-30 01:47:48 +00:00