asemke (Alexander Semke)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Dec 31 2015, 9:47 AM (120 w, 6 d)
Availability
Available

Recent Activity

Today

asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

The problem was in LuaSession::readOutput(). The patch

handles the outputs correctly. @sirgienko Does it also work for you?

No, output have changed, but still have problems:


But last two commands work fine.

I cannot reproduce this with my third patch. Can you paste here your debug output for this example?

Thu, Apr 26, 6:23 AM · Cantor, KDE Edu

Yesterday

asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

This all looks a bit strange...

The problem was in LuaSession::readOutput(). The patch


handles the outputs correctly. @sirgienko Does it also work for you?

Wed, Apr 25, 8:59 PM · Cantor, KDE Edu
asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

Well, I have worked a lot of time with Octave, Maxima and few times with Python 2, Python 3, Lua, Julia. I have this problem only with lua.

Wed, Apr 25, 8:25 PM · Cantor, KDE Edu
asemke committed R262:9b5b524c01a7: 1. allow to resize the comment text field in the spreadsheet dock to place… (authored by asemke).
1. allow to resize the comment text field in the spreadsheet dock to place…
Wed, Apr 25, 6:57 PM
asemke committed R262:fe41068b9c11: Fixes for clazy warnings, part 3. (authored by asemke).
Fixes for clazy warnings, part 3.
Wed, Apr 25, 6:08 AM

Mon, Apr 23

asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

Did you test with 'Reevaluate Entries automatically' option? Without this option all works fine, but with the option I often have something like this:

final command to be executed  "function bar(a, b, c)\n  print(a, b, c)\n  return 4, 8, 15, 16, 23, 42\nend\n\nx, y = bar('zaphod')  --> prints \"zaphod  nil nil\"\n" 

QSizeF(1131, 157) QSizeF(1131, 126)
parsing the output  "function fib(n)\n>>   if n < 2 then return 1 end\n>>   return fib(n - 2) + fib(n - 1)\n>> end\n> \n> -- Closures and anonymous functions are ok:\n> function adder(x)\n>>   -- The returned function is created when adder is\n>>   -- called, and remembers the value of x:\n>>   return function (y) return x + y end\n>> end\n> a1 = adder(9)\n> a2 = adder(36)\n> print(a1(16))  --> 25\n25\n> print(a2(64))  --> 100\n100\n> function bar(a, b, c)\n>>   print(a, b, c)\n>>   return 4, 8, 15, 16, 23, 42\n>> end\n> \n> x, y = bar('zaphod')  --> prints \"zaphod  nil nil\"\nzaphod\tnil\tnil\n> "
final output of the command  "function bar(a, b, c)\n  print(a, b, c)\n  return 4, 8, 15, 16, 23, 42\nend\n\nx, y = bar('zaphod')  --> prints \"zaphod  nil nil\"" :  "function fib(n)\nif n < 2 then return 1 end\nreturn fib(n - 2) + fib(n - 1)\n-- Closures and anonymous functions are ok:\nfunction adder(x)\n-- The returned function is created when adder is\n-- called, and remembers the value of x:\nreturn function (y) return x + y end\na1 = adder(9)\na2 = adder(36)\nprint(a1(16))  --> 25\n25\nprint(a2(64))  --> 100\n100\nzaphod\tnil\tnil" 

settting result to a type  1  result
update Entry
new result
wsStatusChange 1
Mon, Apr 23, 7:49 PM · Cantor, KDE Edu
asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

Well, it's better, but we still have problems:
[...]

Mon, Apr 23, 6:46 PM · Cantor, KDE Edu

Sun, Apr 22

asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

Input in outputs maybe appears like '> {input}\n' or '>> {input}\n' or '{input}\n', so this

for (const auto input : inputs)
    output.remove(input + QLatin1Char('\n'));

don't catch all input strings in output.

Sun, Apr 22, 7:32 PM · Cantor, KDE Edu
asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

Not sure, that I have understood, that you mean. Output from lua can comes at different times and in parts, so we don't know, when lua ends, without counting input commands in output

Sun, Apr 22, 5:38 PM · Cantor, KDE Edu
asemke committed R55:bbc7f4f31675: Show error message in case the user tries to open a non valid Cantor project… (authored by asemke).
Show error message in case the user tries to open a non valid Cantor project…
Sun, Apr 22, 5:21 PM
asemke committed R262:a23a99c14446: Correctly position the grab bar in the ResizableTextEdit on the initial load. (authored by asemke).
Correctly position the grab bar in the ResizableTextEdit on the initial load.
Sun, Apr 22, 1:19 PM
asemke added a comment to D12074: Solve problem of appearance input of interpreter in interpreter's output in Lua backend.

@asemke, Could you test it? I think I have solved this problem.

Yes, it works. But the implementation seems to be a bit complicated. Wouldn't be easier to simply split the output of lua with QString::split('\n') and QString::split('>') and to remove the input commands from the obtained QStringList?

Sun, Apr 22, 1:01 PM · Cantor, KDE Edu
asemke accepted D12354: Fix segfault in key settings menu when worksheet not open.

@sirgienko I think you have already a KDE account, right? So, you can push the patches after the code review. Thanks.

Sun, Apr 22, 9:36 AM · KDE Edu, Cantor
asemke committed R262:47010f2d490a: Trace out the error message in case the connection to local, TCP and UDP… (authored by asemke).
Trace out the error message in case the connection to local, TCP and UDP…
Sun, Apr 22, 8:41 AM

Sat, Apr 21

asemke committed R262:5256da09dc22: Fixes for clazy warnings, part 2. (authored by asemke).
Fixes for clazy warnings, part 2.
Sat, Apr 21, 8:23 PM
asemke committed R262:47ffc57d49fb: Fixed couple of unneeded string allocations. (authored by asemke).
Fixed couple of unneeded string allocations.
Sat, Apr 21, 10:06 AM
asemke committed R262:99b4eb5e701a: Fixed couple of issues reported by clazy. (authored by asemke).
Fixed couple of issues reported by clazy.
Sat, Apr 21, 9:42 AM
asemke updated the task description for T6329: Release 2.5.
Sat, Apr 21, 9:35 AM · LabPlot

Thu, Apr 19

asemke triaged T8559: Improve the plot data dialog as Normal priority.
Thu, Apr 19, 4:16 PM · LabPlot
asemke committed R262:cc417a3f542c: Added some logic to the plot data dialog to automatically recognize the… (authored by asemke).
Added some logic to the plot data dialog to automatically recognize the…
Thu, Apr 19, 7:21 AM

Tue, Apr 17

asemke committed R262:386e4b102cb7: Correctly evaluate the current locale when doing data entry in the spreadsheet. (authored by asemke).
Correctly evaluate the current locale when doing data entry in the spreadsheet.
Tue, Apr 17, 4:16 PM

Mon, Apr 16

asemke committed R262:6d75dc81d89e: Don't show the wait cursor in XYCurve::retransorf if panning is active in the… (authored by asemke).
Don't show the wait cursor in XYCurve::retransorf if panning is active in the…
Mon, Apr 16, 8:11 PM
asemke committed R262:f5534bab16bc: 1. avoid dynamic casts during retransforms in XYCurve by initializing the… (authored by asemke).
1. avoid dynamic casts during retransforms in XYCurve by initializing the…
Mon, Apr 16, 7:42 PM
asemke committed R262:8d098ee2dabb: [Origin import] read axis scale. (authored by asemke).
[Origin import] read axis scale.
Mon, Apr 16, 4:33 PM

Sun, Apr 15

asemke committed R262:d8f89d27d057: Consistenly use nullptr keyword in Worksheet.cpp. (authored by asemke).
Consistenly use nullptr keyword in Worksheet.cpp.
Sun, Apr 15, 8:43 PM
asemke committed R262:cf521bba2a62: [Origin import] read axis grid properties. (authored by asemke).
[Origin import] read axis grid properties.
Sun, Apr 15, 8:39 PM
asemke committed R262:455e146560f5: Don't change the cursor shape in XYCurve::retransform() if the retransform is… (authored by asemke).
Don't change the cursor shape in XYCurve::retransform() if the retransform is…
Sun, Apr 15, 8:29 PM
asemke committed R262:c1fc99a6e557: [Origin import] read the number of ticks. (authored by asemke).
[Origin import] read the number of ticks.
Sun, Apr 15, 7:24 PM
asemke committed R262:1db79013c157: [Origin import] put the legend to the lower bottom corner of the plot. (authored by asemke).
[Origin import] put the legend to the lower bottom corner of the plot.
Sun, Apr 15, 6:48 PM
asemke committed R262:a8d0257a3bfe: In ResizableTextEdit propagate the resizeEvent to the base class. (authored by asemke).
In ResizableTextEdit propagate the resizeEvent to the base class.
Sun, Apr 15, 5:52 PM
asemke committed R262:1cacf9f095b5: Added ResizableTextEdit. (authored by asemke).
Added ResizableTextEdit.
Sun, Apr 15, 4:24 PM

Sat, Apr 14

asemke committed R262:bab060c0d652: Remove duplicates in the list of automatically recognized fit parameters. (authored by asemke).
Remove duplicates in the list of automatically recognized fit parameters.
Sat, Apr 14, 6:12 AM

Wed, Apr 11

asemke committed R55:a233f452fd29: Fix incorrect regexs for string in backend highlighters (authored by sirgienko).
Fix incorrect regexs for string in backend highlighters
Wed, Apr 11, 8:05 PM
asemke committed R55:427c95cb1179: Fix incorrect regexs for string in backend highlighters (authored by sirgienko).
Fix incorrect regexs for string in backend highlighters
Wed, Apr 11, 8:03 PM
asemke closed D12052: Fix incorrect regexs for string in backend highlighters.
Wed, Apr 11, 8:03 PM · Cantor, KDE Edu
asemke added a comment to D12052: Fix incorrect regexs for string in backend highlighters.

I don't exactly understand the problem you're trying to fix. Octave session for me without your patch:


What exactly is wrong here?

Commas not a part of string, but highlighter as string. It's wrong, isn't it?

Sorry, I over looked the highlighted commas. Your patch is ok.

Wed, Apr 11, 8:01 PM · Cantor, KDE Edu
asemke added a comment to D12052: Fix incorrect regexs for string in backend highlighters.

@asemke, Should I try to get KDE Devlepoer account to send directly to repository such minor changes, like this?
Or you accepting small patches like this don't problem for you?

You showed already a lot of interest in Cantor and good understanding of the code and architecture. If you plan to further contribute here it makes sense to apply for a KDE account. But let's maybe still go via the review process at the beginning. Don't push directly without a review. Even small fixes can cause big troubles. Doing review for small patches is ok for me, don't worry about this.

Wed, Apr 11, 7:34 PM · Cantor, KDE Edu
asemke added a comment to D12052: Fix incorrect regexs for string in backend highlighters.

I don't exactly understand the problem you're trying to fix. Octave session for me without your patch:


What exactly is wrong here?

Wed, Apr 11, 7:24 PM · Cantor, KDE Edu

Mon, Apr 9

asemke committed R55:7d4bbbb9d3d1: Fixed missing latex typesetting. (authored by asemke).
Fixed missing latex typesetting.
Mon, Apr 9, 6:56 AM
asemke committed R55:172ad5b94ec4: Added some debug output to measure the time it took to load a saved worksheet. (authored by asemke).
Added some debug output to measure the time it took to load a saved worksheet.
Mon, Apr 9, 6:38 AM

Sun, Apr 8

asemke added a comment to D11791: Add unit tests for lua backends.

Just a example of appearens input in output (i don't want add image in patch summary).

Sun, Apr 8, 3:54 PM · KDE Edu, Cantor
asemke committed R55:6fc34b4110cf: Add parsing errors in lua backend (authored by sirgienko).
Add parsing errors in lua backend
Sun, Apr 8, 3:45 PM
asemke closed D11963: Add parsing errors in lua backend.
Sun, Apr 8, 3:45 PM · Cantor, KDE Edu
asemke committed R55:01c09c55c0da: Small improving of order of logic operators in evaluateNext (authored by sirgienko).
Small improving of order of logic operators in evaluateNext
Sun, Apr 8, 3:10 PM
asemke closed D12018: Small improving of order of logic operators in evaluateNext.
Sun, Apr 8, 3:10 PM · Cantor, KDE Edu
asemke accepted D12018: Small improving of order of logic operators in evaluateNext.
Sun, Apr 8, 3:09 PM · Cantor, KDE Edu
asemke committed R55:332ad9c79771: Show waiting cursor while openning a project. (authored by asemke).
Show waiting cursor while openning a project.
Sun, Apr 8, 3:04 PM
asemke committed R55:16819f289de9: Fix bad performance for `addRules` in `DefaultHighlighter` for big containers (authored by sirgienko).
Fix bad performance for `addRules` in `DefaultHighlighter` for big containers
Sun, Apr 8, 3:03 PM
asemke closed D11992: Fix bad performance for `addRules` in `DefaultHighlighter` for big containers.
Sun, Apr 8, 3:02 PM · KDE Edu, Cantor
asemke accepted D11992: Fix bad performance for `addRules` in `DefaultHighlighter` for big containers.
Sun, Apr 8, 3:00 PM · KDE Edu, Cantor
asemke added a comment to D11992: Fix bad performance for `addRules` in `DefaultHighlighter` for big containers.

Your diff seems to be wrong. Looks like you calculated the diff between the current version and the temporary version you had before with m_supressRuleChangedSignal. Can you please upload the corrected diff?

Sun, Apr 8, 1:59 PM · KDE Edu, Cantor

Sat, Apr 7

asemke committed R55:0b384f36b390: [Octave] added couple of missing 2d plot commands. (authored by asemke).
[Octave] added couple of missing 2d plot commands.
Sat, Apr 7, 6:27 PM
asemke committed R55:ee5c8b44625f: [Octave] add couple of more 3d plot commands. (authored by asemke).
[Octave] add couple of more 3d plot commands.
Sat, Apr 7, 5:59 PM
asemke committed R55:91d19b2b9024: Add forgotten print command `plot3` to octavebackend print commands. (authored by sirgienko).
Add forgotten print command `plot3` to octavebackend print commands.
Sat, Apr 7, 5:31 PM
asemke closed D12022: Add forgotten print command `plot3` to octavebackend print commands..
Sat, Apr 7, 5:31 PM · KDE Edu, Cantor
asemke accepted D12022: Add forgotten print command `plot3` to octavebackend print commands..
Sat, Apr 7, 5:29 PM · KDE Edu, Cantor
asemke committed R55:b66476a743ac: Added couple of missing variable initialisations and override keywords. (authored by asemke).
Added couple of missing variable initialisations and override keywords.
Sat, Apr 7, 10:05 AM
asemke added a comment to D11992: Fix bad performance for `addRules` in `DefaultHighlighter` for big containers.

I agree, that we should simplify this templates methods to not template functions, which acepting QStringList. Should I add it to this diff?

Yes, please. Let's do the clean-up here in the same diff.

Sat, Apr 7, 10:00 AM · KDE Edu, Cantor
asemke added a comment to D11992: Fix bad performance for `addRules` in `DefaultHighlighter` for big containers.

Can we try to implement this with a boolean paramer m_suppressRuleChangedSignal instead of adding new functions? In addRules() we set m_suppressRuleChangedSignal = true and use in addRule()

if (!m_supressRuleChangedSignal)
     emit rulesChanged();

The code will be more compact and clean with this. Also, this would be similar to the convention we use in LabPlot.

Done

Sat, Apr 7, 10:00 AM · KDE Edu, Cantor
asemke committed R262:99f7a4a59206: Updated INSTALL instructions for LabPlot2 (authored by asemke).
Updated INSTALL instructions for LabPlot2
Sat, Apr 7, 8:52 AM
asemke closed D9440: Updated INSTALL instructions for LabPlot2.
Sat, Apr 7, 8:52 AM · KDE Edu, LabPlot
asemke edited Description on LabPlot.
Sat, Apr 7, 8:37 AM
asemke added a comment to D11992: Fix bad performance for `addRules` in `DefaultHighlighter` for big containers.

Can we try to implement this with a boolean paramer m_suppressRuleChangedSignal instead of adding new functions? In addRules() we set m_suppressRuleChangedSignal = true and use in addRule()

Sat, Apr 7, 8:35 AM · KDE Edu, Cantor
asemke committed R55:0ae001103e0a: Add amsmath package to LaTeX template (authored by sirgienko).
Add amsmath package to LaTeX template
Sat, Apr 7, 6:56 AM
asemke closed D11994: Add amsmath package to LaTeX template.
Sat, Apr 7, 6:56 AM · Cantor, KDE Edu
asemke accepted D11994: Add amsmath package to LaTeX template.
Sat, Apr 7, 6:55 AM · Cantor, KDE Edu
asemke committed R55:00fffbe1ce1d: Remove then branch of always false condition (authored by sirgienko).
Remove then branch of always false condition
Sat, Apr 7, 6:54 AM
asemke closed D11965: Remove then branch of always false condition.
Sat, Apr 7, 6:54 AM · KDE Edu, Cantor
asemke accepted D11965: Remove then branch of always false condition.
Sat, Apr 7, 6:53 AM · KDE Edu, Cantor
asemke abandoned D11967: Fix Latex typesetting.

Submitted in a0597aedc989ccc67dd6a2c39f32767df766a671.

Sat, Apr 7, 6:52 AM · KDE Edu, Cantor
asemke committed R55:a0597aedc989: Fixed missing latex typesetting. (authored by asemke).
Fixed missing latex typesetting.
Sat, Apr 7, 6:52 AM

Fri, Apr 6

asemke added a comment to D11967: Fix Latex typesetting.

@asemke, Could you please add aacid changes to your diff?

Done.

Fri, Apr 6, 6:07 PM · KDE Edu, Cantor
asemke updated the diff for D11967: Fix Latex typesetting.
Fri, Apr 6, 6:05 PM · KDE Edu, Cantor
asemke updated the diff for D11967: Fix Latex typesetting.
Fri, Apr 6, 8:05 AM · KDE Edu, Cantor
asemke added a comment to D11967: Fix Latex typesetting.

About the add_definitions you should not need it, the generated
src/lib/config-cantorlib.h
already has that define, just make sure you include that file wherever you need it.

I don't see any includes for config-cantrolib.h in the code. Maybe this is added somewhere on the cmake-level. Some parts of the current code are aware of the definition of WITH_EPS, e.g. Expression::setResult(). Some other parts like Worksheet:: loginToSession() don't "see" this variable and require now either that include you mentioned or a preprocessor definition. Since #ifdef WITH_EPS is used in several different places in Cantor's code it will take some time now to test all those places. Given the current timeline/deadline for 18.04 I'd rather go with a preprocessor definition via add_defitions() - this is safer now and also more clean and clear, at least to me, since it's straight -forward to see where it's defined.

Fri, Apr 6, 7:47 AM · KDE Edu, Cantor
asemke added a comment to D11967: Fix Latex typesetting.

hmmm, this is weird, i don't really need this, the current code works for me

MESSAGE("LibSpectre_FOUND: ${LibSpectre_FOUND}")

just after the find_package says
LibSpectre_FOUND: TRUE
here when running on a clean build dir.

But it is true that ${LIBSPECTRE_FOUND} also prints true.

This is really strange. I don't see nowhere in cantor/cmake/FindLibSpectre.cmake (not sure this file is really used by cmake) the variable LibSpectre_FOUND. Since cmake's variables are case sensitive I'd assume LIBSPECTRE_FOUND is the only correct one. Your cmake is newer than the version that I'm using. But this worked in cantor already in the past for sure, also with older versions of cmake...

Fri, Apr 6, 7:33 AM · KDE Edu, Cantor

Thu, Apr 5

asemke added a comment to D11965: Remove then branch of always false condition.

What about octave warnings? Are they written out to stderr by octave?

Thu, Apr 5, 7:14 PM · KDE Edu, Cantor
asemke committed R55:ec3d7feebc3a: Fix problems with unnesesary unsaved empty entries when load worksheet from file (authored by sirgienko).
Fix problems with unnesesary unsaved empty entries when load worksheet from file
Thu, Apr 5, 6:26 PM
asemke committed R55:fbdae139559c: Don't crash when openning a saved octave worksheet in an already open but empty… (authored by asemke).
Don't crash when openning a saved octave worksheet in an already open but empty…
Thu, Apr 5, 6:26 PM
asemke committed R55:80584a45aedf: When extracting images from the project file, don't try to copy the image file… (authored by asemke).
When extracting images from the project file, don't try to copy the image file…
Thu, Apr 5, 6:25 PM
asemke committed R55:a1d241d2d5bb: Fix problems with unnesesary unsaved empty entries when load worksheet from file (authored by sirgienko).
Fix problems with unnesesary unsaved empty entries when load worksheet from file
Thu, Apr 5, 5:55 PM
asemke closed D11962: Fix problems with unnesesary unsaved empty entries when load worksheet from file.
Thu, Apr 5, 5:55 PM · KDE Edu, Cantor
asemke added a reviewer for D11967: Fix Latex typesetting: filipesaraiva.
Thu, Apr 5, 5:30 PM · KDE Edu, Cantor
asemke requested review of D11967: Fix Latex typesetting.
Thu, Apr 5, 5:29 PM · KDE Edu, Cantor
asemke accepted D11962: Fix problems with unnesesary unsaved empty entries when load worksheet from file.
Thu, Apr 5, 4:21 PM · KDE Edu, Cantor
asemke added a comment to D11962: Fix problems with unnesesary unsaved empty entries when load worksheet from file.

I'd rather call appendEntry(CommandEntry::Type), etc. directly in Worksheet::load(QIODevice*) instead of going via all those append*Entry() functions - this additional indirection (one more function call)

I am not sure, that compiler don't optimize it in inline call.

The compiler will most probably inline those calls, yes.

Thu, Apr 5, 4:21 PM · KDE Edu, Cantor
asemke added a comment to D11962: Fix problems with unnesesary unsaved empty entries when load worksheet from file.

A simple

if (m_isLoadingFromFile)
    return;

in the beginning of Worksheet::appendCommandEntry() should do the same, right? With this we don't need any changes in worksheetentry.cpp and any Worksheet::isLoadingFromFile().

In Worksheet::load(QIODevice* device) we also call appendCommandEntry().

Thu, Apr 5, 3:24 PM · KDE Edu, Cantor
asemke added a comment to D11962: Fix problems with unnesesary unsaved empty entries when load worksheet from file.

A simple

Thu, Apr 5, 3:12 PM · KDE Edu, Cantor
asemke added a comment to D11626: Fix octave backend problem with repetitive addition of function `cantor_print ()` in worksheet.

@asemke, I also found problem with c3aa8b3e18d4c7be8c094a5acbd4864b09b5eb02: If we choose octave backend, but don't write anything (so login don't called) and trying to open saved octave worksheet, we get segfault, because in this case we never call OctaveSession::login (i have checked it with gdb).

This is fixed now with 2ca024892335728f48d7aa3dfc22032b39b10819. Thanks for reporting this.

Thu, Apr 5, 2:42 PM · Cantor, KDE Edu
asemke committed R55:2ca024892335: Don't crash when openning a saved octave worksheet in an already open but empty… (authored by asemke).
Don't crash when openning a saved octave worksheet in an already open but empty…
Thu, Apr 5, 2:40 PM
asemke added a comment to D11626: Fix octave backend problem with repetitive addition of function `cantor_print ()` in worksheet.

Write test worksheet and run it:


Save it and reopen:

@sirgienko From your screenshot I see that the plot image files are not loaded for you neither. I pushed a fix now in d4585fca577a2732f9f4469766ae6a4b90a1bc58. Does it also fix this problem for you?

Thu, Apr 5, 8:28 AM · Cantor, KDE Edu
asemke committed R55:d4585fca577a: When extracting images from the project file, don't try to copy the image file… (authored by asemke).
When extracting images from the project file, don't try to copy the image file…
Thu, Apr 5, 8:26 AM

Tue, Apr 3

asemke committed R262:4ee0577d182f: [Origin import] read legend background color. (authored by asemke).
[Origin import] read legend background color.
Tue, Apr 3, 8:47 PM
asemke committed R55:b6065567a679: Don't login on project load. (authored by asemke).
Don't login on project load.
Tue, Apr 3, 8:17 PM
asemke committed R55:4bf211c8586b: Fix octave backend problem with repetitive addition of function `cantor_print… (authored by sirgienko).
Fix octave backend problem with repetitive addition of function `cantor_print…
Tue, Apr 3, 8:17 PM
asemke committed R55:f67aca905512: Fix octave backend problem with repetitive addition of function `cantor_print… (authored by sirgienko).
Fix octave backend problem with repetitive addition of function `cantor_print…
Tue, Apr 3, 8:15 PM
asemke closed D11626: Fix octave backend problem with repetitive addition of function `cantor_print ()` in worksheet.
Tue, Apr 3, 8:15 PM · Cantor, KDE Edu
asemke added a comment to D11908: Hot fix for segfault in octave backend.

thanks for this finding. The login in Worksheet::load() was redundant. I removed it in c3aa8b3e18d4c7be8c094a5acbd4864b09b5eb02. Can you please also check it on your side?
.

Tue, Apr 3, 8:09 PM · Cantor, KDE Edu
asemke committed R55:c3aa8b3e18d4: Don't login on project load. (authored by asemke).
Don't login on project load.
Tue, Apr 3, 8:06 PM
asemke added a comment to D11626: Fix octave backend problem with repetitive addition of function `cantor_print ()` in worksheet.

I don't see where and when this "cantor_plot" is executed Here the debug output for me for the plot expression after i=1:2:100, w=i/10 and plot(i/10,w):
Can you please send the output you get and maybe also attach your test file?

Write test worksheet and run it:


Save it and reopen:

Oh, sorry, I was looking for cantor_plot* and not for cantor_print. Now I've got it. Your fix makes sense. But add those contains-calls into the if-statement so we don't need to call QString::contains() twice for nothing in case m_plotPending is false. Simply use

Tue, Apr 3, 7:19 AM · Cantor, KDE Edu