1. 02 Nov, 2008 20 commits
  2. 22 May, 2008 11 commits
  3. 18 May, 2008 1 commit
    • Bastien Nocera's avatar
      Add user tracking when claiming a device · 1748e5f4
      Bastien Nocera authored and Daniel Drake's avatar Daniel Drake committed
      Mark all the methods on the device as async, so we
      can get access to the associated DBusGMethodInvocation.
      
      When claiming the device, remember the sender, and for every
      API entry point, check that the sender is the same as the one
      that made the original claim.
      
      Trying to enroll a user whilst the device is already claimed
      from another program will fail with:
      ** ERROR **: failed to claim device: Device was already claimed
      
      This is the first step towards PolicyKit and multi-user support
      1748e5f4
  4. 16 May, 2008 4 commits
  5. 14 May, 2008 3 commits
    • Bastien Nocera's avatar
      Use GObject-provided boilerplate · 1919ca75
      Bastien Nocera authored and Daniel Drake's avatar Daniel Drake committed
      Clean up the device object by using G_DEFINE_TYPE
      1919ca75
    • Bastien Nocera's avatar
      Clean up object creation code · 017f7704
      Bastien Nocera authored and Daniel Drake's avatar Daniel Drake committed
      Make all of FPrintManager's struct members private,
      warn of errors using a _get_error() function, as object
      creation can never fail.
      
      The only error possible shouldn't really be an error though,
      as it only means that no devices will be enumerated, but it
      could tell us about newly plugged devices instead.
      017f7704
    • Bastien Nocera's avatar
      Add i18n support · 3ad569b6
      Bastien Nocera authored and Daniel Drake's avatar Daniel Drake committed
      This will be needed to get better error messages to
      users of the D-Bus API. We use glib's builtin gettext
      support. No strings marked as translatable yet, we'll
      need to mark those user-visible strings carefully and
      review them.
      3ad569b6
  6. 13 May, 2008 1 commit
    • Bastien Nocera's avatar
      Make the daemon a system daemon · 6cbb0796
      Bastien Nocera authored
      With this patch, and the D-Bus activation patches posted earlier the
      fprintd daemon is started automatically when needed.
      
      We should have a way to exit it nicely when there are no users
      anymore as well...
      6cbb0796