summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* make the idle hint getters sync dbus methodsWilliam Jon McCann2007-02-203-11/+20
| | | | | This makes it easier to use from C code. Also fix a bug where we weren't emitting the argument in the idle-hint-changed signal.
* rename idle methods and signal to indicate they are hintsWilliam Jon McCann2007-02-203-49/+49
| | | | | Rename GetIdle to GetIdleHint (etc) to make it clear that these are not authoritative properties.
* limit the use of errnoWilliam Jon McCann2007-02-191-5/+10
| | | | Try to limit the use of errno in case it can change.
* handle the no console fd case betterWilliam Jon McCann2007-02-192-10/+38
| | | | | Don't spew warnings when getfd() can't find a suitable console fd. Also add a comment to note where getfd.c comes from.
* improve thread safetyWilliam Jon McCann2007-02-191-52/+174
| | | | | | Change to using an async queue for events from VT watching threads. Add mutex protection to shared data. Compress the event queue when possible by discarding all but the most recent VT activation event.
* add creation and idle-since timesWilliam Jon McCann2007-02-153-0/+61
| | | | | Added GetCreationTime and GetIdleSince methods. And added the output to the list-sessions tool.
* implement get/set idle methodsWilliam Jon McCann2007-02-153-11/+173
| | | | | Add the GetIdle and SetIdle methods, and the IdleChanged signal. SetIdle is restricted to the uid of the session in question.
* restrict access to CloseSessionWilliam Jon McCann2007-02-151-0/+77
| | | | Only allow the uid and pid that opened the session to close it.
* convert all tabs to spacesWilliam Jon McCann2007-02-153-93/+93
|
* fix compiler warningWilliam Jon McCann2007-02-151-3/+6
|
* fix warning from missing includeWilliam Jon McCann2007-02-132-5/+6
|
* create and delete pid fileS.Çağlar Onur2007-02-131-1/+24
| | | | | While try to play with ConsoleKit i realize it cannot create its pid file, so if needed attached patch adds that with copy/paste from PolicyKit :).
* use the supplied vt number when updating active sessionWilliam Jon McCann2007-02-121-12/+19
| | | | | Just the use vt number given by the vt-manager instead of asking for the current vt again. A little bit less racy this way.
* Bump thread stack size up to 64kWilliam Jon McCann2007-02-081-1/+1
| | | | | The minimum stack size 16k seems to crash glibc when we do printf in debug.
* support for reconnecting to the system busWilliam Jon McCann2007-02-071-45/+153
| | | | | Instead of exiting on disconnect this attempts to reconnect. Based on patch from: Timo Hoenig <thoenig@suse.de>
* reduce the debug buffer sizeWilliam Jon McCann2007-02-071-6/+6
| | | | Reduce the buffer size in the debugging code.
* Don't keep last session active when switching to a VT withoutWilliam Jon McCann2007-02-061-3/+1
| | | | | a session registered on it. Patch from: David Zeuthen
* Add some more debugging outputWilliam Jon McCann2007-02-062-2/+10
|
* Make threads use minimum stack size rather than the default.William Jon McCann2007-02-061-1/+1
| | | | Patch from: mclasen@redhat.com
* Fix some small leaks. Add --timed-exit to daemon for valgrinding.William Jon McCann2006-11-065-5/+18
|
* Show message even when error is NULL. Fix valgrind script.William Jon McCann2006-11-063-3/+6
|
* Add a script to test FUS related functionality.William Jon McCann2006-10-313-10/+71
| | | | Fix a problem where error was reported twice.
* Add .gitignore files and rename tool.William Jon McCann2006-10-271-0/+13
|
* Actually remove files and remember to use commit -a.William Jon McCann2006-10-276-1403/+0
|
* Initial importWilliam Jon McCann2006-10-2527-0/+5894