summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* dist the manual page for the PAM moduleDavid Zeuthen2007-03-011-0/+4
|
* add a test program for the PAM moduleWilliam Jon McCann2007-03-014-5/+174
| | | | | Basically this is a mini login. It authenticates, opens a session, sleeps 20 seconds, and then closes the session.
* fix some typosWilliam Jon McCann2007-03-011-4/+3
|
* add a test program for the connectorWilliam Jon McCann2007-02-282-9/+135
| | | | | Add a simple test app for the connector. Adapted from the example David put in the header.
* change the connector API a bit + misc analityWilliam Jon McCann2007-02-283-519/+762
| | | | | | | | | | | | I modified the API of the new connector a bit. * include errors * make names a bit more consistent with what they do * have symmetry between open and close * use refcounting * do parameter checking on inputs I also made some changes to whitespace and style. And converted descriptions to gtkdoc style comments.
* add a connector library and (reluctantly) a PAM moduleDavid Zeuthen2007-02-289-0/+890
| | | | | | | | | | | Here are some patches to add one library and one PAM module so other programs (apart from gdm) can easily interact with ConsoleKit. It's mainly going to be used, I think, by login(1) and xinit(1). I'm not super happy about doing a PAM module but the Fedora util-linux package maintainer seems to be insist on this instead of just patching login(1). The PAM module isn't built by default. Both pieces of code are licensed under the MIT license as god knows what might want to use them. Sounds good to you?
* add framework for backend toolsWilliam Jon McCann2007-02-283-0/+64
| | | | System dependent tools will be built in subdirectories under tools.
* 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
|
* install the list-sessions tool as ck-list-sessionsWilliam Jon McCann2007-02-271-4/+4
|
* post release version bumpWilliam Jon McCann2007-02-261-2/+2
|
* update news for release0.1.2William Jon McCann2007-02-262-1/+15
| | | | 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-204-55/+55
| | | | | 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.
* split list-sessions output onto separate linesWilliam Jon McCann2007-02-151-3/+3
| | | | It was getting impossible to read all on one line.
* add creation and idle-since timesWilliam Jon McCann2007-02-154-2/+76
| | | | | 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 :).
* post release version bumpWilliam Jon McCann2007-02-121-2/+2
|
* add more warnings when building from git0.1.1William Jon McCann2007-02-121-2/+1
|
* update for releaseWilliam Jon McCann2007-02-121-0/+12
|
* 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.
* start ck before halDavid Zeuthen2007-02-071-1/+1
| | | | | | We should start CK before HAL (especially in light of some changes in HAL I'm working on); this patch does that for RH based systems. Please apply. Thanks!
* don't refer to the hal repoWilliam Jon McCann2007-02-071-2/+2
| | | | Oops.
* add more informationWilliam Jon McCann2007-02-071-3/+91
| | | | Add more information that was stolen from the HAL HACKING file. The parts on how to use git are particularly useful.
* 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
* Rename dbus config file.William Jon McCann2007-01-122-1/+1
|
* Change a console-kit to ConsoleKit in a few placesWilliam Jon McCann2007-01-122-9/+10
|
* Post release version bumpWilliam Jon McCann2007-01-111-1/+1
|
* Update for 0.1.0 release0.1.0William Jon McCann2007-01-112-1/+8
|
* Add HACKING and README.William Jon McCann2007-01-103-0/+35
|
* Dist the ChangeLog, sigh.William Jon McCann2006-11-172-1/+2
|
* Automatically generate ChangeLog. Fix autogen. Remove translation stuff.William Jon McCann2006-11-175-422/+158
|