[Parted-commits] GNU Parted Official Repository: Changes to 'refs/tags/v1.8.8.1'

David Cantrell dcantrell-guest at alioth.debian.org
Mon Dec 17 21:45:43 UTC 2007


Tag 'v1.8.8.1' created by David Cantrell <dcantrell at redhat.com> at 2007-12-17 21:37 +0000

Parted 1.8.8.1

Create a signed tag for new versioning system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBHZuws5hsjjIy1VkkRAjPYAKCoQujZZ1sgZWIKCaDH2tX+vLF78wCgv7zX
3WWy2NtO1eNJn/kajMi4J0o=
=QWxe
-----END PGP SIGNATURE-----

Changes since the dawn of time:
Anant (1):
      Fix loop in print_all, thanks to Debarshi Ray for the patch.

Anant Narayanan (9):
      Fix ChangeLog
      Introduce the -list command-line switch, patch by Debarshi Ray
      Support machine parseable output.
      Make parted ignore '-i' option instead of failing
      Loosen requirement for the 'check' library.
      Dump readline history on crash
      Fix memleaks. Patch thanks to Mike Hommey
      Updated Doxyfile
      Test commit

Benno Schulenberg (9):
      Translate the copyright message, and hard wrap it
      Tweak some help messages: change third person to imperative for consistency, add single quotes and remove letters for clarity
      Make the wording of warning somewhat clearer.
      Added 'rescue', 'unit', and 'version' to the man page, plus some small edits.
      Handle options independent of their order.
      partprobe: new option: --dry-run, synonym for now-deprecated --no-update; improve its description
      vtoc label: Move formatting out of translatable strings.
      fdasd label: Move formatting out of translatable strings.
      Set partprobe's text domain.

David Cantrell (104):
      * labels/mac.c (mac_partition_new): memset() inits everything to
      Updated for version 1.8.0rc1.
      Removed from version control.
      i18n updates for parted-1.8.0.
      Removed from version control.
      i18n updates for parted-1.8.0.
      Removed *.h files from the Makefile.
      i18n updates for parted-1.8.0.
      Added a script to clean the tree after running 'make distclean'.  Gets it back to the checked-out state from svn.
      Removed the extra double quote at the end of line 6 in partprobe.8.pt_BR.po.  Other updates for i18n.
      Add vtoc.h and fdasd.h to the list.
      Tabs for the updatepo target.
      * doc/po4a.mk: Removed fake* stuff. Fixed all-local target so you don't
      Updated for parted-1.8.0rc1.
      These (upx and statifier) are not called from anywhere.
      Fix execution of autogen.sh and configure.
      * scripts/release/tarball_upload.sh: Support the -a (or --alpha) switch
      * scripts/release/tarball_upload.sh: Since v1.0 directive files will
      * arch/linux.c: Change __GNU_SOURCE define to _GNU_SOURCE (only one
      Updated i18n files.
      Forgot changelog notice.
      * parted.c (do_print): Define transport type list and display disk
      * disk.c (ped_unregister_disk_type): Handle instances where disk_types
      * cs/geom.c (ped_geometry_read): Do not throw PED_EXCEPTION_ERROR here
      Added /dev/mapper device support (patch from Peter Jones).
      Updates for 1.8.0rc2 release.
      Bump version.
      i18n updates.
      Conditionalize the device-mapper stuff.
      Set directive file version to 1.1.
      Need the filename: directive as well.
      Line length fixes.
      * arch/linux.c: Go to error_free_arch_specific rather than
      * parted.c (do_print): Add device-mapper type to the transport type
      * device.c (canonicalize_file_name): calloc should use sizeof(char)
      2048 -> 1024
      * labels/mac.c (_rawpart_is_boot): Check for Apple_Boot type.
      * arch/linux.c: Define PROC_DEVICES_BUFSIZ for reading /proc/devices,
      Updates for parted-1.8.0rc3
      Final changes for parted-1.8.0
      Generate SHA-1 digests of the archive files and upload those along with the actual archive files.
      Rename all old ChangeLog files to ChangeLog.0.  Added code to the tarball_upload.sh script to generate a toplevel ChangeLog from the git changelog.
      Added the --enable-selinux switch to the configure script.  If set, it adds -lselinux and -lsepol to the list of libraries to link libparted with.  Bumped the version number to 1.9.9 since this is the edge branch.
      Pass git changelog through 'fold -s' to wrap long lines.
      Generate ChangeLog before running the autogen tools because we need a file called 'ChangeLog' to exist when running those tools.
      Remove ChangeLog, doc/mdate-sh, and doc/texinfo.tex since they are unmanaged files and get generated automatically at release time.
      Fix the upload script to correctly reference the sig files.
      Merge branches 'master' and 'master' of git+ssh://dcantrell-guest@git.debian.org/git/parted/parted
      Updated the AUTHORS file.
      Add the ped_device_cache_remove() function to remove a device from the cache.
      Fix a segfault in ped_assert() where the wrong pointer is freed in the backtrace.
      Only call _disk_warn_loss(disk) in do_mklabel() if disk is not NULL.  Fixes a segfault when initializing new volumes.
      Add ped_device_cache_remove() prototype.
      Updated i18n information.
      Patched parted.8 man page to show partition names apply to GPT disk labels
      Preserve starting sector for primary NTFS 3.1 partitions (Windows Vista)
      start_pos is a PedSector, not a PedGeometry.
      Patch from Matthew Garrett <mjg59 at srcf.ucam.org> to add HFS+ resize support.
      Ignore more files.
      Modernize the spec file template.
      Move static variable flagging little endian or not to journal.c.  We don't want static variables in general, but if they must exist, put them in a C file, not a header.
      Updated the release script to work with the new source layout.
      More spec file template cleanups.
      Install the libparted.pc file, not the libparted.pc.in file.
      Remove GNU make-specific things from po4a.mk.
      Include vtoc.h for the format1_label_t typedef.
      Remove some unused variables, check the return values from fgets() and asprintf(), and remove the unused _dm_remove_map() function.
      Check for tgetent() in libtinfo as well as ncurses, curses, termcap, and termlib.
      Fix for compile problems with gcc-4.1.2 as indicated here:
      Sleep for one second after uploading a file to ftp-upload.gnu.org.  Seems transactions need to be spaced out a bit otherwise the server will reject files.
      Remove the COMPILE_FOR_S390 flag-setting stuff.  It wasn't correct anyway.  Take a kernel-style approach and check uname -m to see if we are on s390.  If so, we build for zSeries.  Otherwise we do not.
      Conditionalize the System Z stuff correctly.  We get headers installed on non-System Z platforms, but the code only compiles on that platform.
      Set version to 1.8.3 for upcoming release.
      More changes to set the version number to 1.8.3.
      libreadline is a problematic library. Autoconf adds a block to the generated configure script that checks to see if we should be passing the --as-needed flag to ld(1). There are portability reasons this code exists (best I can figure), but it presents a problem when we scan for libreadline.
      Reverted my patch to configure.ac to remove -Wl,--as-needed from LDFLAGS when checking for libreadline.
      Remove unused label.
      Do not translate partition names in 'parted print' command. This causes problems for non-Latin-based character sets. Also, we don't want to translate the partition name here as we are just showing what is in the disklabel, translating it distorts what the value is.
      Fix off-by-one bug in parted when displaying information about the disk label (the disk size, specifically).
      Fix primary partition cylinder alignment error for DOS disk labels.
      Patch from Jim Meyering <jim at meyering.net> to linux_write() to support logical
      Revert "Remove unused label."
      Whitespace cleanups.
      Whitespace cleanups.
      Whitespace cleanups.
      Whitespace cleanups.
      On the edge branch, labeled the version as 1.9.0 so we can mark it more correctly as the development tree.
      Use gnulib xmalloc() and xrealloc().
      Removed clean.sh script. Using git now, we don't need it anymore (git clean -d -x).
      Updated COPYING file to the GNU General Public License version 3.  Updated boilerplate GPL text to reference version 3 of the license.
      Updated GPL license boilerplate.
      Removed unused label (compiler warning).
      When reading the DASD disk label, look at the partition flags as well as what is on the actual partition using ped_file_system_probe().  This avoids flags being set for partitions when they shouldn't be.
      If we cannot create a new PedDisk for the device we're looking at, return NULL rather than the device path.
      Detect Xen virtual block devices and identify them as such.
      Add the PED_DEVICE_XVD device type for Xen virtual block devices.
      Probe for all device-mapper devices.
      History with undo and redo capabilities.
      Revert "History with undo and redo capabilities."
      Sanity check for dev, safety checks on diobuf.
      Add 'xvd' to the transports array in do_print
      Always define PED_DEVICE_DM
      Add KNOWN ISSUES section
      Add flags for BSD disklabels (needed for Linux on Alpha)

David Vazquez (1):
      Replace some malloc and strdup by xmalloc and xstrdup respectively

Debarshi Ray (42):
      Make mktable aliased to mklabel.
      Warn before mklabel and mkfs.
      Cleanup _partition_warn_busy, _disk_warn_busy, _partition_warn_loss and _disk_warn_loss.
      Implement 'print devices'.
      Zero sized device is shown as 0.00B and not -0.00kB.
      Alias 'print list' with 'print all'.
      Update AUTHORS.
      Update doc/C/parted.8 to document --list.
      Rectify segmentation fault caused by 9e05418de3477666b0709f5d1996149febd33100
      Synchronise manual page and --help documentation.
      Add stdint.h stdlib.h & string.h to include/parted/parted.h and remove them from other files.
      cb6ca73be06f360308e6a2fccb7142ed8175af29 continued.
      Synchronize the linux-swap (new version) header according to the Linux kernel sources.
      Enable support for swsusp partitions, and the ability to differentiate between old and new versions of linux-swap partitions. Changed the swap_init signature and removed extra ped_geometry_read from _swap*_open.
      Renaming PARTITION_EXT to PARTITION_DOS_EXT in MSDOS disk-label code, to maintain similarity with Linux v2.6.18.2
      Tidying up the formatting and comments in linux_swap.c.
      Cleaned up the formatting of AUTHORS.
      Fixed the copyright notices.
      Deprecating ped_[register|unregister]_disk_type in favour of ped_disk_type_[register|unregister].
      Fix the style of typedef, enum, struct and __attribute__ ((packed)).
      Cleaning up nested structs & unions.
      Introduced MAINTAINERCLEANFILES in Makefile.am for carrying out 'make maintainer-clean'.
      Fixing libparted/arch/gnu.c to remove build-time errors.
      Fixing indentation in parted/ui.c.
      Fixing indentation in parted/ui.c. Replaced TABs with spaces to ensure uniformity in all editors.
      Fixed parted/ui.c to incorporate signal handlers for systems lacking 'sigaction', 'SA_SIGINFO', and other constants in signal.h.
      Added libparted/tests/label to .gitignore.
      Defined a dummy '_dump_history' function in parted/ui.c when Readline is absent. Thanks to Jim Meyering for the suggestion.
      Re-arranging .gitignore in alphabetical order.
      Replaced [f]printf with fput[c|s] in libparted/fs/ext2/ext2_block_relocator.c.
      Replaced [f]printf with fput[c|s] globally.
      Merge branch 'master' of git+ssh://rishi-guest@git.debian.org/git/parted/parted
      Prevented DASD specific headers and sources from being compiled/installed on non-s390 systems; and conditionally included fdasd.h in linux.h for s390 systems.
      Fixed faulty information in README-hacking (Bison is not a maintainer tool for Parted), and Makefile.maint (every project has certain variations of it).
      Show the update /etc/fstab message only when there has been a change to the disk. The message is now shorter and more direct.
      Indentation fixes in libparted/tests/.
      [tests] Fix spacing around brackets and asterisks.
      [tests] New test for cloning of disk labels.
      [tests] New test for probing of disk labels.
      [tests] Separate and improved test for reading of disk labels.
      Preventing compilation of DASD code on GNU Hurd systems through the use of AC_COMPILE_IFELSE and AM_CONDITIONAL, instead of #ifdef.
      Removing unnecessary type-casts and eerie comments.

Flavio Leitner (3):
      Fix exception handling in mkpart and mkpartfs
      Fix block number used when checking for state
      Fix block state checking for realocated blocks

Jim Meyering (114):
      configure.ac: Add LOCALEDIR definition to CFLAGS only once.
      Compile warning-free with "gcc -Wall -Wshadow".
      Work with automake-1.10.
      * libparted/labels/fdasd.c (GETARG): Remove unused definition.
      Remove some #ifdefs
      Don't define _GNU_SOURCE manually.
      Make it so "make distcheck" passes.
      Use lighter-weight fputs and putchar in place of printf, when possible.
      * libparted/labels/dasd.c: Remove unused labels and declarations
      * libparted/labels/bsd.c (bsd_partition_new): Remove unused label.
      * libparted/labels/rdb.c (amiga_read): Remove decl of unused local(s).
      Avoid compiler warnings with gcc -Wall -Wshadow.
      Update to use gnulib, and newer autoconf, automake conventions.
      Begin adjusting Makefile.am files to use gnulib.
      Include <config.h>, not "../config.h".
      parted: Detect/report stdout write errors.
      * libparted/libparted.c: Include "configmake.h" for LOCALEDIR defn.
      Include <config.h> from every .c file:
      * libparted/tests/label.c: Fail if _create_disk returns NULL.
      mv parted.m4 into new dir, m4/
      Remove now-generated files.
      Avoid a gcc format warning:
      Add a bunch of .gitignore files.
      partprobe: Detect/report any error when writing to stdout.
      * bootstrap: new file.
      Arrange for "make distcheck" to be stricter.
      Add -I$(top_srcdir)/lib, required for new use of close_stdout.
      Normalize the way we handle a generated-and-distributed file, parted.spec.
      Add infrastructure for more rigorous "make distcheck" rules.
      Enable the po-check rule.
      Use $(VAR), rather than obsolescent @VAR@ automake notation.
      Avoid recursive "LIBS = ... $(LIBS)" assignments.
      Make "make distcheck" work better.
      Avoid a libtool warning:
      Begin making libparted/labels/*.c const-correct.
      * include/parted/disk.h (struct _PedDiskOps) [write]: Change
      Make clearfat accept --help and --version options.
      Make partprobe accept --help and --version options.
      * po/POTFILES.in: Add partprobe/partprobe.c, now that it contains
      * libparted/labels/dos.c: Complete constification of this file.
      Hide two unnecessarily-"extern" functions.
      Undo part of the dos.c constification.
      Use <config.h> consistently, not "config.h".
      Add "const" to parameters in these public interfaces.
      tests/label: Don't dereference NULL if open fails.
      * configure.ac: Fix a typo: s/have_scintilla/have_check/
      Declare some static arrays to be "const".
      libparted/unit.c: constify interfaces
      * libparted/tests/label.c: Plug a trivial leak.
      Don't use deprecated mktemp, to avoid linker warning
      linux.c: Avoid memory overrun.  Handle 2048-byte logical sectors.
      * parted/ui.c (non_interactive_mode): Plug a tiny leak.
      Use PED_SECTOR_SIZE_DEFAULT not 512
      aix.c: Avoid memory overrun.  Don't assume logical sector size <= 512B
      hfs.c: Detect write failure.
      po/POTFILES.in: Add lib/getopt.c
      Avoid warning from -Wformat-security; tweak error diagnostic.
      Temporarily disable the clone-dvh-label test.
      Add integration tests, then adjust code so that they pass.
      Avoid "make distcheck" failure, with newer system headers.
      Suppress "you are not superuser..." warning in script mode.
      Make ---pretend-input-tty inhibit output word-wrap.
      Merge branch 'include-limits-h-for-CHAR_MAX'
      Merge branch 'inhibit-word-wrap'
      Rewrite integration tests to use a new framework (git's).
      No longer require "srcdir=." when running a test manually.
      When labeling a disk in --script mode, fail if it is in use.
      * tests/t1100-busy-label.sh: Quote uses of $dev, in case
      Avoid spurious test failures due to buggy ncurses-5.6.
      mkpartfs ext2 2 10 would erroneously report "file system too small"
      * tests/Makefile.am (init.sh): Make this generated file read-only.
      Make all tests get their initialization from the same place.
      Don't fail all tests when "." lacks O_DIRECT support.
      Fix typo in privs-required test setup.
      Diagnose "ext2 FS too small" rather than triggering an assertion.
      doc/parted.texi (Static binaries): Correct an invalid example.
      Remove a silly (and dangerous) function.
      Fix off-by-one error in previous change.
      Use xmalloc and xrealloc, rather than unchecked malloc and realloc.
      Diagnose invalid command arguments.
      On IRC, xeos reported test failures in t0000 and t2000
      Move a test/utility function into test-lib.sh.
      Avoid a leak.
      Fix configure-with-nls vs. wchar.h/wcsdup problem differently.
      Fix "make distcheck" failure due to not finding usable partition
      Read an msdos partition table from a device with 2K sectors.
      Fix build failure (conflicting decl of strnlen) and clean up
      Correct a misleading diagnostic.
      Don't leak a partition table buffer.
      "mklabel bsd": don't read/write initialized memory, with DEBUG turned off
      Make "mklabel amiga" work also when DEBUG is not enabled.
      Turn off "DEBUG" in libparted/libparted.c, ...
      Avoid unnecessary writes in test scripts.
      Add a test to record the current EXT2 mkpartfs failure for some sizes.
      Fix inconsistent prompt for file system type.
      Fix two "make check"-as-root failures.
      Fix the mkfs final-block-group-too-short bug.
      README-hacking: Don't mention Gzip 1.2.4, now that 1.3.12 is out.
      Avoid mklabel test failure with very small file on Linux-2.6.8.
      Work around test failures caused by inadequate libreadline.
      Avoid test failure on Linux-2.6.8 due to too small underlying file.
      Don't include config.h from internal headers.
      Let "make distcheck" pass once again.
      Don't let the automatically-generated ChangeLog cause "make dist" failure.
      Flip the switch (expected-failure -> expected-success) in tests/t3100-
      Revert "Removed unused label (compiler warning)."
      Revert "If we cannot create a new PedDisk for the device we're looking at, return NULL rather than the device path."
      Avoid test failure with dash's builtin printf.
      Don't try to avoid "free (x)" when x is NULL.
      Fix mkpart linux-swap bug: would use 0x83 rather than 0x82
      * libparted/tests/disk.c (START_TEST): Remove decl of unused local.
      * bootstrap: Update from Coreutils, adapting to changes in gnulib.
      Mention that we should be able to build with -fno-common.
      Perform ChangeLog-creation here, rather than in bootstrap,

Leslie P. Polzer (5):
      Updated translations.
      Updated URL of static parted in docs.
      Release script: cannot call "return" from top level;  replaced with "exit".
      Updated translations.
      added scripts/update-po

Mark Neyhart (1):
      Added information to message about ext2 incompatible features.

Matt Davis (1):
      Add a test for an ext2-resize failure.

Matthew Harris (1):
      Fix endianness bugs

Matthew S. Harris (1):
      More correct handling of the HeaderSize field in GPT labels

Michael Brennan (2):
      Fix a problem where a partial read would not be handled correctly;
      Fix syntax error and LIBS problem in configure.ac

Otavio Salvador (48):
      Changes done on darcs repository suitable for 1.8 release:
      Changes done on darcs repository suitable for 1.8 release:
      Changes done on darcs repository suitable for 1.8 release:
      Remove files that can be generated.
      Apply changes done on Darcs and suitable for release on 1.8 final:
      Rework backtrace support
      Remove useless semicolon from PED_ASSERT calls
      Remove useless 'return 0;' call
      Readd the 'return 0;' to please GCC
      parted/parted.c: Remove redeclaration of current_dev fixing a compilation error
      Avoid warning about user permissions when using --version
      Remove doc/mdate-sh and doc/texinfo.tex since they are included when we run autogen.sh
      Fix 'print' command help
      Don't enforce libselinux and libsepol linking when using device-mapper support
      libparted/arch/linux.c: initialize task point to please GCC
      Proper print when there're no extended partitions, but partition names (patch from Sven Luther)
      Add check unittest support and a initial test for a resizing bug.
      parted/parted.c: Remove useless line break
      Revert "Add check unittest support and a initial test for a resizing bug."
      libparted/disk.c: Standarize the way we walk throught the disk types overall the code
      Output a backtrace when catching SEGV_MAPERR or a general SIGSEGV signals.
      libparted/exception.c: Dynamically allow space of exception message.
      Add CHECK unittext library detection to Autoconf script
      If CHECK is installed on configure time, build our unittest framework
      Include a disk probing test
      parted/parted.c: Destroy all objects before return when called with --list or --all option.
      Create 'm4' directory when generating the building system
      Avoid segfault due a double free on reiserfs support (patch sent by Jakub Bogusz <qboosh at pld-linux.org>)
      [tests] Ensure that we're able to read the just created disk label
      [tests] Implements _implemented_disk_label and _create_disk_label on common.[hc]
      [tests] Small refactoring on test_create_label
      [tests] Add _test_exception_handler to fail every time an exception is raised
      [tests] Trivial coding style fixes around the tests code
      [tests] Simplify test_clone_label removing the label reading test
      [libparted] dvh label fixes
      Revert "[libparted] dvh label fixes"
      [parted] Fix script mode support on mkfs commandline command
      parted/table.c: Fix a warning when compiling with translation support
      Fix bootstrap script to support the new translationproject html files
      Really duplicate the disk instead of readd every partition
      parted/device.h needs to include parted/constraint.h since it uses PedConstraint
      libparted/cs/natmath.c: remove inline since it's not supported by GNU99 standard
      parted/natmath.h needs parted/device.h since it uses PedSector
      parted/constraint.h needs parted/geom.h since it uses PedGeometry
      parted/filesys.h doesn't use stdio.h, parted/disk.h and parted/exception.h
      parted/device.h: move includes to after type definition to avoids dependency
      parted/geom.h: move includes to after type definition to avoids dependency
      Move PedArchitecture and ped_set_architecture to private

Riccardo Setti (1):
      Added a pkgconfig file for libparted, adjusted Makefile.am and configure.ac for reflect the canges

solsTiCe d'Hiver (2):
      remove any trace of PED_PARTITION_PRIMARY which was deprecated a long time ago to use PED_PARTITION_NORMAL
      change the variable named start to offset to be consistent with the doc




More information about the Parted-commits mailing list