Feed Advanced Search

Apr 13 2019

mwolff added a comment to D18758: Make Project::open() method use async KIO methods..

Oh, really? Hmm! I wouldn't be opposed to enable compilation with exceptions myself, what do the others say? We don't need to use them excessively, but for error handling in async promise chains, that would be quite useful I think?

Apr 13 2019, 4:51 PM · KDevelop
mwolff requested changes to D18224: Clang Plugin: Report some problems from included files.

Hey Thomas, please don't remove the cache. See f2a6941e086cdf506c8fb1798c52982bff43792d for why this was introduced. Your tests don't include other files, so probably that's why you didn't see any effect of the cache?

Apr 13 2019, 4:49 PM · KDevelop
mwolff accepted D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.

thanks, lgtm!

Apr 13 2019, 4:41 PM · KDevelop

Apr 9 2019

hein closed D20419: Fix build on Qt 5.13 branch.
Apr 9 2019, 10:43 PM · KDevelop
apol accepted D20419: Fix build on Qt 5.13 branch.
Apr 9 2019, 9:47 PM · KDevelop
hein requested review of D20419: Fix build on Qt 5.13 branch.
Apr 9 2019, 9:38 PM · KDevelop
christiant added a comment to D20142: DVCS Branch Manager with filtering and sorting proposal.

Probably not - this is my first commit. Where do I need to apply :-D

Apr 9 2019, 8:23 AM · KDevelop, VDG
apol accepted D20142: DVCS Branch Manager with filtering and sorting proposal.

Good stuff, do you have push rights?

Apr 9 2019, 1:04 AM · KDevelop, VDG

Apr 8 2019

christiant updated the diff for D20142: DVCS Branch Manager with filtering and sorting proposal.

Upload correct patch

Apr 8 2019, 8:34 PM · KDevelop, VDG
christiant added a comment to D20142: DVCS Branch Manager with filtering and sorting proposal.

Yeah, you're right.

Apr 8 2019, 12:19 PM · KDevelop, VDG
apol added a comment to D20142: DVCS Branch Manager with filtering and sorting proposal.

I think you uploaded the patch against the last version, not against master.

Apr 8 2019, 12:04 AM · KDevelop, VDG

Apr 6 2019

thomassc updated the diff for D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.

Thanks for the info. I didn't spot it at first since it is hidden in a dropdown menu.

Apr 6 2019, 2:58 PM · KDevelop
thomassc commandeered D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.
Apr 6 2019, 2:56 PM · KDevelop
thomassc updated the diff for D18224: Clang Plugin: Report some problems from included files.

Address Milian's comments; remove m_diagnosticsCache.

Apr 6 2019, 2:52 PM · KDevelop
thomassc added inline comments to D18224: Clang Plugin: Report some problems from included files.
Apr 6 2019, 2:50 PM · KDevelop
arrowd added a comment to D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.

@thomassc it is because I commandeered your revision to be able to update it. If you want, you do the same. First select "Commandeer Revision" at the bottom of this page, and then use arc diff (possibly with --update D18567) to update it.

Apr 6 2019, 12:33 PM · KDevelop
thomassc added a comment to D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.

Thanks for the update. Seems good to me.

Apr 6 2019, 12:16 PM · KDevelop

Apr 5 2019

christiant updated the diff for D20142: DVCS Branch Manager with filtering and sorting proposal.

Work through feedback:

Apr 5 2019, 11:12 PM · KDevelop, VDG
arrowd updated the diff for D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.

Simplify code.

Apr 5 2019, 12:56 PM · KDevelop
arrowd commandeered D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.
Apr 5 2019, 12:56 PM · KDevelop

Apr 4 2019

arrowd added a comment to D18758: Make Project::open() method use async KIO methods..

After finishing initial implementation I found out that QtPromise requires exceptions enabled. KDevelop seem to have exceptions disabled right now.

Apr 4 2019, 6:36 PM · KDevelop

Apr 2 2019

christiant added a comment to D20142: DVCS Branch Manager with filtering and sorting proposal.

I will do that.

Apr 2 2019, 10:28 AM · KDevelop, VDG

Apr 1 2019

kfunk added a comment to D18758: Make Project::open() method use async KIO methods..

As long as it integrates well with the rest of the KDevelop build I'm fine. Would probably just copy the QtPromise source tree into maybe kdevelop.git:3rdparty/ and create a CMakeLists.txt which creates a STATIC or OBJECT library for it? QtPromise looks easy enough to build.

Apr 1 2019, 5:44 PM · KDevelop
mwolff updated subscribers of D18758: Make Project::open() method use async KIO methods..

yes, QtPromise or AsyncFuture (https://github.com/benlau/asyncfuture) could be used - I wouldn't be opposed to introducing it as a thirdparty dependency (or git submodule)

Apr 1 2019, 4:43 PM · KDevelop
arrowd added a comment to D18758: Make Project::open() method use async KIO methods..

KAsync looks a bit unmaintained. On the other hand, QtPromise seems to be an active project. Should I start looking into the latter?

Apr 1 2019, 12:06 PM · KDevelop
arrowd closed D14391: Fix random order of plugin's config pages.
Apr 1 2019, 11:29 AM · KDevelop
mwolff added a comment to D14391: Fix random order of plugin's config pages.

if it applies cleanly, you can also push to 5.3, otherwise master is fine - it's not a really urgent bug fix after all (imo)

Apr 1 2019, 11:02 AM · KDevelop
arrowd added a comment to D14391: Fix random order of plugin's config pages.

Onto master?

Apr 1 2019, 10:58 AM · KDevelop
mwolff accepted D14391: Fix random order of plugin's config pages.
Apr 1 2019, 10:46 AM · KDevelop
kfunk added inline comments to D20142: DVCS Branch Manager with filtering and sorting proposal.
Apr 1 2019, 6:39 AM · KDevelop, VDG

Mar 31 2019

apol added a comment to D20142: DVCS Branch Manager with filtering and sorting proposal.

Looks good to me overall, Let's clean it up so we can get it in.

Mar 31 2019, 2:47 PM · KDevelop, VDG
christiant added a comment to D20142: DVCS Branch Manager with filtering and sorting proposal.

How it looks.

Mar 31 2019, 11:02 AM · KDevelop, VDG
christiant requested review of D20142: DVCS Branch Manager with filtering and sorting proposal.
Mar 31 2019, 10:20 AM · KDevelop, VDG

Mar 29 2019

arrowd added a comment to D14391: Fix random order of plugin's config pages.

I don't remember details of this revision, but at least it seems to do like how we agreed.

Mar 29 2019, 1:06 PM · KDevelop
arrowd updated the diff for D14391: Fix random order of plugin's config pages.

Remove API changes and just sort plugins list.

Mar 29 2019, 1:05 PM · KDevelop

Mar 20 2019

mwolff closed D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.
Mar 20 2019, 6:34 PM · KDevelop

Mar 19 2019

sirgienko closed D19861: Fix some unused variable warnings.
Mar 19 2019, 9:43 PM · KDevelop
apol added a comment to D19861: Fix some unused variable warnings.

Of course, forgot to tell. Now we are in gitlab:
https://invent.kde.org/kde/kdevelop

Mar 19 2019, 9:38 PM · KDevelop
sirgienko added a comment to D19861: Fix some unused variable warnings.
In D19861#434135, @apol wrote:

Yes, sorry :)

Mar 19 2019, 1:43 PM · KDevelop

Mar 18 2019

apol added a comment to D19861: Fix some unused variable warnings.

Yes, sorry :)

Mar 18 2019, 11:22 PM · KDevelop
sirgienko added a comment to D19861: Fix some unused variable warnings.
In D19861#433859, @apol wrote:

Can you send the patch?

Mar 18 2019, 5:41 PM · KDevelop
apol accepted D19861: Fix some unused variable warnings.

Can you send the patch?

Mar 18 2019, 5:36 PM · KDevelop
sirgienko requested review of D19861: Fix some unused variable warnings.
Mar 18 2019, 5:28 PM · KDevelop

Mar 17 2019

rjvbb abandoned D17289: KDevelop/Shell: set dedicated TMPDIR.
Not really: it says that a temporary directory for every kdevelop instance is created
Mar 17 2019, 1:44 PM · KDevelop
lbeltrame added a comment to D17760: astyle: support the system astyle library.

Then the best should be to file a bug on bugzilla.opensuse.org asking for that to be packaged.

Mar 17 2019, 1:05 PM · KDevelop
pino added a comment to D17760: astyle: support the system astyle library.

Is this part of the astyle tarball, or a separate project?

Mar 17 2019, 1:02 PM · KDevelop
lbeltrame added a comment to D17760: astyle: support the system astyle library.

Is this part of the astyle tarball, or a separate project?

Mar 17 2019, 12:55 PM · KDevelop
pino added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

no need for making it "deterministic" in any way. There is no benefit in doing that.

I think there is so, it's the whole point of this PR.

Mar 17 2019, 11:56 AM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

no need for making it "deterministic" in any way. There is no benefit in doing that.

Mar 17 2019, 11:37 AM · KDevelop
pino added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
OK, I stand corrected on this. OTOH, the rest of my notes about this being wrong anyway still stand.

I'm not convinced about those arguments but have no objection either to making the temp dir user-exclusive - it's a detail that should be easy enough. There's probably a reason I'm not using QTemporaryDir though

Mar 17 2019, 11:24 AM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
OK, I stand corrected on this. OTOH, the rest of my notes about this being wrong anyway still stand.
Mar 17 2019, 11:01 AM · KDevelop
pino added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

using the user ID is definitely wrong here: with this change, opening a second kdevelop will erase the temporary directory of the first...

Maybe test-drive the patch (like I have been doing) before advancing hypotheses - don't you think I'd have noticed this kind of astronomically stupid error?
The tmp.dir name also includes the session ID, and you can only open a given session once.

Mar 17 2019, 10:29 AM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

using the user ID is definitely wrong here: with this change, opening a second kdevelop will erase the temporary directory of the first...

Mar 17 2019, 10:22 AM · KDevelop
pino requested changes to D17289: KDevelop/Shell: set dedicated TMPDIR.
Mar 17 2019, 9:21 AM · KDevelop
pino updated subscribers of D17760: astyle: support the system astyle library.

Question: does any distro package that?

At least my openSUSE doesn't nor any other distro I know of, only thing I found was:

https://rpmfind.net/linux/rpm2html/search.php?query=libastyle-devel

I skimmed through https://repology.org/project/astyle/packages and found none.

Mar 17 2019, 8:58 AM · KDevelop
pino updated the diff for D17760: astyle: support the system astyle library.
  • add some rudimental version detection of the astyle library, since it provides no pkg-config file nor version macros/variables...
  • request libastyle >= 3.1
Mar 17 2019, 8:47 AM · KDevelop

Mar 15 2019

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

Milian Wolff wrote on 20190312::20:02:54 re: "D17289: KDevelop/Shell: set dedicated TMPDIR"

Mar 15 2019, 10:07 AM · KDevelop
tnorth added a comment to D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.

That's right, thanks a lot!

Mar 15 2019, 10:01 AM · KDevelop

Mar 14 2019

rjvbb added a comment to D18551: clang: Create preamble only on second parse.

Re: reparsing reliably each time a headerfile is changed: wouldn't the use of forwarding headers increase the chance of missing a change?

Mar 14 2019, 9:49 AM · KDevelop

Mar 13 2019

kfunk added a comment to D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.

Note: It's Thibault North <thibault.north@gmail.com>

Mar 13 2019, 4:13 PM · KDevelop

Mar 12 2019

mwolff accepted D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.

thanks, lgtm - I'll amend the last nits and apply it for you - if you give me full name and email address such that I can set you as the main author of this patch

Mar 12 2019, 8:14 PM · KDevelop
mwolff added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

And there are probably places where the simpler QProcess API was used
instead.

But the KDevelop env. profiles are already based on or compatible with QProcess::setProcessEnvironment(), no?

Mar 12 2019, 8:02 PM · KDevelop
tnorth added a comment to D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.

Regarding the unit-test, I've seen a similar one at plugins/cmake/tests/manual/parentheses_in_test_arguments/, one could do something like that, but I don't really see here arguments passed to the test are checked... (only had a quick look).

Mar 12 2019, 10:06 AM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

And there are probably places where the simpler QProcess API was used
instead.

Mar 12 2019, 10:00 AM · KDevelop
tnorth updated the diff for D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.

Include suggested fixes

Mar 12 2019, 9:48 AM · KDevelop

Mar 11 2019

kossebau requested changes to D17760: astyle: support the system astyle library.
Mar 11 2019, 2:50 PM · KDevelop
mwolff accepted D17760: astyle: support the system astyle library.

ah, then let's get this in as-is

Mar 11 2019, 2:32 PM · KDevelop
arrowd added a comment to D17760: astyle: support the system astyle library.

Question: does any distro package that?

At least my openSUSE doesn't nor any other distro I know of, only thing I found was:

https://rpmfind.net/linux/rpm2html/search.php?query=libastyle-devel

Mar 11 2019, 11:48 AM · KDevelop
mwolff requested changes to D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.

great! can we get a unit test for this? though I'm unsure if we ever revived the unit tests from our old cmake integration

Mar 11 2019, 9:19 AM · KDevelop
cullmann added a comment to D17760: astyle: support the system astyle library.

Question: does any distro package that?

Mar 11 2019, 8:57 AM · KDevelop
tnorth updated the summary of D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.
Mar 11 2019, 8:28 AM · KDevelop
tnorth requested review of D19673: Discovered unit-tests using bracket arguments and/or listed in files other than CTestTestFile.cmake.
Mar 11 2019, 8:26 AM · KDevelop

Mar 10 2019

mwolff added a comment to D14391: Fix random order of plugin's config pages.

yes I would be fine with that personally!

Mar 10 2019, 7:34 PM · KDevelop
mwolff added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
we use CXTranslationUnit_CreatePreambleOnFirstParse to get code completion results fast. otherwise the first code completion request would create the preamble, which felt much worse

Shall we keep that discussion to D18551?

Mar 10 2019, 7:32 PM · KDevelop
mwolff added a comment to D17760: astyle: support the system astyle library.

ok cool, then please get rid of our internal copy!

Mar 10 2019, 7:27 PM · KDevelop
mwolff requested changes to D18224: Clang Plugin: Report some problems from included files.

nice, this is getting better! some suggestions on how to improve the code quality, and then some potential issues I can think of - please fix or document why they aren't an issue

Mar 10 2019, 7:20 PM · KDevelop
mwolff requested changes to D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.

cool, this is great! and it fixes the issue you originally found in testActiveDocumentsGetBestPriority?

Mar 10 2019, 7:01 PM · KDevelop
mwolff added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Rene, instead of thinking about what-ifs, maybe try it out first? Most notably, the tooltips only show up when you press ALT and keep it pressed. Otherwise, the tooltips don't show up - unless you hover code with your mouse cursor. Moving the keyboard edit cursor won't ever trigger tooltips. Or are you somehow moving your mouse cursor while typing?! Don't do that :)

Mar 10 2019, 6:56 PM · KDevelop

Mar 7 2019

davispuh added a comment to D19457: Resurrect kdev-java.

ehhh, damn arc land, I didn't knew it will squash commits, oh well...

Mar 7 2019, 9:43 PM · KDevelop
davispuh closed D19457: Resurrect kdev-java.
Mar 7 2019, 9:36 PM · KDevelop

Mar 6 2019

brauch added a comment to D19457: Resurrect kdev-java.

FWIW kdev-java was to my knowledge never really working. I think at some point a lot of the code started as effectively a fork of the old C++ plugin, which was then gradually (but not thoroughly) adapted to java ...

Mar 6 2019, 8:00 AM · KDevelop
brauch accepted D19457: Resurrect kdev-java.

Thanks, certainly better than bitrot. I can't really imagine it won't crash with any non-trivial project though :/

Mar 6 2019, 7:58 AM · KDevelop
kfunk accepted D19457: Resurrect kdev-java.

Only had a brief look, but this looks good to me! Well, better than letting it bit-rot.

Mar 6 2019, 7:52 AM · KDevelop

Mar 5 2019

tcanabrava updated subscribers of D19457: Resurrect kdev-java.

Em ter, 5 de mar de 2019 às 18:36, Dāvis Mosāns <noreply@phabricator.kde.org>
escreveu:

Mar 5 2019, 10:56 PM · KDevelop
davispuh added a comment to D19457: Resurrect kdev-java.

Only I had to disable tests, because they depend on kdevplatform/tests/*.h which doesn't get installed with KDevelop

These headers should normally be installed.

Some distro packages of KDevelop omit them, because of explicitly setting -DBUILD_TESTING=OFF during the build process.

You should be able to copy them manually, or add the source dir as an extra include path.

Mar 5 2019, 9:35 PM · KDevelop
davispuh added a comment to D19457: Resurrect kdev-java.
In D19457#424138, @apol wrote:

Are you planning to maintain it?

Mar 5 2019, 9:27 PM · KDevelop
davispuh updated the diff for D19457: Resurrect kdev-java.

Make tests buildable

Mar 5 2019, 9:26 PM · KDevelop
gennad added a watcher for KDevelop: gennad.
Mar 5 2019, 3:26 PM

Mar 4 2019

flherne added a comment to D19457: Resurrect kdev-java.

Nice work!

Mar 4 2019, 3:03 AM · KDevelop
apol added a comment to D19457: Resurrect kdev-java.

Are you planning to maintain it?

Mar 4 2019, 1:53 AM · KDevelop

Mar 2 2019

davispuh added a comment to D19457: Resurrect kdev-java.

Only I had to disable tests, because they depend on kdevplatform/tests/*.h which doesn't get installed with KDevelop

Mar 2 2019, 4:05 AM · KDevelop
davispuh requested review of D19457: Resurrect kdev-java.
Mar 2 2019, 3:55 AM · KDevelop

Feb 25 2019

rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Even in your screenshot it looks fine to me.

Feb 25 2019, 2:24 PM · KDevelop
thomassc added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Personally, I don't think that I share the concerns about large tooltips. Even in your screenshot it looks fine to me. Since as written before, it can be very easily hidden if desired (e.g. just by clicking in the editor text area). I'd much rather have as much relevant information at once instead of having to click another "expand" button each time to see more. But that's just my personal opinion. Maybe others can comment too.

Feb 25 2019, 12:17 PM · KDevelop
rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Here's a very good example of an overly large problem report:

Feb 25 2019, 8:41 AM · KDevelop

Feb 24 2019

thomassc updated the diff for D18224: Clang Plugin: Report some problems from included files.

Address comments. Now, problems are created for each "requested here" child diagnostic that refers to the current document. This may be more than just the last child diagnostic, since there may be multiple ones referring to the current document.

Feb 24 2019, 7:35 PM · KDevelop
rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

About the combined popups: could you downsize the 2 components so they always have the same (reasonable) size which could be coupled to screen height?

Feb 24 2019, 8:44 AM · KDevelop
rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.
Omitting the problem tooltip if it's large makes it a bit unpredictable to the user. He/she then won't know in advance whether hovering over a location that might show a combined tooltip will actually show it or not.
Feb 24 2019, 8:33 AM · KDevelop

Feb 23 2019

thomassc updated the diff for D18567: Make testActiveDocumentsGetBestPriority() clean up after itself.

Thanks for pointing me to the right places.

Feb 23 2019, 8:53 PM · KDevelop
thomassc added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Interesting, I didn't know about the mode which highlights problematic lines. Thanks a lot for pointing it out. I had to look for it, and it turned out that this setting is at: Settings dialog -> Language Support -> Semantic Code Highlighting block -> Highlight problematic lines. I can't remember deactivating this, so it's probably off by default? It seems potentially very useful though, given that the underlines are sometimes easy to overlook, and the red line highlighting also shows up in the scrollbar minimap as you write. When this setting is active, the region where the problem tooltip shows up indeed makes more sense to me. It still doesn't match up though, for example if there are some whitespace lines before the line with the error, then the tooltip will also show when hovering somewhere over these whitespace lines.

Feb 23 2019, 5:37 PM · KDevelop