summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version 3.0v3.0Jim Meyering2011-05-301-1/+1
| | | | * NEWS: Record release date.
* maint: placate coverity: don't ignore some return valuesJim Meyering2011-05-301-5/+15
| | | | | | * libparted/cs/constraint.c: Include <assert.h>. (ped_constraint_exact): Don't ignore ped_alignment_init's return value or that from ped_geometry_init.
* loop: avoid NULL dereference upon failureJim Meyering2011-05-301-0/+2
| | | | | * libparted/labels/loop.c (loop_partition_duplicate): Don't dereference NULL upon failure.
* shared library version: increment major: 1.0.0Jim Meyering2011-05-301-2/+2
| | | | | * libparted/Makefile.am (CURRENT, REVISION): Update from 0.2.0 to 1.0.0, due to removed interfaces.
* build: update gnulib submodule to latestJim Meyering2011-05-301-0/+0
|
* doc: update NEWSJim Meyering2011-05-271-0/+34
| | | | | * NEWS (Changes in behavior): Describe the change. (Bug fixes): Mention the leak fixes.
* doc: reflect removal of FS-related commandsJim Meyering2011-05-272-250/+34
| | | | | | | * README (WARNING): Say that all FS-manipulation code is now gone. * doc/parted.texi (Command explanations): Remove descriptions of and any examples or references to the following commands: check, cp, mkfs, mkpartfs, move, resize.
* build: remove configure-time options: --disable-fs, --enable-WerrorJim Meyering2011-05-273-38/+0
| | | | | | | | | * configure.ac: Remove support for --enable-fs and --disable-fs. Remove support for --enable-Werror and --disable-Werror. * README: Remove paragraph about --disable-fs and --enable-discovery-only. * libparted/libparted.c: Now that --disable-fs is gone (i.e., ENABLE_FS would be always 1), remove its #ifdefs.
* tests: make t0220 more useful when it failsJim Meyering2011-05-271-7/+4
|
* maint: update po/POTFILES.inJim Meyering2011-05-271-30/+0
| | | | * po/POTFILES.in: Remove file names, to reflect file deletions.
* doc: remove FS-related documentation and other stale bitsJim Meyering2011-05-271-96/+9
| | | | | * doc/parted.texi: Remove FS-related documentation and other stale bits.
* linux_swap: remove all-but-probe FS-related codeJim Meyering2011-05-271-275/+1
|
* xfs: remove all-but-probe FS-related codeJim Meyering2011-05-272-11/+1
|
* jfs: remove all-but-probe FS-related codeJim Meyering2011-05-272-11/+1
|
* ufs: remove all-but-probe FS-related codeJim Meyering2011-05-272-15/+1
|
* reiserfs: remove all-but-probe FS-related codeJim Meyering2011-05-274-930/+4
|
* hfs: remove all-but-probe FS-related codeJim Meyering2011-05-2718-5063/+2
|
* ntfs: remove all-but-probe FS-related codeJim Meyering2011-05-272-11/+1
|
* amiga: build with warning and error optionsJim Meyering2011-05-271-0/+1
| | | | | * libparted/fs/amiga/Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS) and $(WERROR_CFLAGS).
* ext2: remove all-but-probe FS-related codeJim Meyering2011-05-2715-4867/+5
|
* fat: remove all-but-probe FS-related codeJim Meyering2011-05-2720-4441/+33
|
* remove all top-level FS-op code and the clearfat programJim Meyering2011-05-2722-1593/+1
|
* UI: remove all file-system-aware sub-commandsJim Meyering2011-05-272-700/+1
| | | | | | | | | | | | Note that we are removing the resize command, even though parted appears to be the only free tool that provides the ability to resize FAT16 and FAT32 file systems. * parted/parted.c (do_mkfs, do_cp, do_mkpartfs): Remove functions. (do_move, do_check, do_resize): Likewise. (_init_commands): Remove each command-definition clause. * parted/parted.c (_partition_warn_loss): Remove now-unused function. * include/parted/filesys.h: Remove declarations of now-removed FS-munging functions
* tests: t1100: show that adding a partition on a busy device succeedsJim Meyering2011-05-271-1/+7
| | | | | * tests/t1100-busy-label.sh: Demonstrate that adding a partition succeeds, even when another on the same device is mounted (active).
* amiga: avoid NULL-deref-on-OOM and an error-path leakJim Meyering2011-05-271-4/+7
| | | | | * libparted/labels/rdb.c (amiga_read): Don't dereference NULL on OOM. Don't leak a constraint when failing to add a partition.
* mac: avoid NULL-deref-on-OOM and an error-path leakJim Meyering2011-05-271-3/+6
| | | | | * libparted/labels/mac.c (mac_read): Don't dereference NULL on OOM. Don't leak a constraint when failing to add a partition.
* sun: avoid NULL-deref-on-OOM and an error-path leakJim Meyering2011-05-271-3/+6
| | | | | * libparted/labels/sun.c (sun_read): Don't dereference NULL on OOM. Don't leak a constraint when failing to add a partition.
* UI: avoid leak when interactive sector selection matches defaultJim Meyering2011-05-271-0/+1
| | | | * parted/ui.c (command_line_get_fs_type): Don't leak an input "word".
* UI: plug a leakJim Meyering2011-05-271-0/+1
| | | | | * parted/ui.c (command_line_get_fs_type): Don't leak an FS type name string.
* bsd: avoid NULL-deref-on-OOM and an error-path leakJim Meyering2011-05-271-3/+6
| | | | | * libparted/labels/bsd.c (bsd_read): Don't dereference NULL on OOM. Don't leak a constraint when failing to add a partition.
* linux: don't leak a FILE* upon /proc read failureJim Meyering2011-05-271-3/+6
| | | | | * libparted/arch/linux.c (_probe_proc_partitions): Call fclose upon failure.
* linux: plug a file descriptor leakJim Meyering2011-05-271-1/+3
| | | | | * libparted/arch/linux.c (read_device_sysfs_file): Don't leak a file descriptor.
* tests: t1100-busy-label: don't use mkpartfs; rework to use scsi_debugJim Meyering2011-05-271-7/+7
| | | | | * tests/t1100-busy-label.sh: Remove one last use of mkpartfs. Use scsi_debug rather than requiring an explicitly-provided device.
* maint: correct coverity-reported "suspicious sizeof"Jim Meyering2011-05-271-1/+1
| | | | | * parted/table.c (table_add_row): Use sizeof(*VAR), rather than erroneous sizeof(explicit_type) that just happened to be ok.
* maint: remove unreachable codeJim Meyering2011-05-272-2/+0
| | | | | * libparted/labels/sun.c (sun_partition_new): Remove unreachable stmt. * libparted/labels/pc98.c (pc98_partition_new): Likewise.
* build: update gnulib submodule to latestJim Meyering2011-05-271-0/+0
|
* post-release administriviaJim Meyering2011-05-183-2/+5
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* version 2.4v2.4Jim Meyering2011-05-181-1/+1
| | | | * NEWS: Record release date.
* shared library version: increment REVISIONJim Meyering2011-05-182-2/+6
| | | | | | * libparted/Makefile.am (REVISION): Increment, since there have been changes to the library, but no interface addition or removal. * README-release: Mention the shared-library version update procedure.
* build: update gnulib submodule to latestJim Meyering2011-05-181-0/+0
|
* tests: avoid nasty FP-causing race conditionJim Meyering2011-05-181-0/+12
| | | | | | | | | | | | * tests/t9040-many-partitions.sh: Remove all partitions before exiting -- otherwise, the rmmod-prompted removal of those many partitions would continue long after rmmod completion and the release of the scsi_debug lock, and thus partition-device removals provoked by this test would cause failure in the subsequent test, e.g., when the devices for partitions 14,15,16 have just been successfully created (verified that they exist), yet the next step -- to create a file system on one of them -- fails or is erroneously skipped because the device has been removed asynchronously.
* tests: add double quotes around another use of $VERBOSEJim Meyering2011-05-181-1/+1
| | | | * tests/t-local.sh (scsi_debug_setup_): Quote another $VERBOSE.
* build: list bc as a build-requirementJim Meyering2011-05-181-0/+1
| | | | | * bootstrap.conf (buildreq): Also require "bc", since it's used in some of 'make check's tests.
* tests: remove tests that are too FS-centricJim Meyering2011-05-173-193/+0
| | | | | | * tests/t2100-mkswap.sh: Likewise. * tests/t3000-resize-fs.sh: Remove file, now that all FS-ops are gone. * tests/Makefile.am (TESTS): Remove them here, too.
* linux: fix diagnostic about operating on very small file or deviceJim Meyering2011-05-171-1/+1
| | | | | * libparted/arch/linux.c (init_file): Correct diagnostic. Parted would claim that a small-but-non-empty file has zero length.
* bfs: remove unused filesJim Meyering2011-05-173-324/+0
|
* tests: add double quotes around a use of $VERBOSEJim Meyering2011-05-171-1/+1
| | | | * tests/t-local.sh (scsi_debug_cleanup_): Add missing double quotes.
* tests: avoid new, spurious test failureJim Meyering2011-05-121-1/+1
| | | | | | | * tests/t9050-partition-table-types.sh: Use a "device size" that is large enough to accommodate 1KiB and 4KiB sectors. The original size, 3MiB was too small for a dvh partition with PARTED_SECTOR_SIZE=1024. Increase it to 30MiB.
* tests: adapt t1101-busy-partition not to use mkpartfsJim Meyering2011-05-121-2/+4
| | | | * tests/t1101-busy-partition.sh: Use mkfs.vfat instead.
* tests: write all pairs of partition table typesJim Meyering2011-05-112-1/+53
| | | | | * tests/t9050-partition-table-types.sh: New file. * tests/Makefile.am (TESTS): Add it.