summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* dont' mark the user properties to be set in the constructorWilliam Jon McCann2007-03-141-2/+2
| | | | | | | | Now that we have two properties (one deprecated) that refer to the same thing we can't require that they are both set during the constructor. Furthermore, we can't require that either of them are set because we don't know which will be used.
* deprecate the user properties and add unix-user propertiesWilliam Jon McCann2007-03-136-19/+71
| | | | | Also added deprecated notes to the docs. New code should be using GetUnixUser instead of GetUser etc.
* various leak fixesWilliam Jon McCann2007-03-134-21/+68
|
* add the last bits of spec frameworkWilliam Jon McCann2007-03-133-30/+11
| | | | | | The spec is the introspection format extended with docs. There are tools to build docbook and strip the docs to make dbus introspect xml.
* fix the user prop typeWilliam Jon McCann2007-03-091-9/+9
|
* add a few more parameters to session idlWilliam Jon McCann2007-03-091-0/+8
|
* add uuid to cookieWilliam Jon McCann2007-03-091-1/+9
|
* add a tool to autogenerate dbus object ref docsWilliam Jon McCann2007-03-093-8/+25
| | | | | | | I hope I didn't reinvent a wheel but it seems to work much better than hand coding these refentries. Still need to add support for comments and actual descriptions ala gtk-doc.
* remove debug noiseWilliam Jon McCann2007-03-061-1/+1
|
* add very basic idle monitoring of text sessions and rework parameter parsingWilliam Jon McCann2007-03-062-23/+205
| | | | | Rework the parameter parsing so it is a bit more robust and so that parameters can get passed to the constructor.
* use paths.h if availableWilliam Jon McCann2007-03-063-12/+37
|
* exit if we can't acquire name at startup and fix a glib warningWilliam Jon McCann2007-03-061-9/+32
|
* check for empty strings as well as nullWilliam Jon McCann2007-03-061-7/+9
|
* use a slightly more sophisticated rule for adding sessions to static seatWilliam Jon McCann2007-03-062-5/+33
|
* allow for the possibility of matching multiple sessions for deviceWilliam Jon McCann2007-03-061-15/+145
| | | | | | | In the event that there is more than one session that matches a particular tty when the VT changes we use the following rule: 1. take the oldest session where display-device == active VT device 2. take the oldest session where x11-display-device == active VT device
* add x11-display-device to parse tableWilliam Jon McCann2007-03-052-6/+9
|
* rename host-name in one more placeWilliam Jon McCann2007-03-051-6/+6
|
* rename host-name to remote-host-name to make it more intuitiveWilliam Jon McCann2007-03-053-27/+32
|
* add two more proc sysdep functionsWilliam Jon McCann2007-03-052-0/+57
|
* add x11-display-device attributeWilliam Jon McCann2007-03-053-92/+143
| | | | | | In certain cases it is necessary to distinguish the display-device (tty of session leader) from the x11-display-device (tty of xorg process).
* use an async job to collect session infoWilliam Jon McCann2007-03-054-76/+672
| | | | | Use an async helper job to collect session info for the OpenSession() method.
* add linux backends for collecting session informationWilliam Jon McCann2007-03-022-9/+68
| | | | | These tools will be used to generate and verify the parameters used to open a session.
* lay the groundwork for making open session asyncWilliam Jon McCann2007-02-281-118/+252
| | | | | | | | | | Restructure things a bit so that we can be completely async about creating sessions. We want to do this so we can use callouts to gather session info or to verify info. Also make the OpenSession create a parameter list and then create the session rather than creating the session and changing attributes. This is less racy and the session will be complete and correct before any signals are emitted.
* don't rely on evironment getting updated in python scriptsWilliam Jon McCann2007-02-281-1/+4
|
* update news for release0.1.2William Jon McCann2007-02-261-1/+2
| | | | Also fix a distcheck error.
* rename some items in proc.h api; add some more error checkingWilliam Jon McCann2007-02-263-64/+99
| | | | | Make the proc.h API more coherent. Convert some warnings to debug statements. Fix two leaks. Add more error checking.
* add support for glib < 2.12William Jon McCann2007-02-212-3/+49
| | | | Copy the iso8601 function from glib to support versions less than 2.12.
* make separate test scripts for open session methodsWilliam Jon McCann2007-02-213-0/+45
|
* don't use null parametersWilliam Jon McCann2007-02-211-15/+17
|
* add a system-idle-hint and system-idle-since-hintWilliam Jon McCann2007-02-203-22/+166
| | | | | The system idle hint is TRUE when there are no busy (ie non-idle) sessions. So the system is idle when there are no sessions or all sessions are idle.
* 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
|