summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Schema validation for remote socket protocol.Andrew Christian2012-02-172-0/+11
| | | | | Change-Id: Ia4981187fb35edde82540042ff60688b8066f725 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Moved strings for remote protocol into common header.Andrew Christian2012-02-168-82/+165
| | | | | | | | | 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>
* Added DeclarativeSocketLauncher class and created test cases.Andrew Christian2012-02-165-3/+187
| | | | | Change-Id: I67fc3561256c279acf6e10def3ffe58f12c68195 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Updated METATYPE declarations, fixed tests, fixed sandboxAndrew Christian2012-02-1610-20/+53
| | | | | | | | | | | * 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>
* remove dead declarative codeChris Craig2012-02-152-137/+0
| | | | | Change-Id: I2161e47ff95ce3e1eb47c6b66e685c2bd16bb69c Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* Remove compiler warningsHarald Fernengel2012-02-158-59/+59
| | | | | | | | 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>
* Fix broken metatype registration using namespace macrosChris Craig2012-02-144-4/+11
| | | | | | | | | | | 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>
* Updated matching delegate and documentationAndrew Christian2012-02-1316-119/+159
| | | | | | | | | | | | * 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>
* Added RewriteDelegate class and sample GdbRewriteDelegateAndrew Christian2012-02-138-6/+336
| | | | | Change-Id: I58abe4442afec07c4af707db1c0b7823f7c866e9 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Added MatchInfo class and renamed AbstractMatcher to MatchDelegateAndrew Christian2012-02-137-40/+236
| | | | | Change-Id: I78f88edb0e92d9feae9102aa51e3739b04ada981 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Added AbstractMatcherAndrew Christian2012-02-105-4/+188
| | | | | Change-Id: Iefb838c614fbf5217be9105a4dcbe89c956df00c Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Added oomAdjustment to the ProcessInfoTemplate (from Martin Zielinski)Andrew Christian2012-02-102-0/+35
| | | | | Change-Id: I323e4c87f1d57dfa5e983912fb31fe61dc8387a7 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Fixed procutils to deal with spaces in application namesAndrew Christian2012-02-101-20/+28
| | | | | Change-Id: Ic73e5bfc38b721072fa9d877a453ce5f9b03c101 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Added ExecutingProcessInfo object for data display of executing processesAndrew Christian2012-02-102-0/+244
| | | | | Change-Id: I127d41d7e5015073f96ef8d780efa50369e05e56 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Updating UID and GID control.Andrew Christian2012-02-106-57/+2
| | | | | | | | | | | | | * 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>
* Updating prelaunch backend factory.Andrew Christian2012-02-083-12/+65
| | | | | | | | | * 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>
* Terminate process group on destructionAndrew Christian2012-02-081-4/+19
| | | | | Change-Id: If07998eadea1f1f36d6b2cf7522476d3a28eb8b6 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Set process groups. Initialize group membershipAndrew Christian2012-02-082-8/+18
| | | | | Change-Id: I3e8c1b81b57aec26377ee3f52fc021213b8b255c Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* expose ProcUtils classChris Craig2012-02-071-1/+1
| | | | | Change-Id: I1e31f1946545f9b8719fb7cfb15991f402e920f0 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* Cleaned up compiler warnings. Moved plugin code to examplesAndrew Christian2012-02-0315-103/+46
| | | | | Change-Id: I8da3cfb6b46c7c7a3f6bc140c6e9d14bf17ccb4e Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Make this a real Qt module.Chris Craig2012-02-0336-172/+62
| | | | | | | | | 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>
* Removed extraneous castAndrew Christian2012-02-031-3/+2
| | | | | Change-Id: Ic6ff310bb4981d95995ff08e9f877922353edf82 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Updated oom adjustment. Fixed test cases to work on Linux and MacOSAndrew Christian2012-02-026-20/+74
| | | | | Change-Id: I71d2544bc883fed759dab5e33d041bf66f1369da Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Updated test cases to be more comprehensiveAndrew Christian2012-02-028-20/+34
| | | | | Change-Id: Ia889372d4c748f364745ba48df16d42b0c4d60b7 Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Expose process errorstring to remote processesAndrew Christian2012-02-024-6/+20
| | | | | Change-Id: I08f3bd3ec4740a61faf7af09c8251d9054bcf68e Reviewed-by: Chris Craig <ext-chris.craig@nokia.com>
* Expose the process errorstring, to help with debuggingGunnar Sletta2012-02-016-0/+35
| | | | | Change-Id: Iab69ce0937c57a4ec852247d192e16f73ca3ef27 Reviewed-by: Andrew Christian <andrew.christian@nokia.com>
* Long live Qt Process Manager!Sergio Ahumada2012-01-3167-0/+8189