Krisztian Litkey [Tue, 19 Feb 2013 19:55:35 +0000 (21:55 +0200)]
packaging: override share_mmplayer to be exclusive mm_player.
Krisztian Litkey [Mon, 18 Feb 2013 14:45:47 +0000 (16:45 +0200)]
packaging: updated configuration.
Krisztian Litkey [Tue, 12 Feb 2013 18:20:33 +0000 (20:20 +0200)]
packaging: declare a pid audio playback attribute.
Krisztian Litkey [Wed, 13 Feb 2013 17:21:49 +0000 (19:21 +0200)]
packaging: add webconsole example to config file.
Krisztian Litkey [Tue, 12 Feb 2013 09:55:07 +0000 (11:55 +0200)]
packaging: added websocket switch to spec file, enabled by default.
Krisztian Litkey [Tue, 12 Feb 2013 06:59:27 +0000 (08:59 +0200)]
packaging: don't pre-generate linker scripts.
Krisztian Litkey [Wed, 16 Jan 2013 09:57:37 +0000 (11:57 +0200)]
packaging: fixed lost application classes, added AMB plugin config file.
Krisztian Litkey [Tue, 15 Jan 2013 08:12:00 +0000 (10:12 +0200)]
packaging: update to latest configuration.
Krisztian Litkey [Thu, 20 Dec 2012 20:20:28 +0000 (22:20 +0200)]
packaging: start up with logging to dlog with info verbosity.
Krisztian Litkey [Fri, 30 Nov 2012 16:38:56 +0000 (18:38 +0200)]
packaging: added prepare-release.sh.
Krisztian Litkey [Tue, 27 Nov 2012 11:42:37 +0000 (13:42 +0200)]
packaging: added preliminary packaging for tizen.
Notes: compiling domain-control as a dynamic plugins is a workaround
to avoid trying to unconditionally regenerate the linker script for
the domain-control plugin. This would fail due to ctags/etags not
being available in the tizen repos.
Krisztian Litkey [Tue, 27 Nov 2012 16:19:56 +0000 (18:19 +0200)]
packaging: added configuration files to be packaged.
Krisztian Litkey [Sat, 14 Sep 2013 11:16:22 +0000 (14:16 +0300)]
telephony: don't try to create multi-column index.
Change-Id: I8c6b38855eebf87e693a823a47c5770382ea7e42
Krisztian Litkey [Sat, 14 Sep 2013 11:11:32 +0000 (14:11 +0300)]
telephony: plugin arguments for resource set configuration
The resource set the plugin controls on behalf of the
telephony stack is now configurable using plugin arguments.
Currently the resource set zone, class and priority as well
as the playback and recording resource names, role,
optionality and shareability are configurable. The policies
are currently always set to relaxed. Adding configurability
for this using a plugin argument is now trivial if needed.
Change-Id: Ia80245c458014231fed1bb62cf3c660d091cd075
Ismo Puustinen [Fri, 23 Aug 2013 14:05:24 +0000 (17:05 +0300)]
amb: query ambd properties again when it's started up.
Also don't query ambd properties in the beginning if ambd isn't running.
Let ambd have some time to settle and bring up the D-Bus interface after
startup.
Ismo Puustinen [Wed, 31 Jul 2013 11:41:05 +0000 (14:41 +0300)]
resource-asm: added the "dontwait" flag.
Ismo Puustinen [Wed, 24 Apr 2013 11:15:43 +0000 (14:15 +0300)]
resource-asm: added process watching support.
Ismo Puustinen [Mon, 15 Apr 2013 12:19:41 +0000 (15:19 +0300)]
resource-asm: relaunch asm-bridge is something goes wrong.
Ismo Puustinen [Mon, 15 Apr 2013 10:46:47 +0000 (13:46 +0300)]
resource-asm: handle errors better in asm-bridge.
Now, if something really bad happens to the message queues (such as they
are removed or become inaccessible), exit asm-bridge instead of looping
forever receiving error messages.
Ismo Puustinen [Mon, 15 Apr 2013 08:48:47 +0000 (11:48 +0300)]
resource-asm: move tmp file unlinking to a proper place.
Ismo Puustinen [Fri, 12 Apr 2013 12:46:19 +0000 (15:46 +0300)]
resource-asm: temporary hack to write the resource set ids to a file.
Ismo Puustinen [Fri, 12 Apr 2013 09:06:08 +0000 (12:06 +0300)]
resource-asm: keep the handles below maximum.
Ismo Puustinen [Fri, 12 Apr 2013 08:12:46 +0000 (11:12 +0300)]
resource-asm: remember to initialize event filtering.
Ismo Puustinen [Fri, 12 Apr 2013 07:23:32 +0000 (10:23 +0300)]
resource-asm: do not create resource sets for merged requests.
Ismo Puustinen [Fri, 12 Apr 2013 07:09:21 +0000 (10:09 +0300)]
resource-asm: remember to register ASM clients to client classes.
Ismo Puustinen [Thu, 11 Apr 2013 13:50:56 +0000 (16:50 +0300)]
resource-asm: first try at class-based resources.
Krisztian Litkey [Thu, 4 Apr 2013 11:38:36 +0000 (14:38 +0300)]
resource-asm: fix off-by-one underallocation.
Ismo Puustinen [Wed, 3 Apr 2013 08:00:26 +0000 (11:00 +0300)]
resource-asm: fix error case handling.
Ismo Puustinen [Wed, 3 Apr 2013 07:50:34 +0000 (10:50 +0300)]
resource-asm: fixed string formats, error case handling.
Ismo Puustinen [Tue, 2 Apr 2013 07:55:25 +0000 (10:55 +0300)]
resource-asm: added types for EXCLUSIVE_RESOURCE and EMERGENCY.
Krisztian Litkey [Thu, 28 Mar 2013 12:51:50 +0000 (14:51 +0200)]
resource-asm: update for mainloop notification signature changes.
Ismo Puustinen [Fri, 15 Mar 2013 12:18:50 +0000 (14:18 +0200)]
resource-asm: remove TODOs, fix compiler warnings.
Ismo Puustinen [Fri, 15 Mar 2013 11:18:22 +0000 (13:18 +0200)]
resource-asm: fixed compiler warnings.
Ismo Puustinen [Tue, 5 Mar 2013 13:11:34 +0000 (15:11 +0200)]
resource-asm: updated for tizen 2.0.
Krisztian Litkey [Mon, 18 Feb 2013 14:05:37 +0000 (16:05 +0200)]
resource-asm: more configurable event/resource set mapping.
Krisztian Litkey [Tue, 12 Feb 2013 18:18:00 +0000 (20:18 +0200)]
resource-asm: set client pid to the resource set, configurable asm-bridge logging.
Krisztian Litkey [Tue, 12 Feb 2013 18:10:28 +0000 (20:10 +0200)]
resource-asm: s/MRP_TRANSPORT_MODE_DATA/MRP_TRANSPORT_MODE_CUSTOM/g.
Ismo Puustinen [Thu, 20 Dec 2012 08:05:40 +0000 (10:05 +0200)]
resource-asm: fix a memory leak.
Ismo Puustinen [Thu, 13 Dec 2012 09:25:32 +0000 (11:25 +0200)]
resource-asm: state call support and event type lookup refactoring.
Ismo Puustinen [Wed, 12 Dec 2012 14:47:44 +0000 (16:47 +0200)]
resource-asm: map SLP media classes to Murphy classes.
Ismo Puustinen [Wed, 12 Dec 2012 08:12:55 +0000 (10:12 +0200)]
resource-asm: fix a bug in callback handling, add logging.
Ismo Puustinen [Wed, 12 Dec 2012 07:44:56 +0000 (09:44 +0200)]
resource-asm: improve SLP interoperability.
Ismo Puustinen [Tue, 11 Dec 2012 12:54:51 +0000 (14:54 +0200)]
resource-asm: close all file descriptors when forking.
Ismo Puustinen [Tue, 4 Dec 2012 13:22:03 +0000 (15:22 +0200)]
resource-asm: fix memory handling.
Ismo Puustinen [Mon, 3 Dec 2012 14:36:13 +0000 (16:36 +0200)]
resource-asm: handle non-resume callback answers.
Ismo Puustinen [Mon, 3 Dec 2012 13:32:52 +0000 (15:32 +0200)]
resource-asm: changed the commands sent to applications over ASM.
Ismo Puustinen [Fri, 30 Nov 2012 10:57:38 +0000 (12:57 +0200)]
resource-asm: filter non-relevant server events.
Ismo Puustinen [Fri, 30 Nov 2012 09:35:28 +0000 (11:35 +0200)]
resource-asm: better file handling in asm-bridge.
Ismo Puustinen [Thu, 29 Nov 2012 14:18:31 +0000 (16:18 +0200)]
resource-asm: fixed the special resource unregister case.
Ismo Puustinen [Thu, 29 Nov 2012 13:48:16 +0000 (15:48 +0200)]
resource-asm: better message queue error handling.
Ismo Puustinen [Thu, 29 Nov 2012 13:39:04 +0000 (15:39 +0200)]
resource-asm: started writing monitor support.
Ismo Puustinen [Wed, 28 Nov 2012 15:29:08 +0000 (17:29 +0200)]
resource-asm: applications now respond to resource events.
Ismo Puustinen [Wed, 28 Nov 2012 08:59:01 +0000 (10:59 +0200)]
resource-asm: print error string.
Ismo Puustinen [Wed, 28 Nov 2012 08:49:06 +0000 (10:49 +0200)]
resource-asm: fix forgotten defines.
Ismo Puustinen [Mon, 26 Nov 2012 13:52:13 +0000 (15:52 +0200)]
resource-asm: add ASM plugin to build.
Ismo Puustinen [Mon, 26 Nov 2012 13:51:52 +0000 (15:51 +0200)]
resource-asm: added initial version of Audio Session Manager plugin.
Audio Session Manager handles resource policy arbitration in Tizen. The
Murphy ASM plugin makes Murphy the Tizen audio resource manager.
Ismo Puustinen [Fri, 26 Jul 2013 12:14:40 +0000 (15:14 +0300)]
amb: fix a bug in error handling.
Ismo Puustinen [Wed, 24 Jul 2013 10:55:26 +0000 (13:55 +0300)]
amb: fixed function bridge issues.
Ismo Puustinen [Thu, 20 Jun 2013 11:40:52 +0000 (14:40 +0300)]
amb: added support for new findProperty() call.
Ismo Puustinen [Wed, 24 Jul 2013 08:19:24 +0000 (11:19 +0300)]
amb: updated test data to match the changed AMB D-Bus interface.
Ismo Puustinen [Tue, 18 Jun 2013 10:55:06 +0000 (13:55 +0300)]
amb: added error logging messages to D-Bus error conditions.
Krisztian Litkey [Mon, 8 Jul 2013 16:33:23 +0000 (19:33 +0300)]
telephony: minor update for latest resource API.
Jaska Uimonen [Tue, 25 Jun 2013 20:29:32 +0000 (23:29 +0300)]
ivi-resource-manager: add appid mapping
Janos Kovacs [Mon, 24 Jun 2013 23:36:04 +0000 (02:36 +0300)]
ivi-resource-manager: manage audio_playback resource
Jaska Uimonen [Sun, 16 Jun 2013 19:47:23 +0000 (22:47 +0300)]
ivi-resource-manager: make scripting definition static
Janos Kovacs [Sun, 16 Jun 2013 11:17:48 +0000 (14:17 +0300)]
ivi-resource-manager: add key based resource allocation for screen
Janos Kovacs [Sun, 16 Jun 2013 00:01:33 +0000 (03:01 +0300)]
ivi-resource-manager: add console support
Janos Kovacs [Sat, 15 Jun 2013 20:22:21 +0000 (23:22 +0300)]
ivi-resource-manager: integrate to resolver
Janos Kovacs [Fri, 14 Jun 2013 00:32:38 +0000 (03:32 +0300)]
ivi-resource-manager: screen resource grant depends on active_screen table
Janos Kovacs [Thu, 13 Jun 2013 07:56:27 +0000 (10:56 +0300)]
ivi-resource-manager: basic framework for screen resource
Janos Kovacs [Tue, 11 Jun 2013 09:11:15 +0000 (12:11 +0300)]
ivi-resource-manager: add plugin skeleton
Ismo Puustinen [Tue, 19 Mar 2013 10:19:01 +0000 (12:19 +0200)]
amb: fixed reopening the listening socket after disconnect.
Ismo Puustinen [Wed, 9 Jan 2013 14:26:52 +0000 (16:26 +0200)]
amb: started working on setting properies to AMB.
Ismo Puustinen [Fri, 1 Mar 2013 12:28:54 +0000 (14:28 +0200)]
amb: started adding process watching support.
Krisztian Litkey [Thu, 21 Feb 2013 17:48:14 +0000 (19:48 +0200)]
telephony: run with a single transaction.
Krisztian Litkey [Thu, 21 Feb 2013 17:46:59 +0000 (19:46 +0200)]
plugin-amb: property change notification signal is now configurable.
Krisztian Litkey [Thu, 14 Feb 2013 13:58:35 +0000 (15:58 +0200)]
plugin-amb: updated to changed lua object creation signature.
Krisztian Litkey [Thu, 20 Dec 2012 18:36:37 +0000 (20:36 +0200)]
plugin-dlog: added a plugin that enables logging to dlog.
Krisztian Litkey [Thu, 13 Dec 2012 22:44:14 +0000 (00:44 +0200)]
telephony: added preliminary resource allocation.
Ismo Puustinen [Tue, 4 Dec 2012 12:35:54 +0000 (14:35 +0200)]
amb: fix handling of error cases.
Ismo Puustinen [Fri, 30 Nov 2012 09:38:43 +0000 (11:38 +0200)]
amb: added some mdb updating support to test configuration file.
Ismo Puustinen [Fri, 30 Nov 2012 09:36:17 +0000 (11:36 +0200)]
amb: debug print fix.
Krisztian Litkey [Tue, 27 Nov 2012 15:28:34 +0000 (17:28 +0200)]
telephony: added telephony plugin.
Ismo Puustinen [Mon, 26 Nov 2012 13:53:57 +0000 (15:53 +0200)]
amb: add AMB plugin to build.
Ismo Puustinen [Mon, 26 Nov 2012 13:53:19 +0000 (15:53 +0200)]
amb: added initial version of Automotive Message Broker plugin.
Automotive Message Broker sends information about the current vehicle
system status. The AMB plugin allows Murphy to listen for these changes
and put the data to Murphy internal database for decision making.
Krisztian Litkey [Fri, 8 Nov 2013 21:30:07 +0000 (23:30 +0200)]
sample config: test message dispatching, message sending.
Jan Ekström [Thu, 8 Jan 2015 15:29:04 +0000 (17:29 +0200)]
{common,resource}: make sure buffers are null-terminated.
These were found by Coverity, and technically they are correct.
Thus explicit null termination is added or strncpy is used.
Krisztian Litkey [Tue, 16 Dec 2014 19:05:03 +0000 (21:05 +0200)]
common: use decltype to approximate typeof for C++.
decltype looks good enough to approximate some usage of the
very handy gcc-compatible typeof extension. It does not seem
to be good enough to cover all cases (one known cas where it
breaks down is mrp_list_entry).
Krisztian Litkey [Mon, 15 Dec 2014 09:11:47 +0000 (11:11 +0200)]
common: more C++-friendly bitmask handling.
Krisztian Litkey [Mon, 15 Dec 2014 09:10:48 +0000 (11:10 +0200)]
common: reject gracefully async events on the global (NULL) bus.
Krisztian Litkey [Fri, 12 Dec 2014 17:02:49 +0000 (19:02 +0200)]
mask-test: get rid of a warning on 32-bit systems.
Janos Kovacs [Fri, 21 Nov 2014 16:15:57 +0000 (18:15 +0200)]
murphy-db: fix issues detected by coverity
Krisztian Litkey [Fri, 12 Dec 2014 15:35:53 +0000 (17:35 +0200)]
lua-transport: use mrp_lua_error with a return whenever possible.
Krisztian Litkey [Thu, 11 Dec 2014 12:12:33 +0000 (14:12 +0200)]
core: fix a few incorrect mrp_debug usages.
Krisztian Litkey [Thu, 11 Dec 2014 12:12:11 +0000 (14:12 +0200)]
common: fix a few incorrect mrp_debug usages.
Krisztian Litkey [Thu, 11 Dec 2014 12:11:13 +0000 (14:11 +0200)]
common: annotate mrp_debug_msg as printf-like.
Krisztian Litkey [Thu, 11 Dec 2014 11:59:42 +0000 (13:59 +0200)]
common: allow printf-like formatted assert messages.
Krisztian Litkey [Wed, 10 Dec 2014 12:15:15 +0000 (14:15 +0200)]
lua-event: adjusted to event infra changes, added explicit start/stop.
Updated to use the revamped event infrastructure. Added explicit
methods for starting/stopping watches. Added oneshot member to be
more in line with timers and deferred callbacks. Minor stylistical
changes to be more in line with the rest of the Lua bindings.
Emitting events from Lua with data attached is not implemented yet...
Krisztian Litkey [Wed, 10 Dec 2014 22:11:21 +0000 (00:11 +0200)]
lua-utils: allow and handle 64- and 32-bit array size members.
Krisztian Litkey [Tue, 9 Dec 2014 18:38:29 +0000 (20:38 +0200)]
common: event infrastructure overhaul, lifted from core to common.
This patch litfs the original event publish/subscribe code from
core to common and attempts to fix some of its shortcomings.
The patch also introduces events busses to provide an abstraction
for logically grouping related or similar events together. Arbitrary
number of busses can be created dynamically. Subscription and event
delivery (emitting) is always done on a particular bus. There is
a default global (the NULL) bus which is always availablei.
This is the easiest to use for backward-compatibility for code which
used to generate or subscribe to some events but did not have direct
access to the mainloop.
Events can now be delivered both synchronously and asynchronously.
The event mechanism have been put under the mainloop mainly for this
reason (to automatically associate busses with a mainloop) to support
asynchronous delivery. With synchronous delivery, the event have been
delivered to all subscribers by the time the emitting call returns.
With asynchronous delivery the event will be delivered from a deferred
callback once the mainloop is done processing its pending events. The
global NULL bus is not associated with a mainloop and therefore only
supports synchronous delivery.
Data can now be attached to events in different formats. In addition
to the original mrp_msg_t, we now support JSON (mrp_json_t) and custom
pointers. For mrp_msg_t and JSON, the infrastructure takes care of
properly reference-counting the data in case of asychronous delivery.
For custom data this is not done ATM (although that might change), so
the caller has to make sure the event data is valid during delivery
and properly freed afterwards.
Currently it is not possible to delete event busses or unregister
events.