libfprint/libfprint
Benjamin Berg c7cab77fc1 usb-transfer: Work around libgusb cancellation issue
We have plenty of code paths where a transfer may be cancelled before it
is submitted. Unfortunately, libgusb up to and including version 0.3.6
are not handling that case correctly (due to libusb ignoring
cancellation on transfers that are not yet submitted).

Work around this, but do so in a somewhat lazy fashion that is not
entirely race free.

Closes: #306
2020-10-01 00:19:35 +02:00
..
drivers virtual_image: Open a window for race conditions during open/close 2020-09-29 12:02:19 +00:00
nbis nbis: re-add step to remove perimeter points 2020-06-03 20:44:41 -07:00
drivers_api.h compat: Add compatibility defines for older GLib 2020-02-10 11:40:40 +01:00
empty_file build: Remove the need to modify sources for new drivers 2018-05-24 12:23:39 +02:00
fp-context.c context: Lower severity of warning if USB fails to initialise 2020-09-03 09:41:11 +02:00
fp-context.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-device-private.h Introduce an early reporting mechanism for verify and match 2020-01-13 14:37:39 +01:00
fp-device.c libfprint: Fix a few issues with the documentation 2020-05-11 20:51:29 +02:00
fp-device.h fp-device: add new type FpDeviceError FP_DEVICE_ERROR_DATA_DUPLICATE 2020-09-01 16:39:06 +08:00
fp-image-device-private.h cleanup: Use FPI prefix for all the internal enum types 2019-12-17 14:38:19 +01:00
fp-image-device.c image: Fix reporting of retry on activation timeout 2020-06-05 15:07:05 +00:00
fp-image-device.h fp-image-device: Properly include fp-device.h 2020-06-16 22:49:38 +02:00
fp-image.c lib: re-add partial image flag 2020-06-04 09:34:31 -07:00
fp-image.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-print-private.h cleanup: Use FPI prefix for all the internal enum types 2019-12-17 14:38:19 +01:00
fp-print.c print: Fix "possible leak" warning by moving initialization 2020-05-07 14:22:02 +00:00
fp-print.h fp-print: Add FP_FINGER_IS_VALID 2019-12-19 14:20:00 +01:00
fpi-assembling.c fpi-assembling: Fix offsets to be relative to the previous frame 2020-01-02 13:46:46 +01:00
fpi-assembling.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-reader.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-reader.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-utils.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-writer.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-writer.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-compat.h compat: Use new GDate autoptr and define if needed 2020-02-10 11:41:40 +01:00
fpi-context.h compat: Add compatibility defines for older GLib 2020-02-10 11:40:40 +01:00
fpi-device.c fp-device: add new type FpDeviceError FP_DEVICE_ERROR_DATA_DUPLICATE 2020-09-01 16:39:06 +08:00
fpi-device.h libfprint: Fix typos 2020-04-14 13:51:02 +02:00
fpi-image-device.c Remove trailing \n where they are not necessary 2020-09-29 10:42:03 +02:00
fpi-image-device.h image-device: Fix cancellation documentation 2020-09-07 12:12:34 +02:00
fpi-image.c libfprint: Fix a few issues with the documentation 2020-05-11 20:51:29 +02:00
fpi-image.h lib: re-add partial image flag 2020-06-04 09:34:31 -07:00
fpi-log.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-minutiae.h cleanup: Don't make nbis depend on libfprint built-sources 2019-12-04 18:50:46 +01:00
fpi-print.c fpi-print: Improve debug on print score 2020-06-16 22:49:18 +02:00
fpi-print.h print: Add helpers to generate a unique print ID containing metadata 2020-04-20 16:43:52 +02:00
fpi-ssm.c fpi-ssm: Clear delayed actions for parent and child on subssm start 2019-12-14 17:20:47 +01:00
fpi-ssm.h fpi-ssm, fpi-usb-transfer: Use fwd-declarations to avoid headers dependencies 2019-12-17 14:38:19 +01:00
fpi-usb-transfer.c usb-transfer: Work around libgusb cancellation issue 2020-10-01 00:19:35 +02:00
fpi-usb-transfer.h fpi-usb-transfer: Use the same values of libusb for transfer types 2020-06-16 22:50:47 +02:00
fprint-list-supported-devices.c fprint-list: Fix typos in Copyright statements 2020-04-14 13:51:02 +02:00
fprint-list-udev-rules.c fprint-list: Fix typos in Copyright statements 2020-04-14 13:51:02 +02:00
fprint.h Uncrustify everything except for nbis 2019-11-20 20:38:06 +01:00
libfprint.ver fprint: Move drivers to private internal library 2019-12-12 19:03:57 +01:00
meson.build drivers: add goodix moc sensor driver support 2020-09-01 16:39:06 +08:00