Commit Graph

1505 Commits

Author SHA1 Message Date
Seth Heeren 29e4329182 Unitialized value in OperationDetail::OperationDetail 2010-10-05 12:54:55 -06:00
Seth Heeren 37dad68f45 ped_partition_get_path result not freed 2010-10-05 12:54:55 -06:00
Seth Heeren 18fed5030f leaked FS structures for new partition dialog
FILESYSTEMS vector copies anyway
2010-10-05 12:46:26 -06:00
Seth Heeren 83ff77285a leaked Gtk::HBox 2010-10-05 12:46:26 -06:00
Seth Heeren 58b0e23dd7 remove misuse of ustring in get_filesystem 2010-10-05 10:29:05 -06:00
Luca Bruno 9c41afae91 Use ext2 as default when creating new filesystems
Default to ext2 for filesystem creation, instead of the
alphabetically preceding btrfs. Do not use get_label(),
as it is not available in older gtkmm.
2010-10-05 08:51:53 -06:00
Luca Bruno 5c05233072 Provide set_used_sectors() for Btrfs
Add set_used_sectors() method to Btrfs handler, to show usage statistics
on unmounted volumes.
2010-10-03 17:00:53 +02:00
Luca Bruno 0125278eb7 List Btrfs capabilities in filesystems table
When enabled, show Btrfs capabilities in features table, without skipping
it like other multi-volume systems.
2010-10-03 17:00:53 +02:00
Luca Bruno 5765eb870c Use Btrfs handlers, if enabled at configure time
GParted already has basic support only to recognize Btrfs volumes; if
configured, use our newer methods to handle them.
Also, put in place interface controls for all supported generic actions.
2010-10-03 17:00:53 +02:00
Luca Bruno 66a3a71842 Initial Btrfs-handling modules
This adds initial handlers for Btrfs; only .create, .check and
.read_label are done for now, via external btrfs-tools.
Other methods are still only stubs.
2010-10-03 17:00:53 +02:00
Luca Bruno a64cc98bb5 Add --enable-btrfs to ./configure for experimental Btrfs support
This will take care of setting BTRFS_SUPPORT in config.h, included
all around the sources to conditionally enable Btrfs capability.
2010-10-03 17:00:53 +02:00
Curtis Gedak 30efae4b8d Append -git to version for continuing development 2010-10-01 09:36:30 -06:00
Curtis Gedak a4bbdb0c86 ========== gparted-0.6.4 ========== 2010-10-01 09:08:27 -06:00
Curtis Gedak adc55bec50 Fix partitions created using MiB alignment are 1 MiB larger (#631026)
Closes bug #631026 - Partitions created using MiB alignment are
                     1 MiB larger than specified
2010-09-30 11:31:25 -06:00
Curtis Gedak e2c0cb6a4b Append -git to version for continuing development 2010-09-23 10:45:42 -06:00
Curtis Gedak 69ba15be35 ========== gparted-0.6.3 ========== 2010-09-23 09:50:02 -06:00
Dirgita c07a3b26ed Initial Indonesian translation
Added id to LINGUAS
2010-09-23 17:12:25 +07:00
Baurzhan Muftakhidinov e81506381b Updated Kazakh translation, missed few strings 2010-09-23 15:00:34 +06:00
Baurzhan Muftakhidinov cf0cf8d66e Updated Kazakh translation 2010-09-23 14:53:21 +06:00
Curtis Gedak d040e4e584 Use direct assignment for string in class initialization
Change string initialization to use direct assignment instead of
a class method in the GParted_Core class initialization.

Thanks go to Jan Claeys for pointing out this potential problem
and providing the following link:
https://bugzilla.gnome.org/show_bug.cgi?id=627724#c7

This link contains a comment by Matthias Clasen that says:

    "In a class init function, don't do anything that causes
    other threads to initialize classed types."
2010-09-21 11:19:42 -06:00
António Lima 06d4e1e100 Updated Portuguese translation 2010-09-21 00:41:39 +01:00
Ask H. Larsen 90f9364c75 Updated Danish translation 2010-09-19 23:56:01 +02:00
Mattias Põldaru 866f1b212d [l10n] Updated Estonian translation 2010-09-19 11:49:36 +03:00
Adrian Guniš ab0bbb8ed5 Updated Czech translation 2010-09-18 20:50:11 +02:00
Piotr Drąg d0e315c6c8 Updated Polish translation 2010-09-16 15:57:58 +02:00
Mario Blättermann 42a7597df4 [i18n] Updated German translation 2010-09-16 12:48:43 +02:00
Gabor Kelemen 8a62da95ad Updated Hungarian translation 2010-09-14 02:25:35 +02:00
Milo Casagrande eb5b4cf8d6 [l10n] Updated Italian translation 2010-09-13 22:40:30 +02:00
Carlos José Pereira 5fa69f0aeb Updated Brazilian Portuguese translation 2010-09-13 17:21:40 -03:00
Markus Elfring c1e72d04ca Bug #622598: Complete quoting for macro parameters
Some square brackets were added to be more explicit where macro expansion
will not be required.
http://autogen.sourceforge.net/acquoting.html
http://www.gnu.org/software/autoconf/manual/m4/Quoting-Arguments.html

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2010-09-11 16:57:59 -06:00
Curtis Gedak a30f991ca5 Fix size reduced by 1 MiB when created after cylinder aligned partition
Prior to this enhancement creating a new partition aligned to MiB
after a partition aligned to cylinder would result in the creation of
a partition that was 1 MiB smaller in size than requested.  In the
case of a 1 MiB new partition, a warning message would be displayed
indicating that "A partition cannot have a length of 0 sectors".

This problem is avoided by applying similar logic as was used to
address the following bug:
Bug #626946 - Destination partition smaller than source partition
2010-09-09 13:18:02 -06:00
Curtis Gedak b77a5e229d Fix paste destination partition smaller than source (#626946)
Prior to this enhancement when copying and pasting a partition
after a cylinder aligned partition, the destination partition
would become smaller than the source partition if align to MiB
was selected.

Closes bug #626946 - Destination partition smaller than source
                     partition.
2010-09-09 13:18:01 -06:00
Curtis Gedak c17df56af0 Ensure default partition alignment is mebibyte 2010-09-09 13:18:01 -06:00
Bruno Brouard 4d4096617e Updated French translation 2010-09-08 23:01:57 +02:00
Curtis Gedak 9d4ae28759 Fix numerical mismatch when graphically moving logical partition (#628554) 2010-09-07 17:01:08 -06:00
Yaron Shahrabani e172ebbb2e Updated Hebrew translation. 2010-09-06 11:50:06 +03:00
Daniel Nylander 69776ed0e8 Updated Swedish translation 2010-09-05 23:13:48 +02:00
Jorge González 53401a5d9c Updated Spanish translation 2010-09-04 09:41:05 +02:00
Matej Urbančič 2aa72c1280 Updated Slovenian translation 2010-09-03 18:34:36 +02:00
Curtis Gedak aa14b25f1b Warn partition move queued that might break boot process (#627199) 2010-09-01 13:56:29 -06:00
Takayuki KUSANO 27d818bbf3 Updated Japanese translation. 2010-08-29 00:08:39 +09:00
Curtis Gedak cf68fc0704 Enable to work with new dmraid and parted without dmraid support
Newer versions (dmraid-1.0.0-rc16?) of dmraid default to always
creating partition names by inserting the letter 'p' between the
device name and the partition number.  Since this is not
consistent with older versions of dmraid, add extra logic to
ensure that newer versions of dmraid do not insert this extra
letter 'p'.

Rename method get_udev_name to get_udev_dm_name and enhance to
retrieve the property DM_NAME.

Handle situation where parted, and hence libparted, has been
configured with --disable-device-mapper.  In this situation on
some distros the device name could be /dev/dm-0.  This results in
invalid partition names such as /dev/dm-0p1.  Add logic to decode
the actual /dev/mapper name.
2010-08-25 10:33:02 -06:00
Curtis Gedak 545a8583aa Minor cosmetic formatting change 2010-08-25 09:36:13 -06:00
Curtis Gedak c55a8de305 Remove dependency on kpartx for fake RAID support
With this patch the commands required to support motherboard BIOS
RAID, also known as fake RAID, are dmraid and dmsetup.

If the kpartx command is available, it will be used to maintain
device entries that follow the naming convention used by kpartx.

Closes Ubuntu launchpad bug 554582 - GParted does not list dmraid
devices
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/554582
2010-08-17 10:36:00 -06:00
Curtis Gedak 81986c0990 Ensure partition path name is compatible with dmraid (#622217)
This patch along with a few preceding patches address the
following bug reports:

Closes bug #622217 - gparted live 0.6.0-1 incompatibility with
AMD RAID (SB750 southbridge)

Closes Ubuntu launchpad bug 600729 - Gparted not usable on
fakeraid arrays
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/600729
2010-08-17 10:36:00 -06:00
Curtis Gedak 73e7f85a2f Create new method make_path_dmraid_compatible
This method will be used to ensure that the partition path
matches the name that would be created by the dmraid command.
2010-08-17 10:36:00 -06:00
Curtis Gedak cf264a05bb Replace function ped_partition_get_path with method get_partition_path 2010-08-17 10:36:00 -06:00
Curtis Gedak 9bd8b14871 Create new method get_partition_path
This method will be used as an entry point to the libparted
function ped_partition_get_path
2010-08-17 10:36:00 -06:00
Curtis Gedak 53c49349f7 Simplify logic in set_device_partitions method
Also clean up some white space
2010-08-17 10:36:00 -06:00
Daniel Nylander 4349e7cd5d Updated Swedish translation 2010-08-16 13:39:07 +02:00