aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement state mergingMattias Andrée2016-07-123-6/+58
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement unmarshalling of process stateMattias Andrée2016-07-121-9/+138
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* whitespaceMattias Andrée2016-07-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement marshal of the processMattias Andrée2016-07-121-65/+196
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Conditionally store realpath(argv0) so we can reexecute even if argv0 is relativeMattias Andrée2016-07-111-0/+16
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update usage()Mattias Andrée2016-07-111-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* docMattias Andrée2016-07-111-3/+15
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m docMattias Andrée2016-07-111-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m docMattias Andrée2016-07-111-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Split out initialisation and deinitialisation from main()Mattias Andrée2016-07-111-105/+193
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add server.[ch]Mattias Andrée2016-07-113-0/+279
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* whitespace + Add message.[ch]Mattias Andrée2016-07-117-0/+799
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add signal handlersMattias Andrée2016-07-111-1/+48
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Do not require /procMattias Andrée2016-07-111-1/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Close file descriptorsMattias Andrée2016-07-111-1/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Create and listen to socket + do not use deprecated usleepMattias Andrée2016-07-113-4/+66
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Place in background unless -fMattias Andrée2016-07-113-12/+170
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Signal the spawner when the service is initialised enoughMattias Andrée2016-07-111-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use exit value 2 to indicate that the service is already runningMattias Andrée2016-07-111-4/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Retry once if pid file is emptyMattias Andrée2016-07-111-1/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement use of PID fileMattias Andrée2016-07-113-11/+286
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add get_pidfile_pathnameMattias Andrée2016-07-111-8/+33
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-111-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add .socket suffix to the socketMattias Andrée2016-07-111-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* whitespaceMattias Andrée2016-07-111-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement -pMattias Andrée2016-07-117-64/+97
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Sort outputs by nameMattias Andrée2016-07-113-12/+53
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-101-4/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add command line parserMattias Andrée2016-07-103-7/+102
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add adjustment method name parserMattias Andrée2016-07-101-1/+37
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Get the pathname of the socketMattias Andrée2016-07-102-4/+68
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warnings (and two errors)Mattias Andrée2016-07-103-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-101-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Work on marshallingMattias Andrée2016-07-108-56/+471
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2016-07-103-38/+75
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* whitespaceMattias Andrée2016-07-101-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Load output info and current gamma ramps, also restore gamma ramps on exitMattias Andrée2016-07-102-1/+263
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Initialise CRTC:sMattias Andrée2016-07-101-0/+90
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add filter.[ch]Mattias Andrée2016-07-102-0/+280
Signed-off-by: Mattias Andrée <maandree@kth.se>