| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I0612bc25e5d40dde12aa6f09158e30b0a94cd6af
Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
|
|
|
|
|
| |
Change-Id: If29f31cdb8bf696108788f5b179e404d303ebfb5
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
| |
The JsonPipe class from QJsonStream abstracts sending
and receiving JSON-formatted messages over file descriptors.
Change-Id: I7ebde3dc1f176d41e492f1bdf34c6ae0e0cf8fa5
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Prefork library parses command line arguments and creates
appropriate master and child processes connected by
pipes.
* PreforkProcessBackendFactory retrieves information about
child processes from prefork library and exposes those
children as remote process manager objects.
* Linux test case added to start a master and child object
using prefork library and run all standard tests.
Change-Id: Ic76da3eb8237744dd075f55db80f46f35550c73f
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
|
| |
* Added declarative test cases for Prelaunch factory
* Copy ProcessInfo record into prelaunch factory to avoid
memory management issues
Change-Id: I3303286f34c7ee9c491a82726e4e4b50892625e4
Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
|
|
|
|
|
| |
Change-Id: I0e88adff69718419598a7547f36aee3769833e53
Reviewed-by: Matthias Ettrich <matthias.ettrich@nokia.com>
|
|
|
|
|
| |
Change-Id: I466e79d5794a9e4db3ec15f0449d80a6a7357fe2
Reviewed-by: Matthias Ettrich <matthias.ettrich@nokia.com>
|
|
|
|
|
|
|
|
|
| |
When true, the factory does prelaunching. Otherwise, it is still
able to launch processes, but won't attempt to create any additional
prelaunched runtimes.
Change-Id: Iab8aa1367f109e64847b68af0c856d67287aa9aa
Reviewed-by: Matthias Ettrich <matthias.ettrich@nokia.com>
|
|
|
|
|
|
|
| |
Otherwise you must subclass it in order to create it in QML.
Change-Id: Idbf78477518f366def7d3aadd56ef14734059db2
Reviewed-by: Matthias Ettrich <matthias.ettrich@nokia.com>
|
|
|
|
|
| |
Change-Id: Ieebba581070fe1996e872e32bf9a7e6783376606
Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
|
|
|
|
|
| |
Change-Id: I564279a78162c2b63b40e7009ea3034f929bb275
Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
|
|
|
|
|
| |
Change-Id: I57f552da2f45069fab73782e7229af484cd2636b
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I0f536fc6cae58461ffb1818b044512349a89bba2
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: Icff9cd4073684ba7cc314b69b3efc6c0bf7cff99
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I2e21b7635169464e229a36d02cc728a5f5bab443
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I42cdfcf1b32739ff483c1379cada7df394e57fa1
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
| |
* DeclarativeMatchDelegate allows matching logic to be specified in Javascript.
* Cleaned up some of the QML documentation
Change-Id: I1d9f246528a60656b713fcdb39d08f6f8d6904a0
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: Ia4981187fb35edde82540042ff60688b8066f725
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Commons strings are all declared as functions that return QStringLiteral
values. This follows Qt practice and should allow for reliable reuse
of strings values from 3rd-party applications.
Change-Id: Ic3bd0fa0bfb2705d388aeba462dfac8c22d5eba2
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I67fc3561256c279acf6e10def3ffe58f12c68195
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Updated macros for DECLARE_METATYPE to avoid QML problems
* Updated module dependencies
* Moved socket names into QML-friendly attributes
* Fixed PGRP bug where kill command might be issued before setpgrp
* Cleaned up test code
Change-Id: I96e485bd2e95f8e186766692ce322ddb5c2ea527
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I2161e47ff95ce3e1eb47c6b66e685c2bd16bb69c
Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
|
|
|
|
|
|
|
|
| |
Also fix a static global object and remove some QString conversion
errors in the process.
Change-Id: I8612ab2fbe4e083051f217682f2b24bc0af3b88d
Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The compiler will not correctly expand this:
Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE_PROCESSMANAGER(ProcessFrontend) *)
so we add an extra level of indirection so the correct expanded typename is processed
by Q_DECLARE_METATYPE.
Change-Id: Ic7fa033f370844fe7fdb1dda4451bf3264769e8d
Reviewed-by: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com>
Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added KeyMatchDelegate for simple matching cases
* Removed special-purpose matching functions in factory files
* Removed special-purpose GdbProcessBackendFactory and replaced it
with the GdbRewriteDelegate
* Added test cases for matching.
* Updated documentation errors and omissions
Change-Id: Ibd201e56ab65c4d07763713d354a5023b6165aa3
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I58abe4442afec07c4af707db1c0b7823f7c866e9
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I78f88edb0e92d9feae9102aa51e3739b04ada981
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: Iefb838c614fbf5217be9105a4dcbe89c956df00c
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I323e4c87f1d57dfa5e983912fb31fe61dc8387a7
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: Ic73e5bfc38b721072fa9d877a453ce5f9b03c101
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I127d41d7e5015073f96ef8d780efa50369e05e56
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed uid() and gid() functions from process frontend/backend
because these values must be calculated from the /proc filesystem.
* Fixed bug in processinfo that incorrectly set group id.
* Updated test suite so that you can specify UID/GID to run
child processes as. Use TEST_UID=NUM and TEST_GID=num as
environment variables and then execute the test suite with
CAP_SETUID (normally accomplished by running as root)
Change-Id: Ib1c10521bddec19afe7eae1422ffa1f24985756c
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
|
| |
* Factory now restarts a failed prelaunched process.
* Factory has "launchInterval" property to allow changing how
frequently the prelaunched process is started.
Change-Id: I870222b7d4b8a893477c254be72277e0380be5d6
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: If07998eadea1f1f36d6b2cf7522476d3a28eb8b6
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I3e8c1b81b57aec26377ee3f52fc021213b8b255c
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I1e31f1946545f9b8719fb7cfb15991f402e920f0
Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
|
|
|
|
|
| |
Change-Id: I8da3cfb6b46c7c7a3f6bc140c6e9d14bf17ccb4e
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Combined the launcher and core modules into a single unit.
Use core/launcher as QT += processmanager
Use declarative as QT += processmanagerdeclarative
Change-Id: I1d167a47236c8a624ed7eab01bcf994e6de25e80
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: Ic6ff310bb4981d95995ff08e9f877922353edf82
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I71d2544bc883fed759dab5e33d041bf66f1369da
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: Ia889372d4c748f364745ba48df16d42b0c4d60b7
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: I08f3bd3ec4740a61faf7af09c8251d9054bcf68e
Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
|
|
|
|
|
| |
Change-Id: Iab69ce0937c57a4ec852247d192e16f73ca3ef27
Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
|
|
|