Andrius Štikonas
f3dd3157a6
Initial port to KDE Frameworks 5.
...
The port is mostly complete:
* A few unported items are marked with FIXME: port KF5.
* KCFG configuration for QGroupBox is not working yet.
2014-05-18 21:41:48 +01:00
Andrius Štikonas
ed431cfcd5
Partially port away from KLocale.
...
KLocale was replaced with KLocalizedString and QLocale.
Only changes that do not break compilation with KDELibs4 are made.
2014-05-13 23:53:37 +01:00
Andrius Štikonas
2b537490ad
Port away from KDebug.
2014-05-13 14:47:35 +01:00
Andrius Štikonas
59e5a656c5
Fix detection of partitions' paths.
...
Previously, partition number was added to device path.
However, there are devices with more complicated numbering scheme,
e.g. memory cards may have /dev/mmcblk0p1.
It seems that the easiest way to handle this is to use partition
path instead of device path + partition number .
BUG:256964
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1337488
2013-02-05 00:09:43 +00:00
Andrius Štikonas
c2900760a1
Add initial support for LVM2 Physical Volumes.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1327775
2012-12-08 15:24:07 +00:00
Volker Lanz
707b6ce42b
make warning about time needed for closing device a little clearer
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1274507
2012-01-18 14:19:05 +00:00
Volker Lanz
cce6cdbacf
Update a partition's system type when creating a new file system on it.
...
BUG:263346
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1249913
2011-08-28 15:29:26 +00:00
Volker Lanz
c281271807
use Device::logicalSectorSize() instead of Partition::sectorSize() where ever
...
possible
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135513
2010-06-07 13:36:04 +00:00
Volker Lanz
2b50c60469
rename Device::sectorSize() to Device::logicalSectorSize()
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135506
2010-06-07 13:10:55 +00:00
Volker Lanz
7c750514d0
make sure to say we're talking about logical sector size when we say sector size.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135497
2010-06-07 12:56:27 +00:00
Volker Lanz
faa406a201
make API cleaner: don't use out param if a return value will do
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128321
2010-05-18 22:48:56 +00:00
Volker Lanz
d058abce6e
doxygen updates
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128312
2010-05-18 22:27:30 +00:00
Volker Lanz
be3fbd844a
add a method to the backend plugin interface to let backend plugins set fs
...
command support types
export the fs implementation class symbols to let backend plugins access them
make the static properties holding the command support information in the
implementations public so backend plugins can change them
rename resizeInternal to resizeBackend in the resize filesystem job
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119648
2010-04-27 14:53:04 +00:00
Volker Lanz
ab945358cf
rename copysourcerandom to copysourceshred because that is what it's used for
...
let the user configure if he wants to shred with zeros (i.e. fast) or with
random data (i.e. secure)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106963
2010-03-24 10:42:30 +00:00
Volker Lanz
5ca58c6c1c
introduce a CoreBackendManager class.
...
convert the plugins into true KDE plugins with desktop file and all.
let the user pick a backend in the config dialog and load backends on the fly.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105758
2010-03-21 10:50:44 +00:00
Volker Lanz
8b114958f7
fix include orders
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097725
2010-03-02 00:02:43 +00:00
Volker Lanz
3a8794caa0
use const ref in foreach
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097724
2010-03-01 23:58:43 +00:00
Volker Lanz
1e2a852df9
remove all traces of libparted from the main binary and lib
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097708
2010-03-01 22:42:52 +00:00
Volker Lanz
02adb06d06
commit changes in the jobs: makes more sense and is required for flags anyway
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097654
2010-03-01 20:10:23 +00:00
Volker Lanz
5ce08f267c
emit progress via CoreBacken::self()
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097612
2010-03-01 18:58:21 +00:00
Volker Lanz
0ab3817d46
clean up the plugin interface a bit.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097594
2010-03-01 18:30:35 +00:00
Volker Lanz
2d49f64f16
export classes
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097419
2010-03-01 10:50:35 +00:00
Volker Lanz
be401e1ca7
completed encapsulating all libparted-specific stuff in a subclass derived from
...
CoreBackend*
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097216
2010-02-28 17:57:55 +00:00
Volker Lanz
05db0f55ea
begin moving all libparted-related stuff to a backend class.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1096873
2010-02-27 21:32:00 +00:00
Volker Lanz
8bc47ee964
rename any occurences of "disk label" to partition table for consistency
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1095455
2010-02-24 11:32:12 +00:00
Volker Lanz
df26044041
rename LibParted class to LibPartedBackend (plus files)
...
introduce a CoreBackend superclass for all future backends
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1095129
2010-02-23 18:04:45 +00:00
Volker Lanz
10c32cdb87
Work around a libparted bug when comittint changes to Linux found by the
...
GParted authors.
See
http://git.gnome.org/browse/gparted/commit/?id=bf86fd3f9ceb0096dfe87a8c9a38403c13b13f00
and
http://lists.alioth.debian.org/pipermail/parted-devel/2010-February/003394.html
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1092788
2010-02-19 14:44:12 +00:00
Volker Lanz
3c41deeeab
no longer necessary to include libparted headers
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1090037
2010-02-14 14:23:27 +00:00
Volker Lanz
95ace6b7d3
make first and last usable sector methods static to libparted, no one else is
...
using them
move the code used to map libparted partition flags to our own flags from the
job to LibParted
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1090002
2010-02-14 12:35:01 +00:00
Volker Lanz
44af166f83
rename all values in CommandSupportType to make them more unique
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081018
2010-01-27 13:00:14 +00:00
Volker Lanz
84acbea6ac
rename FileSystem::SupportType to FileSystem::CommandSupportType
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081014
2010-01-27 12:48:42 +00:00
Volker Lanz
908bfe3669
add "shred partition" feature
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1076584
2010-01-18 12:31:00 +00:00
Volker Lanz
b394afa487
do not any longer make a disctinction between internal support for a command
...
and libparted support: this distinction has not been used anywhere.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073174
2010-01-11 19:23:35 +00:00
Volker Lanz
7009d2dc11
rename resizeFileSystemLibParted to resizeFileSystemInternal
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073171
2010-01-11 19:15:31 +00:00
Volker Lanz
b514d16fad
play catch-up with parted again. this time they invented a zillion new names
...
for swap.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1050114
2009-11-16 17:04:43 +00:00
Volker Lanz
0e518a5a9d
Add a virtual method to the FileSystem base class to allow updating the boot
...
sector for a file system after it has been moved or copied. Currently, only
NTFS requires such a special treatment, however.
Implement this virtual method for NTFS and update the file system's start
sector in the NTFS boot sector according to
http://thestarman.pcministry.com/asm/mbr/NTFSBR.htm
BUG: 202329
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1005978
2009-08-02 18:47:17 +00:00
Volker Lanz
079f24cc6d
no comma after i18n context or it won't work.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1005974
2009-08-02 18:44:30 +00:00
Volker Lanz
f6d1754ba6
Correctly handle ext4 filesystems even with patched parted 1.8.8 (and hopefully
...
1.8.9 too). Patch by Fatih Asici <fatih@pardus.org.tr>.
BUG: 195243
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=977576
2009-06-04 17:55:22 +00:00
Volker Lanz
5c0acb2bba
Read and display UUID for some filesystems.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964310
2009-05-06 14:19:23 +00:00
Volker Lanz
392dd95241
Increase block size for copying from one to eight cylinders.
...
Add some basic timing stuff and output copying speed and an estimation of the
time left to the report.
Fix a typo in i18n context.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964150
2009-05-06 07:44:16 +00:00
Andrew Coles
9cbec4ebe4
Plural-form correction.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=941151
2009-03-18 23:27:36 +00:00
Volker Lanz
306667e09e
Don't assume a device always has a valid partition table. This is the correct
...
fix for what I initially tried to fix with commit 898001.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=908045
2009-01-09 07:10:59 +00:00
Volker Lanz
7ebf6816ce
Add ext4 support.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=901473
2008-12-25 16:00:48 +00:00
Allen Winter
fcaa2c7586
fix include guards. found while I was testing krazy false positive fixes
...
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=869633
2008-10-09 14:44:32 +00:00
Volker Lanz
d8791eb862
Speling
...
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=865585
2008-09-28 09:18:13 +00:00
Laurent Montel
4d1c7f2d04
Pedantic
...
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=864677
2008-09-25 11:53:41 +00:00
Volker Lanz
d6dc26bd90
import of KDE Partition Manager
...
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=864431
2008-09-24 19:32:01 +00:00