Commit Graph

540 Commits

Author SHA1 Message Date
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
Bart Hakvoort 5c66a79669 fixed small issue with lp_partition ->geom stuff sometimes losing values
* src/GParted_Core.cc: fixed small issue with lp_partition ->geom
  stuff sometimes losing values when going out of scope.
2006-08-13 14:13:33 +00:00
Bart Hakvoort 9576eb981e couple of cleanups in operationhandling and initalizing of p_filesystem.
* include/GParted_Core.h,
  src/GParted_Core.cc: couple of cleanups in operationhandling and
  initalizing of p_filesystem.
2006-08-13 13:31:57 +00:00
Bart Hakvoort 20be2db114 small fix to pass 'make distcheck'
* include/Makefile.am: small fix to pass 'make distcheck'
2006-08-09 19:33:51 +00:00
Bart Hakvoort ac53a7875f did some work on disabling of automounting of removable drives. The
* include/GParted_Core.h,
  src/GParted_Core.cc: did some work on disabling of automounting of
  removable drives. The current method is not entirely to my liking
  but it seems to work.
2006-08-09 19:20:20 +00:00
Bart Hakvoort 4c2e8b469c fixed small issue with shrinking of a new (virtual) partition
* src/Dialog_Partition_Resize_Move.cc: fixed small issue with
  shrinking of a new (virtual) partition
2006-08-08 19:08:36 +00:00
Bart Hakvoort b539a10ddc implemented some stuff to find a good blocksize to use for copy/move.
* implemented some stuff to find a good blocksize to use for
  copy/move. Actually i'm not really happy with it, because probing
  seems suboptimal, but it's better than nothing. As soon as i have
  some time i should do some research on the subject to find a better
  solution.
2006-08-08 19:04:29 +00:00
Bart Hakvoort b42982b884 construct operations in the activate*() functions instead of in
* include/Win_GParted.h,
  src/Win_GParted.cc: construct operations in the activate*()
  functions instead of in Add_Operation(). This approach allows for
  more customization of operations.
2006-08-01 20:19:17 +00:00
Bart Hakvoort b0d6109ed0 made set_partition_type() a bit more verbose and did some cleanups.
* src/GParted_Core.cc: made set_partition_type() a bit more verbose
  and did some cleanups.
2006-08-01 13:18:22 +00:00
Bart Hakvoort 89a42f3f07 added get_sector() use new Partition::get_sector()
* include/Partition.h,
  src/Partition.cc: added get_sector()
* src/GParted_Core.cc: use new Partition::get_sector()
2006-08-01 12:47:03 +00:00
Bart Hakvoort 07418ae4c8 fixed some issues when manipulating a just copied partition. (see also
* src/Dialog_Partition_Copy.cc,
  src/GParted_Core.cc,
  src/Win_GParted.cc: fixed some issues when manipulating a just
  copied partition. (see also #349513)
2006-08-01 12:16:22 +00:00
Bart Hakvoort 677a21f50a improved errorhandling a bit. At the initialscan we store errors/warnings
* improved errorhandling a bit. At the initialscan we store
  errors/warnings now in a list per partition and show the in the
  partitioninfo dialog.
  While executing an operation we collect all libparted exceptions in
  a list and attach this list to the operationdetails when everything
  is done.
2006-07-30 15:13:41 +00:00
Bart Hakvoort e033136a6f renamed some enums
* renamed some enums
2006-07-29 15:20:32 +00:00
Bart Hakvoort faad1b6be4 fixed a couple of small errors in the copy algorithm (which is closely
* src/GParted_Core.cc: fixed a couple of small errors in the
  copy algorithm (which is closely related to moving)
2006-07-29 14:42:01 +00:00
Bart Hakvoort 157a1b9fee fixed a couple of small errors in the move algorithm
* src/GParted_Core.cc: fixed a couple of small errors in the
  move algorithm
2006-07-29 12:03:25 +00:00
Bart Hakvoort d52b0286c9 fixed Pango markup problems in operationdetails restructured
* fixed Pango markup problems in operationdetails
* restructured OperationDetail
* renamed some enums for improved readability of the source
2006-07-29 08:27:28 +00:00
Bart Hakvoort d663c3c277 removed cylindersize buffering during resize from the filesystems. It is
* include/FileSystem.h,
  include/GParted_Core.h,
  src/FileSystem.cc,
  src/GParted_Core.cc,
  src/ext2.cc,
  src/ext3.cc,
  src/ntfs.cc,
  src/reiserfs.cc: removed cylindersize buffering during resize from
  the filesystems. It is not needed anymore now we calculate the new
  position before calling this.
  Also added some extra progressfeedback in the core
2006-07-23 18:43:15 +00:00
Bart Hakvoort 8059d5f6d9 more work on moving/resizing sequence
* include/GParted_Core.h,
  src/GParted_Core.cc: more work on moving/resizing sequence
2006-07-23 16:51:38 +00:00
Bart Hakvoort 069662588e fixed issue with resize/move of extended partitions
* src/GParted_Core.cc: fixed issue with resize/move of extended
  partitions
2006-07-23 10:33:41 +00:00
Bart Hakvoort f0d4890a92 added FIXME: decoupled libparted partition and filesystemresizing. This
* src/Win_GParted.cc: added FIXME:
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/fat32.cc: decoupled libparted partition and filesystemresizing.
  This resulted in a much more consistent core. This also affected
  several other aspects of resizing/moving in a positive way.
2006-07-23 09:58:45 +00:00
Bart Hakvoort 59dad3ec04 FIXME business only snap to cylinder if operation is != DELETE or FORMAT
* src/GParted_Core.cc: FIXME business
* src/Win_GParted.cc: only snap to cylinder if operation is != DELETE
  or FORMAT
2006-07-20 20:03:54 +00:00
Bart Hakvoort dc883ee652 perform some checks before adding a new operation to the list. made
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/Win_GParted.cc: perform some checks before adding a new
  operation to the list.
* src/Partition.cc: made get_length() a bit safer
2006-07-20 19:14:44 +00:00
Bart Hakvoort 7f265770eb added FIXME removed FIXME
* src/Dialog_Progress.cc: added FIXME
* src/GParted_Core.cc: removed FIXME
2006-07-19 21:04:49 +00:00
Bart Hakvoort f7722d2bbf show warning in progressfeedback if a certain action is n/a. Of course we
* include/Dialog_Progress.h,
  include/Operation.h,
  src/Dialog_Progress.cc,
  src/GParted_Core.cc: show warning in progressfeedback if a certain
  action is n/a. Of course we only allow these actions if the results
  are non-lethal.
2006-07-19 20:54:08 +00:00
Bart Hakvoort 9e32399727 enabled move support for all the filesystems. Also made some small changes
* enabled move support for all the filesystems. Also made some small
  changes to the logic which determines if copy is allowed.
2006-07-19 20:12:46 +00:00
Bart Hakvoort a11ddd7496 added some progressfeedback
* src/GParted_Core.cc: added some progressfeedback
2006-07-19 19:02:18 +00:00
Bart Hakvoort cf49d07996 fixed potential crasher in read algorithm (#347914)
* src/xfs.cc: fixed potential crasher in read algorithm (#347914)
2006-07-19 17:26:42 +00:00
Bart Hakvoort cf59b71bf4 worked a bit on progressfeedback.. added FIXME
* include/GParted_Core.h,
  src/GParted_Core.cc: worked a bit on progressfeedback..
* include/Partition.h: added FIXME
2006-07-18 21:10:10 +00:00
Bart Hakvoort 8c5326e8b6 implemented snap to cylinder algorithm. Although the algorithm is very
* src/Win_GParted.cc,
  include/GParted_Core.h,
  src/GParted_Core.cc: implemented snap to cylinder algorithm.
  Although the algorithm is very simple, it seems to work perfectly.
  However, some additional testing is required.
2006-07-17 20:54:41 +00:00
Bart Hakvoort 357e2d84bc lots of fixes and improvements (mostly move-related)
* lots of fixes and improvements (mostly move-related)
2006-07-11 18:13:27 +00:00
Bart Hakvoort 935ceb756e some more work on the order of operations when performing a move (made use
* src/GParted_Core.cc: some more work on the order of operations when
  performing a move (made use of maximize_filesystem() ).
2006-06-21 19:46:29 +00:00
Raivis Dejus beb0db9b8e Added Latvian translation.
2006-06-21  Raivis Dejus  <orvils@gmail.com>

	* lv.po: Added Latvian translation.

	* cinfugure.in: Added 'lv' entry to ALL_LINGUAS
2006-06-21 10:37:43 +00:00
Bart Hakvoort 90e1af5bfe finalized the order of operations when performing a move.
* src/GParted_Core.cc: finalized the order of operations when
  performing a move.
2006-06-20 20:17:32 +00:00
Bart Hakvoort a150c58852 use new copy_block() in copy_filesystem()
* src/GParted_Core.cc: use new copy_block() in copy_filesystem()
2006-06-18 19:56:48 +00:00
Bart Hakvoort b223e829ab renamed resize_partition to resize_move_partition to better reflect its
* include/GParted_Core.h,
  src/GParted_Core.cc: renamed resize_partition to
  resize_move_partition to better reflect its functionality.
2006-06-18 19:38:29 +00:00
Bart Hakvoort 8fecbac1d0 did more work on moving
* include/GParted_Core.h,
  src/GParted_Core.cc: did more work on moving
2006-06-18 19:27:52 +00:00
Bart Hakvoort afa792bf0c some more cleanups, should be finished now :)
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/Win_GParted.cc: some more cleanups, should be finished now :)
2006-06-18 08:50:17 +00:00
Bart Hakvoort 32dc8481c8 restructured the core a bit, over time it had become very messy.
* restructured the core a bit, over time it had become very messy.
2006-06-17 20:52:25 +00:00
Bart Hakvoort 2d7fb5700b more cleanups in the core and the fs'es (these changelogs are getting
* more cleanups in the core and the fs'es (these changelogs are
  getting boring ;^) )
2006-06-17 16:38:15 +00:00
Bart Hakvoort 08245cd08c cleanups in the core and the fs'es (resize)
* cleanups in the core and the fs'es (resize)
2006-06-17 14:44:17 +00:00
Bart Hakvoort 20d5650188 cleanups in the core and the fs'es (check/repair)
* cleanups in the core and the fs'es (check/repair)
2006-06-17 09:55:32 +00:00
Bart Hakvoort 3094aeaabe use new create_filesystem() in format()
* src/GParted_Core.cc: use new create_filesystem() in format()
2006-06-17 09:03:11 +00:00
Bart Hakvoort 682283ce89 cleanups in the core and the fs'es (create)
* cleanups in the core and the fs'es (create)
2006-06-17 08:56:24 +00:00
Bart Hakvoort 65f0a16eb2 removed 'EXPERIMENTAL' from move-message to prevent incorrect
* src/GParted_Core.cc: removed 'EXPERIMENTAL' from move-message to
  prevent incorrect translations.
2006-06-04 13:41:06 +00:00
Bart Hakvoort b92ac20232 added movesupport, atm in experimental state and needs lots of cleaning.
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/ext2.cc: added movesupport, atm in experimental state and needs
  lots of cleaning. only enabled for ext2, but should work for all
  filesystems.
* src/DialogFeatures.cc: added alternating rowcolours (see #342682)
2006-05-31 20:03:49 +00:00
Bart Hakvoort 7ff0609962 made blocksize settable by the user.
* include/Dialog_Partition_Copy.h,
  include/GParted_Core.h,
  include/OperationCopy.h,
  include/Win_GParted.h,
  src/Dialog_Partition_Copy.cc,
  src/GParted_Core.cc,
  src/OperationCopy.cc,
  src/Win_GParted.cc: made blocksize settable by the user.
2006-05-27 19:51:55 +00:00
Bart Hakvoort a45ade9563 fixed typo (#343015)
* src/GParted_Core.cc: fixed typo (#343015)
2006-05-26 16:09:11 +00:00
Arangel Angov 11ff0b2bad Updated Macedonian translation <arangela@cvs.gnome.org> 2006-05-25 16:56:50 +00:00
Takeshi AIHANA 5827c8d0d6 Added 'ja' (Japanese) to ALL_LINGUAS.
2006-05-24  Takeshi AIHANA <takeshi.aihana@gmail.com>

	* configure.in: Added 'ja' (Japanese) to ALL_LINGUAS.
2006-05-24 13:24:08 +00:00
Bart Hakvoort 7bb7e8a84f Use ped_device_read and ped_device_write instead of 'dd' to copy
* Use ped_device_read and ped_device_write instead of 'dd' to copy
  filesystems.
  Modified progressdetails to provide more detailed feedback about a
  process.
  Basicly these were all changes to the infrastructure to make the
  incorporation of the 'move-code' a bit easier.

  ( sorry, not in the mood to list all affected files ;)
2006-05-23 21:17:34 +00:00
Bart Hakvoort aef704c242 gparted-0.2.5
* gparted-0.2.5
2006-05-13 18:27:51 +00:00
Bart Hakvoort 939a94c0ba updated copyrightinfo
* src/Win_GParted.cc: updated copyrightinfo
2006-05-13 18:18:52 +00:00
Pawan Chitrakar fe1b3c4dc0 Added Nepali Translation 2006-05-02 13:26:42 +00:00
Bart Hakvoort 9756799d47 hide dialogs after setting new disklabel
* src/Win_GParted.cc: hide dialogs after setting new disklabel
2006-04-15 12:42:57 +00:00
Bart Hakvoort 2c3ce61275 creating a new partition on a BSD partitiontable failed, causing a
* src/GParted_Core.cc: creating a new partition on a BSD partitiontable
  failed, causing a segfault when setting the partitiontype. fixed.
2006-04-15 12:28:42 +00:00
Bart Hakvoort 3ff28fcc35 only allow growing of copy if there is grow support for the filesystem.
* src/Dialog_Partition_Copy.cc: only allow growing of copy if there is
  grow support for the filesystem.
* src/reiser4.cc: added support for copying reiser4 filesystems
2006-04-05 15:34:06 +00:00
Bart Hakvoort 655a83d4c1 modified warning added support for shrinking and copying hfs+ filesystems
* src/GParted_Core.cc: modified warning
* src/hfsplus.cc: added support for shrinking and copying hfs+
  filesystems
2006-04-05 14:26:30 +00:00
Bart Hakvoort d61583599b added support for shrinking hfs filesystems
* src/Dialog_Partition_Resize_Move.cc,
  src/GParted_Core.cc,
  src/Win_GParted.cc,
  src/hfs.cc: added support for shrinking hfs filesystems
2006-04-05 13:47:53 +00:00
Bart Hakvoort 17e088553d disabled resizing of this dialog renamed 'Filesystems' to 'Features' in
* src/DialogManageFlags.cc: disabled resizing of this dialog
* include/DialogFeatures.h,
  include/Makefile.am,
  include/Win_GParted.h,
  src/DialogFeatures.cc,
  src/Makefile.am,
  src/Win_GParted.cc: renamed 'Filesystems' to 'Features' in the
  featuredialog to better reflect the actual functionality
* include/Dialog_Filesystems.h,
  src/Dialog_Filesystems.cc: removed
2006-04-05 09:33:04 +00:00
Bart Hakvoort 9ca2e680d7 gparted-0.2.4 2006-04-04 16:08:39 +00:00
Bart Hakvoort f6c7a77859 remove non-existent devices from disabled_automount_devices at every
* src/GParted_Core.cc: remove non-existent devices from
  disabled_automount_devices at every rescan.
2006-04-04 10:00:55 +00:00
Bart Hakvoort 28343faa78 store libparted error in Partition::error if reading the used/unused space
* src/GParted_Core.cc: store libparted error in Partition::error if
  reading the used/unused space failed.
2006-04-04 08:59:14 +00:00
Bart Hakvoort 7f187d644c added column 'check' use halproperty 'storage.automount_enabled_hint'
* include/Dialog_Filesystems.h,
  src/Dialog_Filesystems.cc: added column 'check'
* include/GParted_Core.h,
  src/GParted_Core.cc: use halproperty
  'storage.automount_enabled_hint' instead of pmount to disable
  automounting.
2006-04-03 18:48:53 +00:00
Bart Hakvoort 3a918a337b improved disabling of automounting. It's still somewhat crude, but right
* include/GParted_Core.h,
  src/GParted_Core.cc: improved disabling of automounting. It's still
  somewhat crude, but right now it's ok for some semi-public testing.
  I'll do some cleanups tomorrow morning.
* src/Dialog_Progress.cc: added FIXME
2006-04-02 21:26:27 +00:00
Bart Hakvoort 26da768ee0 an initial solution for the automount problem. I still need to add
* include/GParted_Core.h,
  src/GParted_Core.cc: an initial solution for the automount problem.
  I still need to add something to prevent just created partitions from
  getting mounted. (see #324220 for more info)
2006-04-02 18:03:37 +00:00
Bart Hakvoort e933473cfa added ufs filesystemclass
* include/Dialog_Filesystems.h,
  include/GParted_Core.h,
  include/Makefile.am,
  include/ufs.h,
  src/GParted_Core.cc,
  src/Makefile.am,
  src/ufs.cc: added ufs filesystemclass
2006-04-02 14:35:21 +00:00
Bart Hakvoort 321f0a3dd1 override Gtk::Window::on_show instead of connecting to signal_show() added
* include/Win_GParted.h,
  src/Win_GParted.cc: override Gtk::Window::on_show instead of
  connecting to signal_show()
* include/Dialog_Filesystems.h,
  src/Dialog_Filesystems.cc: added columns 'detect' and 'read'
2006-04-02 14:04:44 +00:00
Bart Hakvoort dcf31ca083 added convenience function cleanups
* include/Utils.h,
  src/Utils.cc: added convenience function
* src/DialogManageFlags.cc,
  src/Win_GParted.cc: cleanups
2006-04-02 13:04:24 +00:00
Bart Hakvoort 540152345e improved behaviour of flagmanagementdialog.
* include/DialogManageFlags.h,
  src/DialogManageFlags.cc,
  src/Win_GParted.cc: improved behaviour of flagmanagementdialog.
2006-04-02 11:18:34 +00:00
Bart Hakvoort e5d12906db fixed another issue in apply_to_visual(), this time with resizing/moveing
* src/OperationResizeMove.cc: fixed another issue in
  apply_to_visual(), this time with resizing/moveing the extended
  partition.
2006-04-01 14:36:16 +00:00
Bart Hakvoort 57a84b119a trivial cleanups fixed a glitch in apply_to_visual() accept returnvalues
* src/GParted_Core.cc: trivial cleanups
* src/OperationResizeMove.cc: fixed a glitch in apply_to_visual()
* src/ext2.cc,
  src/ext3.cc: accept returnvalues 0, 1 and 2 instead of 0 and 1
2006-03-31 18:58:58 +00:00
Bart Hakvoort a044f0f88b let create_empty_partition() return a boolean instead of an integer.
* include/GParted_Core.h,
  src/GParted_Core.cc: let create_empty_partition() return a boolean
  instead of an integer.
2006-03-31 13:10:32 +00:00
Bart Hakvoort f5ea37e310 add 'flag management' (#330453)
* include/DialogManageFlags.h,
  include/GParted_Core.h,
  include/Makefile.am,
  include/Utils.h,
  include/Win_GParted.h,
  src/DialogManageFlags.cc,
  src/GParted_Core.cc,
  src/Makefile.am,
  src/Win_GParted.cc: add 'flag management' (#330453)
2006-03-31 10:49:27 +00:00
Bart Hakvoort 70bfe578d4 added set_used() and operator!= it's now possible to copy from partition
* include/Partition.h,
  src/Partition.cc: added set_used() and operator!=
* src/Dialog_Partition_Copy.cc,
  src/GParted_Core.cc,
  src/OperationCopy.cc,
  src/Win_GParted.cc: it's now possible to copy from partition to
  partition. (before this it was only possible to copy to unallocated
  space)
2006-03-29 19:21:42 +00:00
Bart Hakvoort 91c4ca2b45 fixed another minor memleak (yeah i'm playing with valgrind ;) )
* include/GParted_Core.h,
  src/GParted_Core.cc: fixed another minor memleak (yeah i'm playing
  with valgrind ;) )
2006-03-28 19:01:20 +00:00
Bart Hakvoort 2e1880ee66 it appeared i had to free the result of ped_partition_get_path in order to
* src/GParted_Core.cc: it appeared i had to free the result of
  ped_partition_get_path in order to prevent a memleak.
2006-03-28 18:46:08 +00:00
Bart Hakvoort 40cbb6d4c4 name a copied partition 'copy of <source>'.
* src/OperationCopy.cc: name a copied partition 'copy of <source>'.
2006-03-28 17:38:06 +00:00
Bart Hakvoort ca822ada13 gparted-0.2.3
* gparted-0.2.3
2006-03-28 14:33:28 +00:00
Bart Hakvoort 6187ae7584 removed testdata
* src/GParted_Core.cc: removed testdata
2006-03-28 12:54:31 +00:00
Bart Hakvoort f96c8dea05 trivial cleanups
* trivial cleanups
2006-03-28 12:40:29 +00:00
Bart Hakvoort 9ccc70cb59 made icon behaviour more intelligent small improvement in
* include/TreeView_Detail.h,
  src/TreeView_Detail.cc: made icon behaviour more intelligent
* src/GParted_Core.cc: small improvement in open_device_and_disk()
2006-03-27 19:21:37 +00:00
Bart Hakvoort 511a628939 made some small adjustments to devicechecks.
* src/GParted_Core.cc: made some small adjustments to devicechecks.
2006-03-26 19:45:23 +00:00
Bart Hakvoort e98f0934c4 sort devices alphabetically by default.
* src/GParted_Core.cc: sort devices alphabetically by default.
2006-03-26 09:16:13 +00:00
Bart Hakvoort b52bfbc308 prevented a possible segfault at startup. Thanks to LarryT for finding
* src/DrawingAreaVisualDisk.cc: prevented a possible segfault at
  startup. Thanks to LarryT for finding this.
2006-03-25 18:14:33 +00:00
Bart Hakvoort 99cebc81d3 lots of cleanups in operationhandling. This resulted in cleaner/less code
* lots of cleanups in operationhandling. This resulted in cleaner/less
  code and the fixing of some longstanding issues.
2006-03-24 19:08:41 +00:00
Bart Hakvoort c3c5f189ed fixed a few issues with selecting/activating partitions. improved support
* include/DrawingAreaVisualDisk.h,
  src/DrawingAreaVisualDisk.cc: fixed a few issues with
  selecting/activating partitions.
* include/Utils.h,
  src/Utils.cc,
  src/Dialog_Disklabel.cc,
  src/Dialog_Partition_Info.cc (mk_label): improved support for
  aligment.
* src/Win_GParted.cc: fixed a small alignmentissue in the devices
  submenu.
2006-03-20 10:12:55 +00:00
Bart Hakvoort ad9f2126e7 fixed issues with copying (see also #335004) cleanups + added FIXME added
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/Win_GParted.cc,
  src/ext2.cc,
  src/ext3.cc,
  src/fat16.cc,
  src/fat32.cc,
  src/jfs.cc,
  src/ntfs.cc,
  src/reiserfs.cc: fixed issues with copying (see also #335004)
* include/Operation.h,
  src/Operation.cc: cleanups + added FIXME
* include/Partition.h,
  src/Partition.cc: added clear_mountpoints()
* src/DrawingAreaVisualDisk.cc: added FIXME
2006-03-19 15:30:20 +00:00
Bart Hakvoort 4e57356c34 another change to highlighting of selected partition. deal properly with
* include/DrawingAreaVisualDisk.h,
  src/DrawingAreaVisualDisk.cc: another change to highlighting of
  selected partition.
* include/Partition.h,
  src/Win_GParted.cc: deal properly with just formatted partitions
* src/Operation.cc: added FIXME
2006-03-18 21:38:19 +00:00
Bart Hakvoort 85e9ddbf48 moved comment to correct position fixed issues with mountpoints containing
* src/GParted_Core.cc: moved comment to correct position
* src/Win_GParted.cc: fixed issues with mountpoints containing
  underscores and/or spaces.
2006-03-17 10:07:49 +00:00
Bart Hakvoort 166078d297 fixed visual feedback while mounting a partition
* src/Win_GParted.cc: fixed visual feedback while mounting a partition
2006-03-16 17:18:03 +00:00
Bart Hakvoort 863dc0581b added submenu with mountpoints to 'mount' in partitionmenu. (see also
* include/Win_GParted.h,
  src/Win_GParted.cc: added submenu with mountpoints to 'mount' in
  partitionmenu. (see also #330327)
2006-03-16 17:09:17 +00:00
Bart Hakvoort cb81b44c83 added *.swp corrected url
* compose/.cvsignore: added *.swp
* compose/README: corrected url
2006-03-16 15:09:52 +00:00
Bart Hakvoort cb8ff87462 changed statusmessage, fixed issue with exit_status and tested/confirmed
* 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: changed statusmessage, fixed issue with exit_status and
  tested/confirmed succesfull usage of Partition::get_path() in
  Set_Used_Sectors() of all filesystems.
2006-03-16 13:12:01 +00:00
Bart Hakvoort 1906a3ece8 overloaded == and != cleanups
* include/Device.h,
  src/Device.cc: overloaded == and !=
* src/Win_GParted.cc: cleanups
2006-03-15 21:44:24 +00:00
Bart Hakvoort ebad1f133b cleanups
* src/Dialog_Partition_Info.cc,
  src/DrawingAreaVisualDisk.cc: cleanups
2006-03-15 16:56:28 +00:00
Bart Hakvoort 9532c3cad1 Made Partition::mountpoints private
* include/Partition.h,
  src/Dialog_Partition_Info.cc,
  src/GParted_Core.cc,
  src/Partition.cc,
  src/TreeView_Detail.cc,
  src/Win_GParted.cc: Made Partition::mountpoints private
2006-03-15 16:12:11 +00:00
Bart Hakvoort 6d8b169e73 changed the way devices and partitions store their devicepaths. Instead of
* changed the way devices and partitions store their devicepaths.
  Instead of holding a 'realpath' and a symbolic path we store paths
  in a list. This allows for improved detection of mountpoins, free
  space, etc..

  Also fixed a nasty bug which showed up when you copy a partition
  from one device to another. (thanks to mario for the report)
2006-03-14 21:37:47 +00:00
Bart Hakvoort 3f4f4720a4 sorted filelistings.
* include/Makefile.am,
  src/Makefile.am: sorted filelistings.
2006-03-09 20:25:57 +00:00
Bart Hakvoort ea9228ecad only allow 'swapon' on real partitions
* src/Win_GParted.cc: only allow 'swapon' on real partitions
2006-03-09 20:03:12 +00:00
Bart Hakvoort ff3dd1accc added basic support for mounting unmounted partitions on mountpoints found
* include/Win_GParted.h,
  src/Win_GParted.cc: added basic support for mounting unmounted
  partitions on mountpoints found in /etc/fstab
2006-03-09 19:37:50 +00:00
Bart Hakvoort 225b294899 changed MIN_SIZE from static 20 to BORDER * 2 + 2
* src/DrawingAreaVisualDisk.cc: changed MIN_SIZE from static 20 to
  BORDER * 2 + 2
2006-03-09 14:19:48 +00:00
Bart Hakvoort 8777cbd125 removed the frame from the visualdiskwidget and changed some visual
* include/DrawingAreaVisualDisk.h,
  include/Makefile.am,
  include/Win_GParted.h
  src/DrawingAreaVisualDisk.cc,
  src/Makefile.am
  src/Win_GParted.cc: removed the frame from the visualdiskwidget and
  changed some visual details. Also changed visual representation of
  selected partition. The latter might be considered as a work in
  progress.
* include/FrameVisualDisk.h,
  src/FrameVisualDisk.cc: Removed.
2006-03-09 13:12:44 +00:00
Bart Hakvoort 4f84cff781 cleanups
* src/Dialog_Partition_Copy.cc,
  src/Dialog_Partition_Resize_Move.cc: cleanups
2006-03-07 14:55:35 +00:00
Bart Hakvoort b179990dc9 show greyed-out mountpoint of unmounted partitions in the treeview as an
* include/GParted_Core.h,
  include/TreeView_Detail.h,
  src/GParted_Core.cc,
  src/TreeView_Detail.cc: show greyed-out mountpoint of unmounted
  partitions in the treeview as an improved way to identify
  partitions. (#333027)
* src/Win_GParted.cc: cleanups
2006-03-07 11:55:27 +00:00
Bart Hakvoort 0fd04602c1 support showing of warning icon even when a partition is mounted.
* include/TreeView_Detail.h,
  src/TreeView_Detail.cc: support showing of warning icon even when a
  partition is mounted.
2006-03-06 13:39:21 +00:00
Bart Hakvoort cca8bb415d made message about max. primary partitions a bit more informative.
* src/Win_GParted.cc: made message about max. primary partitions a bit
  more informative.
2006-03-06 11:56:59 +00:00
Bart Hakvoort 170eb4b4a4 extended scan for mountpoints (see #333370)
* include/GParted_Core.h,
  src/GParted_Core.cc: extended scan for mountpoints (see #333370)
2006-03-05 21:08:49 +00:00
Bart Hakvoort 58eff60c68 fixed crasher with busy partition without mountpoint (#332983) added FIXME
* src/Dialog_Partition_Info.cc,
  src/GParted_Core.cc: fixed crasher with busy partition without
  mountpoint (#332983)
* src/Win_GParted.cc: added FIXME
2006-03-05 15:11:47 +00:00
Artur Flinta e69118d0b3 Added "pl" to ALL_LINGUAS
2006-03-05  Artur Flinta  <aflinta@cvs.gnome.org>

        * configure.in: Added "pl" to ALL_LINGUAS
2006-03-05 11:23:19 +00:00
Bart Hakvoort 2773e874e3 improved the algorithm to deal with lost pixels after seeing some problems
* include/FrameVisualDisk.h,
  src/FrameVisualDisk.cc: improved the algorithm to deal with lost
  pixels after seeing some problems with rather insane
  partitiontables.
* src/Dialog_Partition_Info.cc: minor cleanup
* src/GParted_Core.cc: show error in partitioninfo if statvfs fails
* src/TreeView_Detail.cc: added FIXME
2006-03-02 21:55:04 +00:00
Bart Hakvoort 58f812484c added FIXME force processing of all pending Gtk::Main events after
* src/Dialog_Base_Partition.cc,
  src/FrameVisualDisk.cc: added FIXME
* src/Win_GParted.cc: force processing of all pending Gtk::Main events
  after Refresh_Visual. This fixes an issue with incorrect displayed
  Visual Partition Display.
2006-03-01 21:50:52 +00:00
Bart Hakvoort 9830c8f63e did lots of work on the resizer, it's behaviour should be more natural and
* include/Frame_Resizer_Base.h,
  include/Frame_Resizer_Extended.h,
  src/Dialog_Base_Partition.cc,
  src/Dialog_Partition_Copy.cc,
  src/Dialog_Partition_New.cc,
  src/Dialog_Partition_Resize_Move.cc,
  src/Frame_Resizer_Base.cc,
  src/Frame_Resizer_Extended.cc: did lots of work on the resizer, it's
  behaviour should be more natural and satisfying now. (see also
  #331591)
* src/Win_GParted.cc: extended partition was resizable even when it's
  busy. fixed.
* src/ntfs.cc: made scan output more readable.
* src/FrameVisualDisk.cc: added FIXME
2006-03-01 19:16:13 +00:00
Bart Hakvoort 896c5e275e catch libparted exceptions and display them in the operationdetails if an
* include/GParted_Core.h,
  src/GParted_Core.cc: catch libparted exceptions and display them in
  the operationdetails if an operation has failed.
* src/Dialog_Progress.cc: small cosmetic change to the errordialog.
2006-02-25 16:30:43 +00:00
Bart Hakvoort 29a7744fe2 improved errorhandling in Set_Used_Sectors() in the filesystemclasses
* improved errorhandling in Set_Used_Sectors() in the filesystemclasses
2006-02-25 12:25:18 +00:00
Bart Hakvoort 391ca32a2b in some places i still used MiB's instead of sectors to store sizes. this
* in some places i still used MiB's instead of sectors to store sizes.
  this has been fixed everywhere. Only the spinbuttons still use
  MiB's. I have a few ideas on how to solve this, but i'll take it up
  with #usability first.
2006-02-25 10:09:30 +00:00
Bart Hakvoort a1ad7dea33 gparted-0.2.2 2006-02-23 16:15:45 +00:00
Bart Hakvoort 283b40b892 prevent crasher when visual_disks is empty. load devices at startup on
* src/FrameVisualDisk.cc: prevent crasher when visual_disks is empty.
* include/Win_GParted.h,
  src/Win_GParted.cc: load devices at startup on signal_show instead
  of dispatching it from the c'tor.
  Also did some cleanups in the behaviour of opening and closing of
  the operationslist.
2006-02-22 22:05:15 +00:00
Bart Hakvoort d457bf3645 deal with the rare situation when 2 partitions are mounted on the same
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/Win_GParted.cc: deal with the rare situation when 2 partitions
  are mounted on the same mountpoint. (see also #330327)
2006-02-20 14:41:05 +00:00
Bart Hakvoort 3ba06ea301 added some checks before performing a move/resize using libparted.
* src/GParted_Core.cc: added some checks before performing a
  move/resize using libparted.
2006-02-18 16:03:29 +00:00
Bart Hakvoort 9c90646b5c added shortcut to menuitem 'Resize/Move'(#329627)
* src/Win_GParted.cc: added shortcut to menuitem
  'Resize/Move'(#329627)
2006-02-18 14:16:24 +00:00
Bart Hakvoort c2eb2f7cad store flags in a list instead of a string. cleanups
* include/GParted_Core.h,
  include/Partition.h,
  src/Dialog_Partition_Info.cc,
  src/GParted_Core.cc,
  src/Partition.cc,
  src/TreeView_Detail.cc: store flags in a list instead of a string.
* Makefile.am,
  src/Makefile.am: cleanups
2006-02-17 23:20:28 +00:00
Bart Hakvoort f6b01f342f added FIXME cleanups (mostly messagebox related) added some more
* include/Utils.h: added FIXME
* include/Win_GParted.h,
  src/Win_GParted.cc: cleanups (mostly messagebox related)
* src/GParted_Core.cc: added some more progressfeedback to create and
  resize
2006-02-17 21:18:07 +00:00
Bart Hakvoort 99a87a8c09 gparted-0.2.1 2006-02-16 18:44:53 +00:00
Bart Hakvoort 7db84a61c6 sync after swapon/swapoff (see also #330327)
* src/Win_GParted.cc: sync after swapon/swapoff (see also #330327)
2006-02-16 11:41:10 +00:00
Bart Hakvoort 2b773091af improved check for libparted (thanks to Pete Shinners, see also #330776)
* configure.in: improved check for libparted (thanks to Pete Shinners,
  see also #330776)
2006-02-16 10:34:22 +00:00
Bart Hakvoort d7a16d3c2f support partitions with multiple mountpoints (see also #330327)
* include/GParted_Core.h,
  include/Partition.h,
  src/Dialog_Partition_Info.cc,
  src/GParted_Core.cc,
  src/Partition.cc,
  src/TreeView_Detail.cc,
  src/Win_GParted.cc: support partitions with multiple mountpoints
  (see also #330327)
2006-02-15 22:32:54 +00:00
Bart Hakvoort 828d7a9e5b wrap mount/umount/swapon/swapoff instead of implementing it ourselves
* wrap mount/umount/swapon/swapoff instead of implementing it
  ourselves (#330641)
* moved execute_command() to Utils and made the filesystems use it. All
  in all this decreased the size of the binary with 10% and made stuff
  more readable.
2006-02-15 16:05:26 +00:00
Bart Hakvoort 49b31334cf removed legend after discussion with usability guys
* removed legend after discussion with usability guys
2006-02-10 23:47:02 +00:00
Bart Hakvoort f36b01f138 finally fixed #169683!! ( party, party! :p ) cleanups
* src/TreeView_Detail.cc: finally fixed #169683!! ( party, party! :p )
* include/Win_GParted.h,
  src/Win_GParted.cc,
  src/main.cc: cleanups
2006-02-10 22:16:31 +00:00
Bart Hakvoort 2d8e245d7e set a min. width for detailstree instead of deducing it from the
* src/Dialog_Progress.cc: set a min. width for detailstree instead of
  deducing it from the textlength.
* src/VBox_VisualDisk.cc: small fix to reap 'lost' pixels.
2006-02-09 21:54:42 +00:00
Bart Hakvoort a764f10df7 it shouldn't be possible to remove an extended partition which contains
* include/Win_GParted.h,
  src/Win_GParted.cc: it shouldn't be possible to remove an extended
  partition which contains logicals.
* src/TreeView_Detail.cc: only show mountpoint column when there is
  mountinfo.
2006-02-09 17:02:40 +00:00
Bart Hakvoort 1a46adf114 added support for activating swap (#392672)
* include/Win_GParted.h,
  src/Win_GParted.cc: added support for activating swap (#392672)
2006-02-08 20:36:18 +00:00
Bart Hakvoort 4e54226462 commented set_do_overwrite_confirmation() since it was only introduced
* src/Dialog_Progress.cc: commented set_do_overwrite_confirmation()
  since it was only introduced since gtkmm-2.8 and i don't want to
  raise the deps that high just yet.
2006-02-07 19:17:55 +00:00
Bart Hakvoort dbaf6df531 removed warning about busy device. It's not really needed and it confuses
* src/Win_GParted.cc: removed warning about busy device. It's not
  really needed and it confuses people.
* include/Operation.h: set default status of operationdetails to NONE
* include/Dialog_Progress.h,
  src/Dialog_Progress.cc: implemented export of operationdetails to
  external file. This can be very usefull for debugging. (#329968)
2006-02-07 15:17:44 +00:00
Bart Hakvoort 4161252b32 added support for commandline arguments (#329414)
* include/GParted_Core.h,
  include/Win_GParted.h,
  src/GParted_Core.cc,
  src/Win_GParted.cc,
  src/main.cc: added support for commandline arguments (#329414)
2006-02-02 13:50:37 +00:00
Bart Hakvoort 35593e5747 added mountpointcolumn (#304688) added submenu 'Devices' which allows one
* include/TreeView_Detail.h,
  src/TreeView_Detail.cc: added mountpointcolumn (#304688)
* include/Win_GParted.h,
  src/Win_GParted.cc: added submenu 'Devices' which allows one to
  select devices from the menu (#329415)
2006-02-02 10:59:44 +00:00
Bart Hakvoort 47fb0744d4 added Turkish translation
* added Turkish translation
2006-01-31 09:58:45 +00:00
Bart Hakvoort 9b02213d27 fixed error with mountpoints containing whitespaces. (#329247)
* src/GParted_Core.cc: fixed error with mountpoints containing
  whitespaces. (#329247)
2006-01-30 19:45:50 +00:00
Bart Hakvoort 0be40a4f0b gparted-0.2 2006-01-29 23:19:32 +00:00
Bart Hakvoort 565127b0d8 sometimes certain commands couldn't be found because PATH was overridden.
* src/FileSystem.cc: sometimes certain commands couldn't be found
  because PATH was overridden. fixed.
2006-01-29 19:28:50 +00:00
Bart Hakvoort 392f5c94f1 fixed small bug in unmount() check if error actually contains data before
* src/Utils.cc: fixed small bug in unmount()
* src/jfs.cc,
  src/xfs.cc: check if error actually contains data before adding it
  to the feedbackdata. (this prevents empty rows in the operationtree)
2006-01-28 22:40:29 +00:00
Bart Hakvoort 934b348b84 added markup to operationdetails
* include/Dialog_Progress.h,
  src/Dialog_Progress.cc,
  src/FileSystem.cc: added markup to operationdetails
2006-01-28 15:09:50 +00:00
Bart Hakvoort e00e9cfa61 deal correctly with the progressdialog's delete_event.
* include/Dialog_Progress.h,
  src/Dialog_Progress.cc,
  src/Win_GParted.cc: deal correctly with the progressdialog's
  delete_event.
2006-01-26 22:49:37 +00:00
Bart Hakvoort 8a2624c3b8 cleanups
* include/Dialog_Partition_Info.h,
  include/Win_GParted.h,
  src/Win_GParted.cc: cleanups
2006-01-26 20:58:55 +00:00
Bart Hakvoort a56902a6d3 added FIXME fixed Update_Number()
* include/Partition.h: added FIXME
* src/Partition.cc: fixed Update_Number()
2006-01-26 20:26:25 +00:00
Bart Hakvoort 1f854ffef3 made some changes to progressdialog behaviour.
* include/Dialog_Progress.h,
  src/Dialog_Progress.cc,
  src/Win_GParted.cc: made some changes to progressdialog behaviour.
2006-01-26 15:54:44 +00:00
Bart Hakvoort 4c3c61bdc1 string tweaks. (#328685)
* gparted.desktop.in,
  src/Dialog_Progress.cc,
  src/Win_GParted.cc: string tweaks. (#328685)
2006-01-26 12:50:46 +00:00
Bart Hakvoort b08a1a838d implemented real 'cancel'.
* include/Dialog_Progress.h,
  src/Dialog_Progress.cc: implemented real 'cancel'.
2006-01-25 23:30:43 +00:00
Bart Hakvoort 06cab31e44 fixed small issue with mounting. (discovered on the livecd)
* include/Utils.h,
  src/Utils.cc,
  src/jfs.cc,
  src/xfs.cc: fixed small issue with mounting. (discovered on the
  livecd)
2006-01-25 14:50:26 +00:00
Bart Hakvoort 409096f739 improved scanning for root mountpoint (/) use Utils::format_size() instead
* src/GParted_Core.cc: improved scanning for root mountpoint (/)
* src/Dialog_Partition_Info.cc: use Utils::format_size() instead of
  displaying every value in MiB's. Also some cleanups and changes.
2006-01-24 23:37:59 +00:00
Bart Hakvoort 669f0654d8 use realpath() to get absolute path to 'real' /etc/mtab. unmount if
* src/Utils.cc: use realpath() to get absolute path to 'real'
  /etc/mtab.
  unmount if something went wrong while adding the line to '/etc/mtab'
* src/Dialog_Progress.cc: replaced PACK_SHRINK with PACK_EXPAND_WIDGET
2006-01-24 16:41:36 +00:00
Bart Hakvoort e8a628ada4 swapped 'line' and 'c_str' to make get_short_path() work properly.
* src/GParted_Core.cc: swapped 'line' and 'c_str' to make
  get_short_path() work properly.
2006-01-24 15:35:14 +00:00
Bart Hakvoort ce0707c149 replaced translatable string 'umount' with 'unmount' (#328419)
* src/jfs.cc,
  src/xfs.cc: replaced translatable string 'umount' with 'unmount'
  (#328419)
2006-01-24 12:47:11 +00:00
Bart Hakvoort 591a8f3db0 :get_tmp_dir() instead of hardcoding it as '/tmp' :find_program_in_path()
* use Glib::get_tmp_dir() instead of hardcoding it as '/tmp'
* use Glib::find_program_in_path() instead af a system/which combi
* display current device in windowtitle
2006-01-24 12:31:58 +00:00
Bart Hakvoort 52dfb1c364 correct partitiontype of destination is now set while copying resizing now
* correct partitiontype of destination is now set while copying
* resizing now return correct status (sometimes it would report
  succes even when some of the suboperationes failed)
* fixed some issues with resizing and cylindersizes.
2006-01-22 21:16:36 +00:00
Bart Hakvoort 045edbbe95 :spawn_sync instead of popen(). also made the filesystems call
* removed Execute_Command() and replaced it by execute_command().
  The latter uses Glib::spawn_sync instead of popen().
  also made the filesystems call execute_command rather than calling
  Glib::spawn_sync themselves.
2006-01-22 13:23:58 +00:00
Bart Hakvoort 7d4b6a2eea :sector_to_unit() and use it in several places fixed errors with
* implemented Utils::sector_to_unit() and use it in several places
* (finally) fixed errors with ntfsresizing (had a lot to do with
  difference between MB and MiB)
* resizing of reiserfs now shows more detailed feedback
* support for TebiByte (TiB) unit
2006-01-22 00:07:27 +00:00
Bart Hakvoort 2b509a8332 //www.iec.ch/zone/si/si_bytes.htm
* changed KB/MB/GB/TB to KiB/MiB/GiB/TiB after reading http://www.iec.ch/zone/si/si_bytes.htm
2006-01-20 23:35:06 +00:00
Bart Hakvoort 9da25b136d cleanups use ntfsfix for scanning. run a simulation before performing an
* src/main.cc: cleanups
* src/ntfs.cc: use ntfsfix for scanning.
  run a simulation before performing an actual resize. more detailed
  feedback.
2006-01-20 23:20:31 +00:00
Bart Hakvoort 4f7ba716e7 updated copy to provide detailed feedback.
* src/xfs.cc: updated copy to provide detailed feedback.
2006-01-20 19:45:55 +00:00
Bart Hakvoort 050ddc6a9d small fix with sequence of mount,remount,unmount resizing now contains
2006-01-20 Bart Hakvoort <hakvoort@cvs.gnome.org>

* src/jfs.cc: small fix with sequence of mount,remount,unmount
* src/xfs.cc: resizing now contains detailed feedback
* src/FileSystem.cc: show exceptiondescription in operationdetails
2006-01-19 23:30:17 +00:00
Bart Hakvoort 4ad5ef49a4 resizing now contains detailed feedback
* src/jfs.cc: resizing now contains detailed feedback
2006-01-19 21:42:38 +00:00
Bart Hakvoort 97a9a5fa87 p
* added detailed progressfeedback. It still needs some polishing, but
  is already far better then the old situation. And what's more, it's
  finally threadsafe :p
2006-01-19 19:15:15 +00:00
Bart Hakvoort 7995379cd6 bumped version to 0.1
* bumped version to 0.1
2006-01-11 00:34:40 +00:00
Bart Hakvoort 388ffffff0 added visual feedback when unmounting or deactivating swap. This can be
* include/Win_GParted.h,
  src/Win_GParted.cc: added visual feedback when unmounting or
  deactivating swap. This can be usefull when it takes longer then
  usual.
2006-01-08 15:20:14 +00:00
Bart Hakvoort 1e6ad5884a removed separator in accordance to the HIG it's now possible to deactivate
* src/Dialog_Partition_Info.cc: removed separator in accordance to the
  HIG
* include/Win_GParted.h,
  src/Win_GParted.cc: it's now possible to deactivate swap from within
  gparted.
* src/GParted_Core.cc: sleep one second after deletion of a partition to
  give the kernel some time to reread the partitiontable.
2006-01-07 21:23:09 +00:00
Bart Hakvoort f9ab3cdd3c commented 'ss .imbue( std::locale( "" ) )' (#157871) cleanups allow forced
* src/Utils.cc: commented 'ss .imbue( std::locale( "" ) )' (#157871)
* src/Win_GParted.cc,
  src/TreeView_Detail.cc,
  src/Dialog_Base_Partition.cc: cleanups
* include/Dialog_Partition_New.h,
  include/Partition.h,
  src/Dialog_Partition_New.cc,
  src/GParted_Core.cc,
  src/Partition.cc: allow forced partitionsizes (aka: do not round to
  cylinder). (#169486)
2006-01-07 15:04:42 +00:00
Bart Hakvoort 8890b6de40 replaced free_color() with deprecated free_colors() to allow building with
* src/VBox_VisualDisk.cc: replaced free_color() with deprecated
  free_colors() to allow building with gtkmm-2.6 (#326013)
2006-01-06 22:55:11 +00:00
Bart Hakvoort 7052e18d79 replaced 'device_partitions' with 'partitions' use new Device::partitions
* include/Device.h,
  src/Device.cc: replaced 'device_partitions' with 'partitions'
* src/Win_GParted.cc: use new Device::partitions
* include/Partition.h,
  src/Partition.cc: added 'realpath'
* src/Dialog_Partition_Info.cc: use Partition::realpath..
* include/GParted_Core.h,
  src/GParted_Core.cc:use ped_partition_get_path() instead of
  constructing it ourselves. (#325800)
  Also use global maps for mountpoints and shortpaths to prevent
  fileaccess from happening more then once per scan.
2006-01-05 20:01:34 +00:00
Bart Hakvoort 2a972b06b8 added get_length() from now on values >=1024MB are displayed in GB's
* include/Partition.h,
  src/Partition.cc: added get_length()
* include/Utils.h,
  src/Utils.cc,
  src/Dialog_Partition_Info.cc,
  src/Operation.cc,
  src/TreeView_Detail.cc,
  src/VBox_VisualDisk.cc,
  src/Win_GParted.cc: from now on values >=1024MB are displayed in
  GB's (#319840)
2006-01-04 18:54:46 +00:00
Bart Hakvoort 06925f41a8 replaced 'can not' with 'cannot' (#325570)
* src/Win_GParted.cc: replaced 'can not' with 'cannot' (#325570)
2006-01-03 11:34:08 +00:00
Bart Hakvoort fb672f5219 happy new year ;) fixed some alignment issues removed confirmationdialogs
* happy new year ;)
* src/TreeView_Detail.cc: fixed some alignment issues
* include/GParted_Core.h,
  src/GParted_Core.cc,
  include/Operation.h,
  src/Operation.cc,
  include/Win_GParted.h,
  src/Win_GParted.cc: removed confirmationdialogs for delete and
  convert partitions (#319841).
  Also renamed 'convert' to 'format' to reflect the actual
  functionality.
2006-01-02 15:18:29 +00:00
Bart Hakvoort 8fd8e31271 fixed alignments of cells in combo_devices
* src/Win_GParted.cc: fixed alignments of cells in combo_devices
2005-12-30 18:11:03 +00:00
Bart Hakvoort 3a4b43e0ad replaced deprecated OptionMenu with ComboBox. also fixed some issues which
* include/Win_GParted.h,
  src/Win_GParted.cc: replaced deprecated OptionMenu with ComboBox.
  also fixed some issues which arised when no devices were detected.
2005-12-29 23:35:37 +00:00
Bart Hakvoort f369959995 removed -g from AM_C(XX)FLAGS
* src/Makefile.am: removed -g from AM_C(XX)FLAGS
2005-12-29 16:06:59 +00:00
Bart Hakvoort 75cbfc05f2 replaced access() with Glib::file_test in wait_for_node()
* src/GParted_Core.cc: replaced access() with Glib::file_test in wait_for_node()
2005-12-29 14:34:20 +00:00
Bart Hakvoort 15604e46c0 disable treeview and graphical partition display at scantime fixed two
* src/Win_GParted.cc: disable treeview and graphical partition display at scantime
* src/GParted_Core.cc: fixed two (potential) problems with device detection.
2005-12-29 14:21:45 +00:00
Bart Hakvoort 0f29376e99 because lp_partition didn't get initialized the libpartedscan for free
* src/GParted_Core.cc: because lp_partition didn't get initialized the
  libpartedscan for free space would always fail. fixed.
2005-12-29 00:10:05 +00:00
Bart Hakvoort 23aa549c7c :spawn_command_line_sync() + general cleanups in the set_used_sectors()
* replaced popen() with Glib::spawn_command_line_sync() + general
  cleanups in the set_used_sectors() functions.
2005-12-28 16:43:06 +00:00
Bart Hakvoort 4fc49c2760 merry christmas cleanups replaced popen() with
* merry christmas
* src/GParted_Core.cc,
  src/VBox_VisualDisk.cc,
  src/Win_GParted.cc: cleanups
* include/FileSystem.h,
  src/FileSystem.cc,
  src/ext2.cc,
  src/ext3.cc: replaced popen() with Glib::spawn_command_line_sync()
2005-12-24 23:55:54 +00:00
Bart Hakvoort 45e29fb694 replaced C-style cast with static_cast removed unnecessary 'int
* src/TreeView_Detail.cc: replaced C-style cast with static_cast
* src/VBox_VisualDisk.cc: removed unnecessary 'int ext_length'
2005-12-24 13:31:09 +00:00
Bart Hakvoort 7ef6e3e5c8 emit proper signals for several events. cleanups..
* include/TreeView_Detail.h,
  src/TreeView_Detail.cc,
  include/VBox_VisualDisk.h,
  src/VBox_VisualDisk.cc,
  include/Win_GParted.h,
  src/Win_GParted.cc: emit proper signals for several events.
* include/Partition.h,
  src/Partition.cc: cleanups..
2005-12-24 00:06:05 +00:00
Bart Hakvoort adc76a7686 overloaded operator == rewrote the graphical partitiondisplay. It now
* include/Partition.h,
  src/Partition.cc: overloaded operator ==
* include/VBox_VisualDisk.h,
  src/VBox_VisualDisk.cc: rewrote the graphical partitiondisplay. It
  now supports resizing and the extended partition is also selectable.
  see also #312656
* include/Win_GParted.h,
  src/Win_GParted.cc: use the new graphical partitiondisplay.
* src/TreeView_Detail.cc: minor cleanups
2005-12-22 22:20:55 +00:00
Bart Hakvoort 52f1c4899f replaced deprecated Gtk::Optionmenu with Gtk::ComboBoxText
* include/Dialog_Disklabel.h,
  src/Dialog_Disklabel.cc: replaced deprecated Gtk::Optionmenu with
  Gtk::ComboBoxText
2005-12-15 16:16:48 +00:00
Bart Hakvoort 488063371b don't wait for node to appear when an extended partition is created.
* src/GParted_Core.cc: don't wait for node to appear when an extended
  partition is created.
2005-12-15 15:42:09 +00:00
Bart Hakvoort 9564cf841b added get_color_as_pixbuf() to create colored squares of custom sizes.
* include/Utils.h,
  src/Utils.cc: added get_color_as_pixbuf() to create colored squares
  of custom sizes. These can be use troughout the app to represent
  filesystems. e.g. in the treeview and convertmenu.
* include/TreeView_Detail.h,
  src/TreeView_Detail.cc,
  include/VBox_VisualDisk.h,
  src/VBox_VisualDisk.cc,
  include/Win_GParted.h,
  src/Win_GParted.cc: use Utils::get_color_as_pixbuf() instead of
  custom drawn widgets.
2005-12-15 15:10:34 +00:00
Bart Hakvoort 93300e2b32 use mkdir instead of wrapping CLI tool
* include/FileSystem.h,
  src/jfs.cc,
  src/xfs.cc: use mkdir instead of wrapping CLI tool
2005-12-14 15:15:51 +00:00
Bart Hakvoort 7f57bb1090 added mount() and unmount() use Utils::mount and Utils::umount instead of
* include/Utils.h,
  src/Utils.cc: added mount() and unmount()
* src/Win_GParted.cc,
  src/jfs.cc,
  src/xfs.cc: use Utils::mount and Utils::umount instead of wrapping
  CLI tools.
2005-12-14 14:47:58 +00:00
Bart Hakvoort 0df805afe8 since we now have the device_path in Partition we don't need to
* src/Partition.cc: since we now have the device_path in Partition we
  don't need to 'calculate' it anymore.
2005-12-14 02:09:13 +00:00