OSDN Git Service

android-x86/external-parted.git
17 years agoparted/parted.c: Remove redeclaration of current_dev fixing a compilation error
Otavio Salvador [Wed, 22 Nov 2006 20:22:39 +0000 (18:22 -0200)]
parted/parted.c: Remove redeclaration of current_dev fixing a compilation error

17 years agoReadd the 'return 0;' to please GCC
Otavio Salvador [Wed, 22 Nov 2006 17:40:44 +0000 (15:40 -0200)]
Readd the 'return 0;' to please GCC

The commit d000de8f062ce070d5310f164ebf4f5ed26fcad0 included a
compilation warning that makes sense when Parted is built without
debugging. To solve the warning and ensure that when running without
debugging we return a sinsible value I've reverted
d000de8f062ce070d5310f164ebf4f5ed26fcad0 change and added a nice
comment to avoid misunderstandings again.

17 years agoFix loop in print_all, thanks to Debarshi Ray for the patch.
Anant [Wed, 22 Nov 2006 19:42:04 +0000 (01:12 +0530)]
Fix loop in print_all, thanks to Debarshi Ray for the patch.

17 years agoRemove useless 'return 0;' call
Otavio Salvador [Mon, 20 Nov 2006 23:45:13 +0000 (21:45 -0200)]
Remove useless 'return 0;' call

Since PED_ASSERT will always be run, the return 0 is useless, hence
removed.

17 years agoRemove useless semicolon from PED_ASSERT calls
Otavio Salvador [Mon, 20 Nov 2006 23:44:13 +0000 (21:44 -0200)]
Remove useless semicolon from PED_ASSERT calls

17 years agoGenerate SHA-1 digests of the archive files and upload those along with the actual...
David Cantrell [Mon, 20 Nov 2006 17:34:49 +0000 (12:34 -0500)]
Generate SHA-1 digests of the archive files and upload those along with the actual archive files.

17 years agoRework backtrace support
Otavio Salvador [Mon, 20 Nov 2006 20:16:12 +0000 (18:16 -0200)]
Rework backtrace support

While doing a deeply check about the backtrace support I found that
-rdynamic is useless on CFLAGS and my previous change was wrong since
it wasn't avoiding -rdynamic on LFLAGS if the running system missed
the execinfo.h support. That would probably cause a build error on
some systems.

17 years agoFinal changes for parted-1.8.0
David Cantrell [Fri, 17 Nov 2006 15:42:05 +0000 (15:42 +0000)]
Final changes for parted-1.8.0

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@896 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoApply changes done on Darcs and suitable for release on 1.8 final:
Otavio Salvador [Sat, 11 Nov 2006 20:30:57 +0000 (20:30 +0000)]
Apply changes done on Darcs and suitable for release on 1.8 final:

Sat Nov 11 18:09:17 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Enable backtrace just if it's has support on libc.

Sat Nov 11 17:41:12 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Add -rdynamic to LDFLAGS.

Sat Nov 11 17:40:19 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Add -rdynamic to CFLAGS

Sat Nov 11 17:38:11 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Print backtrace stack when throwing an exception

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@895 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoRemove files that can be generated.
Otavio Salvador [Sat, 11 Nov 2006 17:23:46 +0000 (17:23 +0000)]
Remove files that can be generated.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@894 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoChanges done on darcs repository suitable for 1.8 release:
Otavio Salvador [Sat, 11 Nov 2006 12:45:23 +0000 (12:45 +0000)]
Changes done on darcs repository suitable for 1.8 release:

Sat Nov 11 10:41:54 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Break lines bigger then 80 columns.

Sat Nov 11 02:02:26 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Fix autogen.sh script to call autopoint with -f

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@892 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoChanges done on darcs repository suitable for 1.8 release:
Otavio Salvador [Sat, 11 Nov 2006 01:32:58 +0000 (01:32 +0000)]
Changes done on darcs repository suitable for 1.8 release:

Fri Nov 10 23:19:15 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Code clean-up on registering and unregistering of disks

        * libparted/disk.c (ped_register_disk_type, ped_unregister_disk_type):
        Clean-up. Patch sent by Debarshi 'Rishi' Ray <debarshi.ray@gmail.com>.

Fri Nov 10 23:14:58 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Fix filesystem unregistering

        * libparted/filesys.c (ped_file_system_type_unregister): Handle
        instances where fs_types == NULL and the given fs_type is not in
        the list of registered file-system types. Some code clean-up.
        Patch sent by Debarshi 'Rishi' Ray <debarshi.ray@gmail.com>.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@891 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoChanges done on darcs repository suitable for 1.8 release:
Otavio Salvador [Fri, 10 Nov 2006 14:05:18 +0000 (14:05 +0000)]
Changes done on darcs repository suitable for 1.8 release:

Wed Nov  8 20:40:43 BRST 2006  Otavio Salvador <otavio@debian.org>
  * Merge libparted/ChangeLog conflict caused by Subversion syncing

Wed Nov  8 21:15:58 BRST 2006  Otavio Salvador <otavio@debian.org>
  * doc/C/parted.8: small documentation simplification

Wed Nov  8 20:09:03 BRST 2006  Otavio Salvador <otavio@debian.org>
  * libparted/fs/hfs/probe.c: Fix a segmentation fault when running without debug

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@890 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoUpdates for parted-1.8.0rc3
David Cantrell [Mon, 6 Nov 2006 00:34:57 +0000 (00:34 +0000)]
Updates for parted-1.8.0rc3

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@882 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * arch/linux.c: Define PROC_DEVICES_BUFSIZ for reading /proc/devices,
David Cantrell [Mon, 6 Nov 2006 00:01:01 +0000 (00:01 +0000)]
   * arch/linux.c: Define PROC_DEVICES_BUFSIZ for reading /proc/devices,
   set to 16384.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@881 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * labels/mac.c (_rawpart_is_boot): Check for Apple_Boot type.
David Cantrell [Thu, 2 Nov 2006 23:35:31 +0000 (23:35 +0000)]
   * labels/mac.c (_rawpart_is_boot): Check for Apple_Boot type.
   * labels/mac.c (_rawpart_analyse): Don't check the data_region_length
   against the part->geom.length for boot partitions.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@880 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago2048 -> 1024
David Cantrell [Tue, 31 Oct 2006 20:06:25 +0000 (20:06 +0000)]
2048 -> 1024

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@871 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * device.c (canonicalize_file_name): calloc should use sizeof(char)
David Cantrell [Tue, 31 Oct 2006 20:05:55 +0000 (20:05 +0000)]
    * device.c (canonicalize_file_name): calloc should use sizeof(char)
        instead of 1 (from Debarshi Ray).
        * arch/linux.c (readFD): Use a 1KB buffer to read /proc/devices
        rather than a 16KB buffer.  Init filesize to zero at declaration.
        Combine error and EOF check for read() loop.  Memory cleanups at
        function exit.  Use malloc() instead of calloc() (from Debarshi
        Ray).
        * arch/linux.c (_is_dm_major): Test expression and loop cleanups
        (from Debarshi Ray).

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@870 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * parted.c (do_print): Add device-mapper type to the transport type
David Cantrell [Tue, 31 Oct 2006 20:05:42 +0000 (20:05 +0000)]
    * parted.c (do_print): Add device-mapper type to the transport type
        list (from Debarshi Ray).

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@869 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * arch/linux.c: Go to error_free_arch_specific rather than
David Cantrell [Thu, 26 Oct 2006 20:23:20 +0000 (20:23 +0000)]
    * arch/linux.c: Go to error_free_arch_specific rather than
        error_free_dev for init_generic() failure on PED_DEVICE_UBD.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@866 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoLine length fixes.
David Cantrell [Thu, 26 Oct 2006 20:22:59 +0000 (20:22 +0000)]
Line length fixes.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@865 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoNeed the filename: directive as well.
David Cantrell [Wed, 11 Oct 2006 20:52:58 +0000 (20:52 +0000)]
Need the filename: directive as well.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@858 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoSet directive file version to 1.1.
David Cantrell [Wed, 11 Oct 2006 20:35:24 +0000 (20:35 +0000)]
Set directive file version to 1.1.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@855 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoConditionalize the device-mapper stuff.
David Cantrell [Wed, 11 Oct 2006 19:55:58 +0000 (19:55 +0000)]
Conditionalize the device-mapper stuff.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@852 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoi18n updates.
David Cantrell [Wed, 11 Oct 2006 19:48:29 +0000 (19:48 +0000)]
i18n updates.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@850 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoBump version.
David Cantrell [Wed, 11 Oct 2006 19:46:07 +0000 (19:46 +0000)]
Bump version.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@849 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoUpdates for 1.8.0rc2 release.
David Cantrell [Wed, 11 Oct 2006 19:45:52 +0000 (19:45 +0000)]
Updates for 1.8.0rc2 release.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@848 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoAdded /dev/mapper device support (patch from Peter Jones).
David Cantrell [Wed, 11 Oct 2006 19:42:08 +0000 (19:42 +0000)]
Added /dev/mapper device support (patch from Peter Jones).

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@847 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * cs/geom.c (ped_geometry_read): Do not throw PED_EXCEPTION_ERROR here
David Cantrell [Mon, 9 Oct 2006 18:33:48 +0000 (18:33 +0000)]
   * cs/geom.c (ped_geometry_read): Do not throw PED_EXCEPTION_ERROR here
   if accessing sectors outside of partition boundary. Returning false
   causes ped_geometry_check() to shift correctly anyway.  This occurs
   on current Mac disklabels, among other systems.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@845 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * disk.c (ped_unregister_disk_type): Handle instances where disk_types
David Cantrell [Mon, 9 Oct 2006 18:29:22 +0000 (18:29 +0000)]
   * disk.c (ped_unregister_disk_type): Handle instances where disk_types
   == NULL and the given type is not in the list of registered disk types
   (from Debarshi Ray).

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@844 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * parted.c (do_print): Define transport type list and display disk
David Cantrell [Mon, 9 Oct 2006 18:25:06 +0000 (18:25 +0000)]
   * parted.c (do_print): Define transport type list and display disk
       model type and transport type (from Debarshi Ray).

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@843 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoForgot changelog notice.
David Cantrell [Mon, 9 Oct 2006 18:03:52 +0000 (18:03 +0000)]
Forgot changelog notice.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@842 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoUpdated i18n files.
David Cantrell [Mon, 9 Oct 2006 18:03:22 +0000 (18:03 +0000)]
Updated i18n files.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@841 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * arch/linux.c: Change __GNU_SOURCE define to _GNU_SOURCE (only one
David Cantrell [Fri, 6 Oct 2006 19:36:14 +0000 (19:36 +0000)]
   * arch/linux.c: Change __GNU_SOURCE define to _GNU_SOURCE (only one
   underscore at the beginning). Fixes problem with certain systems
   not getting posix_memalign() defined during compilation.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@840 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * scripts/release/tarball_upload.sh: Since v1.0 directive files will
David Cantrell [Fri, 6 Oct 2006 18:15:41 +0000 (18:15 +0000)]
   * scripts/release/tarball_upload.sh: Since v1.0 directive files will
   no longer be supported by ftp-upload.gnu.org after 2006, modified the
   upload script to use the v1.1 format.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@839 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * scripts/release/tarball_upload.sh: Support the -a (or --alpha) switch
David Cantrell [Fri, 6 Oct 2006 17:51:42 +0000 (17:51 +0000)]
   * scripts/release/tarball_upload.sh: Support the -a (or --alpha) switch
   on the tarball upload script. This switch will upload the release to
   alpha.gnu.org rather than ftp.gnu.org.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@838 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoFix execution of autogen.sh and configure.
David Cantrell [Fri, 15 Sep 2006 19:14:17 +0000 (19:14 +0000)]
Fix execution of autogen.sh and configure.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@836 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoThese (upx and statifier) are not called from anywhere.
David Cantrell [Fri, 15 Sep 2006 19:10:08 +0000 (19:10 +0000)]
These (upx and statifier) are not called from anywhere.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@835 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoUpdated for parted-1.8.0rc1.
David Cantrell [Fri, 15 Sep 2006 19:06:53 +0000 (19:06 +0000)]
Updated for parted-1.8.0rc1.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@834 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * doc/po4a.mk: Removed fake* stuff. Fixed all-local target so you don't
David Cantrell [Fri, 15 Sep 2006 19:05:23 +0000 (19:05 +0000)]
   * doc/po4a.mk: Removed fake* stuff. Fixed all-local target so you don't
       end up in an infinite make loop trying to make '*'. Fixed the remove
       target as well.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@833 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoTabs for the updatepo target.
David Cantrell [Fri, 15 Sep 2006 18:54:55 +0000 (18:54 +0000)]
Tabs for the updatepo target.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@832 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoAdd vtoc.h and fdasd.h to the list.
David Cantrell [Fri, 15 Sep 2006 18:32:54 +0000 (18:32 +0000)]
Add vtoc.h and fdasd.h to the list.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@831 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoRemoved the extra double quote at the end of line 6 in partprobe.8.pt_BR.po. Other...
David Cantrell [Fri, 15 Sep 2006 18:27:43 +0000 (18:27 +0000)]
Removed the extra double quote at the end of line 6 in partprobe.8.pt_BR.po.  Other updates for i18n.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@830 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoAdded a script to clean the tree after running 'make distclean'. Gets it back to...
David Cantrell [Fri, 15 Sep 2006 18:16:19 +0000 (18:16 +0000)]
Added a script to clean the tree after running 'make distclean'.  Gets it back to the checked-out state from svn.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@829 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoi18n updates for parted-1.8.0.
David Cantrell [Fri, 15 Sep 2006 18:14:28 +0000 (18:14 +0000)]
i18n updates for parted-1.8.0.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@828 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoRemoved *.h files from the Makefile.
David Cantrell [Fri, 15 Sep 2006 18:14:06 +0000 (18:14 +0000)]
Removed *.h files from the Makefile.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@827 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoi18n updates for parted-1.8.0.
David Cantrell [Fri, 15 Sep 2006 18:13:07 +0000 (18:13 +0000)]
i18n updates for parted-1.8.0.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@826 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoRemoved from version control.
David Cantrell [Fri, 15 Sep 2006 18:12:35 +0000 (18:12 +0000)]
Removed from version control.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@825 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoi18n updates for parted-1.8.0.
David Cantrell [Fri, 15 Sep 2006 18:11:10 +0000 (18:11 +0000)]
i18n updates for parted-1.8.0.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@824 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoRemoved from version control.
David Cantrell [Fri, 15 Sep 2006 18:10:43 +0000 (18:10 +0000)]
Removed from version control.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@823 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoUpdated for version 1.8.0rc1.
David Cantrell [Fri, 15 Sep 2006 15:25:41 +0000 (15:25 +0000)]
Updated for version 1.8.0rc1.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@822 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years ago * labels/mac.c (mac_partition_new): memset() inits everything to
David Cantrell [Thu, 14 Sep 2006 20:55:58 +0000 (20:55 +0000)]
   * labels/mac.c (mac_partition_new): memset() inits everything to
       zero, no need to do it manually.

       * labels/mac.c (mac_partition_set_flag): Prevent LVM and RAID partition
       types from corrupting the partition table.

       * arch/linux.c (_blkpg_add_partition): Set linux_part.length based on
       whether or not this partition is PED_PARTITION_EXTENDED or not.

       * arch/linux.c (_disk_sync_part_table): Remove the check and continue
       for PED_PARTITION_EXTENDED types.

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@821 2d424fd7-7fe2-0310-af74-8bc65edeb173

17 years agoFix ChangeLog
Anant Narayanan [Thu, 14 Sep 2006 15:18:45 +0000 (15:18 +0000)]
Fix ChangeLog

git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@820 2d424fd7-7fe2-0310-af74-8bc65edeb173