Marco Trevisan (Treviño)
baa5dcef0f
debian/patches: Do not support drivers known to fail in big endian
2020-12-10 21:35:55 +01:00
Marco Trevisan (Treviño)
059911bb81
Finalise changelog
2020-12-10 17:26:27 +01:00
Marco Trevisan (Treviño)
3ad27425ce
Update changelog
2020-12-10 17:21:54 +01:00
Marco Trevisan (Treviño)
8a76bc3e6f
debian/rules: sync with debian (no change)
2020-12-10 17:20:42 +01:00
Marco Trevisan (Treviño)
c8aed5e8a6
debian/control: Remove Didier Raboud from uploaders
...
2020-12-04 10:30:09 @bigon:
Trevinho: I just found an old mail from Odyx/Didier asking me to remove him
from the uploaders, maybe you could do that and add yourself if you plan to
maintain the two packages in debian.
2020-12-10 17:19:11 +01:00
Marco Trevisan (Treviño)
1da37a2253
Mark libfprint-2-doc as Multi-Arch: foreign
2020-12-10 17:18:27 +01:00
Marco Trevisan (Treviño)
181f160f3c
New upstream release
2020-12-10 17:17:55 +01:00
Marco Trevisan (Treviño)
37afa510d9
Update upstream source from tag 'upstream/1.90.6+tod1'
...
Update to upstream version '1.90.6+tod1'
with Debian dir 778e53fbe6
2020-12-10 16:28:08 +01:00
Marco Trevisan (Treviño)
2e18bb90ba
New upstream version 1.90.6+tod1
2020-12-10 16:28:03 +01:00
Marco Trevisan (Treviño)
52d30a88fc
tests: Ensure we prepend the libfprint libraries path when testing TOD
2020-12-10 16:21:11 +01:00
Marco Trevisan (Treviño)
f8cb985476
Merge tag 'v1.90.6' into tod
...
Tag 1.90.6
Git-EVTag-v0-SHA512: 1cca84a89332a674d822476e587e1d9f30dc11bfff13724548ec0be66ab32f910fb5e7a7c9403c9a813538fdd9e86661105af8e2a4865b0b30d301601c7bddab
2020-12-10 16:10:39 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
c02771d16b
goodixmoc: Add async identification test using on-owned deseralized prints
...
This simulates what fprintd does
2020-12-09 13:30:37 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
989d498eb9
goodix: Don't leak the templates array during verify
...
When verifying we initialize a temporary templates array but we never
release it.
2020-12-09 12:55:26 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
faade91c39
test-fpi-device: Add function to create fake FpPrint's and galleries
2020-12-09 11:47:33 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
0d9d7dcb46
fp-print: Don't deference the passed error, use g_set_error instead
...
It still may be NULL, but we don't protect from that.
2020-12-09 10:38:38 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
fb23f8690f
fp-print: Return NULL on error
...
not really different from FALSE, but still..
2020-12-09 10:38:38 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
6ca8441df9
umockdev-tests: Don't fail when trying to save other errors
2020-12-09 10:26:58 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
8112da0358
umockdev-tests: Still raise an error when storing the exception output
...
Otherwise we won't ever fail
2020-12-09 10:26:58 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
f2ea3e784e
fp-print: Delete not-defined anymore functions
2020-12-09 10:26:58 +01:00
Marco Trevisan (Treviño)
0688288c6d
.git-blame-ignore-revs: Ignore formatting commit and add hint how to use it
2020-12-07 19:01:10 +01:00
Marco Trevisan (Treviño)
c1e832e7a7
fp-device: Return valid finger status value on error
...
Not that the two enums have different value, but indeed the type is
wrong.
2020-12-04 12:15:22 +00:00
Marco Trevisan (Treviño)
b5496fd257
fp-device: Ensure finger status is set to proper type on property getter
...
Finger status is a flag not an enum.
Add tests.
2020-12-04 12:15:22 +00:00
Marco Trevisan (Treviño)
621550f2be
Finalise changelog
2020-12-04 03:57:04 +01:00
Marco Trevisan (Treviño)
0c7eb81d6a
Update changelog
2020-12-04 03:56:00 +01:00
Marco Trevisan (Treviño)
ab834e1743
debian/libfprint.lintian-overrides: Add override for binary TOD for testing
2020-12-04 03:56:00 +01:00
Marco Trevisan (Treviño)
e35391c976
debian/libfprint-2-tod1.symbols: Add new symbols
2020-12-04 03:56:00 +01:00
Marco Trevisan (Treviño)
f7854bf953
debian/libfprint-2-2.symbols: Add new symbols
2020-12-04 03:56:00 +01:00
Marco Trevisan (Treviño)
b49cdf6118
debian/rules: Increase testing timeout
...
As default might not be enough in some archs
2020-12-04 03:56:00 +01:00
Marco Trevisan (Treviño)
cc3a29ca47
debian: Switch to debhelper 13 and use its features
...
As per this restrict more the .install files wilcards
2020-12-04 03:56:00 +01:00
Marco Trevisan (Treviño)
77351bf47d
debian/rules: Ignore failures in s390x as it now builds and tests correctly
2020-12-04 02:49:35 +01:00
Marco Trevisan (Treviño)
aeb0878ee4
Add myself to Uploaders
2020-12-04 02:49:10 +01:00
Marco Trevisan (Treviño)
8cd34e8b57
debian/patches: Use gbp pq topics for debian-specific patches
2020-12-04 02:47:53 +01:00
Marco Trevisan (Treviño)
68c377ae1e
debian/patches: Drop patches applied upstream
2020-12-04 02:46:24 +01:00
Marco Trevisan (Treviño)
0849cb0476
New upstream release
2020-12-04 02:44:12 +01:00
Marco Trevisan (Treviño)
8d7628ba0f
Update upstream source from tag 'upstream/1.90.5+tod1'
...
Update to upstream version '1.90.5+tod1'
with Debian dir b9a5b8de31
2020-12-04 02:44:12 +01:00
Marco Trevisan (Treviño)
e84208896c
New upstream version 1.90.5+tod1
2020-12-04 02:44:07 +01:00
Marco Trevisan (Treviño)
14d24c49f8
debian/control: Mark libfprint-2-tod-dev as Multi-Arch: same
2020-12-04 02:42:01 +01:00
Marco Trevisan (Treviño)
80cf417b30
tests: Check if loading a pre-built binary keep working with libfprint
...
The libfprint tod fake library is built using using libtod v1.90.1+tod1
and we need to ensure that it will continue working until we won't
change ABI/API.
2020-12-04 02:16:16 +01:00
Marco Trevisan (Treviño)
7b0df77c49
tests: Get tod driver name from env variable
2020-12-04 02:06:54 +01:00
Marco Trevisan (Treviño)
1613c0de43
fp-device: Return valid finger status value on error
...
Not that the two enums have different value, but indeed the type is
wrong.
2020-12-04 00:53:29 +01:00
Marco Trevisan (Treviño)
4da4a7041a
fp-device: Ensure finger status is set to proper type on property getter
...
Finger status is a flag not an enum.
Add tests.
2020-12-04 00:49:53 +01:00
Marco Trevisan (Treviño)
c9579ab21b
test: Run all the fpi-device tests with the dynamically loaded TOD driver
...
We can ensure better that it works as expected repeating all the device
tests for it too.
The nice part is that we can just do this by re-defininig its GType as
the gtype of the loaded driver.
2020-12-03 04:38:15 +01:00
Marco Trevisan (Treviño)
9cbb3e5f55
tests: Isolate more the TOD tests so that we build the driver without clashes
2020-12-03 04:35:41 +01:00
Marco Trevisan (Treviño)
d83453de02
tests: Move tod context creation into test-utils-tod library
2020-12-03 02:39:33 +01:00
Marco Trevisan (Treviño)
99063246b7
fpi-image-device: Reorder image state not to change values
...
We need this to avoid breaking already present TOD image devices
drivers.
2020-12-03 02:05:08 +01:00
Marco Trevisan (Treviño)
7dc2cbf8d9
fp-print: Don't byte-swap two times the NBIS array contents
...
When serializing an image print in big endian machine we ended up
swapping the arrays contents two times, first when adding the values and
eventually when calling g_variant_byteswap which already handles this
properly.
With this, we get the test passing into s390x.
Fixes : #236
2020-12-03 01:34:45 +01:00
Marco Trevisan (Treviño)
bbd113594d
test-fpi-device: Always check the return values for the API calls
...
Ensure that the return value of the API calls match the expected one,
as we need to ensure that it also matches with the error/no-error case.
2020-12-03 01:34:44 +01:00
Marco Trevisan (Treviño)
11d4bc2981
fpi-device: Return proper type on identification success
...
Identify function is supposed to propagate a boolean value, but we make
it return an integer instead on idle, this can be normally the same in
most of architectures, but not in BE ones.
So, make it return the proper type.
Fixes test failures in s390x.
Related to #236
2020-12-03 01:34:42 +01:00
Marco Trevisan (Treviño)
a3aadd8398
Merge tag 'v1.90.5' into tod
...
Tag 1.90.5
Git-EVTag-v0-SHA512: 05650e2a6cf2290542936271b140e79015f56e35fbffc4677e37bf30963b2a38b49eb699db80cee6677ff348ea9e8548514a9f1e06a767269e44d7fac3334c45
2020-12-03 01:32:45 +01:00
Marco Trevisan (Treviño)
de271a0e8d
fp-print: Don't byte-swap two times the NBIS array contents
...
When serializing an image print in big endian machine we ended up
swapping the arrays contents two times, first when adding the values and
eventually when calling g_variant_byteswap which already handles this
properly.
With this, we get the test passing into s390x.
Fixes : #236
2020-12-02 16:40:10 +00:00
Marco Trevisan (Treviño)
12b0120a3d
test-fpi-device: Always check the return values for the API calls
...
Ensure that the return value of the API calls match the expected one,
as we need to ensure that it also matches with the error/no-error case.
2020-12-02 16:28:36 +00:00
Marco Trevisan (Treviño)
2783ac3e60
fpi-device: Return proper type on identification success
...
Identify function is supposed to propagate a boolean value, but we make
it return an integer instead on idle, this can be normally the same in
most of architectures, but not in BE ones.
So, make it return the proper type.
Fixes test failures in s390x.
Related to #236
2020-12-02 16:28:36 +00:00
Marco Trevisan (Treviño)
4d978f23d1
debian/rules: Also build the virtual drivers, as they're useful for testing
2020-11-30 20:28:48 +01:00
Marco Trevisan (Treviño)
f59e608351
Update changelog
2020-11-30 20:25:35 +01:00
Marco Trevisan (Treviño)
c8503f301a
Update changelog
2020-11-30 20:24:37 +01:00
Marco Trevisan (Treviño)
2866d8a247
debian/patches: Reorder to give upstream more priority
2020-11-30 20:24:11 +01:00
Marco Trevisan (Treviño)
0c9f7cf5ea
debian/patches: Don't use power-save mode for USB controller
...
LP: #1906296
2020-11-30 20:14:09 +01:00
Marco Trevisan (Treviño)
2b7cfa751a
list-udev-rules: Remove Wrongly added well-known USB controller vid/pid combo
...
This was causing USB controllers to use power-saving mode, breaking usb
devices usage.
Related to: https://gitlab.freedesktop.org/libfprint/libfprint/-/issues/327
2020-11-30 20:03:32 +01:00
Marco Trevisan (Treviño)
8ab27bb03f
Finalise changelog
2020-11-25 19:18:20 +01:00
Marco Trevisan (Treviño)
bdaf73c01d
Update changelog
2020-11-25 19:17:58 +01:00
Marco Trevisan (Treviño)
aa75b6f027
debian/patches: Add identification support to synaptics driver
...
It allows to unlock / log-in with any finger.
LP: #1905600
2020-11-25 19:04:33 +01:00
Marco Trevisan (Treviño)
e8d6f1bd01
debian/patches: Ensure we do not waste power for unsupported devices
...
LP: #1905603
2020-11-25 19:04:33 +01:00
Marco Trevisan (Treviño)
3c35c01af9
debian/patches: Fix vfs301 verification using device pointer on callbacks
...
LP: #1905597
2020-11-25 18:56:26 +01:00
Marco Trevisan (Treviño)
576beb1ff5
debian/patches: Add support for new Synaptics devices IDs
...
LP: #1905593
2020-11-25 18:56:08 +01:00
Marco Trevisan (Treviño)
fa3bdb874d
udev-rules: Regenerate from wiki to include VFS495
2020-11-25 18:28:41 +01:00
Marco Trevisan (Treviño)
32767f4e16
debian/patches: Properly handle aes3k devices, resubmitting commands
...
This also needs proper commands cancellation
LP: #1897613
2020-11-25 18:15:09 +01:00
Marco Trevisan (Treviño)
e4d2eaeff7
debian/patches: Refresh
2020-11-25 18:15:05 +01:00
Marco Trevisan (Treviño)
de761cd741
debian/gbp.conf: Include debian's GNOME team preferred settings
2020-11-25 18:06:51 +01:00
Marco Trevisan (Treviño) and Benjamin Berg
dda3587b76
identify: Use stored print to show identify information
...
The stored print may contain more metadata, so let's use that for
device-stored print, if available.
2020-11-23 17:00:01 +00:00
Marco Trevisan (Treviño) and Benjamin Berg
fb5854213a
examples: Add Identify example
...
It was the only main action left in the examples, we use the gallery
from the device if available, otherwise the local one.
2020-11-23 17:00:01 +00:00
Marco Trevisan (Treviño)
251ccef9ba
fpi-device: Add debug information about the enrolled finger
2020-11-08 22:19:23 +01:00
Marco Trevisan (Treviño)
3b993fabb6
verify/enroll: Save and use locally saved prints also for devices with storage
...
Some devices have storage but that's is limited enough not to be able
to store all the metadata, but just a fingerprint id.
In such case we also need to use the local storage to be able to verify.
Fprintd does this already, but we don't do it in the libfprint examples.
So, in in case we enroll, always save the print information to the disk,
while in case we verify we try to load the print from disk and we use
that in case its private data matches the one provided by the device.
2020-11-08 22:19:23 +01:00
Marco Trevisan (Treviño)
0c56e0de6d
synaptics: Report finger status to libfprint
...
The inactivation in case would be set back by libfprint
2020-11-07 13:23:30 +00:00
Marco Trevisan (Treviño)
893ff9c033
fp-image-device: Report finger status changes to the device
...
While the image device has its own finger status tracking, we use a simpler
version as public data information, so let's just report the finger-on/off
and when a finger is expected to the parent class.
Verify that this happens as expected using the virtual-image class
2020-11-07 13:23:30 +00:00
Marco Trevisan (Treviño)
3c382cac7f
fp-device: Reset the finger status on complete
...
Devices should handle the finger status internally, but if they don't do it
we need to handle it on actions completion
2020-11-07 13:23:30 +00:00
Marco Trevisan (Treviño)
42e4506b1b
fp-device: Add finger-status property
...
It can be used by drivers to report the state of the finger on sensor
2020-11-07 13:23:30 +00:00
Marco Trevisan (Treviño)
8366e397d8
Finalise changelog
2020-09-24 06:22:04 +02:00
Marco Trevisan (Treviño)
db56b71caf
Update changelog
2020-09-24 06:22:04 +02:00
Marco Trevisan (Treviño)
4cf41fcd24
debian/libfprint-2-tod1.symbols: Added new GType symbols
2020-09-24 06:21:07 +02:00
Marco Trevisan (Treviño)
dfecdf9ff3
Update upstream source from tag 'upstream/1.90.3+tod1'
...
Update to upstream version '1.90.3+tod1'
with Debian dir 26b22ab421
2020-09-24 06:06:17 +02:00
Marco Trevisan (Treviño)
2ef6d1886b
New upstream version 1.90.3+tod1
2020-09-24 06:06:08 +02:00
Marco Trevisan (Treviño)
52410c3310
Merge tag 'v1.90.3' into tod
...
Tag 1.90.3
Git-EVTag-v0-SHA512: 67e0d995146cb82107480520589b6c90583602b3945e03f71c2fdb5f0f2c681143c67e824e0572ae93995e75112c402efaad101f01be5e86a75389e4f1421821
2020-09-24 05:45:35 +02:00
Marco Trevisan (Treviño)
16c780c302
debian/changelog: Fix bug number
...
Damned copy-paste (and my vimrc...)!
2020-06-19 19:34:27 +02:00
Marco Trevisan (Treviño)
349e30e3ae
Finalise changelog
2020-06-19 17:38:55 +02:00
Marco Trevisan (Treviño)
13dcb8620b
Update changelog
2020-06-19 17:37:26 +02:00
Marco Trevisan (Treviño)
70f4f2c5a4
libfprint-2-tod1.symbols: Add new TOD symbols
...
No ABI change
2020-06-19 17:37:26 +02:00
Marco Trevisan (Treviño)
5e6ce9fe55
debian/rules: Be strictier about symbol changes
2020-06-19 17:37:26 +02:00
Marco Trevisan (Treviño)
ef37ef2004
debian/control: Add missing libfprint-2-tod-dev dependencies
...
Compiling drivers with TOD requires various libraries that we were not
properly listing.
This is based on the libfprint-2-tod-1.pc content file.
LP: #1884267
2020-06-19 17:11:19 +02:00
Marco Trevisan (Treviño)
28bbd94ec9
git_reading_pointer.patch: Dopping
2020-06-19 16:44:18 +02:00
Marco Trevisan (Treviño)
369e91feb4
Update upstream source from tag 'upstream/1.90.2+tod1'
...
Update to upstream version '1.90.2+tod1'
with Debian dir 65dc429037
2020-06-19 16:43:04 +02:00
Marco Trevisan (Treviño)
1d94579d84
New upstream version 1.90.2+tod1
2020-06-19 16:42:56 +02:00
Marco Trevisan (Treviño)
0e123d0752
Merge tag 'v1.90.2' into tod
...
Tag 1.90.2
2020-06-19 16:27:51 +02:00
Marco Trevisan (Treviño)
b7e27bfdc6
demo: Handle the non-imaging mode also if we get a non-supported error
...
Image devices may return a FP_DEVICE_ERROR_NOT_SUPPORTED error once capture
is already started, in such case handle the error going in non imaging mode
2020-06-17 14:16:34 +02:00
Marco Trevisan (Treviño)
37b19674f1
verify: Use fast matching callback also for non-storage devices
2020-06-17 14:14:50 +02:00
Marco Trevisan (Treviño)
a5f4ad507a
img-capture: Exit with error if the device doesn't support capture
2020-06-17 14:12:43 +02:00
Marco Trevisan (Treviño)
1f96077e36
examples: Don't try to save an image from a print without it
...
A device may produce both prints with image data and not, so only do it
in the case the prints contains image data
2020-06-17 14:00:19 +02:00
Marco Trevisan (Treviño)
ed26976ac5
fpi-usb-transfer: Use the same values of libusb for transfer types
2020-06-16 22:50:47 +02:00
Marco Trevisan (Treviño)
e4d292b595
fp-image-device: Properly include fp-device.h
2020-06-16 22:49:38 +02:00
Marco Trevisan (Treviño)
c6b8430c72
fpi-print: Improve debug on print score
2020-06-16 22:49:18 +02:00
Marco Trevisan (Treviño)
cbf1dcca29
fpi-image-device: Improve debugging messages
2020-06-16 22:48:51 +02:00