aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style and some minor fixesMattias Andrée2025-03-0618-664/+489
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* StyleMattias Andrée2025-03-0618-892/+556
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Fix warningMattias Andrée2025-03-051-0/+1
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Fix warningsMattias Andrée2025-03-0512-22/+79
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Mention after fork that SIGCHLD is ignoredMattias Andrée2025-03-051-0/+1
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Style and warningsMattias Andrée2025-03-0510-216/+286
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Just use double, no mixing in floatMattias Andrée2025-03-056-37/+32
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Consistently use (locally defined) WINDOWS macro over mixing __WIN32__ and _WIN32Mattias Andrée2025-03-055-12/+12
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Merge config-ini.h and options.h into common.hMattias Andrée2025-03-057-116/+61
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* cleanup + cast + use pipe2 on linuxMattias Andrée2025-03-054-46/+52
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Nicer X macrosMattias Andrée2025-03-053-16/+15
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Cleanup and style update (avoid typedef)Mattias Andrée2025-03-0524-720/+452
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Merge redshift.h into common.hMattias Andrée2025-03-056-162/+131
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Remove old #includeMattias Andrée2025-03-051-2/+0
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Move redshift-gtk/ to rootMattias Andrée2025-03-057-812/+0
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Unify header files (so far most)Mattias Andrée2025-03-0528-516/+138
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Use colour temperature table from libredMattias Andrée2025-03-053-276/+13
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Resolve redshift/issues/223: redshift-gtk: fix title of window to RedshiftMattias Andrée2025-03-051-1/+1
| | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* Merge branch 'homeless-users-and-nonusers' of https://github.com/maandree/redshiftMattias Andrée2025-03-051-9/+23
|\
| * Improve error messages that are printed when the user's home directory cannot be determineMattias Andrée2015-05-051-2/+4
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * Support (but warn) that the user does not have an passwd entry or a home set in the passwd entry. Also, getpwent can fail: handle that.Mattias Andrée2015-05-051-4/+16
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | Merge branch 'master' of https://github.com/webkadiz/redshiftMattias Andrée2025-03-051-0/+6
|\ \
| * | Add signal exit handler for SIGQUITWebkadiz2021-06-231-0/+6
| | |
* | | Merge branch 'add-preserve-gamma-config-option' of https://github.com/kenoh/redshiftMattias Andrée2025-03-051-0/+4
|\ \ \
| * | | Add preserve-gamma configuration optionMatúš Honěk2019-04-291-0/+4
| | | | | | | | | | | | | | | | | | | | To be able to convey the same information the '-P' command line option currently does, but using configuration file.
* | | | Merge branch 'coopgamma' of https://github.com/maandree/redshiftMattias Andrée2025-03-0514-66/+671
|\ \ \ \
| * | | | Add coopgamma backendMattias Andrée2016-12-1919-81/+697
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* | | | | Update my e-mail addressMattias Andrée2025-03-054-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* | | | | config.mk: make pkg-config replacable and list all pkg-config covered libraries in on macroMattias Andrée2025-03-051-2/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* | | | | Merge branch 'typo'Mattias Andrée2025-03-041-1/+1
|\ \ \ \ \
| * | | | | src/redshift.c: Fix typo in error messagenicoo2020-12-111-1/+1
| | |_|/ / | |/| | |
* | | | | add definitions needed to enable operationMattias Andrée2025-03-041-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* | | | | Cleanup, fix/update sv.po, begin use of plain make and renaming project to redshift-ngMattias Andrée2025-03-044-108/+66
|/ / / / | | | | | | | | | | | | Signed-off-by: Mattias Andrée <m@maandree.se>
* | / / src/redshift.c: Use localtime_s() on WindowsMasanori Kakura2020-06-131-0/+5
| |/ / |/| | | | | | | | | | | AppVeyor's GCC no longer supports localtime_r(). We need to use localtime_s() on Windows.
* | | Fix #386: added more suspend durations as requestedhubvu2019-03-031-1/+3
| | |
* | | Fixes #578: Allow hash as comment characterJon Lund Steffensen2018-10-201-2/+2
| | |
* | | Merge pull request #673 from clefebvre/symbolic-status-iconsJon Lund Steffensen2018-10-201-10/+21
|\ \ \ | | | | | | | | Status icon: Prefer symbolic icons when available
| * | | Status icon: Prefer symbolic icons when availableClement Lefebvre2018-10-021-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use 'redshift-status-on-symbolic' and 'redshift-statys-off-symbolic' if available. If these icons are not present in the icon theme, fallback to 'redshift-status-on' and 'redshift-status-off'. Symbolic icons are the only way for themes to properly support both light and dark panels with grey icons. If the icon name ends with -symbolic, GTK renders the foreground color of the icon based on the color of the panel behind it.
* | | | Fix "Some translated strings are still in English" issueMasanori Kakura2018-08-298-0/+31
|/ / / | | | | | | | | | | | | | | | 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.
* | | Fix issue where quartz did not mark as unavailableJon Lund Steffensen2018-05-201-1/+16
| | |
* | | config-ini: Properly respect XDG_CONFIG_HOME base directory specificationMasanori Kakura2018-05-041-5/+29
| | | | | | | | | | | | If redshift.conf is not found, fall back to formerly used path.
* | | Fix #335: Set period to none when disabledMatt Stobo2017-10-301-0/+1
| | | | | | | | | | | | This allows for hooks to be run when redshift is disabled
* | | options: Split parse functionsJon Lund Steffensen2017-10-191-276/+277
| | |
* | | Change preserve option to command line switchJon Lund Steffensen2017-10-1310-66/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Add function for resetting color_setting_tJon Lund Steffensen2017-10-131-11/+20
| | |
* | | Move options handling to separate fileJon Lund Steffensen2017-10-135-715/+869
| | | | | | | | | | | | | | | | | | | | | Create options.c which contains functions for initializing and parsing options from the command line and the configuration file. Program options that were previously local variables in main() are moved to the options_t struct.
* | | Move module structures out of headersJon Lund Steffensen2017-10-1317-161/+109
| | |
* | | Allocate module data in init functionsJon Lund Steffensen2017-10-1311-121/+138
| | |
* | | Move module struct definitions to separate filesJon Lund Steffensen2017-10-1319-305/+237
| | |
* | | add help message to redshift-gtkSamuel Walladge2017-10-131-0/+5
| | |