1. 23 Mar, 2015 1 commit
  2. 21 Mar, 2015 4 commits
  3. 19 Mar, 2015 2 commits
  4. 18 Mar, 2015 1 commit
  5. 17 Mar, 2015 2 commits
  6. 16 Mar, 2015 4 commits
  7. 15 Mar, 2015 4 commits
  8. 14 Mar, 2015 7 commits
  9. 13 Mar, 2015 3 commits
  10. 12 Mar, 2015 5 commits
  11. 11 Mar, 2015 3 commits
  12. 10 Mar, 2015 1 commit
  13. 09 Mar, 2015 3 commits
    • Christophe Fergeau's avatar
      afc: Fix force unmount of devices · 32adf492
      Christophe Fergeau authored
      When unplugging an afc device without unmounting it first, the
      corresponding gvfsd-afc process does not go away in spite of the
      exit(1) workaround added for bgo#708288.
      
      This happens because idevice_event_unsubscribe() in called from the
      thread where the _idevice_event_cb() runs in. libimobiledevice (through
      libusbmuxd) creates a thread to watch for device events, and calls the
      idevice_event_cb_t from that thread. idevice_event_unsubscribe() then
      forcfully kills that thread (see usbmuxd_unsubscribe() in libusbmuxd),
      so exit(1) code after the call to idevice_event_unsubscribe() never gets
      a chance to run.
      
      Moving the call to idevice_event_unsubscribe() and the
      g_vfs_backend_force_unmount() call to run in the main loop through
      g_idle_add() avoids this issue, and allows the code handling force
      unmounts to run as expected.
      
      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=708288
      32adf492
    • Ondrej Holy's avatar
    • Ondrej Holy's avatar
      metatree: always clear fd to -1 · 26c3dc39
      Ondrej Holy authored
      meta_tree_clear clears fd to 0 currently, however it should be set to -1
      to avoid risk that fd 0 is closed, when meta_tree_clear is called twice.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=598561
      26c3dc39