[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: D15209: RFC: Port scripting to Qt WebEngine
From: Fabian Vogt <noreply () phabricator ! kde ! org>
Date: 2018-09-01 16:43:43
Message-ID: 847bc54d83d3694b1f23430d04a518ce () localhost ! localdomain
[Download RAW message or body]
[Attachment #2 (text/plain)]
fvogt created this revision.
fvogt added a reviewer: Plasma.
Herald added a project: Plasma.
fvogt requested review of this revision.
REVISION SUMMARY
Unfortunately it relies on Qt WebKit features quite intensely, so a few
godawful hacks were necessary to make it work. Most of those are needed
to workaround restrictions of QWebChannel as bridge to the browser page.
We gain:
+ Independence from WebKit
+ Support for newer JS and HTML features in scripts
We lose:
- Performance (especially memory use)
- Independence from WebEngine
- Sanity
TEST PLAN
Tested the detailed memory info pages on a few processes, info is
correct and the page seems to work fully.
REPOSITORY
R111 KSysguard Library
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D15209
AFFECTED FILES
CMakeLists.txt
config-ksysguard.h.cmake
processui/CMakeLists.txt
processui/scripting.cpp
processui/scripting.h
To: fvogt, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, \
abetts, sebas, apol, mart
[Attachment #3 (text/html)]
<table><tr><td style="">fvogt created this revision.<br />fvogt added a reviewer: \
Plasma.<br />Herald added a project: Plasma.<br />fvogt requested review of this \
revision. </td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; \
float: right; color: #464C5C; font-weight: bold; border-radius: 3px; \
background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); \
display: inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D15209">View Revision</a></tr></table><br \
/><div><strong>REVISION SUMMARY</strong><div><p>Unfortunately it relies on Qt WebKit \
features quite intensely, so a few<br /> godawful hacks were necessary to make it \
work. Most of those are needed<br /> to workaround restrictions of QWebChannel as \
bridge to the browser page.</p>
<p>We gain:<br />
+ Independence from WebKit<br />
+ Support for newer JS and HTML features in scripts</p>
<p>We lose:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Performance (especially memory use)</li>
<li class="remarkup-list-item">Independence from WebEngine</li>
<li class="remarkup-list-item">Sanity</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested the detailed \
memory info pages on a few processes, info is<br /> correct and the page seems to \
work fully.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R111 \
KSysguard Library</div></div></div><br \
/><div><strong>BRANCH</strong><div><div>master</div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D15209">https://phabricator.kde.org/D15209</a></div></div><br \
/><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br /> \
config-ksysguard.h.cmake<br /> processui/CMakeLists.txt<br />
processui/scripting.cpp<br />
processui/scripting.h</div></div></div><br /><div><strong>To: </strong>fvogt, \
Plasma<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, \
ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic