lp:~sforshee/powerd/fix-warnings

Created by Seth Forshee on 2013-07-02 and last modified on 2013-10-01
Get this branch:
bzr branch lp:~sforshee/powerd/fix-warnings
Only Seth Forshee can upload to this branch. If you are Seth Forshee please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Seth Forshee
Project:
powerd
Status:
Development

Recent revisions

98. By Seth Forshee on 2013-10-01

powerd-object: Fix tabs/space indentation in previous commit

97. By Seth Forshee on 2013-10-01

powerd-object: Fix warning about format string

Something changed recently to cause gcc to start warning about
some code that it had no problem with previously:

 src/powerd-object.c: In function 'handle_ack_state_change':
 src/powerd-object.c:131:47: warning: format not a string literal and no format arguments [-Wformat-security]
                                                G_DBUS_ERROR_INVALID_ARGS, msg);
                                                ^

This is probably just gcc being pedantic. Change it to something
which is completely equivalent but does not generate warnings.

96. By Seth Forshee on 2013-10-01

display: Make power_mode argument to display_set_power_mode() const

This fixes a warning:

 powerd.cpp: In function 'gboolean {anonymous}::call_shutdown(gpointer)':
 powerd.cpp:127:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

The argument is read-only, so it really ought to be const anyway.

95. By PS Jenkins bot on 2013-09-26

Releasing 0.13+13.10.20130926-0ubuntu1 (revision 94 from lp:powerd).

Approved by PS Jenkins bot.

94. By Ricardo Mendoza on 2013-09-26

Allow powerd to work with unity-mir's DBus API for screen power control, selective using the backend available according to the running display server. Fixes: https://bugs.launchpad.net/bugs/1193222.

Approved by PS Jenkins bot, Ricardo Salveti, Seth Forshee, Gerry Boland.

93. By PS Jenkins bot on 2013-09-05

Releasing 0.13+13.10.20130905-0ubuntu1 (revision 92 from lp:powerd).

Approved by PS Jenkins bot.

92. By Seth Forshee on 2013-09-04

Minor fixes for build and static analysis warnings.

Approved by Ricardo Salveti, PS Jenkins bot.

91. By PS Jenkins bot on 2013-09-04

Releasing 0.13+13.10.20130904-0ubuntu1 (revision 90 from lp:powerd).

Approved by PS Jenkins bot.

90. By Seth Forshee on 2013-09-04

Dump statistics to syslog on low battery.

Approved by Michael Frey, PS Jenkins bot.

89. By Seth Forshee on 2013-09-03

Add thermal shutdown support.

Approved by PS Jenkins bot, Michael Frey.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:powerd
This branch contains Public information 
Everyone can see this information.

Subscribers