summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-07-24fix: Seat property on Session interfaceEric Koegel1-1/+11
return 'Seat1', '/org/freedesktop/ConsoleKit/Seat1' instead of the object path twice.
2017-07-23feat: Add CanControlSession dbus callEric Koegel3-0/+27
This way a program can query whether CK2 can actually do the Session Controller stuff before attempting to call TakeControl.
2017-07-17Updates for 1.2.0 release1.2.0Eric Koegel3-5/+33
2017-07-17Transifex translation updateConsoleKit2TransifexBot5-203/+183
Mode: default Matched 5 languages
2017-07-15i18n: update pot fileEric Koegel1-39/+35
2017-07-15fix: Allow changing to VTs we don't have a session forEric Koegel1-8/+19
As an example, this allows you to be on VT2 and switch to VT5 which isn't currently being used for anything.
2017-07-15fix: correct introspection prefixesEric Koegel1-2/+2
So the created gir file outputs the libconsolekit into a proper class.
2017-07-15feat: Add wscons headers for OpenBSDEric Koegel2-4/+17
It won't be used until a session controller backend is built for OpenBSD but it will be one step less to add.
2017-07-07fix: Change configure.ac to enable the udev backend with devattrEric Koegel1-6/+31
And print out which session controller backend we're using.
2017-07-06fix: Use KDSKBMODE if definedEric Koegel1-0/+4
To fix compiling on OpenIndiana.
2017-07-06fix: Use #ifdef HEADER_H instead of #ifdef OSEric Koegel1-2/+14
To fix compiling on FreeBSD.
2017-06-22fix: FreeBSD session activationEric Koegel4-11/+112
This is based heavily on the work of Jesper Schmitz Mouridsen in: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179399&action=diff from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202269 Fixes: https://github.com/ConsoleKit2/ConsoleKit2/issues/85
2017-06-22fix: Place sessions with a VT on the static Seat1Eric Koegel1-1/+5
This way they can be marked active.
2017-06-21fix: clean up clang warningsEric Koegel3-5/+5
2017-06-21fix: correct uninitialized variable warningEric Koegel1-2/+1
2017-06-21chore: update gitignoreEric Koegel1-0/+3
2017-06-21chore: more autotools cleanup workEric Koegel2-40/+39
2017-06-21fix: Explicitly check for needed symbolsEric Koegel1-6/+6
Such as VT_RELDISP, rather than a specific header file. This will fix VT calls not being built on FreeBSD.
2017-06-20fix: Correct build errors in OpenBSDEric Koegel1-2/+11
2017-06-20fix: fix compiling on FreeBSDEric Koegel3-3/+5
And remove -Wredundant-decls from build warnings
2017-06-08Transifex translation updateConsoleKit2TransifexBot5-206/+140
Mode: default Matched 5 languages
2017-06-02chore: update readme with new depsEric Koegel1-0/+2
2017-06-02Updates for 1.1.2 release1.1.2Eric Koegel8-97/+125
2017-06-02coverity: 180820 remove dead codeEric Koegel1-4/+0
2017-05-28chore: add CONSOLEKIT_DEBUGGING support back inEric Koegel1-1/+1
when compiling with --enable-debug=full
2017-05-22chore: update ck-list-sessions man pageEric Koegel1-2/+36
For new properies output by the program.
2017-05-22fix: add session class + state to ck-list-sessionsEric Koegel1-5/+26
2017-05-22chore: update tests for new methods addedEric Koegel2-1/+14
Ensure all the new methods and properies get added to the tests.
2017-05-22fix: Allow session-class property to be set via OpenSessionWithParametersEric Koegel1-0/+1
Otherwise there's no way for a DM to set it.
2017-05-21feat: add a session-state property and methodEric Koegel8-4/+178
CK2 will change this property dynamically depending on if the session is active or online. At some point we may also provide the "closing" state as well but it's currently unused. This property maps to the logind state.
2017-05-21fix: wrong lib linked in libconsolekit.pc.inEric Koegel1-1/+1
2017-05-21feat: Add session-class dbus property and get methodEric Koegel7-4/+176
This adds a session-class property to the CK2 Session. It maps to the class property of logind.
2017-05-21feat: introduce libconsolekitEric Koegel21-313/+2614
Create a libconsolekit helper library for developers to ease working with ConsoleKit2. The library is exported using GObject Introspection so there's bindings to other languages.
2017-05-21fix: remove the rest of the gcc warningsEric Koegel16-47/+44
2017-05-21fix: remove warnings about signed/unsigned comparisonsEric Koegel2-4/+4
2017-05-21fix: remove warning about redeclarationEric Koegel1-2/+0
2017-05-21fix: remove warnings about redundant function declarationsEric Koegel9-18/+0
2017-05-21chore: simplify configure.acEric Koegel7-206/+699
Pull in the m4 macros from the xfce4-dev-tools so we have ways to simplify and shorten the configure.ac file.
2017-05-20feat: Add dbus method GetVTNr to SessionEric Koegel3-0/+28
This method call simple returns the VTNr property but may be useful to applications that don't want to connect to all the dbus properies to query just that one.
2017-05-18feat: document session types allowedEric Koegel2-8/+13
Using the same ones logind does for compatibility. Additionally, default to "unspecified" if no type is set instead of an empty string.
2017-05-14feat: add dbus LockSession/UnlockSessionEric Koegel5-31/+186
To ConsoleKit Manager interface. Programs like GDM are using these calls with logind so this will make adding CK2 support easier.
2017-05-14feat: add dbus ActivateSession/ActivateSessionOnSeatEric Koegel5-8/+155
To ConsoleKit Manager interface. Programs like GDM are using these calls with logind so this will make adding CK2 support easier.
2017-05-10Fix --enable-libudev configure flagEric Koegel1-5/+5
Thanks for perfinion to pointing this out.
2017-05-08Updates for 1.1.1 release1.1.1Eric Koegel8-316/+390
2017-05-08Transifex translation updateConsoleKit2TransifexBot5-268/+185
Mode: default Matched 5 languages
2017-05-06trivial: fix a gcc compiler warningEric Koegel1-1/+1
2017-05-06Drop the seat late rulesEric Koegel3-17/+1
This was copied over from systemd but we aren't using it. Fixes: https://github.com/ConsoleKit2/ConsoleKit2/issues/93
2017-05-06Don't try to remove the cgroup when emptyEric Koegel1-11/+0
It produces a warning message and doesn't have much overhead anyway. Fixes: https://github.com/ConsoleKit2/ConsoleKit2/issues/72
2017-05-06Add a LockedHint PropertyEric Koegel3-4/+90
This adds a LockedHint property to ConsoleKit.Session and a SetLockedHint dbus method to change it. The SetLockedHint method is resitricted to the user that owns the session. For: https://github.com/ConsoleKit2/ConsoleKit2/issues/89
2017-05-06trivial: update valgrind commandEric Koegel1-3/+7
This way it can easily be hooked into the serivce startup and report any leaks for an entire lifecycle.