- 02 Nov, 2014 1 commit
-
-
Script Kiddy authored
-
- 31 Oct, 2014 1 commit
-
-
Script Kiddy authored
-
- 23 Oct, 2014 1 commit
-
-
Script Kiddy authored
-
- 20 Oct, 2014 1 commit
-
-
Alex Richardson authored
-
- 18 Oct, 2014 1 commit
-
-
Casian Andrei authored
-
- 16 Oct, 2014 2 commits
-
-
Àlex Fiestas authored
With this we should be sending correct arguments to logind depending on the state we want to inhibit.
-
Àlex Fiestas authored
Now Shutdown will be poweroff and reboot as well and we will have a specific job for this state as well. It looks like this is a pattern that happens for all cases: Screen: DPMS and Brightness Shutdown: Reboot and Poweroff Sleep: Hibernation, Suspend, Hybrid
-
- 15 Oct, 2014 3 commits
-
-
Àlex Fiestas authored
The single responsability of this class is to create arguments valid for logind Inhibit call. It will tackle some peculiarities of logind like for example not being able to inhibit only reboot o poweroff.
-
Àlex Fiestas authored
Until now the states were kinda inherited from the old solid code and we stpend no time thinking wether they make any sense or not. Now that we are about to implement them we need to make more sense. Current states: Sleep: Sets the device to the preferred sleep method (s2ram, s2disk..) It also allows to inhibit any sleep (s2ram, s2disk, hybrid...) Screen: A set of jobs exits to modify the state of the screen (brightnessChange, PowerOffScreen, etc...) It allow to inhibit any actions on the screen (brightness, dimming, powering it off...) Reboot: Can be used to reboot the device It also can be used to inhibit reboot PowerOff: Can be used to poweroff the device It also can be used to inhibit poweroff
-
Àlex Fiestas authored
It might happen that the backend job is gone (since it will auto delete after calling emitResult) but the frontend job is still alive. If that happens and somebody calls isPLugged() we will be asking info from a deleted pointer. This patch adds a copy of the result (a bool) plus a isBackendFinished status to know when the backend job has finished.
-
- 03 Oct, 2014 1 commit
-
-
Script Kiddy authored
-
- 29 Sep, 2014 2 commits
-
-
Àlex Fiestas authored
On both cases we want to properly stop the inhibition which in the case of systemd it means closing the file descriptor we got via DBus.
-
Àlex Fiestas authored
Once the inhibitio is started we are no longer interested in any signals from this object.
-
- 25 Sep, 2014 1 commit
-
-
Àlex Fiestas authored
We have created a fakeLogind dbus daemon to do a component test of InhibitionJob which emits a "newInhibition" signal when the dbus method gets called. Also, there is code prepared to return proper file descriptors and to test the Inhibition object further, but that part is still not done.
-
- 23 Sep, 2014 1 commit
-
-
Àlex Fiestas authored
At some point we will need a proper backend loading system, atm this works just fine.
-
- 22 Sep, 2014 6 commits
-
-
Lukáš Tinkl authored
-
Lukáš Tinkl authored
-
Lukáš Tinkl authored
-
Lukáš Tinkl authored
introduce 2 other states, Reboot and Poweroff
-
Lukáš Tinkl authored
plus some docu additions
-
Lukáš Tinkl authored
while getting acquainted with the code
-
- 17 Sep, 2014 1 commit
-
-
Yuri Chornoivan authored
-
- 16 Sep, 2014 8 commits
-
-
Àlex Fiestas authored
This command will connect to all signals from Solid::Power and reprot any change that is detected in the system.
-
Àlex Fiestas authored
It seems to be the easier way of sharing one.
-
Àlex Fiestas authored
-
Àlex Fiestas authored
Small tool that will be able to report anything related (and supported) to power using Solid::Power. At the moment it only implements Show which reports wether the ac is plugged or not. TODO for the tool is: -Listen to events -Implement all other commands.
-
Àlex Fiestas authored
We check that we are properly getting the freedesktop.Properties.PropertiesChanged signal and that we are extracting the value correclty from it. We also emit it twice and make sure we get things right.
-
Àlex Fiestas authored
-
Àlex Fiestas authored
onBattery == true, means we are NOT on AC.
-
Àlex Fiestas authored
At some point we will make solid compile with QT_NO_CAST_* so we better use these now.
-
- 12 Sep, 2014 3 commits
-
-
Àlex Fiestas authored
-
Àlex Fiestas authored
As difference with the past, now we are introducing a freedesktop backend rather than a "upower/udev/systemd/ separate backends. This allows us to be more flexible and to make sure we support freedesktop correctly. This first import comes with component test that checks how we are handling dbus and what dbus calls we are doing.
-
Script Kiddy authored
-
- 07 Sep, 2014 1 commit
-
-
Script Kiddy authored
-
- 05 Sep, 2014 1 commit
-
-
Script Kiddy authored
-
- 13 Aug, 2014 1 commit
-
-
Denis Steckelmacher authored
Add metadata about the QMake and CMake packages installed by this framework and remove Links from README.md
-
- 02 Aug, 2014 1 commit
-
-
Script Kiddy authored
-
- 01 Aug, 2014 1 commit
-
-
Script Kiddy authored
-
- 10 Jul, 2014 1 commit
-
-
Jonathan Riddell authored
allowed by Bison special exception
-
- 06 Jul, 2014 1 commit
-
-
Christophe Giboudeaux authored
-