Toni
cda4e6136c
upektc_img: Fix protocol for area sensors
2023-01-17 19:50:21 +00:00
Toni
522b481297
upektc_img: Add sensor chip detection
...
Move setting up sensor type and image dimensions to
activation time.
2023-01-17 19:50:21 +00:00
Toni
fafe70f985
upektc_img: Fix CRC for upek2020_init_capture.
2023-01-17 19:50:21 +00:00
Vasily Khoruzhick
62818b9407
fpcmoc: fix use-after free in multiple callbacks
...
Drop if statement that retrieves internal ssm->error.
"error" is already a copied ssm->error, so it makes no sense to return
internal copy which will be freed when ssm is marked as done.
Fixes #526
2023-01-10 11:22:22 -08:00
Vasily Khoruzhick
db2fa81358
tests: valgrind: update python and libfprint suppressions list
2023-01-10 11:15:17 -08:00
Vasily Khoruzhick
d492901c3e
tests: valgrind: generate suppressions list for new tests-suppress-new-valgrind-errors-in-python
...
That will help with updating suppresions lists in future
2023-01-10 11:14:51 -08:00
Vasily Khoruzhick
a5d52eb853
Fix indentation issues with uncrustify-0.76.0
...
Apparently older version didn't find this indentation issues
2023-01-08 23:36:18 -08:00
Debian Janitor
20b97dba8d
Remove constraints unnecessary since buster (oldstable)
...
* Build-Depends: Drop versioned constraint on libglib2.0-dev, libgusb-dev and meson.
Changes-By: deb-scrub-obsolete
2022-11-23 21:01:33 +00:00
Jelmer Vernooij
fa429d92e3
Merge branch 'lintian-fixes' into 'debian'
...
Fix some issues reported by lintian
See merge request debian/libfprint!7
2022-11-23 19:45:48 +00:00
Debian Janitor
6008222761
Update standards version to 4.6.1, no changes needed.
...
Changes-By: lintian-brush
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2022-11-21 15:22:08 +00:00
Debian Janitor
b83f65bf61
Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
...
Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
2022-11-21 15:22:07 +00:00
Debian Janitor
16c690e8f2
Trim trailing whitespace.
...
Changes-By: lintian-brush
Fixes: lintian: trailing-whitespace
See-also: https://lintian.debian.org/tags/trailing-whitespace.html
2022-11-21 15:21:55 +00:00
Bastien Nocera
89509c76f4
build: Print the list of enabled drivers
...
This saves us from having to figure out which drivers were enabled
during a build in some other way.
2022-11-02 12:04:34 +01:00
Jelmer Vernooij
8c641a504c
Merge branch 'multiarch-fixes' into 'debian'
...
Apply hints suggested by the multi-arch hinter
See merge request debian/libfprint!6
2022-10-30 17:07:44 +00:00
Debian Janitor
2c6578e4d9
Apply multi-arch hints.
...
+ libfprint-2-2: Drop Multi-Arch: same.
Changes-By: apply-multiarch-hints
2022-10-14 18:05:28 +00:00
Marco Trevisan (Treviño)
673aba6846
Upload to unstable
2022-10-14 01:09:06 +02:00
Marco Trevisan (Treviño)
3d6d5901a9
Update changelog
2022-10-14 01:06:23 +02:00
Marco Trevisan (Treviño)
01a462580b
debian/docs: Update reference to README.md and remove TODO
2022-10-14 01:06:16 +02:00
Marco Trevisan (Treviño)
73ceb9e39c
debian/patches: Cherry-pick post-release upstream cleanups
2022-10-14 00:59:50 +02:00
Marco Trevisan (Treviño)
81230b793c
debian/libfprint-2-2.postinst: Devices triggers updated
2022-10-14 00:55:33 +02:00
Marco Trevisan (Treviño)
42c823205b
New upstream release
2022-10-14 00:55:31 +02:00
Marco Trevisan (Treviño)
8bb07377ab
Update upstream source from tag 'upstream/1.94.5'
...
Update to upstream version '1.94.5'
with Debian dir 704eca5787
2022-10-14 00:55:30 +02:00
Marco Trevisan (Treviño)
3b901ff205
New upstream version 1.94.5
2022-10-14 00:55:22 +02:00
Marco Trevisan (Treviño)
6395dda012
fp-image: Remove config.h inclusion in fpi-header
...
And also avoid defining a function we expose depending on it's presency.
2022-10-13 20:35:52 +00:00
Marco Trevisan (Treviño)
54bb0c12e6
fpi-image: Check for PIXMAN presency using #ifdef
...
That's a defined variable that may be there or not, and currently we
warn with:
- fpi-image.c:29:5: warning: "HAVE_PIXMAN" is not defined, evaluates to 0
2022-10-13 20:35:52 +00:00
Marco Trevisan (Treviño)
1f1ed80dbf
test-device-fake: Add more logging showing the current device action
2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño)
36bcb24b3a
fp-device: Move FpDevice private functions to public library
...
This these functions are not really needed by anything else than
FpDevice, so move them back to the cpp file, so that we don't expose
them in the private library, given that we don't need them
2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño)
ddacf07e3b
meson: Actually bump the version to 1.94.5
2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño)
86961a9429
Release 1.94.5
v1.94.5
2022-10-13 05:57:04 +02:00
Marco Trevisan (Treviño)
3ca20a8e70
ci: Do not run two image rebuild pipelines on schedules
2022-10-13 05:37:12 +02:00
Marco Trevisan (Treviño)
3100404419
ci: Install more debug symbols
2022-10-13 05:27:44 +02:00
Marco Trevisan (Treviño)
892c9767a2
tests: Be stricter on valgrind leak checks
...
We used to ignore leaks, and we are ending up in having various of them,
so let's make valgrind to exit with error when using the valgrind test
setup (so in CI) to catch them better.
2022-10-13 05:20:28 +02:00
Marco Trevisan (Treviño)
2718dc02e0
vfs0050: Initialize the usb transfer buffer when allocating it
...
Ensure that the memory that we're going to populate via USB transfer is
initialized, otherwise valgrind may complain about (even if that's not
really an issue).
2022-10-13 05:04:03 +02:00
Marco Trevisan (Treviño)
abd7c66833
fp-device: Do not setup current action before updating temperature
...
At every action we update the device temperature, and this can
potentially lead to a failure, if the temperature is too hot.
However in such case we were failing a task that we had just stolen,
causing an error, tasks never returning and the device was left in an
undefined state.
So, just return early in case temperature is too hot, as we don't really
need to have the current task or action set at this point because
there's no active action to cancel yet.
This was causing random errors when running tests under valgrind
2022-10-13 05:04:03 +02:00
Marco Trevisan (Treviño)
8716ddb07a
fp-print: Fix a typo in documentation
2022-10-13 05:04:03 +02:00
Marco Trevisan (Treviño)
fd7d93e619
fpi-device: Do not leak suspend/resume tasks
...
We kept suspend/resume GTask's around but at the moment of completing
them we didn't unref them, leading to leaks.
2022-10-13 05:04:02 +02:00
Marco Trevisan (Treviño)
0592c0e5ad
uru4000: Cleanup cancelled error before early return
2022-10-13 05:04:02 +02:00
Marco Trevisan (Treviño)
684e3c460a
uru4000: Shutdown NSS on device close
...
We were allocating NSS during device opening but never closing it,
causing many leaks.
2022-10-13 05:04:02 +02:00
Marco Trevisan (Treviño)
4278668c8f
egis0570: Cleanup the received image that is going to be resized
...
It's just temporary for us as we're providing the resized one instead.
2022-10-13 05:04:02 +02:00
Marco Trevisan (Treviño)
a86ab6c854
test-fpi-device: Cleanup the device ID / driver before overriding it
...
Otherwise we'd leak the one that was initially set.
2022-10-13 05:04:02 +02:00
Marco Trevisan (Treviño)
b04eed0aea
test-device-fake: Consume the identify print if we're returning with error
2022-10-13 05:04:02 +02:00
Marco Trevisan (Treviño)
669e091b03
virtual-device: Use an autoptr to handle the new scan print
...
We may not use this print, so let's use an autoptr to handle its life
cycle to clean it up when not used.
2022-10-13 05:04:02 +02:00
Marco Trevisan (Treviño)
0b6a92150c
tests/fpcmoc: Ensure python tests exit with error on every exception
...
We ignored assertions happening on callbacks as they only raise
exceptions that does not stop the execution.
So ensure that this is happening in all the tests as synaptics was
doing already
Same as commit: be8888431
2022-10-13 04:26:58 +02:00
Haowei Lo
cca2b6a624
fpcmoc: Support FPC moc devices
...
Supported PID: 0xFFE0/A305/D805/DA04/D205
2022-10-11 08:11:38 +00:00
ElectronicsArchiver
1d24037f14
README: Improved formatting
2022-10-10 23:35:24 +02:00
Lv Ying
6395228bb8
goodixmoc: add PID 0x6014
...
Signed-off-by: Lv Ying <lvying.system.thoughts@gmail.com >
2022-10-09 10:45:18 +08:00
Marco Trevisan (Treviño)
b718f4d567
tests/meson: Avoid searching for programs multiple times
2022-09-28 01:23:58 +02:00
Marco Trevisan (Treviño)
be88884315
tests: Ensure python tests exit with error on every exception
...
We ignored assertions happening on callbacks as they only raise
exceptions that does not stop the execution.
So ensure that this is happening in all the tests as synaptics was
doing already
2022-09-28 01:22:15 +02:00
Marco Trevisan (Treviño)
d2a0eda56c
synaptics, goodix: Properly check for finger status during enroll progress
...
It may contain other values, but for sure we finger must be neeeded
2022-09-28 01:21:31 +02:00
Marco Trevisan (Treviño)
5d9fc8b3c8
fpi-device: Do not leak USB devices while iterating
...
To compute the device ports we walked up through the devices using
g_usb_device_get_parent(), but this is supposed to return a device with
transfer full, so we need to unref it when done with it.
To handle this nicely, use a mixture of autopointer's and g_set_object
to ensure we're doing the right thing when passing the ownership around.
2022-09-27 18:21:20 +02:00