Andrius Štikonas
8692697cd4
Bump kpmcore version to 4.0.1
2019-10-05 12:08:50 +01:00
Andrius Štikonas
40b65438f0
Do not align partitions if they are mounted.
...
Moving data when partitions are mounted is almost guaranteed to cause data loss.
BUG: 412575
2019-10-05 12:08:20 +01:00
Caio Jordão Carvalho
d062cf50fb
Including Caio's middle name in aboutData
2019-10-05 12:07:46 +01:00
Andrius Štikonas
df235a7751
Make S.M.A.R.T. disk temperature label show only integers.
...
BUG: 411226
2019-10-05 12:07:28 +01:00
Shubham Jangra
a264a28237
Reduce temperature's precision from six decimal places to two
...
Summary: BUG: 411226
Test Plan: I couldn't test it since my device does not support SMART
Reviewers: stikonas
Reviewed By: stikonas
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D23572
2019-10-05 12:07:20 +01:00
Andrius Štikonas
6f17476b75
Run udevadm settle once more after udevadm trigger.
...
CCBUG: 412204
2019-10-05 12:03:35 +01:00
Harald Sitter
9b45e25f81
manually quit kauth's mainloop
...
Summary:
kauth helpers have a qcoreapplication started which auto-terminates after
10 seconds of idle time. this would be an added time out on top of our
life time management that is not necessary. to prevent this additional
delay simply quit the qapplication directly.
this makes helper termination almost instantaneous even when the dbus
client disappears due to crash or SIGINT, and largely removes the
need to call stopHelper altogether.
BUG: 408245
Test Plan:
both partitionmanager and calamares instantly quit the helper no matter how the client process gets terminated
other than that everything seems to work as before
Reviewers: stikonas
Differential Revision: https://phabricator.kde.org/D21559
2019-06-05 18:34:35 +01:00
Andrius Štikonas
6a3b1e02b6
smart: obtain disk size in blocks.
...
Also drop pre 7.0 support as any earlier version was not supported.
2019-06-05 18:32:11 +01:00
Valerii Malov
9565ef61ab
Add support for smartmontools 7.0 user_capacity json output
...
Summary:
smartmontools 7.0 reports user capacity as an object that contains bytes and blocks value, instead of being an int that just contains bytes
This should fix incorrect calculation of bad blocks threshold and incorrect display of "Overall" status
Test Plan:
run partitionmanager on a system that has smartmontools 7, open smart status
overall status should be reported correctly
Reviewers: stikonas
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D21311
2019-05-23 17:43:44 +03:00
Antonio Rojas
8238c94447
Don't hardcode dbus policy install dir
...
Install the policy files to the cmake provided locations instead of hardcoding the path to /etc/dbus-1
Differential Revision: https://phabricator.kde.org/D21162
2019-05-12 22:32:58 +02:00
Andrius Štikonas
4b6a26f0f8
Fix setting partition path when restoring partitions.
...
BUG: 399791
2019-05-10 02:12:07 +01:00
Andrius Štikonas
e1c2ed7567
Update copyright year in about dialog.
2019-05-01 00:36:56 +01:00
Andrius Štikonas
fa5937071b
Bump version to 4.0 in preparation for future release.
2019-04-16 20:21:49 +01:00
Andrius Štikonas
6d272234bb
Raise util-linux dependency to 2.33.2.
...
This version includes a fix for MBR logical partitions.
2019-04-11 19:56:09 +01:00
Andrius Štikonas
dd0adbec42
Remove unused include.
2019-04-06 17:36:25 +01:00
Allen Winter
3aebd00dee
.krazy - skip src/fs/fat12.cpp since it makes i18ncheckarg hang
...
CCMAIL: caslav.ilic@gmx.net
2019-04-06 15:35:11 +00:00
Shubham Jangra
5e4efa89ec
Fix typo and constantify arguments
...
Reviewers: stikonas, cjlcarvalho, #kde_partition_manager
Reviewed By: cjlcarvalho
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D20269
2019-04-05 11:45:08 -06:00
Caio Carvalho
43da873c36
Fixing device scanning process
2019-04-03 15:37:47 -06:00
Shubham Jangra
281289dfbb
Constantify nonce and some cleanup
...
Reviewers: stikonas, #kde_partition_manager, cjlcarvalho
Reviewed By: stikonas, #kde_partition_manager, cjlcarvalho
Subscribers: varunp, tctara, teo, abhijeet2096, caiovosilva, cjlcarvalho, #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D20108
2019-03-29 12:00:13 -06:00
Shubham Jangra
4986b514b5
Fix typo
...
Reviewers: stikonas, cjlcarvalho, #kde_partition_manager
Reviewed By: cjlcarvalho, #kde_partition_manager
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D20110
2019-03-29 11:55:10 -06:00
Shubham Jangra
9c5b582ed0
Constantify function parameters
...
Summary: Even though constantifying these parameters won't change anything(since they are being passed by value), it is done to assure they conform to rest of the coding style
Reviewers: stikonas, cjlcarvalho, #kde_partition_manager
Reviewed By: cjlcarvalho
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D20106
2019-03-29 11:52:55 -06:00
Shubham Jangra
c78b35eb41
Do not use C data type
...
Summary: unsigned long long is a "C" data type
Reviewers: stikonas, cjlcarvalho
Reviewed By: cjlcarvalho
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D20076
2019-03-27 10:15:10 -06:00
l10n daemon script
e8d6f7bab6
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"
2019-03-05 05:54:54 +01:00
Andrius Štikonas
92065f7a23
Add a function to convert QStringList of flag names to flags.
...
CCBUG: 400331
2019-02-28 00:15:26 +00:00
l10n daemon script
8139d5c295
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"
2019-02-25 05:46:38 +01:00
l10n daemon script
7b93571787
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"
2019-02-24 05:28:36 +01:00
Andrius Štikonas
594c90f4ba
Update INSTALL.md with new dependencies.
2019-02-16 11:49:51 +00:00
Andrius Štikonas
f5b5728c7f
Specify language for code snippets in README.md
2019-02-16 00:04:52 +00:00
Andrius Štikonas
015f44f535
Merge branch 'aacid/kpmcore-uses_authcore'
2019-02-15 23:40:38 +00:00
Andrius Štikonas
6f703b9309
Merge branch 'add_override' into 'master'
...
Mark override members as such
See merge request kde/kpmcore!1
2019-02-15 23:34:56 +00:00
Albert Astals Cid
90a6563291
Use KF5::AuthCore instead of KF5::Auth
...
It's a much smaller library and provides everything we need
2019-02-16 00:25:37 +01:00
Albert Astals Cid
7f6fa41bce
Mark override members as such
2019-02-16 00:17:48 +01:00
Andrius Štikonas
ecb78121f3
Allow moving partitions of unknown type.
...
This usually be safe. There is a theoretical chance that some
unknown OS fails to boot, but I'm not aware of any such cases.
BUG: 404398
2019-02-15 19:16:07 +00:00
Andrius Štikonas
39a5645c38
Explicitely specify underlying type for Capacity enums.
2019-02-10 01:43:05 +00:00
Andrius Štikonas
723b05107d
Use strongly typed enum for Capacity:Unit.
2019-02-10 00:49:36 +00:00
Andrius Štikonas
28e1308ec5
Switch to scoped name PartitionTable::Flag::
...
Deprecated old style enum PartitionTable::FlagName.
This will allow to switch to scoped enum class in some future version.
2019-02-09 18:04:44 +00:00
Andrius Štikonas
3df5acb9e3
Add scanDevices function that uses flags instead of bools.
...
Add and option to scan for loopback devices.
2019-02-09 15:40:06 +00:00
Andrius Štikonas
bfa6a327af
Also print command input if KPMCORE_DEBUG is set.
2019-02-09 13:39:33 +00:00
l10n daemon script
c8e401bc07
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"
2019-01-30 05:38:23 +01:00
Andrius Štikonas
5a163f8bee
Detect MBR Extended LBA partitions.
2019-01-24 18:45:55 +00:00
Andrius Štikonas
8a3d95e5ec
Bump version for beta.
2019-01-13 17:57:16 +00:00
Andrius Štikonas
559c326be7
Add detection support for Apple File System (APFS).
2019-01-13 17:34:05 +00:00
Andrius Štikonas
e749b01b8e
Fix a typo in filesystem support dialog.
...
BitLocker was mixed up with btrfs.
CCBUG: 392892
2019-01-13 13:16:44 +00:00
Andrius Štikonas
708318a5ad
Add BitLocker detection support.
...
CCBUG: 392892
2019-01-13 02:24:18 +00:00
Andrius Štikonas
9fa20fb1e2
Remove "mv" command from allowed external command list
2019-01-12 23:18:01 +00:00
l10n daemon script
77add45499
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"
2019-01-12 05:28:24 +01:00
Andrius Štikonas
055b1fe3e5
Make device model names prettier.
2019-01-12 00:24:26 +00:00
Andrius Štikonas
ca07ad5ab0
Silence RAID warnings in master.
2019-01-12 00:05:59 +00:00
Andrius Štikonas
e5a20926cd
Fix device names spanning two lines.
2019-01-11 23:28:40 +00:00
Andrius Štikonas
cabe4861ac
Add GPLv3 in markdown format.
2019-01-07 00:23:29 +00:00