Commit Graph

1974 Commits

Author SHA1 Message Date
Laurent Bigonville 3207a658de Bump debhelper version to >= 10.3 to have meson support 2018-07-16 16:29:52 +02:00
Laurent Bigonville dc7c2a03e4 Ship the API doc in a new libfprint-doc package 2018-07-16 16:21:12 +02:00
Bastien Nocera 19e7b217c1 lib: Downgrade fp_err() to be non-fatal
Similarly to b1ac865abd, downgrade
fp_err() to be non-fatal. A number of drivers would spit out an error
when encountering this call, but not crash, carry on and most of the
time recover.

Make sure we don't assert in those cases.
2018-07-16 16:08:54 +02:00
Bastien Nocera 29d3541b74 lib: Downgrade BUG* assertions to work-around crashes #2
Same as b1ac865abd but for the drivers
API.
2018-07-16 16:07:25 +02:00
Bastien Nocera b9e5b3a55c Merge branch 'wip/hadess/downgrade-assert' into 'master'
lib: Downgrade BUG* assertions to work-around crashes

Closes #77

See merge request libfprint/libfprint!6
2018-07-03 09:44:56 +00:00
Bastien Nocera b1ac865abd lib: Downgrade BUG* assertions to work-around crashes
BUG() and BUG_ON() didn't use to assert, but only print an error if
debugging was enabled. This was hiding a lot of state bugs in drivers,
and transforming those into assertions causes crashes.

Downgrade the assertion to only print a warning, and hope that those
eventually get fixed in the drivers so we can re-enable them.

Closes: #77
2018-07-03 11:40:25 +02:00
Bastien Nocera 21504c0621 Merge branch 'wip/hadess/poll-retval' into 'master'
poll: Fix fp_get_pollfds retval type

See merge request libfprint/libfprint!5
2018-06-26 13:18:40 +00:00
Bastien Nocera 056ea541dd poll: Fix fp_get_pollfds retval type
fp_get_pollfds() is supposed to return a negative value on failure, but
size_t is an unsigned integer. Use ssize_t instead.
2018-06-26 14:53:53 +02:00
Laurent Bigonville 6da130a512 debian/libfprint0.postinst: Call udevadm --trigger also for the new supported readers 2018-06-21 22:59:02 +02:00
Laurent Bigonville 3f29741cc2 debian/rules: Simplify the installation of the udev rules file 2018-06-21 21:13:12 +02:00
Laurent Bigonville 98bc488e44 debian/control: Bump all the packages to priority optional, priority extra is now deprecated 2018-06-21 21:12:21 +02:00
Laurent Bigonville d88da3380f debian/control: Bump Standards-Version to 4.1.4 (no further changes) 2018-06-21 21:12:21 +02:00
Laurent Bigonville 847a201bfe debian/rules: Do not explicitly pass --parallel to debhelper as it's the default now 2018-06-21 21:12:21 +02:00
Laurent Bigonville dee696cdd1 debian/libfprint0.lintian-overrides: Overrides udev-rule-missing-uaccess, we don't want the readers to be accessible by unprivileged users 2018-06-21 21:12:21 +02:00
Laurent Bigonville f1f19c3c6e debian/libfprint0.symbols: Add newly exported symbols 2018-06-21 21:12:21 +02:00
Laurent Bigonville 8cbe405004 Build the documentation 2018-06-21 15:32:12 +02:00
Laurent Bigonville 98d3045da3 Switch to meson, the static library is not built anymore 2018-06-21 15:31:32 +02:00
Laurent Bigonville fbd763a849 d/p/use-non-versionned-libusbh-path.patch: Updated 2018-06-21 13:14:37 +02:00
Laurent Bigonville 9a5c958c0c d/p/kFreeBSD_FTBFS_add_ETIME_definition.patch: Updated 2018-06-21 13:08:58 +02:00
Laurent Bigonville f24d71f1ec New upstream release
* New upstream release
  - Fix security hole by zero out memory when allocated (Closes: #890827)
2018-06-21 12:59:07 +02:00
Laurent Bigonville 74d89aa856 Update upstream source from tag 'upstream/0.8.1'
Update to upstream version '0.8.1'
with Debian dir cff2f30a93
2018-06-21 12:54:14 +02:00
Laurent Bigonville 7bf73eb3d0 New upstream version 0.8.1 2018-06-21 12:54:13 +02:00
Laurent Bigonville 6573095680 debian/watch: Update the watch file to point to the freedesktop gitlab release page 2018-06-21 12:46:03 +02:00
Bastien Nocera 871fddf5fb Merge branch 'wip/hadess/more-upekts-statuses' into 'master'
upekts: Fix enrollment never finishing on some upekts devices

See merge request libfprint/libfprint!3
2018-06-20 17:16:08 +00:00
Bastien Nocera c284858d06 upekts: Fix enrollment never finishing on some upekts devices
Add support for more device status codes, brought back from the
now-removed UPEKE2 driver.

See https://gitlab.freedesktop.org/libfprint/libfprint/blob/3bf55a3e0766ca90f5befc1ed161b1c83005a962/libfprint/drivers/upeke2.c#L1013
2018-06-19 11:11:04 +02:00
Bastien Nocera bb4d888661 elan: Fix typo in comment 2018-06-18 18:07:24 +02:00
Bastien Nocera ff77cfc9b5 doc: Update more website links 2018-06-18 14:56:40 +02:00
Bastien Nocera 80f91ecb7b Merge branch 'master' into 'master'
elan: Add USB ID for TNP Nano USB Fingerprint Reader (04f3:0c26)

See merge request libfprint/libfprint!1
2018-06-13 20:09:47 +00:00
Corentin Noël 6cb77465ab elan: Add USB ID for TNP Nano USB Fingerprint Reader (04f3:0c26)
The device works without any additional changes to the driver.

https://www.amazon.co.uk/gp/product/B075955HY7/
2018-06-13 20:22:29 +01:00
Bastien Nocera 6f6127cbb6 0.8.1 V_0_8_1 2018-06-12 16:05:45 +02:00
Bastien Nocera e1d85fb636 build: Install udev rules in correct directory
The udevdir variable in udev.pc might not have a trailing slash.
2018-06-12 16:03:34 +02:00
Bastien Nocera 74b5c92787 0.8.0 V_0_8_0 2018-06-12 15:42:22 +02:00
Bastien Nocera ac1f97e2eb lib: Supported devices list is for master, not stable 2018-06-12 12:46:19 +02:00
Bastien Nocera 40f486b108 HACKING: Update hacking file 2018-06-12 11:06:26 +02:00
Bastien Nocera b62e67401c lib: Fix supported devices page title again
We need to call setlocale() so we run in UTF-8 mode, and can print that
sweet sweet em dash.
2018-06-08 16:23:35 +02:00
Bastien Nocera dd0a0134a6 lib: Fix supported devices page title 2018-06-07 17:46:08 +02:00
Bastien Nocera 5e24000799 build: Remove unused meson rule
We're generating the supported-devices.md file in the website CI now.
2018-06-07 17:39:36 +02:00
Bastien Nocera c5cdfcb120 lib: Sort supported devices list 2018-06-07 17:39:04 +02:00
Bastien Nocera 549a6694d2 build: Disable supported-devices.md generation for now
As added in e5393bf46a

It fails currently.
2018-06-04 16:13:08 +02:00
Bastien Nocera 14e34e1d15 build: Remove ported Makefile.am snippet 2018-06-03 14:41:02 +02:00
Bastien Nocera e5393bf46a lib: Add script to print MarkDown page of supported devices 2018-06-03 14:40:34 +02:00
Bastien Nocera 878a201bb1 README: Update links to new website 2018-06-03 00:31:05 +02:00
Bastien Nocera b0e4619e0a docs: Update links to new website 2018-06-03 00:31:05 +02:00
Bastien Nocera aec65777a7 nbis: Update links to new website 2018-06-03 00:30:10 +02:00
Bastien Nocera 31bad8ddd2 build: Fix fprint.h install destination
Since the port to meson, fprint.h was installing to $includedir instead
of $includedir/libfprint/
2018-05-31 14:35:16 +02:00
Bastien Nocera 79d65c907f build: Add missing X11 deps for the examples 2018-05-31 12:30:48 +02:00
Bastien Nocera 92231d984f build: Add some missing build essentials 2018-05-31 12:23:30 +02:00
Bastien Nocera 2fbc77955e build: Add CI
Barebones, just compiles libfprint.
2018-05-31 12:18:17 +02:00
Bastien Nocera c91819f551 lib: Remove drv->close absence support in fp_async_dev_close()
The driver will at least need to close its hardware resources, and
free memory, so it must have had one.

This case was never actually used as can be seen from the fact that
we would assert in fpi_drvcb_close_complete() if the state was wrong
but never set it to the expected value.
2018-05-31 11:06:31 +02:00
Bastien Nocera b3f6ff5a36 lib: Add guard to async functions
To avoid having NULL devices being passed dereferenced.
2018-05-31 11:06:31 +02:00