D20640: WIP: [scripting] Port to QJSEngine

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added a comment.


  Current status:
  
  callDBus is still not ported. I have the following list of potential ways how to do it:
  
  - Forward `arguments` to C++ implementation where the arguments will parsed and validated (similar to what we have in QScriptEngine implementation);
  - In addition to 4 required arguments, specify N optional QVariant arguments;
  - Expose DBusCall to QJSVariant, so we could wrap callDBus around DBusCall.
  
  In all three cases I'm worried about reply arguments, e.g. if there is any QDBusVariant reply argument, we have to unwrap it.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D20640

To: zzag
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.