summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* trivial: Allow any case for device-set-enabledwip/hughsie/cd_util_device_set_enabled_TRUERichard Hughes2021-01-171-1/+1
| | | | Fixes https://github.com/hughsie/colord/issues/125
* trivial: Fix the return value of huey_device_read_eeprom()Richard Hughes2021-01-141-1/+1
|
* trivial: Fix return values from g_return_val_if_fail()Richard Hughes2021-01-121-1/+1
|
* libcolord: Add missing copyright noticesAaron Plattner2020-11-234-0/+4
| | | | I forgot to add copyright notices for commits 9aba3df and 6d64e4c.
* build: Bump glib required version for g_assert_cmpfloat_with_epsilonChristopher James Halse Rogers2020-11-111-1/+1
|
* tests: Don't use exact floating point comparisons.Christopher James Halse Rogers2020-11-111-2/+2
| | | | | | | | The tests asserting that cd_icc_get_version are exactly equal to 3.4 or 2.09 fail on (at least) i386, armel, and s390x because floating point is hateful. Signed-off-by: Christopher James Halse Rogers <raof@ubuntu.com>
* trivial: post release version bumpRichard Hughes2020-11-022-6/+4
|
* Release colord 1.4.51.4.5Richard Hughes2020-11-029-840/+767
|
* Fix segfault due to dereferencing NULL pointerSimon Munton2020-07-171-3/+2
| | | | Signed-off-by: Simon Munton <simon.j.munton@gmail.com>
* fix more annotation for data arraysElmar Hoffmann2020-06-156-47/+47
|
* fix cd_icc_load_data() annotation for the data arrayElmar Hoffmann2020-06-131-1/+1
|
* Refactor opening of mapping database and try again if failsRoss Burton2020-03-281-3/+54
| | | | | | | | | Extract the actual opening of the mapping database to a static function, once it is open do a quick verification of the database, and if that fails (corrupted database, typically) then try to delete the file and try again. Closes #111.
* Check for errors from more sqlite callsRoss Burton2020-03-281-3/+11
| | | | | | Once the mapping database is opened we call 'PRAGMA synchronous', check the error code so if the database is corrupted then we can bail sooner rather than later.
* libcolord: Add cd_icc_utils_get_adaptation_matrixAaron Plattner2020-03-232-0/+129
| | | | | Window systems such as gnome-shell can use this to calculate a color transform matrix (CTM) to plug into typical desktop display hardware.
* libcolord: Add cd_icc_create_default_fullAaron Plattner2020-03-232-5/+29
| | | | | | | The existing cd_icc_create_default creates a CdIcc with none of the load flags set. A future change to gnome-settings-daemon is going to want to load an sRGB profile with CD_ICC_LOAD_FLAGS_PRIMARIES in order to use it to construct a color transformation matrix to plug into the window system.
* libcolord: Add cd_mat33_is_finiteAaron Plattner2020-03-233-10/+31
| | | | | | | | | Move the logic to check whether any entries in a matrix are NaN or infinite from cd_it8_utils_calculate_ccmx into a helper function in cd-math.c. In addition, fix a bug in this code: if any entries of the matrix are exactly zero, then fpclassify will return FP_ZERO instead of FP_NORMAL. Don't treat this as a failure: only FP_NAN and FP_INFINITE are errors.
* tests: Make the build reproductibleLaurent Bigonville2020-03-204-23/+16
| | | | Fixes: #106
* trivial: Downgrade more trivial warning to a debug statementMaryse472020-02-271-2/+2
| | | | This is a follow up from https://github.com/hughsie/colord/commit/513bfa4783d0a630c226ee40638ab346c0d1c229 with a goal to avoid unnecessary spam in system logs. Fixes https://github.com/hughsie/colord/issues/48
* trivial: Update the CI to Fedora 31Richard Hughes2019-12-091-1/+1
|
* Add support for datacolor SpyderXRichard Brown2019-12-033-0/+4
|
* tests: Fix cd-sensor-dummyChristopher James Halse Rogers2019-08-191-4/+6
| | | | | | `g_autoptr(GTask) task` will be unreffed when it leaves scope. If we want it to be available in 2 seconds' time in the idle callback we'll need to explicitly transfer ownership.
* trivial: Downgrade a trivial warning to a debug statementRichard Hughes2019-08-131-4/+4
| | | | | | This avoids spamming logs if system seats are set up incorrectly. If the user is using virtual desktops it's highly unlikely they want the session devices managed by colord.
* trivial: Fix error checking for sd_pid_get_session and sd_session_get_seatJan Alexander Steffens (heftig)2019-04-281-2/+2
| | | | | | | These functions can return a positive integer on success. Fix the conditions to only regard negative return values as errors. Fixes commit 6ffe2f6aae4bdc8331cab1fd9379ed8aef759749.
* trivial: Fix some typos spotted using codespellRichard Hughes2019-04-0834-52/+52
|
* trivial: Update downstream spec fileRichard Hughes2019-03-221-3/+2
|
* data: fix owner & permissions on existing state filesWill Thompson2019-03-151-0/+1
| | | | | | | | | | | | | | | | If colord was previously configured to run as root, and subsequently made to run as a different user, it will be unable to write to its state files: colord[668]: CdDevice: failed to save mapping to database: SQL error: attempt to write a readonly database 'd' creates a directory if missing, and fixes its permissions if it already exists, but it is not recursive. 'Z' recursively adjusts the permission of the given directory and its children, but only if it already exists. Together, these rules ensure that @localstatedir@/lib/colord and @localstatedir@/lib/colord/icc both exist, and that @localstatedir@/lib/colord and all its descendents are owned by the correct user.
* data: set @localstatedir@ in tmpfiles.d/colord.confWill Thompson2019-03-152-3/+4
| | | | It's not guaranteed to be /var.
* data: set correct username in tmpfiles.d/colord.confWill Thompson2019-03-153-8/+10
| | | | | | The daemon is not guaranteed to run as a user named 'colord', since the default is -Ddaemon_user=root. Generate the file and interpolate @daemon_user@ in the same way as is done for the .service file.
* trivial: post release version bumpRichard Hughes2019-03-082-4/+4
|
* Release colord 1.4.41.4.4Richard Hughes2019-03-0813-338/+361
|
* Allow building without the daemonRichard Hughes2019-02-132-4/+11
| | | | This is useful for flathub.
* Include C header in Colorhug-1.0.girTomasz Miąsko2019-02-131-0/+1
|
* lib/color{d,hug}/meson.build: pass -DCD_COMPILATION to gir compilermaxice82019-02-042-0/+4
| | | | | | | | | | Allows compilation when cross building, as Void Linux is doing so. Other packages that also do it: libgusb -> -DGUSB_COMPILATION atk -> -DATK_COMPILATION appstream-glib -> -DAS_COMPILATION
* trivial: Add a quirk for the renamed 'LG Electronics'Richard Hughes2019-01-011-0/+1
|
* Actually install the installed testsRichard Hughes2019-01-014-6/+23
| | | | Fixes https://github.com/hughsie/colord/issues/83
* man: Clean up & fix typosJan Tojnar2018-10-294-23/+23
|
* man: Port to xsltprocJan Tojnar2018-10-295-25/+37
|
* man: Port to DocBook 5Jan Tojnar2018-10-295-156/+52
|
* trivial: Fix Fedora CIRichard Hughes2018-09-211-0/+1
|
* cd-sensor-argyll: Consistently search for spotread in $PATHChristopher James Halse Rogers2018-09-201-1/+1
| | | | | Elsewhere we look for spotread in $PATH, and the meson check is for spotread in $PATH, so consistently use non-absolute paths for spawning spotread
* Don't hard-require spotread to build argyll sensor.Christopher James Halse Rogers2018-09-201-1/+4
| | | | | The sensor can be built fine without it installed, and for packagers it is necessary to specify a manual dependency anyway.
* Add COMMITMENT file as part of GPL Common Cure Rights CommitmentRichard Hughes2018-06-181-0/+45
| | | | | | | | | | This is part of more broader commitment Red Hat along with IBM, Google, and Facebook made in November 2017. More on this can be found online: https://www.redhat.com/en/blog/fostering-greater-open-source-development & https://www.redhat.com/en/about/gplv3-enforcement-statement
* Change our message to use the warning functionSoapux2018-06-041-1/+1
| | | | | Since we now require meson 0.46, we can use this function that was added in 0.44.
* build: Fix linker argument checksTing-Wei Lan2018-05-242-3/+3
| | | | Fixes: https://github.com/hughsie/colord/issues/69
* trivial: post release version bumpRichard Hughes2018-04-182-5/+5
|
* Release colord 1.4.31.4.3Richard Hughes2018-04-1840-1538/+1741
|
* Update warning about running daemon as rootSoapux2018-04-131-1/+1
|
* trivial: Fix a couple of whitespace issuesRichard Hughes2018-03-291-9/+9
|
* trivial: Fix a GObjectIntrospection markup mistakeRichard Hughes2018-03-291-1/+1
|
* trivial: Update the reference spec fileRichard Hughes2018-03-291-2/+0
| | | | File triggers FTW.