profile/ivi/murphy.git
9 years agosystem-controller: fix out-of-bounds access in screen.c
Jan Ekström [Thu, 6 Nov 2014 13:03:58 +0000 (15:03 +0200)]
system-controller: fix out-of-bounds access in screen.c

Change-Id: I83c31b2a0beaf4a15973bcc1961474de826c6fdb

9 years agosystem-controller: stop a possible out-of-bounds write.
Jan Ekström [Thu, 6 Nov 2014 12:32:27 +0000 (14:32 +0200)]
system-controller: stop a possible out-of-bounds write.

Change-Id: Ia63c65c74aeb119097acdb4000c6b4bc153e7937

9 years agosystem-monitor: always unref cgroup if cpu_register_cgroup fails.
Krisztian Litkey [Thu, 6 Nov 2014 12:37:49 +0000 (14:37 +0200)]
system-monitor: always unref cgroup if cpu_register_cgroup fails.

Change-Id: Ifddaab06c8d07bf42ed570b699c7ebbd1a360cd9

9 years agotelephony: mark intentional fallthrough with a comment.
Krisztian Litkey [Thu, 6 Nov 2014 12:05:05 +0000 (14:05 +0200)]
telephony: mark intentional fallthrough with a comment.

Change-Id: Ia89eb26d5984d36ef79ff9141b98c4edc2886163

9 years agosystem-monitor: force control descriptor table size.
Krisztian Litkey [Thu, 6 Nov 2014 10:38:11 +0000 (12:38 +0200)]
system-monitor: force control descriptor table size.

Change-Id: Id88230b7eaf89a00e9a37192d3c04e4c3b018e08

9 years agosystem-monitor: don't leak /proc/mounts fd.
Krisztian Litkey [Thu, 6 Nov 2014 09:48:00 +0000 (11:48 +0200)]
system-monitor: don't leak /proc/mounts fd.

Change-Id: Ib70d20140fee4b1a6803c7f8a7388282846f376d

9 years agosystem-controller: only set value once before validation in screen_allocate.
Jan Ekström [Wed, 5 Nov 2014 14:54:58 +0000 (16:54 +0200)]
system-controller: only set value once before validation in screen_allocate.

Change-Id: I56aa1716e848a6c400dc3e7f63d811dfdb015a35

9 years agoresource-asm: close correct fd in error handler.
Ismo Puustinen [Wed, 5 Nov 2014 13:59:06 +0000 (15:59 +0200)]
resource-asm: close correct fd in error handler.

Change-Id: I3bb0f813cebeefcf8d7214b935289560e73628de

9 years agopackaging: bumped version, updated changelog.
Krisztian Litkey [Fri, 31 Oct 2014 16:30:29 +0000 (18:30 +0200)]
packaging: bumped version, updated changelog.

Change-Id: Ie44a945b10ac745179f1329756e5fcd65b86b652

9 years agopackaging: bumped version, updated changelog.
Krisztian Litkey [Fri, 31 Oct 2014 15:52:41 +0000 (17:52 +0200)]
packaging: bumped version, updated changelog.

Change-Id: Ia89a2b14ce4ef582b46c4496a351c9e1270a29aa

9 years agoconfig: delete timers by setting 'callback', not 'cb', to nil.
Ismo Puustinen [Fri, 31 Oct 2014 15:02:03 +0000 (17:02 +0200)]
config: delete timers by setting 'callback', not 'cb', to nil.

Change-Id: I02173e3c32e783d2666b560b61d10d362703b24d

9 years agoconfig: create system surfaces on top, but not visible.
Jan Ekström [Fri, 24 Oct 2014 15:14:40 +0000 (18:14 +0300)]
config: create system surfaces on top, but not visible.

This matches CicoSCWindowController, and fixes the application
launcher (menuwindow) coming up when the ICO HomeScreen is started.

Change-Id: I8e8f135979e9342e7b3012499aa7263185bf968c

9 years agopackaging: move murphyd.service to systemd user session.
Ismo Puustinen [Tue, 21 Oct 2014 14:05:07 +0000 (17:05 +0300)]
packaging: move murphyd.service to systemd user session.

Change-Id: I390d190a3d2d621a37527e652040d667a36afe08

9 years agosystem-controller: launch HS with user name instead of user dir.
Ismo Puustinen [Tue, 21 Oct 2014 10:10:48 +0000 (13:10 +0300)]
system-controller: launch HS with user name instead of user dir.

Change-Id: Ib9f0e5d23b89471d1528051d6bca63505b8ef032

9 years agosystem-controller: do mkdir recursively.
Ismo Puustinen [Tue, 21 Oct 2014 13:49:17 +0000 (16:49 +0300)]
system-controller: do mkdir recursively.

Change-Id: I272794e74738c9bf678948bcaebd0dfdc765d8c7

9 years agosystem-controller: fix a crash in inotify watching.
Ismo Puustinen [Fri, 31 Oct 2014 08:49:31 +0000 (10:49 +0200)]
system-controller: fix a crash in inotify watching.

Change-Id: I27953443b1418034fe4d88538ddbaa628a357d36

9 years agoplugin-amb: explicitly restore Lua stack across callbacks.
Krisztian Litkey [Tue, 28 Oct 2014 12:51:49 +0000 (14:51 +0200)]
plugin-amb: explicitly restore Lua stack across callbacks.

Change-Id: I6c20435fde7bd25842b1e673e31b5e1bae23d086

9 years agopackaging: cherry-picked fixes for TC-1835, bumped version, updated changelog.
Krisztian Litkey [Thu, 30 Oct 2014 14:33:53 +0000 (16:33 +0200)]
packaging: cherry-picked fixes for TC-1835, bumped version, updated changelog.

Change-Id: I50fa2b294aa324b5afadc186c5a6066540700a42

9 years agopackaging: bumped version, updated changelog.
Krisztian Litkey [Tue, 28 Oct 2014 07:51:46 +0000 (09:51 +0200)]
packaging: bumped version, updated changelog.

Change-Id: I8642e22fdd823ae53a8da2f09f80be70b4a3c9b9

9 years agosystem-controller: don't leak animation definition names.
Krisztian Litkey [Tue, 28 Oct 2014 08:25:31 +0000 (10:25 +0200)]
system-controller: don't leak animation definition names.

Change-Id: I68565fa3aab73643c501596c8812d68cf88a3c57

9 years agogam-resource-manager: adjust to updated proxied call callback signature.
Krisztian Litkey [Sun, 26 Oct 2014 15:52:47 +0000 (17:52 +0200)]
gam-resource-manager: adjust to updated proxied call callback signature.

Change-Id: Ice3db43842f81cc7368ed9438df730772c374233

9 years agosystem-controller: fixed a compiler warning.
Krisztian Litkey [Sun, 26 Oct 2014 15:25:42 +0000 (17:25 +0200)]
system-controller: fixed a compiler warning.

Change-Id: Idcfe06855806c24cb5bd111214280186a32da6f8

9 years agosystem-controller: fixed a few compiler warnings.
Krisztian Litkey [Sun, 26 Oct 2014 15:24:48 +0000 (17:24 +0200)]
system-controller: fixed a few compiler warnings.

Change-Id: I2719c688da5147478bfafb6af356097c0abfd915

9 years agoivi-resource-manager: fixed a few compiler warnings.
Krisztian Litkey [Sun, 26 Oct 2014 15:23:09 +0000 (17:23 +0200)]
ivi-resource-manager: fixed a few compiler warnings.

Change-Id: Ie5b6ab5af6e9898ffe1e3b7f7b39f8a2567ef038

9 years agogam-resource-manager: fix a few warnings.
Krisztian Litkey [Sat, 25 Oct 2014 11:22:19 +0000 (14:22 +0300)]
gam-resource-manager: fix a few warnings.

Change-Id: I49b7e63c5e014ec50d1ccfe1b46031d330fba6f6

9 years agoivi-resource-mananger: fix a few warnings.
Krisztian Litkey [Sat, 25 Oct 2014 11:21:59 +0000 (14:21 +0300)]
ivi-resource-mananger: fix a few warnings.

Change-Id: Ib5afbf266b2282614c00fea46d36a51632521120

9 years agopackaging: bumped version, updated changelog.
Krisztian Litkey [Sat, 25 Oct 2014 10:42:05 +0000 (13:42 +0300)]
packaging: bumped version, updated changelog.

Change-Id: If40d909392eadf0db7de9e835106cddb0cff4252

9 years agopackaging: remove commented out rpm sections.
Ismo Puustinen [Sat, 25 Oct 2014 10:30:20 +0000 (13:30 +0300)]
packaging: remove commented out rpm sections.

Change-Id: Ifc381a8634c15011380e92f6a876f9eb25420f8a

9 years agosystem-monitor: get rid of a compiler warning.
Krisztian Litkey [Sat, 25 Oct 2014 09:26:42 +0000 (12:26 +0300)]
system-monitor: get rid of a compiler warning.

Change-Id: I4e3a7802242572bda2bd453e91ecad2fb63dd502

9 years agogam-resource-manager: get rid of a few compiler warnings.
Krisztian Litkey [Sat, 25 Oct 2014 09:20:08 +0000 (12:20 +0300)]
gam-resource-manager: get rid of a few compiler warnings.

Change-Id: I05ae9b3b5d69ffd6b243312ac4ab8d5b2f6edf28

9 years agosystem-controller: don't dereference screen_resource_t after freeing it.
Krisztian Litkey [Sat, 25 Oct 2014 08:35:31 +0000 (11:35 +0300)]
system-controller: don't dereference screen_resource_t after freeing it.

Change-Id: Iaf35be947867d205449861c659d5915f8569447c

9 years agosystem-monitor: plant the necessary funcbridge gettop/settop wrappers.
Krisztian Litkey [Fri, 24 Oct 2014 16:36:48 +0000 (19:36 +0300)]
system-monitor: plant the necessary funcbridge gettop/settop wrappers.

Change-Id: I201ec63c673cad1312834bdc7b04efd702f2b60d

9 years agosystem-monitor: fixed a potentially uninitialized variable warning.
Krisztian Litkey [Thu, 23 Oct 2014 13:26:13 +0000 (16:26 +0300)]
system-monitor: fixed a potentially uninitialized variable warning.

Change-Id: Ib6e0384b442dd62cb4121f899a2a66b8b9b7d408

9 years agosystem-monitor: removed now implicit MRP_LUA_CLASS_PRIVREFS.
Krisztian Litkey [Thu, 23 Oct 2014 13:16:44 +0000 (16:16 +0300)]
system-monitor: removed now implicit MRP_LUA_CLASS_PRIVREFS.

Change-Id: I4548bbe37e24504ce8138da8f19edc71dc58ee4b

9 years agosystem-controller: fix trailing white space in a few scripting-*.c.
Krisztian Litkey [Wed, 22 Oct 2014 17:09:43 +0000 (20:09 +0300)]
system-controller: fix trailing white space in a few scripting-*.c.

Change-Id: I3e4c7d84b5305d83c767a6634f698192a2357491

9 years agosystem-controller: mark masks DYNAMIC, add funcbridge gettop/settop wrappers.
Krisztian Litkey [Wed, 22 Oct 2014 17:08:36 +0000 (20:08 +0300)]
system-controller: mark masks DYNAMIC, add funcbridge gettop/settop wrappers.

Mark Lua *_mask classes (window_mask, layer_mask, input_mask,
output_mask, code_mask) as dynamic.

Finally (I think) I understood where the mysterious and seemingly
quasi-randomly occuring dynamic object leaks were stemming from.
It is caused by functionbridge invocations from a peculiar type
of context (see below). Sadly, in its current form, there is no
easy automatic way to mitigate the problem, or at least I haven't
managed to come up with one yet, to protect people from shooting
themselves in the foot with other instances of this bug. For the
time being folks will need to make sure they do the right things,
which inherently and eventually tends to be error prone...

Anyway, to make a long story short, the leaks were stemming from
calls to mrp_func{bridge,array}_call_from_c from contexts which
were not triggered, directly or indirectly, from Lua from a control
flow perspective. IOW, if there was a call to one of the *from_c
bridge-invoking and on the return path we never ended up returning
to the Lua interpreter (which would have then had been the one
having made the call out to C/us) then all the objects that were
pushed on the Lua stack before the call to the *from_c function
were simply left on the Lua stack forever.

These were not genuine leaks in the sense that the object still
were reachable on the Lua stack, it was just that there was never
a return to Lua or to anybode else to clean up the stack for us
so the object were never ever reclaimed.

The fix for now is to make sure that all invocations to bridges
strictly follow the pattern below, which makes sure that the Lua
stack top is saved before anything is pushed there and restored
before returning from the function:

  ...
  int top;

  error checks and potential bailout();

  top = lua_gettop(L);

  /* from here on no direct bailout, only return via 'goto out;' */
  preparation argument gathering and creation();

  fill funcbridge argument array();
  invoke funcbridge with one of the call_from_c calls();
  free returned values if needed();

  out;
  lua_settop(L, top);

  return status;

Now there are a couple of ways how this could be made safer / less
error prone, but AFAICT all of those require slight changes to the
funcbridge implementation and/or signature.

One, and a rather trivial, way would be to let people pass in the
stack top to be restored to the *_call_from_c functions and let
these make sure that the stack is restored properly before they
return. This would still require the caller to correctly determine
the right stack top, but it would save him from the trouble of
having to remember to correctly restore the stack on all return
pathes.

Another alternative would be to change the funcbridge signature
and allow the called to indicate there how many items were pushed
to the stack just for the funcbridge call (eg. the last item being
the number of items to clean up), or to have separate signature
markers for items that have been specifically allocated for the
funcbridge call. So for instance O would indicate a Lua object
while D would indicate a Lua object that needs to be cleaned from
the stack before returning. Neither of these would be fully fail-
safe though as the caller still needs to provide the right info
one way or another...

Change-Id: If002c8bb4936bbc8e2677dfb9cdc4a0a640c78d6

9 years agosystem-controller: don't leak unwrapped JSON objects/arguments.
Krisztian Litkey [Mon, 20 Oct 2014 09:23:48 +0000 (12:23 +0300)]
system-controller: don't leak unwrapped JSON objects/arguments.

mrp_json_lua_unwrap implicitly takes a new reference to the
unwrapped JSON object on behalf of the caller. Once the caller
is done with using the object, that reference must be dropped.

Change-Id: I06e132034355547fd4453140e8a1aeecf9cd1102

9 years agosystem-controller: fix user name handling.
Ismo Puustinen [Thu, 16 Oct 2014 07:37:23 +0000 (10:37 +0300)]
system-controller: fix user name handling.

Change-Id: I72d95e3e3c052394ca5a35170bc718dfc1ace6bf

9 years agopackaging: bumped version, updated changelog.
Krisztian Litkey [Fri, 10 Oct 2014 17:43:42 +0000 (20:43 +0300)]
packaging: bumped version, updated changelog.

Change-Id: I282f647296224ce411defd6fbfb18b3fa01fbe4e

9 years agosystem-controller: tizen_platform include order fix.
Ismo Puustinen [Fri, 10 Oct 2014 14:15:59 +0000 (17:15 +0300)]
system-controller: tizen_platform include order fix.

Change-Id: I354cc3be91c6f40e1dec03046c628892c89640d3

9 years agopackaging: bumped the version.
Ismo Puustinen [Mon, 29 Sep 2014 07:24:27 +0000 (10:24 +0300)]
packaging: bumped the version.

Change-Id: I8d006638850676e1ebcdd5d4b76891a9b3757e12

9 years agosystem-controller: use hash instead of pointers to fetch surface objects
Janos Kovacs [Fri, 10 Oct 2014 12:50:54 +0000 (15:50 +0300)]
system-controller: use hash instead of pointers to fetch surface objects

Change-Id: Ib7e00d3e2d6579e83888502dfe4895b3a1cd5309

9 years agopackaging: do not install ico-homescreen.service.
Ismo Puustinen [Tue, 7 Oct 2014 12:48:02 +0000 (15:48 +0300)]
packaging: do not install ico-homescreen.service.

Change-Id: I8f903326977ee0fa99c1d85f5948a83f1f9b01e4

9 years agosystem-controller: delay user init until weston is running.
Ismo Puustinen [Tue, 7 Oct 2014 12:36:58 +0000 (15:36 +0300)]
system-controller: delay user init until weston is running.

Change-Id: I8c703422b6f9385d7a92863e5a5dd0961980c0e2

9 years agobuild: added path-track to build.
Ismo Puustinen [Tue, 7 Oct 2014 12:13:55 +0000 (15:13 +0300)]
build: added path-track to build.

Change-Id: I3ff542d084d20a518ddecc47baecd4d9a7576f7e

9 years agosystem-controller: added code for tracking single files.
Ismo Puustinen [Tue, 7 Oct 2014 12:05:49 +0000 (15:05 +0300)]
system-controller: added code for tracking single files.

This is meant for figuring out when Weston socket appears.

Change-Id: I7d80eeb37bd8e733e4411860dfc8698d0811cf87

9 years agosystem-controller: save and restore the last user information.
Ismo Puustinen [Mon, 6 Oct 2014 13:56:48 +0000 (16:56 +0300)]
system-controller: save and restore the last user information.

Change-Id: Id8af88372aab821774572f4d7929b95361de33f1

9 years agoconfig: Updated murphy.lua to process incoming notification requests.
Ismo Puustinen [Tue, 30 Sep 2014 06:37:02 +0000 (09:37 +0300)]
config: Updated murphy.lua to process incoming notification requests.

Change-Id: Id5f8baf4e263ce0f4248f9679e2d1cdedc2465b6

9 years agosystem-controller: do mkdir() calls persistently.
Ismo Puustinen [Wed, 24 Sep 2014 14:01:01 +0000 (17:01 +0300)]
system-controller: do mkdir() calls persistently.

Change-Id: I5d457e621f0648706db52c25040402b2dc6686cb

9 years agosystem-controller: bail out if creating directories fails.
Ismo Puustinen [Wed, 24 Sep 2014 14:18:22 +0000 (17:18 +0300)]
system-controller: bail out if creating directories fails.

Change-Id: I1dd534f347d32f52bf43507b948efa60d81e2e10

9 years agoconfig: add D-Bus session bus address to systemd service file.
Ismo Puustinen [Wed, 8 Oct 2014 12:09:00 +0000 (15:09 +0300)]
config: add D-Bus session bus address to systemd service file.

Change-Id: Ia0ad14972c4d0b89eccbbccbe5da74180b81e9c1

9 years agosystem-controller: change the system-controller generated surface id range
Janos Kovacs [Wed, 1 Oct 2014 18:26:39 +0000 (21:26 +0300)]
system-controller: change the system-controller generated surface id range

Change-Id: I8d5f9d7d84a217dc2f0c25824d227313f3fe172f

9 years agosystem-controller: try to get launching user for an app using ail and pid.
Baptiste DURAND [Wed, 24 Sep 2014 12:20:22 +0000 (14:20 +0200)]
system-controller: try to get launching user for an app using ail and pid.

With the latest ail we need to retreive the launching user for an app
using the PID to get the category right. If the user  is not found this
way, we consider the default user ('app') as the launching user and fall
back to look up and use the UID of that instead.

Change-Id: Iaa1d9091598cd7b28dff0ee67e67d357325f152d
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agopackaging: change code incompatible with yocto workflow
Ronan Le Martret [Wed, 24 Sep 2014 14:48:45 +0000 (17:48 +0300)]
packaging: change code incompatible with yocto workflow

Change-Id: I3c6a6c5e1ea7a1209b7c46f07d91a1ad9079cc5b
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoremove hardcoded conf
Ronan Le Martret [Wed, 24 Sep 2014 10:28:01 +0000 (12:28 +0200)]
remove hardcoded conf

 - _with_icosyscon should be set in the project config

 For more information about conditional builds for rpm spec file please:
 - http://www.rpm.org/wiki/PackagerDocs/ConditionalBuilds

Bug-Tizen: PTREL-823

Change-Id: Ife33cc5beead85bfda2afb82701890045431ea35
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agopackaging: pumped version, updated changelog.
Krisztian Litkey [Wed, 24 Sep 2014 06:08:42 +0000 (09:08 +0300)]
packaging: pumped version, updated changelog.

Change-Id: I39b441868e390899c149a3c889d73d6d8b579c1e

9 years agosystem-controller: remember to close the lastinfo fd.
Ismo Puustinen [Mon, 22 Sep 2014 07:40:44 +0000 (10:40 +0300)]
system-controller: remember to close the lastinfo fd.

Change-Id: I7250ebe803cfa579bcb2cc8d6d63a33c27b3ef12

9 years agogam: fix a false expression and do some cleanup.
Ismo Puustinen [Fri, 19 Sep 2014 13:27:08 +0000 (16:27 +0300)]
gam: fix a false expression and do some cleanup.

Change-Id: Ib353520406e38097459b7f2e3e9065a44dc27c44

9 years agogam: init index for error handling too.
Ismo Puustinen [Fri, 19 Sep 2014 13:10:45 +0000 (16:10 +0300)]
gam: init index for error handling too.

Change-Id: I305dff882f9d9d4c8c153bb188731e4948c8b337

9 years agoamb: check return values correctly.
Ismo Puustinen [Fri, 19 Sep 2014 13:02:11 +0000 (16:02 +0300)]
amb: check return values correctly.

Change-Id: I1a4db8fd7708727a19962e22fce2c619ca43e632

9 years agoamb: do not use NULL values when handling errors.
Ismo Puustinen [Fri, 19 Sep 2014 12:34:48 +0000 (15:34 +0300)]
amb: do not use NULL values when handling errors.

Change-Id: I81462ccd97b8462768cd8a964d693817ec1cb507

9 years agosystem-controller: fixes to user handling.
Ismo Puustinen [Fri, 19 Sep 2014 11:11:55 +0000 (14:11 +0300)]
system-controller: fixes to user handling.

Change-Id: Ia30f066c7c3ae2f9aba8a9a9c87fdd02ec14ab79

9 years agosystem-controller: use AUL properly.
Ismo Puustinen [Fri, 19 Sep 2014 10:06:32 +0000 (13:06 +0300)]
system-controller: use AUL properly.

Change-Id: I38e867d0c9b8aca3a75c6bcf5fd458554fb7291a

9 years agopackaging/sys-con: make HomeScreen depend on both deps.
Jan Ekström [Thu, 18 Sep 2014 17:59:50 +0000 (20:59 +0300)]
packaging/sys-con: make HomeScreen depend on both deps.

Wayland socket is checked for by systemd, and we check
for the amd_agent socket in the ExecStart.

Change-Id: I39ff86b15cf8a6de54c8ebe6a5dc417d9182f50d

9 years agopackaging/sys-con: Only run postun steps when we are uninstalled.
Jan Ekström [Thu, 18 Sep 2014 11:54:55 +0000 (14:54 +0300)]
packaging/sys-con: Only run postun steps when we are uninstalled.

Change-Id: Iadf70eee06eb88b3df67d69971eca77bc4720419

9 years agosystem-controller/wayland: actually log a forgotten error state.
Jan Ekström [Thu, 18 Sep 2014 08:54:09 +0000 (11:54 +0300)]
system-controller/wayland: actually log a forgotten error state.

Change-Id: Idbe612c65f930113096235780fa3aace052a264c

9 years agopackaging: various spec file cleanups.
Ronan Le Martret [Wed, 17 Sep 2014 15:05:03 +0000 (18:05 +0300)]
packaging: various spec file cleanups.

- cleaned up manifest management
- use official systemd/unitdir macros
- use %{buildroot} and %__make instead of $RPM_BUILD_ROOT and make
- get rid of rpmlint warnings
    o "unescaped macro after shell-style comment"
    o "description shorter than summary"
- clean rpmlint score

Change-Id: Ic0e3903bb6876207086ef8842d18d47dc8a02312

9 years agocommon: fix filtering-by-pid check thinko.
Krisztian Litkey [Mon, 15 Sep 2014 13:33:27 +0000 (16:33 +0300)]
common: fix filtering-by-pid check thinko.

Change-Id: I1177207a59e552abbea0e94f403a9e789bee8df5

9 years agopackaging: bumped version, updated changelog.
Krisztian Litkey [Sat, 13 Sep 2014 05:33:00 +0000 (08:33 +0300)]
packaging: bumped version, updated changelog.

Change-Id: Iae9725dd3aca6d1fc88955506170896e5a7166df

9 years agosample-config: sample embrionic process watch Lua tests.
Krisztian Litkey [Fri, 12 Sep 2014 15:42:11 +0000 (18:42 +0300)]
sample-config: sample embrionic process watch Lua tests.

Change-Id: I8f4cf1e5ba155759ae1e2e99362c0c2c1732d57d

9 years agosystem-monitor: initial support for process watches.
Krisztian Litkey [Fri, 12 Sep 2014 11:59:29 +0000 (14:59 +0300)]
system-monitor: initial support for process watches.

This patch adds support for process tracking in the form of
process watches. Using a process watch on can get a notification
callback when an event of interest (fork, exec, exit, identity
change, etc.) happens in the tracked process.

Process watches relay on the low-level process watch interface
offered by the common Murphy libraries, which in turn rely in the
kernels process connector event support.

Change-Id: Ieeb2fc955a9b3f67054c28f5e1632ed236729f52

9 years agocommon: initial low-level process tracking implementation.
Krisztian Litkey [Mon, 4 Aug 2014 12:45:18 +0000 (15:45 +0300)]
common: initial low-level process tracking implementation.

This commit adds support for process watches. Process watches
abstract the kernel process connector events and can be used
to track processes and certain events related to processes.

The current implementation is an initial attempt and quite
rudimentary as such.

Change-Id: Ie228d6491e457ae0095aa223e75d8f1be68a7d5b

9 years agoivi-resource-manager: get rid of trailing whitespace.
Krisztian Litkey [Fri, 12 Sep 2014 12:33:40 +0000 (15:33 +0300)]
ivi-resource-manager: get rid of trailing whitespace.

Change-Id: I20c516af6a0d423dd5bbcd60569fca007fdbf7cc

9 years agoivi-resource-manager: fix error log typo.
Krisztian Litkey [Fri, 12 Sep 2014 12:33:04 +0000 (15:33 +0300)]
ivi-resource-manager: fix error log typo.

Change-Id: I5a1a336a2fa0ea6446013fc6ef6f93b1ea412199

9 years agoivi-resource-manager: don't try to use tzplatform* unconditionally.
Krisztian Litkey [Fri, 12 Sep 2014 12:32:41 +0000 (15:32 +0300)]
ivi-resource-manager: don't try to use tzplatform* unconditionally.

Change-Id: I08bbac6c5b614682c9792ac2b671a014ea4c5656

9 years agopackaging, system-controller: launch homescreen when session-agent is up
Janos Kovacs [Thu, 11 Sep 2014 12:35:49 +0000 (15:35 +0300)]
packaging, system-controller: launch homescreen when session-agent is up

Change-Id: I3e7adf37a5a53be65177a04289329fa1c2b59918
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
9 years agosystem-controller: disable LUA debug messages
Janos Kovacs [Wed, 10 Sep 2014 23:06:57 +0000 (02:06 +0300)]
system-controller: disable LUA debug messages

Change-Id: I5b000de523bdf3829c36d27d3df9eb37adea07a7

9 years agosystem-controller: increase array size to accomodate new message types
Janos Kovacs [Wed, 10 Sep 2014 21:50:48 +0000 (00:50 +0300)]
system-controller: increase array size to accomodate new message types

Change-Id: I9af62f290c3c6aad20943b5797b29e6bae45598b
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
9 years agosystem-controller: adjust to the ivi-controller-client-protocol changes
Janos Kovacs [Wed, 10 Sep 2014 21:37:33 +0000 (00:37 +0300)]
system-controller: adjust to the ivi-controller-client-protocol changes

Change-Id: Ie60ea212de122119001ea2bb74adeeaefe406af4
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
9 years agosystem-controller: enforce the destination rectangle
Janos Kovacs [Wed, 10 Sep 2014 21:14:50 +0000 (00:14 +0300)]
system-controller: enforce the destination rectangle

Change-Id: Ib371f374bcbeea92cf585888bdfdccb77495eed0
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
9 years agosystem-controller: ignore possibly possibly spurious surface removal events
Janos Kovacs [Wed, 10 Sep 2014 19:02:39 +0000 (22:02 +0300)]
system-controller: ignore possibly possibly spurious surface removal events

Change-Id: I3a159ccff5dac404a21354f6ae352a1df1ac45f7

9 years agoRevert "packaging: install user.xml for system-controller."
Janos Kovacs [Wed, 10 Sep 2014 17:55:10 +0000 (20:55 +0300)]
Revert "packaging: install user.xml for system-controller."

This reverts commit 4585e5d5aae816a6e63ae745c65680d065000f86.

From now on the user.xml file will be provided by ico-uxf-homescreen package

Change-Id: I5396c5a6e7b5f6da5b4beda54810e7a86553f3ca
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
9 years agopackaging: fix "lfconfig" ldconfig typo.
Jan Ekström [Tue, 9 Sep 2014 13:20:18 +0000 (16:20 +0300)]
packaging: fix "lfconfig" ldconfig typo.

Change-Id: I06276e5178be2681776cfe29120aa54ad726446e

9 years agopackaging: add ldconfig during (un)install for GAM.
Jan Ekström [Tue, 9 Sep 2014 13:08:03 +0000 (16:08 +0300)]
packaging: add ldconfig during (un)install for GAM.

Fixes an rpmlint error due to library installation
in package without an ldconfig call.

Change-Id: If8744b6eb79a3d101293a7f3293d8537f43a83cb

9 years agopackaging: bumped version, updated changelog.
Krisztian Litkey [Mon, 8 Sep 2014 07:58:35 +0000 (10:58 +0300)]
packaging: bumped version, updated changelog.

Change-Id: I20dcdcf75ba2d7360a46d1f0590c2e7d7468832b

9 years agopackaging: added gam tree and name files
Jaska Uimonen [Fri, 5 Sep 2014 12:28:12 +0000 (15:28 +0300)]
packaging: added gam tree and name files

Change-Id: I604eb4190dcd9d0b98a843595144a849f878cd0a

9 years agopackaging: enable GAM plugins in spec file.
Ismo Puustinen [Thu, 15 May 2014 15:10:07 +0000 (18:10 +0300)]
packaging: enable GAM plugins in spec file.

Change-Id: Ic2f9bcdaa63a9795b01798e5a4a51ab49ba15975

9 years agoconfig: merged GAM-enabled Murphy configuration with the latest Tizen IVI.
Ismo Puustinen [Fri, 5 Sep 2014 15:47:18 +0000 (18:47 +0300)]
config: merged GAM-enabled Murphy configuration with the latest Tizen IVI.

Change-Id: I82482ca3f41d0e9e7c5dd8dbca1b8919a7217ef9

9 years agogam-resource-manager: fixed a memory handling error.
Jaska Uimonen [Wed, 27 Aug 2014 13:52:44 +0000 (16:52 +0300)]
gam-resource-manager: fixed a memory handling error.

Change-Id: I2b377fbc2785ea4772d4536c2ee8849502a6dff9

9 years agobuild-sys: removed gen-debug-table support for GAM components.
Ismo Puustinen [Fri, 15 Aug 2014 05:42:42 +0000 (08:42 +0300)]
build-sys: removed gen-debug-table support for GAM components.

Change-Id: I315ccbd59fcc7141942b8c38df4d94c5e6cbd69e

9 years agoGAM: folded gam-control and immelmann into gam-resource-manager.
Ismo Puustinen [Fri, 15 Aug 2014 10:26:00 +0000 (13:26 +0300)]
GAM: folded gam-control and immelmann into gam-resource-manager.

Change-Id: I505a210d7008c7ad0b8d067eb88f3aa0f477247a

9 years agogam-control: initial experimental/demo plugin implementation.
Krisztian Litkey [Fri, 9 May 2014 14:14:55 +0000 (17:14 +0300)]
gam-control: initial experimental/demo plugin implementation.

This is the counterpart to our Genivi Audio Manager Murphy control
plugin. It does route selection and resource allocation on behalf
of GAM.

Change-Id: I7f61c3c4bd79a73e6fdf86bc763db83a8875bf54

9 years agogam-resource-manager: initial experimental/demo plugin implementation.
Janos Kovacs [Sun, 4 May 2014 12:06:23 +0000 (15:06 +0300)]
gam-resource-manager: initial experimental/demo plugin implementation.

GAM resource manager is a decision-tree based resource backend
implementation.

Change-Id: Ia353e92ddb9d17bf50882b60dad0001e7c2eb0fc

9 years agoimmelmann: initial experimental/demo plugin implementation.
Ismo Puustinen [Mon, 5 May 2014 10:39:07 +0000 (13:39 +0300)]
immelmann: initial experimental/demo plugin implementation.

This is a plugin for classifying whether resource sets are GAM-aware
or not.

Change-Id: Ie394c9fe3b20cb4c5a278117c87c117d057c4424

9 years agoresource: moved mrp_zone_count to manager API.
Janos Kovacs [Mon, 12 May 2014 21:24:07 +0000 (00:24 +0300)]
resource: moved mrp_zone_count to manager API.

Change-Id: I58ff12748231a824986a9ae0fd059a54d3f52c6d

9 years agoresource: export mrp_zone_find_by_name through manager API.
Ismo Puustinen [Fri, 5 Sep 2014 14:30:39 +0000 (17:30 +0300)]
resource: export mrp_zone_find_by_name through manager API.

Change-Id: I367208ec78e2f3f89bb93a205afb4f9560a39fb9

9 years agoresource: use transaction when updating 'xxx_users' & 'xxx_owners' tables
Janos Kovacs [Fri, 16 May 2014 07:58:48 +0000 (10:58 +0300)]
resource: use transaction when updating 'xxx_users' & 'xxx_owners' tables

Change-Id: Icea865ea2cbd547d5fbf0c6bf7eb528998ab563c

9 years agopackaging: install user.xml for system-controller.
Krisztian Litkey [Tue, 2 Sep 2014 13:26:45 +0000 (16:26 +0300)]
packaging: install user.xml for system-controller.

Change-Id: I1a34b321e329507d108e71140d930fcbb72b594f

9 years agopackaging: system-controller needs to list an explicit conflict.
Krisztian Litkey [Tue, 2 Sep 2014 11:38:16 +0000 (14:38 +0300)]
packaging: system-controller needs to list an explicit conflict.

Change-Id: I345f5186d6f9319246a06872e21208830a6d38b8

9 years agopackaging: murphy-system-controller provides system-controller.
Krisztian Litkey [Mon, 1 Sep 2014 12:20:17 +0000 (15:20 +0300)]
packaging: murphy-system-controller provides system-controller.

Change-Id: Ifce86102bf32226afa6b172ab9cc0247df38f00b