commit 95055d10a6709b0d6dc73a4b5152708a40405588
Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jun 30 10:19:31 2015 +0200 Post-release bump to 2.1.7 commit f985a79f09da63e1f535c9b577759cb54dd5cea7 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jun 30 10:15:53 2015 +0200 Update NEWS for 2.1.6 release commit d91bf64ef9e26adce2b6fe9df639b866d97623b1 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jun 30 10:14:25 2015 +0200 Update translations from transifex commit ae81a48551395a63e0ed7f6a15ab91bf1a42e903 Author: Ondrej Holy <oholy@redhat.com> Date: Tue Jun 24 10:50:13 2014 +0200 Fail before formatting if partition contains a partition table Formatting fails for a partition containing a partition table (e.g. Fedora hybrid iso). Consequently the device is in wrong state, so check it before modification and fail with a comprehensible error message. https://bugs.freedesktop.org/show_bug.cgi?id=76178 commit 6102a739f1fc6837856e9da757ce0a0dfe7f8d31 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jun 30 08:37:23 2015 +0200 UDF: Drop umask=0077 default UDF stores permissions, so there is no reason to override it. https://bugs.freedesktop.org/show_bug.cgi?id=90298 commit aca6ac4826aea1777550838a8e87409a63520878 Author: Ross Lagerwall <rosslagerwall@gmail.com> Date: Wed Jun 10 18:37:16 2015 +0100 Add support for creating f2fs filesystems https://bugs.freedesktop.org/show_bug.cgi?id=63893 commit 875ddfce1bc02ae8e81cbb05874d148132bec3b0 Author: Tomas Bzatek <tbzatek@redhat.com> Date: Thu Jan 23 15:34:59 2014 +0100 UDisksSpawnedJob: Retrieve uid/gid info before forking A security analysis revealed a possible issue in the UDisksSpawnedJob code. Reportedly the NSS modules might not be available if the fork() happened at an inconvenient time. This patch moves retrieval of UID information in the parent process just before forking. https://bugs.freedesktop.org/show_bug.cgi?id=73669 commit b208be44157253005ac053aeebe13e234a3ac291 Author: Simon McVittie <simon.mcvittie@collabora.co.uk> Date: Mon Mar 9 12:04:44 2015 +0000 Decide whether devices are on the same seat by uid, not pid In systemd user sessions, some of a user's processes can exist outside the scope of any particular session: └─user.slice └─user-1000.slice ├─user@1000.service │ ├─2089 /lib/systemd/systemd --user │ └─dbus.service │ ├─ 2233 /usr/bin/dbus-daemon … │ ├─ 2297 /usr/lib/gvfs/gvfsd │ … └─session-2.scope ├─ 2102 gnome-session ├─ 2376 /usr/bin/gnome-shell … If processes outside sessions don't have access to devices on those sessions' seats, then gvfsd won't be able to mount devices. Conversely, there is no privilege boundary between the sessions and the non-session processes - in particular, the user's processes can usually ptrace each other and write to each other's configuration files - so isolating them doesn't make a great deal of sense. I'm specifically looking for one or more *active* sessions on the device's seat because in a situation like this: … ├─ alice │ ├─ graphical session on seat0, tty7, active │ └─ system --user ├─ bob │ ├─ graphical session on seat0, tty8, inactive │ ├─ graphical session on seat1, active │ └─ systemd --user └─ chris ├─ ssh session on no seat, active └─ systemd --user the desired behaviour is that alice controls seat0 devices and bob controls seat1 devices, corresponding to their respective physically-present locations; bob should not have control over seat0 devices until he returns to seat0, and chris should not have control over either. Despite udisks_daemon_util_on_same_seat being documented, it is not actually public API or ABI: it is part of libudisks-daemon.la, which is a convenience library statically linked into udisksd and the tests. As such, it's harmless to replace it with _on_user_seat. I'm renaming it in order to force compilation failure if a branch has other callers for the old semantics; if it was not renamed, passing a pid_t where a uid_t was expected would have compiled, but silently produced wrong results. https://bugs.freedesktop.org/show_bug.cgi?id=89501 https://bugs.debian.org/780004 commit 3e20941942ecd05da02586bebfc7ec5cd8bb1e48 Author: Ross Lagerwall <rosslagerwall@gmail.com> Date: Tue Jun 9 23:12:01 2015 +0100 Don't ignore isohybrid udf filesystems Extend the hack to show the main partition of isohybrid iso9660 isos to work with udf isos too. https://bugs.freedesktop.org/show_bug.cgi?id=89711 commit a4f42f853071d0200611b0c575f5454467b944d9 Author: Michael Catanzaro <mcatanzaro@gnome.org> Date: Mon Mar 23 21:27:39 2015 -0500 Install udisksd into a libexecdir $(prefix)/lib means the binary could wind up under e.g. /usr/lib rather than /usr/lib64, or other more appropriate locations depending on the distro. https://bugs.freedesktop.org/show_bug.cgi?id=89736 commit 9dd9c47f5db9b05656a13bee1330f2353b184805 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Mon Jun 29 16:41:28 2015 +0200 Fix crash on inaccessible RAID member "state" attribute g_variant_new() doesn't like NULL pointers for empty arrays, so allocate an empty array if we cannot read the attribute. https://bugs.freedesktop.org/show_bug.cgi?id=91011 commit 2705225f0f66eda01e93b226d12e3749b1ece64b Author: Ross Lagerwall <rosslagerwall@gmail.com> Date: Sun Jun 21 09:34:07 2015 +0100 integration-tests: Add a wrapper to write and flush stderr sys.stderr is line-buffered by default which means that the status updates (e.g. '[wait for data]') do not show up until after the test has finished. Introduce a wrapper which writes to and flushes stderr. https://bugs.freedesktop.org/show_bug.cgi?id=91043 commit 2207efd82b01296277da6f460d87c0d34ac6e0ee Author: Ross Lagerwall <rosslagerwall@gmail.com> Date: Sun Jun 21 09:25:51 2015 +0100 integration-tests: Don't fail if a SMART test was aborted Don't unnecessarily fail if the SMART data shows that a test has been aborted or interrupted. https://bugs.freedesktop.org/show_bug.cgi?id=91043 commit 7db2680edb561fc36f2a13ac5e025deeeb7c9f58 Author: Ross Lagerwall <rosslagerwall@gmail.com> Date: Sun Jun 21 09:24:24 2015 +0100 integration-tests: Settle while waiting for property change Since there's no main loop running, perform a settle() while waiting for the smart-updated property to change, otherwise it can hang indefinitely. https://bugs.freedesktop.org/show_bug.cgi?id=91043 commit ca6084154c391cc022c1394698ae5b7200dd06c4 Author: Peter Hatina <phatina@redhat.com> Date: Mon Jun 29 16:22:44 2015 +0200 Remove deprecated g_io_scheduler_* calls Udisks uses these deprecated functions: - g_io_scheduler_push_job () - g_io_scheduler_job_send_to_mainloop () Modify the code uses the supported GTask instead. src/tests/test.c is a bit tricky: no main loop is running, so we need to acquire thread's default context so that there is no race condition. https://bugs.freedesktop.org/show_bug.cgi?id=91021 commit e5d7007c673faf69affbe6882982515d5363d3e1 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Jun 11 23:07:14 2015 +0200 udev rules: Stop hardcoding sed path https://bugs.freedesktop.org/show_bug.cgi?id=90522 commit 7ff286b3cce9d084e54c6461bf39b38f00982d42 Author: Peter Hatina <phatina@redhat.com> Date: Thu Mar 12 11:33:30 2015 +0100 Fix udisks_daemon_util_file_set_contents() return value handling udisks_daemon_util_file_set_contents() returns a gboolean, so just check it as boolean. The previous (!ret != 0) was utter bogus. https://bugs.freedesktop.org/show_bug.cgi?id=89556 commit 2fd82fe020d500152c3a3d5808b2993036b33433 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Fri Mar 6 09:07:31 2015 +0100 Post-release bump to 2.1.6 commit a66691c3ab0423977057fa2706bb46be17c687c9 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Fri Mar 6 08:59:07 2015 +0100 Update NEWS for 2.1.5 release commit 08d57689f7f4e3d7806d5bac6d88613630886d47 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Fri Mar 6 08:54:53 2015 +0100 Update translations from transifex commit b400a9595a083b9b85d1ec87fcb32e79f5d9c0d2 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Fri Mar 6 08:35:12 2015 +0100 integration-tests: Don't assume ordering in mount-points property Make assertEventually() handle expected sets, and convert the actual value to a set. commit ffcb11b1ae39684511c74d2decdb959dff559401 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Sun Mar 1 16:58:14 2015 +0100 Drop default [df]mask for VFAT and NTFS The parent mount point dir (/run/media/user) already controls access permissions, so there is no need to set [df]mask to 077 for VFAT and NTFS. This makes UDISKS_FILESYSTEM_SHARED="1" actually work for these file systems. https://launchpad.net/bugs/453605 commit 6c27890287f0b86a8bc6aa6b46e7c6a573898164 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Sun Mar 1 16:35:42 2015 +0100 Recognize PARTUUID and PARTLABEL in fstab https://bugs.freedesktop.org/show_bug.cgi?id=88923 commit 72838fea395bade4d2a0bd13410478cda27906ef Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Sun Mar 1 14:55:05 2015 +0100 integration-test: Test fstab parsing Check that by-device, by-label, and by-UUID mounts respect mount point and options from fstab. commit 03cd3e8e462e82f46b64d8c62ea64db5f22fa0e5 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Sun Mar 1 14:06:35 2015 +0100 integration-test: Stop requiring the build dependencies Run src/.libs/udisksd instead of src/udisksd so that you can run the test suite without having the build dependencies installed. This is useful when building in a chroot. commit 9b3957a3b367848b683c01cfe56f015199ca9a77 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Wed Feb 11 07:22:26 2015 +0100 Drop unused goto label commit 5435866fabbb22b50f1b914d4e7b791192cc9439 Author: David King <dking@redhat.com> Date: Tue Feb 10 22:41:05 2015 +0000 Fix format string signedness warnings GCC 5.0, with its new -Wformat-signedness, warns about the sign being different between a type and the format string in printf-format messages. Fix the sign of the format strings and types so that they match. https://bugs.freedesktop.org/show_bug.cgi?id=89070 commit b4cdfcafff171a427debfeaea72b51c9f1ab378e Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jan 13 16:13:21 2015 +0100 Fix crash in udisks_client_finalize() When calling udisks_object_manager_client_new_for_bus_sync() in initable_init() fails, the _finalize() was previously trying to call g_signal_handlers_disconnect_by_func() and g_object_unref() on NULL objects. Check this explicitly. https://bugs.freedesktop.org/show_bug.cgi?id=77134 commit 86bcf135519742ebd9607f6f8208cb7d3319d0ee Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jan 13 15:59:00 2015 +0100 Provide fallback for systems without ACL support Some kernels or file systems (with --enable-fhs-media) don't support ACLs. If setting ACL fails, fall back to chowning the directory to the target user. https://bugs.freedesktop.org/show_bug.cgi?id=61162 commit bdec6a14c0d9805f84069c0d989feec2c751ec7c Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jan 13 15:46:21 2015 +0100 Make UdisksClient.get_size_for_display() units translatable Apparently some languages transliterate storage units, so make them translatable. https://bugs.freedesktop.org/show_bug.cgi?id=86057 commit ae2a5ff1e49ae924605502ace170eb831e9c38e4 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jan 13 15:34:52 2015 +0100 Support mounting in /media for FHS compatibility Add --enable-fhs-media configure option to mount in /media instead of /run/media, for FHS compliance and backwards compatibility. Usually /media is not a tmpfs, so make the "mounted-fs" state file persistant in this case. https://bugs.freedesktop.org/show_bug.cgi?id=51709 http://bugs.debian.org/680403 https://launchpad.net/bugs/1020759 commit 16db1d1ba60cbc76397f193c95db5fda4546f099 Author: Stefan Sauer <ensonic@users.sf.net> Date: Tue Dec 30 22:37:05 2014 +0100 docs: include the annotation glossary Avoid a large number of warnings by including the generated annotation glossary. https://bugs.freedesktop.org/show_bug.cgi?id=87878 commit 577e36b977a58f148e949fe7d5ffa0794613c94f Author: Stefan Sauer <ensonic@users.sf.net> Date: Tue Dec 30 22:32:04 2014 +0100 configure: stop using tmpl files for docs gtkdoc-mktmpl has been deprecated for years. As the tmpl files are not used in this library to document the api, stop using them. https://bugs.freedesktop.org/show_bug.cgi?id=87877 commit 94ebc2fe495d00c4468f865a7a5081fc9074caeb Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Fri Jan 2 16:24:33 2015 +0100 Revert "integration-tests: Avoid udev lockup" This does not work under cgmanager and is too hackish. This reverts commit 1ddc25d4c980b6bf03013149808dc453c6b59552. commit 1ddc25d4c980b6bf03013149808dc453c6b59552 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Dec 30 21:55:50 2014 +0100 integration-tests: Avoid udev lockup Running umount of ntfs-3g mounts in a different cpu controller cgroup than udev causes uninterruptible lockups: https://launchpad.net/bugs/1398859 Avoid those by ensuring that we run in the root cgroup. commit cf93824e79e02ff62f16eb0fab24d5574612e395 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 13:40:07 2014 +0100 integration-test: Skip double mount check for NTFS ntfs-3g does not support multiple mounts. commit e5130928ae79f2b503b462aafe7a7870b9bcec59 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 13:11:01 2014 +0100 Post-release version bump to 2.1.5 commit 860f9b03013245cd8916a84a9dacef0093f230f0 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 13:04:53 2014 +0100 Update NEWS for 2.1.4 release commit e1dd1be6a6cf9526bb63ca4093a14761879d86f0 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 12:58:45 2014 +0100 Update translations from transifex create mode 100644 po/et.po create mode 100644 po/oc.po commit 2a3731b3122e52139e978a963f41d418d78aa9f8 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 12:25:28 2014 +0100 Hide DIAGS and IntelRST partitions https://bugs.freedesktop.org/show_bug.cgi?id=64750 commit 450ac93b9edb33987ed4187b8716ff7aa3d9656b Author: Tomas Bzatek <tbzatek@redhat.com> Date: Thu Dec 18 12:23:15 2014 +0100 Hide Windows Recovery Environment partitions See http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs https://bugs.freedesktop.org/show_bug.cgi?id=64750 commit 588bb38ed3ae235286f87e40a3108301b8db9c54 Author: Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com> Date: Tue Sep 3 23:59:56 2013 +0100 Add Intel Fast Flash Standby partition GPT type This is used by Intel Rapid Start Technology, which is exposed with 3.11 kernels. Under MBR, 0x84 hibernation partition is (re-)used for the same purpose. https://bugs.freedesktop.org/show_bug.cgi?id=68909 commit 1beed200b265013f69798db3dcad959d74e75122 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 12:16:24 2014 +0100 Fix polkit auth string Add missing word "required". Update po files accordingly. https://bugs.freedesktop.org/show_bug.cgi?id=86276 commit 780a3f1d84c84e8d54d49ca4f0080780725a2755 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 12:12:09 2014 +0100 Fix fallback media icons for nonremovable media If we have an available medium but it is not removable, apply the fallback media icons as well. This also fixes a clang error as we were testing media_removable twice. https://bugs.freedesktop.org/show_bug.cgi?id=73930 commit 7088199a2cd7920be3931de90ca4aa3d12966bcf Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jan 22 16:36:14 2014 +0100 udisks_linux_drive_object_uevent(): Handle null device https://bugs.freedesktop.org/show_bug.cgi?id=73930 commit fd837d9638af520d3bbc0d5865cba7e70b3038f8 Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jan 22 14:51:42 2014 +0100 Remove useless assignments https://bugs.freedesktop.org/show_bug.cgi?id=73930 commit 4464d91a05fde3b73add18481ed500738f49e73b Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jan 22 14:42:09 2014 +0100 udiskslinuxmanager.c: Don't use uninitialized wait_data struct https://bugs.freedesktop.org/show_bug.cgi?id=73930 commit 0581f95819b551ea2a551946005fd8b2109d958f Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jan 22 14:29:05 2014 +0100 Properly initialize all used variables https://bugs.freedesktop.org/show_bug.cgi?id=73930 commit 19a900623b170275db831df81c9b4221a159e93f Author: Denis Kasak <dkasak@termina.org.uk> Date: Thu Dec 18 11:58:23 2014 +0100 Fix buffer overflow in pick_word_at() Invoking "udisksctl complete <line> <number>" with a number larger than the length of the line to be completed results in a buffer overflow inside pick_word_at(). https://bugs.freedesktop.org/show_bug.cgi?id=74089 commit 3c259bd00e4118d45c40fad25df710c2a66f60d9 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 11:50:07 2014 +0100 Fix sorting of mount points Fix udisks_mount_compare() to compare mounts in the expected and documented ascending order. Adjust FS integration test cases to mount a device on two mountpoints, to reproduce this bug. https://bugs.freedesktop.org/show_bug.cgi?id=78649 commit 153c05f7cb4984c5616ca0ead12911479ad61f7b Author: Ross Lagerwall <rosslagerwall@gmail.com> Date: Mon Sep 1 22:59:09 2014 +0100 Fix TOCTOU race when making directories If two volumes are mounted at approximately the same time, one of the mount operations can fail with an error something like: Error creating directory /run/media: File exists because of the window between the check of the existence and the creation of the directory. To fix this, drop the g_file_test() check and instead ignore EEXIST errors when making these directories. https://bugs.freedesktop.org/show_bug.cgi?id=83374 commit af0bf0bb0b8f40b80c6fc8cdc612121dd87fc673 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Jun 26 01:10:48 2013 -0400 Add a man page for umount.udisks2 Some customers get upset if there are commands in /bin or /sbin without a manual page. Since the umount interface expects its plugins to be in /sbin, add a pro forma man page for umount.udisks2. https://bugs.freedesktop.org/show_bug.cgi?id=66188 create mode 100644 doc/man/umount.udisks2.xml commit 74e03d560877b33e59a3790d3cc5c9bc41c675d6 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 11:20:00 2014 +0100 Identify JetFlash Transcend drives as thumb drives https://bugs.freedesktop.org/show_bug.cgi?id=82958 commit 46da39c15f365192a30b8e25ed0ebd625506e532 Author: Phillip Susi <psusi@ubuntu.com> Date: Sun Jun 22 19:23:05 2014 -0400 Fix standby timers If the drive was set to standby after >= 10 minutes of inactivity, it would never standby because udisks would check every 10 minutes to see if it was already in standby, and if not, update the SMART stats, which would reset the standby timer. This is especially problematic since many drives enforce a 10 minute minimum standby timer even if a lower value is specified. This patch checks the kernel IO stats to see if any other IO has been done on the drive since the last check, and if not, behaves as if the drive is already sleeping. https://bugs.freedesktop.org/show_bug.cgi?id=80170 https://launchpad.net/bugs/1281588 commit 0d24350ca598d5c7f5cee8e41ee2cae45b85d531 Author: Samuli Suominen <ssuominen@gentoo.org> Date: Thu Dec 18 10:55:09 2014 +0100 Add missing #include udiskslinuxfilesystem.c:1294:11: error: implicit declaration of function 'WIFEXITED' [-Werror=implicit-function-declaration] udiskslinuxfilesystem.c:1294:11: error: implicit declaration of function 'WEXITSTATUS' [-Werror=implicit-function-declaration] https://bugs.freedesktop.org/show_bug.cgi?id=63777 http://bugs.gentoo.org/462784 commit 2ec502f8ead1566b7f388144be66ae038c21ad05 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:51:54 2014 +0100 Hide Microsoft reserved partition http://en.wikipedia.org/wiki/Microsoft_Reserved_Partition https://bugs.freedesktop.org/show_bug.cgi?id=56629 commit c2c2c3351451ec2dfda84d509a32abb261c1723b Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:32:10 2014 +0100 Fix docs for SmartUpdate() This meant to say that removing the option will *not* be considered an ABI break. https://bugs.freedesktop.org/show_bug.cgi?id=67214 commit a98e4f1fbb2f9446f2033fc2120b7b5189b75064 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:28:08 2014 +0100 Drop obsolete polkit_unix_process_new() Use polkit_unix_process_new_for_owner() instead. Bump polkit dependency to >= 102. commit 2e827d2f6408175b6a50a6aa812e37039addb661 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:27:43 2014 +0100 Update .gitignore files commit 6ee1b7ebefb6b0a17450b654894ba2b43b3689de Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:17:25 2014 +0100 Drop obsolete g_type_init() Bump glib dependency to >= 2.36. commit cece40ba6c652af197e53d615eddcd60aa1cc5d2 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:11:10 2014 +0100 build: Enable gcc colors commit 4f69d87f3e304d2855fe3f506caa84aff3c71077 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:07:16 2014 +0100 Update .gitignore files commit c6599d59bd5c308a7f4723dc4c2af3300433a3da Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 10:00:28 2014 +0100 build: Use config-aux/ directory Put the config.{guess,sub}, compile, and similar autotools helper into build-aux/ for a slightly cleaner build tree. commit 06de19f8dfc76c4aed0c6f811f4e38e3c3e1e469 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 09:52:12 2014 +0100 Update obsolete gnome-common and automake macros - Drop obsolete GNOME_COMMON_INIT, we already set ACLOCAL_AMFLAGS. - Drop GNOME_MAINTAINER_MODE_DEFINES, we already configure maintainer mode. - Replace obsolete GNOME_DEBUG_CHECK with AX_CHECK_ENABLE_DEBUG. - Replace obsolete INCLUDES with AM_CPPFLAGS. Bump automake dependency to 1.11. https://bugs.freedesktop.org/show_bug.cgi?id=73321 commit 78e2efa4269102955950dc5a8b4af33365260ce2 Author: Lubomir Rintel <lkundrak@v3.sk> Date: Thu Oct 9 15:42:48 2014 +0200 Skip password strength checks when changing LUKS passphrase cryptsetup enables them by default, but it's certainly not a nice thing to do in a library or a service. gnome-disk-utility already implements its strength checks with a much friendlier UX. https://bugs.freedesktop.org/show_bug.cgi?id=84839 commit c5fc2d792c98e171dda52cb83abaa97c02b3cdd7 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 09:20:14 2014 +0100 Fix display ID for generic FAT Thanks to Pali Rohár for pointing out! commit e75d761e4954d2baef96ea77733f5cc1fc081305 Author: Pawel Baldysiak <pawel.baldysiak@intel.com> Date: Thu Nov 27 12:15:38 2014 +0100 udisks: Change name for Intel SW RAID Intel SW RAID is no longer named "Intel Matrix RAID" and its should be changed to: "Intel Rapid Storage Technology enterprise" for long version and "Intel RSTe" for short version. https://bugs.freedesktop.org/show_bug.cgi?id=84589 commit af447f1b326be61736ffcf98d95cd84b4b1bc2c3 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 09:08:54 2014 +0100 integration-test: Fix btrfs test Recent mkfs.btrfs now requires -f to overwrite an existing file system. commit f43fa6345cb30dca92245774a88d60ba7feec6c9 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Thu Dec 18 09:06:25 2014 +0100 integration-test: Better failure messages Use assertIn() instead of assertTrue(... in ...) to get the actual value on failure. commit 31483d84db52016d184ba2c2e36713795d1352ea Author: Michael Biebl <biebl@debian.org> Date: Mon Sep 29 23:13:33 2014 +0200 Support building against libsystemd library In systemd v209, the various libraries were merged into a single libsystemd library [1]. Add support for building against this new library and fall back to the old library names if not found. [1] http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html commit a243eed9f452813d4e8f84f5481e1cf732ee139d Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Wed Aug 20 11:26:33 2014 +0200 integration-test: Drop sync_workaround, fix property testing Object property updates are inherently asynchronous. Add new assertEventually() and assertProperty() helpers which retry a few times and sync the client between iterations. Drop the now unnecessary --no-workarounds option and sync_workaround(), and various manual settle() calls. Note that we still keep some direct get_property() comparisons in places where we don't expect any latency. commit 78f9441fb7c5ee91afcbb8dc10bbcbe8f48514d1 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Aug 19 11:23:54 2014 +0200 integration-tests: sync file systems in sync() In sync(), also sync the file systems. This mitigates a race condition with changing labels, which particularly surfaces with the NTFS tests. commit c6cb156f6afb1ab5967ca03db1fa79ad12130dc7 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Aug 19 11:15:03 2014 +0200 integration-test: Fix code formatting Fix all pyflakes and PEP-8 errors. commit eb1a56be346e49460b6131b7f546f00360e4a78f Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Mon Jun 16 11:30:07 2014 +0200 Revert "Fix standby timers" David Zeuthen says: > 1. Checking if a disk is asleep does not wake up the disk (unless its > firmware is broken). > 2. It's not atypical to have disks without any IO for _days_. We still > want to check SMART status for disks in this case. This reverts commit 65c901f1ebbb1286c7f533abbd8716b5c7d7294e. commit 65c901f1ebbb1286c7f533abbd8716b5c7d7294e Author: Phillip Susi <psusi@ubuntu.com> Date: Sat Jun 14 20:05:15 2014 -0400 Fix standby timers If the drive was set to standby after >= 10 minutes of inactivity, it would never standby because udisks would check every 10 minutes to see if it was already in standby, and if not, update the SMART stats, which would reset the standby timer. This is especially problematic since many drives enforce a 10 minute minimum standby timer even if a lower value is specified. This patch checks the kernel IO stats to see if any other IO has been done on the drive since the last check, and if not, behaves as if the drive is already sleeping. Co-Authored-By: Martin Pitt <martin.pitt@ubuntu.com> commit 10fb36a8d6f3a774bcf078931ce80627e06a6923 Author: Phillip Susi <psusi@ubuntu.com> Date: Mon Nov 4 18:41:25 2013 -0500 Use internal pm check for smart poll libatasmart apparently has a bug where it will wake up a disk from sleep just trying to open it, so use our own code to check the pm state to avoid this. commit f9c060bddd108e1f0612174504729e5c1bc9ce82 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Tue Jun 3 14:24:00 2014 +0200 integration-test: Update for logind When logind seat tracking is enabled, the test bed may not have a currently active seat. Thus allow the filesystem-mount-other-seat action in the Polkit.test_removable_fs() test as well. commit fe0498a82b928267eb1cc623703890950ac51f0b Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Mon Jun 2 12:45:01 2014 +0200 Fix build with clang In udisksclient.c, extend the pragma to disable the -Wformat-nonliteral warning to clang. commit 429892f2ec39d66732bee0f78d093eb6d2c5433f Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Mar 25 22:57:25 2014 -0700 Send SCSI SYNCHRONIZE CACHE before powering down a drive It looks like some disks need this in addition to the SCSI START STOP UNIT command. However some disks don't implement this command so make the failure non-fatal. See bug 71802 for details. https://bugs.freedesktop.org/show_bug.cgi?id=71802 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 25f83ee6beaa0daa8f7e84ce5df4563797e10490 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Mar 12 12:46:50 2014 -0700 Fine-tune GTP partitions some more Lennart and Kay made a couple of good suggestions. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 61effe428d84859f007fee3b9173c1ea9a9c62a1 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Mar 12 12:12:23 2014 -0700 Remove newly-added "Auto-enabled swap" GTP partition type It's the same as the existing "Linux Swap" that we already have. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 568c1113a18fd223ea06f5e3b24080549becb22f Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Mar 11 20:39:00 2014 -0700 Add GPT partition types from the Discoverable Partitions Specification See http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/ Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit c4e5450cf2df0c6086a24b8ff1f62da61b0c7107 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Mon Mar 10 10:25:00 2014 +0100 NEWS: Fix headers commit 17b517aa1a5d21d0a2b96d2175729dc98de47c5d Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Mon Mar 10 09:51:40 2014 +0100 Post-release version bump to 2.1.4 commit 0997fe6314b03be194dafb9277ee9b03a4fbd188 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Mon Mar 10 09:46:40 2014 +0100 Update NEWS for 2.1.3 release commit 24496747b648d1a7bd0d6da1ef3759f035ba1cd6 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Wed Mar 5 13:47:15 2014 +0100 Fix buffer overflow in mount path parsing In the mount monitor we parse mount points from /proc/self/mountinfo and /proc/swaps. Ensure that we don't overflow the buffers on platforms where mount paths could be longer than PATH_MAX (unknown if that can actually happen), as at least the mount paths for hotpluggable devices are somewhat user-controlled. Thanks to Florian Weimer for discovering this bug, and to David Zeuthen for his initial patch! CVE-2014-0004 commit 15551fc967d4304f28619b62fc3201e64a4f9c97 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Jan 26 14:29:35 2014 -0800 udisksctl: fix grammar Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit a54c2fa14c522487a78828d4a9dfd89f916a3576 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Jan 26 14:20:38 2014 -0800 udisksctl: add power-off verb to power off drives This is useful in e.g. backup scripts. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit fcdd8f48b6ac9b1b6da82fdf5f59230fc2ea6feb Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Jan 26 12:05:40 2014 -0800 Send SCSI START STOP UNIT when powering down a drive It turns out that some disks / enclosures will not spin down when the power to the USB upstream port is removed. Therefore, issue the START STOP UNIT command just before removing power. As this command does fail on some devices [1] make the failure non-fatal. Also add some logging - even on successful paths - as it's useful for the admin to see when a drive has been powered down. This was reported in bug 71802. https://bugs.freedesktop.org/show_bug.cgi?id=71802 [1] : in fact, START STOP UNIT fails on one of my external USB drives but works on another. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 4ce586f81b6097f32c54c781b008798e5b70b9f8 Author: Marius Vollmer <mvollmer@redhat.com> Date: Fri Jan 17 11:39:41 2014 +0200 Prefer /dev/VG/LV for LVM2 volumes. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 4d867ff2a454a155828a2616cd674b1a8d018260 Author: Tomas Bzatek <tbzatek@redhat.com> Date: Tue Jan 14 18:20:19 2014 +0100 Fix crash when loop-deleting non-loop device When a non-loop device file is specified, a lookup succeeds but it's not a UDisks2.Loop object. This change prevents a crash when null pointer is passed further in the calls. https://bugzilla.redhat.com/show_bug.cgi?id=1036076 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 3a384047123abc4a4fe2e81eb5dc4050746aa9e8 Author: Tomas Bzatek <tbzatek@redhat.com> Date: Fri Jan 17 17:10:33 2014 +0100 udisks_daemon_util_get_caller_uid_sync(): Add missing goto Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 89229c2b0b139c527e98fc3bf1a829bc2b68394e Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jan 15 17:16:34 2014 +0100 Use reentrant version of getpwuid() for thread safety ...and get rid of static variables. https://bugs.freedesktop.org/show_bug.cgi?id=73669 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 81a350fca9431048175fcf639909d988aceb2a17 Author: Peter Paluch <peter.paluch@fri.uniza.sk> Date: Mon Jan 20 12:16:44 2014 -0800 Use SECTOR_COUNT=1 when issuing ATA IDENTIFY COMMAND ... otherwise this fails with some devices / translqation layers. For more information see https://bugs.freedesktop.org/show_bug.cgi?id=73780 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit f71262abfcdf4792112e273c554ab500bb1faed9 Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Jan 18 16:02:55 2014 -0800 Identify SD Card Reader in ChromeBook Pixel Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e433d88432f2b2627c34b6e5d797b8409090fd30 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jan 14 09:40:56 2014 +0100 Post-release version bump to 2.1.3 commit fe3eadfcf973ae3feeae12f53d54e6f41f590069 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jan 14 09:31:38 2014 +0100 Update NEWS for release commit c3686abce1dc897d9b402478312c9c87a69c887f Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jan 14 09:27:44 2014 +0100 Drop "david" user name from publish make rules This makes it easier for other people to do releases. Specifying user names should be done in ~/.ssh/config instead. commit f6bce1a3cfaca39d5992b89b10f90b26a388dbfe Author: Tomas Bzatek <tbzatek@redhat.com> Date: Tue Jan 14 09:19:49 2014 +0100 Fix crash when waiting for loop device If for some reason we're unable to get a UDisksObject instance, just bail out and let udisks_daemon_wait_for_object_sync() continue with the loop and call the wait_func again after a short break. Hopefully the object we're looking for will arrive until then. https://bugs.freedesktop.org/show_bug.cgi?id=72956 Signed-off-by: Martin Pitt <martinpitt@gnome.org> commit d7ff8838faf317284c78a59f06374c958278b156 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jan 10 11:05:09 2014 -0800 Update translations from transifex Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 po/ar.po create mode 100644 po/as.po create mode 100644 po/az.po create mode 100644 po/bn_IN.po create mode 100644 po/ca.po create mode 100644 po/ca@valencia.po create mode 100644 po/cy.po create mode 100644 po/da.po create mode 100644 po/eo.po create mode 100644 po/fo.po create mode 100644 po/ga.po create mode 100644 po/gu.po create mode 100644 po/he.po create mode 100644 po/hi.po create mode 100644 po/kn.po create mode 100644 po/ko.po create mode 100644 po/lt.po create mode 100644 po/ml.po create mode 100644 po/mr.po create mode 100644 po/ms.po create mode 100644 po/nb.po create mode 100644 po/nn.po create mode 100644 po/or.po create mode 100644 po/pt.po create mode 100644 po/ro.po create mode 100644 po/sr@latin.po create mode 100644 po/ta.po create mode 100644 po/te.po create mode 100644 po/th.po create mode 100644 po/vi.po create mode 100644 po/wa.po commit a8cda0c9063997cf728980396a33c59dca2f00fc Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jan 10 11:01:34 2014 -0800 Update transifex hostname Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 106faf48359b51d5d2d68c8f4e6a1f53f5c14dfe Author: Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> Date: Mon Oct 7 12:41:06 2013 +0200 Add polkit authorization variables for removable media Add new variables 'drive.removable.bus' and 'drive.removable.media'. It allows restricting or granting access to removable media based on its type by polkit authorization rules. It makes possible to grant access to USB devices, while restrict access to Optical drives. Signed-off-by: Martin Pitt <martinpitt@gnome.org> commit a2b8186b120cfb922dacbd5a9950dfc997cc9d28 Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Nov 25 09:57:36 2013 +0100 Add exfat FS integration test commit 4d4b0597479ba5de0bc3de803e2d6f5eab773471 Author: Andrey Jr. Melnikov <temnota.am@gmail.com> Date: Mon Nov 25 09:57:13 2013 +0100 Add exfat mount options Add default exFAT mount options. This set of default options compatible with exfat-fuse and exfat-nofuse kernel driver. http://bugs.debian.org/720695 Signed-off-by: Martin Pitt <martinpitt@gnome.org> commit 306b56b712b2d2cf4884a6c07f4ee4618702d550 Author: Michael Biebl <biebl@debian.org> Date: Fri May 24 09:03:17 2013 +0200 Use dosfstools instead of mtools We already require dosfstools for mkfs.vfat, so just also use it for changing the fs label. https://bugs.freedesktop.org/show_bug.cgi?id=52332 Co-Authored-By: Martin Pitt <martin.pitt@ubuntu.com> commit bc5e358e4ad686a00e8df29a42aabb6332000d98 Author: Bastien Nocera <hadess@hadess.net> Date: Sun Sep 29 11:56:31 2013 +0200 Hide more rescue partitions Hide the Lenovo Recovery partition and the Windows 8 rescue partition. https://bugs.freedesktop.org/show_bug.cgi?id=69921 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 80adda7cc67a7783843990ab29f08eb7e42713a9 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 11 13:04:46 2013 -0700 Bug 67679 - build fails due to missing IT_PROG_INTLTOOL macro Patch from Seán de Búrca <leftmostcat@gmail.com>. https://bugs.freedesktop.org/show_bug.cgi?id=67679 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0a7f37eb2d26db070e9152fd83deb6aacf9bc521 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Aug 20 18:55:34 2013 -0700 Post-release version bump to 2.1.2 commit 7b98c6c17736e0d11db1b1572158a38769c4d179 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Aug 20 18:38:25 2013 -0700 Update NEWS for release commit 55771e4ae1af07e5fe7d59bdc0c77b45523b2a33 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Aug 20 18:36:01 2013 -0700 Identify Patriot Memory USB sticks as thumb drives Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 8e56538d5712e28b91ba00c77458f5b8bfead701 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Jul 23 00:11:35 2013 -0700 Use new SSD icon from g-i-t-e See https://bugzilla.gnome.org/show_bug.cgi?id=701551 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0a150d20a93109f5b3f8802376c0d03f10dc1545 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed May 22 14:53:45 2013 +0200 integration-test: For VFAT, ignore case for label comparison Avoids errors like AssertionError: 'TESTVFATTST' != 'testvfattst' commit 6997b4c67ff4db9e98d04197c0b6a71e4eec7545 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed May 22 15:13:05 2013 +0200 integration-test: Fix for nonexisting /run/udev/rules.d/ If that directory does not yet exist, but /run/udev/ does, create it. commit 7c550c39641deccdd491faf3b93eb71f9bc92d1f Author: David Zeuthen <zeuthen@gmail.com> Date: Tue May 21 09:31:11 2013 -0700 Add ChromeOS partition types This is helpful when working with ChromeOS disk images. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 68e0d368fb5d3088c5e7d7513607d24dbcb50e02 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue May 21 09:06:19 2013 -0700 UDisksClient: Make it possible to get part desc based on the part table subtype Otherwise, Disks can't populate the partition table combobox correctly for GPT because "Generic", "Apple" and "Other" subtypes all have the same partition type (ZFS) but with different descriptions ("ZFS", "Apple ZFS", "Solaris /usr"). Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 21b24071250f232f85b1853ddef428c76a83ad4d Author: David Zeuthen <zeuthen@gmail.com> Date: Tue May 21 09:05:21 2013 -0700 Promote ZFS partition type to generic In addition to Mac OS X and Solaris, It's also used in Linux. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 7bb9d6714ff496c7ee5f2b477e22b90b2d8c8010 Author: David Zeuthen <zeuthen@gmail.com> Date: Sat May 18 09:43:49 2013 -0700 Identify Transcend USB 3.0 Multi-Card reader as such commit aac687085c2ea84d3148815854fc5d7bd3f170be Author: David Zeuthen <zeuthen@gmail.com> Date: Wed May 15 23:47:11 2013 -0700 Identify Lexar Dual Slot USB 3.0 Reader Professional as a card reader Just got one of these. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 51857ca68c1f45137c27591c1b535b18a6b4ab09 Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Mar 25 14:58:18 2013 +0100 Fix hiding of "WD SmartWare" partitions These might have a _ or a space as word separator. https://launchpad.net/bugs/732365 commit 266bae418f6f55e0061b089c5bbfdeac2598f155 Author: Martin Pitt <martinpitt@gnome.org> Date: Thu Mar 21 07:23:59 2013 +0100 Fix test for logind availability sd_booted() is not an appropriate check for whether we should talk to logind, test for /run/systemd/seats/ instead. For details, see: <https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html> commit b841e30a98459816dfc49a735d3db4355a88edcd Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Mar 18 21:31:40 2013 -0700 Properly identify firewire devices as non-system devices This was reported in bug 62077. https://bugs.freedesktop.org/show_bug.cgi?id=62077 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 3345415bd69338d807627c7d60cb5367b5ec02ea Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Mar 17 15:41:37 2013 -0700 Post-release version bump to 2.1.1 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit a6bead9b8abdc4077afd6f392020b00d3611efa9 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Mar 17 15:29:58 2013 -0700 Update NEWS for release Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e84af26f3177f94e081652625abf1177185c3fa7 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Mar 17 15:27:20 2013 -0700 Bump version to 2.1.0 and update date in man pages We're starting a new minor series. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit c56a6a6b61ae744f18da08355f463f428a994ad6 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Mar 17 15:20:55 2013 -0700 Update translations from Transifex Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 po/lv.po commit 8d1e3898c9f74f54cc80b8d9da013a1e711b3aca Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Mar 17 15:14:12 2013 -0700 Call the right D-Bus completion routines This was pointed out in https://bugs.freedesktop.org/show_bug.cgi?id=60079 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 15d3859bd2591a2202ddeb185a31547d09e5ea03 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Mar 17 15:10:21 2013 -0700 Support broken setups where ID_SERIAL is available but ID_SERIAL_SHORT is not https://bugs.freedesktop.org/show_bug.cgi?id=59546 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 937a8fb78a77b4924f684ee9bb098dfb54bf763d Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Jan 30 20:51:15 2013 -0500 Initialize a local variable gcc 4.8 rightly complains that objects may be used uninitialized here. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 9f8c154d0886b7eb6ecf61bbdb1883ba6476d431 Author: Alban Browaeys <prahal@yahoo.com> Date: Thu Mar 7 17:27:20 2013 +0100 mdraid: Remove spurious argument for the format (which takes none). Fixes gcc 4.8 build: udisks/src/udiskslinuxmdraid.c: In function 'handle_start': udisks/src/udiskslinuxmdraid.c:693:46: error: too many arguments for format [-Werror=format-extra-args] raid_device_file); Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit dd60eff6aa292c1980108c2a98038d0684e427f7 Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Mar 4 14:35:02 2013 +0100 integration-test: Update for mkntfs udisksd calls mkntfs now instead of mkfs.ntfs. Update integration-test correspondingly. commit 42d87f697f878e5e3c14bbef25992464f798d123 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Feb 17 15:08:28 2013 -0800 Post-release version bump to 2.0.93 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit ead779c0016a3d37b5c6c66a6597bf4f18b17508 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Feb 17 14:55:04 2013 -0800 Update NEWS for release Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 6ae6c19ad981801d08f3f5b59c0301ed3fe8b7b4 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Feb 17 14:49:21 2013 -0800 Introduce UDISKS_FILESYSTEM_SHARED=1 to use /media for mounting A lot of haters been complaining about /run/media/$USER and there are a couple of setups where it's awkward to use /etc/fstab entries and just easier to write a short udev rule. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 358b377fab62d01ee500aa494bde38d03821da00 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Feb 17 14:19:51 2013 -0800 Use own udev namespace for MD-RAID properties Bug 59759 - as well as the fact we're using both MD_ and MD_MEMBER - points out a couple of problems with the MD-RAID user space bits. Move into own namespace for now to avoid pollution from elsewhere. https://bugs.freedesktop.org/show_bug.cgi?id=59759 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 08e3ef1e1a705574754b39616be6cd25d779f0d1 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Feb 17 14:19:21 2013 -0800 Check for NULL pointer when creating MD-RAID array Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0a34a0847d9542269991dee3986a8b7c3a748cbc Author: Marius Vollmer <mvollmer@redhat.com> Date: Fri Feb 1 11:27:38 2013 +0200 Make sure logical partitions stay within the extended partition. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 201b23a2ddf0abc5b371a8381b25758d3544450e Author: Marius Vollmer <mvollmer@redhat.com> Date: Fri Feb 1 10:38:40 2013 +0200 Don't wipe extended partitions. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit eb1feec4885513cc93afd22e85e11eae36f26678 Author: Alban Browaeys <prahal@yahoo.com> Date: Sun Jan 20 13:02:01 2013 +0100 build: fix out of source build - set xsltproc path Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0db2a95450784555d4c9991cc965111297412f84 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Jan 8 14:08:48 2013 -0500 Don't leak UDisksLinuxDevice when handling uevent This is a pretty big leak as it involves the struct udev_device instance for the event. FWIW, it's pretty easy to trigger this with developer-setups with lots of uevents - on the upside, this mostly only happens on developer setups so there's that. This memory leak was reported in https://bugzilla.redhat.com/show_bug.cgi?id=892980 and it was reported as being "huge" and "insane" (!). Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 5c948990803cbd47a534f3c29df4f2ea644c5437 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Jan 7 14:15:21 2013 -0500 Rename UDisksCleanup to UDisksState It's more accurate and - hopefully - less confusing this way Signed-off-by: David Zeuthen <zeuthen@gmail.com> delete mode 100644 src/udiskscleanup.c delete mode 100644 src/udiskscleanup.h create mode 100644 src/udisksstate.c create mode 100644 src/udisksstate.h commit 234354ae409209dc8e11d2882c2937841172f712 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Jan 7 13:45:27 2013 -0500 Fold UDisksPersistentStore class into UDisksCleanup The latter is the only user so it's not useful to split it in two. Signed-off-by: David Zeuthen <zeuthen@gmail.com> delete mode 100644 src/udiskspersistentstore.c delete mode 100644 src/udiskspersistentstore.h commit be8c645e6a0184636f3cf6523d62b9e2b3317197 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Jan 7 11:30:54 2013 -0500 Post-release version bump to 2.0.92 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e6f0e91a46d72d0fe3c5f94ee603c30ebd0badba Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Jan 7 11:28:38 2013 -0500 Update NEWS for release Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 9e0fd7f9c9a7095a8e8986189d948d2eeda7981e Author: Evan Nemerson <evan@coeus-group.com> Date: Wed Jan 2 14:11:11 2013 -0800 build: fix passing arguments to configure from autogen.sh Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 23e6bb390836d26f93cd375519775f11d7a4df06 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Jan 7 11:12:15 2013 -0500 Fix up comments in polkit policy file Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 4392fcbee4805ffc45a6356e9e97a833337571de Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Jan 7 11:08:38 2013 -0500 Use correct polkit action This was pointed out by Stefan Brüns in bug 58629. https://bugs.freedesktop.org/show_bug.cgi?id=58629 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 1b06ec56a3bb979ed65748c6eeef5228ff31798c Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Jan 7 10:20:47 2013 -0500 Pull new translations from Transifex Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 po/kk.po commit 7fa2c3c360f0b396171dbe520c47900856d53cff Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Dec 21 12:30:03 2012 -0500 Get the MD-RAID sync rate from the right file Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 832002eaf256c089071bcbd49ca2dcacf66f9eb7 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Dec 21 12:25:23 2012 -0500 Add MDRaid:SyncRate and MDRaid:SyncRemainingTime properties Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0356dc2c35ed6a520335c916c3609ad687aed90c Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Dec 20 12:23:55 2012 -0500 Add MDRaid:RequestSyncAction() method Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 131b708b1016a6dfd5ba5aa289b0e515cb644b82 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Dec 19 17:56:29 2012 -0500 Don't bail in MD-RAID file monitor event handler The code was set up to bail the first time the event fired which wasn't what we wanted (doh!). So we didn't pick up any events at all. Also change severity of the logging message to debug from warning, since read errors happen sporadically when a MD device is removed. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 97ea10e923d62843dd47358582b470d2df3ff617 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Dec 18 15:56:13 2012 -0500 Post-release version bump to 2.0.91 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit bff9ca312b1bfbd7233523a418abed505bc6ed63 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Dec 18 15:54:31 2012 -0500 Update NEWS for release Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 263a90fcf940fe451a1aa5c2ee05e49c82950328 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Dec 18 15:40:14 2012 -0500 Add new translations from Transifix Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 po/bg.po create mode 100644 po/de.po create mode 100644 po/fr.po create mode 100644 po/ru.po create mode 100644 po/sk.po create mode 100644 po/sr.po create mode 100644 po/zh_HK.po commit aaacb6f816c98107e3bc8cd9873c84df6d05c418 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Dec 18 15:38:53 2012 -0500 Pull latest translations from Transifex Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 86c2a147c590a08b85373afa0b794e09f22cf684 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Dec 18 15:07:48 2012 -0500 Remove MDRaid:CanStart{,Degraded} properties This is actually very very hard to reliably figure out (it requires intimate knowledge of the RAID superblocks on all currently-present member devices), so don't pretend we know. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 8eae2604e16a975946ab5617d3067443ede93be5 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Dec 17 15:18:40 2012 -0500 Use both WWN and serials for VPD, if available This fixes a problem with SAMSUNG drives returning the same WWN for different drives: https://bugzilla.redhat.com/show_bug.cgi?id=887979 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 693e4262ce93f7943cc88ca32b0671dcc654056a Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Dec 13 13:28:54 2012 -0500 Introduce new Job:Bytes and Job:Rate properties This allows GUI apps to show more detailed information, see e.g. http://people.freedesktop.org/~david/udisks-job-with-rate-and-bytes-info.png Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 116968f4dffd05782a44586678e61ebd3d2a8908 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Dec 11 17:03:59 2012 -0500 Add support for UDISKS_CAN_POWER_OFF udev property This can be used for devices that should be never powered off. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0b913a902608eb0997ebb7092f0d49348ce6b39c Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Dec 10 16:20:53 2012 -0500 Fix docs for UDisksClient.queue_changed() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 9333fa03a36b84760c39019695a56cfc511c1ab3 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Dec 10 16:10:25 2012 -0500 Add UDisksClient.queue_changed() It's sometimes useful to cause a UDisksClient::changed signal to be emitted in the rate-limited fashion we already support. Add functionality to do this. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 38d38b5614c700e17d92609d89dc157d89a96911 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Dec 10 12:26:33 2012 -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> commit c54cf590c32713ae6677c7c3a9eebab9f8749a8e Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Dec 7 16:20:46 2012 -0500 Mention the right ATA subcommand for the ata-write-cache-enabled key Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit dee77a2ed03563853d589dc5e0c807d711dfb796 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Dec 7 16:18:11 2012 -0500 docs: Fix up description of WriteCacheEnabled and document valid values Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 1832a7a396e74d4847ea9434cb05f16c412187aa Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Dec 7 15:47:02 2012 -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> commit 5df9677cc755eadd4dcbcad8788d2821f93f3556 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Dec 5 18:47:57 2012 -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> commit bbed5a679bf013dbff1188a543d643996086f7da Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Dec 5 13:00:33 2012 -0500 UDisksObjectInfo: fix memory leak Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit a31f19e6cbcdb55c1729d605bd3f29d7d1a2267a Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Dec 5 12:58:02 2012 -0500 UDisksObjectInfo: Add get_sort_key() method Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit d722ae2ad21cfe0e70562f88654ecbb37d8ff88c Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Dec 5 11:00:27 2012 -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> commit f7e0bce1526a45cf6437ef7fb8c147efcf14e486 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Dec 4 15:58:41 2012 -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> commit a6cfe9bfa3b758eda3029b5a2b0666e08256db1d Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Nov 30 11:56:53 2012 -0500 Add MDRaid.SetBitmapLocation() method Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 3aa720643490f810ee53e3d5819b7dc0e0b64724 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Nov 29 17:58:21 2012 -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> commit 301ab668ff65c4e9f28037251bedba26543b6024 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Nov 29 12:01:23 2012 -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> commit 8260d99419f97a06aa1e60d16d576ecbe735635b Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Nov 28 15:45:26 2012 -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> commit 86a1ff738820ca2dc60d28a78764cdae52dfb2aa Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Nov 28 14:12:30 2012 -0500 Allow MDRaid.RemoveDevice() without authz if the caller started the array Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 01839d69064ac1d7fd69045903092dea5b7c41d3 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Nov 28 12:33:35 2012 -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> commit c223eaf95057c66bcfa760e680154f4b84a75a9a Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Nov 28 12:23:58 2012 -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> commit 08668b22219cc44f45e7e509a5924582078fd750 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Nov 28 12:16:24 2012 -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> commit 30eb6751fecf288ecf94ef00772adbd4faaf0c49 Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Nov 24 14:20:19 2012 -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> commit 32b6f233e0aba713d902581c186a8f059c7c327b Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Nov 22 11:28:34 2012 -0500 Ensure HintAuto is FALSE for PC floppy drives Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 4e6687243e40aadcab4dae91d7fdc39275958af9 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 20 16:20:36 2012 -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> commit 395eeb8c0e80eeae534fac66a9a4d5c8eccda1a3 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 20 14:20:15 2012 -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> create mode 100644 udisks/udisksobjectinfo.c create mode 100644 udisks/udisksobjectinfo.h commit a17c1ccc0d9f2a7744d5e9a428a127b62aa850f4 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 20 13:17:07 2012 -0500 UDisksObjectInfo: Change format of one_liner Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 3d182fe6941a049b8036d28ecdb3df95221b5e91 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 20 12:26:00 2012 -0500 Fix grammar Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 3a0e4e2d74f6db2d268a4afeb4d4b34156b33b92 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 20 12:19:51 2012 -0500 Add missing since tag to newly added Drive.Ata.SmartSetEnabled() method Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e30aa61a7acedff36d087f3d39a5ebf79b72af7c Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 20 11:51:06 2012 -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> commit e58972a7f78fd92f5447f5aef1aba6ac3102aec1 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 20 11:50:38 2012 -0500 UDisksLinuxDevice: add a reprobe_sync() method Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit c4ae6e1ea628fa38b4ea62a7f3b2de6403fd0af2 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 19 17:09:46 2012 -0500 Fix up docs Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 81f42ad3d54723fd15e0ca3159f6ee77c361a899 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 19 15:33:02 2012 -0500 Add Drive.Ata.SmartSetEnabled() method Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 81dcb6eeaeceb6c6faae1a40a5b34a65cd5af653 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Nov 18 22:08:54 2012 -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> commit 2873b776f8d8cd06645b9d320bb571f589dbba89 Author: David Zeuthen <zeuthen@gmail.com> Date: Sun Nov 11 23:59:46 2012 -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> commit 6a4f4897858439a73a0d0c3b0d6f1e08f7b7a1f9 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Nov 6 12:11:25 2012 -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> commit a299e8520ded717f1439c0b81053652c9502aae1 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 5 14:10:16 2012 -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> commit b470f7948b64a4a99aa5a0757a4efed583801ff7 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 5 14:04:37 2012 -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> commit cc633885498989761a078e269ea572dc3352bf3b Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 5 13:57:32 2012 -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> commit d32dc335d1da395f499ec5d65c46f48d1b5c52a0 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 5 13:46:41 2012 -0500 Don't set AamVendorRecommendedValue unless AAM is actually supported Otherwise it may contain junk. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit ae9870336358ba7e7eaf756d62394b23e26451ff Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 5 13:42:00 2012 -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> commit 3fc1cff20740aa50258db7fe8d226d0cc6031329 Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 5 13:30:18 2012 -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> commit be33e313ccd488fa48e8c9100fa6d9965383169b Author: David Zeuthen <zeuthen@gmail.com> Date: Mon Nov 5 13:29:14 2012 -0500 Add udisks_ata_identify_get_word() utility function Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 680c0ff864653d8c4cc859635eefb98d2c6dffc8 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Oct 25 19:15:31 2012 -0400 Add logging statements so it's possible to pin-point probing time Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit d974a8b72c5bfd3b53199ec2acaf29ccc95f2e49 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Oct 25 11:33:20 2012 -0400 UDisksLinuxDevice: Don't include the parent_instance member in the docs Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0d13cda76674c16664ba435bae48b3b087578dd1 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 24 14:54:28 2012 -0400 Forgot to add files Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 src/udisksata.c create mode 100644 src/udisksata.h commit 406d0f785d3c7af63481dcf1b0d02c5d26df1753 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 24 13:40:38 2012 -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> create mode 100644 src/udiskslinuxdevice.c create mode 100644 src/udiskslinuxdevice.h commit 17681dc2ae8f963cdd3b2e1dd2a0550c9aa98b65 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 23 14:25:13 2012 -0400 Factor out ATA routines Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 939f83c18369b64dfd280fe5f45a2ad8cfca2732 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 17 12:20:08 2012 -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> commit ddee64a5972cd77e7cd956f89dd909792805a679 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 16 11:50:55 2012 -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> commit 3ba28da67535f350b5661e3a09fbc3f58fa3d27d Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 16 11:44:04 2012 -0400 Nuke debug spew Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 15f01f65fd05862572858b03d665c733c08a9008 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 16 11:41:21 2012 -0400 UDisksObjectInfo: add one_liner field Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 02c041674cbcbee75e7fe70095f37c35837f4901 Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Oct 13 05:58:48 2012 -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> commit 2464898298c3b9f2bcf6e0a1b2065441648325e6 Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Oct 13 05:36:56 2012 -0400 Add support for option 'no-block' in the Block.Format() method Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit df49bb157133482b263e5075270d3c5ec157cab1 Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Oct 13 05:15:40 2012 -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. commit cc373db17ac448a6c088f6497a90fe288e560c21 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Oct 12 17:39:21 2012 -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> commit ce8e429dafc3f0e4401687c5528f755642646a1b Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Oct 12 11:21:10 2012 -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> commit 466a23eb288b3060d9026d5ab111cd11a1cb698c Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Oct 12 09:48:49 2012 -0400 Add Manager.MDRaidCreate() method for RAID Array creation Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 89ebf64bb6ad9fe06de279f2626c3274b347f920 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Oct 12 09:48:18 2012 -0400 UDisksClient: Add reference to Job:Operation to get_job_description() docs Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 61c588a109c1326e4b343b29008fbcaf2afd5a7c Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Oct 12 09:47:02 2012 -0400 Add missing known jobs for MD-RAID to Job:Description docs Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit d775c0e9ce390d2801efb3a39249d48898d6a413 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Oct 12 09:44:53 2012 -0400 Add missing known jobs for ATA Secure erase to Job:Description docs Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e2b2d76d2019de71f85d3c1ac813d8ea1d2d3b7f Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Oct 4 16:20:31 2012 -0400 Add translations for eu, fa, hr and sq from Transifix Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 po/eu.po create mode 100644 po/fa.po create mode 100644 po/hr.po create mode 100644 po/sq.po commit 469b6dba58aeade8dd6ee7eacacc9b3597d7c5a4 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Oct 4 16:18:44 2012 -0400 Update POTFILES.in with new source files Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit c1674196d97e7168108daa2bd2e5ce0f4d4c8127 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Oct 4 16:17:08 2012 -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> delete mode 100644 po/fa_IR.po commit 7c35f298812b8e725da94e7391b01761dcdc4be2 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Oct 4 15:56:23 2012 -0400 Add publish-docs-master target Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 9348c71aaaa2444db8c5583f0eed03200e2a9a14 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 11:45:07 2012 -0400 Update gtk-doc types file Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 23a402ec08b2e66090f7e3c9f1f078a518863440 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 11:44:51 2012 -0400 Include docs for MD-RAID implementation details Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 586efedfaa83a64240ce8bcf35c46974610a6492 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 11:32:33 2012 -0400 Update gtk-doc sections Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e55f93fc509b7d3d0acb0df4ed488042f6d50ee8 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 10:34:10 2012 -0400 Add indexes of deprecated and new-in-2.1 symbols Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e3de8404bd2e6bfc3eba037719025095e47c4160 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 10:33:36 2012 -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> commit eaa0aba65ecf1a09bc81915079855efe5da0cb12 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 10:32:48 2012 -0400 Use Deprecated and Since annotations to mark deprecated and new API for 2.1 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 3495f5a422ca056b02156c2278c7406347ee196b Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 10:32:15 2012 -0400 Use @since annotations to mark new D-Bus API available 2.1 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 56b03b867e21610edcd4a9335e46f6897e1ccb3f Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 10:06:13 2012 -0400 Start writing NEWS for 2.0.90 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 2223cf8069e688330a424d2f13301708d3679838 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 10:05:59 2012 -0400 Bump version to 2.0.90 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit be2adc8293102641192b923c73943ae08703b91e Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 10:03:15 2012 -0400 Explain post-release actions in HACKING Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit ac71a69eb1060f15c4c57db9d2e7caa0dbe8271c Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 09:52:30 2012 -0400 Document the release process Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 07bb826636334dc21a6383e3ee40343c6046bb61 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Oct 3 09:33:10 2012 -0400 Update my email address Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e5f3d2894e46ea82ab4faea59bc33049f919b8ac Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 15:32:54 2012 -0400 Post-release version bump to 2.0.1 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 4243601009a887469e2864dffbf0936ea1ef7e9b Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 15:29:52 2012 -0400 Update NEWS for release Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 53bde4e2571cbf63a9a128df5426a1a0514dd9d6 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 14:03:37 2012 -0400 Update translations from Transifex Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 po/en_GB.po create mode 100644 po/fa_IR.po create mode 100644 po/ia.po create mode 100644 po/it.po create mode 100644 po/ka.po commit 05261aa1d7e26b3e758cb44659e44320d0f256b5 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:58:01 2012 -0400 Add docs for udisks_linux_drive_ata_secure_erase_sync() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 8c3b220ecc67d15ea2207442929a207ff3d1de82 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:50:37 2012 -0400 Add docs for udisks_linux_drive_ata_apply_configuration() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 43e7c205d2660174a487d4f20b6e0487c867aba9 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:46:25 2012 -0400 Remove udisks_daemon_util_on_other_seat() from sections.txt Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 1eb490fda9b644832d3e09b1ecbf2995cdc9bf32 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:45:39 2012 -0400 Fix docs for udisks_daemon_util_file_set_contents() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 079e7864cb5315c9041c522b56ba8d3a35cf9552 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:44:52 2012 -0400 Fix docs for udisks_daemon_launch_threaded_job() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 699ffe0e1605b5f4c31a4773b11ee48c8f1b8184 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:44:26 2012 -0400 Fix docs for udisks_daemon_launch_spawned_job_sync() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 343f8338f3e878f1f9fafcd2f50bef453c096da5 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:44:09 2012 -0400 Fix docs for udisks_daemon_launch_spawned_job() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 4910d823fbd6767b5c5a170f8d8e820a97b6bca7 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:43:44 2012 -0400 Fix docs for udisks_daemon_launch_simple_job() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 1d18883d2c8a0a62ed720f4b0cbd5072fdd9a718 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:40:32 2012 -0400 Add docs for udisks_base_job_set_auto_estimate() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 6ed00c92e33de7f6a90741b5eaf9443b92243955 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:40:12 2012 -0400 Add docs for udisks_base_job_get_auto_estimate() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 8173647654726ff375dc0269483b809719ae9acb Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:37:54 2012 -0400 Fix up docs for udisks_daemon_util_file_set_contents() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 1928096127cf587982fff3a89b0c105ccc6948c9 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:35:47 2012 -0400 Fix docs for udisks_daemon_util_on_same_seat() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit fa2700ded7e36c0b066299e2cc63123cded2b6ef Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:29:01 2012 -0400 docs: use CDATA for email addresses to avoid them being mangled Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 7e0d4a88473bf9386c74a8e1a406a32ff2fb79a7 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:16:46 2012 -0400 docs: add some more meta information to the man pages (version, source, manual) Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0aee0c461708aa0d9787dbe8c94b1d68bbcf2261 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 13:01:06 2012 -0400 docs: Document udisksctl(1)'s status command Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 9ebfa99fea52624eea07fbfdfceeb5fdf28669ff Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 12:58:15 2012 -0400 docs: Document udisksctl(1)'s info command Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 6dbc060ad8a7481b2c26b35c9aba99dfebe777d5 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 12:53:47 2012 -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> commit 11834b25287183d855f511c13fac0cddea1f2a16 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 12:40:23 2012 -0400 docs: Link to http://www.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> commit d0646cbc4082347ffd76ed061787184dfc05f741 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 12:36:44 2012 -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> commit 14ac0484124821d85a7e9c2c755a080a9154c7e7 Author: David Zeuthen <zeuthen@gmail.com> Date: Tue Oct 2 11:38:10 2012 -0400 docs: only reference hdparm(8) at the end of the paragraph Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit c21d82c04472dbc702549586df59690ec89fd942 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 28 15:05:53 2012 -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> commit 9c183605200487e5ed7d387dafe20db9671254d1 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 28 15:03:04 2012 -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> commit 99161b5cca305b7853680cfab54a3c633873ef5d Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 28 13:58:04 2012 -0400 Move bash completion script into /usr/share/bash-completion/completions Signed-off-by: David Zeuthen <zeuthen@gmail.com> create mode 100644 data/completions/udisksctl delete mode 100644 tools/udisksctl-bash-completion.sh commit 029ffb73a176f1860d6edaf47eb89ea86a37549e Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 28 10:53:25 2012 -0400 Fix glaringly wrong documentation for Filesystem.Mount() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit edd933f3fc1c1b765375253c2c16decb5c83fe4a Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 27 13:16:31 2012 -0400 Mention the right file when complaing about /proc/swaps Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 02c17af4b3b2544018d218ddc047f5219d8c286c Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 27 13:14:15 2012 -0400 Make it work without requiring the kernel to be CONFIG_SWAP=y https://bugs.freedesktop.org/show_bug.cgi?id=50142 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit a826a927125d3df4d2b4df947c02be2b55473b1d Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 27 13:05:08 2012 -0400 Don't complain about missing /etc/fstab file It's not inconceivable that this file is missing so don't loudly complain about it. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 1f196a9f2f0f9e1d9e4c037f73a3db7fc2958057 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 27 13:00:57 2012 -0400 Don't complain about missing /etc/crypttab file Some systems don't have it at all - notably F18 doesn't have if unless you use encrypted root. Also make the file monitor pick up when the file is deleted. This was reported in bug 53147: https://bugs.freedesktop.org/show_bug.cgi?id=53147 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 381c699be1d44e617e994aa4e0546f088c4fc037 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 26 12:04:59 2012 -0400 Only do the isohybrid hack for the first partition Otherwise we end up showing two partitions and that is unwanted. See https://bugzilla.redhat.com/show_bug.cgi?id=860243 for details. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e07849db11c8f5cfdeaf2dd3bb9b430c99c376c7 Author: Vincent Untz <vuntz@gnome.org> Date: Tue Sep 25 10:55:31 2012 +0200 Fix same seat detection if built with systemd, but not booted with it If we haven't booted with systemd, then we can only assume it's always the same seat. Based on patch by Takashi Iwai <tiwai@suse.com>. https://bugzilla.novell.com/show_bug.cgi?id=769570 https://bugs.freedesktop.org/show_bug.cgi?id=55309 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit fd9277e38cd59bcfdc9b064b257e77a69f86511f Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 21 11:53:16 2012 -0400 Consistently refer to MD-RAID as "Linux RAID" in user-visible strings Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 672f0833b6a63afcac095b63978a5283f5ff7dfe Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 20 17:03:37 2012 -0400 Set MDRaid:ChunkSize for raid0 but not for raid1 It so happens that redundancy != striped - for example raid0 has the former, but not the latter and raid1 is the other way around. And raid4, raid5, raid6 and raid10 has both properties. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 313242c32271867eb2e1f746f291e0acff75b417 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 20 13:23:28 2012 -0400 Nuke debug spew Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit e09b6ffceb194871046d516225bae7e77b6868ab Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 20 13:13:23 2012 -0400 Handle nested arrays We actually need mdadm(8) changes for this to work properly otherwise the MD_* properties end up overwriting each other. We also have to be careful since a single GUdevDevice instance can be in two distinct UDisksLinuxMDRaidObject. http://people.freedesktop.org/~david/gnome-disks-mdraid-20120920-1.png Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 0681335a78f7517e303c2c9e6f632def1f08d2bc Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 20 13:12:43 2012 -0400 Mention that MDRaid:SyncAction is the empty string for arrays w/o redundancy Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 947f94a9641a05c35a270b7d1ba193ea794ab096 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 20 13:11:13 2012 -0400 UDisksClient: include RAID level in description of RAID Array Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit b52154d41fe1bf5abcafd90316827454d4c6dc11 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 20 10:37:05 2012 -0400 Slightly rework UDisksObjectInfo docs Also include the UDisksObject instance in the struct. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 260c3eeb855f36d2be776947433020adc5182509 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 17:46:05 2012 -0400 Skip homehost when calcuating @name member in UDisksObjectInfo for MD-RAID Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 5cd826eec556f20a13ad852aad961aba8f6d27d8 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 17:44:15 2012 -0400 Initialize reference count to 1 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 7de624a70cc8ce6578c313e2829a8037f81bde29 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 17:37:18 2012 -0400 Deprecate udisks_client_get_drive_info() with udisks_client_get_object_info() The new function is a bit more abstract, works on more types and returns a UDisksObjectInfo object. This allows us to add information in the future. Also introduce symbolic icons as requested in bug https://bugs.freedesktop.org/show_bug.cgi?id=54503 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit a02301b7e24d07d3e9d610b5c776c18dd9df3067 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 13:59:00 2012 -0400 Revert "Simplify codepath when removing a RAID disk" Doesn't seem to reliably work - probably an mdadm(8) bug. Revert for now, make a note to investigate later. This reverts commit fb3df672113a380f2d7555bf5dcac0814b4a0c80. commit 784025335e961260bd5af60578f76800482a45e8 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 13:58:25 2012 -0400 Export MDRaid:ChunkSize property Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 9026e61f3139aa6e2e3e3f7caa994d71ef3e714a Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 13:37:09 2012 -0400 Add MDRaid:BitmapLocation property This is useful for the GUI to convey to the user when a bitmap is in use. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit fb3df672113a380f2d7555bf5dcac0814b4a0c80 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 12:26:59 2012 -0400 Simplify codepath when removing a RAID disk No need for two mdadm(8) invocations, can use --set-faulty and --remove in the same invocation. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 69f649b74d3d469d6dfe2c9ddd2d2a3a32faff3c Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Sep 19 12:21:55 2012 -0400 Express RAID member state as an array of strings, instead of just a string The sysfs file /sys/block/md0/md/dev-sda/state is a comma-separated list of states, not just one state. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 1396be6c3f4d6aae6b38b469b1bd51fce46a829c Author: Claudio Saavedra <csaavedra@igalia.com> Date: Wed Sep 19 15:51:47 2012 +0300 configure.ac: raise gudev dependency udisks is using g_udev_device_get_usec_since_initialized(), which was added in gudev 165. https://bugs.freedesktop.org/show_bug.cgi?id=55092 Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 5021a0baab993ab96b6fd5c1c46c454cd98b44f6 Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Sep 15 13:56:04 2012 -0400 Add @start-degraded option to MDRaid.Start() Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 703a0cd310aff8d5197172b5171354b357791563 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 14 16:40:30 2012 -0400 Add MDRaid.RemoveDevice() method This is used in the "-" button in Disks, see http://people.freedesktop.org/~david/gnome-disks-mdraid-20120914-2.png Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit eae63a2406223eecb2976159c36cbbec062b1b2a Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 14 13:04:51 2012 -0400 Tweak MDRaid:ActiveDevices some more We need to iterate over md/dev-*, not just md/rd%d, otherwise we miss spares and failed devices. With this change, Disks can show the user what really is going on http://people.freedesktop.org/~david/gnome-disks-mdraid-20120914-1.png Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit f9f5cb797ed4af6fa0ef9096fba7a9d5b9902010 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Sep 14 11:03:19 2012 -0400 Slightly change how the MDRaid:ActiveDevice property works It's easier to use from applications if it's an array with a fixed size. Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit c4a7dd4483d7b0ae97a8ac3028571439b9507f9c Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 13 18:58:40 2012 -0400 Make Block:PreferredDevice work for partitions of RAID arrays Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 50a4df85bd83fd1a31b092549d87f3205a8f4066 Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 13 18:55:42 2012 -0400 UDisksClient: ignore partitions when finding block device for RAID Array Signed-off-by: David Zeuthen <zeuthen@gmail.com> commit 80d0ba32bcdc6aba40e9adab1ca8e9ab9b1c43eb Author: David Zeuthen <zeuthen@gmail.com> Date: Thu Sep 13 18:00:24 2012 -0400 Add MDRaid:ActiveDevices property This property contains a list of the active devices in the arra ... |