aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Work on handling requestsMattias Andrée2016-07-138-55/+492
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement main loop and handling of inbound connections + remove server_message (though like this was an mds server and not a stand-alone server)Mattias Andrée2016-07-123-69/+94
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add -q and -qqMattias Andrée2016-07-121-4/+111
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add loop that waits on socketsMattias Andrée2016-07-123-0/+79
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Rename project: gammad => coopgammadMattias Andrée2016-07-1215-24/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement re-execMattias Andrée2016-07-123-2/+106
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* 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-114-1/+280
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* whitespace + Add message.[ch]Mattias Andrée2016-07-118-1/+800
| | | | 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>
* Detect kernel automaticallyMattias Andrée2016-07-111-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Do not require /procMattias Andrée2016-07-112-3/+16
| | | | 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-114-13/+288
| | | | 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-118-65/+102
| | | | 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>
* Add makefileMattias Andrée2016-07-101-0/+37
| | | | 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>
* Add licenseMattias Andrée2016-07-102-0/+689
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* first commitMattias Andrée2016-07-101-0/+14
Signed-off-by: Mattias Andrée <maandree@kth.se>