Use separate arguments instead of colon for option delimiting in -l and -m

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add adjustment datastructures to adjustments.h and prepare colorramp_fill for using it

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add adjustment method common states

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Adjustment method common state initialisation and destruction

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add adjustment method commit CRTC iterator

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add a function to find the alreadly loaded, if any, site (e.g. X display) that has a matching name

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Implement adjustment method common CRTC selection logic

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add adjustment method common gamma ramp update function and restore function

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add adjustment method common option parsing

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add functions for updating adjustment settings

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add function to config-ini that gets multiple sections with the same name

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Rewrite gamma-dummy to use gamma-common and update redshift.c to use gamma-common.
When compiling, disable all other methods until they too have been rewritten to
use gamma-common.

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Rewrite gamma-randr to use gamma-common

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Rewrite gamma-vidmode to use gamma-common

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Rewrite gramma-drm to use gamma-common

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Rewrite gamma-w32gdi to use gamma-common

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Remove the old colorramp_fill

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add support for lookup-tables

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add preserve-calibrations (-P) option

Signed-off-by: Mattias Andrée <maandree@operamail.com>