Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up | Mattias Andrée | 13 days | 1 | -4/+4 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Exclude unavailable adjustment methods when listing and trying | Mattias Andrée | 13 days | 1 | -0/+7 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Use libgamma to determine available adjustment method configuration options | Mattias Andrée | 13 days | 1 | -19/+6 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Relay on libgamma for selecting adjustment method support | Mattias Andrée | 13 days | 1 | -0/+2 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Rewrite gamma-w32gdi to use libgamma | Mattias Andrée | 13 days | 1 | -153/+7 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Misc stuff | Mattias Andrée | 14 days | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Refactor | Mattias Andrée | 2025-03-21 | 1 | -2/+9 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Refactor | Mattias Andrée | 2025-03-16 | 1 | -16/+6 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Major refactoring and some fixes | Mattias Andrée | 2025-03-16 | 1 | -6/+5 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | style | Mattias Andrée | 2025-03-08 | 1 | -3/+2 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Misc improvements | Mattias Andrée | 2025-03-07 | 1 | -18/+18 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Update redshift to redshift-ng | Mattias Andrée | 2025-03-06 | 1 | -4/+4 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | style and some minor fixes | Mattias Andrée | 2025-03-06 | 1 | -12/+9 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Style | Mattias Andrée | 2025-03-06 | 1 | -65/+50 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Cleanup and style update (avoid typedef) | Mattias Andrée | 2025-03-05 | 1 | -35/+20 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Merge branch 'coopgamma' of https://github.com/maandree/redshift | Mattias Andrée | 2025-03-05 | 1 | -3/+3 |
|\ | |||||
| * | Add coopgamma backend | Mattias Andrée | 2016-12-19 | 1 | -3/+3 |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | | Fix "Some translated strings are still in English" issue | Masanori Kakura | 2018-08-29 | 1 | -0/+4 |
| | | | | | | | | | | | | ENABLE_NLS is always undefined in some files and some translatable messages in these files are always displayed in English. This commit fixes the issue. | ||||
* | | Change preserve option to command line switch | Jon Lund Steffensen | 2017-10-13 | 1 | -13/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes each adjustment method to take a preserve parameter when setting the temperature instead of parsing the preserve option from the command line/configuration file. This helps resolve the issues around #513: - This allows the preserve option to be implemented as a command-line switch (-P). This switch _disables_ the preservation of existing gamma ramps. Having a command-line switch makes it easier to use directly with manual or one-shot mode. - The preserve options is on by default, so continual mode as well as other modes will default to applying the color adjustment on top of the current gamma ramps. - Preserve is always disabled in reset mode so resetting works as expected again. | ||||
* | | Move module structures out of headers | Jon Lund Steffensen | 2017-10-13 | 1 | -0/+6 |
| | | |||||
* | | Allocate module data in init functions | Jon Lund Steffensen | 2017-10-13 | 1 | -3/+9 |
| | | |||||
* | | Move module struct definitions to separate files | Jon Lund Steffensen | 2017-10-13 | 1 | -8/+20 |
| | | |||||
* | | Fix #523: Retry SetDeviceGammaRamp before giving up | dev7355608 | 2017-09-27 | 1 | -5/+15 |
| | | | | | | | | | | | | We have to retry SetDeviceGammaRamp a few times before giving up because some buggy drivers fail on the first invocation just to succeed on the second. | ||||
* | | w32gdi: Enable preserve by default | Jon Lund Steffensen | 2017-08-31 | 1 | -1/+1 |
|/ | |||||
* | w32gdi: Add preserve option to windows GDI method | Jon Lund Steffensen | 2015-01-04 | 1 | -7/+29 |
| | |||||
* | colorramp: Use supplied gamma ramps as initial value | Jon Lund Steffensen | 2015-01-04 | 1 | -0/+8 |
| | | | | | | | | | 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(). | ||||
* | redshift: Simplify set_temperature by passing color_setting_t | Jon Lund Steffensen | 2014-12-27 | 1 | -4/+4 |
| | | | | | | | | Changes all set_temperature function in gamma adjustment methods to take a color_setting_t pointer with the color settings. Colorramp functions are similarly changed to take a color settings struct. | ||||
* | Constify gamma parameter to set_temperature() methods | Jon Lund Steffensen | 2013-12-09 | 1 | -1/+1 |
| | |||||
* | Allow brightness to be adjusted (between 10% and 100%, the latter being the default). | Jon Lund Steffensen | 2011-04-21 | 1 | -3/+4 |
| | |||||
* | w32gdi: Remember to release the DC handle on error. | Jon Lund Steffensen | 2011-03-30 | 1 | -1/+6 |
| | | | | Add comment on failure of SetDeviceGammaRamp(). | ||||
* | w32gdi: Obtain a new DC handle on every adjustment. This fixes a bug | Jon Lund Steffensen | 2011-03-27 | 1 | -12/+31 |
| | | | | where redshift stops updating the screen. | ||||
* | gamma-w32gdi.c: Conditionally define WINVER. | Jon Lund Steffensen | 2010-06-13 | 1 | -1/+3 |
| | |||||
* | gamma-w32gdi.c: Fix name of w32gdi_start() function. | Jon Lund Steffensen | 2010-06-10 | 1 | -1/+1 |
| | |||||
* | Split init function of methods and providers into init and start. | Jon Lund Steffensen | 2010-05-27 | 1 | -7/+17 |
| | | | | | The set_option function can be called to set options between init and start. | ||||
* | Let gamma methods and location providers print help on option parameters. | Jon Lund Steffensen | 2010-05-27 | 1 | -1/+14 |
| | |||||
* | Fix build on mingw | Jon Lund Steffensen | 2010-05-25 | 1 | -1/+1 |
| | |||||
* | Use the prefix 'gamma' for gamma adjustment source files. | Jon Lund Steffensen | 2010-05-24 | 1 | -0/+127 |