Shubham Jangra
3184cbcee3
Remove extra semicolon
2019-05-30 22:47:17 +05:30
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
Shubham Jangra
41b3b83335
Cleanup and constantify
2019-05-23 16:35:27 +05:30
Shubham Jangra
a7532d4041
Scrap Public Key Cryptography code based on QCA as QDbus is secure enough
...
Summary: QDbus already provides enough security to the calls made by the application to the helper. Hence no need to encrypt, sign the requests of the application and verify their integrity at the helper side.
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D21275
2019-05-19 22:53:13 +05:30
Andrius Štikonas
6f8e6403f8
Remove trailing whitespace.
2019-05-18 20:34:59 +01:00
Shubham Jangra
54f0c98dc0
Comment out
2019-05-19 01:01:05 +05:30
Shubham Jangra
3675a199bf
Comment out
2019-05-19 00:51:15 +05:30
Shubham Jangra
07b2ce3054
Remove superflous variables
...
Reviewers: stikonas
Reviewed By: stikonas
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D21272
2019-05-18 18:54:20 +05:30
Shubham Jangra
73a21e6739
Simplify test conditions
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D21241
2019-05-17 23:03:15 +05:30
Shubham Jangra
997f425030
Remove redundant include
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D21251
2019-05-17 23:00:58 +05:30
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