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-3390
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I850be79654bb61dfbc02867e1b1b755daa37de2a
|
|
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
|
|
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>
|
|
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>
|
|
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
|
|
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
|