Commit Graph

1811 Commits

Author SHA1 Message Date
Rogier Goossens 9e96159bb2 Add support for setting UUID (#667278)
Add the ability to set a new random UUID on file systems that provide
the appropriate tools to perform this action.

Update the help manual to include this new functionality.  Also add
reference links to "setting a partition label" and "changing a
partition UUID" in the "copying and pasting a partition" section.

This patch does not include setting the UUID on an NTFS file system.

Bug #667278 - Add support for setting UUID

Bug #608308 - fix documentation - Copying and Pasting a Partition
2012-01-23 12:32:27 -07:00
Matej Urbančič c9c045ed3f Updated Slovenian translation 2012-01-20 21:23:43 +01:00
Praveen Illa b13f28ded2 Added Telugu Translation 2012-01-19 22:18:37 +05:30
Praveen Illa c665b86630 Updated Telugu Translation 2012-01-19 22:18:37 +05:30
Marek Černocký d47ddfefa7 Updated Czech translation 2012-01-16 10:38:09 +01:00
Daniel Mustieles 57521fe254 Updated Spanish translation 2012-01-13 10:17:29 +01:00
Curtis Gedak ee9f6f3432 Fix mismatched field precision type compiler warning
Inserted cast to int so that third parameter matches expected
parameter precision type.

Original warning:

FileSystem.cc: In member function ‘Glib::ustring
GParted::FileSystem::mk_temp_dir(const Glib::ustring&,
GParted::OperationDetail&)’:
FileSystem.cc:81:69: warning: field precision should have type ‘int’,
but argument 3 has type ‘long unsigned int’
2012-01-12 13:07:37 -07:00
Curtis Gedak 3b76e57084 Fix en_CA parameter translation error
The missing percent sign would cause the parameter substitution to be
incorrect.
2012-01-11 20:35:37 -05:00
Curtis Gedak 7c5b5edaef Reduce graphic processing requirement for pulse bar
Increase sleep time to decrease pulse bar update frequency.

Debian Bug 499193 - gparted: 100% cpu usage

Debian Bug 519764 - gparted: Lots of animation makes use over SSH
                    X-tunnel slow
2012-01-11 13:13:43 -07:00
Curtis Gedak 08357b6e81 Add files for translation to POTFILES.in
The file src/FileSystem.cc now contains translatable text.  Also
added src/nilfs2.cc to handle any future translatable text.
2012-01-11 13:01:10 -07:00
Mike Fleetwood e414b71b73 Update xfs resize and copy to use new helper functions
Also update xfs file system support detection to allow growing even when
the xfs kernel module is not already loaded.
2012-01-11 12:49:13 -07:00
Mike Fleetwood a13e1a3863 Update btrfs resize to use new helper functions
Also update btrfs file system support detection to require kernel
support before allowing resizing.
2012-01-11 12:49:13 -07:00
Mike Fleetwood b0d818b8f9 Update jfs resize to use new helper functions
Also update jfs file system support detection to allow growing even when
the jfs kernel module is not already loaded.
2012-01-11 12:49:13 -07:00
Mike Fleetwood 15bca17a46 Add resize support to nilfs2 (#642842)
Resizing requires nilfs-utils 2.1 or higher and Linux 3.0 or higher.

Closes Bug #642842 - nilfs is not detected
2012-01-11 12:49:13 -07:00
Mike Fleetwood 4ab3fe0ee7 Add helper functions for mounted file system resizing operations
There is a lot of commonality and code repetition for resizing of file
systems which can only be resized while mounted.  Resizing of btrfs, jfs
and xfs all follow the pattern: mkdir, mount, resize, umount and rmdir.
Copying an xfs file system also uses a similar pattern, but for the
source and destination xfs file systems simultaneously.

Add three helper functions to the FileSystem class which implement
common tasks, allowing mounted file system resizing to be implemented
more simply.

Also add a function to the Utils class which checks whether the kernel
supports a file system.  It handles the case of non-loaded modules,
which currently leads to reporting the growing of jfs and xfs as
unsupported.
2012-01-11 12:49:13 -07:00
Mario Blättermann 293e4c7142 [l10n] Updated German translation 2012-01-11 19:15:09 +01:00
Jiro Matsuzawa 49e582d75d Updated Japanese translation 2012-01-11 21:57:52 +09:00
Marek Černocký 984581c924 Updated Czech translation 2012-01-11 10:22:57 +01:00
Daniel Mustieles 95eb987446 Updated Spanish translation 2012-01-09 14:43:50 +01:00
Curtis Gedak def101236e Update AUTHORS file
Add recognition for work done by Phillip Susi to display pop-up
dialog on libparted exceptions
2012-01-08 14:14:13 -07:00
Phillip Susi a1f843e74a Display pop up dialog on libparted exceptions
We used to just log libparted exceptions without handling them.  This patch
changes the exception handler to display a modal dialog box and return the
chosen action to libparted.
2012-01-08 13:03:20 -07:00
Vincent Untz e52384b258 build: Correctly link to gthread
https://bugzilla.gnome.org/show_bug.cgi?id=667412
2012-01-06 12:42:31 -07:00
Curtis Gedak 18f863151c Fix long scan problem when BIOS floppy setting incorrect
The call to "blkid -c /dev/null" on Precise Pangolin Alpha 1 takes
exceedingly long.  This occurs when the BIOS is incorrectly set to
indicate a floppy drive is present when none is physically installed. 
Use cached blkid results instead.

Ubuntu launchpad 910379 - Gparted does not start and continues to
                          scan devices
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/910379
2012-01-06 10:31:14 -07:00
Mike Fleetwood 377d26f0cc Fix uninitialised read in OperationDetail::set_status()
Setting the status and controlling the timing of operation details
initialised with OperationDetail(desc, status, font) uses a conditional
branch depending on the uninitialised variable this->status.

valgrind:
==28957== Conditional jump or move depends on uninitialised value(s)
==28957==    at 0x80E4287:
GParted::OperationDetail::set_status(GParted::OperationDetailStatus)
(OperationDetail.cc:77)

OperationalDetail.cc:
   75  void OperationDetail::set_status( OperationDetailStatus status )
   76  {
>> 77          if ( this ->status != STATUS_ERROR )
   78          {
   79                  switch ( status )
   80                  {
2012-01-04 14:07:08 -07:00
Joe Hansen 7477ba3c1d Updated Danish translation 2012-01-02 12:42:34 +01:00
Curtis Gedak 6c8246932e Update AUTHORS file
Add recognition for the work done by Mike Fleetwood to add support for
the nilfs2 file system.
2011-12-16 12:00:36 -07:00
Mike Fleetwood df20b54d00 Add nilfs2 support (#642842)
Requires libparted 2.4 or higher, or blkid from utils-linux 2.20 or
higher for nilfs2 file system detection.

Requires nilfs-utils for nilfs2 file system support.

Closes Bug #642842 - nilfs is not detected
2011-12-16 11:40:46 -07:00
Curtis Gedak 46973f8721 Append -git to version for continuing development 2011-12-13 10:31:19 -07:00
Curtis Gedak 3f9a11df0a ========== gparted-0.11.0 ========== 2011-12-13 09:27:29 -07:00
Joe Hansen 59961bdd9f Updated Danish translation 2011-12-13 09:24:48 +01:00
Chao-Hsiung Liao af808476e3 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-12-12 11:59:53 +08:00
Мирослав Николић 58c101c5c0 Updated Serbian translation 2011-12-11 10:36:31 +01:00
Daniel Korostil a238f7198c Uploaded Ukranian 2011-12-07 10:51:27 +02:00
Daniel Korostil 4905770e42 Uploaded Ukranian 2011-12-07 10:49:26 +02:00
Andrey Germanov 2575e8771e Added Russian translation for help 2011-11-19 11:53:03 +04:00
Curtis Gedak e8bdb5d704 Avoid redundant file system maximize actions (#663980)
When GParted performed operations or combinations of operations,
such as:
  a)  copy to same or smaller size destination partition
  b)  move to same or smaller size due to alignment change
  c)  resize to smaller size
a redundant maximize file system operation would occur.

Normally these redundant maximize operations to grow the file
system to take up all the space in the partition were not harmful.

However in situations where libparted failed to inform the kernel
of partition changes, then the extra maximize operation would
grow the file system to be the original partition size.  In cases
where the original partition was larger than the new partition
size, this caused problems because the file system would be
larger than the partition on reboot.

This enhancement avoids redundant file system maximize actions on
copy, move, and resize, and should help reduce problems described
in the following links:

WARNING! Problem Resizing File Systems with GParted
http://gparted-forum.surf4.info/viewtopic.php?id=13777

Bug #601574 - ERROR: Current NTFS volume size is bigger than the
              device size!

Bug #604298 - Problems resizing file systems with
              gparted-live-0.5.0-3

Closes Bug #663980 - Avoid redundant file system maximize actions
                     on copy, move, and resize
2011-11-13 11:24:07 -07:00
Curtis Gedak 9309127876 Update AUTHORS file
Add missed recognition of linux-swap labelling for Mike Fleetwood,
and fix indentation.
2011-11-13 10:02:42 -07:00
Curtis Gedak eebc8cd431 Update AUTHORS file
Add recognition for the work done by Stephen Kirkby to reverse umount
order in xfs::copy.
2011-11-13 09:54:46 -07:00
Curtis Gedak 2ecbd3bbb9 Update AUTHORS file
Add recognition for the work done by Mike Fleetwood to improve btrfs
labelling and new btrfs multi-tool command use.
2011-11-13 09:42:01 -07:00
Mike Fleetwood a580abbc30 Use newer btrfs multi-tool control command first
Btrfsctl and btrfs-show were depreciated in October 2011 and have been
superseeded by the newer btrfs multi-tool control command.  Use btrfs as
first choice, falling back to btrfsctl and btrfs-show when not found.
2011-11-13 09:29:45 -07:00
Mike Fleetwood 7ba1d417c5 Add labelling of btrfs file systems
Use "btrfs filesystem label" command to set the label of unmounted
btrfs file systems.
2011-11-13 09:29:45 -07:00
Stephen Kirkby e247357b51 Reverse umounting order in xfs::copy
See bug #663806 - Cannot copy XFS filesystem to new smaller
                  partition anymore
2011-11-13 09:24:01 -07:00
Curtis Gedak 1dce98cd3e Add to README packages required for fedora 16 build
Also add configure flag to disable scrollkeeper for desktops that do
not support scrollkeeper.
2011-11-12 17:03:23 -07:00
Curtis Gedak 38aab666b4 Enable copy to smaller XFS partition (#663806)
Closes Bug #663806 - Cannot copy XFS filesystem to new smaller
                     partition anymore
2011-11-11 11:52:49 -07:00
Curtis Gedak 32659e5e02 Add xfsdump package requirement to copy xfs file systems 2011-11-10 13:12:21 -07:00
Mike Fleetwood cbd3170e57 Fix btrfs volume label reading
There are still 2 issues with reading btrfs labels when falling back
on using btrfs-show command, rather than primary method of using the
blkid command:

1)  Label is set no "none" when btrfs-show is reporting there is no
    label, although it is impossible to distinguish from the case of the
    label actually being set to "none".

2)  The label has 2 trailing spaces appended as the regular expression
    matches "Label: (btrfslabel  )uuid:" rather than
    "Label: (btrfslabel)  uuid:" in the btrfs-show output.

Assume a label "none" means there is no label and fix the regular
expression.
2011-11-08 08:54:25 -07:00
Marek Černocký 07bc770c31 Updated Czech translation 2011-11-02 19:34:54 +01:00
Curtis Gedak 370c084947 Improve code comments for reading volume labels 2011-11-01 13:13:28 -06:00
Curtis Gedak b6f1c56fb1 Enhance regexp_label method to handle unicode characters
Prompted by Bug #662537 - Ext4 unicode labels not shown correctly
2011-11-01 13:08:36 -06:00
Curtis Gedak 2ae36153ee Display ntfs unicode volume labels properly
Prompted by Bug #662537 - Ext4 unicode labels not shown correctly
2011-11-01 13:05:42 -06:00