1. 29 May, 2018 3 commits
  2. 25 May, 2018 1 commit
    • Bastien Nocera's avatar
      upekts: Fix compilation warning · f433a4d6
      Bastien Nocera authored
      libfprint/drivers/upekts.c: In function ‘alloc_send_cmd_transfer’:
      libfprint/drivers/upekts.c:161:2: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
        strncpy(buf, "Ciao", 4);
        ^~~~~~~~~~~~~~~~~~~~~~~
      
      Replace with memcpy() to only copy the 4 bytes we need.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=106281
      f433a4d6
  3. 24 May, 2018 1 commit
    • Bastien Nocera's avatar
      drivers: Simplify headers · 994061af
      Bastien Nocera authored
      Remove all the headers already included through "fp_internal.h" such as
      <libusb.h> and <errno.h>, include "assembling.h" and "driver_ids.h" there
      as well to avoid doing it in (almost) every driver.
      994061af
  4. 23 May, 2018 2 commits
  5. 04 Nov, 2016 1 commit
  6. 19 Aug, 2013 1 commit
  7. 16 Nov, 2012 1 commit
  8. 20 Nov, 2008 2 commits
  9. 06 Apr, 2008 1 commit
  10. 29 Mar, 2008 1 commit
  11. 10 Mar, 2008 1 commit
  12. 01 Mar, 2008 1 commit
    • Daniel Drake's avatar
      Public async API implementation · 88e9f4a5
      Daniel Drake authored
      Involved some internal overhaul/reorganisation. Nice side effect is that
      the synchronous API is now expressed purely in terms of the public async
      API.
      88e9f4a5
  13. 16 Feb, 2008 1 commit
  14. 30 Jan, 2008 1 commit
  15. 15 Nov, 2007 2 commits
    • Daniel Drake's avatar
      Return images through enroll/verify path · 5485f803
      Daniel Drake authored
      Added new API functions to obtain images, even when scans are bad, perhaps
      a useful way to show the user just how good/bad the scan actually was.
      
      Drivers and examples updated accordingly.
      5485f803
    • Daniel Drake's avatar
      upekts relicensing · a76f55db
      Daniel Drake authored
      Pavel Machek and Timo Hoenig agreed to relicense their work. Thanks guys,
      I look forward to working together.
      a76f55db
  16. 31 Oct, 2007 1 commit
  17. 29 Oct, 2007 1 commit
  18. 28 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Improve print_data structure and on-disk format · 294f9ad4
      Daniel Drake authored
      Drivers now have an ID number. These will be assigned by me and documented
      on the wiki. 0 cannot be used.
      
      Drivers now define a devtype for each device they initialise. This is to
      cope with the situation where a driver can support varying devices where
      their print data is incompatible (i.e. image scaling is totally changed).
      This doesn't apply to any existing supported devices.
      
      Print data no longer includes driver name, and includes driver ID instead.
      
      Paths to saved print data now include driver ID and devtype, and no longer
      include driver name.
      
      APIs exposed for converting a print_data into a blob which can then
      be loaded back again later. Useful for systems who don't want to use
      my simple storage system (which is only aimed at a single user).
      
      File format is now defined and will be documented on the wiki. The header
      is larger as we can no longer rely on directory paths in all scenarios.
      
      Print data compat check now checks devtype and driver ID.
      294f9ad4
  19. 25 Oct, 2007 2 commits
  20. 23 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Basic image driver foundations · 2709c6dc
      Daniel Drake authored
      The basic model is that image drivers declare a fp_img_driver structure
      rather than a fp_driver struct. fp_img_driver will contain primitive imaging
      operations such as 'scan finger and return image'. The imgdev layer will
      generically implement the primitive fp_driver operations, and the imgdev
      layer will fix up the enroll/verify/etc pointers at driver registration
      time.
      
      Removed const from all fp_driver declarations, as these are now modified
      dynamically in the case of imaging drivers.
      2709c6dc
  21. 16 Oct, 2007 2 commits
  22. 15 Oct, 2007 2 commits
  23. 13 Oct, 2007 2 commits
    • Daniel Drake's avatar
      Enrollment: improved error reporting · 39271b4f
      Daniel Drake authored
      Convert enrollment function to return a signed integer, which is negative
      on error or corresponds into fp_enroll_result otherwise.
      Now we can treat a 'FAIL' condition differently from an actual error: fail
      means that enrollment didn't complete because the data was nonsense or
      whatever (e.g. scanned a different finger for each stage?).
      
      Updated upekts accordingly.
      39271b4f
    • Daniel Drake's avatar
      upekts: communication handling and enrollment implementation · ab5b1ca8
      Daniel Drake authored
      This completes an enrollment implementation for the upekts driver.
      It's based on code from libthinkfinger, but as there seemed to be many
      unknown details there, I spent some time analysing the bus messages in
      more detail and have effectively rewritten almost all of the borrowed code.
      
      Note that libthinkfinger is GPL licensed, so that reflects on this code too.
      At release time I will ask them if they are OK for me to relicense it.
      ab5b1ca8
  24. 08 Oct, 2007 2 commits