1. 06 Dec, 2014 1 commit
  2. 02 Dec, 2014 1 commit
  3. 25 Nov, 2014 1 commit
  4. 24 Nov, 2014 1 commit
  5. 23 Nov, 2014 2 commits
  6. 16 Nov, 2014 1 commit
  7. 09 Nov, 2014 1 commit
  8. 07 Nov, 2014 1 commit
  9. 05 Nov, 2014 1 commit
  10. 31 Oct, 2014 1 commit
  11. 23 Oct, 2014 1 commit
  12. 20 Oct, 2014 1 commit
  13. 18 Oct, 2014 1 commit
  14. 16 Oct, 2014 2 commits
  15. 15 Oct, 2014 3 commits
    • Àlex Fiestas's avatar
      Add LogindInhibitionArgument class · 4830fb49
      À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.
      4830fb49
    • Àlex Fiestas's avatar
      Adjust Power::States to reality since we are about to implement them · d856934b
      À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
      d856934b
    • Àlex Fiestas's avatar
      Do not depend on backend job to return the value · 59d359b4
      À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.
      59d359b4
  16. 03 Oct, 2014 1 commit
  17. 29 Sep, 2014 2 commits
  18. 25 Sep, 2014 1 commit
    • Àlex Fiestas's avatar
      Implement testAddInhibitionJob and freedesktop code · 25657e31
      À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.
      25657e31
  19. 23 Sep, 2014 1 commit
  20. 22 Sep, 2014 6 commits
  21. 17 Sep, 2014 1 commit
  22. 16 Sep, 2014 8 commits
  23. 12 Sep, 2014 1 commit