summaryrefslogtreecommitdiffstats
path: root/src/gdu
Commit message (Collapse)AuthorAgeFilesLines
* allow passing options to gdu_device_op_filesystem_mount()David Zeuthen2009-04-152-2/+7
| | | | We need this for the gvfs monitor to pass the 'flush' option for vfat.
* export new property device-detection-timeDavid Zeuthen2009-04-152-0/+10
|
* export :device-presentation-hide property in the APIDavid Zeuthen2009-04-152-0/+10
|
* clean up some more debug spewDavid Zeuthen2009-04-151-2/+2
|
* only spew debug if GDU_DEBUG is set to 1David Zeuthen2009-04-152-1/+33
|
* for now, prepend the D-Bus error name to the error string from the daemonDavid Zeuthen2009-04-081-0/+9
| | | | | This is hidden behind a GtkExpander so it's not exactly a big deal. As noted we can removed this once we port to PolicyKit 1.0.
* fix volume hole detection, logical partitions start at five, not fourDavid Zeuthen2009-04-061-1/+6
|
* all D-Bus object paths are now prefixed with /org/freedesktop/DeviceKit/DisksDavid Zeuthen2009-04-061-3/+3
|
* update to latest daemon API for some ATA SMART changesDavid Zeuthen2009-04-062-11/+23
|
* update to latest DKD API where erase= and tasks within jobs has been removedDavid Zeuthen2009-04-027-154/+25
|
* update to trimmed set of errors returned by the daemonDavid Zeuthen2009-04-022-64/+4
|
* remove gdu_device_is_busy() since device-is-busy was removed from the daemonDavid Zeuthen2009-04-022-10/+0
|
* add gdu_device_get_dev() to get the dev_t for a deviceDavid Zeuthen2009-04-022-0/+13
|
* update for daemon ABI changes for device-mount-path -> device-mount-pathsDavid Zeuthen2009-04-022-5/+15
| | | | | | | | | http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/commit/?id=52443c7793ca55cf53036ecb29a6032e9823b7dd http://people.freedesktop.org/~david/gdu-multiple-mount-points.png We're keeping gdu_device_get_mount_path() around for the time being to avoid breaking too much ABI in libgdu.
* fix volume hole detectionDavid Zeuthen2009-03-311-6/+17
|
* rework partition table handlingDavid Zeuthen2009-03-313-61/+36
|
* fix compiler warnings introduced by the last set of patchesDavid Zeuthen2009-03-281-1/+0
| | | | Signed-off-by: David Zeuthen <davidz@redhat.com>
* add a missing 'else'Matthias Clasen2009-03-281-1/+1
| | | | | | | | There was an 'else' missing in this if-else cascade. http://bugzilla.gnome.org/show_bug.cgi?id=575710 Signed-off-by: David Zeuthen <davidz@redhat.com>
* don't show dbus error namesMatthias Clasen2009-03-281-5/+0
| | | | | | | | | Don't show dbus error names in error dialogs. The user is already frightened enough... http://bugzilla.gnome.org/show_bug.cgi?id=575710 Signed-off-by: David Zeuthen <davidz@redhat.com>
* sync GduError to DevkitDisksErrorMatthias Clasen2009-03-282-4/+12
| | | | | | | | | Make sure we have a matching code in GduError for each error that we can get from DevKitDisksError. http://bugzilla.gnome.org/show_bug.cgi?id=576894 Signed-off-by: David Zeuthen <davidz@redhat.com>
* port to new DeviceKit-disks that uses libatasmartDavid Zeuthen2009-03-2314-627/+851
|
* add support for device-is-media-change-detection-polling propertyDavid Zeuthen2009-03-162-1/+10
| | | | | | | This property was added to DeviceKit-disks to avoid polling SATA AN capable drives. http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/commit/?id=bcd21b0908de1455bec1165f61cbc9eaf348a1e5
* handle inactive and partitioned md devicesDavid Zeuthen2009-03-154-105/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/commit/?id=1c6e690dcdc5f31d69d39fc89a9db035802febcc for the 'inactive' bits. Basically we need this to cope with the current way autoassembly is handled by Fedora. E.g. if you put in half a mirror and then remove it again, there's an inactive array with a dangling symlink in sysfs. For partitioned md devices, this was introduced in the kernel with this commit http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=92850bbd71228730c80efd491e7427650188d359 Note that there's a bug in current udev (version 140ish) that prevents probing the partions of a md device. This will get fixed soon. To make it possible to partition an md device, we have moved the "Create partition table" section so it's only visible for a completely unrecognized device (e.g. when we only see a top-level block device with no partitions or no recognizable signature). The move of "Create partition table" makes the UI look a bit empty for disks that don't report SMART status; there's no sections at all. It also makes it a bit harder to completely format a disk. The former should be fixed by having some graphical representation of the partitions/content, the latter by having a File->New menu that launches a wizard to prepare formatting the disk.
* fix up docsDavid Zeuthen2009-03-021-1/+1
|
* add support for handling when the daemon is inhibitDavid Zeuthen2009-03-024-0/+55
|
* avoid using dbus_g_error_get_name() to determine if authorization is neededDavid Zeuthen2009-03-011-2/+6
|
* update to latest DKD polkit actions and fix up Linux MD activationDavid Zeuthen2009-03-013-204/+105
|
* fix a few memory leaksDavid Zeuthen2009-03-013-9/+21
|
* make sure we emit signals on add/change signals on GduPresentableDavid Zeuthen2009-02-276-37/+14
|
* use new device-presentation-name and -icon-name properties in DeviceKit-disksDavid Zeuthen2009-02-254-2/+56
|
* update to latest DeviceKit-disks API and rework API for GduDriveDavid Zeuthen2009-02-259-223/+280
|
* choose the right icon for floppy mediaDavid Zeuthen2009-02-222-27/+42
|
* add support for ext4 and add description for XFS file systemDavid Zeuthen2009-02-221-10/+26
|
* fix up naming and icons for optical drives and optical discsDavid Zeuthen2009-02-222-10/+121
|
* include KiB, MiB and GiB in the long string representations of sizeDavid Zeuthen2009-02-211-16/+73
|
* update for audio disc API changes in DeviceKit-disksDavid Zeuthen2009-02-202-9/+9
|
* add support for media detection bits recently added to DeviceKit-disksDavid Zeuthen2009-02-193-0/+76
|
* various header file and cosmetic fixesDavid Zeuthen2009-02-1831-251/+252
|
* handle when slaves are added/removed to a Linux MD arrayDavid Zeuthen2009-02-181-1/+26
| | | | Basically need to handle the 'change' event on devices.
* fix a few memory leaksDavid Zeuthen2009-02-175-10/+17
|
* use powers of ten for device sizesDavid Zeuthen2009-02-171-3/+3
|
* don't crash if GetAll() for device properties failsDavid Zeuthen2009-02-171-4/+6
|
* avoid leading white-space for drive name when vendor is NULL or blankDavid Zeuthen2009-02-171-4/+12
|
* use drive-removable-media-* for volumes from drives with removable mediaDavid Zeuthen2009-02-172-12/+52
| | | | This makes thing look a lot more consistent.
* don't include the size in the name for a Linux MD raid arrayDavid Zeuthen2009-02-171-18/+2
|
* add gdu-unmountable icon but don't use it yet...David Zeuthen2009-02-171-1/+10
|
* use new linux-md-home-host and linux-md-component-home-host propertiesDavid Zeuthen2009-02-176-20/+71
|
* fix up private data handling in all classesDavid Zeuthen2009-02-1710-10/+29
|
* rework device detection to be more robust and rework how Linux MD is handledDavid Zeuthen2009-02-1717-1808/+1985
| | | | | | | | | | | | Rather than relying on add, remove signals, recompute the full set of presentables we want. Then diff it against the presentables we already have and emit the events in the right order. This is significantly more robust compared to all the special casing we had earlier. Also fold main functionality of GduActivatableDrive into GduDrive (a GduDrive now has the notion of whether it is running, ops for starting/stopping and so forth) and rename the GduActivatableDrive to GduLinuxMdDrive.
* add new gdu_presentable_get_id functionDavid Zeuthen2009-02-157-2/+136
|