summaryrefslogtreecommitdiffstats
path: root/iw/partition_dialog_gui.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'no-instdata'Chris Lumens2010-02-081-2/+2
|\
| * Move storage into the Anaconda class.Chris Lumens2010-02-041-2/+2
| |
* | Use 0 for a default max_req_size instead of None.David Lehman2010-02-051-1/+1
|/
* Add support for whole-disk formatting.David Lehman2009-12-091-3/+3
| | | | Whole-disk formats are recognized but cannot be edited in any way.
* Select drives in partition dialog, preserving settings. (#529931)David Lehman2009-11-021-2/+2
|
* Fix arrow key cycling in the Edit Partition dialog (#519641).Chris Lumens2009-10-271-4/+2
| | | | | | | For some reason, gtk cycles backwards through the radio buttons under our old UI arrangement, which was a table with one column and three rows, and then an HBox packed into one of the rows with two columns in it. Instead, just use a 2x3 table.
* Consider encryption when checking for duplicate mountpoint. (#526697)David Lehman2009-10-091-1/+4
|
* Make sure user-selected mountpoint is not already in use. (#524584)David Lehman2009-09-221-2/+16
|
* Handle Esc keypress in (some more) dialogs as Cancel - (#520110).Radek Vykydal2009-09-211-1/+1
| | | | Addition to patch 4fff93ac8e3b3187af5f50d17a065fafc610a5df.
* Fix handling of locked preexisting LUKS devices. (#502310)David Lehman2009-08-281-2/+7
| | | | | Fix lookup of LUKS device for partitions to not traceback on failure and allow reformat w/ encryption for all device types.
* Fix up handling of preexisting partitions.David Lehman2009-08-281-2/+0
| | | | | | Don't set exists or migrate flags in a widget callback -- they will be set when the user clicks "OK". Likewise, don't try to preserve exists or size attributes when user has chosen to reformat the device.
* Pick up mountpoint set for protected partitions. (#498591)David Lehman2009-08-281-0/+3
|
* Update code that checks for devices that contain install media.David Lehman2009-07-011-1/+1
|
* Create and use unique ids for Device instances. (#500808)David Lehman2009-05-281-1/+1
| | | | | | | The use of a unique id frees us from having to worry about parted renaming partitions whenever we remove one. It will also provide a mechanism with which we can more reliably track protected partitions, currently problematic for the same reason.
* Don't schedule a format resize if reformat scheduled. (#500991)David Lehman2009-05-151-1/+1
|
* Allow setting a mountpoint w/o formatting an encrypted partition. (#495417)David Lehman2009-04-241-5/+3
|
* Remove encryption from preexisting device if "Encrypt" is deactivated.David Lehman2009-04-241-1/+21
| | | | ...but only they are reformatting the device.
* Fix indentation of preexisting partition handling block.David Lehman2009-04-241-35/+35
|
* Fix preservation of format attrs for preexisting luks partitions.David Lehman2009-04-211-13/+12
| | | | | | | | When carrying over the format's attributes we do not consider the possiblility that the partition is encrypted, in which case we want to preserve the attributes of the LUKSDevice's - not the PartitionDevice's - format. This was causing a traceback whenever a user tried to edit a preexisting encrypted partition.
* Fix changing size of newly created partitionsHans de Goede2009-04-151-0/+1
| | | | | | Currently if you create a new partition from the UI and then later decide to change the size using edit partition, the size does not get changed. This patch fixes this.
* Fix format check box for pre-existing partitions (#491675)David Cantrell2009-04-021-21/+45
| | | | | | When performing a custom partitioning layout, make the Format check mark column work correctly depending on what you enter in the Edit Partition dialog box. Also register and cancel storage actions as necessary.
* Assign weights to partition requests when doing manual or kickstart installs.Chris Lumens2009-03-301-1/+9
|
* If the new size and old size are the same, treat as a no-op (#491496).Chris Lumens2009-03-231-3/+7
| | | | | There's no sense raising a traceback if the user just chose the same size as the filesystem already is.
* Fix New partition in UIRadek Vykydal2009-03-191-1/+2
| | | | | | Pass format to new partition (request) so that it doesn't have to create DeviceFormat instance which tracebacks with: http://fpaste.org/paste/6475
* Do not create a LUKSDevice if we do not have a way to map the device.David Lehman2009-03-161-4/+13
| | | | | | | | If the user elects not to provide a passphrase or key, do not create a LUKSDevice. We will just keep the backing device with its luks format. This saves us the trouble of checking whether we have the ability to set up each LUKSDevice since we only have LUKSDevice instances for those we can set up.
* Fix creation of fs options for preexisting encrypted devices.David Lehman2009-03-161-1/+1
| | | | | | | Previously we just passed in the device on which we would be creating the filesystem, but that doesn't make it easy to know if we initially plan to format the device or if the device is encrypted.
* Fix lots of buggy behavior in the partition dialog.David Lehman2009-03-161-12/+23
| | | | | | | | | | | | Re-editing new partitions was generating a new request instead of modifying the original request. We were also trying to pass in a format to the ActionDestroyFormat constructor, which is wrong -- they all take a device argument. Lastly, the conditional for showing the "new" filesystem options was wrong, which was causing both it and the "preexist" fs options to get added to the dialog on new request re-edits.
* Schedule format create for newly encrypted preexisting partition.David Lehman2009-03-131-0/+1
| | | | This is analogous to the earlier fix for lvs.
* Make it possible to create encrypted partitions interactively.David Lehman2009-03-031-28/+28
|
* Import LUKSDevice from storage.devices since we might use it.David Lehman2009-03-031-1/+1
|
* Lots of fixes to partition dialog.David Lehman2009-03-021-20/+24
| | | | | | | | | - Always return a list from run(). - Handle the case of removing encryption from a device. - Schedule format create actions to go with device create actions. - Save mountpoint setting even when not formatting/creating. - pass format instance to createFSTypeMenu - create preexist options even for unknown formats
* Remove calls to sanityCheckRequest()David Cantrell2009-03-021-15/+0
| | | | | We don't have this function anymore, but I don't know if we need to be calling anything else.
* Syntax fixes for new storage code.David Cantrell2009-03-021-2/+3
| | | | | Misc syntax fixes for the new storage code. Generated these while trying to do a 'Create custom layout' install.
* Syntax and import fixes.David Cantrell2009-03-021-3/+3
|
* Update UI code to use new storage module.David Lehman2009-02-231-238/+172
|
* Read CHS values from Device.biosGeometry propertyDavid Cantrell2009-02-121-1/+1
| | | | | | The old pyparted had CHS values as properties directly on the PedDevice. The new pyparted API gives a 3-tuple for the CHS values via the biosGeometry and hardwareGeometry properties.
* Use device property on Disk and Geometry objects.David Cantrell2009-02-121-1/+1
| | | | | The property name for Device objects on a Disk or Geometry is 'device', not 'dev'.
* Removed sector<->cylinder conversion functions.David Cantrell2009-02-121-5/+4
| | | | | The parted.Device object now offers functions to translate between cylinders and sectors.
* Don't prompt for a passphrase when creating encrypted devices.David Lehman2008-09-151-50/+4
|
* Support establishing a global passphrase when creating encrypted devices.David Lehman2008-08-191-2/+26
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-2/+2
| | | | * po/sk.po: Typo fix.
* remove debugging printBill Nottingham2008-04-071-1/+0
|
* Partitioning UI for handling of preexisting encrypted devices.David Lehman2008-03-281-16/+16
| | | | | | | | | | | | | Basic rules are the same for partitions, LVs, RAID devices: - Existing LUKS headers can only be removed if the device is being formatted. - You can create a new filesystem on the device and retain the preexisting LUKS header. - You can add a LUKS header to a non-encrypted preexisting device only if creating a new filesystem on the device. - We prompt for passphrase only for non-preexisting LUKS headers, meaning those that existed when we read the disk layout initially. We do not support adding or changing passphrases for preexisting encrypted devices.
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-1/+1
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* GPLv2+ boilerplates on all of the iw/*.py files.David Cantrell2007-12-171-7/+14
|
* More mnemonicsJeremy Katz2007-12-121-1/+1
|
* Give access to partitions when determining min/max size to resize; also keepJeremy Katz2007-11-291-1/+1
| | | | track of the request being resizable rather than just the filesystem
* Implement resizing UI for graphical mode.Jeremy Katz2007-11-291-33/+10
| | | | This simplifies the edit partition dialog and adds resizing support
* Initial support for block devices encrypted using LUKS/dm-crypt.David Lehman2007-11-161-0/+49
| | | | | | The class LUKSDevice, in cryptodev.py, handles the details of creation and management of the encrypted devices. RequestSpec and Device classes contain an optional LUKSDevice instance describing the device's encryption setup. There is no support for pre-existing encrypted devices and kickstart support is not present at this point.
* Remove disabled badblocks checking code.Chris Lumens2007-08-031-24/+3
|