Add hidden non-git files and .gch and .su (can be generated when compiling C files) to .gitignore

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Add fake-w32gdi (./configure --enable-fakegdi) that enabled the w32gdi method under X by (sloopyly) translating the calls to RandR calls

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Printing gamma in verbose mode is not necessary and causes complications when all monitors can have individual gamma corrections, remove it

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Separate out adjustment methods from redshift.c into adjustments.h so that it can be accessed from elsewhere, and make the compile-time configurable

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Check for strdup failure in location-geoclue

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Move coordinate and elevation constants from redshift.c to redshift.h, and make elevation constants compile-time configurable

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Merge pull request #84 from maandree/geoclue-strdup-failure

Check for strdup failure in location-geoclue
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>