Commit Graph

245 Commits

Author SHA1 Message Date
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
Bart Hakvoort 286579d578 Every devicescan now tests on beforehand if the kernel is able to reread
* Every devicescan now tests on beforehand if the kernel is able to reread the partitiontable. If the kernel is unable to do
  this, i disallow most operations. This may seem weird and even a bad thing to do, but the fact is it protects
  the innocent user from a lot of potential damage. Till the linuxkernel is able to reread partitiontables no matter what, this seems
  to be the best option. Of course a dialog with information will popup whenever such a situation is encountered.
  In a next release i might consider adding an 'advanced mode' for users who know what they're doing.
2004-11-29 13:20:05 +00:00
Alessio Frusciante 643978d583 Added Italian translation. 2004-11-28 16:03:51 +00:00
Bart Hakvoort 7235baf156 selecting 'extended partition' twice caused a segfault. i cannot believe i
* src/Dialog_Partition_New.cc: selecting 'extended partition' twice caused a segfault. i cannot believe i didn't detect this bug earlier :| Fixed.
  also made it possible to create an unformatted partition.
* src/GParted_Core.cc: backend support for creating partition without filesystem (unformatted).
2004-11-28 14:30:15 +00:00
Bart Hakvoort 3ba1e996f4 minor stringchanges (typos)
* src/Dialog_Disklabel.cc,
  src/GParted_Core.cc: minor stringchanges (typos)
2004-11-28 12:09:04 +00:00
Bart Hakvoort e139174b38 sorted sourcefiles alphabetically, i know, pretty useless, but i like it
* src/Makefile.am: sorted sourcefiles alphabetically, i know, pretty useless, but i like it :P
2004-11-27 23:59:25 +00:00
Bart Hakvoort 038c5c5d99 P (special thanks to mantiena-baltix for bringing this issue to my
* Harddisks without disklabel are now properly initizalized and shown in the menu. When one tries to create a new partition on
  such a disk a dialog pops up with some blabla about disklabels and offers to create a disklabel. sweet :P (special thanks to mantiena-baltix
  for bringing this issue to my attention)
* fixed minor annoyance with refreshing detailed deviceinfo after a 'deep refresh'
2004-11-27 23:31:19 +00:00
Bart Hakvoort 3271197086 fixed small bug with resizing and lower limits. use
* src/Dialog_Partition_Resize_Move.cc: fixed small bug with resizing and lower limits.
* src/GParted_Core.cc: use ped_file_system_clobber before creating a filesystem on a partition.
* src/Win_GParted.cc: pasting is now only allowed if unallocated >= copied partition + cylindersize.
  Instead of dividing length device by amount of cylinders i use heads * sectors/track to get cylindersize.
  Changed device busy warning a bit to more decent english (adamw)
* src/ntfs.cc: readded '-Q' to mkntfs. The error about an 'unknown filesystem' was related to detection problems and not to
  faulty creation of the filesystem. Should be solved anyway by implementing ped_file_system_clobber.
  Also removed ntfsfix since it didn't do anything relevant. Instead i use ntfsresize, because this contains relevant checks (szaka)
2004-11-25 19:21:42 +00:00
Bart Hakvoort 0b302ee0ce renamed columnheader from 'Type' to 'Filesystem'. Dunno why it was called
* src/TreeView_Detail.cc: renamed columnheader from 'Type' to 'Filesystem'. Dunno why it was called 'Type' (maybe some PM legacy =)  )
* src/Win_GParted.cc: Made device busy warning a bit more sensible.
2004-11-24 21:28:48 +00:00
Bart Hakvoort 8e92e4b381 marked some strings for translation ('unknown', 'used', 'unused') and
* include/Utils.h,
  src/GParted_Core.cc,
  src/Partition.cc,
  src/TreeView_Detail.cc,
  src/VBox_VisualDisk.cc: marked some strings for translation ('unknown', 'used', 'unused') and replaced lowercase 'unallocated' with '---'.
2004-11-24 15:05:36 +00:00
Bart Hakvoort e71d5c5887 fixed nasty error with resizing 'fixed-start filesystems'. added a check
* include/GParted_Core.h,
  src/GParted_Core.cc: fixed nasty error with resizing 'fixed-start filesystems'.
* src/Partition.cc: added a check to prevent unused space from being bigger then total space.
* src/ntfs.cc: removed -Q from mkntfs. -Q bypassed some safetychecks to gain performance and (so i heard later) also had a
  tendency of failing ;) (Adrighem)
2004-11-24 10:32:56 +00:00
Bart Hakvoort b381c72fc2 Fixed some errors with 'unknown' filesystem. + some cosmetics
* src/Dialog_Partition_New.cc,
  src/Win_GParted.cc: Fixed some errors with 'unknown' filesystem. + some cosmetics
2004-11-23 19:03:39 +00:00
Bart Hakvoort 88a637f13d added full ntfs support. (couldn't test it very will due to the absence of
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/Makefile.am,
  include/ntfs.h,
  src/ntfs.cc: added full ntfs support. (couldn't test it very will due to the absence of a win32 box :P )
2004-11-23 16:20:59 +00:00
Bart Hakvoort d6be9833ff fixed crasher with unknown filesystems.
* include/Utils.h: fixed crasher with unknown filesystems.
2004-11-22 20:40:19 +00:00
Bart Hakvoort 7dd48df0b2 cosmetics make use of real commands instead of their symlinks. fixed copy
* src/GParted_Core.cc: cosmetics
* src/reiserfs.cc: make use of real commands instead of their symlinks. fixed copy of reiserfs filsystem
  (the new size wasn't reported correctly)
2004-11-22 15:59:40 +00:00
Bart Hakvoort ebcb8f07cf removed ':' from Blocksize scan. dumped progsreiserfs. From now on gparted
* src/ext2.cc,
  src/ext3.cc: removed ':' from Blocksize scan.
* src/reiserfs.cc: dumped progsreiserfs. From now on gparted uses the official namesystools (reiserfsprogs)
  this resulted in much more reliable creation en resizing of reiserfs filesystems.
2004-11-22 11:53:22 +00:00
Bart Hakvoort bd02bca613 P ). Resizing of ext2/3 works perfect now. I've even tested it on the
* Again way too many chances to create a detailed entry (i'm glad i'm the only dev atm :P ).
  Resizing of ext2/3 works perfect now. I've even tested it on the partition holding my SG seasons =)
  Implemented checking of filesystems (only internally used atm).
  Done some overall tweaking, finetuning etc.. release 0.0.7 is getting shape.
2004-11-21 21:49:38 +00:00
Bart Hakvoort 4438e3264e Removed bool Get_Any_Busy() in favor of public bool busy which is set in
* include/Device.h,
  src/Device.cc: Removed bool Get_Any_Busy() in favor of public bool busy which is set in gparted_core.
  This also fixed a small bug with incorrect mountdetection of logical partitions.
  Also added a Reset() function to properly reset the contents of a device. to zero/empty .
* include/GParted_Core.h,
  src/GParted_Core.cc: 'busyness' of a device is now determined in get_devices().
  Renamed get_partitions() to set_device_partitions to reflect its proper function.
  When a new partition is created to contain a copied filesystem the size is now properly set. This fixes
  a very annoying bug which no one knew about except for me =) .
* src/Win_GParted.cc: use boolean busy from device instead of Get_Any_Busy() .
2004-11-19 11:55:38 +00:00
Bart Hakvoort 410ab30975 availability of 'tune2fs' command wasn't detected correctly. fixed make
* src/ext3.cc: availability of 'tune2fs' command wasn't detected correctly. fixed
* src/fat32.cc: make use of dosfs tools (mkdosfs -F32) instead of libparted's Fat-creator.
* po/POTFILES.in: added src/GParted_Core.cc
2004-11-17 14:12:18 +00:00
Bart Hakvoort 4ccf831ec7 P) It still needs a lot of love, but the foundations are laid =)
* Rewrote a large part of gparteds internal code. Filesystemssupport is now much more separated from the rest of gparted and
  adding support for other filesystems should be a piece of cake now (hope that's true :P)
  It still needs a lot of love, but the foundations are laid =)
2004-11-17 13:00:25 +00:00
Bart Hakvoort 067c1154aa make use of reference arguments instead of return values in some
* include/Operation.h,
  src/Operation.cc: make use of reference arguments instead of return values in some functions.
  Also fixed a small bug with deletion of a virtual (new) logical partition.
* include/VBox_VisualDisk.h,
  src/VBox_VisualDisk.cc: logical filesystems weren't shown in the legend, fixed.
* src/Frame_Resizer_Base.cc: fixed small bug with custom cursors.
* src/TreeView_Detail.cc: removed obsolete, already commented code.
* src/Win_GParted.cc: make use of reference arguments instead of return values in some functions. (see Operation)
2004-11-07 13:13:11 +00:00
Bart Hakvoort 43bfe092c9 added umount option. Also include unistd.h to solve some issues with gcc
* include/Win_GParted.h,
  src/Win_GParted.cc: added umount option. Also include unistd.h to solve some issues with gcc 3.2.x
2004-11-06 19:48:24 +00:00
Bart Hakvoort 24dccdd8f3 instead of listing all partition in one list, logical partitions are now
* instead of listing all partition in one list, logical partitions are now stored in a sublist in extended partition object.
This makes partitionhandling in gparted more natural and transparant. It also allowed me to clean up this ugly Operation class ;)
2004-11-06 11:55:03 +00:00
Bart Hakvoort 4caae3dc85 removed color_string replaced color_string with Get_Color from Utils.h
* include/Partition.h,
  src/Partition.cc: removed color_string
* src/VBox_VisualDisk.cc,
  src/TreeView_Detail.cc: replaced color_string with Get_Color from Utils.h
2004-10-31 12:06:02 +00:00
Bart Hakvoort dd1f3d8b42 added checks for libuuid and libdl. Also refined libparted check a bit.
* configure.in: added checks for libuuid and libdl. Also refined libparted check a bit.
* include/Partition.h,
  src/Partition.cc: removed Get_Color()
* include/Utils.h: added inline Glib::ustring Get_Color( const Glib::ustring & filesystem )
* src/Dialog_Partition_New.cc,
  src/Win_GParted.cc: make use of Get_Color from Utils.h
* src/Device.cc: fixed a crasher with (at least) pl_PL locale.
2004-10-30 22:17:20 +00:00
Vincent van Adrighem 7a77504f57 Added a debian subdir for building debian packages.
2004-10-25  Vincent van Adrighem  <adrighem@gnome.org>

	* debian/*: Added a debian subdir for building debian packages.
2004-10-25 13:44:20 +00:00
Bart Hakvoort eb6a0881e3 bumped to version 0.0.6
* configure.in: bumped to version 0.0.6
2004-10-23 20:55:56 +00:00
Bart Hakvoort c4e970fe8c libpartedcheck now looks for correct version number (finally i'll be rid
* configure.in: libpartedcheck now looks for correct version number (finally i'll be rid off those stupid bugreports =) )
2004-10-23 20:28:46 +00:00
Bart Hakvoort 9a7e06d507 codecleanups.. Hey! i was bored :P
* src/Dialog_Partition_Info.cc: codecleanups.. Hey! i was bored :P
2004-10-23 10:41:17 +00:00
Bart Hakvoort 3528ee71f5 removed libparted messagesdialog. instead, show them on the console. They
* src/Device.cc: removed libparted messagesdialog. instead, show them on the console. They proved to be pretty useless.
* src/Win_GParted.cc: fixed crasher when loading gparted (or refresh devices) while there's a (audio) cd in the cdrom-drive.
2004-10-22 21:08:43 +00:00
Bart Hakvoort c4980fb78e modernized use of AM_INIT_AUTOMAKE a bit (according to
* configure.in: modernized use of AM_INIT_AUTOMAKE a bit (according to
http://www.gnu.org/software/automake/manual/html_node/Public-macros.html#Public%20macros)
2004-10-21 15:32:57 +00:00
Bart Hakvoort 32cd2f2548 fixed some bugs with minimum size of resizable partition + some
* include/Dialog_Partition_Resize_Move.h,
  src/Dialog_Partition_Resize_Move.cc: fixed some bugs with minimum size of resizable partition + some codecleanups.
2004-10-21 11:13:37 +00:00
Bart Hakvoort 641c4504bf Tweaked resizingbehaviour a bit. This solved some minor annoyances.
* src/Dialog_Base_Partition.cc (Get_New_Partition): Tweaked resizingbehaviour a bit. This solved some minor annoyances.
2004-10-20 10:32:19 +00:00
Bart Hakvoort 3901d29ac8 changed width of optionmenus from 150 to 160 pixels. (in certain langs the
* src/Dialog_Partition_New.cc: changed width of optionmenus from 150 to 160 pixels. (in certain langs the strings didn't fit)
* src/VBox_VisualDisk.cc: used/unused legend doesn't have to show up if there's only linux-swap.
2004-10-18 10:52:55 +00:00
Bart Hakvoort 053073ac2a Fixed Gtk-Warning with unknown pango markup and placed a 5 pixel-border
* src/Dialog_About.cc (Show_Credits): Fixed Gtk-Warning with unknown pango markup and placed a 5 pixel-border around
translators credits.
2004-10-17 18:55:07 +00:00
Bart Hakvoort d127dfa983 when the libary of an optional filesystem (atm only reiserfs) wasn't
* src/Device.cc: when the libary of an optional filesystem (atm only reiserfs) wasn't installed, every scan printed an error
in the console (df couldn't find the partition listed). Fixed by checking if partition is busy before using df.
2004-10-16 20:27:28 +00:00
Bart Hakvoort 58cb2ad6ec changed dialogwidth from 500 to 600 pixels. (icw certain languages the
* src/Dialog_Progress.cc: changed dialogwidth from 500 to 600 pixels. (icw certain languages the operation didn't fit)
2004-10-16 17:14:19 +00:00
Bart Hakvoort dde4f4d709 First load gui and then scan devices, this resulted in way faster startup
* include/Win_GParted.h,
  src/Win_GParted.cc: First load gui and then scan devices, this resulted in way faster startup and is more satisfactory (imho)
  Also did some minor code cleanups and rearranged some functions needed for applying operations.
* src/Dialog_Progress.cc: few minor code cleanups.
2004-10-16 15:42:08 +00:00
Bart Hakvoort 7046811770 minor (code) change in displaying errormessage. Made
* include/Operation.h,
  src/Operation.h: minor (code) change in displaying errormessage. Made Apply_Resize_Move_Extended_To_Visual() a bit more
  readable (and thus debugable). This whole class could still use a soft, caring hand though :P
* src/Device.cc: Unallocate space < 1MB wasn't filtered out. fixed.
* src/Partition.cc (Set_Used): Unused wasn't set properly. fixed.
2004-10-14 10:25:17 +00:00
Bart Hakvoort bf8e065a0b i just can't stop tweaking the operationslist =)
* src/Win_GParted.cc: i just can't stop tweaking the operationslist =)
2004-10-11 16:08:12 +00:00
Bart Hakvoort fa5698e115 logic unallocated space wasn't read correctly, fixed. added
* src/Device.cc (Read_Disk_Layout): logic unallocated space wasn't read correctly, fixed.
* include/Win_GParted.h: added open_operationslist() and menu_view_operations() .
* src/Win_GParted.cc: tweaked operationlist behaviour a bit. Also added 'Operations" toggle-item to View menu.
2004-10-11 14:19:56 +00:00
Bart Hakvoort 3dbaa30dba Again =) Decided to use switch ( blahblah ) instead of if else statements.
* src/Device.cc (Read_Disk_Layout): Again =) Decided to use switch ( blahblah ) instead of if else statements.
2004-10-11 12:55:33 +00:00
Bart Hakvoort 2858ad26de some internal codechanges. Looks a bit cleaner now.
* src/Device.cc (Read_Disk_Layout): some internal codechanges. Looks a bit cleaner now.
2004-10-11 11:59:28 +00:00
Bart Hakvoort 9c328738c9 made 'deep-scan' optional in Read_Disk_Layout. Removed obsolete (already)
* include/Device.h,
  src/Device.cc: made 'deep-scan' optional in Read_Disk_Layout. Removed obsolete (already) commented function.
* include/Partition.h,
  src/Partition.cc: Took used sectors out of Set() and added a Set_Used() function instead. Also added Reset() .
* src/Dialog_Partition_New.cc: minor change to make use of the new Set() in Partition..
* include/Win_GParted.h,
  src/Win_GParted.cc: show pulsing progressbar while refreshing devices.
2004-10-11 10:23:24 +00:00
Bart Hakvoort ad93a3718b changed color of reiserfs from blue to purple highlight. + some cosmetics.
* src/Partition.cc: changed color of reiserfs from blue to purple highlight. + some cosmetics.
2004-10-08 20:06:51 +00:00
Bart Hakvoort bcb05b8540 removed inheritance from sigc::trackable. (this is already done by
* include/Frame_Resizer_Base.h: removed inheritance from sigc::trackable. (this is already done by Glib::Object). * src/Dialog_Partition_Copy.cc, src/Frame_Resizer_Base.cc: fixed issues with resizing reiserfs filesystems.
2004-10-08 19:53:35 +00:00
Bart Hakvoort c65731a497 updated translatorcomment.
* src/Dialog_About.cc: updated translatorcomment.
2004-10-08 16:31:10 +00:00
Bart Hakvoort 3bf218f8a0 fixed some resizing-issues with reiserfs.
* src/Dialog_Base_Partition.cc,src/Dialog_Partition_Resize_Move.cc: fixed some resizing-issues with reiserfs.
2004-10-08 15:59:03 +00:00
Bart Hakvoort 9db1a85a0d src/Dialog_Base_Partition.cc and src/Win_GParted.cc: removed spaces before some exclamation and question marks 2004-10-07 15:28:13 +00:00
Bart Hakvoort 8d3a201896 unmarked 'Copyright' string for translation and replaced (c) with UTF-8
* src/Dialog_About.cc: unmarked 'Copyright' string for translation and replaced (c) with UTF-8 copyright symbol
2004-10-07 14:59:22 +00:00
Bart Hakvoort 4d47390878 added colorsupport to mklabel in Util.h and replaced self-made widget with UTF-8 block in VBox_VisualDisk.cc/.h 2004-10-07 14:12:34 +00:00
Bart Hakvoort bd3152788f implemented mk_label wherever possible 2004-10-06 19:06:43 +00:00
David Lodge e26341f862 Added "en_GB" (British English).
2004-10-06  David Lodge <dave@cirt.net>

        * configure.in (ALL_LINGUAS): Added "en_GB" (British English).
2004-10-06 18:18:53 +00:00
Bart Hakvoort 18b47725f8 enabled support for reiserfs 2004-10-06 15:32:40 +00:00
Francisco Javier F. Serrador f968bd1f4a Updated Spanish translation.
2004-10-06  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-10-05 22:16:15 +00:00
Jordi Mallach 37645d2f74 Added "ca" (Catalan) to ALL_LINGUAS and disable USE_COMMON_DOC_BUILD in autogen.sh. 2004-10-04 11:42:47 +00:00
Bart Hakvoort d57a8eced7 removed unnecessary headerfiles 2004-10-02 13:18:25 +00:00
Bart Hakvoort 17d8388a19 fixed incorrect tooltip with unallocated space 2004-10-02 13:07:48 +00:00
Bart Hakvoort fcd414f720 corrected dates (i've used vim far to often =) ) 2004-10-02 11:36:21 +00:00
Bart Hakvoort 05ee2f2254 added convenience function. Also fixed a small bug with incorrect labelvalue of fat16 upper limit 2004-10-02 11:34:18 +00:00
Bart Hakvoort 72f91cbc39 removed all stringstreams from the project (they were possibly responsible
* removed all stringstreams from the project (they were possibly responsible for rare chrashes in certain locales)
2004-10-02 09:39:16 +00:00
Bart Hakvoort a1dfbee2b3 cosmetics (mostly tabfixes)
* almost all files: cosmetics (mostly tabfixes)
2004-10-01 21:09:19 +00:00
Bart Hakvoort 577d0f8112 marked 3 strings for translation.\n* src/Operation.cc: fixed an i18n
* src/Dialog_Partition_New.cc: marked 3 strings for translation.\n* src/Operation.cc: fixed an i18n related crasher and did some cosmetic cleanups.
2004-10-01 18:36:12 +00:00
Bart Hakvoort 3fc4d5b74d minor changes to a few strings 2004-10-01 17:28:20 +00:00
Hendrik Brandt 9a9a00a0fe added "de" (German) to ALL_LINGUAS *po/de.po: updated German translation
2004-10-01 Hendrik Brandt  <hebra@cvs.gnome.org>

        * configure.in: added "de" (German) to ALL_LINGUAS
	*po/de.po: updated German translation
2004-10-01 14:52:58 +00:00
Bart Hakvoort 334377071d bumped version to 0.0.5 2004-09-30 18:49:54 +00:00
Bart Hakvoort 0d2ee545a7 added colored squares to the tree to highlight filesystems. 2004-09-30 18:26:34 +00:00
Bart Hakvoort 78e81b82be ignore all projectfiles 2004-09-29 13:15:57 +00:00
Bart Hakvoort 8ae5ebb2e6 several (mostly) i18n related fixes/cleanups 2004-09-29 12:33:40 +00:00
Bart Hakvoort dbb478b789 minor i18n related tweaks. 2004-09-29 09:13:04 +00:00
Duarte Loreto 872951fc67 Added Portuguese (pt) to ALL_LINGUAS.
2004-09-29  Duarte Loreto <happyguy_pt@hotmail.com>

	* configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2004-09-29 00:00:01 +00:00
Bart Hakvoort 57e7ca3160 several small thingies, mostly i18n related 2004-09-28 21:12:20 +00:00
Maxim Dziumanenko 1e2e9b52be Added Ukrainian translation.
2004-08-28  Maxim Dziumanenko <mvd@mylinux.com.ua>

	* Added Ukrainian translation.
2004-09-28 13:34:01 +00:00
Bart Hakvoort 208a25c470 changed representation of hardisk info 2004-09-27 20:12:47 +00:00
Bart Hakvoort eb2e4d144e marked 'Unallocated' for translatation 2004-09-27 07:33:37 +00:00
Bart Hakvoort 5f549f8b57 fixed alignment problems with some languages 2004-09-26 20:37:07 +00:00
Bart Hakvoort 7ffc4ac0ad removed 'documented by' tab and fixed alignments 2004-09-26 19:36:02 +00:00
Bart Hakvoort 16ca6f738f fixed bug that occured while converting the filesystem of a new partition 2004-09-26 18:41:43 +00:00
Bart Hakvoort 362d4d9cbd changed colors of ext2, ext3 and linux-swap 2004-09-26 18:27:15 +00:00
Bart Hakvoort ce130c77e3 fixed bug with check for max amount of partitions while pasting a copied partition. 2004-09-26 08:47:00 +00:00
Raphael Higino f90506c3e0 Fixed some two typos 2004-09-25 23:23:59 +00:00
Bart Hakvoort c5f807a878 use VERSION instead of hardcoded numbers 2004-09-25 22:24:24 +00:00
Bart Hakvoort c5491cdd8f fixed small bug with overlapping text 2004-09-25 22:16:19 +00:00
Bart Hakvoort bb69282a4a added a sensible 'Translated by' tab to creditsdialog, also added an translator-credits string 2004-09-25 18:52:51 +00:00
Bart Hakvoort 33c3e3c5f5 more i18n (i think i've marked 100% of the strings) and some code cleanups 2004-09-25 14:24:45 +00:00
Bart Hakvoort ceacd66031 added ../src/main.cc 2004-09-25 01:55:35 +00:00
Bart Hakvoort c8ea903e59 changed some sentences on translators request and added composelib (tabfixes in changelog :P ) 2004-09-25 01:29:53 +00:00
Bart Hakvoort efcf38a76b changed some sentences on translators request and added composelib 2004-09-25 01:25:40 +00:00
Adam Weinberger a95f3e414e Added en_CA to ALL_LINGUAS. Actually add the Canadian English translation
* configure.in: Added en_CA to ALL_LINGUAS.
	* po/en_CA.po: Actually add the Canadian English translation
	  this time. I missed the cvs import while operating on autopilot.
2004-09-24 02:45:05 +00:00
Bart Hakvoort 527b424292 fixed i18n 2004-09-23 20:39:49 +00:00
Raphael Higino f303d6cb82 Added pt_BR translation 2004-09-23 11:47:12 +00:00
Christian Rose c690221fcd Added "sv" to ALL_LINGUAS. Added an entry. Added comment. Added Swedish
2004-09-23  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "sv" to ALL_LINGUAS.
	* po/.cvsignore: Added an entry.
	* po/POTFILES.in: Added comment.
	* po/sv.po: Added Swedish translation.
2004-09-22 23:06:54 +00:00
Bart Hakvoort 8f7f96387b fixed bug with 'device is busy' dialog 2004-09-21 18:04:48 +00:00
Bart Hakvoort 24488f22ec added .desktop file 2004-09-20 21:38:21 +00:00
Bart Hakvoort 26d433260d Initial revision 2004-09-19 20:24:53 +00:00