lp:~sforshee/+junk/powerd-set-state-from-requests
- Get this branch:
- bzr branch lp:~sforshee/+junk/powerd-set-state-from-requests
Branch information
- Owner:
- Seth Forshee
- Status:
- Development
Recent revisions
- 24. By Seth Forshee
-
Add basic support for setting system state based on active requests
The code isn't in use yet and will need to be refactored when
state change notifications are added. It serves as a starting
point however. - 22. By Seth Forshee
-
Fix potential use-after-free in clear_sys_
state_internal( ) The tmpsr varibble could be used in a subsequent loop iteration
after being freed. We aren't hitting this but right now since
we have only one state and thus only one loop iteration. Move
the free outside the loop, where it belongs. - 21. By Seth Forshee
-
Fix request list output when no requests present
We should be printing "no requests active", but the if condition
is incorrect. Fix it. - 20. By Seth Forshee
-
Split powerd.cpp into multiple files
Split out the power request code and the GObject code into their
own source files. Also rename powerd.h to powerd-internal.h, as
we probably want to save powerd.h for the header used by external
clients. - 15. By Seth Forshee
-
Generalize power state handling
Make power state handling more general to make it easier to
add additional power states if necessary.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)