CantorProject
ActivePublic

Details

Description

Cantor

Cantor is a KDE Application aimed to provide a nice Interface for doing Mathematics and Scientific Computing. It doesn't implement its own Computation Logic, but instead is built around different Backends.

More information in Cantor's website.

Available Backends

For Developers

Recent Activity

Yesterday

sirgienko updated the diff for D15971: Add support for result removing, when there are multiple results..

Rewrite the patch according new @asemke changes

Sun, Oct 14, 8:23 PM · KDE Edu, Cantor

Sat, Oct 13

asemke closed D16174: Fixed the handling of plot images for python.
Sat, Oct 13, 10:03 AM · Cantor, KDE Edu
sirgienko accepted D16174: Fixed the handling of plot images for python.
Sat, Oct 13, 9:58 AM · Cantor, KDE Edu
asemke updated the diff for D16174: Fixed the handling of plot images for python.

Replaced setResult by addResult in PythonExpression::imageChanged().

Sat, Oct 13, 9:57 AM · Cantor, KDE Edu
asemke updated the diff for D16174: Fixed the handling of plot images for python.
Sat, Oct 13, 8:16 AM · Cantor, KDE Edu
asemke requested review of D16174: Fixed the handling of plot images for python.
Sat, Oct 13, 8:08 AM · Cantor, KDE Edu

Thu, Oct 11

filipesaraiva renamed T6110: Port backends to Q/KProcess from Port backends to Q/KProcess - Google Summer of Code 2017 to Port backends to Q/KProcess.
Thu, Oct 11, 10:17 PM · Cantor

Fri, Oct 5

sirgienko added a comment to D15971: Add support for result removing, when there are multiple results..

This resulting code looks ugly, so @asemke, @filipesaraiva I am open to suggestions.

Fri, Oct 5, 5:45 PM · KDE Edu, Cantor
sirgienko requested review of D15971: Add support for result removing, when there are multiple results..
Fri, Oct 5, 5:42 PM · KDE Edu, Cantor

Thu, Oct 4

sirgienko closed D15906: Fix almost broken maxima plot:.
Thu, Oct 4, 9:09 PM · KDE Edu, Cantor
asemke accepted D15906: Fix almost broken maxima plot:.
Thu, Oct 4, 9:07 PM · KDE Edu, Cantor
sirgienko updated the diff for D15906: Fix almost broken maxima plot:.

Comment's changes and some small text fixes

Thu, Oct 4, 9:04 PM · KDE Edu, Cantor

Wed, Oct 3

sirgienko added a comment to T9512: Port Python 3 backend to KSyntaxHighlighting.

In 610f8c8ec70b4b52a3f4487c3348b87b66a0b85f I have added autocompletion by native Python autocompletion.
It's work for variables, functions, modules, even for class methods and fields.

Wed, Oct 3, 8:46 PM · Cantor

Tue, Oct 2

sirgienko updated the diff for D15906: Fix almost broken maxima plot:.

Add support for latex typesetting

Tue, Oct 2, 8:10 PM · KDE Edu, Cantor
sirgienko requested review of D15906: Fix almost broken maxima plot:.
Tue, Oct 2, 7:46 PM · KDE Edu, Cantor

Sat, Sep 29

sirgienko added inline comments to D15841: Massive octave session and expression refactoring.
Sat, Sep 29, 9:40 PM · Cantor, KDE Edu
sirgienko requested review of D15841: Massive octave session and expression refactoring.
Sat, Sep 29, 9:35 PM · Cantor, KDE Edu

Sep 15 2018

sirgienko closed D15487: Improve command entry's prompt animation.
Sep 15 2018, 7:36 AM · KDE Edu, Cantor
asemke accepted D15487: Improve command entry's prompt animation.
Sep 15 2018, 7:29 AM · KDE Edu, Cantor
asemke added a comment to D15487: Improve command entry's prompt animation.

well done!

Sep 15 2018, 7:29 AM · KDE Edu, Cantor

Sep 13 2018

sirgienko updated the diff for D15487: Improve command entry's prompt animation.

Don't start prompt animation, if user disable animations at all.

Sep 13 2018, 8:14 PM · KDE Edu, Cantor
sirgienko requested review of D15487: Improve command entry's prompt animation.
Sep 13 2018, 8:13 PM · KDE Edu, Cantor

Sep 7 2018

sirgienko added a comment to T5382: Port worksheet syntax highlighting to KSyntaxHighlighting.

For now it is not possible, so that is ok. Maybe we can to open some tasks in backlog column while there are not syntax definitions for it in KSyntaxHighlight.

Or we could create syntax datafile and send pull request. A think, we should mention this option in the tasks. I have spended some time on testing highlighting in this backends - they in good condition, so I think rewriting them on KSyntaxHighlighting is not very priority task (and not very easy: qalqulate use own block highlighting function and kalgebra use highlighter from analitza gui). So, wishlist priority, maybe.

Sep 7 2018, 9:39 PM · Cantor
filipesaraiva placed T5382: Port worksheet syntax highlighting to KSyntaxHighlighting up for grabs.

Well, good job, guys!

Sep 7 2018, 9:23 PM · Cantor
sirgienko added a comment to T9564: Port Sage backend to KSyntaxHighlighting.

Sage support also another languages, not Python only, as I know. Should we add them highlighting too, or it's impossible?

Hi @sirgienko, I think it is possible because Sage uses R and Maxima (among others) as well, but I don't know if it uses the entire set of keywords/functions/etc of these languages or just a small subset.

Do you have any knowledge about this topic? In fact I am not a Sage user.

Sep 7 2018, 9:21 PM · Cantor
filipesaraiva added a comment to T9564: Port Sage backend to KSyntaxHighlighting.

Sage support also another languages, not Python only, as I know. Should we add them highlighting too, or it's impossible?

Sep 7 2018, 9:15 PM · Cantor
filipesaraiva moved T9565: Port Julia backend to KSyntaxHighlighting from To-Do to Done on the Cantor board.
Sep 7 2018, 9:12 PM · Cantor
sirgienko added a comment to T5382: Port worksheet syntax highlighting to KSyntaxHighlighting.

Well, good job, guys!
But, that we will do with Qalculate and Kalgebra backends? They haven't syntax file, as I see (but we don's support this backends very well, so maybe we could leave it as it is.
And another question: Are we will use KSyntaxHighlighting for the highlighting?
For example, we could use AbstractHighlighter::highlightLine from KSyntaxHighlighting inside DefaultHighlighter, especially in our DefaultHighlighter::highlightBlock function. In this case, hgihtlighting code supported from KSyntaxHighlighting team and we also fix one of our highlighting problem: we can't highlight multiline elements, like multiline strings, comments, etc. (actually, some backends highlighter do multiline hightlighting (MaximaHighlighter::highlightBlock, ScilabHighlighter::highlightBlock, some others backends), but DefaultHighlighter can't do it)

Sep 7 2018, 8:37 PM · Cantor
sirgienko closed T9565: Port Julia backend to KSyntaxHighlighting, a subtask of T5382: Port worksheet syntax highlighting to KSyntaxHighlighting, as Resolved.
Sep 7 2018, 8:04 PM · Cantor
sirgienko closed T9565: Port Julia backend to KSyntaxHighlighting as Resolved.
Sep 7 2018, 8:04 PM · Cantor
sirgienko added a comment to T9564: Port Sage backend to KSyntaxHighlighting.

Hi, @filipesaraiva. I have checked your commit(R55:3798dfc44d824b8437bbfd91d047978a833f24ec) and found, that SageHighlighter uses Python keywords.
Sage support also another languages, not Python only, as I know. Should we add them highlighting too, or it's impossible?

Sep 7 2018, 7:12 PM · Cantor
filipesaraiva closed T9564: Port Sage backend to KSyntaxHighlighting as Resolved by committing R55:3798dfc44d82: Port the syntax highlighting for Sage backend to KSyntaxHighlighting….
Sep 7 2018, 2:18 PM · Cantor
filipesaraiva closed T9564: Port Sage backend to KSyntaxHighlighting, a subtask of T5382: Port worksheet syntax highlighting to KSyntaxHighlighting, as Resolved.
Sep 7 2018, 2:18 PM · Cantor
filipesaraiva moved T9564: Port Sage backend to KSyntaxHighlighting from Work in Progress to Done on the Cantor board.
Sep 7 2018, 2:16 PM · Cantor
filipesaraiva moved T9564: Port Sage backend to KSyntaxHighlighting from To-Do to Work in Progress on the Cantor board.
Sep 7 2018, 12:43 PM · Cantor
filipesaraiva moved T9563: Port Lua backend to KSyntaxHighlighting from To-Do to Done on the Cantor board.
Sep 7 2018, 12:43 PM · Cantor

Sep 6 2018

sirgienko claimed T9565: Port Julia backend to KSyntaxHighlighting.
Sep 6 2018, 8:36 PM · Cantor
sirgienko closed T9563: Port Lua backend to KSyntaxHighlighting, a subtask of T5382: Port worksheet syntax highlighting to KSyntaxHighlighting, as Resolved.
Sep 6 2018, 8:36 PM · Cantor
sirgienko closed T9563: Port Lua backend to KSyntaxHighlighting as Resolved.
Sep 6 2018, 8:36 PM · Cantor

Sep 4 2018

sirgienko claimed T9563: Port Lua backend to KSyntaxHighlighting.
Sep 4 2018, 8:59 PM · Cantor
sirgienko added a comment to T6110: Port backends to Q/KProcess.

@filipesaraiva, GSoC'2017 ended, but this task is still important, so maybe better remove info about GSoC and use the describtion from GSoC task (The main aim of this project...)?

Sep 4 2018, 8:58 PM · Cantor
sirgienko added a comment to T7167: Port Python 3 backend to Python/C API.

Hi @filipesaraiva
As I see, python backends in this moment works on Python C API (pythonserver.cpp).
So, as I see, this task is duplicate of T6114, isn't it?

Sep 4 2018, 8:54 PM · Cantor
sirgienko closed T9514: Port Octave backend to KSyntaxHighlighting, a subtask of T5382: Port worksheet syntax highlighting to KSyntaxHighlighting, as Resolved.
Sep 4 2018, 2:48 PM · Cantor
sirgienko closed T9514: Port Octave backend to KSyntaxHighlighting as Resolved.

Finish this task by c44304870127ffea8f6191b44699bccbfce5a90c

Sep 4 2018, 2:48 PM · Cantor
sirgienko added a comment to T9512: Port Python 3 backend to KSyntaxHighlighting.

But maybe more simple way is using native autocompletion tools from Python itself. Like we do it in Octave (octavecompletionobject.cpp::35).

Sep 4 2018, 10:41 AM · Cantor
sirgienko added a comment to T9512: Port Python 3 backend to KSyntaxHighlighting.

As variant, we could use variable model: it alreay stored variable names, unique for each session, and we have api to acess to it from Cantor::Session.

Sep 4 2018, 10:00 AM · Cantor
filipesaraiva added a comment to T9512: Port Python 3 backend to KSyntaxHighlighting.

Removed after R55:22fd4479ab02.

Sep 4 2018, 9:57 AM · Cantor
filipesaraiva added a comment to T9512: Port Python 3 backend to KSyntaxHighlighting.

Thanks @sirgienko. When I ported to KSyntaxHighlighting the tab completion stopped to work for variables.

Sep 4 2018, 9:52 AM · Cantor
sirgienko added a comment to T9512: Port Python 3 backend to KSyntaxHighlighting.

Hi, @fililesaraiva.

PythonKeywords::instance()->addVariable(variable);
}

don't good idea, because in this case we store all variables from all Python session in singliton PythonKeywords.
I think, keywords classes should store only session independent data, in our case, from KSyntaxHigligting

Sep 4 2018, 6:36 AM · Cantor
filipesaraiva closed T9511: Port Python 2 backend to KSyntaxHighlighting, a subtask of T5382: Port worksheet syntax highlighting to KSyntaxHighlighting, as Resolved.
Sep 4 2018, 2:06 AM · Cantor