Commit Graph

385 Commits

Author SHA1 Message Date
Bart Hakvoort ab8e1b586d replaced hardcoded menu and toolbar indices with variables. This is far
* include/Win_GParted.h,
  src/Win_GParted.cc: replaced hardcoded menu and toolbar indices with
  variables. This is far more flexible and reliable.
2006-08-20 16:51:18 +00:00
Bart Hakvoort 649f26be9f fixed some issues with combi move+shrink on fat* and hfs* filesystems.
* include/GParted_Core.h,
  src/GParted_Core.cc: fixed some issues with combi move+shrink on
  fat* and hfs* filesystems.
  Also call wait_for_node() from commit() if 'node' was provided.
2006-08-20 11:47:17 +00:00
Bart Hakvoort 1234b248d5 due to some restrictions it was no longer possible to shrink swap
* src/Dialog_Partition_Resize_Move.cc: due to some restrictions it was
  no longer possible to shrink swap filesystems. fixed.
2006-08-20 10:07:25 +00:00
Bart Hakvoort 8e0880e5ea small fix with moving of linux-swap (which seems pretty useless to me :^)
* src/linux_swap.cc: small fix with moving of linux-swap (which seems
  pretty useless to me :^) )
2006-08-20 09:49:45 +00:00
Bart Hakvoort 889ab1232f changed progressfeedbackhandling a bit. Because this affected
* changed progressfeedbackhandling a bit. Because this affected
  OperationDetail i had to make changes in almost every file.
2006-08-20 09:33:54 +00:00
Bart Hakvoort a6b853ad8f added 'time remaining' to progressfeedback.
* src/GParted_Core.cc: added 'time remaining' to progressfeedback.
2006-08-16 20:30:26 +00:00
Bart Hakvoort 8393f5ef6a created set_progress_info() (i actually planned on adding some time
* include/GParted_Core.h,
  src/GParted_Core.cc: created set_progress_info() (i actually planned
  on adding some time remaining stuff, but xfiles is waiting ;) )
2006-08-15 18:33:56 +00:00
Bart Hakvoort 5c66a79669 fixed small issue with lp_partition ->geom stuff sometimes losing values
* src/GParted_Core.cc: fixed small issue with lp_partition ->geom
  stuff sometimes losing values when going out of scope.
2006-08-13 14:13:33 +00:00
Bart Hakvoort 9576eb981e couple of cleanups in operationhandling and initalizing of p_filesystem.
* include/GParted_Core.h,
  src/GParted_Core.cc: couple of cleanups in operationhandling and
  initalizing of p_filesystem.
2006-08-13 13:31:57 +00:00
Bart Hakvoort 20be2db114 small fix to pass 'make distcheck'
* include/Makefile.am: small fix to pass 'make distcheck'
2006-08-09 19:33:51 +00:00
Bart Hakvoort ac53a7875f did some work on disabling of automounting of removable drives. The
* include/GParted_Core.h,
  src/GParted_Core.cc: did some work on disabling of automounting of
  removable drives. The current method is not entirely to my liking
  but it seems to work.
2006-08-09 19:20:20 +00:00
Bart Hakvoort 4c2e8b469c fixed small issue with shrinking of a new (virtual) partition
* src/Dialog_Partition_Resize_Move.cc: fixed small issue with
  shrinking of a new (virtual) partition
2006-08-08 19:08:36 +00:00
Bart Hakvoort b539a10ddc implemented some stuff to find a good blocksize to use for copy/move.
* implemented some stuff to find a good blocksize to use for
  copy/move. Actually i'm not really happy with it, because probing
  seems suboptimal, but it's better than nothing. As soon as i have
  some time i should do some research on the subject to find a better
  solution.
2006-08-08 19:04:29 +00:00
Bart Hakvoort b42982b884 construct operations in the activate*() functions instead of in
* include/Win_GParted.h,
  src/Win_GParted.cc: construct operations in the activate*()
  functions instead of in Add_Operation(). This approach allows for
  more customization of operations.
2006-08-01 20:19:17 +00:00
Bart Hakvoort b0d6109ed0 made set_partition_type() a bit more verbose and did some cleanups.
* src/GParted_Core.cc: made set_partition_type() a bit more verbose
  and did some cleanups.
2006-08-01 13:18:22 +00:00
Bart Hakvoort 89a42f3f07 added get_sector() use new Partition::get_sector()
* include/Partition.h,
  src/Partition.cc: added get_sector()
* src/GParted_Core.cc: use new Partition::get_sector()
2006-08-01 12:47:03 +00:00
Bart Hakvoort 07418ae4c8 fixed some issues when manipulating a just copied partition. (see also
* src/Dialog_Partition_Copy.cc,
  src/GParted_Core.cc,
  src/Win_GParted.cc: fixed some issues when manipulating a just
  copied partition. (see also #349513)
2006-08-01 12:16:22 +00:00
Bart Hakvoort 677a21f50a improved errorhandling a bit. At the initialscan we store errors/warnings
* improved errorhandling a bit. At the initialscan we store
  errors/warnings now in a list per partition and show the in the
  partitioninfo dialog.
  While executing an operation we collect all libparted exceptions in
  a list and attach this list to the operationdetails when everything
  is done.
2006-07-30 15:13:41 +00:00
Bart Hakvoort e033136a6f renamed some enums
* renamed some enums
2006-07-29 15:20:32 +00:00
Bart Hakvoort faad1b6be4 fixed a couple of small errors in the copy algorithm (which is closely
* src/GParted_Core.cc: fixed a couple of small errors in the
  copy algorithm (which is closely related to moving)
2006-07-29 14:42:01 +00:00
Bart Hakvoort 157a1b9fee fixed a couple of small errors in the move algorithm
* src/GParted_Core.cc: fixed a couple of small errors in the
  move algorithm
2006-07-29 12:03:25 +00:00
Bart Hakvoort d52b0286c9 fixed Pango markup problems in operationdetails restructured
* fixed Pango markup problems in operationdetails
* restructured OperationDetail
* renamed some enums for improved readability of the source
2006-07-29 08:27:28 +00:00
Bart Hakvoort d663c3c277 removed cylindersize buffering during resize from the filesystems. It is
* include/FileSystem.h,
  include/GParted_Core.h,
  src/FileSystem.cc,
  src/GParted_Core.cc,
  src/ext2.cc,
  src/ext3.cc,
  src/ntfs.cc,
  src/reiserfs.cc: removed cylindersize buffering during resize from
  the filesystems. It is not needed anymore now we calculate the new
  position before calling this.
  Also added some extra progressfeedback in the core
2006-07-23 18:43:15 +00:00
Bart Hakvoort 8059d5f6d9 more work on moving/resizing sequence
* include/GParted_Core.h,
  src/GParted_Core.cc: more work on moving/resizing sequence
2006-07-23 16:51:38 +00:00
Bart Hakvoort 069662588e fixed issue with resize/move of extended partitions
* src/GParted_Core.cc: fixed issue with resize/move of extended
  partitions
2006-07-23 10:33:41 +00:00
Bart Hakvoort f0d4890a92 added FIXME: decoupled libparted partition and filesystemresizing. This
* src/Win_GParted.cc: added FIXME:
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/fat32.cc: decoupled libparted partition and filesystemresizing.
  This resulted in a much more consistent core. This also affected
  several other aspects of resizing/moving in a positive way.
2006-07-23 09:58:45 +00:00
Bart Hakvoort 59dad3ec04 FIXME business only snap to cylinder if operation is != DELETE or FORMAT
* src/GParted_Core.cc: FIXME business
* src/Win_GParted.cc: only snap to cylinder if operation is != DELETE
  or FORMAT
2006-07-20 20:03:54 +00:00
Bart Hakvoort dc883ee652 perform some checks before adding a new operation to the list. made
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/Win_GParted.cc: perform some checks before adding a new
  operation to the list.
* src/Partition.cc: made get_length() a bit safer
2006-07-20 19:14:44 +00:00
Bart Hakvoort 7f265770eb added FIXME removed FIXME
* src/Dialog_Progress.cc: added FIXME
* src/GParted_Core.cc: removed FIXME
2006-07-19 21:04:49 +00:00
Bart Hakvoort f7722d2bbf show warning in progressfeedback if a certain action is n/a. Of course we
* include/Dialog_Progress.h,
  include/Operation.h,
  src/Dialog_Progress.cc,
  src/GParted_Core.cc: show warning in progressfeedback if a certain
  action is n/a. Of course we only allow these actions if the results
  are non-lethal.
2006-07-19 20:54:08 +00:00
Bart Hakvoort 9e32399727 enabled move support for all the filesystems. Also made some small changes
* enabled move support for all the filesystems. Also made some small
  changes to the logic which determines if copy is allowed.
2006-07-19 20:12:46 +00:00
Bart Hakvoort a11ddd7496 added some progressfeedback
* src/GParted_Core.cc: added some progressfeedback
2006-07-19 19:02:18 +00:00
Bart Hakvoort cf49d07996 fixed potential crasher in read algorithm (#347914)
* src/xfs.cc: fixed potential crasher in read algorithm (#347914)
2006-07-19 17:26:42 +00:00
Bart Hakvoort cf59b71bf4 worked a bit on progressfeedback.. added FIXME
* include/GParted_Core.h,
  src/GParted_Core.cc: worked a bit on progressfeedback..
* include/Partition.h: added FIXME
2006-07-18 21:10:10 +00:00
Bart Hakvoort 8c5326e8b6 implemented snap to cylinder algorithm. Although the algorithm is very
* src/Win_GParted.cc,
  include/GParted_Core.h,
  src/GParted_Core.cc: implemented snap to cylinder algorithm.
  Although the algorithm is very simple, it seems to work perfectly.
  However, some additional testing is required.
2006-07-17 20:54:41 +00:00
Bart Hakvoort 357e2d84bc lots of fixes and improvements (mostly move-related)
* lots of fixes and improvements (mostly move-related)
2006-07-11 18:13:27 +00:00
Bart Hakvoort 935ceb756e some more work on the order of operations when performing a move (made use
* src/GParted_Core.cc: some more work on the order of operations when
  performing a move (made use of maximize_filesystem() ).
2006-06-21 19:46:29 +00:00
Raivis Dejus beb0db9b8e Added Latvian translation.
2006-06-21  Raivis Dejus  <orvils@gmail.com>

	* lv.po: Added Latvian translation.

	* cinfugure.in: Added 'lv' entry to ALL_LINGUAS
2006-06-21 10:37:43 +00:00
Bart Hakvoort 90e1af5bfe finalized the order of operations when performing a move.
* src/GParted_Core.cc: finalized the order of operations when
  performing a move.
2006-06-20 20:17:32 +00:00
Bart Hakvoort a150c58852 use new copy_block() in copy_filesystem()
* src/GParted_Core.cc: use new copy_block() in copy_filesystem()
2006-06-18 19:56:48 +00:00
Bart Hakvoort b223e829ab renamed resize_partition to resize_move_partition to better reflect its
* include/GParted_Core.h,
  src/GParted_Core.cc: renamed resize_partition to
  resize_move_partition to better reflect its functionality.
2006-06-18 19:38:29 +00:00
Bart Hakvoort 8fecbac1d0 did more work on moving
* include/GParted_Core.h,
  src/GParted_Core.cc: did more work on moving
2006-06-18 19:27:52 +00:00
Bart Hakvoort afa792bf0c some more cleanups, should be finished now :)
* include/GParted_Core.h,
  src/GParted_Core.cc,
  src/Win_GParted.cc: some more cleanups, should be finished now :)
2006-06-18 08:50:17 +00:00
Bart Hakvoort 32dc8481c8 restructured the core a bit, over time it had become very messy.
* restructured the core a bit, over time it had become very messy.
2006-06-17 20:52:25 +00:00
Bart Hakvoort 2d7fb5700b more cleanups in the core and the fs'es (these changelogs are getting
* more cleanups in the core and the fs'es (these changelogs are
  getting boring ;^) )
2006-06-17 16:38:15 +00:00
Bart Hakvoort 08245cd08c cleanups in the core and the fs'es (resize)
* cleanups in the core and the fs'es (resize)
2006-06-17 14:44:17 +00:00
Bart Hakvoort 20d5650188 cleanups in the core and the fs'es (check/repair)
* cleanups in the core and the fs'es (check/repair)
2006-06-17 09:55:32 +00:00
Bart Hakvoort 3094aeaabe use new create_filesystem() in format()
* src/GParted_Core.cc: use new create_filesystem() in format()
2006-06-17 09:03:11 +00:00
Bart Hakvoort 682283ce89 cleanups in the core and the fs'es (create)
* cleanups in the core and the fs'es (create)
2006-06-17 08:56:24 +00:00
Bart Hakvoort 65f0a16eb2 removed 'EXPERIMENTAL' from move-message to prevent incorrect
* src/GParted_Core.cc: removed 'EXPERIMENTAL' from move-message to
  prevent incorrect translations.
2006-06-04 13:41:06 +00:00