Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I7b601d89db9b31407ac6b99e03946e7c249c58a7
|
|
Bug-AGL: SPEC-3112
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I8ce5eba8c88b4e1ae4411a4936502a24ba4541bd
|
|
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
|
|
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
|
|
'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
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
Use libqtappfw to avoid dealing with websocket protocol directly.
Change-Id: I67813b38ffba3e54d52e61f60644ee101426e38a
Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
|
|
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
|
|
Add Task Manager GUI.
Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
Change-Id: I56d9a34df38fb441b598d150e88c905db95346aa
|