1. 16 Jul, 2019 9 commits
  2. 11 Jul, 2019 4 commits
  3. 10 Jul, 2019 2 commits
  4. 03 Jul, 2019 3 commits
  5. 18 Jun, 2019 4 commits
    • Benjamin Berg's avatar
      build: Make glib a libfprint dependency · 1777f06a
      Benjamin Berg authored
      We are going to use GLib types in the public API now.
    • Benjamin Berg's avatar
      lib: Remove all deprecated API · bebbda80
      Benjamin Berg authored
    • Benjamin Berg's avatar
      lib: Remove state from fp_img_driver activate handler · 4cec2841
      Benjamin Berg authored
      The state was always AWAIT_FINGER and it was never used by any driver
      (except for error checking). So remove it, in particular as a correct
      state change will be done after activation anyway.
      The only driver with code that actually did anything based on this was
      the URU4000 driver. However, all it did was an explicit state change
      execution. This is not necessary, as the state_change handler is called
      anyway (i.e. we now only write the AWAIT_FINGER register once rather
      than twice).
      Manual changes plus:
      @ init @
      identifier driver_name;
      identifier activate_func;
      struct fp_img_driver driver_name = {
          .activate = activate_func,
      @ remove_arg @
      identifier dev;
      identifier state;
      identifier init.activate_func;
      activate_func (
      	struct fp_img_dev *dev
      -	, enum fp_imgdev_state state
      -	if (state != IMGDEV_STATE_AWAIT_FINGER_ON) { ... }
    • Benjamin Berg's avatar
      fdu2000: Remove driver as it has been defunct for long · 3b32bacc
      Benjamin Berg authored
      The driver was never ported to the new asynchronous model, meaning it
      has been defunct since some time in 2008. Remove the driver, as
      seemingly no one has complained about this and we have no proper way to
      even verify a port is correct.
  6. 12 Jun, 2019 4 commits
  7. 11 Jun, 2019 3 commits
    • Benjamin Berg's avatar
      data: Deprecate print storage API · 0a45ed7a
      Benjamin Berg authored
      The only API user currently seems to be the examples. fprintd has its
      own storage and that will be a good idea in general.
      So deprecate the API, we'll need to find a different solution for the
      examples eventually.
    • Benjamin Berg's avatar
      core: Add guards to public API · 1db2dc3f
      Benjamin Berg authored
      Add appropriate g_return_val_if_fail macros to all public API functions
      to guard against NULL pointers being passed into libfprint.
    • Benjamin Berg's avatar
      poll: Remove fpi_timeout_cancel_for_dev · 953c7557
      Benjamin Berg authored
      The function was committed by accident as part of commit d18e1053
      (lib: Add a way to name timeouts). It is not used anywhere and
      fpi_timeout_cancel_all_for_dev exists, is exported and used and serves
      the same purpose.
  8. 06 Jun, 2019 7 commits
  9. 14 May, 2019 1 commit
    • Peter Maatman's avatar
      etes603: Prevent hang during enroll process · 6764ec79
      Peter Maatman authored
      This commit fixes a hang in gnome-settings when trying to enroll a finger.
      The same issue could be seen in the enroll example. Previously the enroll
      example would hang on "deactivating" because at some point dev->is_active
      is set to false and m_exit_start is never called.
  10. 06 May, 2019 1 commit
  11. 21 Mar, 2019 1 commit
  12. 21 Feb, 2019 1 commit
    • Seong-Joong Kim's avatar
      uru4000: Fix integer overflow in imaging_run_state() · ca26e85f
      Seong-Joong Kim authored
      ‘img->key_number’ variable is originally from the device through bulk
      endpoint of USB. The variable is immediately assigned to ‘buf[0]’ for
      sending to control endpoint of the device. Here, integer overflow may
      occur when the ‘img->key_number’ attempts to assign a value that is
      outside of type range of ‘char’ to the ‘buf[0]’