Aleix Pol
d4cf48901c
SocketLineReader: don't call packets bytes
2020-09-16 02:16:06 +02:00
Nicolas Fella
400c800deb
[app] Add plugin settings page
...
Include a page that allows (de)selecting and configuring plugins
This is one of the last missing pieces for feature parity with the KCM.
2020-09-08 20:33:20 +02:00
Richard Liebscher
8d16d05c8a
Custom devices
2020-08-18 21:55:24 +02:00
Nicolas Fella
87db95b22f
Convert license headers to SPDX expressions
2020-08-17 09:48:10 +00:00
Piyush Aggarwal
771c9dcd22
fix code indentation in lanlinkprovider
2020-08-07 21:22:28 +00:00
Piyush Aggarwal
e3225a1430
fix QSslKey::ca-certificate deprecated warning
2020-08-07 21:22:28 +00:00
Richard Liebscher
f1b3c0e0ca
Better device name in Sailfish OS
2020-08-02 19:19:27 +00:00
Richard Liebscher
f3656d962c
Save changed device name and type
2020-08-02 18:34:02 +02:00
Nicolas Fella
79164ca8ba
Replace manual include dir handling with interface target
...
We use kdeconnect-version.h in several places and therefore it needs to be in the include path. We currently do this by setting target_include_path in a few places. Replace this with an interface library that we can link against that sets up the correct include path. IMO it is cleaner this way.
2020-07-30 10:53:48 +02:00
Antonio Larrosa
1d36164230
Use ecm_qt_declare_logging_category to declare the logging categories
...
This automatizes the generation of logging categories so a
kdeconnect-kde.categories is generated and installed to
/usr/share/qlogging-categories5/ so kdebugsettings can use it.
Also, sets the default logging level to Warning. So now the logs
of users won't be filled with debug messages but they can
modify the configuration easily with kdebugsettings.
2020-05-26 18:55:47 +02:00
Nicolas Fella
93e68756bc
Port away from deprecated error signal
2020-05-09 17:21:14 +00:00
Nicolas Fella
4254b23d5d
trim some whitespace
2020-05-09 16:46:52 +02:00
Nicolas Fella
9277cc537a
Implement basic device type detection
2020-04-24 12:24:56 +00:00
Abdel-Rahman Abdel-Rahman
2728f8d864
Close all sockets before suspension
2020-04-16 22:32:57 +00:00
Nicolas Fella
1a9c2dbc4c
Fix coding style
2020-04-10 23:43:06 +02:00
Nicolas Fella
28e7e99100
Merge branch 'release/20.04'
2020-03-21 21:21:02 +01:00
Nicolas Fella
eac1e07e29
Revert "Make default name and device type customizable"
...
This causes a crash described in https://invent.kde.org/kde/kdeconnect-kde/-/merge_requests/206#note_37534
This reverts commit a39a2d562d
.
2020-03-21 21:13:41 +01:00
Nicolas Fella
2c8cf96a6c
Read payload size as qint64
2020-03-20 19:54:47 +00:00
Richard Liebscher
e066ef9236
Vergotten include in !190
2020-03-10 19:49:41 +00:00
Richard Liebscher
a39a2d562d
Make default name and device type customizable
2020-03-01 20:55:40 +00:00
Richard Liebscher
bb5539c8c3
Make plugins work in SailfishConnect
2020-03-01 20:00:40 +00:00
Nicolas Fella
6025f7cc48
Remove usused includes
2020-01-20 22:35:37 +01:00
Richard Liebscher
456d4830fe
Made code more explicit and additional tests.
2020-01-04 14:13:36 +01:00
Richard Liebscher
5c0ad3fb85
Remove payload keys when no payload exists
2020-01-03 15:48:48 +01:00
Yuri Chornoivan
ba8ee54558
Fix minor typos
2019-12-22 10:15:58 +02:00
Yuri Chornoivan
01c4d0411b
Fix minor EBN issues
2019-12-22 09:49:55 +02:00
Yuri Chornoivan
88fd5eb63d
Do not extract messages from the non-existent .ui and .rc files
2019-12-21 10:04:31 +02:00
Kai Uwe Broulik
5da0ae7903
Set total amount of files
...
Ensures the progress dialog can show the total number of files
and offer additional actions for when a single file was copied.
2019-12-19 15:58:05 +01:00
Richard Liebscher
ba34672cbd
Make build for SailfishConnect possible
2019-12-09 22:14:19 +00:00
Nicolas Fella
724a5a14a8
Don't use KIO in core when building for Sailfish
2019-10-27 19:35:18 +00:00
Nicolas Fella
8a25eb6f8a
Fix mac build
2019-09-18 14:56:45 +02:00
Nicolas Fella
39fe270cd1
Port Kdeconnectconfig to reference based singleton
...
It's more expressive in the sense that it makes clear that the user should not delete the object
2019-09-08 17:09:52 +02:00
Erik Duisters
f91b9e9951
Setting m_payloadSize is already handled by qvariant2qobject and it is of type qint64 not int
2019-08-21 19:37:38 +02:00
Nicolas Fella
0d7c504cf0
Rename DbusHelper => DBusHelper
2019-08-14 17:36:19 +02:00
Piyush Aggarwal
ccc8bb8a0e
Split config issue fix for Win32 build
2019-08-01 14:01:50 +00:00
Weixuan Xiao
5fadeabce8
Optimization for executable path and resource path on macOS
2019-07-30 13:46:18 +00:00
Nicolas Fella
607b9a6566
Revert "Use ecm_qt_declare_logging_category"
...
It's missing stuff to work properly. Revert until I figured that out
This reverts commit 8a118a6fae
.
2019-07-22 21:29:54 +02:00
Albert Astals Cid
af1255ed99
Use "new" connect syntax
2019-07-21 18:57:09 +00:00
Albert Astals Cid
1f8ba004f8
Use default NetworkPacket copy constuctor and assignment operator
...
clazy was complaining that the class had copy constructor but no assignment operator, which is usually suspicious
This is a bit of behaviour change though, since now m_payloadTransferInfo is also copied, which before wasn't, not sure if this is actually a good or a bad thing
2019-07-21 17:33:04 +00:00
Albert Astals Cid
9405cb58b0
Add NOTIFY signal to statusIconName property
...
Device::statusIconName depends on isReachable() and isTrusted()
Not sure how the property is used but it's good that they have a NOTIFY is defined if it's needed for completion
2019-07-21 15:57:38 +00:00
Matthijs Tijink
0b6224fc0e
Bluetooth multiplexer integration and assorted fixes
2019-07-20 12:29:33 +02:00
Matthijs Tijink
cda1280456
Add connection multiplexer
2019-07-20 12:29:33 +02:00
Weixuan Xiao
df2ca7f25f
Private DBus set launchctl env to fake a session bus
2019-07-09 19:42:08 +00:00
Albert Vaca Cintora
b8e50e976f
Revert "Simplify contains + get value"
...
Broke the tests 🤷
This reverts commit f7e86ed131
.
2019-07-05 00:58:33 +02:00
Albert Vaca Cintora
f7e86ed131
Simplify contains + get value
2019-07-05 00:15:05 +02:00
Albert Vaca Cintora
1e9a0f6808
Add braces
2019-07-05 00:13:55 +02:00
Weixuan Xiao
4f4b6c309f
Allow to use private DBus
2019-06-18 01:21:31 +00:00
Nicolas Fella
8a118a6fae
Use ecm_qt_declare_logging_category
2019-06-13 00:15:12 +02:00
Nicolas Fella
4de0f8cb9e
Remove non-toplevel project() definitions
2019-06-12 22:47:17 +02:00
Nicolas Fella
e601755644
Force usage of QStringLiteral and port remaining offenders
2019-06-10 14:40:28 +00:00