summaryrefslogtreecommitdiff
path: root/src/cd-device-db.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a small memory leak in sqlite3_exec()Zero0one12021-04-021-1/+1
| | | Fixes https://github.com/hughsie/colord/issues/110
* trivial: Remove useless private gtk-doc headersRichard Hughes2017-07-191-43/+0
|
* Use G_DECLARE_DERIVABLE_TYPE in libcolordRichard Hughes2015-10-131-36/+39
| | | | This gives us the g_autoptr() macros for free.
* Port to g_autoptr()Richard Hughes2015-10-131-4/+4
|
* Don't assume syslog.h is always availableRichard Hughes2014-11-191-2/+1
|
* trivial: Use systemd-style cleanup functionsRichard Hughes2014-06-041-4/+4
| | | | There's no point creating yet another format...
* Use __attribute__(cleanup) to simplify memory cleanupRichard Hughes2014-06-031-22/+11
|
* trivial: NULL != FALSE for some compilersRichard Hughes2013-05-091-6/+6
|
* trivial: Ensure only one device property value is stored in the databaseRichard Hughes2013-01-071-10/+17
| | | | The SQL statement 'INSERT OR REPLACE INTO' only works with a primary key.
* Add the ability to 'disable' a device so that color management can be turned offRichard Hughes2012-12-171-1/+1
| | | | | | | | | | To achieve this, add a 'Device.Enabled' property and a Device.SetEnabled(bool) method that controls the 'Device.Profiles' property much like the inhibitor functionality. If the enabled state is changed then this is reflected for all users and persistent across reboots. Devices are enabled by default and changing the enabled state is a privileged operation.
* Use enumerated error values from the daemonRichard Hughes2012-11-291-20/+20
|
* Use syslog to be able to debug what the daemon is doing without restarting itRichard Hughes2012-11-221-0/+2
| | | | If required, use 'systemctl status colord.service' to view the output.
* fix more sql injectionsLudwig Nussel2011-11-251-21/+21
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=42904 Signed-off-by: Richard Hughes <richard@hughsie.com>
* Add a modification time to the remote Device objectRichard Hughes2011-01-181-2/+2
| | | | | | This allows session color management agents to know how long it's been since the user re-profiled a device, and can nag them accordingly if set in the preferences.
* trivial: Add proper debug prefixes to all the modulesRichard Hughes2011-01-151-8/+8
|
* Fix a small memory leak in CdDeviceDbRichard Hughes2011-01-151-7/+9
|
* Save 'disk' scope devices to a system-wide databaseRichard Hughes2011-01-141-0/+487
This also means we add the permanent devices on daemon startup and apply any saved properties like 'Model' and 'Type'.