summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-12Merge "Update autobuild scripts"Jan-Simon Moeller4-117/+138
2020-06-10Merge "replace qtappfw with qtappfw-core package"Scott Murray1-1/+1
2020-06-10fix segfault on task removal from listRaquel Medina1-47/+46
This commit fixes a segfault which manifests while processing a received message to update the list of active processes. This segfault always happens on removal of a process and sometimes an error associated with the model size for the TableView is also displayed on the journal. The fix includes the following changes: - add checks on the received ResponseMessage to discard invalid messages; - align with other libqtappfw-core clients which use QJsonObject::value() returning QJsonValue, instead of QJsonObject::operator[] returning QJsonValueRef; - create local list of tasks using emplacement instead of insertion; - simplify matching & updating old tasklist against new one; remove flag and use std algorithm find_if with lambda. Bug-AGL: SPEC-3402 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ic6bfaefed3fe91a8d29ef622ba7957b5bed5018a
2020-06-09Update autobuild scriptsScott Murray4-117/+138
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I26f411eaa320ca478f89aa0483992ddb96ff6a25
2020-06-05replace qtappfw with qtappfw-core packageRaquel Medina1-1/+1
Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I850be79654bb61dfbc02867e1b1b755daa37de2a
2020-05-22use MessageEngineFactoryRaquel Medina2-5/+6
Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I7b601d89db9b31407ac6b99e03946e7c249c58a7
2020-04-20register shared_ptr<Message> before connectionRaquel Medina1-0/+1
Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I8ce5eba8c88b4e1ae4411a4936502a24ba4541bd
2020-04-07use new libqtappfw Message hierarchyRaquel Medina2-2/+13
Completes work to use new libqtappfw Message hierarchy started by commit 228e9cea6cbb48025f5f5b38560edc4fc69d1d55 : Rework TaskManager to use new libqtappfw Message hierarchy in 2 steps: i) add changes maintaining build compatibility with current and next libqtappfw versions; ii) complete changes once libqtappfw rolls to next version. This commit covers step ii). Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ia6aff761067ddb05168681060590fecc4b4e8ff1
2020-03-31adapt to use new libqtappfw Message hierarchyRaquel Medina2-20/+18
Rework TaskManager to use new libqtappfw Message hierarchy in 2 steps: i) add changes maintaining build compatibility with current and next libqtappfw versions; ii) complete changes once libqtappfw rolls to next version. This commit covers step i). Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I650832b2406958adf0ee7fe9cbd7f16c6e36ecc8
2020-03-12update autobuild scriptsRaquel Medina2-31/+119
Modify autobuild scripts: - to fix warnings on yocto build - to fix linux/autobuild syntax errors - to add new standard targets Bug-AGL: SPEC-2049 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: If8e68feef5b5af2e7160516f18fba62c1d7de748
2020-03-06avoid use of MessageTypeRaquel Medina1-1/+1
'MessageType' is considered deprecated and will be removed from libqtappfw shortly. This change is applied ahead of libqtappfw changes to avoid breaking the build. Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ic081b56426f3dffb734aa7ec95f9ffd15e7be38c
2020-02-11Update .gitreview fileJan-Simon Möller1-1/+1
This updates the gitreview file in the project . Change-Id: I478d7dd9f6460866826d11d9bf0f6b60085fc0bb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-27fix(main.qml): Remove qml M126 warningicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Li Xiaoming1-1/+1
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: I72afe29de46ad93d49537f16a758c33a706246e9 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-02taskmanager: remove build version artifact from config.xmlMatt Ranostay1-1/+1
Bug-AGL: SPEC-2723 Change-Id: Ia38586eb1320fa3b2c02b4181eb0f8b39e610589 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-07Merge "Fix Taskmanager window layout"halibut_7.99.3halibut/7.99.37.99.3Jan-Simon Moeller1-15/+22
2019-07-04Fix Taskmanager window layoutVitaly Wool1-15/+22
Fix Task Manager window layout so that it: * does not have title bar * occupies the full width of the screen * is not anchored to the top of display (that makes it partially invisible) * scales with the screen resolution Bug-AGL: SPEC-2585 Change-Id: I3b6bfbf5890dd67397790e93c0387e4cc7928d9a Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2019-07-02taskmanager: wgt: remove irrelevant icon.svgMatt Ranostay2-14336/+1
icon.svg is from the Phone application, and isn't even referenced in the config.xml so it can be excluded from the packaging. Bug-AGL: SPEC-2594 Change-Id: Iff85e2da68b420a211f3eb06648721461e7e5df3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-26Update permissionshalibut_7.99.2halibut/7.99.27.99.2Scott Murray1-3/+1
Add the new display permission for running as non-root to config.xml. Bug-AGL: SPEC-2556 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I357330ef21486d98d63c0d257e4622ee07020880
2019-06-26Introduce autobuild scriptsScott Murray2-0/+120
Add agl and linux autobuild scripts to silence build warnings. These 2 scripts are based on the latest version of the autobuild script, but they've been customized to (i) work with the existing qmake files and (ii) the 'update' and 'package-test' targets have been removed. Bug-AGL: SPEC-2164 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1f8211c50c70ce14d14a94196186c267d352acfb
2019-06-04Make network stats graph better readableVitaly Wool1-7/+17
Currently it isn't exactly clear where one of the two network graphs (bytes received, bytes sent) is gone when the values are the same most of the time. Make it clearer with area fill and more color contrast. Bug-AGL: SPEC-2475 Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Change-Id: I52b0f8c87cd1e8df66d3aefd3b7a6a86dc48a10b
2019-05-20Implement network load visualizationhalibut_7.99.1halibut/7.99.17.99.1Vitaly Wool3-30/+133
Implement network load visualization in TaskManager as a complement to the System tab. It shows in/out network activity graph basing on the info provided by the backend. Bug-AGL: SPEC-2403 Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Change-Id: I7d6b4f25424bd3ee1bfc12e9b084a021df289992
2019-04-08Implement system load visualizationVitaly Wool5-89/+196
Implement system load visualization in TaskManager as a separate tab showing average system load graph basing on the info provided by the backend. Change-Id: I81359185516ebb1b6218bfd9ca53f1d76dfddeb4 Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2019-03-03Add extraInfo processingVitaly Wool3-0/+53
Implement processing of user request for extra info for a selected process and show a pop-up with the information returned by the back-end. Change-Id: Ief4e18d561e83877d57f984d8db3163c1cd314ac Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2019-02-13Merge changes Ie2da3e54,I86fcb0cdJan-Simon Moeller3-5/+17
* changes: binding: act upon messageType package: update application name and author
2019-02-06Initial .gitreviewhalibut_7.90.0halibut/7.90.07.90.0Jan-Simon Möller1-0/+5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-05binding: act upon messageTypeVitaly Wool2-3/+15
For each reply message coming from agl-service-taskmanager, read out messageType parameter and act upon it. Change-Id: Ie2da3e54c46071e14e213b838254e0af932ad86f Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2019-02-04package: update application name and authorVitaly Wool1-2/+2
Change-Id: I86fcb0cd881ee08315201835b964393f3a1991f7 Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2018-12-17Add LICENSE file (Apache license)guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.36.99.46.99.3Vitaly Wool1-0/+54
Change-Id: I828f1edd2160e4c55843b143a90273383930abc4 Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2018-12-03taskmanager: comunicate using libqtappfwVitaly Wool2-49/+49
Use libqtappfw to avoid dealing with websocket protocol directly. Change-Id: I67813b38ffba3e54d52e61f60644ee101426e38a Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2018-11-28Add kill button and relevant functionalityguppy_6.99.2guppy/6.99.26.99.2Vitaly Wool3-82/+127
Add 'Kill' and 'Info' (for future use: display detailed info on process in a separate window) buttons to the Task Manager UI and implement sending kill command to the service. Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Change-Id: Iac50f6ce46fc91471d94118587c6e7ea0842beca
2018-11-28Initial commitVitaly Wool14-0/+14843
Add Task Manager GUI. Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Change-Id: I56d9a34df38fb441b598d150e88c905db95346aa
2018-08-15Initial empty repositoryguppy_6.99.1guppy_6.90.0guppy/6.99.1guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.36.99.16.90.05.99.65.99.55.99.45.99.3Jan-Simon Moeller0-0/+0