Commit graph

262 commits

Author SHA1 Message Date
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
Frank Arnold
894c39051b Updated German translation.
2005-01-12  Frank Arnold  <farnold@cvs.gnome.org>

	* de.po: Updated German translation.
2005-01-12 13:55:32 +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
Laszlo Dvornik
6de4fdd188 Added hu to ALL_LINGUAS.
2005-01-11  Laszlo Dvornik  <dvornik@gnome.hu>

	* configure.in: Added hu to ALL_LINGUAS.
2005-01-11 14:54:55 +00:00
Laszlo Dvornik
bba5cb90b8 Hungarian translation added by Gabor Kelemen.
2005-01-11  Laszlo Dvornik  <dvornik@gnome.hu>

	* hu.po: Hungarian translation added by Gabor Kelemen.
2005-01-11 14:54:51 +00:00
Miloslav Trmac
77db24f5e9 Updated Czech translation.
2005-01-10  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-01-10 21:09:37 +00:00
Adam Weinberger
cc4f197e34 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2005-01-10 06:43:39 +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
Vincent van Adrighem
1c629c16d4 Removing debian subdir in preparation for the inclusion of an official debian package in the debian repository. 2005-01-05 16:43:55 +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
Francisco Javier F. Serrador
019d15a18b Updated Spanish translation by Jorge Gonzalez
2004-12-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation by Jorge Gonzalez
2004-12-24 13:53:37 +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
Hendrik Brandt
e93544f8eb Updated German translation.
2004-12-21  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2004-12-21 17:22:22 +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
Vincent van Adrighem
8f34efa5d6 Translation updated.
2004-12-19  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated.
2004-12-19 19:59:04 +00:00
Miloslav Trmac
3548cddb81 Updated Czech translation.
2004-12-19  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2004-12-19 12:08:01 +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
Vincent van Adrighem
589d18befb A newline is a nono in the description, apparently. 2004-12-18 14:45:41 +00:00
Vincent van Adrighem
659a2d1fcc typo in description. 2004-12-18 14:43:13 +00:00
Vincent van Adrighem
fa063f1147 Moved filesystem tools from dependencies to recommended.
New description.
2004-12-18 14:40:17 +00:00
Vincent van Adrighem
10d1950d47 Translation updated.
2004-12-18  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated.
2004-12-18 14:11:39 +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
Francisco Javier F. Serrador
3dd69a8345 Updated Spanish translation by Jorge González
2004-12-17  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation by Jorge González
2004-12-17 17:40:45 +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
Adam Weinberger
e3951754b9 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-12-16 15:57:01 +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
6830d475cf added src/Dialog_Filesystems.cc
* POTFILES.in: added src/Dialog_Filesystems.cc
2004-12-15 19:44:06 +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
Francisco Javier F. Serrador
789daf9b4f Updated Spanish translation.
2004-12-13  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-12-13 20:39:26 +00:00
Vincent van Adrighem
19940e225c Translation updated.
2004-12-13  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated.
2004-12-13 19:16:50 +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