- 25 Nov, 2018 4 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
And document it.
-
Bastien Nocera authored
-
Bastien Nocera authored
And document it.
-
- 23 Nov, 2018 3 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
- 20 Nov, 2018 1 commit
-
-
Bastien Nocera authored
-
- 13 Nov, 2018 5 commits
-
-
Bastien Nocera authored
If get_next_timeout_expiry() fails, and libusb_get_next_timeout() has no timeouts or failed, fprint_timeout will not be set, and we cannot compare it to libusb_timeout. Exit early if both failed or have empty queues.
-
Bastien Nocera authored
libfprint/drivers/elan.c:351:12: warning: format specifies type 'unsigned short' but the argument has type 'unsigned char' [-Wformat] dbg_buf(elandev->last_read, transfer->actual_length); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfprint/drivers/elan.c:46:21: note: expanded from macro 'dbg_buf' fp_dbg("%02hx", buf[0]); \ ~~~~~~~~~~~~~~~~^~~~~~~ include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug' __VA_ARGS__) ^~~~~~~~~~~ libfprint/drivers/elan.c:351:12: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] dbg_buf(elandev->last_read, transfer->actual_length); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfprint/drivers/elan.c:48:21: note: expanded from macro 'dbg_buf' fp_dbg("%04hx", buf[0] << 8 | buf[1]); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug' __VA_ARGS__) ^~~~~~~~~~~ libfprint/drivers/elan.c:351:12: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] dbg_buf(elandev->last_read, transfer->actual_length); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfprint/drivers/elan.c:50:35: note: expanded from macro 'dbg_buf' fp_dbg("%04hx... (%d bytes)", buf[0] << 8 | buf[1], len) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug' __VA_ARGS__) ^~~~~~~~~~~ libfprint/drivers/elan.c:413:10: warning: format specifies type 'unsigned short' but the argument has type 'unsigned char' [-Wformat] dbg_buf(cmd->cmd, 2); ~~~~~~~~^~~~~~~~~~~~ libfprint/drivers/elan.c:46:21: note: expanded from macro 'dbg_buf' fp_dbg("%02hx", buf[0]); \ ~~~~~~~~~~~~~~~~^~~~~~~ include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug' __VA_ARGS__) ^~~~~~~~~~~ libfprint/drivers/elan.c:413:10: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] dbg_buf(cmd->cmd, 2); ~~~~~~~~^~~~~~~~~~~~ libfprint/drivers/elan.c:48:21: note: expanded from macro 'dbg_buf' fp_dbg("%04hx", buf[0] << 8 | buf[1]); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug' __VA_ARGS__) ^~~~~~~~~~~ libfprint/drivers/elan.c:413:10: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] dbg_buf(cmd->cmd, 2); ~~~~~~~~^~~~~~~~~~~~ libfprint/drivers/elan.c:50:35: note: expanded from macro 'dbg_buf' fp_dbg("%04hx... (%d bytes)", buf[0] << 8 | buf[1], len) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug' __VA_ARGS__) ^~~~~~~~~~~
-
Bastien Nocera authored
libfprint/drivers/vfs101.c:854:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(count - VFS_IMG_BEST_CONTRAST) < abs(vdev->best_clevel - VFS_IMG_BEST_CONTRAST)) ^ libfprint/drivers/vfs101.c:854:6: note: use function 'labs' instead if (abs(count - VFS_IMG_BEST_CONTRAST) < abs(vdev->best_clevel - VFS_IMG_BEST_CONTRAST)) ^~~ labs
-
Bastien Nocera authored
It's contrast, says so above the definition.
-
Bastien Nocera authored
libfprint/fpi-dev-img.c:255:6: warning: variable 'print' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (imgdev->action != IMG_ACTION_CAPTURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfprint/fpi-dev-img.c:271:25: note: uninitialized use occurs here imgdev->acquire_data = print; ^~~~~ libfprint/fpi-dev-img.c:255:2: note: remove the 'if' if its condition is always true if (imgdev->action != IMG_ACTION_CAPTURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfprint/fpi-dev-img.c:232:29: note: initialize the variable 'print' to silence this warning struct fp_print_data *print; ^ = NULL
-
- 12 Nov, 2018 1 commit
-
-
Bastien Nocera authored
-
- 09 Nov, 2018 18 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
It's only used internally, and doesn't need to be documented here, as FP_COMPONENT which uses it already is.
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
And rename section to match that of fpi-dev-img
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
To appease gtk-doc's struct parser, which chokes on the short name for the data type. See https://gitlab.gnome.org/GNOME/gtk-doc/issues/63
-
Bastien Nocera authored
-
Bastien Nocera authored
The API docs for fp_minutia_get_coords() as added in commit 1006467f had the parameters in the docs not match the actual names used.
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
Now that this name is free. This makes all the image manipulation functions have the same "fpi_img_" prefix.
-
Bastien Nocera authored
To better match what it does. It does not resize an image, but reallocate its internal data structure's size.
-
Bastien Nocera authored
As it's not used in other parts of the library after the changes in commit 422f81b6.
-
Bastien Nocera authored
Those are not public headers, so don't need to be documented. This removes 18 symbols from the undocumented symbols list.
-
Bastien Nocera authored
This reverts commit 700c5791. We don't need a poll setup to be able to call sync functions, which then use async functions for implementation internally. Closes: #124 Conflicts: libfprint/fpi-async.c
-
- 23 Oct, 2018 8 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
Otherwise the caller won't be able to call the appropriate _finish() calls when done. See libfprint/libfprint#119 for the long-term plan
-
Bastien Nocera authored
-
Bastien Nocera authored
No period at the end of parameter docs.
-
Bastien Nocera authored
-
Bastien Nocera authored
-