Feed Advanced Search

Aug 13 2018

aaronpuchert accepted D14479: Store sizeof and friends as numbers instead of comment..

Ok, I take it that space optimizations could also be done later if necessary. I will merge it then after correcting the comment.

Aug 13 2018, 7:49 PM · KDevelop
aaronpuchert added inline comments to D14479: Store sizeof and friends as numbers instead of comment..
Aug 13 2018, 7:33 PM · KDevelop
aaronpuchert committed R216:0b8d8acf816a: Add syntax-highlighting for RDoc (R documentation) (authored by aaronpuchert).
Add syntax-highlighting for RDoc (R documentation)
Aug 13 2018, 10:45 AM
aaronpuchert closed D14639: Add syntax-highlighting for RDoc (R documentation).
Aug 13 2018, 10:45 AM · Frameworks, Kate

Aug 10 2018

aaronpuchert added a comment to D14479: Store sizeof and friends as numbers instead of comment..

Do you have commit access or should I commit this for you?

Aug 10 2018, 11:22 PM · KDevelop
aaronpuchert accepted D14315: Fix `test_clang-duchain` by making the test expectedly fail..
Aug 10 2018, 11:11 PM · KDevelop
aaronpuchert updated subscribers of D14639: Add syntax-highlighting for RDoc (R documentation).
Aug 10 2018, 12:24 AM · Frameworks, Kate
aaronpuchert accepted D14479: Store sizeof and friends as numbers instead of comment..

Otherwise it's fine.

Aug 10 2018, 12:08 AM · KDevelop

Aug 9 2018

aaronpuchert accepted D14694: Consistently use icon for "Analyze [...] With" submenus.

it is unique in its use, one cannot mix it up with the search actions when scanning the menus and toolbars just by icons

Aug 9 2018, 10:30 PM · KDevelop

Aug 8 2018

aaronpuchert added a comment to D14694: Consistently use icon for "Analyze [...] With" submenus.

Maybe this has been discussed before, but I think something like a magnifying glass (search) would be more appropriate. The check mark suggests that the code is "verified", in the sense that it's definitely fine, but most (all?) static analysis tools don't guarantee that. If the tool finds something, then something is probably wrong, but if it doesn't, there could still be a mistake.

Aug 8 2018, 10:38 PM · KDevelop

Aug 7 2018

aaronpuchert accepted D14678: Fix GCC warning.

Maybe you can also activate the warning (as error) in CMakeLists.txt?

Aug 7 2018, 9:39 PM · KDevelop

Aug 6 2018

aaronpuchert added a comment to D14304: Use "edit-delete" icon for buttons which delete data.

In the case of the include path removing a path entry does not feel like one is deleting data, as the string is an existing dir (at least usually). So it is more like adding & removing existing items (the paths) to and from a list.

Aug 6 2018, 11:01 PM · KDevelop
aaronpuchert accepted D14304: Use "edit-delete" icon for buttons which delete data.

What about the custom include paths? Still have a list-remove icon there. They are easy to restore though.

Aug 6 2018, 10:30 PM · KDevelop
aaronpuchert added a comment to D14479: Store sizeof and friends as numbers instead of comment..

Nice. Having this information better structured and accessible is definitely a good thing!

Aug 6 2018, 10:11 PM · KDevelop

Aug 5 2018

aaronpuchert requested review of D14639: Add syntax-highlighting for RDoc (R documentation).
Aug 5 2018, 9:21 PM · Frameworks, Kate

Jul 25 2018

aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..
Jul 25 2018, 8:59 PM · KDevelop

Jul 23 2018

aaronpuchert added inline comments to D14212: Enable warnings zero-as-null-pointer-constant & suggest-override.
Jul 23 2018, 11:35 AM · KDevelop

Jul 18 2018

aaronpuchert accepted D14212: Enable warnings zero-as-null-pointer-constant & suggest-override.
Left that improvement though for a latter separate patch, until the flag addition in general are accepted.
Jul 18 2018, 9:10 PM · KDevelop
aaronpuchert added inline comments to D14212: Enable warnings zero-as-null-pointer-constant & suggest-override.
Jul 18 2018, 7:38 PM · KDevelop

Jul 15 2018

aaronpuchert accepted D13613: RFC: Fix libclang default include paths on FreeBSD..

Maybe @mwolff wants to have a look again, but I think it's fine.

Jul 15 2018, 1:14 PM · KDevelop

Jul 12 2018

aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

Files that are absent on FreeBSD are listed here. So, let's just use first one in lexicographics order: adxintrin.h.

Jul 12 2018, 10:39 PM · KDevelop
aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

On my system,

Jul 12 2018, 9:28 PM · KDevelop

Jul 6 2018

aaronpuchert added a comment to D11136: Make sure we use the same compiler settings as the project is by default.
In D11136#248743, @apol wrote:

I second @aaronpuchert - it would be better to remove support for other compilers than the one that is actually used for parsing.

If that's the case, I suggest someone to suggest a plan towards deprecating custom-definesandincludes.

The custom- part is obviously still Ok. But I think simulating another compiler is beyond the scope of libclang and will never completely work.

Jul 6 2018, 10:35 PM
aaronpuchert added a comment to D13900: Disable class-memaccess compiler warnings where not wanted.

On the surface the compiler is right, this comes very close to undefined behavior. But there is so much crazy stuff happening in the DUChain that it might be fine in the end.

Jul 6 2018, 10:29 PM · KDevelop

Jul 3 2018

aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..
clang -ferror-limit=100 -fspell-checking  -Wunused-parameter -Wunreachable-code -Wall -std=c++11 -nostdinc -nostdinc++ -xc++ -isystem/usr/include/c++/v1 -isystem/usr/lib/clang/6.0.0/include -isystem /usr/local/llvm60/lib/clang/6.0.0/include -imacros /tmp/test_problems.zWlSBE /tmp/testfile_HVezBz.cpp
Jul 3 2018, 12:12 AM · KDevelop

Jul 2 2018

This is a test notification, sent at Mon, Jul 2, 22:15.
Jul 2 2018, 8:15 PM
aaronpuchert committed R32:963cd09314b2: Fix mtime for tar command and use numeric user/group (authored by aaronpuchert).
Fix mtime for tar command and use numeric user/group
Jul 2 2018, 8:12 PM
aaronpuchert closed D13832: Fix mtime for tar command and use numeric user/group.
Jul 2 2018, 8:11 PM · KDevelop
aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

That's the part I don't understand. Why is the C++ standard library include directory /usr/include/c++/v1/ builtin, but the C standard library directory /usr/include isn't? Here's what I get:

Jul 2 2018, 12:42 AM · KDevelop

Jul 1 2018

aaronpuchert added a comment to D13832: Fix mtime for tar command and use numeric user/group.

Not sure why I didn't notice in D7693 that this doesn't work properly, so I fixed it here.

Jul 1 2018, 10:32 PM · KDevelop
aaronpuchert requested review of D13832: Fix mtime for tar command and use numeric user/group.
Jul 1 2018, 10:30 PM · KDevelop

Jun 23 2018

aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

I'm not sure if <vector> includes system headers, but I replaced it with <cstdlib>, which obviously includes <stdlib.h> from /usr/include. That still works here.

In the test source?

Jun 23 2018, 2:59 PM · KDevelop
aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

I guess this comes from the second test row ("ignore-moc-at-end")? I'm not sure if <vector> includes system headers, but I replaced it with <cstdlib>, which obviously includes <stdlib.h> from /usr/include. That still works here.

Jun 23 2018, 1:26 AM · KDevelop

Jun 22 2018

aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

I was asking what's the right way. Do you think I should change the test?

Jun 22 2018, 1:39 AM · KDevelop

Jun 21 2018

aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

But test_problems test doesn't use this analyzing the code. Maybe the code for the test itself should be changed?

Jun 21 2018, 12:54 AM · KDevelop

Jun 19 2018

aaronpuchert added a comment to D13613: RFC: Fix libclang default include paths on FreeBSD..

The include directories should be provided by the custom-definesandincludes plugin, specifically the compiler provider. See GccLikeCompiler::includes in plugins/custom-definesandincludes/compilerprovider/gcclikecompiler.cpp. Why does that not work?

Jun 19 2018, 10:53 PM · KDevelop

Jun 15 2018

aaronpuchert added a comment to D13537: Fix definesandincludes test..

The failures probably came from my change D8634, thanks for fixing it. The commit you mentioned seems to precede that.

Jun 15 2018, 10:43 PM · KDevelop

May 1 2018

aaronpuchert added a comment to R319:2a71f063f880: use the terminal color scheme for the scrollbar.

As discussed with VDG, color the scrollbar with the same colors as the terminal color scheme itself. It looks way cleaner and modern

May 1 2018, 10:48 PM

Mar 8 2018

aaronpuchert added a comment to D11136: Make sure we use the same compiler settings as the project is by default.

The Clang developers work really hard on compatibility with both GCC and MSVC, but I don't think they want to use the same defines and includes for that. For example, both Clang and GCC have their own private header files (on my machine, /usr/lib64/gcc/x86_64-suse-linux/7/include and /usr/lib64/clang/5.0.1/include/). These are quite similar, but not interchangeable. I don't think one can use one set of headers with the other compiler.

Mar 8 2018, 11:32 PM
aaronpuchert added a comment to D11136: Make sure we use the same compiler settings as the project is by default.

Hmm I was actually thinking about _removing_ most of the non-clang compiler stuff (builtin macros, includes etc) - but I'd like to discuss this first

Mar 8 2018, 10:27 PM

Feb 26 2018

aaronpuchert committed R32:1b0fe9329411: Fix CodeCompletion of Strongly Typed Enum (authored by shashwatdixit).
Fix CodeCompletion of Strongly Typed Enum
Feb 26 2018, 10:13 PM
aaronpuchert closed D10738: Fix CodeCompletion of Strongly Typed Enum.
Feb 26 2018, 10:13 PM · KDevelop

Jan 19 2018

aaronpuchert accepted D9824: Optimize inotify KDirWatch backend: map inotify wd to Entry.

@rjvbb You certainly have a point when you say that there are more deficits to address, but nothing will ever get done unless someone does it. Nobody here is claiming that this solves all problems, but I don't see how it would hinder further improvements down the road, including those that you have sketched.

Jan 19 2018, 8:58 PM · Frameworks

Jan 18 2018

aaronpuchert added a comment to D9824: Optimize inotify KDirWatch backend: map inotify wd to Entry.
In D9824#192793, @rjvbb wrote:

If real-world impact is in the order of a highly significant but millisecond-order reduction of reaction time to file change there may be little reason to commit this improvement now (and then risk forgetting about the rest again). My hunch is that it could be more effective then to keep this change pending and use it as a motivation to work on a more complete overhaul of the class.

Jan 18 2018, 9:13 PM · Frameworks

Jan 6 2018

aaronpuchert committed R32:cc43cfbd8486: Correct list of language standards for C/C++ (authored by aaronpuchert).
Correct list of language standards for C/C++
Jan 6 2018, 4:44 PM
aaronpuchert closed D9583: Correct list of language standards for C/C++.
Jan 6 2018, 4:44 PM

Dec 19 2017

aaronpuchert committed R32:2162de4b755b: Add -Werror=switch and -Wcovered-switch-default (authored by aaronpuchert).
Add -Werror=switch and -Wcovered-switch-default
Dec 19 2017, 7:54 PM
aaronpuchert closed D9042: Add -Werror=switch and -Wcovered-switch-default.
Dec 19 2017, 7:54 PM
aaronpuchert added inline comments to D9042: Add -Werror=switch and -Wcovered-switch-default.
Dec 19 2017, 7:54 PM

Dec 18 2017

aaronpuchert added a comment to D9316: Remove KF5::ItemModels from public interface of KDevPlatformUtil.

I'm fine with the change otherwise, but I think @kfunk and/or @brauch should have a chance to revise or reaffirm their position.

Dec 18 2017, 11:34 PM
aaronpuchert added a comment to D9042: Add -Werror=switch and -Wcovered-switch-default.

@mwolff Are the additional changes Ok? There are no new warnings anymore.

Dec 18 2017, 11:28 PM

Dec 17 2017

aaronpuchert updated the diff for D9042: Add -Werror=switch and -Wcovered-switch-default.

Fix remaining occurences of -Wcovered-switch-default.

Dec 17 2017, 11:54 PM

Dec 14 2017

aaronpuchert added a comment to D9316: Remove KF5::ItemModels from public interface of KDevPlatformUtil.
In D9316#179221, @kfunk wrote:

It's adding code which we need to maintain (what if the KSelectionProxyModel::FilterBehavior enum is extended?)

Since MultiLevelListView::FilterBehavior is translated into KSelectionProxyModel::FilterBehavior, there should be no problem if the latter is extended. Of course one could think about also extending the former then, but I don't see something terrible happen if we don't.

Dec 14 2017, 12:55 AM
aaronpuchert accepted D9236: Fill lists of default-constructed types directly, not append any by value.
Dec 14 2017, 12:32 AM

Dec 9 2017

aaronpuchert added a comment to D9236: Fill lists of default-constructed types directly, not append any by value.

I still have to complete my C++11 classes sadly. In my naive mind I would have hoped something like this would be possible, in general:

alloc heap memory for list items
for each item
    default constructor item on heap
    setup item on heap

I would not see any principal need to prepare the item on the stack. Is there? Why would C++11 still prefer a move operator, instead of going directly for the final memory destination?

Dec 9 2017, 8:48 PM

Dec 8 2017

aaronpuchert added a comment to D9236: Fill lists of default-constructed types directly, not append any by value.

By the way, it's usually a good idea to have vector elements nothrow-move constructible. This can be checked with

Dec 8 2017, 9:21 PM
aaronpuchert added a comment to D9236: Fill lists of default-constructed types directly, not append any by value.

It might not actually be faster though, because you go through the memory twice. If the vector doesn't fit into the cache, that could introduce quite some slowdown.

Dec 8 2017, 9:04 PM

Dec 1 2017

aaronpuchert committed R32:ada2a0442ab6: Custom defines/includes: Improve handling of parser arguments (authored by aaronpuchert).
Custom defines/includes: Improve handling of parser arguments
Dec 1 2017, 12:44 PM
aaronpuchert closed D8634: Custom defines/includes: Improve handling of parser arguments.
Dec 1 2017, 12:44 PM

Nov 30 2017

aaronpuchert updated the diff for D9042: Add -Werror=switch and -Wcovered-switch-default.

Fix -Wcovered-switch-default where it is safe to do so.

Nov 30 2017, 12:46 AM

Nov 29 2017

aaronpuchert added a comment to D9042: Add -Werror=switch and -Wcovered-switch-default.

There are no issues with -Wswitch, but some with -Wcovered-switch-default.

Nov 29 2017, 10:41 PM

Nov 28 2017

aaronpuchert created D9042: Add -Werror=switch and -Wcovered-switch-default.
Nov 28 2017, 11:32 PM
aaronpuchert added a comment to D8634: Custom defines/includes: Improve handling of parser arguments.

Good idea, -Wswitch is a nice tool. But it doesn't seem activated in the builds, at least with Clang.

Nov 28 2017, 9:50 PM
aaronpuchert updated the diff for D8634: Custom defines/includes: Improve handling of parser arguments.

Made sure switches over enums cover all values, and used more auto.

Nov 28 2017, 9:42 PM

Nov 27 2017

aaronpuchert added a comment to D8634: Custom defines/includes: Improve handling of parser arguments.

I figured - couldn't we simply replace ParserArguments with e.g. a QHash<Utils::LanguageType, QString>? Or, better yet, we make it a QString[Utils::LanguageType::Other]?

There is still that flag parseAmbiguousAsCPP, but I like the idea of using an array. Maybe we can get rid of the flag, but I wouldn't want to do too much in one change.

Nov 27 2017, 12:26 AM
aaronpuchert updated the diff for D8634: Custom defines/includes: Improve handling of parser arguments.

Incorporated review by Milian:

Nov 27 2017, 12:25 AM

Nov 24 2017

aaronpuchert added a comment to D8953: Make VcsLocation also implicitly shared.

It is indeed a mystery. Note that the member function isn't marked const, which it probably should be. Adding the const specifier produces a compiler error (about ambiguous function calls), as it should.

Nov 24 2017, 1:54 AM

Nov 13 2017

aaronpuchert committed R32:3512f8906466: Don't ask for compiler-specific includes in QmlJS (authored by aaronpuchert).
Don't ask for compiler-specific includes in QmlJS
Nov 13 2017, 11:33 PM
aaronpuchert closed D8654: Don't ask for compiler-specific includes in QmlJS.
Nov 13 2017, 11:33 PM

Nov 7 2017

aaronpuchert committed R32:8cbb71444fd5: Ignore unrecognized files in CompilerProvider (authored by aaronpuchert).
Ignore unrecognized files in CompilerProvider
Nov 7 2017, 2:22 PM
aaronpuchert added a comment to D8654: Don't ask for compiler-specific includes in QmlJS.

Technically, we need only D8653 or this change to fix bug 386388. Do we still want this change?

Nov 7 2017, 12:37 PM
aaronpuchert committed R32:2462a638732d: Ignore unrecognized files in CompilerProvider (authored by aaronpuchert).
Ignore unrecognized files in CompilerProvider
Nov 7 2017, 12:32 PM
aaronpuchert closed D8653: Ignore unrecognized files in CompilerProvider.
Nov 7 2017, 12:31 PM

Nov 4 2017

aaronpuchert committed R32:eb47a383b81c: Recognize MIME type text/x-opencl-src as OpenCL (authored by aaronpuchert).
Recognize MIME type text/x-opencl-src as OpenCL
Nov 4 2017, 7:59 PM
aaronpuchert closed D8644: Recognize MIME type text/x-opencl-src as OpenCL.
Nov 4 2017, 7:58 PM
aaronpuchert created D8654: Don't ask for compiler-specific includes in QmlJS.
Nov 4 2017, 6:38 PM
aaronpuchert created D8653: Ignore unrecognized files in CompilerProvider.
Nov 4 2017, 6:37 PM
aaronpuchert added a comment to D8317: Don't try to guess the language from given arguments.

I know that there is a problem, see the discussion on change D8634. The problem is that I'm not sure how to proceed: when do we encounter Utils::Other, and what do we do about it? The Clang Parser can probably not parse a file of type Utils::Other anyway.

Nov 4 2017, 5:24 PM

Nov 3 2017

aaronpuchert added a comment to D8634: Custom defines/includes: Improve handling of parser arguments.

I'm going to address the comments I didn't reply to.

Nov 3 2017, 5:53 PM
aaronpuchert created D8644: Recognize MIME type text/x-opencl-src as OpenCL.
Nov 3 2017, 5:42 PM
aaronpuchert created D8634: Custom defines/includes: Improve handling of parser arguments.
Nov 3 2017, 2:05 AM

Oct 20 2017

aaronpuchert added a comment to D8211: KDevelop/Documentation : implementation of a QTextBrowser-based viewer.

The discussion is getting really nasty and I don't think it leads anywhere.

Oct 20 2017, 8:46 PM · KDevelop

Oct 19 2017

aaronpuchert added a comment to D8211: KDevelop/Documentation : implementation of a QTextBrowser-based viewer.

And "more advanced rendering code" still makes sense in an integrated development environment, at least to me, I see rendering power orthogonal to being part of IDE. Actually I consider a separate general browser application an inferior solution, as it does not allow to be properly integrated into kdevelop project/session management (project/session specific bookmarks, browsing history, tight control about location in UI etc).

Oct 19 2017, 11:32 PM · KDevelop

Oct 17 2017

aaronpuchert added a comment to D8317: Don't try to guess the language from given arguments.

If you run arc patch D8317 locally, you should get the commit with all necessary information, including my email address.

Oct 17 2017, 8:01 PM

Oct 16 2017

aaronpuchert added a comment to D8317: Don't try to guess the language from given arguments.

I don't have commit access yet, so could you commit this for me?

Oct 16 2017, 8:45 PM

Oct 15 2017

aaronpuchert updated the diff for D8317: Don't try to guess the language from given arguments.

Added language flag for Objective C.

Oct 15 2017, 8:51 PM
aaronpuchert created D8317: Don't try to guess the language from given arguments.
Oct 15 2017, 8:31 PM

Oct 11 2017

aaronpuchert added a comment to D8211: KDevelop/Documentation : implementation of a QTextBrowser-based viewer.
In D8211#154109, @rjvbb wrote:

I tested the build using WebKit as the backend with and without my patch (not with the very latest version) and didn't notice any difference. I do notice that it won't follow most (if not all) links in the documentation (also without my patch), is there something wrong with my build there?

Oct 11 2017, 8:40 PM · KDevelop

Sep 27 2017

aaronpuchert added inline comments to D7995: KDevelop: address dirwatching inefficiency (WIP/PoC).
Sep 27 2017, 9:12 PM · KDevelop

Sep 17 2017

aaronpuchert added a comment to D7745: KDevelop (full) project parsing: defer until all projects have been loaded..
In D7745#146271, @rjvbb wrote:

Seriously, how many of us use KDevelop to work on projects the size of GCC or llvm and need dirwatching on the whole tree? How expensive is that on Linux, *after* the initial import?

Watching directories is quite essential when working with Git or other SCMs. When checking out another branch, I want KDevelop's file tree to be updated as well.

Sep 17 2017, 1:59 PM · KDevelop

Sep 5 2017

aaronpuchert added a comment to D7693: Enable reproducible packaging of template archives.

Thanks!

Sep 5 2017, 8:28 PM
aaronpuchert added a comment to D7693: Enable reproducible packaging of template archives.

I see you already submitted the change, but you omitted --sort=name.

Sep 5 2017, 6:31 PM

Sep 4 2017

aaronpuchert created D7693: Enable reproducible packaging of template archives.
Sep 4 2017, 10:18 PM

Aug 18 2017

aaronpuchert updated the diff for D7280: Add syntax highlighting for Metamath.

Fix commit message and indentation.

Aug 18 2017, 10:21 PM · Frameworks

Aug 13 2017

aaronpuchert added inline comments to D5491: Improve detection of builtin defines from compiler command.
Aug 13 2017, 7:44 PM
aaronpuchert updated the diff for D7280: Add syntax highlighting for Metamath.

Changed license to MIT.

Aug 13 2017, 12:13 PM · Frameworks
aaronpuchert added a comment to D7280: Add syntax highlighting for Metamath.

I don't have a commit account, so I'd need you to commit the changes.

Aug 13 2017, 12:12 PM · Frameworks

Aug 12 2017

aaronpuchert added a comment to D7280: Add syntax highlighting for Metamath.

There are screenshots of other (known) syntax highlighters for Metamath on their homepage.

Aug 12 2017, 9:59 PM · Frameworks
aaronpuchert created D7280: Add syntax highlighting for Metamath.
Aug 12 2017, 9:46 PM · Frameworks

Jul 10 2017

aaronpuchert added a comment to D6184: restore horizontal scrollbar in the project manager plugin.
In D6184#123281, @rjvbb wrote:

I'm beginning to understand the objections from X11 users. Even with my settings horizontal scrolling behaves as if it's configured to scroll at least half the viewport width at a time. On Mac/Cocoa, horizontal and vertical scrolling are equally smooth, and that's where I did most of my testing (while replying to this ticket).

Jul 10 2017, 10:00 PM · KDevelop