Andrius Štikonas
252d55e467
Add a limit on the amount of data that can be passed back via DBus.
2020-11-29 01:09:06 +00:00
Andrius Štikonas
2fb6be4e8d
Add a limit on blocksize to prevent out-of-memory situation.
2020-11-29 00:59:16 +00:00
Andrius Štikonas
5ac18b9d8f
Do not reuse QProcess object in externalcommandhelper for different invocations.
2020-11-26 22:06:14 +00:00
Andrius Štikonas
a0efc8854f
Fix division by zero.
2020-11-26 22:00:19 +00:00
Christoph Feck
b8692e2f16
GIT_SILENT Upgrade release service version to 20.11.90.
2020-11-25 03:00:28 +01:00
Friedrich W. H. Kossebau
6e8424bed6
Clean up include dirs
...
Move include of BLKID_INCLUDE_DIRS into scope it is used.
UUID_INCLUDE_DIRS is unused, left over from before partitionmanager
switched away from libuuid in 26e7f9d7ef306d61380e1c8965feb83bb6b07d18 .
Explicit Qt5Core_INCLUDE_DIRS no longer needed.
src/ is automatically available for kpmcore target, also exposed in
its build link interface.
2020-11-16 20:56:57 +00:00
Friedrich W. H. Kossebau
5413e696d3
Generate libpartitionmanagerexport.h
2020-11-16 20:56:57 +00:00
Friedrich W. H. Kossebau
2bf69932d1
testhelpers: link kpmcore to get the include directories from the interface
2020-11-16 20:56:57 +00:00
Friedrich W. H. Kossebau
32149e6340
CMake config file: check for Qt5Core in the needed version
2020-11-16 20:21:16 +01:00
Friedrich W. H. Kossebau
8804711943
Remove no longer existing include dir
...
NO_CHANGELOG
2020-11-16 17:25:44 +01:00
Friedrich W. H. Kossebau
07e5a3ac28
Make plugins compatible to latest KPluginFactory code
...
That one uses std::is_constructible<impl, QObject *, const QVariantList &>
which will fail for our current plugin constructors due to being private
and with only friend class KPluginFactory.
2020-11-16 17:14:52 +01:00
Andrius Štikonas
2e91730f7a
Fix parsing fstab mountpoints when they contain spaces or tabs.
...
If the name of the mount point contains spaces or tabs these
can be escaped as `\040' and '\011' respectively.
BUG: 428932
2020-11-14 00:55:29 +00:00
Albert Astals Cid
d1b2d9ba84
GIT_SILENT Upgrade release service version to 20.11.80.
2020-11-08 18:26:04 +01:00
l10n daemon script
495b1d7c45
GIT_SILENT made messages (after extraction)
2020-11-07 02:39:27 +01:00
l10n daemon script
6f89a9886b
GIT_SILENT made messages (after extraction)
2020-11-05 02:41:29 +01:00
l10n daemon script
a42fbfa5e4
GIT_SILENT made messages (after extraction)
2020-11-01 02:40:41 +01:00
l10n daemon script
5b8b8d2228
GIT_SILENT made messages (after extraction)
2020-10-29 02:50:01 +01:00
Andrius Štikonas
3448815596
kpmcore does not ship .ui or .rc files.
2020-10-28 11:12:27 +00:00
l10n daemon script
b59f34aeb5
GIT_SILENT made messages (after extraction)
2020-10-28 02:43:18 +01:00
Andrius Štikonas
2c8d081357
reuse: Add SPDX info to src/util/org.kde.kpmcore.externalcommand.policy.
2020-10-27 12:20:34 +00:00
l10n daemon script
14777483a1
GIT_SILENT made messages (after extraction)
2020-10-27 02:40:51 +01:00
Andrius Štikonas
68fdf2fcf2
Use XmlMessages.sh for translations of polkit policy files.
2020-10-25 23:45:28 +00:00
Andrius Štikonas
19f78ef76a
Port away from qAsConst.
2020-10-24 22:01:45 +01:00
Andrius Štikonas
7e8ae5b140
Require C++17 which was actually used already with enumerator attributes.
2020-10-24 16:34:12 +01:00
Andrius Štikonas
0c37cc54a6
Remove unnecessary semicolon (-Wpedantic).
2020-10-24 16:29:09 +01:00
Andrius Štikonas
ec3479f302
Add overrides to destructors.
2020-10-24 01:33:52 +01:00
Andrius Štikonas
766105bb73
Switch to release service's versioning scheme.
2020-10-16 23:05:25 +01:00
Andrius Štikonas
f51509e1bf
Bump KF5 version requirement.
2020-10-16 21:37:17 +01:00
Andrius Štikonas
85396708f4
Use Qt::SplitBehavior
...
Old version QString::SplitBehavious is now deprecated.
2020-10-13 01:23:29 +01:00
Andrius Štikonas
d3ebabb6cb
Move find_package to top level CMakeLists.txt.
2020-10-13 00:10:03 +01:00
Andrius Štikonas
cf5ff51832
Remove unused applicationinterface DBus interface.
2020-10-12 21:49:07 +01:00
Andrius Štikonas
e085ba9ed9
Do not link to KAuth. But there is still a build time dependency on kauth-policy-gen.
2020-10-12 20:23:37 +01:00
Andrius Štikonas
6cff70567b
Fix signals between helper and client.
2020-10-12 20:23:37 +01:00
Andrius Štikonas
cd4d9b1985
Rename helper interfaces.
2020-10-12 20:23:37 +01:00
Andrius Štikonas
a2ee82e021
Simplify createFile function, it was checking for authorization twice.
2020-10-12 20:23:37 +01:00
Andrius Štikonas
2dff59260c
Remove exit call from the helper. It is no longer used.
...
BUG: 412887
2020-10-12 20:23:04 +01:00
Andrius Štikonas
89bd4eb6c7
Store successful polkit authentication requests.
...
We need this to avoid multiple authentication requests when applying
long operations.
Otherwise, the user will have to authenticate after each job,
which can mean up to 4 password dialogs for some longer operations.
2020-10-12 20:22:48 +01:00
Andrius Štikonas
424c8f0bf0
Update comment describing kpmcore_externalcommandhelper.
2020-10-12 20:18:55 +01:00
David Edmundson
f646b507ae
Fix a crash.
2020-10-12 20:18:55 +01:00
Andrius Štikonas
296f281ffb
WIP: cleanup polkit port: licenses, dead code and kauth removal, add TODO about signals.
2020-10-12 20:18:55 +01:00
David Edmundson
edfabb90dc
WIP: port to polkit
2020-10-12 20:18:55 +01:00
Adriaan de Groot
08c1acb6b4
Missing include (clang/FreeBSD triggers this)
2020-10-10 21:59:57 +02:00
Andrius Štikonas
1fb5a123b5
SPDX: Use CC0 for .gitignore.
2020-10-05 22:00:33 +01:00
Andrius Štikonas
7ecdaf3ac8
Fix resizing of fat partitions.
...
Workaround a bug in fatresize (or libparted) where resizing to
partition length failed. Instead try to resize to length - 1.
BUG: 407834
2020-10-04 22:21:58 +01:00
Andrius Štikonas
4819eec59b
Allow moving partitions with unknown file system.
...
BUG: 404398
2020-10-04 21:18:08 +01:00
Andrius Štikonas
924830ebbd
When falling back to blkid for filesystem type detection, distinguish between FAT16/32.
...
CCBUG: 418253
2020-10-04 18:34:00 +01:00
Andrius Štikonas
d396e56694
Add support for importing "PartitionTable" of whole device filesystems.
2020-10-04 15:20:58 +01:00
Andrius Štikonas
034311a7cc
Add support for whole disk file systems.
...
BUG: 400652
2020-10-03 15:14:51 +01:00
Andrius Štikonas
0910875137
Do not delete partitions when we have no partition table.
2020-10-03 14:15:10 +01:00
Andrius Štikonas
9ca3a5740a
Add information about PartitionTable::TableType::none.
2020-10-03 14:03:59 +01:00