Michael Vetter
c2a252acb6
Continue german translation
2015-08-04 14:43:26 +02:00
Jon Lund Steffensen
53f6a3f449
Merge pull request #237 from bigon/master
...
Add a redshift desktop file (#158 )
2015-07-19 17:28:54 -04:00
Laurent Bigonville
3bb7a9857d
Add a redshift desktop file ( #158 )
...
This should fix the fact that redshift cannot query its location using
geoclue 2
2015-07-07 01:06:55 +02:00
Jon Lund Steffensen
5f26b3d396
Merge pull request #197 from forivall/clamp-fix
...
Fix clamp issues
2015-05-10 20:34:47 -04:00
Jon Lund Steffensen
3cf71a0115
Merge pull request #201 from maandree/update-gitignore
...
Updates to .gitignore
2015-05-10 20:30:34 -04:00
Jon Lund Steffensen
6c51f4f7b0
Merge pull request #214 from maandree/null-checks
...
Remove unnecessary null-checks
2015-05-10 19:43:05 -04:00
Mattias Andrée
6954f21fd4
remove unnecessary null-checks, it is safe to pass NULL to free (per documentation)
...
Signed-off-by: Mattias Andrée <maandree@operamail.com >
2015-05-07 17:52:27 +02:00
Mattias Andrée
a5d1d7a82c
update .gitignore
...
Signed-off-by: Mattias Andrée <maandree@operamail.com >
2015-05-05 21:49:59 +02:00
Jordan Klassen
ba15832b9e
Fix CLAMP macro overwritten by glib headers
...
Fixes #188
When I moved the macro definition below all of the includes, I got the
following compiler warning:
/usr/include/glib-2.0/glib/gmacros.h:246:0: note: this is the location
of the previous definition
#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low))
? (low) : (x)))
So, that's the macro definition that was being used whenever "CLAMP" was
used. It's pretty obvious what went wrong.
2015-05-02 12:35:05 -07:00
Jon Lund Steffensen
8b0a67a253
Fix #174 : Use nanosleep() instead of usleep()
...
usleep() cannot sleep for more than 1000000 microseconds on certain
platforms. nanosleep() does not have this limitation.
2015-02-22 11:51:22 -05:00
Jon Lund Steffensen
7818b4aa74
Fix #169 : Link to HACKING.md file
2015-02-22 11:34:12 -05:00
Jon Lund Steffensen
32c038827e
Fix #178 : Add libtool to dependency list (IAmRasputin)
2015-02-22 11:28:49 -05:00
Jon Lund Steffensen
5e54d6629f
Update translation files
2015-02-22 11:25:07 -05:00
Jon Lund Steffensen
88654df6af
po/Makevars: Update bug report URL
2015-02-22 11:24:35 -05:00
Jon Lund Steffensen
413c4c9de0
README: Add Redshift logo image
2015-01-24 16:36:24 -05:00
Jon Lund Steffensen
731a7d2cd5
Fix #162 : Ensure that interpolation alpha is in [0;1]
2015-01-15 09:37:31 -05:00
Jon Lund Steffensen
c920c30def
Merge pull request #159 from christian-burger/master
...
fixes #157 : it was a tiny oversight during refactoring
2015-01-10 10:47:46 -05:00
Christian Burger
8dbeda906a
fixes jonls/redshift#157 introduced by jonls/redshift@f9c2a1568c
2015-01-10 12:32:04 +01:00
Jon Lund Steffensen
8d5cf30b4d
redshift: Add print_location() function
2015-01-04 17:48:10 -05:00
Jon Lund Steffensen
6711be464f
Merge branch 'preserve-gamma'
2015-01-04 16:35:05 -05:00
Jon Lund Steffensen
699e25b33c
w32gdi: Add preserve option to windows GDI method
2015-01-04 16:34:34 -05:00
Jon Lund Steffensen
aaf455c9ae
vidmode: Add preserve option to VidMode method
2015-01-04 16:34:33 -05:00
Jon Lund Steffensen
d32314f8cc
quartz: Add preserve option to Quartz method
...
This change adds the preserve option to the quartz method which makes it
base the temperature adjustments on the existing gamma ramps when set. This
requires that the existing gamma ramps are saved at start-up which this
commit also adds.
One drawback is that the list of displays is enumerated at start-up now which
means that Redshift will likely not affect displays that are connected after
start-up. This could be fixed in the future by listening to reconfiguration
events.
2015-01-04 16:34:33 -05:00
Jon Lund Steffensen
77e2c3b88b
randr: Add preserve option to RandR method
2015-01-04 16:34:33 -05:00
Jon Lund Steffensen
9b299132ef
colorramp: Use supplied gamma ramps as initial value
...
This changes colorramp_fill() to base the ramp calculations on the
existing values in the supplied tables, instead of basing it on a pure
`i/size` value computed on the fly.
All gamma adjustment methods are changed to explicitly initialize the ramps
to the `i/size` value before calls to colorramp_fill().
2015-01-04 16:34:33 -05:00
Jon Lund Steffensen
017fc230be
redshift: Add gamma_is_valid function to check gamma
...
This checks whether the gamma values are within the bounds of
MIN_GAMMA and MAX_GAMMA.
2015-01-04 16:32:47 -05:00
Jon Lund Steffensen
bb61a25e88
redshift: Add transition scheme type with color settings
...
This changes the transition_levels_t to transition_scheme_t and
adds two fields day, night of type color_setting_t. This
encapsulates all the information needed to calculate the current
color setting from an elevation.
2015-01-04 16:32:47 -05:00
Jon Lund Steffensen
c2f0ca4647
redshift: Make transition levels parameter to related functions
...
Moves transition_low and transition_high from globals into a
struct transition_levels_t that is created in main and passed to
the relevant functions.
2015-01-04 16:32:47 -05:00
Jon Lund Steffensen
f9c2a1568c
redshift: Move continual loop mode to separate function
2015-01-04 16:32:47 -05:00
Jon Lund Steffensen
799b08214d
Add location_t type with lat/lon fields
2015-01-04 16:32:47 -05:00
Jon Lund Steffensen
0510031b69
Merge changes from 1.10 release branch
2015-01-04 15:49:24 -05:00
Jon Lund Steffensen
849c413066
NEWS: Fix date for 1.10 release
2015-01-04 15:49:05 -05:00
Jon Lund Steffensen
39caf9125b
contrib: Update Fedora spec for 1.10
2015-01-04 15:39:43 -05:00
Jon Lund Steffensen
9f4c061771
Import translations from launchpad
2015-01-04 15:22:14 -05:00
Jon Lund Steffensen
0cc785c730
redshift: Add noop pause() macro on windows platform
...
Build failed on windows platform since pause() is not available. The
function is not needed on the windows platform so we just define a
noop pause() macro.
2015-01-04 14:53:16 -05:00
Jon Lund Steffensen
b0587faf70
NEWS: Update for 1.10 release
2015-01-04 14:53:16 -05:00
Jon Lund Steffensen
f1ce3e0db0
NEWS: Rename to NEWS.md and markdown format
2015-01-04 14:53:16 -05:00
Jon Lund Steffensen
8a63df181a
configure.ac: Update version to 1.10
2015-01-04 14:53:16 -05:00
Jon Lund Steffensen
bd086885a5
Fix #152 : redshift: Loop in reset/manual/one-shot mode with Quartz
...
The gamma adjustments made with the Quartz (OSX) method are tied
to the process so when we exit, the gamma adjustments are reset.
Therefore we need to run a loop that breaks on CTRL-C, after the
gamma adjustments are made.
2015-01-04 13:50:53 -05:00
Jon Lund Steffensen
f7dd7addd8
Fix #153 : geoclue2: Set desktop id on GeoClue2 client
...
This property needs to be set in the latest versions of GeoClue2,
but it is not available in early versions.
2015-01-02 22:42:16 -05:00
Jon Lund Steffensen
ae84197292
Update po files
2014-12-30 22:10:36 -05:00
Jon Lund Steffensen
542254705b
redshift: Fix untranslated status strings
2014-12-30 22:08:06 -05:00
Jon Lund Steffensen
59023d86f4
Merge branch 'hooks-dir'
2014-12-28 19:26:29 -05:00
Jon Lund Steffensen
24a132bbe8
README: Add flattr button at the end
2014-12-28 19:21:05 -05:00
Jon Lund Steffensen
75ad3de1fe
redshift.1: Add description of hooks in man page
2014-12-28 15:20:17 -05:00
Jon Lund Steffensen
268f89088c
redshift.1: Update outdated information in man page
...
Clarify use of options and `list` for for methods and providers.
Add missing information on configuration file options.
Update issue tracker web address.
2014-12-28 15:19:32 -05:00
Jon Lund Steffensen
956dbdfe7e
Merge branch 'translation-updates'
2014-12-28 14:42:08 -05:00
Jon Lund Steffensen
06624adc18
Update po files
2014-12-28 14:41:34 -05:00
Jon Lund Steffensen
f154aaa7c1
redshift: Add translation comment on period name None
2014-12-28 14:34:43 -05:00
Jon Lund Steffensen
0b94ec26fe
redshift: Add translation of Daytime/Night in new gamma string
2014-12-28 14:34:21 -05:00