Hugo Pereira Da Costa
8f0e9c270d
Moved borderWidth, borderHeight, and positionChildren from static to virtual.
...
This way they can be reimplemented in subclasses.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136094
2010-06-08 22:43:59 +00:00
Hugo Pereira Da Costa
57cd2870d7
Remove painting of free and used- space on top of partition rect.
...
Use two different rects for the partition rect instead, with colors calculated from the base color derived from the partition type.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136093
2010-06-08 22:38:27 +00:00
Volker Lanz
771ee3cb5c
use same horizontal stretch as dialogbase
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135948
2010-06-08 13:23:29 +00:00
Volker Lanz
c692d95848
modified color for unknown/unallocated
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135919
2010-06-08 10:47:51 +00:00
Volker Lanz
c0f1b0123a
show physical sector size in GUI
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135558
2010-06-07 15:37:20 +00:00
Volker Lanz
fbe5cbe667
introduce physical sector size to Device objects
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135557
2010-06-07 15:37:05 +00:00
Volker Lanz
97fbfb8f06
fix typo in default icon name
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135555
2010-06-07 15:34:59 +00:00
Volker Lanz
7bde47b854
rename sector size labels in DevicePropsWidget (and its UI file) to logical
...
sector size
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135518
2010-06-07 13:42:19 +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
0d9f974c79
hack: work around a design flaw that we don't know if the unit to show is
...
singular or plural in Capacity::unitName().
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135505
2010-06-07 13:04:15 +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
d18e8cfb2a
fix horizontal stretch
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135478
2010-06-07 12:14:55 +00:00
Volker Lanz
fa36ef13f6
simplyfy grid layout, fix horizontal stretch
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135474
2010-06-07 12:20:03 +00:00
Volker Lanz
ecb6341769
fix horizontal stretch
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135470
2010-06-07 12:11:31 +00:00
Volker Lanz
3b2a443e07
modify spacing, width and border size for new looks
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135253
2010-06-06 23:39:10 +00:00
Volker Lanz
f298733650
adjust some colors to avoid triggering an oxygen bug regarding gradients only
...
fixed for SC 4.5 (the bug of course is still triggered once the user changes
the colors himself to something too light)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135186
2010-06-06 18:32:38 +00:00
Volker Lanz
29f73d29fa
integrate Hugo's new code a little better, mainly white space.
...
move implementation of handleWidget() to cpp file to avoid an include
add credit to KAboutData
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135182
2010-06-06 18:23:17 +00:00
Hugo Pereira Da Costa
16de8b9034
Changed rendering of
...
- partwidget, to use the same appearance as buttons
- partresizewidget, to use a 'sunken' frame, and same appearance as QSplitter for the resize handlers.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135173
2010-06-06 17:57:08 +00:00
Script Kiddy
0753131834
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134370
2010-06-04 06:59:05 +00:00
Andrius Štikonas
b34b84ad62
Add comment="KDE::DoNotExtract" to names of the form.
...
This dummy string is not visible by the user so it is not necessary to translate it.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134246
2010-06-03 18:27:43 +00:00
Volker Lanz
68d1eb14ce
use a PartWidget instead of a PartResizerWidget in the partition properties
...
dialog -- no one is going to do any resizing, after all.
to make this possible, allow creating a PartWidget() without a valid Partition
pointer and add an init() method for later setting the Partition pointer. also
take care of the Partition pointer being NULL everywhere in the class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134172
2010-06-03 15:01:53 +00:00
Volker Lanz
6508ad1d71
create and handle info pane just like the other dock widget content widgets
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134148
2010-06-03 14:27:11 +00:00
Volker Lanz
0a77bb6d8a
remove KPart remains
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134137
2010-06-03 14:02:35 +00:00
Volker Lanz
c37e28d3b8
add combo box for preferred size unit to advanced config tab
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134130
2010-06-03 13:26:44 +00:00
Volker Lanz
fbb8fed626
oops. forgot that one. thanks to kdepepo for notifying me.
...
CCMAIL:christoph@maxiom.de
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134096
2010-06-03 12:24:40 +00:00
Volker Lanz
a2b78f0dde
add command line option to activated advanced config page; it's hidden by
...
default now.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133916
2010-06-02 20:39:25 +00:00
Volker Lanz
8ce6689dd5
move allow applying as non-root and backend config to a new advanced tab
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133813
2010-06-02 14:35:02 +00:00
Volker Lanz
9ff7bb2227
add a "sectors" suffix to partition alignment spinbox
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133810
2010-06-02 14:21:25 +00:00
Volker Lanz
358825fba1
move mountentry to its own implementation files and make it a class
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133534
2010-06-01 22:07:13 +00:00
Volker Lanz
a6715ebebe
increase version
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133462
2010-06-01 19:21:50 +00:00
Volker Lanz
b47363f3a2
remove some actions from default toolbars to make them more usable
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1133421
2010-06-01 17:52:53 +00:00
Volker Lanz
bd3a3db8b9
make sure the max value of first and last sector isn't set wrong
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1132901
2010-05-31 17:12:18 +00:00
Volker Lanz
07d3bcb15c
add minimum capacity for btrfs
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1132764
2010-05-31 11:06:20 +00:00
Volker Lanz
e66fa24e52
don't allow editing mount points for mounted partitions
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130885
2010-05-26 17:33:39 +00:00
Volker Lanz
b7dfc67ca9
resolve symlinks when reading device nodes from fstab
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130866
2010-05-26 16:52:20 +00:00
Volker Lanz
88494c8607
copy the old partition table pointer from the current op to the pushed op if
...
we're merging two ops to create partition tables on the same device
add doxygen comments for new merge method
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129889
2010-05-24 04:00:54 +00:00
Volker Lanz
ed05e673e0
rename method and make description property non const; it might change, after
...
all, during the lifetime of the object if some other operation is merged with
this operation (generally speaking, not necessarily true for copyops)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129885
2010-05-24 03:28:16 +00:00
Volker Lanz
0c15c050da
generate the copy operation's description once in the ctor, don't dynamically
...
create it each time description() is called; this avoids lots of little bugs
when the source partition is, for example, resized after the copy is made or
its file system changes...
this is probably how this generally should be done for all operations.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129879
2010-05-24 02:36:29 +00:00
Volker Lanz
51ae5ddcb4
clear the clipboard if undo deleted the partition that's in it
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129877
2010-05-24 01:52:36 +00:00
Volker Lanz
15e23d806e
backup op does not target a device
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129869
2010-05-24 01:11:57 +00:00
Volker Lanz
5327ca792a
compare partition's device path with device's, not partition table pointers
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129867
2010-05-24 01:05:01 +00:00
Volker Lanz
f123525c22
fix comment
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129866
2010-05-24 01:04:17 +00:00
Volker Lanz
b91e35ca12
remove unused arg
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129821
2010-05-23 21:21:13 +00:00
Volker Lanz
bd5accaa16
merge creating a new partition table with previous ops if they target the
...
device; i.e., if there are ops that target the device where the partition table
is created, delete those ops.
this needs a lot of testing still. also, if the user undoes the creating of the
partition table, the deletes ops don't just magically reappear. this could
probably be solved by not deleting them but moving them to some qlist in the
create partition table op...?
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129812
2010-05-23 20:15:51 +00:00
Volker Lanz
ea4031b645
add methods to each operation to return if the op targets a given device or
...
partition
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129811
2010-05-23 20:13:46 +00:00
Volker Lanz
b8d25fa809
add operator==() and operator!=() for partition and device classes
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129809
2010-05-23 20:12:06 +00:00
Volker Lanz
91b6ce0a47
make formatted spinbox work when suffix or prefix are set
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129714
2010-05-23 14:05:57 +00:00
Volker Lanz
94f45fca5c
disable resizing for btrfs, i can't get it to work outside partition manager
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129308
2010-05-21 21:41:43 +00:00
Volker Lanz
0422bfcc15
don't overflow, it's signed... also, an EiB of disk storage ought to be big
...
enough for everyone.. for the next months, at least.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129273
2010-05-21 20:20:39 +00:00
Volker Lanz
90dc6b318b
make mfs.extX shup up so it doesn't kill the qt widget with its output
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129270
2010-05-21 20:10:57 +00:00
Volker Lanz
765681d239
fix support tools name and url
...
fix order of support checks
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129269
2010-05-21 20:10:26 +00:00
Volker Lanz
f9c0fcd0b3
don't crash checkinf file system support if no partition table is present
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129264
2010-05-21 19:52:22 +00:00
Volker Lanz
aa065376b3
allow passing device node via command line
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129237
2010-05-21 18:09:55 +00:00
Volker Lanz
2605e75757
properly handle cmd line args when invoking ourselves with root helper
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129224
2010-05-21 17:12:44 +00:00
Volker Lanz
91b3dc546a
unmount device as long as we find mountpoints for it, not just once
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129201
2010-05-21 15:29:10 +00:00
Volker Lanz
2d39afad2b
suppressing sleep only works as long as we're not root. that's hardly helpful.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128987
2010-05-20 20:56:54 +00:00
Volker Lanz
a59062f073
suppress sleep mode while applying operations -- untested
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128978
2010-05-20 20:37:03 +00:00
Volker Lanz
7196b3a37e
add copy() and updateUUID() methods to linuxswap
...
actually make use of the length param in linuxswap::resize()
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128926
2010-05-20 17:27:19 +00:00
Volker Lanz
c2f0ff7528
add move() stub
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128924
2010-05-20 17:25:39 +00:00
Volker Lanz
046c9006e0
keep UUID when resizing swap (i.e. recreating it)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128909
2010-05-20 16:19:34 +00:00
Volker Lanz
08da1fac60
move FileSystemSupportDialogWidget to a file of its own
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128905
2010-05-20 16:09:29 +00:00
Volker Lanz
bdfce5576f
delete delgate in dtor
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128892
2010-05-20 15:38:15 +00:00
Volker Lanz
e9871e0e82
add a check when scanning devices if support for all file systems we found is
...
present. if not, show a messagebox with detailed information what is missing.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128887
2010-05-20 15:25:55 +00:00
Volker Lanz
68ccea7ac2
reiser4 was missing max capacity method. the actual max capacity of reiser4
...
is "unknown" according to wikipedia. a quick web search also reveals
nothing.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128815
2010-05-20 11:18:01 +00:00
Volker Lanz
d6417cbbab
revert r1128581 and implement this as an additional check in
...
CopyOperation::canPaste() instead.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128813
2010-05-20 11:02:00 +00:00
Volker Lanz
696b368463
add a select device submenu to the device menu
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128594
2010-05-19 18:39:40 +00:00
Volker Lanz
d8d7b82862
use pretty name from Device class
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128593
2010-05-19 18:38:32 +00:00
Volker Lanz
6b260d97ec
use pretty print method from Device
...
output device name in bold
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128592
2010-05-19 18:38:00 +00:00
Volker Lanz
10fded0d7f
add method to print pretty device name
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128591
2010-05-19 18:37:14 +00:00
Volker Lanz
8b912ffb88
prevent the user from pasting a partition on another that is too big for the
...
source partition's file system
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128581
2010-05-19 17:38:12 +00:00
Volker Lanz
2b1f937917
warn if user tries to overwrite an existing partition with another or an image
...
file
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128576
2010-05-19 17:11:15 +00:00
Volker Lanz
6d939c372d
ws fix
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128540
2010-05-19 15:25:04 +00:00
Volker Lanz
eaf893cc35
use -n option of fsck.msdos to keep it from modifying the file system when
...
reading usage
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128535
2010-05-19 15:15:18 +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
2069e191de
make sure to update unallocated space after changing the alignment type. also,
...
update partition widget after changing the alignment type since now the
unallocated space might have changed.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127793
2010-05-17 16:36:18 +00:00
Volker Lanz
2202629829
ws fix
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127770
2010-05-17 15:50:10 +00:00
Volker Lanz
3eb9dc8b4a
add assert and check if there is a selected partition
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127769
2010-05-17 15:49:46 +00:00
Volker Lanz
438a325f29
neither KMountPoint nor our own edit mount point dialog can handle more than
...
one mount point per partition, so don't pretend we could in the Partition class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127763
2010-05-17 15:17:15 +00:00
Volker Lanz
bc5d916cc6
if the target file does not exist, don't complain if we cannot rename it to a
...
backup
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127762
2010-05-17 15:14:19 +00:00
Volker Lanz
319a44ae64
add filesystem support for zfs, hpfs, ocfs2, luks and btrfs
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127754
2010-05-17 14:36:18 +00:00
Volker Lanz
bff6424cf6
check if the mount point the partition has is non-empty before using it in the
...
dialog.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127371
2010-05-16 12:19:04 +00:00
Volker Lanz
96964cc52d
make sure avail and used capacity aren't printed if not known
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127356
2010-05-16 11:45:31 +00:00
Volker Lanz
d82e50e5d5
check return codes from external commands in fs classes
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127069
2010-05-15 13:10:34 +00:00
Volker Lanz
bf02314ff3
use libblkid to probe file systems, not libparted
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1127061
2010-05-15 12:32:04 +00:00
Script Kiddy
a28a62074a
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1125742
2010-05-12 06:54:18 +00:00
Script Kiddy
c2c82a042f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1124206
2010-05-08 06:37:49 +00:00
Volker Lanz
d9715e5211
switch the order of file system and label so it's consistent across dialogs
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1122705
2010-05-04 14:27:12 +00:00
Volker Lanz
9ec7f7b2e5
don't build the dummy backend by default (or distros will start to ship it)
...
make building the libparted backend configurable
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1122567
2010-05-04 07:23:19 +00:00
Volker Lanz
0c3f5ca46f
add icons to open browser and save buttons
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1121503
2010-05-01 13:31:27 +00:00
Volker Lanz
df7ef8571d
make HtmlReport a real class
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1121500
2010-05-01 13:19:50 +00:00
Volker Lanz
ce6f2c08d4
add a first version of a html report class
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1120179
2010-04-28 15:21:07 +00:00
Script Kiddy
3d8eaf6e48
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119999
2010-04-28 06:30:33 +00:00
Volker Lanz
bc58e08b93
add saving of smart report to a html file
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119675
2010-04-27 16:10:54 +00:00
Volker Lanz
dbc3da271b
fix html: <br> is 1990's
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119670
2010-04-27 16:01:48 +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
a26bda1ca8
re-init the file systems when loading a new backend
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119646
2010-04-27 14:49:28 +00:00
Volker Lanz
1c97342be3
if the file system we want to set the combo box to cannot be found in it, set
...
it to the first value; don't set it to -1
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119609
2010-04-27 13:19:34 +00:00
Volker Lanz
1b8a5eb6be
don't capitalize the color config names
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119578
2010-04-27 12:38:56 +00:00
Volker Lanz
0bc6695513
remove the NO_THREADED_DEVICE_SCANNER ifdefs, they are not requires anymore
...
(and never really were)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119568
2010-04-27 12:14:53 +00:00
Volker Lanz
19ed42c34b
make sure we hide the scan progress dialog even if there is no progress at all
...
(most likely the case when there are no devices found at all)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119566
2010-04-27 12:11:50 +00:00
Volker Lanz
f8e81095ea
add a formatted spin box
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119557
2010-04-27 11:41:35 +00:00
Volker Lanz
004e83447b
turn off keyboard tracking for the spin boxes if align is on; this mostly
...
alleviates the problems arising from overwriting the spin box values if the new
value is illegal since we don't see values while they are being entered
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119551
2010-04-27 11:21:16 +00:00
Volker Lanz
b28c212a9d
make the spin boxes in SizeDialogBase work properly with aligned partitions,
...
mostly.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119547
2010-04-27 11:04:59 +00:00
Volker Lanz
0649420740
whitespace
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119522
2010-04-27 10:14:54 +00:00
Volker Lanz
d08ce3ac78
move the updateLength-code from the part resizer widget to SizeDialogBase
...
because that's where it's actually being used exclusively.
don't update the spinbox value in
SizeDialogBase::onFreeSpaceBefore/AfterChanged() because if we do that the user
cannot enter values digit by digit anymore (we'll just overwrite what he entered
after each keystroke)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119113
2010-04-26 15:37:02 +00:00
Volker Lanz
80cbafc7cb
set spin box stepping for capacity, too
...
make sure we set the correct value for the free space spinboxes after
calculating the new first/last sector
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119091
2010-04-26 14:34:59 +00:00
Volker Lanz
1322c015e0
make sure start and end are aligned when updating a partition's length
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119081
2010-04-26 14:14:14 +00:00
Volker Lanz
42cc630639
update TODO
...
don't check for length constraints when moving a partition: the length must not
change anyway and the logic wouldn't work because the length DOES change in
between calls to update first and last sector
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119076
2010-04-26 14:03:41 +00:00
Volker Lanz
0284f685a8
make PartitionAlignment::alignedFirstSector() and
...
PartitionAlignment::alignedLastSector() take the min and max first/last, the
min length and the max length as args, making a lot of stuff in
PartitionAlignment superfluous.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119051
2010-04-26 13:14:29 +00:00
Volker Lanz
b6f60697e9
no need to align new or inserted partitions: they're replacing unallocated or
...
existing partitions which will be aligned if that is what the user configured
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119049
2010-04-26 13:12:48 +00:00
Volker Lanz
32f610d28a
make changing the free space after a partition work with aligning, mostly.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119010
2010-04-26 11:46:38 +00:00
Volker Lanz
6b89377253
make changing the free space before a partition work with aligning, mostly.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119007
2010-04-26 11:30:06 +00:00
Volker Lanz
31936a5072
set maximum for sector
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119006
2010-04-26 11:24:51 +00:00
Volker Lanz
8dcd4cd1de
use QDoubleSpinBox instead of the integer version for free space before and
...
after and for capacity so that fractions are possible for these values
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1118931
2010-04-26 08:50:57 +00:00
Volker Lanz
c9a9402fbe
add toDouble()
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1118928
2010-04-26 08:43:16 +00:00
Laurent Montel
444cc70394
Fix ui files
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1116400
2010-04-19 11:47:04 +00:00
Volker Lanz
d4772c37fb
make resizeLogicals take start and end delta as args to it does not always have
...
to delete and re-create the unallocated first and last child in an extended
partition, which is a waste of resources
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1116005
2010-04-18 11:36:00 +00:00
Volker Lanz
2bbb4ddcb4
move the code to calc the start and end of an unallocated partition to its own
...
static method
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1116004
2010-04-18 11:35:05 +00:00
Script Kiddy
a3d0681d7e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115953
2010-04-18 06:26:19 +00:00
Volker Lanz
1747d31bd2
fix setupDialog and setupConstraints in SizeDialogBase and reverse the order
...
they're called in in the various dialog ctors to how it was in 1.0.x (which
makes a lot more sense)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115388
2010-04-16 09:28:39 +00:00
Volker Lanz
5e6b74e1af
use the setters in init() for readonly and move allowed; also, call the setters
...
in the order the args are in
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115387
2010-04-16 09:27:39 +00:00
Volker Lanz
511c20476c
fix off by one
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115384
2010-04-16 09:05:08 +00:00
Volker Lanz
50ee02a24a
fix calculation of min and max first and last for aligned case
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115379
2010-04-16 08:40:33 +00:00
Volker Lanz
067eeb018d
Do not merge resize/new/delete ops if an extended partition is involved: Too
...
many things can go wrong, all of them leading to crashes.
BUG:232092
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115229
2010-04-15 17:34:34 +00:00
Volker Lanz
34842c84cb
make PartResizerWidget::resizeLogicals do the "right" thing for non extended
...
partitions (i.e., just remove any children)
call resizeLogicals() when a new partition's role changes in NewDialog so it
gets an unallocated child if it's now extended or the unallocated child is
removed if not anymore.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115223
2010-04-15 16:59:56 +00:00
Volker Lanz
70b47376d3
one friend less, huzzah
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115202
2010-04-15 16:04:40 +00:00
Volker Lanz
8632b7cf0d
Move the workaround-code that replaced making a temp copy of a partition for
...
the ResizeDialog to said dialog instead of cluttering the
PartitionManagetWidget's call with that.
Call updatePartitions() after exec'ing ResizeDialog() even if the dialog was
not accepted as it might have deleted and re-created unallocated children of
extended partitions anyway -- and that would crash us later.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115191
2010-04-15 15:30:08 +00:00
Volker Lanz
0bebc1a2d0
Don't update logicals when moving an extended partition:
...
Moving extended partitions is not allowed if they have logicals and calling the
resizeLogicals() method will remove the unallocated partition the user has with
an 98% probability clicked to drag from under our feet, causing moving to fail.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115167
2010-04-15 14:25:55 +00:00
Volker Lanz
ee5f16ad34
don't crash when creating a size dialog: don't set moveAllowed before the
...
partWidget is created
make sure to always create unallocated partitions when resizing an extended,
not only if it already has one.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115158
2010-04-15 13:41:12 +00:00
Volker Lanz
ca76d30c3d
Align a partition if it's newly created (or inserted), the one it replaces
...
was not aligned and aligning is on.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115135
2010-04-15 10:46:36 +00:00
Volker Lanz
ee40f89db7
Make PartitionAlignment a shell around static methods only.
...
Make sure aligning partitions actually works in the part resizer. Could still
need work and even thought.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115134
2010-04-15 10:45:43 +00:00
Volker Lanz
9436c18f69
Do not create a temporary Partition instance for resizing. This does not work
...
anymore because when aligning the resized partition it is no longer known if an
existing partition is the source of the temporary copy or some other partition.
Let the ResizeDialog modify the original and restore its start and end sector
after the dialog has been executed instead.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115133
2010-04-15 10:38:48 +00:00
Volker Lanz
82f08a4f8b
use PartitionAlignment::sectorAlignment, not Config::sectorAlignment
...
let the PartResizerWidget know the state of the align checkbox
use the toggled, not the stateChanged signal from the align checkbox
make sure PartResizerWidget::setMoveAllowed is called before PartResizerWidget::init
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115131
2010-04-15 10:32:12 +00:00
Volker Lanz
65500ac0f3
change arg name so it doesn't clash with a method name
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115130
2010-04-15 10:26:51 +00:00
Volker Lanz
cc1542fa84
change the way the number of free sectors before and after a partition is
...
calculated:
In case of the free sectors after a partition, we used to just add the length
of the following unallocated partition to the last sector. This does not work
for extended partitions where unallocated partitions have
number_of_sectors_per_track free space before AND after them.
This is because if a new partition is created in place of the unallocated space
and this partition is followed by another logical, we need two times
number_of_sectors_per_track for two extended boot records.
If, however, the partition in question is simply resized to fill up all space
following it (and is still followed by a logical), we only need ONE EBR.
To solve this, we now use the difference between the following partition's last
sector and the partition's last sector instead.
The same is true for free sectors preceding a partition, of course.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115127
2010-04-15 10:20:36 +00:00
Volker Lanz
c97d7cd15a
small layout fix
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115125
2010-04-15 10:14:06 +00:00
Volker Lanz
c91e6201a0
add config option to set if partitions are aligned per default
...
don't use title case in labels in the config
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114762
2010-04-14 12:55:27 +00:00
Volker Lanz
9426e3afec
add new class PartitionAlignment and move all alignment related stuff there
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114380
2010-04-13 10:04:01 +00:00
Volker Lanz
9d0e0774ef
When looking for a partition that already occupies a sector we want to align
...
to, make sure that if we find an unallocated one it's either logical if we're
aligning a logical or primary if we're aligning a primary.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114138
2010-04-12 20:16:11 +00:00
Volker Lanz
881ff2a4d2
whitespace
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114125
2010-04-12 19:56:43 +00:00
Volker Lanz
3d6b74453e
check the constraints (first and last sector min and max) again after aligning
...
a partition to make sure we're not going over those. of course
PartitionTable::alignPartition() shouldn't move first and last sector to
anywhere it's not allowed to, but currently it seems buggy enough to do so and
the check won't hurt.
PartitionTable::alignPartition() still needs to be fixed, of course.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114084
2010-04-12 18:20:14 +00:00
Volker Lanz
d349fbd591
don't try to move a partition if first sector or last sector don't change
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114076
2010-04-12 17:51:21 +00:00
Volker Lanz
f1bc4afde8
also set PartWidgets to visible
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114071
2010-04-12 17:29:29 +00:00
Volker Lanz
ea2e6cba9f
move more code from setupConstraints to setupDialog as another workaround. this
...
really needs fixing.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114067
2010-04-12 17:05:10 +00:00
Volker Lanz
ec44af261e
move childWidgets() from PartWidget and PartTableWidget to the common base
...
class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114051
2010-04-12 16:22:14 +00:00
Volker Lanz
92a9bd2878
make PartWidgetBase a QWidget
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114049
2010-04-12 16:14:10 +00:00
Volker Lanz
22978e66b8
don't keep a list of our children in PartTableWidget either; like in
...
PartWidget, we can just let Qt handle that for us
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114047
2010-04-12 16:08:13 +00:00
Volker Lanz
c1a6713e45
Remember the active PartWidget in the widget, not in the PartTableWidget. This
...
means the PartWidget doesn't need to know its PartTableWidget anymore.
Don't keep a list of child widgets, Qt will do that for us.
Remove the showChildren param and property from PartWidget, it wasn't used
anymore.
Rename active() to isActive() in PartWidget for consistency.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114033
2010-04-12 14:35:02 +00:00
Volker Lanz
3f1b211df9
no one is calling the code in drawPartition() but the paint event so move it to
...
the paint event handler. also, remove a superflous assert in the ctor.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113987
2010-04-12 12:48:17 +00:00
Volker Lanz
0d2f3ccc84
clean up partwidget class: don't use qpointers, don't use a pointer for access
...
to the partition property. still needs more work.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113951
2010-04-12 10:55:13 +00:00
Volker Lanz
f2e216cb43
check if there actually is a partition in the partwidget before accessing it
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113935
2010-04-12 10:15:30 +00:00
Volker Lanz
72775ba8a0
this is surely const
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113930
2010-04-12 09:45:14 +00:00
Volker Lanz
aabeab1d54
show an ok-icon if smart status is ok and hide the icon label if smart status
...
is unknown
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113927
2010-04-12 09:23:55 +00:00
Volker Lanz
6d8192b18e
use the icons the kstandardguiitem would use in all kguiitems we create
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113772
2010-04-11 18:19:24 +00:00
Volker Lanz
2f822dd21b
check if device has more than 2^32 sectors if user wants to create an msdos
...
partition table on it and show a warning in that case. also make the default
GPT.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113771
2010-04-11 18:06:47 +00:00
Volker Lanz
cf9ecebd1f
turns out which sector alignment is used on import is determined by the app
...
wide default in the settings. well. for now, include the information in the
export, but ignore it on import.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113752
2010-04-11 17:16:43 +00:00
Volker Lanz
10bc881dfd
use KIO for file IO where appropriate
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113737
2010-04-11 16:12:16 +00:00
Volker Lanz
216868d8ee
use KTemporaryFile
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113723
2010-04-11 15:41:35 +00:00
Volker Lanz
4180318c41
remove kdebug line we apparently forgot to remove ;-)
...
use KIO to save files (actually, use a temp file and copy it with KIO::move)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113694
2010-04-11 14:29:20 +00:00
Script Kiddy
bd896e98cd
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1109899
2010-04-01 06:38:15 +00:00
Yuri Chornoivan
f322030288
typo fix
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1108229
2010-03-28 07:58:08 +00:00
Script Kiddy
d33325f853
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1108218
2010-03-28 07:16:27 +00:00
Volker Lanz
fed39b453a
make krazy2 happy
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1108118
2010-03-27 21:18:05 +00:00
Volker Lanz
180fa4643d
extend smart stuff, add its own dialog, add action to trigger it etc.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1108004
2010-03-27 13:47:32 +00:00
Volker Lanz
597a574df5
don't allow hiding the first column, qt gets very confused if you do
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107999
2010-03-27 13:21:20 +00:00
Script Kiddy
77e9c942fc
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107903
2010-03-27 06:56:40 +00:00
Volker Lanz
c29ce45cc8
add an icon if the smart status is bad
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107721
2010-03-26 16:02:55 +00:00
Volker Lanz
28efbee2ec
add smart status information
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107708
2010-03-26 15:06:33 +00:00
Volker Lanz
10efee63d1
don't add, subtract from the new first sector to make minimum size work
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107491
2010-03-25 19:58:35 +00:00
Volker Lanz
c5d4f57c83
Remove a partition from its parent in its dtor. This should fix bug 232092
...
but seems too risky to backport for now.
CCBUG:232092
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107315
2010-03-25 10:21:55 +00:00
Script Kiddy
68436ab3b9
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107265
2010-03-25 07:14:06 +00:00
Volker Lanz
6b4aa38bcd
replace numPendingOperations() with operationStack().size()
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107160
2010-03-24 23:32:20 +00:00
Volker Lanz
74db24753b
warn if user changes backend and operations are pending
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107157
2010-03-24 23:30:20 +00:00
Volker Lanz
ea4611c236
don't cast, think. then look. then, don't cast ;-)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107142
2010-03-24 23:03:38 +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
Script Kiddy
27fe63b20d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106918
2010-03-24 06:59:39 +00:00
Volker Lanz
972a8e4fd0
emit operationsChanged signal each time an operation is pushed even if it's
...
merged with an existing operation: the merge may have caused an existing
operation to change in a way that needs reflecting in the GUI (e.g. a
NewOperation now has a different FileSystem)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106847
2010-03-24 00:30:48 +00:00
Volker Lanz
b28a66bc3f
don't assume idx 0 is the default file system
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106842
2010-03-24 00:20:35 +00:00
Volker Lanz
a07e0ee103
don't omit the X-KDE-Library line or things will break
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106841
2010-03-24 00:20:13 +00:00
Volker Lanz
c1c466d97c
make building the dummy backend optional
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106832
2010-03-24 00:06:35 +00:00
Script Kiddy
3a5604c619
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106534
2010-03-23 06:54:29 +00:00
Script Kiddy
8e5a3ad1e9
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106191
2010-03-22 07:02:57 +00:00
Volker Lanz
8074a1e702
remove the kpart. it's totally broken now and would require a lot of work.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105785
2010-03-21 11:59:58 +00:00
Volker Lanz
dc3c0a98cd
move config dialog pages to files of their own
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105782
2010-03-21 11:52:07 +00:00
Volker Lanz
40ae70af25
move config stuff to its own src subdir
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105772
2010-03-21 11:32:31 +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
389fc52e0e
actually delete the d pointer in the dtor ;-)
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105478
2010-03-20 11:10:40 +00:00
Volker Lanz
5c94a3f569
remove outdated and misleading comment
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105477
2010-03-20 11:09:01 +00:00
Volker Lanz
11853a9d68
add a d pointer to the core backend base class and move its ctor and dtor to
...
the implementation files to make this a little more future proof.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105475
2010-03-20 11:07:52 +00:00
Volker Lanz
e3932ebf3f
use "Advanced" as button text for the details button
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105464
2010-03-20 10:10:11 +00:00
Volker Lanz
36dccf2c55
new text for "align partition" checkbox
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105449
2010-03-20 08:56:01 +00:00
Volker Lanz
791377f176
only return true from PartResizerWidget::movePartition() if the partition was
...
actually moved.
set single step for the sector spinboxes to align value
add a checkbox to turn off aligning the partition
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105207
2010-03-19 14:13:04 +00:00
Volker Lanz
6eab5deb08
don't output a warning if the partition is smaller than expected due to
...
aligning: we cannot know here if the warning is justified at all.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105196
2010-03-19 14:07:57 +00:00
Volker Lanz
edca30b707
add a details widget for the size dialog base and use it for first and last
...
sector
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1104707
2010-03-18 11:04:13 +00:00
Volker Lanz
a892c765cb
use a qdoublespinbox instead of a qspinbox for sectors so values higher than
...
2^31 fit
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1104299
2010-03-17 10:48:24 +00:00
Volker Lanz
c384fdaf21
refactor the part resizer and the size dialog base so they're less ugly, less
...
confusing and don't use free sectors before and after the partition but just
plain start and end.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1103958
2010-03-16 11:40:54 +00:00
Volker Lanz
f3c74efa53
make the dummy device smaller so resizing isn't as difficult
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1103941
2010-03-16 10:51:08 +00:00
Volker Lanz
957a084149
make sectorAlignment a static method of PartitionTable; we're going to need it
...
in the part resizer widget
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1103700
2010-03-15 18:31:54 +00:00