platform/upstream/udisks2.git
11 years agoMake sure drive properties are updated after applying configuration
David Zeuthen [Mon, 10 Dec 2012 17:26:33 +0000 (12:26 -0500)]
Make sure drive properties are updated after applying configuration

... such as e.g. Drive:WriteCacheEnabled. It's a little icky how we
rely on 'change' uevent for this.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoMention the right ATA subcommand for the ata-write-cache-enabled key
David Zeuthen [Fri, 7 Dec 2012 21:20:46 +0000 (16:20 -0500)]
Mention the right ATA subcommand for the ata-write-cache-enabled key

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agodocs: Fix up description of WriteCacheEnabled and document valid values
David Zeuthen [Fri, 7 Dec 2012 21:18:11 +0000 (16:18 -0500)]
docs: Fix up description of WriteCacheEnabled and document valid values

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd support for querying and configuring the Write Cache for ATA devices
David Zeuthen [Fri, 7 Dec 2012 20:47:02 +0000 (15:47 -0500)]
Add support for querying and configuring the Write Cache for ATA devices

http://people.freedesktop.org/~david/gnome-disks-write-cache-setting.png

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd support for setting the symbolic icon for a device
David Zeuthen [Wed, 5 Dec 2012 23:47:57 +0000 (18:47 -0500)]
Add support for setting the symbolic icon for a device

This is used in e.g. the GNOME desktop environemtn where both normal
and symbolic icons are now used.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUDisksObjectInfo: fix memory leak
David Zeuthen [Wed, 5 Dec 2012 18:00:33 +0000 (13:00 -0500)]
UDisksObjectInfo: fix memory leak

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUDisksObjectInfo: Add get_sort_key() method
David Zeuthen [Wed, 5 Dec 2012 17:58:02 +0000 (12:58 -0500)]
UDisksObjectInfo: Add get_sort_key() method

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUse setup_by_user() in more places
David Zeuthen [Wed, 5 Dec 2012 16:00:27 +0000 (11:00 -0500)]
Use setup_by_user() in more places

This way the user is not bogged down in several places when trying to
operate on a RAID or loop device he has set up himself.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUse --scan and --uuid when starting a MD-RAID device
David Zeuthen [Tue, 4 Dec 2012 20:58:41 +0000 (15:58 -0500)]
Use --scan and --uuid when starting a MD-RAID device

This way mdadm(8) will pick the device file itself and this ensures
that whatever is in /etc/mdadm.conf is used.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd MDRaid.SetBitmapLocation() method
David Zeuthen [Fri, 30 Nov 2012 16:56:53 +0000 (11:56 -0500)]
Add MDRaid.SetBitmapLocation() method

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd new MDRaid.AddDevice() method
David Zeuthen [Thu, 29 Nov 2012 22:58:21 +0000 (17:58 -0500)]
Add new MDRaid.AddDevice() method

This is used to hot-add a device to a RAID array.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoMention RAID split-brain syndrome
David Zeuthen [Thu, 29 Nov 2012 17:01:23 +0000 (12:01 -0500)]
Mention RAID split-brain syndrome

And also add a function UDisksClient.get_all_blocks_for_mdraid() so
GUIs can at least convey to the user that there's a problem.

GNOME Disks makes use of this to show both the underlying device files

http://people.freedesktop.org/~david/gnome-disks-mdraid-split-brain.png

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUse 'drive-multidisk' instead of 'gdu-enclosure' for RAID arrays
David Zeuthen [Wed, 28 Nov 2012 20:45:26 +0000 (15:45 -0500)]
Use 'drive-multidisk' instead of 'gdu-enclosure' for RAID arrays

The 'gdu-enclosure' icon used to be in gnome-disk-utility which was
never right as it meant that gnome-disk-utility had to be installed in
order for the GIcon in the UDisksObjectInfo to make sense.

The 'drive-multidisk' icon was *just* added to gnome-icon-theme, see

 https://bugzilla.gnome.org/show_bug.cgi?id=684406
 http://git.gnome.org/browse/gnome-icon-theme/commit/?id=5644192d3f034ae614cddef2720f95408655dab3

See

 http://people.freedesktop.org/~david/gnome-disks-new-raid-icon.png

for its use in Disks.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAllow MDRaid.RemoveDevice() without authz if the caller started the array
David Zeuthen [Wed, 28 Nov 2012 19:12:30 +0000 (14:12 -0500)]
Allow MDRaid.RemoveDevice() without authz if the caller started the array

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoFix thinko in routine to find a free MD RAID device
David Zeuthen [Wed, 28 Nov 2012 17:33:35 +0000 (12:33 -0500)]
Fix thinko in routine to find a free MD RAID device

The idea is to count _down_ from md127, not up.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoKeep track of MD RAID arrays started/created via udisks
David Zeuthen [Wed, 28 Nov 2012 17:23:58 +0000 (12:23 -0500)]
Keep track of MD RAID arrays started/created via udisks

... and allow user to stop (via MDRaid.Stop()) and manipulate those
(via Filesystem.Mount(), Block.Format() etc). This is similar to what
we do for e.g. loop devices. The result is that the user is no longer
interrupted by password dialogs as e.g. pointed out in my Google+ post
here

 https://plus.google.com/110773474140772402317/posts/TPHVtY7myks

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAlways use .modify-device for devices set up by the calling user
David Zeuthen [Wed, 28 Nov 2012 17:16:24 +0000 (12:16 -0500)]
Always use .modify-device for devices set up by the calling user

Not e.g. .modify-device-system. Without this fix, the user cannot
format e.g. loop devices he has set up (and, with the following
commit, RAID arrays he has set up).

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd Block:Id property
David Zeuthen [Sat, 24 Nov 2012 19:20:19 +0000 (14:20 -0500)]
Add Block:Id property

This persistent and unique id is useful for a bunch of things, for
example Disks' benchmark dialog can use it as the filename for saving
benchmarking data for a block device (Disks is currently deriving the
filename from looking at symlinks).

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoEnsure HintAuto is FALSE for PC floppy drives
David Zeuthen [Thu, 22 Nov 2012 16:28:34 +0000 (11:28 -0500)]
Ensure HintAuto is FALSE for PC floppy drives

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUpdate what symbolic icons to use
David Zeuthen [Tue, 20 Nov 2012 21:20:36 +0000 (16:20 -0500)]
Update what symbolic icons to use

It's not appropriate to use media-removable-symbolic for floppy or
flash media since that icon looks like a thumb drive. Use
media-floppy-symbolic and media-flash-symbolic instead.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoMake UDisksObjectInfo a GObject and hide its struct
David Zeuthen [Tue, 20 Nov 2012 19:20:15 +0000 (14:20 -0500)]
Make UDisksObjectInfo a GObject and hide its struct

Provide getter methods instead. This breaks library ABI (see
gnome-disk-utility for the required changes) but that's fine since
we're on an unstable branch.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUDisksObjectInfo: Change format of one_liner
David Zeuthen [Tue, 20 Nov 2012 18:17:07 +0000 (13:17 -0500)]
UDisksObjectInfo: Change format of one_liner

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoFix grammar
David Zeuthen [Tue, 20 Nov 2012 17:26:00 +0000 (12:26 -0500)]
Fix grammar

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd missing since tag to newly added Drive.Ata.SmartSetEnabled() method
David Zeuthen [Tue, 20 Nov 2012 17:19:51 +0000 (12:19 -0500)]
Add missing since tag to newly added Drive.Ata.SmartSetEnabled() method

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUpdate SMART data after enabling SMART
David Zeuthen [Tue, 20 Nov 2012 16:51:06 +0000 (11:51 -0500)]
Update SMART data after enabling SMART

Also ensure that updates are done atomically and sent out before the
SmartSetEnabled() method returns.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUDisksLinuxDevice: add a reprobe_sync() method
David Zeuthen [Tue, 20 Nov 2012 16:50:38 +0000 (11:50 -0500)]
UDisksLinuxDevice: add a reprobe_sync() method

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoFix up docs
David Zeuthen [Mon, 19 Nov 2012 22:09:46 +0000 (17:09 -0500)]
Fix up docs

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd Drive.Ata.SmartSetEnabled() method
David Zeuthen [Mon, 19 Nov 2012 20:33:02 +0000 (15:33 -0500)]
Add Drive.Ata.SmartSetEnabled() method

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd a Drive.PowerOff() method
David Zeuthen [Mon, 19 Nov 2012 03:08:54 +0000 (22:08 -0500)]
Add a Drive.PowerOff() method

Right now we only support devices connected via USB but in the future
we can add support for other interconnects.

Also, since this operation may affect multiple drives, we also
introduce a Drive:SiblingId property so applications can do the right
thing.

http://people.freedesktop.org/~david/gnome-disks-power-off-drive-1.png
http://people.freedesktop.org/~david/gnome-disks-power-off-drive-2.png
http://people.freedesktop.org/~david/gnome-disks-power-off-drive-3.png

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd support for creating UDF filesystems using mkudffs(8)
David Zeuthen [Mon, 12 Nov 2012 04:59:46 +0000 (23:59 -0500)]
Add support for creating UDF filesystems using mkudffs(8)

This was requested in GNOME bug 633655.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoBlock.Format: add @update-partition-type option
David Zeuthen [Tue, 6 Nov 2012 17:11:25 +0000 (12:11 -0500)]
Block.Format: add @update-partition-type option

If this option is set to TRUE, we'll set the _natural_ partition type
for the requested filesystem, if one is available. For example, if
formatting a GPT partition with a FAT filesystem, the Microsoft Basic
Data partition type will be chosen; similar, if formatting a DOS
partition with a Ext4 filesystem then partition type 0x83 is chosen.

This feature was requested here

 https://bugzilla.gnome.org/show_bug.cgi?id=685871

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUse gathered IDENTIFY DATA as primary way of identifying ATA devices
David Zeuthen [Mon, 5 Nov 2012 19:10:16 +0000 (14:10 -0500)]
Use gathered IDENTIFY DATA as primary way of identifying ATA devices

IOW, don't rely on ata_id to set the ATA_ID udev property.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoStop relying on ata_id to set ID_ATA_ROTATION_RATE_RPM
David Zeuthen [Mon, 5 Nov 2012 19:04:37 +0000 (14:04 -0500)]
Stop relying on ata_id to set ID_ATA_ROTATION_RATE_RPM

Get this directly from the IDENTIFY DATA itself.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoStop relying on ata_id to set ID_ATA_FEATURE_SET_SECURITY*
David Zeuthen [Mon, 5 Nov 2012 18:57:32 +0000 (13:57 -0500)]
Stop relying on ata_id to set ID_ATA_FEATURE_SET_SECURITY*

Get this directly from the IDENTIFY DATA itself.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoDon't set AamVendorRecommendedValue unless AAM is actually supported
David Zeuthen [Mon, 5 Nov 2012 18:46:41 +0000 (13:46 -0500)]
Don't set AamVendorRecommendedValue unless AAM is actually supported

Otherwise it may contain junk.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoStop relying on ata_id to set ID_ATA_FEATURE_SET_{PM,APM,AAM}*
David Zeuthen [Mon, 5 Nov 2012 18:42:00 +0000 (13:42 -0500)]
Stop relying on ata_id to set ID_ATA_FEATURE_SET_{PM,APM,AAM}*

Get this directly from the IDENTIFY DATA itself.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoStop relying on ata_id to set ID_ATA_FEATURE_SET_SMART{,_ENABLED}
David Zeuthen [Mon, 5 Nov 2012 18:30:18 +0000 (13:30 -0500)]
Stop relying on ata_id to set ID_ATA_FEATURE_SET_SMART{,_ENABLED}

Get this directly from the IDENTIFY DATA itself.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd udisks_ata_identify_get_word() utility function
David Zeuthen [Mon, 5 Nov 2012 18:29:14 +0000 (13:29 -0500)]
Add udisks_ata_identify_get_word() utility function

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd logging statements so it's possible to pin-point probing time
David Zeuthen [Thu, 25 Oct 2012 23:15:31 +0000 (19:15 -0400)]
Add logging statements so it's possible to pin-point probing time

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUDisksLinuxDevice: Don't include the parent_instance member in the docs
David Zeuthen [Thu, 25 Oct 2012 15:33:20 +0000 (11:33 -0400)]
UDisksLinuxDevice: Don't include the parent_instance member in the docs

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoForgot to add files
David Zeuthen [Wed, 24 Oct 2012 18:54:28 +0000 (14:54 -0400)]
Forgot to add files

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoIntroduce UDisksLinuxDevice as a replacement for GUdevDevice
David Zeuthen [Wed, 24 Oct 2012 17:40:38 +0000 (13:40 -0400)]
Introduce UDisksLinuxDevice as a replacement for GUdevDevice

This is essentially a GUdevDevice but with extra information such as
the probed ATA IDENTIFY data and, in the future, anything else we
might need.

The big idea here is that we want to depend _less_ on udev for
peripheral things that doesn't make sense to store in the udev
database, such as the properties in [1]. The win here is

 a. We can simplify ata_id somewhat - it still needs to extract serial
    numbers, WWNs etc. (because those are needed for symlinks in the
    /dev/disk/by-* hierarchy) but it does not need to extract and
    print what is in e.g. [1].

 b. If we need information in udisks from e.g. the ATA IDENTIFY data
    we don't need to add it to ata_id (or scsi_id or whatever), then
    wait for a systemd release and then instruct distributors to
    properly handle the dependency - instead, we can just access the
    IDENTIFY data ourselves. Much simpler and less error prone.

Since probing is synchronous, we create a thread for this and whenever
there's an uevent we push a new request onto a work queue. The probing
thread will handle incoming requests sequentially (in the future we
could have a pool of worker threads and run things in parallel) and
pop the results back to the main thread, also sequentially.

The only probing we have right now is for IDENTIFY DEVICE and IDENTIFY
PACKET DEVICE for ATA disks. We can add more in the future.

Note that this patch doesn't actually achieve b. yet - upcoming
patches will move from reading udev properties (such as looking at the
value of ID_ATA_FEATURE_SET_PM) to extracting this from the IDENTIFY
data itself.

[1] :
 # udevadm info -q all -n /dev/sda|grep ID_ATA_
 E: ID_ATA_DOWNLOAD_MICROCODE=1
 E: ID_ATA_FEATURE_SET_HPA=1
 E: ID_ATA_FEATURE_SET_HPA_ENABLED=1
 E: ID_ATA_FEATURE_SET_PM=1
 E: ID_ATA_FEATURE_SET_PM_ENABLED=1
 E: ID_ATA_FEATURE_SET_SECURITY=1
 E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0
 E: ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=2
 E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=2
 E: ID_ATA_FEATURE_SET_SECURITY_FROZEN=1
 E: ID_ATA_FEATURE_SET_SMART=1
 E: ID_ATA_FEATURE_SET_SMART_ENABLED=1
 E: ID_ATA_ROTATION_RATE_RPM=0
 E: ID_ATA_SATA=1
 E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
 E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1
 E: ID_ATA_WRITE_CACHE=1
 E: ID_ATA_WRITE_CACHE_ENABLED=1

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoFactor out ATA routines
David Zeuthen [Tue, 23 Oct 2012 18:25:13 +0000 (14:25 -0400)]
Factor out ATA routines

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUse the right device file UDisksObjectInfo.one_liner for a partition of a drive
David Zeuthen [Wed, 17 Oct 2012 16:20:08 +0000 (12:20 -0400)]
Use the right device file UDisksObjectInfo.one_liner for a partition of a drive

E.g. use /dev/sdb1, not /dev/sdb

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoDon't count /dev/md* devices with bogus UUIDs as MD-RAID arrays
David Zeuthen [Tue, 16 Oct 2012 15:50:55 +0000 (11:50 -0400)]
Don't count /dev/md* devices with bogus UUIDs as MD-RAID arrays

For example, if you use the FAULTY personality there is no UUID and we
shouldn't present the device as a RAID array as it really isn't one.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoNuke debug spew
David Zeuthen [Tue, 16 Oct 2012 15:44:04 +0000 (11:44 -0400)]
Nuke debug spew

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUDisksObjectInfo: add one_liner field
David Zeuthen [Tue, 16 Oct 2012 15:41:21 +0000 (11:41 -0400)]
UDisksObjectInfo: add one_liner field

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoOnly use #pragma GCC diagnostic on GCC >= 4.6
David Zeuthen [Sat, 13 Oct 2012 09:58:48 +0000 (05:58 -0400)]
Only use #pragma GCC diagnostic on GCC >= 4.6

https://bugs.freedesktop.org/show_bug.cgi?id=52614

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd support for option 'no-block' in the Block.Format() method
David Zeuthen [Sat, 13 Oct 2012 09:36:56 +0000 (05:36 -0400)]
Add support for option 'no-block' in the Block.Format() method

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoRevert "Serialize authorization checks"
David Zeuthen [Sat, 13 Oct 2012 09:15:40 +0000 (05:15 -0400)]
Revert "Serialize authorization checks"

Turns out this is not really a good idea - for example, consider two
users on different seats - if one is slow to authenticate, the other
one will suffer.

This reverts commit cc373db17ac448a6c088f6497a90fe288e560c21.

11 years agoSerialize authorization checks
David Zeuthen [Fri, 12 Oct 2012 21:39:21 +0000 (17:39 -0400)]
Serialize authorization checks

This is useful for e.g. applications that offer UI on multiple disks
at the same time. Without the serialization up to N authentication
dialogs for the same action can be shown.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAlways pass MD devices of the form /dev/mdNNN when assembling RAID arrays
David Zeuthen [Fri, 12 Oct 2012 15:21:10 +0000 (11:21 -0400)]
Always pass MD devices of the form /dev/mdNNN when assembling RAID arrays

This is to be consistent with array creation.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd Manager.MDRaidCreate() method for RAID Array creation
David Zeuthen [Fri, 12 Oct 2012 13:48:49 +0000 (09:48 -0400)]
Add Manager.MDRaidCreate() method for RAID Array creation

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoUDisksClient: Add reference to Job:Operation to get_job_description() docs
David Zeuthen [Fri, 12 Oct 2012 13:48:18 +0000 (09:48 -0400)]
UDisksClient: Add reference to Job:Operation to get_job_description() docs

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd missing known jobs for MD-RAID to Job:Description docs
David Zeuthen [Fri, 12 Oct 2012 13:47:02 +0000 (09:47 -0400)]
Add missing known jobs for MD-RAID to Job:Description docs

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agoAdd missing known jobs for ATA Secure erase to Job:Description docs
David Zeuthen [Fri, 12 Oct 2012 13:44:53 +0000 (09:44 -0400)]
Add missing known jobs for ATA Secure erase to Job:Description docs

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoAdd translations for eu, fa, hr and sq from Transifix
David Zeuthen [Thu, 4 Oct 2012 20:20:31 +0000 (16:20 -0400)]
Add translations for eu, fa, hr and sq from Transifix

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUpdate POTFILES.in with new source files
David Zeuthen [Thu, 4 Oct 2012 20:18:44 +0000 (16:18 -0400)]
Update POTFILES.in with new source files

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoRemove fa_IR translation
David Zeuthen [Thu, 4 Oct 2012 20:17:08 +0000 (16:17 -0400)]
Remove fa_IR translation

This language code is invalid. Also removed from the udisks transifex instance.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoAdd publish-docs-master target
David Zeuthen [Thu, 4 Oct 2012 19:56:23 +0000 (15:56 -0400)]
Add publish-docs-master target

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUpdate gtk-doc types file
David Zeuthen [Wed, 3 Oct 2012 15:45:07 +0000 (11:45 -0400)]
Update gtk-doc types file

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoInclude docs for MD-RAID implementation details
David Zeuthen [Wed, 3 Oct 2012 15:44:51 +0000 (11:44 -0400)]
Include docs for MD-RAID implementation details

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUpdate gtk-doc sections
David Zeuthen [Wed, 3 Oct 2012 15:32:33 +0000 (11:32 -0400)]
Update gtk-doc sections

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoAdd indexes of deprecated and new-in-2.1 symbols
David Zeuthen [Wed, 3 Oct 2012 14:34:10 +0000 (10:34 -0400)]
Add indexes of deprecated and new-in-2.1 symbols

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoRe-include udisks_client_get_drive_info() in API docs
David Zeuthen [Wed, 3 Oct 2012 14:33:36 +0000 (10:33 -0400)]
Re-include udisks_client_get_drive_info() in API docs

Otherwise we can't tell people that it's deprecated.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUse Deprecated and Since annotations to mark deprecated and new API for 2.1
David Zeuthen [Wed, 3 Oct 2012 14:32:48 +0000 (10:32 -0400)]
Use Deprecated and Since annotations to mark deprecated and new API for 2.1

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUse @since annotations to mark new D-Bus API available 2.1
David Zeuthen [Wed, 3 Oct 2012 14:32:15 +0000 (10:32 -0400)]
Use @since annotations to mark new D-Bus API available 2.1

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoMerge branch 'master' into wip/mdraid
David Zeuthen [Wed, 3 Oct 2012 14:12:14 +0000 (10:12 -0400)]
Merge branch 'master' into wip/mdraid

12 years agoStart writing NEWS for 2.0.90
David Zeuthen [Wed, 3 Oct 2012 14:06:13 +0000 (10:06 -0400)]
Start writing NEWS for 2.0.90

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoBump version to 2.0.90
David Zeuthen [Wed, 3 Oct 2012 14:05:59 +0000 (10:05 -0400)]
Bump version to 2.0.90

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoExplain post-release actions in HACKING
David Zeuthen [Wed, 3 Oct 2012 14:03:15 +0000 (10:03 -0400)]
Explain post-release actions in HACKING

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoDocument the release process
David Zeuthen [Wed, 3 Oct 2012 13:52:30 +0000 (09:52 -0400)]
Document the release process

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUpdate my email address
David Zeuthen [Wed, 3 Oct 2012 13:33:10 +0000 (09:33 -0400)]
Update my email address

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoPost-release version bump to 2.0.1
David Zeuthen [Tue, 2 Oct 2012 19:32:54 +0000 (15:32 -0400)]
Post-release version bump to 2.0.1

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUpdate NEWS for release
David Zeuthen [Tue, 2 Oct 2012 19:29:52 +0000 (15:29 -0400)]
Update NEWS for release

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoUpdate translations from Transifex
David Zeuthen [Tue, 2 Oct 2012 18:03:37 +0000 (14:03 -0400)]
Update translations from Transifex

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoAdd docs for udisks_linux_drive_ata_secure_erase_sync()
David Zeuthen [Tue, 2 Oct 2012 17:58:01 +0000 (13:58 -0400)]
Add docs for udisks_linux_drive_ata_secure_erase_sync()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoAdd docs for udisks_linux_drive_ata_apply_configuration()
David Zeuthen [Tue, 2 Oct 2012 17:50:37 +0000 (13:50 -0400)]
Add docs for udisks_linux_drive_ata_apply_configuration()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoRemove udisks_daemon_util_on_other_seat() from sections.txt
David Zeuthen [Tue, 2 Oct 2012 17:46:25 +0000 (13:46 -0400)]
Remove udisks_daemon_util_on_other_seat() from sections.txt

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix docs for udisks_daemon_util_file_set_contents()
David Zeuthen [Tue, 2 Oct 2012 17:45:39 +0000 (13:45 -0400)]
Fix docs for udisks_daemon_util_file_set_contents()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix docs for udisks_daemon_launch_threaded_job()
David Zeuthen [Tue, 2 Oct 2012 17:44:52 +0000 (13:44 -0400)]
Fix docs for udisks_daemon_launch_threaded_job()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix docs for udisks_daemon_launch_spawned_job_sync()
David Zeuthen [Tue, 2 Oct 2012 17:44:26 +0000 (13:44 -0400)]
Fix docs for udisks_daemon_launch_spawned_job_sync()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix docs for udisks_daemon_launch_spawned_job()
David Zeuthen [Tue, 2 Oct 2012 17:44:09 +0000 (13:44 -0400)]
Fix docs for udisks_daemon_launch_spawned_job()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix docs for udisks_daemon_launch_simple_job()
David Zeuthen [Tue, 2 Oct 2012 17:43:44 +0000 (13:43 -0400)]
Fix docs for udisks_daemon_launch_simple_job()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoAdd docs for udisks_base_job_set_auto_estimate()
David Zeuthen [Tue, 2 Oct 2012 17:40:32 +0000 (13:40 -0400)]
Add docs for udisks_base_job_set_auto_estimate()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoAdd docs for udisks_base_job_get_auto_estimate()
David Zeuthen [Tue, 2 Oct 2012 17:40:12 +0000 (13:40 -0400)]
Add docs for udisks_base_job_get_auto_estimate()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix up docs for udisks_daemon_util_file_set_contents()
David Zeuthen [Tue, 2 Oct 2012 17:37:54 +0000 (13:37 -0400)]
Fix up docs for udisks_daemon_util_file_set_contents()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix docs for udisks_daemon_util_on_same_seat()
David Zeuthen [Tue, 2 Oct 2012 17:35:47 +0000 (13:35 -0400)]
Fix docs for udisks_daemon_util_on_same_seat()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: use CDATA for email addresses to avoid them being mangled
David Zeuthen [Tue, 2 Oct 2012 17:29:01 +0000 (13:29 -0400)]
docs: use CDATA for email addresses to avoid them being mangled

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: add some more meta information to the man pages (version, source, manual)
David Zeuthen [Tue, 2 Oct 2012 17:16:46 +0000 (13:16 -0400)]
docs: add some more meta information to the man pages (version, source, manual)

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: Document udisksctl(1)'s status command
David Zeuthen [Tue, 2 Oct 2012 17:01:06 +0000 (13:01 -0400)]
docs: Document udisksctl(1)'s status command

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: Document udisksctl(1)'s info command
David Zeuthen [Tue, 2 Oct 2012 16:58:15 +0000 (12:58 -0400)]
docs: Document udisksctl(1)'s info command

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: update man page dates to "October 2012"
David Zeuthen [Tue, 2 Oct 2012 16:53:47 +0000 (12:53 -0400)]
docs: update man page dates to "October 2012"

In the future we shall update it only in minor releases .0,
e.g. 2.0.0, 2.2.0, 2.4.0 and so on.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: Link to http://www.freedesktop.org/wiki/Software/dbus in udisks(8)
David Zeuthen [Tue, 2 Oct 2012 16:40:23 +0000 (12:40 -0400)]
docs: Link to freedesktop.org/wiki/Software/dbus in udisks(8)

... so it's 100% clear what "system message bus" means.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: Remove "(available online here)" comment in udisks(8) man page
David Zeuthen [Tue, 2 Oct 2012 16:36:44 +0000 (12:36 -0400)]
docs: Remove "(available online here)" comment in udisks(8) man page

We don't do that for other chapters.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agodocs: only reference hdparm(8) at the end of the paragraph
David Zeuthen [Tue, 2 Oct 2012 15:38:10 +0000 (11:38 -0400)]
docs: only reference hdparm(8) at the end of the paragraph

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoBump version number to 2.0.0
David Zeuthen [Fri, 28 Sep 2012 19:05:53 +0000 (15:05 -0400)]
Bump version number to 2.0.0

This is not the release (at least NEWS needs to be updated) but pretty
close. Basically only need to e.g. check that nothing breaks by going
from 1.99.0 to 2.0.0

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoDon't require that users define UDISKS_API_IS_SUBJECT_TO_CHANGE
David Zeuthen [Fri, 28 Sep 2012 19:03:04 +0000 (15:03 -0400)]
Don't require that users define UDISKS_API_IS_SUBJECT_TO_CHANGE

We're very close to the 2.0 release (two-point-oh!) so nuke this.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoMove bash completion script into /usr/share/bash-completion/completions
David Zeuthen [Fri, 28 Sep 2012 17:58:04 +0000 (13:58 -0400)]
Move bash completion script into /usr/share/bash-completion/completions

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
12 years agoFix glaringly wrong documentation for Filesystem.Mount()
David Zeuthen [Fri, 28 Sep 2012 14:53:25 +0000 (10:53 -0400)]
Fix glaringly wrong documentation for Filesystem.Mount()

Signed-off-by: David Zeuthen <zeuthen@gmail.com>