Commit Graph

428 Commits

Author SHA1 Message Date
Bart Hakvoort 0693e7996f added popupmenu to operationslist and did some (higrelated) cleanups
* added popupmenu to operationslist and did some (higrelated) cleanups
2006-09-17 13:23:47 +00:00
Bart Hakvoort 600e990a6e trivial cleanups
* include/TreeView_Detail.h,
  src/TreeView_Detail.cc: trivial cleanups
2006-09-16 15:00:25 +00:00
Bart Hakvoort b84a88b557 higgiefied the dialog a bit (#353104)
* src/DialogFeatures.cc: higgiefied the dialog a bit (#353104)
2006-09-16 12:44:36 +00:00
Bart Hakvoort fc8014115e some small changes to make the GUI more consistent (#353140)
* include/Win_GParted.h,
  src/Win_GParted.cc: some small changes to make the GUI more
  consistent (#353140)
2006-09-16 11:27:05 +00:00
Bart Hakvoort b5459176ca changed libpartedcheck a bit. from now on we declare the min. version as
* configure.in: changed libpartedcheck a bit. from now on we declare
  the min. version as variable in one place. This finally closes #330776
2006-09-14 20:34:49 +00:00
Bart Hakvoort 8963a49c42 fixed a couple of issues with reading of volumelabels (#338528)
* src/ext2.cc,
  src/ext3.cc: fixed a couple of issues with reading of volumelabels
  (#338528)
2006-09-14 16:42:02 +00:00
Bart Hakvoort 5e2b8f9837 finally fixed problem with 'disappearing' devicenodes by using udevsettle
* include/GParted_Core.h,
  src/GParted_Core.cc: finally fixed problem with 'disappearing'
  devicenodes by using udevsettle (#352744)
2006-09-13 19:35:17 +00:00
Bart Hakvoort e3b4a7316b added support for reading volumelabels. Atm we only read ext2/3, but the
* added support for reading volumelabels. Atm we only read ext2/3, but
  the infrastructure for adding the other filesystems is in place.
  It's simply a matter of finding the right commands and parsing the
  output. (see #338528 for more info)
2006-09-12 20:34:33 +00:00
Bart Hakvoort be3c0edc87 gparted-0.3.1 2006-09-11 09:46:42 +00:00
Bart Hakvoort 403143fc9b show correct statusmessage when performing the readonly test.
* src/GParted_Core.cc: show correct statusmessage when performing the
  readonly test.
2006-09-11 09:17:31 +00:00
Bart Hakvoort 55851c6c46 reverted back to parted probing after i heard patches to fix some issues
* src/GParted_Core.cc: reverted back to parted probing after i heard
  patches to fix some issues with it are underway. (skipping of floppy
  and cdrom)
* src/reiser4.cc,
  src/reiserfs.cc: added --quiet to the fschecks to prevent the
  detailswindow from dying under the load. I should find a solution
  for that anyway.
2006-09-11 09:09:19 +00:00
Bart Hakvoort 50a32c3e14 display total sector info in copy_filesystem()
* src/GParted_Core.cc: display total sector info in copy_filesystem()
2006-09-10 20:48:07 +00:00
Bart Hakvoort 79672a5298 make sure progressfraction stays between 0.0 and 1.0 implemented rollback
* src/Dialog_Progress.cc: make sure progressfraction stays between 0.0
  and 1.0
* include/GParted_Core.h,
  src/GParted_Core.cc: implemented rollback in case of failed move of
  overlapping filesystems. Together with the readonly test moving
  should be quite save now :)
2006-09-10 12:17:33 +00:00
Bart Hakvoort 9010255c1c return true if filesystem was succesfully modified by dosfsck.
* src/fat16.cc,
  src/fat32.cc: return true if filesystem was succesfully modified by
  dosfsck.
2006-09-09 11:11:32 +00:00
Bart Hakvoort 7044410a08 Show number of warnings after all operations are completed. Also urge
* include/Dialog_Progress.h,
  src/Dialog_Progress.cc: Show number of warnings after all operations
  are completed. Also urge people to save their details in case of
  error.
2006-09-09 10:58:48 +00:00
Bart Hakvoort 52eb5545ec trivial 'breakfast cleanups' :)
* include/Frame_Resizer_Base.h,
  src/Frame_Resizer_Base.cc,
  src/Frame_Resizer_Extended.cc,
  src/GParted_Core.cc: trivial 'breakfast cleanups' :)
2006-09-09 07:09:13 +00:00
Bart Hakvoort 4d895659d3 be a bit more verbose on errior in set_used_sectors()
* src/ext2.cc
  src/ext3.cc
  src/fat16.cc
  src/fat32.cc
  src/jfs.cc
  src/ntfs.cc
  src/reiser4.cc
  src/reiserfs.cc
  src/xfs.cc: be a bit more verbose on errior in set_used_sectors()
2006-09-08 20:51:31 +00:00
Bart Hakvoort 59fe25882a declared char * buf global, so it can be initialized in copy_blocks().
* include/GParted_Core.h,
  src/GParted_Core.cc: declared char * buf global, so it can be
  initialized in copy_blocks(). This is a lot more efficient than
  initializing it on every copy_block()
2006-09-08 09:33:02 +00:00
Bart Hakvoort c5853ab734 skip resize/move of partition/filesystem if there are no changes.
* src/GParted_Core.cc: skip resize/move of partition/filesystem if
  there are no changes.
2006-09-08 07:57:23 +00:00
Pema Geyleg 833570510b *** empty log message *** 2006-09-08 05:09:26 +00:00
Bart Hakvoort f7ec213481 added test_overlap() perform a readonly testrun before the actual move if
* include/Partition.h,
  src/Partition.cc: added test_overlap()
* include/GParted_Core.h,
  src/GParted_Core.cc: perform a readonly testrun before the actual
  move if destination overlaps source.
2006-09-07 20:31:05 +00:00
Bart Hakvoort bd4d110fdb parse /proc/partitions to find devices instead of using
* include/GParted_Core.h,
  src/GParted_Core.cc: parse /proc/partitions to find devices instead
  of using ped_device_probe_all()
2006-09-07 18:40:15 +00:00
Bart Hakvoort f87808853d finally added a decent check for libparted (see also #330776)
* configure.in: finally added a decent check for libparted (see also
  #330776)
2006-09-06 20:45:55 +00:00
Bart Hakvoort 7e0a254ae7 gparted-0.3
* gparted-0.3
2006-09-04 20:23:01 +00:00
Bart Hakvoort 7eb2a9cbb1 update ntfsbootsector after first sector has changed. This is necessary to
* include/GParted_Core.h,
  src/GParted_Core.cc: update ntfsbootsector after first sector has
  changed. This is necessary to let windows boot correctly afterwards.
* src/ntfs.cc: added FIXME
2006-09-04 19:18:44 +00:00
Bart Hakvoort 1cd71ef2f2 simplified algorithm to get remaining time
* src/GParted_Core.cc: simplified algorithm to get remaining time
2006-09-03 20:52:43 +00:00
Bart Hakvoort 9cbfca1c6e check if dest >= src before starting a copy
* include/GParted_Core.h,
  src/GParted_Core.cc: check if dest >= src before starting a copy
2006-09-03 18:24:09 +00:00
Bart Hakvoort e0c354880a fixed an issue with copying to unallocated space. It works fine now, but
* src/GParted_Core.cc: fixed an issue with copying to unallocated
  space. It works fine now, but this entire copy operation breaks
  consistency a bit. I should take a look at that when i have some
  more time.
2006-09-03 18:01:55 +00:00
Bart Hakvoort 0aa49f3e98 added progressfeedback to Delete()
* src/GParted_Core.cc: added progressfeedback to Delete()
2006-09-03 14:32:11 +00:00
Bart Hakvoort 95f563d13c more fixes related to moving..
* include/GParted_Core.h,
  src/GParted_Core.cc: more fixes related to moving..
2006-09-03 14:24:05 +00:00
Bart Hakvoort 587a03758d small menu changes
* src/Win_GParted.cc: small menu changes
2006-09-01 18:01:16 +00:00
Bart Hakvoort 9d18b3c9ae fix errormessage
* src/GParted_Core.cc: fix errormessage
2006-08-31 20:27:10 +00:00
Bart Hakvoort 34389f38e7 tried to fix a couple of errors with moving to the right with overlap
* include/GParted_Core.h,
  src/GParted_Core.cc: tried to fix a couple of errors with moving to
  the right with overlap (thanks Larry for hunting ;) )
  Although everything seems to work well i'm still not sure if
  everything is 100% ok.
  I guess everything could use some more testing, which is exactly
  what i plan to do this weekend :)
2006-08-31 20:19:38 +00:00
Bart Hakvoort 5b504abedb usability stuff + trivial fix (#353109, #353111)
* src/Win_GParted.cc: usability stuff + trivial fix (#353109, #353111)
2006-08-28 20:11:58 +00:00
Bart Hakvoort 36dc2e4cf2 added legend (#353104) added FIXME
* include/DialogFeatures.h,
  src/DialogFeatures.cc: added legend (#353104)
* src/fat32.cc: added FIXME
2006-08-27 19:29:24 +00:00
Bart Hakvoort 9d956594d6 replaced ntfscluster with ntfsresize (see #350789)
* src/ntfs.cc: replaced ntfscluster with ntfsresize (see #350789)
2006-08-27 12:05:05 +00:00
Bart Hakvoort d23ca9d8ea ^) restructured resize_move() to be more robust. This will hopefully
* happy 24th birthday Johannes! :^)
* include/GParted_Core.h,
  src/GParted_Core.cc: restructured resize_move() to be more robust.
  This will hopefully tackle a couple of issues which came up during
  the public testing.
2006-08-27 08:41:25 +00:00
Bart Hakvoort 5060b1a07c improvements to probe and copy stuff.
* include/GParted_Core.h,
  src/GParted_Core.cc: improvements to probe and copy stuff.
2006-08-26 14:37:06 +00:00
Bart Hakvoort 79c41f7be5 use Glib::timer instead of std::time stuff for the probing, this is more
* src/GParted_Core.cc: use Glib::timer instead of std::time stuff for
  the probing, this is more accurate since the resolution is much
  higher (microseconds instead of seconds)
2006-08-24 20:50:27 +00:00
Bart Hakvoort 5631232ee1 catch markup exceptions cleanups
2006-08-24 Bart Hakvoort <hakvoort@cvs.gnome.org>

* src/OperationDetail.cc: catch markup exceptions
* src/Utils.cc: cleanups
2006-08-24 19:29:28 +00:00
Bart Hakvoort 8abc8bf2e5 added format_time() keep track of elapsed time between STATUS_EXECUTE and
* include/Utils.h,
  src/Utils.cc: added format_time()
* include/OperationDetail.h,
  src/OperationDetail.cc: keep track of elapsed time between
  STATUS_EXECUTE and STATUS_[ERROR|SUCCES]
* include/Dialog_Progress.h,
  src/Dialog_Progress.cc: show elapsed time in the details per (sub)
  process
* src/GParted_Core.cc: use Utils::format_time()
2006-08-22 19:29:59 +00:00
Bart Hakvoort 82e6f6b132 added nice -n 19, so that all extensive filesystemoperations will be
* src/FileSystem.cc: added nice -n 19, so that all extensive
  filesystemoperations will be 'nice' :)
* src/OperationDetail.cc,
  src/Utils.cc: cleanups
2006-08-21 19:59:48 +00:00
Bart Hakvoort faddc9d1fc enabled set_do_overwrite_confirmation() for the detailsfile. raised gtkmm
* src/Dialog_Progress.cc: enabled set_do_overwrite_confirmation() for
  the detailsfile.
* configure.in: raised gtkmm dependency from 2.6 to 2.8
2006-08-20 18:13:40 +00:00
Bart Hakvoort ab8e1b586d replaced hardcoded menu and toolbar indices with variables. This is far
* include/Win_GParted.h,
  src/Win_GParted.cc: replaced hardcoded menu and toolbar indices with
  variables. This is far more flexible and reliable.
2006-08-20 16:51:18 +00:00
Bart Hakvoort 649f26be9f fixed some issues with combi move+shrink on fat* and hfs* filesystems.
* include/GParted_Core.h,
  src/GParted_Core.cc: fixed some issues with combi move+shrink on
  fat* and hfs* filesystems.
  Also call wait_for_node() from commit() if 'node' was provided.
2006-08-20 11:47:17 +00:00
Bart Hakvoort 1234b248d5 due to some restrictions it was no longer possible to shrink swap
* src/Dialog_Partition_Resize_Move.cc: due to some restrictions it was
  no longer possible to shrink swap filesystems. fixed.
2006-08-20 10:07:25 +00:00
Bart Hakvoort 8e0880e5ea small fix with moving of linux-swap (which seems pretty useless to me :^)
* src/linux_swap.cc: small fix with moving of linux-swap (which seems
  pretty useless to me :^) )
2006-08-20 09:49:45 +00:00
Bart Hakvoort 889ab1232f changed progressfeedbackhandling a bit. Because this affected
* changed progressfeedbackhandling a bit. Because this affected
  OperationDetail i had to make changes in almost every file.
2006-08-20 09:33:54 +00:00
Bart Hakvoort a6b853ad8f added 'time remaining' to progressfeedback.
* src/GParted_Core.cc: added 'time remaining' to progressfeedback.
2006-08-16 20:30:26 +00:00
Bart Hakvoort 8393f5ef6a created set_progress_info() (i actually planned on adding some time
* include/GParted_Core.h,
  src/GParted_Core.cc: created set_progress_info() (i actually planned
  on adding some time remaining stuff, but xfiles is waiting ;) )
2006-08-15 18:33:56 +00:00