Commit graph

3934 commits

Author SHA1 Message Date
Alexander Lohnau
042adebd0a Port to updeprecated KJob::processedAmountChanged signal 2023-07-20 11:16:04 +03:00
Alexander Lohnau
3effb006f3 interfaces: Build lib in Qt6 STATIC
Otherwise, the Q_OBJECT stuff is not properly exported and will result in linker errors
2023-07-20 11:16:04 +03:00
Alexander Lohnau
f759877336 smsapp/conversationlistmodel: Port to QRegularExpression
In Qt5, setFilterFixedString does not change the filterRegularExpression property.
Meaning we need to keep it in the Qt5 build
2023-07-20 11:16:04 +03: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
d50055ddb4 plugins/runcommand: Fix messed up layouting of KCM 2023-07-20 11:15:56 +03:00
Alexander Lohnau
77f44ce943 Port away from deprecated QList::toSet and QSet::toList 2023-07-20 11:15:50 +03:00
Alexander Lohnau
07187fc03a urlhandler: Explicitly link against KConfigWidgets
In KF6, the KIO dependencies no longer pull it in
2023-07-20 11:15:50 +03:00
Alexander Lohnau
afaac2d1b0 Use undeprecated ECM install variable 2023-07-20 11:15:50 +03:00
Alexander Lohnau
52b6d57942 Qt6 build fixes in plugins and KCM 2023-07-20 11:15:46 +03:00
Alexander Lohnau
b4b4837b14 Remove qRegisterMetaTypeStreamOperators call for Qt6 builds 2023-07-20 11:15:46 +03:00
Alexander Lohnau
4e7764f328 Adjust includes/linking for QX11Extras 2023-07-20 11:15:46 +03:00
Alexander Lohnau
a5560dafe6 presenterplugin: Only call setClearBeforeRendering in Qt5
As documented in https://doc.qt.io/qt-6/quick-changes-qt6.html, this
should not be needed 1in Qt6 and was consequently removed.
2023-07-20 11:15:46 +03:00
Alexander Lohnau
a9292f651f Port deprecated KPluginLoader usage 2023-07-20 11:15:46 +03:00
Alexander Lohnau
c5bfc4a5b0 Allow building against Qt6/KF6 2023-07-20 11:15:41 +03:00
l10n daemon script
afad4b335e GIT_SILENT Sync po/docbooks with svn 2023-07-20 01:58:31 +00:00
l10n daemon script
03fe04010c 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-20 01:43:59 +00:00
Albert Vaca Cintora
495e3019e4 Reduce number of optional dependencies
Change some optional dependencies from being optional to being mandatory
or being mandatory but behind on-by-default cmake flags. Eg: instead of
only compiling Wayland support if we find the appropriate libraries, we
always require the libraries unless the user specifies WITH_WAYLAND=OFF.

Optional libraries are hard to discover by packagers (since they don't
see an error once we add them) and create lots of possible build flavors
with a different features that can confuse users.
2023-07-19 17:08:03 +00:00
l10n daemon script
c96559372b GIT_SILENT Sync po/docbooks with svn 2023-07-19 02:36:19 +00:00
l10n daemon script
a57680bb0b 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-19 01:49:03 +00:00
Albert Vaca Cintora
22be63ae9e Remove compatibility with Qt < 5.15
In theory we support Qt 5.6 (because of SailfishOS) but in practice we are not checking that in the CI so probably we broke the compatibility long ago. Also, I don't think anyone is using this code in SailfishOS, so we can greatly simplify the code by requiring Qt 5.15 or later.
2023-07-18 20:13:27 +00:00
l10n daemon script
98b5b71031 GIT_SILENT Sync po/docbooks with svn 2023-07-18 01:54:22 +00:00
Albert Vaca Cintora
20750b7d99 Fixes from code review 2023-07-17 20:41:15 +00:00
Albert Vaca Cintora
bb8e67efc9 Add CMake flag to enable MDNS (off by default) 2023-07-17 20:41:15 +00:00
Albert Vaca Cintora
17dcf80f2d Send UDP identity packets without capabilities only if needed
Instead of always doing so on MacOS, do it only when we get a
DatagramTooLargeError. On MacOS, the size is limited only for
broadcast but not for unicast.
2023-07-17 20:41:15 +00:00
Albert Vaca Cintora
a04d9480a4 Add a way to disable UDP broadcasts for testing 2023-07-17 20:41:15 +00:00
Albert Vaca Cintora
34e0128fe9 Add MDNS discovery 2023-07-17 20:41:15 +00:00
Albert Vaca Cintora
2a1c751ef4 Remove request packets from Battery and Connectivity Report plugins
We already send updates right after connecting and once there's a
change, so this was redundant.
2023-07-17 14:58:59 +00:00
Albert Vaca Cintora
619904b317 Add comment about CI-related repos 2023-07-17 14:54:55 +02:00
Albert Astals Cid
f2888e3e19 GIT_SILENT Upgrade release service version to 23.11.70. 2023-07-17 12:40:09 +02:00
l10n daemon script
d0aa286a5f GIT_SILENT Sync po/docbooks with svn 2023-07-17 01:57:13 +00:00
Albert Vaca Cintora
f218c5f4e5 Fix windows build 2023-07-16 18:01:13 +02:00
Albert Vaca Cintora
cc648ecc77 Add some error checking to cli --share 2023-07-16 16:51:28 +02:00
Albert Vaca Cintora
1956af935f Don't gitignore .clang-format 2023-07-16 16:24:15 +02:00
Albert Vaca Cintora
9c87393b28 clang-format pass 2023-07-16 16:20:34 +02:00
Albert Vaca Cintora
af907cea83 Check for null devices in compositeuploadjob 2023-07-16 15:01:04 +02:00
Albert Vaca Cintora
12a1f33665 Fix crash when sending files 2023-07-16 14:44:31 +02:00
l10n daemon script
5e4302bc4c GIT_SILENT Sync po/docbooks with svn 2023-07-16 01:57:45 +00:00
l10n daemon script
ea12e63695 GIT_SILENT made messages (after extraction) 2023-07-16 00:48:28 +00:00
l10n daemon script
ad13002e54 GIT_SILENT Sync po/docbooks with svn 2023-07-14 02:00:28 +00:00
Albert Vaca Cintora
05f38b064d Fix Windows build when linking against current KF5
We need to link against WinSock2 because we use WSAIoctl to set keepalive
2023-07-12 23:10:24 +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
5796b561bf Simplify the code that reads from the socket line by line
Since sockets are buffered `QIODevices` we can use `canReadLine()` to check
if we have a full line, instead of using a custom `SocketLineReader` class
(and the copy-pasted `DeviceLineReader` in the Bluetooth backend). 

We can also loop through all the lines instead of queuing calls to `dataReceived`.

And we don't need transactions.
2023-07-10 15:58:56 +00:00
l10n daemon script
0a3ca9e90b GIT_SILENT Sync po/docbooks with svn 2023-07-06 02:28:15 +00:00
l10n daemon script
1bb2847f7d GIT_SILENT made messages (after extraction) 2023-07-06 00:58:18 +00:00
Albert Vaca Cintora
1dcfaf5108 Do not autostart the UI from the daemon on Windows 2023-07-06 01:02:19 +02:00
l10n daemon script
ca6ec1d311 GIT_SILENT Sync po/docbooks with svn 2023-07-05 02:26:12 +00:00
l10n daemon script
b4bd53dc17 GIT_SILENT Sync po/docbooks with svn 2023-07-04 02:31:27 +00:00
l10n daemon script
94bd3d1be4 GIT_SILENT Sync po/docbooks with svn 2023-07-01 01:53:41 +00:00
l10n daemon script
db03adb7f6 GIT_SILENT Sync po/docbooks with svn 2023-06-30 01:53:20 +00:00
Heiko Becker
fa5ae7005f GIT_SILENT Update Appstream for new release
(cherry picked from commit 60da4eb622)
2023-06-30 01:21:13 +02:00