cc4bac3410
main: Use G_DECLARE_FINAL_TYPE to define objet
2020-02-04 14:19:41 +01:00
0d407db171
manager: Fix typo in comment
2020-01-14 14:00:56 +01:00
f2d6921b74
manager: Replace deprecated g_type_class_add_private()
2020-01-14 14:00:56 +01:00
d7821aa790
Initial port to libfprint2
2019-12-03 17:08:03 +01:00
4edc17ac99
manager: Fix sorting in GetDevices() output
...
Sort the devices by ID for the GetDevices() output.
2015-02-03 17:07:15 +01:00
4f9256c033
manager: Don't log when we're exiting
...
This happens on hardware without fingerprint readers on every boot; we
don't need to log anything about it, it's totally normal.
This patch is part of an initiative to reduce logging spew in GNOME
so that actual errors and important messages are more visible.
https://bugs.freedesktop.org/show_bug.cgi?id=71889
2014-04-25 11:28:20 +02:00
c1dc3f1394
Fix fprintd exiting after a device goes unused
...
Simple logic error that caused fprintd to exit when a device
was used then unused.
2008-12-04 13:23:50 +00:00
69e987b335
Fix return value for GetDefaultDevice
...
Tell the front-end there's no devices available when there isn't
any, instead of erroring out.
2008-12-04 13:23:50 +00:00
7b06c4b7f3
Review possible errors and document them
...
Review all the possible errors and document them for each function.
2008-11-24 17:20:46 +00:00
1abf51afa4
Don't crash the server if there's no devices
...
Big ninny just crashed because there's no fingerprint readers. Hoo,
hoo. My eyes are bleeding.
2008-11-24 17:20:46 +00:00
9743d9d2a0
Register errors with D-Bus
...
So we get errors like:
net.reactivated.Fprint.Error.DiscoverPrints
instead of:
org.freedesktop.DBus.GLib.UnmappedError.FprintdErrorQuark.Code2
2008-11-24 17:20:46 +00:00
af42ec70f3
Fix possible warning when timeout is enabled
...
We'd get a warning when the first device starts being used, but
we don't use --no-timeout.
2008-11-22 13:01:16 +00:00
f1f2ae35f8
Fix "--no-timeout" argument
...
Fix logic error in the manager code causing it to exit when no
devices are in use even when --no-timeout is passed.
2008-11-22 13:00:47 +00:00
3cd0a7aeaf
First pass at adding API docs through gtk-doc
...
Required a bit of mangling.
2008-11-21 18:15:51 +00:00
e207203b44
Add GetDefaultDevice
...
Gives you the first device listed in GetDevices.
2008-11-21 18:15:21 +00:00
f93d8cbce2
Clean up device when the client disconnects
...
Track clients connected to each device using EggDbusMonitor.
When there are no more clients connected to the device, release it.
When no devices are used anymore, set up a timeout to exit within
30 seconds.
2008-11-03 22:56:12 +00:00
b0f2060628
Exit when no devices are in use
...
When no actions are happening on any of the devices, make the
daemon exit after 30 seconds.
2008-11-03 22:56:12 +00:00
039c988f4b
Fix warning on startup
...
When there are no errors on startup, we'd get a warning
as we were copying a NULL GError
2008-05-16 18:21:20 +01:00
3a0152e124
Fix _get_error() in the manager
...
Fix wrong assumption of semantics when fp_discover_devs()
returns NULL.
2008-05-16 12:17:48 +01:00
017f770480
Clean up object creation code
...
Make all of FPrintManager's struct members private,
warn of errors using a _get_error() function, as object
creation can never fail.
The only error possible shouldn't really be an error though,
as it only means that no devices will be enumerated, but it
could tell us about newly plugged devices instead.
2008-05-14 16:07:25 +01:00
080e427651
Move to object oriented model
...
There is now a single Manager class shared between all apps.
Apps then share a collection of Device objects.
2008-03-05 23:52:33 +00:00