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
Aris Lin
f33a282bb0
synaptics: add support PID 0xE7
2020-12-03 01:34:35 +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)
bb38a8c99c
debian/gbp.conf: Include suggested settings by GNOME team
...
Even if libfprint is not part of GNOME I think these settings are good
practice anyways.
2020-12-02 21:16:41 +01:00
Marco Trevisan (Treviño)
cb0eb5c5be
debian/rules: Increase testing timeout
...
As default might not be enough in some archs
2020-12-02 20:58:21 +01:00
Marco Trevisan (Treviño)
776c789533
debian: Switch to debhelper 13 and use its features
...
As per this restrict more the .install files wilcards
2020-12-02 20:58:21 +01:00
Marco Trevisan (Treviño)
899d5c309f
debian/rules: Enable tests in s390x as it now builds and tests correctly
2020-12-02 19:01:08 +01:00
Marco Trevisan (Treviño)
632a2abf62
Upload to unstable
2020-12-02 17:53:32 +01:00
Marco Trevisan (Treviño)
616dbcaad6
Update changelog
2020-12-02 17:52:57 +01:00
Marco Trevisan (Treviño)
0494815d57
Add myself to Uploaders
2020-12-02 17:52:11 +01:00
Marco Trevisan (Treviño)
4f85d9e1b3
debian/patches: Don't byte-swap two times the NBIS print array contents
...
Fixes virtual-image test in libfprint for s390x
2020-12-02 17:48:28 +01:00
Marco Trevisan (Treviño)
f58ac0a499
debian/patches: Properly handle identify return value and add tests
...
This fixes fprintd test failures in s390x
2020-12-02 17:47:37 +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)
5cc6a64502
Upload to unstable
2020-12-02 05:11:33 +01:00
Marco Trevisan (Treviño)
6a22714677
Update changelog
2020-12-02 05:09:33 +01:00
Marco Trevisan (Treviño)
457f8c818c
debian/patches: Use gbp pq topics for debian-specific patches
2020-12-02 05:09:33 +01:00
Marco Trevisan (Treviño)
e696d77514
New upstream release
2020-12-02 04:57:16 +01:00
Marco Trevisan (Treviño)
c083be9ed6
Update upstream source from tag 'upstream/1.90.5'
...
Update to upstream version '1.90.5'
with Debian dir af3de02221
2020-12-02 04:53:48 +01:00
Marco Trevisan (Treviño)
5f93ff8536
New upstream version 1.90.5
2020-12-02 04:53:44 +01:00
Aris Lin
abb0b1267c
synaptics: add support PID 0xE7
2020-12-02 10:21:39 +08:00
Laurent Bigonville
90f41d13a0
debian/control: Mark libfprint-2-dev as Multi-Arch: same
2020-12-01 12:12:25 +01:00
Laurent Bigonville
d44b1bacbd
Release to unstable
2020-12-01 11:38:38 +01:00
Laurent Bigonville
82286e7496
debian/control: Bump Standards-Version to 4.5.1 (no further changes)
2020-12-01 11:35:11 +01:00
Laurent Bigonville
efa3c0cbb9
Merge branch 'debian' into 'debian'
...
Update to libfprint 1.90.4
See merge request debian/libfprint!4
2020-12-01 10:29:12 +00:00
Benjamin Berg
5cb91a4189
Release 1.90.5
v1.90.5
2020-12-01 10:14:26 +01:00
Benjamin Berg
0bb132b167
NEWS: Fix release date of 1.90.4
2020-12-01 10:14:02 +01:00
Benjamin Berg
ce39f27b5e
vfs301_proto: Remove usless break after return
...
Closes : #341
2020-11-30 20:22:18 +00:00
Benjamin Berg
7d0956513b
upekts: Remove duplicated err handling path
...
Closes : #342
2020-11-30 20:22:17 +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)
b27542b02e
Update changelog
2020-11-30 19:58:52 +01:00
Vincent Huang
0eee6a56dd
synaptics: add support to sensor PID 0xC9
2020-11-30 13:53:07 +08:00
Marco Trevisan (Treviño)
c595b5b170
debian/libfprint-2-2.symbols: Add new symbols
2020-11-27 16:48:03 +01:00
Marco Trevisan (Treviño)
71676bd2e8
debian/rules: Also build the virtual drivers, as they're useful for testing
...
Mostly it allows testing fprintd fully.
2020-11-27 16:35:08 +01:00
Marco Trevisan (Treviño)
aff0fe6553
Update upstream source from tag 'upstream/1.90.4'
...
Update to upstream version '1.90.4'
with Debian dir 1ef71fb7ce
2020-11-27 16:28:28 +01:00
Marco Trevisan (Treviño)
480451d784
New upstream version 1.90.4
2020-11-27 16:28:21 +01:00