Commit Graph
284 Commits
Author SHA1 Message Date
Jon Lund Steffensen d185fa7a1c Bump version to 1.8 2013-10-21 16:18:42 -04:00
Jon Lund Steffensen 7abb16512e Fix typos (Benjamin Kerensa) 2013-10-21 16:05:51 -04:00
Jon Lund Steffensen 978f4acde2 location-geoclue: Fix crash when starting geoclue provider. (Thanks to Maks Verver) 2013-10-21 15:44:51 -04:00
Jon Lund Steffensen 95d8a3f760 colorramp: Fix slight flicker caused by improper scaling of gamma ramp values
Values generated by colorramp_fill() will be a maximum of i * 256 - 1, due  to the use of UINT16_MAX. Simplest fix ought to be using (UINT16_MAX+1), which is safe, as the maximum value (255 * 256) still fits in a uint16.
(Thanks to Sean Hildebrand)
2013-10-21 15:29:18 -04:00
Jon Lund Steffensen d7e67a208f Fix slight wobble in temperature caused by float.
The transition variable 'adjustment_alpha' is a float. Redshift will wobble between 6499 and 6500K as the float runs out of precision. Using a double seems to solve the issue.
(Thanks to Sean Hildebrand)
2013-10-21 15:29:05 -04:00
Jon Lund Steffensen 4735bf9221 configure.ac: Require autoconf 2.69
From fedora bug report:
Support for the ARM 64 bit CPU architecture (aarch64) was introduced in
autoconf 2.69.  redshift appears to use an earlier version of
autoconf, preventing its being built.
(Thanks Miloš Komarčević, Dennis Gilmore)
2013-10-21 14:59:42 -04:00
Jon Lund Steffensen 30c805f5e7 Rename gtk-redshift -> redshift-gtk.
This is primarily for improved discovery. Some users report that they didn't know about redshift-gtk, but had it been available on tab completion they would have noticed. Also, I think it is in general good practice that closely related programs have the same prefix.
2013-03-05 23:17:54 +01:00
Sebastian Pipping 7346a69f62 Makefile.am: Fix missing files when generating tarball.
With

  $ ./configure --disable-gui
  $ make dist

currently a tarball would be produced, that lacks the .desktop file.
That happens, because an empty variable is appended to EXTRA_DIST.

The attached patch ensures release tarballs with complete, consistent
content and at the same time makes sure that with --disable-gui no .svg
files are installed.
2013-03-02 12:58:21 +01:00
Jon Lund Steffensen 64b6a0b2d6 HACKING: Add further notes on testing python scripts. 2012-02-04 00:42:29 +01:00
Jon Lund Steffensen ed873130a1 Merge gtk-redshift option to suspend for a short time period (Jendrik Seipp). 2012-02-03 20:23:48 +01:00
Jendrik Seipp d363f4fb37 Add "Suspend for X minutes" option to gtk-redshift 2012-02-03 02:07:57 +01:00
Jon Lund Steffensen e49d1a4a0e Add some info on building redshift from a bzr branch. 2012-02-02 18:40:57 +01:00
Jon Lund Steffensen ca5e65383c Also print status on start up. 2012-02-02 18:39:54 +01:00
Jon Lund Steffensen 9b72cb363a Print status message when redshift is enabled/disabled by SIGUSR1. 2011-12-04 21:30:26 +01:00
Jon Lund Steffensen f3ba17bac4 gtk-redshift: Also set "Hidden" property in autostart file (as specified in XDG autostart standard). 2011-12-03 22:50:10 +01:00
Jon Lund Steffensen 098aa493e6 Add print mode (prints parameters and exits) by Vincent Breitmoser. 2011-11-27 21:25:23 +01:00
Vincent Breitmoser 4bae608c5d add -p option for print mode.
This mode only prints the current screen parameters and exits.
Useful for quick lookup of this value for use in scripts.
2011-11-27 17:17:16 +01:00
Jon Lund Steffensen 6735eb0da3 Fix hypen/minus usage in man page. 2011-10-18 19:49:20 +02:00
Jon Lund Steffensen 70e7259928 Update to latest (v3) icons. (aleth) 2011-10-18 19:41:44 +02:00
Jon Lund Steffensen 659f7dbc41 Add various documentation updates: DESIGN and HACKING document, and various small comments int the source (Christian Jaeger).
Update man page with information on configuration file.
2011-10-18 18:14:11 +02:00
Jon Lund Steffensen 802d09e83b Add various documentation updates: DESIGN and HACKING document, and various small comments int the source (Christian Jaeger).
Update man page with information on configuration file.
2011-10-18 18:02:28 +02:00
Jon Lund Steffensen f7d0b5fe72 Set buffering on stdout and stderr to line-buffered.
Previously stdout would be block buffered and stderr unbuffered when writing to a non-terminal.
This code works on Debian with libc 2.11.2. The man page of setvbuf mentions that NULL can be used to avoid affecting the used buffer, but doesn't mention whether the size argument is then ignored; testing on Debian has revealed that this code works as intended, but I don't know whether that's standard.
(Christian Jaeger)
2011-10-18 16:45:03 +02:00
Jon Lund Steffensen 3bd88a4307 Allow separate brightness for day and night (Olivier Fabre and Jeremy Erickson). 2011-10-18 16:01:17 +02:00
Jon Lund Steffensen 41853acdf8 Update translation files. 2011-07-12 22:32:13 +02:00
Jon Lund Steffensen 8a0eee83de location-geoclue: Check return value of geoclue_master_create_client().
Unref master and client objects after use.
2011-07-12 22:30:30 +02:00
Jon Lund Steffensen acb7062f53 Fix build on windows platform. 2011-07-05 22:17:01 +02:00
Jon Lund Steffensen 942a3fdb5e Update NEWS and configure.ac for 1.7 release. 2011-07-04 15:25:02 +02:00
Jon Lund Steffensen 220bf14ae2 Document brightness (-b) option switch. 2011-07-04 15:10:55 +02:00
Jon Lund Steffensen fb35f5ae6d Fix randr version check (Alisdair Tullo). 2011-07-04 15:05:05 +02:00
Jon Lund Steffensen 3832a2fc7d Add option to show program version (-V). 2011-07-04 15:00:46 +02:00
Jon Lund Steffensen d48b10365c Import translations from launchpad. 2011-07-04 14:52:32 +02:00
Albert Lee 0373366813 location-gnome-clock.c: Avoid leaking GError objects (Albert Lee). 2011-07-04 14:31:05 +02:00
Albert Lee 4b05bbee41 Use signal.h instead of sys/signal.h for POSIX compliance. 2011-07-04 14:20:51 +02:00
Jon Lund Steffensen adbcc89b3e Install Ubuntu icons as option (--enable-ubuntu). (Francesco Marella) 2011-07-04 14:14:44 +02:00
Jon Lund Steffensen 02719732d9 Apply fix for new clock applet gconf (Miloš Komarčević). 2011-07-04 13:41:35 +02:00
Jon Lund Steffensen ebcfda765e Merge manual mode from Joe Hillenbrand with some modifications. 2011-06-07 00:26:45 +02:00
Launchpad Translations on behalf of jonls 09ab561ccf Launchpad automatic translations update. 2011-05-26 04:45:49 +00:00
Launchpad Translations on behalf of jonls 07fe7e3e85 Launchpad automatic translations update. 2011-05-02 04:48:16 +00:00
Jon Lund Steffensen 38af3a0d5e Allow brightness to be adjusted (between 10% and 100%, the latter being the default). 2011-04-21 00:23:50 +02:00
Launchpad Translations on behalf of jonls f26b949f8a Launchpad automatic translations update. 2011-03-31 04:52:54 +00:00
Jon Lund Steffensen 54d7f9ff1c w32gdi: Remember to release the DC handle on error.
Add comment on failure of SetDeviceGammaRamp().
2011-03-30 22:09:25 +02:00
Launchpad Translations on behalf of jonls 7cad9ee61e Launchpad automatic translations update. 2011-03-30 04:58:39 +00:00
Jon Lund Steffensen 6c1986b51a config: Look in %userprofile%/.config/redshift.conf on windows platform. 2011-03-29 23:57:53 +02:00
Jon Lund Steffensen 28d553ddbb Merge Geoclue location provider by Mathieu Trudel-Lapierre with some tweaks. 2011-03-28 00:14:58 +02:00
Jon Lund Steffensen 46726ac9eb w32gdi: Obtain a new DC handle on every adjustment. This fixes a bug
where redshift stops updating the screen.
2011-03-27 21:38:13 +02:00
Jon Lund Steffensen 9d7096d11c Fix: return 0 in parse_gamma_string() on success. 2011-03-27 21:37:10 +02:00
Launchpad Translations on behalf of jonls 5afd4a691c Launchpad automatic translations update. 2011-03-25 04:56:39 +00:00
Joe Hillenbrand 494d1e03de Added feature to manually set temperature without needing location data. 2011-02-25 19:52:18 -08:00
Mathieu Trudel-Lapierre d4472d291b Add Makefile bits for geoclue provider to properly link against geoclue
and dbus-glib.
2011-02-09 23:36:14 -05:00
Mathieu Trudel-Lapierre 3bf1f85267 Add first pass of Geoclue location provider. 2011-02-09 23:31:17 -05:00