https://bugs.kde.org/show_bug.cgi?id=465277
Alexander Semke <alexander.se...@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/educ |https://invent.kde.org/educ |ation/cantor/commit/5484889 |ation/cantor/commit/872008a |e50b28b95ce468a1fbeb1854e87 |2ca0a983adb49141dd7e866f549 |da6dde |658176 --- Comment #6 from Alexander Semke <alexander.se...@web.de> --- Git commit 872008a2ca0a983adb49141dd7e866f549658176 by Alexander Semke. Committed on 29/03/2023 at 06:26. Pushed by asemke into branch 'release/23.04'. Squash commit of multiple fixes that need to go into 23.04. [tests] make initTestCase() in the base class a slot so it's properly found by QtTest and skip two tests in Maxima and Python that are failing on CI right now, will be activated once the underlying issue is fixed. [tests] skip testInterrupt for python. [lua] refactored and fixed the parsing of LuaJIT's output. The current implementation doesn't work at all, the output of LuaJIT doesn't fit to the parsing logic (anymore) that was implemented initially. The refactored code works and handles also multi-line commands where the tests were deactivated earlier for. More testing and more investment is still probably required to cover more code syntax in Lua/LuaJIT. This commit makes the lua backend in Cantor working now first, more improvements will come later. Related: bug 461135 FIXED-IN: 23.03 [maxima] always trim the command string and remove line breaks and not only for plot commands so we get one single response in stdout from Maxima instead of multiple outputs that we only partially handle. This addresses multiple issues with multi-line commands with $ and ; endings. FIXED-IN: 23.03 Added changes that were forgotten in the previous two commits. When using cantor in labplot, connectToShell() is called after widget() inDocumentationPanelWidget. We need to add one more connect in connectToShell() so the actions are also working in labplot. [octave] evaluate the option "integrate plots" on every expression execution and not only during the login so the user doesn't need to restart Cantor if the options is being changed. Previously, this option was evaluate at the very beginning and send to Octave via set (0, "defaultfigurevisible","off") during the login. In this commit we switch to figure('visible','on') and figure('visible','off') that are prepended to every expression containing plot commands. Also, we set the recommended version of Octave to 7.2 which is available for one year already. [octave] restored the slot OctaveSession::processError() that was deleted in the previous commit. M +1 -1 src/backends/lua/luabackend.cpp M +17 -4 src/backends/lua/luaexpression.cpp M +31 -107 src/backends/lua/luasession.cpp M +10 -16 src/backends/lua/luasession.h M +64 -29 src/backends/lua/testlua.cpp M +2 -6 src/backends/lua/testlua.h M +10 -10 src/backends/maxima/maximaexpression.cpp M +1 -1 src/backends/maxima/maximasession.cpp M +57 -16 src/backends/maxima/testmaxima.cpp M +6 -2 src/backends/maxima/testmaxima.h M +1 -1 src/backends/octave/octavebackend.cpp M +13 -4 src/backends/octave/octaveexpression.cpp M +45 -65 src/backends/octave/octavesession.cpp M +5 -8 src/backends/octave/octavesession.h M +4 -4 src/backends/python/testpython.cpp M +3 -1 src/lib/test/backendtest.h M +6 -1 src/panelplugins/documentationpanel/documentationpanelplugin.cpp https://invent.kde.org/education/cantor/commit/872008a2ca0a983adb49141dd7e866f549658176 -- You are receiving this mail because: You are watching all bug changes.