1. 14 Dec, 2020 1 commit
  2. 09 Dec, 2020 14 commits
  3. 08 Dec, 2020 2 commits
  4. 07 Dec, 2020 1 commit
  5. 04 Dec, 2020 2 commits
  6. 02 Dec, 2020 4 commits
  7. 01 Dec, 2020 2 commits
  8. 30 Nov, 2020 4 commits
  9. 27 Nov, 2020 1 commit
  10. 26 Nov, 2020 1 commit
  11. 25 Nov, 2020 2 commits
  12. 23 Nov, 2020 6 commits
    • Marco Trevisan's avatar
      identify: Use stored print to show identify information · dda3587b
      Marco Trevisan authored
      The stored print may contain more metadata, so let's use that for
      device-stored print, if available.
      dda3587b
    • Marco Trevisan's avatar
      examples: Add Identify example · fb585421
      Marco Trevisan authored
      It was the only main action left in the examples, we use the gallery
      from the device if available, otherwise the local one.
      fb585421
    • Benjamin Berg's avatar
      virtual-image: Add command to trigger device removal · 21ee241f
      Benjamin Berg authored
      This is primarily useful for fprintd testing.
      21ee241f
    • Benjamin Berg's avatar
      image-device: Fix incorrect g_free of error · 280f916a
      Benjamin Berg authored
      GError needs to be free'ed using g_error_free, fix this.
      280f916a
    • Benjamin Berg's avatar
      tests: Add device removal test · 1b5dd005
      Benjamin Berg authored
      This tests all relevant scenarios of device removal, i.e.:
       * device is not open
       * device is currently closing
       * device is open and idle
       * device is currently opening
       * device is open and active
      
      The test ensures that in all scenarios the following holds true:
       * device "removed" signal is only emitted after the action completes
       * context "device-removed" signal is only emitted after the device has
         been closed
      
      Note that the "opening" case is special. Here we confirm that a success
      from "open" will not be overriden by a FP_DEVICE_ERROR_REMOVED error, in
      order to correctly signal that the internal device state is open and it
      needs to be closed.
      1b5dd005
    • Benjamin Berg's avatar
      virtual-image: Add a notify::removed handler · 8a6f1932
      Benjamin Berg authored
      In general, we rely on the underlying transport layer to throw errors
      which will abort the current operation. This does not work for the
      virtual image device though, but we need it there for testing purposes.
      
      Add a notify::removed handler that makes things work as expected. Let it
      throw a protocol error which should not be visible to the outside.
      8a6f1932