Andrius Štikonas
efb970ba11
Add a missing features.h include.
2020-02-08 22:01:24 +00:00
Andrius Štikonas
f47a83408b
Bump kpmcore soversion to 9.
2020-02-08 20:47:23 +00:00
l10n daemon script
b7306d2d19
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"
2020-02-07 05:43:45 +01:00
Andrius Štikonas
aa34937185
Bump kpmcore version to 4.1.0.
2020-02-01 15:20:46 +00:00
Arnaud Ferraris
d24191ebd8
Add support for filesystem-specific features
...
In some cases, it may be necessary to create a filesystem with specific features
enabled/disabled.
This PR makes it possible to create filesystems this way. It does so
by introducing a new m_Features member variable and the createWithFeatures()
function to the FileSystem base class. The latter function is implemented
for the btrfs, ext2/3/4 and FAT filesystems.
Additionnally, the CreateFileSystemJob has been modified to enable
creating/formatting filesystems with specific features enabled.
Differential Revision: https://phabricator.kde.org/D21903
CCBUG: 342178
2020-01-12 11:58:32 +00:00
l10n daemon script
50697be784
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-12-08 05:22:07 +01:00
Andrius Štikonas
dfce039421
Only trigger udev events for block device subsystem.
...
Triggerring other subsystems is not necessary and occasionally
results in triggering unrelated bugs.
BUG: 413973
2019-12-02 22:01:10 +00:00
Yuri Chornoivan
ca2180f526
Fix minor typo
2019-11-22 15:45:18 +02:00
Yuri Chornoivan
1a7b673792
Fix minor issues found by EBN
2019-11-22 15:45:12 +02:00
Yuri Chornoivan
2980b21b8d
Update references
2019-11-22 15:45:04 +02:00
Andrius Štikonas
bb7bf3ca03
Make FileSystemFactory::init reentrant.
...
BUG: 413927
2019-11-18 22:45:58 +02:00
Andrius Štikonas
2c7b3f2bfa
Fix resizing of encrypted partitions.
...
BUG: 413883
2019-11-18 21:16:05 +02:00
Andrius Štikonas
13beb99319
Use partx instead of blockdev to update partition table in the kernel.
...
CCBUG: 413883
2019-11-18 20:42:36 +02:00
l10n daemon script
c4c6ca18ba
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-11-12 05:31:35 +01:00
Andrius Štikonas
660aa6a55e
Fix a failing test.
2019-11-07 22:28:01 +00:00
Andrius Štikonas
1c771436d4
Merge branch '4.0'
2019-11-07 22:13:39 +00:00
Andrius Štikonas
c9a08a593b
Remove broken smart unit test.
...
BUG: 413853
2019-11-07 22:12:00 +00:00
l10n daemon script
5eae2e1625
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-11-04 05:16:18 +01:00
Andrius Štikonas
59c9ba2f8d
Set MBR partition type of FAT32 partitions to 0x0c.
...
BUG: 412959
2019-10-15 21:37:58 +01:00
Andrius Štikonas
ea5962ca7d
Merge branch '4.0'
2019-10-06 20:12:46 +01:00
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
Andrius Štikonas
0b5e5040eb
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 11:52:59 +01:00
Andrius Štikonas
76ca72eccd
Revert "Create a timer to wait for system to free resources"
...
This reverts commit 2627d476f4
.
2019-09-26 23:47:34 +01:00
Andrius Štikonas
467ea50aeb
Run udevadm settle once more after udevadm trigger.
...
CCBUG: 412204
2019-09-25 22:33:35 +01:00
Caio Jordão Carvalho
35dabdeb1c
Including Caio's middle name in aboutData
2019-09-17 23:59:06 +00:00
Andrius Štikonas
4b0261230d
Make S.M.A.R.T. disk temperature label show only integers.
...
BUG: 411226
2019-09-07 11:51:05 +01:00
Shubham Jangra
78f29ae8b5
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-09-01 23:11:43 +05:30
l10n daemon script
60bba03afa
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-08-07 05:01:03 +02:00
l10n daemon script
f40762a220
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-07-27 05:10:32 +02:00
Shubham Jangra
7af8045f32
Add unit test for Device
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D22629
2019-07-23 11:59:40 +05:30
l10n daemon script
a97162fb04
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-07-12 05:13:22 +02:00
Shubham Jangra
6ea88cc737
Add QString include
2019-06-12 22:18:08 +05:30
Shubham Jangra
d1a82f65d4
Revert "Remove redundant includes and refactor"
...
This reverts commit 4229b02fd2
.
2019-06-12 22:11:11 +05:30
Shubham Jangra
4229b02fd2
Remove redundant includes and refactor
2019-06-10 23:07:06 +05:30
Shubham Jangra
2627d476f4
Create a timer to wait for system to free resources
...
Reviewers: stikonas
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D21696
2019-06-09 22:41:13 +05:30
Shubham Jangra
ef20244be5
Add support for Minix(Mini Unix) Filesystem
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Subscribers: cjlcarvalho, #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D21652
2019-06-09 00:01:30 +05:30
Shubham Jangra
6f7cea6b27
Quit application if bus is not connected, interface not registered
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D21616
2019-06-08 15:43:24 +05:30
Andrius Štikonas
ba48851d34
Merge branch '4.0'
2019-06-07 19:12:07 +01:00
Shubham Jangra
67795a08ab
Fix uninitialized variable warning
2019-06-07 09:39:29 +05:30
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
Harald Sitter
5413150c67
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-03 15:08:10 +02:00
Shubham Jangra
f481109417
Do not move further if system bus is not connected
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D21506
2019-05-30 23:27:50 +05:30
Shubham Jangra
68cf1efd6b
Notify user when they enter non whitelisted command
...
Reviewers: stikonas, cjlcarvalho
Reviewed By: stikonas
Subscribers: #kde_partition_manager
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D21504
2019-05-30 23:27:04 +05:30
Shubham Jangra
39ab428f0c
Remove extra semicolon
2019-05-30 22:47:46 +05:30