Source

fdisk / src / common.h

Author Commit Message Labels Comments Date
Christian
fix partition_align_type
Christian Brunello
Merge with alignment patch from Milko Krachounov, fix all compiler warnings
pol...@gnu.org
finally fixed CHECK stuff in acinclude.m4; completed GPLv3 migration.
pol...@gnu.org
GPLv3, bunch o' changes (see NEWS)
Milko Krachounov
Make more Linux fdisk-like exception handler. Try to improve localisation issues. (fdisk@sv.gnu.org/fdisk--main--0--patch-55)
Milko Krachounov
Implement basic partition table verification. Fix choosing c/h/s (llint -> int). Fix the display of start and end sector in lfdisk. Remove some unneeded things. (fdisk@sv.gnu.org/fdisk--main--0--patch-52)
Milko Krachounov
Make fdisk support -s option from Linux fdisk and -t option from GNU cfdisk. Make fdisk support making of a filesystem. Add fdisk man and info page. (fdisk@sv.gnu.org/fdisk--main--0--patch-48)
Milko Krachounov
Implement nicer partition choosing for resize. Fix partition resizing, but we still have problems with moving and copying. Fix some other bugs. (fdisk@sv.gnu.org/fdisk--main--0--patch-45)
Milko Krachounov
Add bsd and sun system types. Make fdisk use them. Implement display of system types in columns. Implement experimental function for fixing the partition order in common.c (needed for lfdisk). Fix some bugs in cfdisk.c and common.c. (fdisk@sv.gnu.org/fdisk--main--0--patch-43)
Milko Krachounov
Make partition list get the system id and name from the partition table, when possible. Implement function to change the partition id. This is still a bit messy. Implement partition id list. Make partition type choosing like fdisk's - little changes in _construct_prompt, also implement fdisk_command_line_get_option and rework fdisk_command_line_get_part_type to do it fdisk style. (fdisk@sv.gnu.org/fdisk--main--0--patch-41)
Milko Krachounov
Oops... Fix a bug in get_part_type, now fdisk works again. Remove some things from fdisk, that already exist in common.h (still needs improvement). Make fdisk choose a suitable default partition position for a new partition (place_part_start and place_part_end from common.c). (fdisk@sv.gnu.org/fdisk--main--0--patch-40)
Milko Krachounov
We forgot to destroy temporary geometry in the new additions to get_sector from yesterday. Also, make functions to get pointer to PartPos structure as a parameter, instead of start and end. We sometimes need to give the start or end range as a parameter, and we want to reduce the number of function parameters. In this way we fix the bug where cfdisk tried to create partitions with start and end range with length of 1s, unless it was told to ask the user for exact values. (fdisk@sv.gnu.org/fdisk--main--0--patch-39)
Milko Krachounov
Update fdisk to use common functions. Update common functions to respect fdisk expected behaviour - the second time when we query the sector, the user can specify size with +. (fdisk@sv.gnu.org/fdisk--main--0--patch-38)
Milko Krachounov
Fix a bug in change type function. Remove amiga and pc98 checks, and remove a work-around for these partition label types from perform_resize. (fdisk@sv.gnu.org/fdisk--main--0--patch-37)
Milko Krachounov
Reorder. Rename do_ to perform_ for fdisk's sake (fdisk@sv.gnu.org/fdisk--main--0--patch-33)
Milko Krachounov
Move some functions that are not specific to cfdisk out of cfdisk.c. Fix some issues and implement some missing things. (fdisk@sv.gnu.org/fdisk--main--0--patch-32)
Milko Krachounov
Remove UICalls as function parameter. Fix string list display. (fdisk@sv.gnu.org/fdisk--main--0--patch-30)
Milko Krachounov
Almost finish the most general checks. (fdisk@sv.gnu.org/fdisk--main--0--patch-28)
Milko Krachounov
Reorder test things (fdisk@sv.gnu.org/fdisk--main--0--patch-24)
Milko Krachounov
Fix several bugs, improve exception handling, improve creating partitions and creating filesystems on partitions, add texinfo manual. (fdisk@sv.gnu.org/fdisk--main--0--patch-21)
Milko Krachounov
Move hacks to a seperate file. Implement partition info in cfdisk (need fixing). Try to introduce new bugs to cfdisk, hopefully unsuccessfully. (fdisk@sv.gnu.org/fdisk--main--0--patch-20)
Milko Krachounov
Implement some kind of a fix for a major bug possibly leading to ruining of partitions. I hope it works this way. Also implemented help display and updated exception handler display. (fdisk@sv.gnu.org/fdisk--main--0--patch-17)
Milko Krachounov
Implement changing system type and basic display of the "system type" on a msdos label. (fdisk@sv.gnu.org/fdisk--main--0--patch-14)
Milko Krachounov
We can now change partition flags! (fdisk@sv.gnu.org/fdisk--main--0--patch-13)
Milko Krachounov
Implement resizing and moving. Interface almost ready. (fdisk@sv.gnu.org/fdisk--main--0--patch-12)
Milko Krachounov
Commit of some small changes. Make copy work. (fdisk@sv.gnu.org/fdisk--main--0--patch-11)
Milko Krachounov
Implement menu scrolling. Begin implementing functionality. (fdisk@sv.gnu.org/fdisk--main--0--patch-10)
Milko Krachounov
Create string list choice. Fix some bugs. Change base.c/base.h to common.h/common.c. They might be considered finalized? (fdisk@sv.gnu.org/fdisk--main--0--patch-9)