Commit Graph

318 Commits

Author SHA1 Message Date
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