Feed Advanced Search

Jan 25 2019

rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

I was referring to @mwolff's comment D17289#395163.

Jan 25 2019, 6:16 AM · KDevelop
aaronpuchert added a comment to D18224: Clang Plugin: Report some problems from included files.

To some extent that problem is going to disappear as soon as concepts are more widely used. GCC ≥ 6 already supports them and I expect Clang to follow suit — there is already a prototype.

Jan 25 2019, 2:07 AM · KDevelop

Jan 24 2019

aaronpuchert added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

If you don't use systemd, for example because you're not on Linux, there are certainly other tools for doing the same thing.

How does that systemd thing clean tmp dirs at runtime, IOW, how can it know it's safe to clean up a given file if the application that created it doesn't do something explicit to guarantee cleanup?

Jan 24 2019, 11:23 PM · KDevelop
arrowd closed D15565: Fix bug 389060 (Heaptrack analysis keeps firing /usr/bin/plasmoidviewer).
Jan 24 2019, 5:25 PM · KDevelop
mwolff requested changes to D14391: Fix random order of plugin's config pages.

so, I believe we need to change some things here...

Jan 24 2019, 4:25 PM · KDevelop
mwolff resigned from D14432: Appwizard plugin. Add more repository information in the project file. .
Jan 24 2019, 3:59 PM · KDevelop
mwolff accepted D15565: Fix bug 389060 (Heaptrack analysis keeps firing /usr/bin/plasmoidviewer).

please just push it to master

Jan 24 2019, 3:57 PM · KDevelop
mwolff requested changes to D15530: kdev-clang : somewhat more complete ObjC(++) support.

please add tests for the features you add - it's probably enough to add one or two files to tests/files/ and use the JSON comments to verify everything is parsed properly?

Jan 24 2019, 3:56 PM · KDevelop
Sergobot abandoned D774: Add zoom buttons to documentation view and make it able to zoom documentation using Ctrl + mouse wheel.
Jan 24 2019, 1:23 PM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
If you don't use systemd, for example because you're not on Linux, there are certainly other tools for doing the same thing.

How does that systemd thing clean tmp dirs at runtime, IOW, how can it know it's safe to clean up a given file if the application that created it doesn't do something explicit to guarantee cleanup?

Jan 24 2019, 8:34 AM · KDevelop

Jan 23 2019

aaronpuchert added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

Temporary files being left behind after a crash is not unusual. This is why systemd has systemd-tmpfiles --clean.

Not really relevant outside of the systemd realm, right? :)

Jan 23 2019, 11:01 PM · KDevelop
mwolff requested changes to D18224: Clang Plugin: Report some problems from included files.
Jan 23 2019, 8:16 PM · KDevelop
rjvbb added a comment to D14469: KDevelop: word wrapping the problem text in the Problem Reporter (WIP).

I completely forgot about this one, for some reason the patch was moved out of my active set (possibly because of lineheight calculation issues).

Jan 23 2019, 4:08 PM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
Jan 23 2019, 3:46 PM · KDevelop
arrowd requested review of D18463: Workaround the bug found by ASan, which can be seen on FreeBSD CI..
Jan 23 2019, 6:33 AM · KDevelop

Jan 22 2019

mmrozowski added a comment to D18346: Fix typo in move cursor left action in QtCreator shortcuts theme.

I haven't pushed anything since KDE svn days but my account should be set up I think. One way to find out. Which branches? master and 5.3?
Or just 5.3 and you're merging to master once in a while?

Jan 22 2019, 12:20 AM · KDevelop

Jan 21 2019

mwolff closed D18229: Contextbrowser: Ability to show combined problems and decl tooltip.
Jan 21 2019, 5:08 PM · KDevelop
mwolff added a comment to D18224: Clang Plugin: Report some problems from included files.

without digging into the patch myself (I'll have to see whether I can find time for this), could we solve more of the open TODOs by reporting problems for *all tail* child diagnostics that point at the current file? And then reference the "parent" from them somehow? I.e. I believe currently, we have something like this (bare with me, it was quite some time since I worked on this):

Jan 21 2019, 4:54 PM · KDevelop
mwolff closed D18218: Properly display argument names of template functions.
Jan 21 2019, 4:42 PM · KDevelop
frmdstryr added a member for KDevelop: frmdstryr.
Jan 21 2019, 1:40 PM
mwolff accepted D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

unrelated - but potential future work: does keyboard navigation work across tooltips? I.e. 'ALT + ARROW'?

Jan 21 2019, 9:51 AM · KDevelop

Jan 20 2019

thomassc added a comment to D18224: Clang Plugin: Report some problems from included files.

I moved the code into helper functions and added an initial version of the tests. The tests for having the function and the call in the same file, and for having a chain of template functions in the same file include QEXPECT_FAIL(). In principle it would be easy to generate additional problems for these cases, but then a single actual problem would be represented by multiple problems in the same file. Maybe it would be cleaner to make a single problem have multiple ranges.

Jan 20 2019, 9:07 PM · KDevelop
pino added inline comments to D18224: Clang Plugin: Report some problems from included files.
Jan 20 2019, 7:35 PM · KDevelop
thomassc updated the diff for D18224: Clang Plugin: Report some problems from included files.

Make helper functions and add tests, as requested by Milian.

Jan 20 2019, 7:30 PM · KDevelop
narvaez requested review of D18414: Prevent the Extra Arguments ComboBox to Stretch Too Much.
Jan 20 2019, 7:22 PM · KDevelop
thomassc added a comment to D18218: Properly display argument names of template functions.

I just noticed this old bug: https://bugs.kde.org/show_bug.cgi?id=368460
Should the template parameters be put into a separate context?

Jan 20 2019, 6:07 PM · KDevelop
volden abandoned D18326: Fix compilation on Windows.

Already fixed.

Jan 20 2019, 6:01 PM · KDevelop
thomassc added a comment to D18218: Properly display argument names of template functions.

Yes, the behavior of this patch is as described by Milian.

Jan 20 2019, 3:30 PM · KDevelop
thomassc added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

This is how it looks on my system:

Jan 20 2019, 2:45 PM · KDevelop
thomassc updated the diff for D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Cosmetic improvement to combined problems and decl tooltip

Jan 20 2019, 2:43 PM · KDevelop

Jan 19 2019

apol accepted D18346: Fix typo in move cursor left action in QtCreator shortcuts theme.

Can you push the change or do you need us to do it for you?

Jan 19 2019, 8:03 AM · KDevelop

Jan 18 2019

miroslawstein added a revision to T10373: Support for indent-after-parens astyle option: Unknown Object (Differential Revision).
Jan 18 2019, 9:40 PM · KDevelop
miroslawstein created T10373: Support for indent-after-parens astyle option.
Jan 18 2019, 9:14 PM · KDevelop
wcancino updated the diff for D18122: Fix Xdebug disconnecting after php finished if multiple connections are allowed.
  • Fix testcase
Jan 18 2019, 10:11 AM · KDevelop
mmrozowski requested review of D18346: Fix typo in move cursor left action in QtCreator shortcuts theme.
Jan 18 2019, 12:06 AM · KDevelop

Jan 17 2019

aaronpuchert added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

Actually, issues with clang temp files is why I started to think about this kind of change but ultimately I realised it didn't seem such a bad idea at all to put all KDevelop-related temporary files in a dedicated location. I often clean out a bunch of KDevelop's own temp files that were left behind, e.g. after a crash. I just didn't mention them because they're negligible in size (and I purge before their numbers really start to grow).

Jan 17 2019, 10:11 PM · KDevelop
volden added a reviewer for D18326: Fix compilation on Windows: kdevelop-devel.
Jan 17 2019, 5:43 PM · KDevelop
volden requested review of D18326: Fix compilation on Windows.
Jan 17 2019, 5:37 PM · KDevelop
igorkushnir requested review of D18325: Debugger plugin fixes.
Jan 17 2019, 5:04 PM · KDevelop
rjvbb set the repository for D15797: [kdev-clazy] : use canonical paths to R32 KDevelop.
Jan 17 2019, 3:10 PM · KDevelop
rjvbb updated the diff for D15797: [kdev-clazy] : use canonical paths.

Updated as requested.

Jan 17 2019, 3:09 PM · KDevelop
rjvbb added inline comments to D15797: [kdev-clazy] : use canonical paths.
Jan 17 2019, 3:09 PM · KDevelop
mwolff added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

Good point Pino - setting the env var, even temporarily, would induce a race - so we can't do it there.

Jan 17 2019, 2:33 PM · KDevelop

Jan 16 2019

aacid added a comment to D18218: Properly display argument names of template functions.

@mwolff he doesn't want me to commit it meanwhile or do we wait for him to get the account?

Jan 16 2019, 10:54 PM · KDevelop

Jan 15 2019

mwolff requested changes to D14469: KDevelop: word wrapping the problem text in the Problem Reporter (WIP).

-2, I don't want to have tables with word wrapping. Hover the entry to get a tooltip that shows the full message instead. That would be a much better feature addition btw - I just checked and we don't seem to show the same problem tooltips when hovering an entry in the problems view as we do in the editor. We totally should!

Jan 15 2019, 7:49 PM · KDevelop
rjvbb closed D17255: KDevelop: support for installing into a non-standard parallel prefix.
Jan 15 2019, 7:28 PM · KDevelop
dmensinger closed D18202: Meson build options introspection.
Jan 15 2019, 2:43 PM · KDevelop
mwolff requested changes to D7930: Kdevelop CMake plugin : use canonical paths to build.dir.

please create a test out of the example you have provided

Jan 15 2019, 1:58 PM · KDevelop
mwolff added a comment to D18218: Properly display argument names of template functions.

btw - do you have commit rights? if not, then feel free to request them, see https://community.kde.org/Infrastructure/Get_a_Developer_Account

Jan 15 2019, 1:55 PM · KDevelop
mwolff accepted D18218: Properly display argument names of template functions.

so this patch fixes the tooltip to show up like void foo(char b, char c), but we still don't show the template<int a> information anywhere? I guess it's a good step forward, but we should also show the template args somewhere!

Jan 15 2019, 1:55 PM · KDevelop
mwolff added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

could you show a screenshot of this in action? code-wise I like what I'm seeing, good work! Feature-wise, I also agree that we need to do something about the issue you describe.

Jan 15 2019, 1:51 PM · KDevelop
mwolff requested changes to D18224: Clang Plugin: Report some problems from included files.

can you please also add tests for this feature? Have a look at test_duchain.cpp and in there e.g. TestDUChain::testInclude for how to create multiple files and have them include each other.

Jan 15 2019, 1:48 PM · KDevelop
mwolff requested changes to D15797: [kdev-clazy] : use canonical paths.
Jan 15 2019, 1:40 PM · KDevelop
mwolff accepted D17255: KDevelop: support for installing into a non-standard parallel prefix.
Jan 15 2019, 1:36 PM · KDevelop

Jan 14 2019

apol added a comment to D18202: Meson build options introspection.

I'll be happy to sponsor you.

Jan 14 2019, 2:26 PM · KDevelop
dmensinger added a comment to D18202: Meson build options introspection.

Sure, thanks. But how do I do that? Can I just push the commits?

Jan 14 2019, 1:54 PM · KDevelop
apol accepted D18202: Meson build options introspection.

Looks good to me. In general I'd say you can feel free to develop the plugin and only run it through review if you want feedback on specific bits.

Jan 14 2019, 1:32 PM · KDevelop
amhndu closed D18216: Scratchpad: Validate actions when opening context menu.
Jan 14 2019, 9:34 AM · KDevelop
wcancino added a comment to D18122: Fix Xdebug disconnecting after php finished if multiple connections are allowed.

Well, it is true that this plugins dates from the Kdev4 days, and it is unmaintained. Anyways, with these patch, I correct the plugin to behave as described on

Jan 14 2019, 9:15 AM · KDevelop
arrowd accepted D18216: Scratchpad: Validate actions when opening context menu.

Works great now, thanks!

Jan 14 2019, 7:06 AM · KDevelop

Jan 13 2019

rjvbb set the repository for D17255: KDevelop: support for installing into a non-standard parallel prefix to R32 KDevelop.
Jan 13 2019, 10:30 PM · KDevelop
rjvbb added inline comments to D17255: KDevelop: support for installing into a non-standard parallel prefix.
Jan 13 2019, 10:30 PM · KDevelop
rjvbb updated the diff for D17255: KDevelop: support for installing into a non-standard parallel prefix.

placeholder text + dropped manpageplugin hunk.

Jan 13 2019, 10:30 PM · KDevelop
thomassc updated the summary of D18229: Contextbrowser: Ability to show combined problems and decl tooltip.
Jan 13 2019, 6:00 PM · KDevelop
thomassc added a reviewer for D18229: Contextbrowser: Ability to show combined problems and decl tooltip: KDevelop.
Jan 13 2019, 5:58 PM · KDevelop
thomassc requested review of D18229: Contextbrowser: Ability to show combined problems and decl tooltip.
Jan 13 2019, 5:57 PM · KDevelop
thomassc updated the summary of D18218: Properly display argument names of template functions.
Jan 13 2019, 4:24 PM · KDevelop
thomassc updated the diff for D17915: Clang CodeCompletion: No auto-completion for numbers.

QString --> const auto (for real)

Jan 13 2019, 4:07 PM · KDevelop
thomassc added a comment to D17915: Clang CodeCompletion: No auto-completion for numbers.

I don't think that I have commit rights. Feel free to commit.

Jan 13 2019, 4:06 PM · KDevelop
thomassc updated the diff for D17915: Clang CodeCompletion: No auto-completion for numbers.

QString --> const auto

Jan 13 2019, 4:05 PM · KDevelop
thomassc added a reviewer for D18224: Clang Plugin: Report some problems from included files: KDevelop.
Jan 13 2019, 2:11 PM · KDevelop
thomassc requested review of D18224: Clang Plugin: Report some problems from included files.
Jan 13 2019, 2:08 PM · KDevelop
mwolff requested changes to D17255: KDevelop: support for installing into a non-standard parallel prefix.
Jan 13 2019, 1:24 PM · KDevelop
mwolff accepted D17915: Clang CodeCompletion: No auto-completion for numbers.

I prefer to use AAA, but otherwise lgtm. do you have commit rights, or do you want me to submit this for you?

Jan 13 2019, 1:20 PM · KDevelop

Jan 12 2019

thomassc added a reviewer for D18218: Properly display argument names of template functions: KDevelop.
Jan 12 2019, 9:49 PM · KDevelop
thomassc requested review of D18218: Properly display argument names of template functions.
Jan 12 2019, 9:48 PM · KDevelop
amhndu added a reviewer for D18216: Scratchpad: Validate actions when opening context menu: arrowd.
Jan 12 2019, 8:15 PM · KDevelop
amhndu requested review of D18216: Scratchpad: Validate actions when opening context menu.
Jan 12 2019, 8:12 PM · KDevelop
amhndu closed D17569: Allow configuring shortcut for Run Scratch action and add to Run menu.
Jan 12 2019, 5:56 PM · KDevelop
amhndu added a comment to D17569: Allow configuring shortcut for Run Scratch action and add to Run menu.

But these actions are disabled until I open any scratch in the editor.

Jan 12 2019, 4:37 PM · KDevelop
amhndu added a comment to D17569: Allow configuring shortcut for Run Scratch action and add to Run menu.

For example, I have 2 scratches: scr1.cpp and scr2.cpp. I left-click on first one and open it, then right-click on second one and select Run. The 2nd scratch gets executed.

Jan 12 2019, 4:36 PM · KDevelop
thomassc updated the diff for D17915: Clang CodeCompletion: No auto-completion for numbers.

Update according to Milian's comment

Jan 12 2019, 4:04 PM · KDevelop
thomassc added a comment to D17915: Clang CodeCompletion: No auto-completion for numbers.

You are right, this should be changed. I was under the wrong impression that the original diff worked since it still showed the completion when typing something like "foo1" from the beginning. But actually, if "foo" is already there before and one starts typing at "1", then it failed.

Jan 12 2019, 4:04 PM · KDevelop
rjvbb added inline comments to D17255: KDevelop: support for installing into a non-standard parallel prefix.
Jan 12 2019, 3:04 PM · KDevelop
rjvbb set the repository for D17255: KDevelop: support for installing into a non-standard parallel prefix to R32 KDevelop.
Jan 12 2019, 3:03 PM · KDevelop
rjvbb updated the diff for D17255: KDevelop: support for installing into a non-standard parallel prefix.

Adds tooltip to the import dialog's "Installation Prefix" entrie widget.

Jan 12 2019, 3:03 PM · KDevelop
arrowd added a comment to D17569: Allow configuring shortcut for Run Scratch action and add to Run menu.

I found the following minor issue:

When I just started KDevelop and open "Scratchpad" toolview, any action except "New Scratch" are greyed out. Even "Remove Scratch", as well as "Run Scratch". When I open any scratch, it turns back to normal, even if I again close all Sratchpad windows.

That's intended. The actions are all associated with the selected scratch in the toolview list. Switching the window to a different scratch also changes this selection, while closing a window keeps the selection.

Jan 12 2019, 2:17 PM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
Note that environment variables are per-process, not per-thread.
Jan 12 2019, 1:40 PM · KDevelop
amhndu added a comment to D17569: Allow configuring shortcut for Run Scratch action and add to Run menu.

I found the following minor issue:

When I just started KDevelop and open "Scratchpad" toolview, any action except "New Scratch" are greyed out. Even "Remove Scratch", as well as "Run Scratch". When I open any scratch, it turns back to normal, even if I again close all Sratchpad windows.

Jan 12 2019, 1:37 PM · KDevelop
rjvbb added a comment to D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.

Milian Wolff wrote on 20190112::12:35:11 re: "D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions"

Jan 12 2019, 1:30 PM · KDevelop
dmensinger updated the diff for D18202: Meson build options introspection.
  • Fixed build options order
  • Refactored new build dir to avoid duplicate configures
  • More polish for the New build dir dialog
Jan 12 2019, 12:44 PM · KDevelop
mwolff added inline comments to D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.
Jan 12 2019, 12:35 PM · KDevelop
mwolff requested changes to D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.
Jan 12 2019, 12:34 PM · KDevelop
mwolff requested changes to D17255: KDevelop: support for installing into a non-standard parallel prefix.
Jan 12 2019, 12:26 PM · KDevelop
pino added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

Though probably it's going to be enough for now to set TMPDIR temporarily in the background thread where we launch the parse job via libclang?

Jan 12 2019, 12:22 PM · KDevelop
mwolff requested changes to D17289: KDevelop/Shell: set dedicated TMPDIR.

-2 from my side - we change the behavior of all (sub)process launched by KDevelop and that's not something I want to do. you've seen it affect a sub-kdevelop process, but what if a user launches his own app through kdevelop? we shouldn't change the temp dir for these apps.

Jan 12 2019, 12:20 PM · KDevelop
arrowd added a comment to D17569: Allow configuring shortcut for Run Scratch action and add to Run menu.

But that's not related to your change, so please push it. Not sure where to, 5.3, I guess.

Jan 12 2019, 8:54 AM · KDevelop
arrowd added a comment to D17569: Allow configuring shortcut for Run Scratch action and add to Run menu.

I found the following minor issue:

Jan 12 2019, 8:50 AM · KDevelop

Jan 11 2019

dmensinger requested review of D18202: Meson build options introspection.
Jan 11 2019, 11:10 PM · KDevelop
arrowd added a comment to D14391: Fix random order of plugin's config pages.

The problem with current revision is that pages added in uicontroller.cpp:530 aren't sorted.

Jan 11 2019, 1:23 PM · KDevelop