Compare commits

...

13 Commits

Author SHA1 Message Date
Simo Piiroinen
f4e89b99c2 Bump mce-dev version to 1.15.0 2015-02-17 10:44:15 +02:00
Simo Piiroinen
8a2f0096ae Merge pull request #7 from spiiroin/jb24286_config_reset
Add dbus method for requesting settings reset
2015-02-17 10:42:05 +02:00
Simo Piiroinen
bffba82ed6 Add dbus method for requesting settings reset
Allows resetting mce settings back to defaults without needing to
know what the defaults are and/or stopping mce service.

[mce] Add dbus method for requesting settings reset. Contributes to JB#24286
2015-02-17 10:33:28 +02:00
Simo Piiroinen
c71040dcd1 Bump mce-dev version to 1.14.0 2014-08-05 12:57:37 +03:00
Simo Piiroinen
348ebf4525 Merge pull request #6 from spiiroin/add_lpm_request
Add dbus method for requesting display low power mode
2014-08-05 12:53:30 +03:00
Simo Piiroinen
58b5ee55a6 Add dbus method for requesting display low power mode
Allows ui components to have an option to blank via low power mode
instead of just powering off the display.

[mce] Add dbus method for requesting display low power mode. Contributes to JB#20906
2014-06-26 08:38:57 +03:00
Simo Piiroinen
489e489c88 Bump mce-dev version to 1.13.0 2014-03-18 15:06:10 +02:00
Simo Piiroinen
42e930998c Merge pull request #5 from spiiroin/add_led_pattern_signals
Add led pattern signals
2014-03-18 14:59:17 +02:00
Simo Piiroinen
fa2b8aa3a8 Document tracking id parameter for cpu keepalive method calls
The support for the tracking id parameter was added to mce 1.23.7,
but the documentation was not updated accordingly.

[mce-headers] Document tracking id parameter for cpu keepalive method calls
2014-03-18 14:50:11 +02:00
Simo Piiroinen
ff899e3917 Add D-Bus signals for led pattern active state changes
Emitted when pattern is activated/deactivated within mce.

[mce-headers] Add D-Bus signals for led pattern active state changes
2014-03-18 14:47:13 +02:00
Simo Piiroinen
b3de512237 Bump mce-dev version to 1.12.5 2013-09-11 08:28:04 +03:00
Simo Piiroinen
ac94c56b38 Merge pull request #4 from spiiroin/fix_doc
Fix MCE_CPU_KEEPALIVE_PERIOD_REQ method call documentation
2013-09-10 22:24:41 -07:00
Simo Piiroinen
f813e5dd80 Fix MCE_CPU_KEEPALIVE_PERIOD_REQ method call documentation
The value returned is dbus_int32_t, not dbus_uint32_t. Documentation
changed to match implementation.

[mce-headers] Fix MCE_CPU_KEEPALIVE_PERIOD_REQ method call documentation
2013-09-11 08:16:13 +03:00
5 changed files with 93 additions and 4 deletions

27
debian/changelog vendored
View File

@@ -1,3 +1,30 @@
mce-dev (1.15.0) unstable; urgency=low
* [mce] Add dbus method for requesting settings reset. Contributes to
JB#24286
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 17 Feb 2015 10:42:49 +0200
mce-dev (1.14.0) unstable; urgency=low
* [mce] Add dbus method for requesting display low power mode.
Contributes to JB#20906
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 05 Aug 2014 12:55:05 +0300
mce-dev (1.13.0) unstable; urgency=low
* [mce-headers] Add D-Bus signals for led pattern active state changes
* [mce-headers] Document tracking id parameter for cpu keepalive method calls
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 18 Mar 2014 15:00:14 +0200
mce-dev (1.12.5) unstable; urgency=low
* [mce-headers] Fix MCE_CPU_KEEPALIVE_PERIOD_REQ method call documentation
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 11 Sep 2013 08:26:03 +0300
mce-dev (1.12.4) unstable; urgency=low
* [packaging] move to git based packaging

View File

@@ -262,6 +262,18 @@
*/
#define MCE_DISPLAY_OFF_REQ "req_display_state_off"
/** Set display to low power mode
*
* Low power mode is a display off sub state. From normal
* display state signaling point of view it behaves just as
* display off would. Depending on available hw support and
* configuration extra ipc relevant for home screen / system
* ui only might happen.
*
* @since v1.33.0
*/
#define MCE_DISPLAY_LPM_REQ "req_display_state_lpm"
/**
* Prevent display from blanking
*
@@ -346,7 +358,20 @@
*
* @since v1.12.8
*
* @return period in seconds as DBUS_TYPE_UINT32
* @since v1.23.7
*
* An unique within process tracking id can be passed to all
* cpu keepalive related D-Bus method calls. This allows mce
* to keep track of multiple, possibly overlapping keepalive
* periods from one process.
*
* Old code that does not pass the tracking id still works
* as long as the client process does not have multiple
* overlapping periods at once.
*
* @param context Tracking id as DBUS_TYPE_STRING
*
* @return period in seconds as DBUS_TYPE_INT32
*/
#define MCE_CPU_KEEPALIVE_PERIOD_REQ "req_cpu_keepalive_period"
@@ -362,6 +387,8 @@
*
* @since v1.12.8
*
* @param context Tracking id as DBUS_TYPE_STRING
*
* @return success as DBUS_TYPE_BOOLEAN
*/
#define MCE_CPU_KEEPALIVE_START_REQ "req_cpu_keepalive_start"
@@ -377,6 +404,8 @@
*
* @since v1.12.8
*
* @param context Tracking id as DBUS_TYPE_STRING
*
* @return success as DBUS_TYPE_BOOLEAN
*/
#define MCE_CPU_KEEPALIVE_STOP_REQ "req_cpu_keepalive_stop"
@@ -418,6 +447,19 @@
*/
#define MCE_CONFIG_SET "set_config"
/** Reset configuration values to default
*
* All config settings with keyname that matches the given substring
* will be reset to configured defaults e.g. using "/" resets all
* settings while using "/display/" resets only display related values.
*
* @since v1.42.0
*
* @param keyish Substring of config value name as DBUS_TYPE_STRING
*
* @return Number of changed settings as DBUS_TYPE_INT32; -1 on failure
*/
#define MCE_CONFIG_RESET "reset_config"
/*@}*/
/**
@@ -510,8 +552,11 @@
/**
* Activates a pre-defined LED pattern
*
* Non-existing patterns are ignored
*
* See also: MCE_LED_PATTERN_ACTIVATED_SIG
*
* @credential mce::LEDControl
* @since v1.5.0
* @param pattern @c gchar @c * with the pattern name
@@ -521,8 +566,11 @@
/**
* Deactivates a pre-defined LED pattern
*
* Non-existing patterns are ignored
*
* See also: MCE_LED_PATTERN_DEACTIVATED_SIG
*
* @credential mce::LEDControl
* @since v1.5.0
* @param pattern @c gchar @c * with the pattern name
@@ -530,6 +578,20 @@
*/
#define MCE_DEACTIVATE_LED_PATTERN "req_led_pattern_deactivate"
/** Notify everyone that a led pattern has been activated
*
* @since v1.25.0
* @return @c gchar @c * led pattern name
*/
#define MCE_LED_PATTERN_ACTIVATED_SIG "led_pattern_activated_ind"
/** Notify everyone that a led pattern has been deactivated
*
* @since v1.25.0
* @return @c gchar @c * led pattern name
*/
#define MCE_LED_PATTERN_DEACTIVATED_SIG "led_pattern_deactivated_ind"
/**
* Enable LED; this does not affect the LED pattern stack
* Note: The GConf setting for LED flashing overrides this value

2
mce.pc
View File

@@ -3,7 +3,7 @@ includedir=${prefix}/include
Name: mce
Description: Mode Control Entity
Version: 1.12.4
Version: 1.15.0
Requires:
Libs:
Cflags: -I${includedir}

View File

@@ -9,7 +9,7 @@ Name: mce-headers
# << macros
Summary: Development files for mce
Version: 1.12.4
Version: 1.15.0
Release: 1
Group: Development/Libraries
License: LGPLv2

View File

@@ -1,6 +1,6 @@
Name: mce-headers
Summary: Development files for mce
Version: 1.12.4
Version: 1.15.0
Release: 1
Group: Development/Libraries
License: LGPLv2