D11792: Fix lua backend, which ignored first running entry

Nikita Sirgienko noreply at phabricator.kde.org
Thu Mar 29 20:57:02 UTC 2018


sirgienko created this revision.
sirgienko added a reviewer: Cantor.
sirgienko added a project: Cantor.
Restricted Application added a subscriber: KDE Edu.
Restricted Application added a project: KDE Edu.
sirgienko requested review of this revision.

REVISION SUMMARY
  Before, lua backend was launched with worksheet loading and have time for parsing lua start information (`Lua 5.2.4  Copyright (C) 1994-2015 Lua.org, PUC-Rio`). But now, first command go to lua, before start information parsing and this leads, that output of this command erroneously be removed. So I have move `loginDone` after end of lua start information parsing.

TEST PLAN
  1. Run lua backend without patch and check, that first runned entry haven't output result.
  2. Apply patch
  3. Check, that now first runned entry have output result.

REPOSITORY
  R55 Cantor

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

AFFECTED FILES
  src/backends/lua/luasession.cpp

To: sirgienko, #cantor
Cc: #cantor, #kde_edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180329/bd0efdde/attachment.html>


More information about the kde-edu mailing list