summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-06-03Merge pull request #119 from TimB87/masterAntoine Jacoutot1-6/+6
make consolekit2 not spam the syslog with an unimportant error
2021-06-03prepare for the 1.2.3 release1.2.3Robert Nagy1-0/+13
2021-06-03do not unref an object which was not referenced before andRobert Nagy1-7/+4
cleanup the code a bit to avoid confusion
2021-01-07Update [FR] translation.Antoine Jacoutot1-10/+10
2021-01-07Merge pull request #126 from phileimer/masterAntoine Jacoutot2-0/+383
Add French translation
2020-12-30Add French translationJean Philippe EIMER2-0/+383
2020-12-07Merge pull request #125 from niacat/master1.2.2Antoine Jacoutot1-2/+1
NetBSD: merge fixes from pkgsrc
2020-12-07netbsd: Add missing length argument to mount(2)nia1-1/+1
2020-12-07netbsd: Don't include sys/user.h, there's no such headernia1-1/+0
2020-12-05Merge pull request #124 from rnagy/nreleaseAntoine Jacoutot4-4/+22
prepare the 1.2.2 release and update AUTHORS
2020-12-05prepare the 1.2.2 release and update AUTHORSRobert Nagy4-4/+22
2020-12-04Merge pull request #123 from rnagy/signal_handlingAntoine Jacoutot1-1/+1
only disconnect the signal handler after the lock is removed
2020-12-04only disconnect the signal handler after the lock is removedRobert Nagy1-1/+1
ck_inhibit_remove_lock() will end up emitting a changed signal so disconnecting the signal handler before that is not a good idea
2020-11-29Merge pull request #122 from rnagy/who_argAntoine Jacoutot1-2/+2
get_named_pipe_path does not require the 'who' argument anymore
2020-11-29get_named_pipe_path does not require the 'who' argument anymoreRobert Nagy1-2/+2
2020-11-29Merge pull request #121 from rnagy/inhibit_fixAntoine Jacoutot4-6/+21
change the inhibitor lock handling to use the named_pipe_path as a re…
2020-11-29Merge pull request #118 from ajacoutot/openbsd-open-consoleAntoine Jacoutot2-39/+44
OpenBSD: merge enhancements from ports
2020-11-29change the inhibitor lock handling to use the named_pipe_path as a referenceRobert Nagy4-6/+21
since one process can take multiple inhibitor locks make sure that the correct entry gets removed from the inhibit_list by using 'named_pipe_path' to find the proper entry instead of 'who' because that is not unique
2020-11-22Merge branch 'openbsd-open-console' of github.com:ajacoutot/ConsoleKit2 into ↵Antoine Jacoutot0-0/+0
openbsd-open-console
2020-11-22OpenBSD: merge enhancements from portsAntoine Jacoutot2-39/+38
- open the proper configuration device (so getty doesn't mess with consoles) - remove unused header - g_return_val_if_fail: print full path to device - simplify stat2proc - fix ck_get_max_num_consoles - enable VT on arm64 - implement ck_system_can_suspend and ck_system_can_hibernate
2020-11-22ck_open_a_console: unbreak on OpenBSDAntoine Jacoutot1-0/+6
OpenBSD only allows change-setting ioctls when FWRITE is set on the descriptor.
2019-06-10make consolekit2 not spam the syslog with an unimportant errorTimB871-6/+6
2019-02-10ck_open_a_console: unbreak on OpenBSDAntoine Jacoutot1-0/+6
OpenBSD only allows change-setting ioctls when FWRITE is set on the descriptor.
2017-12-13Updates for 1.2.1 release1.2.1Eric Koegel7-45/+125
2017-12-13Transifex translation updateConsoleKit2TransifexBot6-84/+84
Mode: default Matched 6 languages
2017-12-13fix: Correctly report SELinux supportEric Koegel1-1/+1
...instead of reporting POLKIT support again. fixes: https://github.com/ConsoleKit2/ConsoleKit2/issues/104
2017-11-09i18n: update pot fileEric Koegel1-14/+14
2017-11-09fix: Only use tmpfs mounts on DFly if supportedEric Koegel2-3/+7
The vfs/tmpfs/tmpfs_mount.h file must be present on DragonFlyBSD for tmpfs mounts to properly work.
2017-11-01fix: incompatible-pointer-type warningEric Koegel1-1/+1
2017-11-01Transifex translation updateConsoleKit2TransifexBot6-50/+422
Mode: default Matched 6 languages
2017-10-31Merge pull request #103 from markuspf/fix-make-tmpfs-dragonflyEric Koegel1-58/+14
Fix `make_tmpfs` on DragonFly and clean up some redundant code
2017-10-31Remove some redundant code probing for hibernation, suspend, and sleepMarkus Pfeiffer1-51/+3
2017-10-31Fix make_tmpfs for DragonFlyMarkus Pfeiffer1-7/+11
The previous version of the code assumed that DragonFly supports passing a string of options to mount(2). This is not the case and so this lead to a bug where a user's tmpfs was created with invalid ownership and mode. We now correctly pass a struct of type tmpfs_mount_info. The struct is only exported as of DragonFly 5.1 and newer, so this code will only build on a recent version of DragonFly.
2017-10-30Merge pull request #102 from AdelieLinux/masterEric Koegel3-0/+60
Add ListSeats method to Manager interface
2017-10-29Add ListSeats method to Manager interfaceA. Wilcox3-0/+60
This adds a logind-compatible ListSeats method to the ConsoleKit.Manager interface. This is needed because the seat name does not always exactly map to the object path (for instance, /Seat1 is 'seat0'). This also allows SDDM to work properly with ConsoleKit2.
2017-10-29Merge pull request #101 from markuspf/dragonfly-supportEric Koegel6-69/+646
Dragonfly support
2017-10-28Remove DragonFly specific code from FreeBSD sysdepsMarkus Pfeiffer1-66/+0
2017-10-28Add DragonFlyBSD as a platformMarkus Pfeiffer5-3/+646
2017-10-23Merge pull request #100 from Hummer12007/patch-1Eric Koegel1-1/+1
Fixed a memory leak in ck-manager
2017-10-23Fixed a memory leak in ck-managerHummer120071-1/+1
2017-07-31chore: Switch away from AC_DISABLE_STATICEric Koegel1-2/+1
https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html Says that we can use LT_INIT([disable-static]) to perform the same function as AC_DISABLE_STATIC. Fixes: https://github.com/ConsoleKit2/ConsoleKit2/issues/96
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.