Commit Graph

244 Commits

Author SHA1 Message Date
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
Bart Hakvoort 25db5b2ec0 did some cleanups added get_index_extended to get the ext_index in a
* include/GParted_Core.h,
  src/GParted_Core.cc: did some cleanups
* include/Operation.h,
  src/Operation.cc: added get_index_extended to get the ext_index in a
  uniform way instead of calculating it every time ourselves.
2005-12-14 01:58:15 +00:00
Bart Hakvoort 523bc6a6b4 check if file is open before using it. removed commented include
* src/GParted_Core.cc: check if file is open before using it.
* src/Utils.cc: removed commented include
2005-12-13 22:07:01 +00:00
Bart Hakvoort 808b777019 replaced the inline Utils functions with static functions. This shaves a
* replaced the inline Utils functions with static functions.
  This shaves a few kbytes (24 in fact) off the binary and is a bit
  cleaner code-wise (imho).
2005-12-13 21:30:13 +00:00
Bart Hakvoort c5f508c520 don't use wait_for_node() if resizing an extended partition (they don't
* src/GParted_Core.cc: don't use wait_for_node() if resizing an
  extended partition (they don't have nodes :P)
2005-12-12 09:36:42 +00:00
Bart Hakvoort 391f802577 added include/Utils.h replaced get_sym_path with get_short_path for
* po/POTFILES.in: added include/Utils.h
* include/GParted_Core.h,
  src/GParted_Core.cc: replaced get_sym_path with get_short_path for
  cleaner code and better performance.
2005-12-11 18:46:43 +00:00
Bart Hakvoort a6a47c7df5 use statvfs instead of this ugly df-wrapping.
* include/GParted_Core.h,
  src/GParted_Core.cc: use statvfs instead of this ugly df-wrapping.
2005-12-11 00:05:28 +00:00
Bart Hakvoort 7aee5aed95 added 'Glib::ustring mountpoint' implemented set_mountpoints() to set
* include/Partition.h,
  src/Partition.cc: added 'Glib::ustring mountpoint'
* include/GParted_Core.h,
  src/GParted_Core.cc: implemented set_mountpoints() to set mountpoint
  in partitions.
* include/Dialog_Partition_Info.h,
  src/Dialog_Partition_Info.cc: use Partition::mountpoint instead of
  finding it ourselves.
2005-12-08 17:03:29 +00:00
Bart Hakvoort 642f0a145b from now on each partition has a reference to it's device. make use of new
* include/Partition.h,
  src/Partition.cc: from now on each partition has a reference to it's
  device.
* src/Win_GParted.cc,
  src/Dialog_Partition_New.cc: make use of new Set() from partition
* include/GParted_Core.h,
  src/GParted_Core.cc: since ped_file_system_clobber() ignored reiser4
  i've implemented a custom 'filesystem signature remover'.
  Also made use of the fact a partition now knows on which device it
  lives.
* src/Operation.cc: the get_string() didn't use
  Get_Filesystem_String() and thus returned faulty strings. Also did
  some cleanups.
2005-12-07 22:44:40 +00:00
Bart Hakvoort 702a852d2d made warning a bit more informative
* src/GParted_Core.cc: made warning a bit more informative
2005-12-07 11:44:58 +00:00
Bart Hakvoort 7e4efd3c2e rewrote quite some stuff to use an enum to indentify filesystems instead
* rewrote quite some stuff to use an enum to indentify filesystems
  instead of stringcomparisons.
2005-12-07 11:21:27 +00:00
Bart Hakvoort 73c5fa6f4e fixed 'broken pipe' warning removed unnecessary 'echo 2 |' from freespace
* src/jfs.cc: fixed 'broken pipe' warning
* src/fat16.cc,
  src/fat32.cc: removed unnecessary 'echo 2 |' from freespace scan.
2005-11-29 17:14:38 +00:00
Bart Hakvoort d32802166b implemented a 'wait_for_node()' function after reading
* include/GParted_Core.h,
  src/GParted_Core.cc: implemented a 'wait_for_node()' function after
  reading http://bugs.gentoo.org/show_bug.cgi?id=102343. I couldn't
  reproduce the bug myself, but i hope this wil solve it.
  Also made 'set_partition_type()' return a boolean for improved
  errorchecking.
2005-11-29 14:50:20 +00:00
Bart Hakvoort 0e6c78c2b7 P )
* decided to use the Supported enum a bit more efficient in checks
  ( doh, big deal :P )
2005-11-28 17:04:13 +00:00
Bart Hakvoort 1bbcf787b1 Added a menu 'Edit' which contains 'Undo' and 'Apply'. (#322550)
* include/Win_GParted.h,
  src/Win_GParted.cc: Added a menu 'Edit' which contains 'Undo' and
  'Apply'. (#322550)
2005-11-27 19:48:00 +00:00
Bart Hakvoort f3f13d2082 raised dependencies to >=gtkmm-2.6 and >=parted-1.6.25
* configure.in: raised dependencies to >=gtkmm-2.6 and >=parted-1.6.25
2005-11-27 14:25:16 +00:00
Bart Hakvoort cc18d11ad5 hmmz, lots of shimmery internals.. Instead of using a boolean to indicate
* hmmz, lots of shimmery internals..
  Instead of using a boolean to indicate support for certain
  features i now use and enum (NONE, LIBPARTED, EXTENDED).
  This allowed me to clean up some stuff that annoyed me ;)
  Still.. the core could use a bit more love...
2005-11-27 00:57:11 +00:00
Bart Hakvoort 7cc702dbdf removed Dialog_About.[h,cc] from now on we use Gtk::AboutDialog instead of
* include/Makefile.am,
  include/Win_GParted.h,
  src/Makefile.am: removed Dialog_About.[h,cc]
* src/Win_GParted.cc: from now on we use Gtk::AboutDialog instead of
  our own AboutDialog. Also use Gtk::Stock items instead of hardcoded
  paths to images (about and harddisk).
2005-11-25 22:41:49 +00:00
Bart Hakvoort 270e931083 bumped version to 0.0.9 2005-11-25 16:40:46 +00:00
Bart Hakvoort 8264dea990 gparted finally has a logo/icon ;) (thanks to Alain Clement) see also
* gparted finally has a logo/icon ;) (thanks to Alain Clement)
  see also #162092
2005-11-25 14:53:23 +00:00
Bart Hakvoort e59276389e added *.swp some modifications to pass 'make distcheck' minor cleanups
* include/.cvsignore,
  src/.cvsignore: added *.swp
* Makefile.am,
  include/Dialog_Filesystems.h: some modifications to pass 'make
  distcheck'
* src/GParted_Core.cc: minor cleanups
2005-11-25 12:59:47 +00:00
Bart Hakvoort 1382c7bc17 cleanups correct partitiontype is now set after creation or conversion.
* include/FileSystem.h: cleanups
* include/GParted_Core.h,
  src/GParted_Core.cc: correct partitiontype is now set after creation
  or conversion. (#322281)
2005-11-24 15:59:31 +00:00
Bart Hakvoort 0c13a5d9a4 added mk to ALL_LINGUAS on request of Arangel
* configure.in: added mk to ALL_LINGUAS on request of Arangel
2005-11-18 13:22:54 +00:00
Bart Hakvoort 0de39fb11b removed INSTALL some fixes to make 'make dist' work (thanks to Daniel
* removed INSTALL
* compose/.cvsignore,
  compose/Makefile.am,
  Makefile.am,
  configure.in,
  include/Makefile.am: some fixes to make 'make dist' work (thanks to Daniel Holbach)
2005-10-05 22:37:17 +00:00
Bart Hakvoort 628b1960dc added 'vi' to ALL_LINGUAS
* configure.in: added 'vi' to ALL_LINGUAS
2005-09-21 23:32:24 +00:00
Bart Hakvoort 2b47fea3de fixed a11y thingy (#316108) get labeltypes from libparted instead of
* src/Dialog_Filesystems.cc: fixed a11y thingy (#316108)
* include/GParted_Core.h,
  src/GParted_Core.cc,
  include/Dialog_Disklabel.h,
  src/Dialog_Disklabel.cc,
  src/Win_GParted.cc : get labeltypes from libparted instead of hardcoding them,
  also changed some text (#315979)
2005-09-13 17:09:20 +00:00
Bart Hakvoort 61cd0ce778 lots of stuff and cleanups, including fixing getting used/unused space of
* lots of stuff and cleanups, including fixing getting used/unused space of hfs/hfs+/fat16/fat32
* also fixes bug #161362
2005-09-13 14:56:00 +00:00
Bart Hakvoort 7ba3e778d0 at startup closebutton is focused (#308381)
* src/Dialog_Filesystems.cc: at startup closebutton is focused (#308381)
2005-09-01 01:19:44 +00:00
Bart Hakvoort fb080359a4 fixed bug with big fonts (#301831)
* src/Dialog_Progress.cc: fixed bug with big fonts (#301831)
2005-09-01 00:22:58 +00:00
Bart Hakvoort 07cfac67fc fixed typo (#312661)
* src/Win_GParted.cc: fixed typo (#312661)
2005-08-31 02:44:57 +00:00
Bart Hakvoort a98126d69b quick 'fix' for crashers in some locales (#157871) basicly the same +
* compose/ucompose.hpp: quick 'fix' for crashers in some locales (#157871)
* include/Utils.h: basicly the same + minor cleanups
* src/GParted_Core.cc: replaced C-style cast with static_cast..
2005-08-31 02:30:25 +00:00
Ilkka Tuohela ed05b9a3b0 Added Finnish translation 2005-07-31 18:28:43 +00:00
Ignacio Casal Quinteiro eecfcf2f68 *** empty log message *** 2005-06-19 20:37:07 +00:00
Chao-Hsiung Liao 449258520a Added Traditional Chinese translation.
2005-05-02  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_TW.po: Added Traditional Chinese translation.
2005-05-02 13:06:56 +00:00
Steven Michael Murphy fc344c23b3 Added new Language, Kinyarwanda (rw), to this package 2005-04-01 22:33:17 +00:00
Žygimantas Beručka e01719361c Add "lt" (Lithuanian) to ALL_LINGUAS.
2005-03-22  Žygimantas Beručka  <uid0@akl.lt>

        * configure.in: Add "lt" (Lithuanian) to ALL_LINGUAS.
2005-03-22 15:30:24 +00:00
Alexander Shopov 5351d21de0 Added Bulgarian translation by Rostislav Raykov <zbrox@i-space.org>
2005-02-28 Alexander Shopov  <ash@contact.bg>

	* Added Bulgarian translation by
	Rostislav Raykov <zbrox@i-space.org>
2005-02-28 07:36:16 +00:00
Kostas Papadimas 9cbe067bb3 Added the Greek Translation. 2005-02-26 08:07:03 +00:00
Christophe Merlet a311e7f59f Added French translation. 2005-02-19 21:58:24 +00:00
Bart Hakvoort 16abf01de4 fixed bug with LC_NUMERIC=C .. (thanks to mantiena for reporting)
* src/hfs.cc,
  src/jfs.cc,
  src/ntfs.cc,
  src/reiserfs.cc : fixed bug with LC_NUMERIC=C .. (thanks to mantiena for reporting)
2005-02-08 10:40:33 +00:00
Bart Hakvoort 0d8f7d0492 fixed a potential infinite loop in Show_Pulsebar() (thanks to xilun)
* src/Win_GParted.cc: fixed a potential infinite loop in Show_Pulsebar() (thanks to xilun)
2005-02-06 22:11:32 +00:00
Bart Hakvoort 758f5e63a8 Fixed a bunch of bugs (some of them crashers) which showed up if no
* Fixed a bunch of bugs (some of them crashers) which showed up if no devices were detected.
2005-02-01 17:04:03 +00:00
Bart Hakvoort 2fa009cbae Replaced menu "Operations" with "Device" and "Partition". Also implemented
* include/Win_GParted.h,
  src/Win_GParted.cc: Replaced menu "Operations" with "Device" and "Partition". Also implemented a 'set-disklabel feature'.
* src/Dialog_Disklabel.cc: changed title and header to be more generic (was specific for a new disk).
2005-01-30 14:31:29 +00:00
Bart Hakvoort c105beaaef Replaced stockitems APPLY and CANCEL with YES and NO
* src/Dialog_Filesystems.cc: Replaced stockitems APPLY and CANCEL with YES and NO
2005-01-29 11:49:00 +00:00
Bart Hakvoort e0ae266bcc hmmz, i forgot to remove one unnecessary check.
* src/Frame_Resizer_Base.cc: hmmz, i forgot to remove one unnecessary check.
2005-01-25 14:45:15 +00:00
Bart Hakvoort d375f5bf4e finally got around to fix this annoying 'flickering' while using the
* include/Frame_Resizer_Base.h,
  include/Frame_Resizer_Extended.h,
  src/Frame_Resizer_Base.cc,
  src/Frame_Resizer_Extended.cc: finally got around to fix this annoying 'flickering' while using the resizer :)
2005-01-25 14:26:54 +00:00
Bart Hakvoort e093c745bf write actually used libpartedversion to stdout on startup. (usefull for
* src/GParted_Core.cc: write actually used libpartedversion to stdout on startup. (usefull for debugging)
2005-01-23 14:05:21 +00:00
Bart Hakvoort f25b28be07 Fixed bug in copy functionality (due to unset ORIG_START startsector
* include/Dialog_Base_Partition.h,
  src/Dialog_Base_Partition.cc,
  src/Dialog_Partition_Copy.cc,
  src/Dialog_Partition_Resize_Move.cc: Fixed bug in copy functionality (due to unset ORIG_START startsector wasn't set correctly). Also have ORIG*
  initialized in ctor of dialogbase to prevent such errors from ever happening again (this one only showed up with gcc-3.3.5) .
2005-01-22 17:23:52 +00:00
Bart Hakvoort fa255c48de removed sleep( 1 ). This isn't needed anymore now the layout is scanned
* src/GParted_Core.cc: removed sleep( 1 ). This isn't needed anymore now the layout is scanned before the re-readtest. (saves seconds at scantime :) )
* replaced C-style typeconversion with static_casts throughout the project.
2005-01-19 20:01:39 +00:00
Bart Hakvoort fb4af15865 used static_cast<> instead of C-style type conversion. install gparted
* include/Utils.h: used static_cast<> instead of C-style type conversion.
* src/Makefile.am: install gparted binary in bin/ instead of sbin/ (as soon as i've time i want to implement a read-only modus)
2005-01-18 21:27:59 +00:00
Bart Hakvoort 479f0eb4ec activate_convert used old filesystem instead of new one for checks. fixed.
* src/Win_GParted.cc: activate_convert used old filesystem instead of new one for checks. fixed.
2005-01-11 21:18:15 +00:00
Bart Hakvoort 6ba0ac3574 Added menu 'Operations' to menubar. This menu is a duplicate of the
* include/Win_GParted.h,
  src/Win_GParted.cc: Added menu 'Operations' to menubar. This menu is a duplicate of the popupmenu and imho a bit unnecessary, but lots of
  people requested this.. :)  Besides this, i removed 'menu_devices' and performed a few other cleanups.
2005-01-09 19:33:48 +00:00
Bart Hakvoort 4cd424532c call GParted_Core::find_supported_filesystems( ) in
* src/GParted_Core.cc,
  src/Win_GParted.cc: call GParted_Core::find_supported_filesystems( ) in GParted_Core::GParted_Core() instead of Win_GParted::Win_GParted().
  Also replaced 0xFFFF with GDK_Delete to improve readability of the source.
2005-01-08 23:45:45 +00:00
Bart Hakvoort 8763f148cb replaced atoi with atol .
* replaced atoi with atol .
2004-12-29 20:39:29 +00:00
Bart Hakvoort 169f1e34f9 implemented read used/unused space on a jfs filesystem.
* src/jfs.cc: implemented read used/unused space on a jfs filesystem.
2004-12-29 19:22:58 +00:00
Bart Hakvoort b839708add As explained in the previous entry i've decided to add reiser4 detection
* include/GParted_Core.h,
  src/GParted_Core.cc: As explained in the previous entry i've decided to add reiser4 detection to gparted as well..
2004-12-29 16:38:45 +00:00
Bart Hakvoort eda1386b8c / ) Also, libparted isn't able to detect reiser4 yet, a patch to fix this
* Added support for reiser4 (only creation atm, since the other functionality appears to be non-free software :/ )
  Also, libparted isn't able to detect reiser4 yet, a patch to fix this is underway, but i should probably add reiser4 detection to gparted as well.
2004-12-29 00:09:58 +00:00
Bart Hakvoort c87cba6ee5 Changed 'bool Create( const Glib::ustring & device_path, const Partition &
* The Filesystemclasses: Changed 'bool Create( const Glib::ustring & device_path, const Partition & new_partition )'
to 'bool Create( const Partition & new_partition )'. Since i now use external tools for all filesystems, the partitionpath will suffice.
2004-12-28 13:29:01 +00:00
Bart Hakvoort 67cd381a03 fixed some issues with linux-swap. From now on you need 'mkswap' to
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/linux_swap.cc: fixed some issues with linux-swap. From now on you need 'mkswap' to create/resize/move linux-swap.
2004-12-28 12:59:46 +00:00
Bart Hakvoort e5d2cb0eb7 Removed the ugly Get_Highest_Logical_Busy() from Device and added a
* include/Device.h,
  src/Device.cc,
  src/GParted_Core.cc,
  src/Win_GParted.cc: Removed the ugly Get_Highest_Logical_Busy() from Device and added a classvariable instead. This one is set in
  GParted_Core and used wherever needed. I also removed Device::busy, and used the new variable to check if a device is busy.
2004-12-27 18:56:57 +00:00
Bart Hakvoort 174f0cff77 Added cylsize to Device and made Operation contain a Device instead of
* Added cylsize to Device and made Operation contain a Device instead of only the path and lenght.
  This way i was able to dump Get_Cyl_Size in the Core. Besides that, i used cylsize in WinGparted and made a lot of
  cosmetic changes. Most of them were pretty useless, but hey, i'm bored ;)
2004-12-27 12:08:01 +00:00
Bart Hakvoort 2ed3e0e8c4 moved inline Get_FS from Utils.h to GParted_Core, saves a few K in exe
* src/GParted_Core.cc,
  src/Win_GParted.cc,
  include/Utils.h,
  include/GParted_Core.h: moved inline Get_FS from Utils.h to GParted_Core, saves a few K in exe size ;)
2004-12-25 21:40:18 +00:00
Bart Hakvoort 5338dfae52 removed sorting of detected devices. I figured we didn't need it anymore
* src/GParted_Core.cc: removed sorting of detected devices. I figured we didn't need it anymore now 'deep_scan' is removed.
2004-12-23 19:28:40 +00:00
Bart Hakvoort 326efb8ebd bumped to 0.0.8
* configure.in: bumped to 0.0.8
2004-12-21 23:46:29 +00:00
Bart Hakvoort a54b52ea33 xfs copy now uses xfsdump and xfsrestore. icw some hacks in the other 2
* src/Dialog_Partition_Copy.cc,
  src/Win_GParted.cc,
  src/xfs.cc: xfs copy now uses xfsdump and xfsrestore. icw some hacks in the other 2 files, it's now possible to shrink an xfs partition
  while doing the copy. Although i'd rather preffered 'real' (in place) resizing i figured it's better then nothing.
  Also the sourcefilesystem is now checked before the actual copy is performed. If damaged beyond repair, the copy won't start.
* src/Dialog_Partition_Resize_Move.cc: removed commented code.
2004-12-20 19:09:48 +00:00
Bart Hakvoort 8d412f95bd Replaced treestore with liststore. I decided i didn't need a treeview
* include/Dialog_Filesystems.h,
  src/Dialog_Filesystems.cc: Replaced treestore with liststore. I decided i didn't need a treeview after all...
* src/Dialog_About.cc: Replaced "Gnome Partition Editor based on libparted" with "Gnome Partition Editor"
* src/xfs.cc: fixed small error with creation of xfs filesystems (adrighem)
2004-12-18 15:51:48 +00:00
Bart Hakvoort 5cdc28b68f Removed 'deep_scan' flag. From now on all scans are 'deep scans'. Gui is
* include/GParted_Core.h,
  src/GParted_Core.cc: Removed 'deep_scan' flag. From now on all scans are 'deep scans'.
* include/Win_GParted.h,
  src/Win_GParted.cc: Gui is now loaded before anything else. (#161054)
2004-12-17 19:45:04 +00:00
Bart Hakvoort de767d79df fixed bug with enabling/disabling 'copy' in menus. added missing check
* src/Win_GParted.cc: fixed bug with enabling/disabling 'copy' in menus.
* src/ext2.cc,
  src/ext3.cc: added missing check while deciding to disable/enable copy feature.
2004-12-17 16:26:49 +00:00
Bart Hakvoort 2ba3f8904b Only peform partable re-read check if at least one partition on a device
* src/GParted_Core.cc: Only peform partable re-read check if at least one partition on a device is mounted.
2004-12-17 15:56:03 +00:00
Bart Hakvoort 3703fd3783 P )
* some minor internal codechanges, which should save a few bytes of mem here and there.
  (i was in a nitpicking mood :P )
2004-12-15 21:53:14 +00:00
Bart Hakvoort 10e8f3338d :get_fs now returns a const reference. in copy and resizedialog
* Gparted_Core::get_fs now returns a const reference.
* in copy and resizedialog filesystems with MAX set now have a max size of MAX - one cylinder .
2004-12-15 20:43:58 +00:00
Bart Hakvoort 7d1a46f1c1 fixed bug with thousand separator (#161362). fixed bug with incorrect
* (all filesystem classes): fixed bug with thousand separator (#161362).
* ext2.cc,
  ext3.cc: fixed bug with incorrect used/unused space after copying.
2004-12-15 19:39:18 +00:00
Bart Hakvoort 188b27bc50 Added dialog (accessable from 'gparted' menu) which shows supported
* Added dialog (accessable from 'gparted' menu) which shows supported operations for the various filesystems.
  I plan to put some more info in it, like what is missing etc..
2004-12-15 16:38:37 +00:00
Bart Hakvoort 2860691ebf fixed small error with incorrect display of used space and did some
* src/Dialog_Partition_Copy: fixed small error with incorrect display of used space and did some cleanups.
2004-12-15 11:02:54 +00:00
Bart Hakvoort d100935b55 :Set_Valid_Operations()
* Refined checks for functionality a bit. e.g. even if a filesystem can't be read, it's still possible to grow it
  (but shrinking gets disabled). Also removed that stupid grow_only flag from Utils.h and reordered Win_GParted::Set_Valid_Operations()
2004-12-15 10:33:12 +00:00
Bart Hakvoort 8a0ed3b6ac added support for jfs (create, copy, grow) and hfs (create, copy) fixed a
* added support for jfs (create, copy, grow) and hfs (create, copy)
* fixed a bug in copying xfs filesystems.
* fixed a number of small bugs/annoying issues.
2004-12-14 22:49:44 +00:00
Bart Hakvoort d44aa2cf45 )
* Added support for xfs. this means creating and growing xfs filesystems. Shrinking requires some hacking with dump_xfs etc..
  i'll add that at a later point. :)
2004-12-13 21:24:12 +00:00
Bart Hakvoort 4815b17153 Replaced boolean 'resize' with 'shrink' and 'grow'. It seems some
* Replaced boolean 'resize' with 'shrink' and 'grow'. It seems some filesystems only support growing (e.g. xfs) so i need
  two flags to control the behaviour of the filesystemclasses.
2004-12-13 13:58:51 +00:00
Bart Hakvoort 47f357a8c4 Removed a couple of unnecesarry variables. (saves a few bytes in memory =)
* include/GParted_Core.h,
  src/GParted_Core.cc: Removed a couple of unnecesarry variables. (saves a few bytes in memory =) )
2004-12-13 11:17:40 +00:00
Bart Hakvoort f4f3e371ad modified layoutscan a bit for improved handling of metadata. modified
* include/GParted_Core.h,
  src/GParted_Core.cc: modified layoutscan a bit for improved handling of metadata.
* include/Operation.h,
  src/Operation.cc: modified Insert_Unallocated() to prevent potential crasher.
2004-12-12 20:36:00 +00:00
Bart Hakvoort e3a9b2d14c The fixes from 12-09 unearthed a number of long forgotten issues and
* The fixes from 12-09 unearthed a number of long forgotten issues and annoyances. Hopefully they're all resolved now.
2004-12-12 14:57:04 +00:00
Bart Hakvoort a42a0c2fee Fixed a bunch of issues with min. and max. sizes of filesystems.
* Fixed a bunch of issues with min. and max. sizes of filesystems.
2004-12-10 20:42:23 +00:00
Gil Osher f34442bee7 Added 'he' (Hebrew) to ALL_LINGUAS.
* configure.in: Added 'he' (Hebrew) to ALL_LINGUAS.
2004-12-10 14:44:26 +00:00
Bart Hakvoort 0e03819afc use mkdosfs -F16 instead of libparted to create fat16 filesystems
* src/fat16: use mkdosfs -F16 instead of libparted to create fat16 filesystems
2004-12-10 11:49:27 +00:00
Bart Hakvoort c7f04242a3 added LANG=C to the commands which read the used space of a filesystem.
* src/ext2.cc,
  src/ext3.cc,
  src/ntfs.cc,
  src/reiserfs.cc: added LANG=C to the commands which read the used space of a filesystem. This prevent errors with some locales.
2004-12-10 11:12:44 +00:00
Bart Hakvoort 951797caa7 added MIN and MAX to filesystemstruct to set min. and max sizes of a
* added MIN and MAX to filesystemstruct to set min. and max sizes of a filesystem. So instead of checking per filesystem
  i now simply check the fs.MIN or fs.MAX. this results in less and cleaner code. Also this will come in handy when adding
  support for new filesystems. (This also fixed several minor bugs with filesystemsizes and gained some improvement in resizer
  performance)
2004-12-09 22:56:33 +00:00
Bart Hakvoort 296b6d4b56 placed a small (2px) border around the legend.
* src/VBox_VisualDisk.cc: placed a small (2px) border around the legend.
2004-12-08 21:39:23 +00:00
Dmitry Mastrukov 3ee44a0bf2 configure.in: Added Russian to ALL_LINGUAS. 2004-12-08 04:14:00 +00:00
Bart Hakvoort 9d7c133e93 updated description to reflect current situation.
* README: updated description to reflect current situation.
2004-12-07 20:09:46 +00:00
Amanpreet Singh Alam e90c073ec6 Punjabi pa is added 2004-12-07 14:01:28 +00:00
Bart Hakvoort 3401c0be0d added correct check for availability of 'dosfsck' bumped to 0.0.7 YAY! ;)
* src/fat16.cc,
  src/fat32.cc: added correct check for availability of 'dosfsck'
* configure.in: bumped to 0.0.7  YAY! ;)
2004-12-04 16:56:08 +00:00
Bart Hakvoort f18885aa04 When ( ! deep_scan ) now only one device is scanned (first found one).
* src/GParted_Core.cc: When ( ! deep_scan ) now only one device is scanned (first found one). Shaves off a couple of millisec from startuptime |-)
* src/Win_GParted.cc: Fixed small bug with removable devices and the devicemenu. Also fixed redundant calling of 2 functions.
2004-12-03 10:53:01 +00:00
Bart Hakvoort d907a129ab fixed a minor annoying with treeviewdrawing.(Really minor ;) )
* src/Win_GParted.cc,
  src/TreeView_Detail.cc: fixed a minor annoying with treeviewdrawing.(Really minor ;) )
2004-12-02 20:29:42 +00:00
Bart Hakvoort 587c4af200 Fixed a crasher with the New Partition Dialog (thanks to Tino for
* src/Dialog_Partition_New.cc,
  src/Frame_Resizer_Base.cc: Fixed a crasher with the New Partition Dialog (thanks to Tino for reporting)
2004-12-01 21:31:59 +00:00
Bart Hakvoort a54a5954f5 implemented correct filesystemcheck using dosfsck.
* src/fat16.cc,
  src/fat32.cc: implemented correct filesystemcheck using dosfsck.
2004-11-30 21:21:10 +00:00
Bart Hakvoort f0eb17b8db Execute_Command() now returns exit status of executed command returnvalue
* include/FileSystem.h,
  src/FileSystem.cc: Execute_Command() now returns exit status of executed command
* the filesystemclasses: returnvalue (bool) is now set according to the return status of the command
2004-11-30 21:05:48 +00:00
Bart Hakvoort a547499904 It seemed some kernels remove and re-add blockdevicepaths after the
* src/GParted_Core.cc: It seemed some kernels remove and re-add blockdevicepaths after the commit_to_os. This caused trouble at some points
  where the path was required. I decided to sleep 1 sec after each scan. So rescanning devices will take 1 extra second per device :|
* src/Win_GParted.cc: fixed typo in string.
2004-11-29 15:27:33 +00:00