Commit Graph

139 Commits

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