Commit Graph
509 Commits
Author SHA1 Message Date
Jon Lund Steffensen fffbd883af Merge pull request #267 from jonls/manpage-adjust
Fix #266: manual page adjustments
2015-12-28 11:00:57 -05:00
Jon Lund Steffensen a68a6a237d Merge pull request #281 from bebehei/patch-1
Change documentation concerning hooks
2015-12-28 10:59:30 -05:00
Jon Lund Steffensen 7199483362 Fix #284: Add sample configuration file 2015-12-28 10:47:41 -05:00
Benedikt Heine 1eb0314f80 Change documentation concerning hooks 2015-11-28 00:56:16 +01:00
Jon Lund Steffensen 64d9b6e278 Merge pull request #279 from giwhub/patch-2
Update zh_CN.po
2015-11-25 00:15:44 -05:00
giwhub 91e76fca80 Update zh_CN.po 2015-11-24 18:30:39 +08:00
Jon Lund Steffensen 10e2518cbe Merge pull request #277 from giwhub/patch-1
Update zh_CN.po
2015-11-19 13:07:58 -05:00
giwhub 5f36e55f22 Update zh_CN.po 2015-11-19 20:00:54 +08:00
giwhub 4289716783 Update zh_CN.po 2015-11-19 13:35:22 +08:00
Jon Lund Steffensen 695c9a490e Merge pull request #272 from genodeftest/patch-1
Specify required Gtk and AppIndicator version
2015-11-15 21:46:54 -05:00
Christian Stadelmann d19e491313 Merge pull request #2 from javiercantero/warnings
Fallback if AppIndicator3 req. version unavailable
2015-11-15 12:52:47 +01:00
Javier Cantero ae2e23325b Fallback if AppIndicator3 req. version unavailable
Catch in the except block the case when the required version of
Appindicator3 is not available to also fallback in GtkStatusIcon widget.
2015-11-15 12:05:45 +01:00
Christian Stadelmann dfe1263869 Merge pull request #1 from javiercantero/warnings
Also specify required AppIndicator3 version
2015-11-14 13:13:04 +01:00
Javier Cantero 56cef8d9cc Also specify required AppIndicator3 version
Avoid another GObject Introspection warning in redshift-gtk by providing
the required version of AppIndicator3 before import it.
2015-11-14 12:09:34 +01:00
Christian Stadelmann 442fb9bd5d Specify required Gtk version
This fixes a warning when starting redshift-gtk with gtk 3.18.
2015-11-03 19:18:51 +01:00
Jon Lund Steffensen df4779ddcf Merge pull request #264 from arttox88cz/patch-1
Update cs.po
2015-10-21 00:18:43 -04:00
Jon Lund Steffensen 80a77dc7c9 Fix #266: manual page adjustments
Apply manual page adjustments suggested by rjc.
2015-10-21 00:08:45 -04:00
arttox88cz 40291df607 Update cs.po
Added some minor translations
2015-10-11 23:01:59 +02:00
Jon Lund Steffensen a8d3d845b8 Merge pull request #250 from bigon/master
redshift.desktop: Use NoDisplay instead of Hidden keyword (#158)
2015-09-08 19:29:46 -04:00
Laurent Bigonville 3fcdfa2eed redshift.desktop: Use NoDisplay instead of Hidden keyword (#158) 2015-08-16 14:04:48 +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