Commit Graph

2088 Commits

Author SHA1 Message Date
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
Curtis Gedak cf8293cf78 Display ext2/3/4 unicode volume labels properly (#662537)
Note that this enhancement changes GParted to first try the native
tools to determine the volume label for all file systems.  If the
volume label is not found then the fall back method is to use blkid.

There is a small degradation in device refresh times as a result of
this change.

Closes Bug #662537 - Ext4 unicode labels not shown correctly
2011-11-01 13:01:02 -06:00
Curtis Gedak 71c1606cac Repair broken volume label regular expression pattern
Also adjust indentation.
2011-11-01 12:45:14 -06:00
Curtis Gedak 2a9c13e6e1 Append -git to version for continuing development 2011-11-01 10:32:12 -06:00
Curtis Gedak 52dbd9b42f Fix release date - s/b Nov. 1, 2011 2011-11-01 10:21:51 -06:00
Curtis Gedak 3251cc1618 ========== gparted-0.10.0 ========== 2011-11-01 10:11:12 -06:00
Bruce Cowan f05f6a1b79 Updated British English translation 2011-10-31 22:46:41 +00:00
Yuri Myasoedov b0a220adf8 Updated Russian translation 2011-10-31 23:01:51 +04:00
Djavan Fagundes fe53254423 Updated Brazilian Portuguese translation 2011-10-31 09:08:56 -02:00
Alexander Shopov 365d6dd88b Updated Bulgarian translation 2011-10-30 21:49:57 +02:00
Milo Casagrande 7ef478edb5 [l10n] Updated Italian translation 2011-10-28 21:31:10 +02:00
Antonio Fernandes C. Neto 3767706552 Updated Brazilian Portuguese translation 2011-10-26 13:54:18 -02:00
Curtis Gedak 47e0c00a7e Handle additional return codes from btrfsctl resizing
Sometimes btrfsctl returns 256 on successful resize, not just 0.
2011-10-25 11:52:10 -06:00
Aurimas Černius 6ed5193207 Updated Lithuanian translation 2011-10-25 18:50:17 +03:00
Daniel Nylander 67ccbb0ca2 Updated Swedish translation 2011-10-25 08:41:40 +02:00
Gabor Kelemen 50502c4c9f Updated Hungarian translation 2011-10-24 21:29:08 +02:00
Mario Blättermann 64aa491221 [l10n] Updated German translation 2011-10-24 19:57:01 +02:00
Muhammet Kara 2e015db34c Updated Turkish translation 2011-10-24 20:00:18 +03:00
Claude Paroz a81a222b01 Updated French translation 2011-10-24 18:47:56 +02:00
Piotr Drąg b328434655 Updated Polish translation 2011-10-24 18:31:35 +02:00
Daniel Mustieles 34815d8941 Updated Spanish translation 2011-10-24 17:10:28 +02:00
Matej Urbančič 6d5dd497f2 Updated Slovenian translation 2011-10-23 19:15:49 +02:00
Curtis Gedak 284cfa7ed9 Add missing exfat file system to set_proper_filesystem method
This should have been part of commit
7cbc125a2e
2011-10-22 14:40:08 -06:00
Curtis Gedak d366a1d7dc Add missing file systems to POTFILES.in
Specifically btrfs, ext4, and ufs.
2011-10-22 12:07:22 -06:00