1. 12 Dec, 2018 1 commit
    • Bastien Nocera's avatar
      lib: Fix memory leak on error in fp_print_data_save() · 21bac430
      Bastien Nocera authored
      libfprint/fpi-data.c:393:3: warning: Potential leak of memory pointed to by 'buf'
                      fp_err("couldn't create storage directory");
                      ^~~~~~
      libfprint/fpi-log.h:75:16: note: expanded from macro 'fp_err'
       #define fp_err g_warning
                     ^~~~~~~~~
      21bac430
  2. 29 Nov, 2018 2 commits
  3. 25 Nov, 2018 1 commit
  4. 09 Nov, 2018 1 commit
  5. 28 Sep, 2018 2 commits
  6. 24 May, 2018 1 commit
  7. 23 May, 2018 3 commits
  8. 18 May, 2018 1 commit
  9. 17 May, 2018 1 commit
  10. 03 Dec, 2017 1 commit
  11. 19 Aug, 2013 1 commit
  12. 26 Jun, 2013 1 commit
  13. 25 Nov, 2008 1 commit
  14. 19 Apr, 2008 1 commit
  15. 30 Jan, 2008 1 commit
  16. 27 Dec, 2007 1 commit
    • Daniel Drake's avatar
      Compiler flags update · 659d8346
      Daniel Drake authored
      Dropped -Wextra as it is not that useful.
      Set compiler flags to be more like the kernel's.
      Set std=gnu99
      Fixed some warnings.
      659d8346
  17. 19 Nov, 2007 1 commit
  18. 15 Nov, 2007 2 commits
  19. 04 Nov, 2007 1 commit
  20. 31 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Print discovery · 447b1f01
      Daniel Drake authored
      Add concept of "discovered prints" and flesh out the API. A discovered print
      was found based on file name but has not been checked for file integrity,
      and of course there is no guarantee that it is usable when you try to
      use it later (might have been deleted, etc).
      
      The .fprint directory structure was changed - instead of using mnemonics
      like "rind" we use their numeric value in the fp_finger enum as the filename.
      447b1f01
  21. 30 Oct, 2007 1 commit
  22. 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
  23. 26 Oct, 2007 1 commit
  24. 16 Oct, 2007 1 commit
    • Daniel Drake's avatar
      storage: add save/load functionality · 680142f2
      Daniel Drake authored
      Prints can now be saved to disk (but you currently must classify which
      finger they are) and you can load them later.
      
      Added 2 simple example programs to demonstrate this.
      680142f2
  25. 15 Oct, 2007 1 commit
  26. 13 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Enrollment tweaks · 50e2de07
      Daniel Drake authored
      upekts will need to know when the first enrollment stage is attempted for
      the first time, so add an __enroll_stage counter which actually indicates
      the next stage to enroll. -1 is a special value and it means 0 is next *and*
      it is the initial attemt.
      
      Added more debug output to the enroll handler.
      Added new fp_enroll_status codes for too short or uncentered scans.
      
      Changed the print_data allocator to consider the device rather than the
      driver, this feels more natural. Added missing return value.
      
      Make fp_enroll_status codes start at 1. 0 can now be used as a
      special/temporary value by the drivers. Also check that we aren't exceeding
      the number of enroll stages.
      
      Also add a missing exit() call to the verify example and update for the
      above.
      50e2de07
  27. 12 Oct, 2007 1 commit
    • Daniel Drake's avatar
      Add logging infrastructure · ec91736a
      Daniel Drake authored
      Also added some debug/error messages to existing code. For now debugging is
      always on, this will be made optional later.
      ec91736a
  28. 08 Oct, 2007 3 commits