brauch (Sven Brauch)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Jan 25 2016, 10:25 AM (146 w, 2 d)
Availability
Available

Recent Activity

Yesterday

brauch requested changes to D12746: KDevelop: alternative monolithic storage options for TopDUContexts (PoC).

Sorry, I don't see this going in in this or a similar form.

Tue, Nov 13, 10:50 AM · KDevelop

Sun, Nov 4

brauch added a comment to D16668: Remove document preview plugin: current technology harms workflow.

A solution might be to extend KXmlGui to somehow support such situations,
and decide who owns the shortcut by looking at the focus.

Sun, Nov 4, 10:53 PM · Kate

Wed, Oct 31

brauch added inline comments to D16484: Add scratchpad plugin.
Wed, Oct 31, 2:24 PM · KDevelop

Tue, Oct 30

brauch committed R877:9d47038339df: set default target to 5.3 branch for KDevelop (authored by brauch).
set default target to 5.3 branch for KDevelop
Tue, Oct 30, 10:37 PM

Mon, Oct 29

brauch added inline comments to D16484: Add scratchpad plugin.
Mon, Oct 29, 3:28 PM · KDevelop
brauch added a comment to D16484: Add scratchpad plugin.

I'd have to use this for a while to see whether it works well in practice, but in general it seems like a cool idea.

Mon, Oct 29, 3:11 PM · KDevelop

Thu, Oct 25

brauch added a comment to D15976: Fix KDevelop's detection for Visual Studio 2017 compiler and tools..

Any help on the Windows version is greatly appreciated, whenever you find the time for it. :)

Thu, Oct 25, 2:57 PM · KDevelop
brauch committed R52:177f473da1cd: Set version number to 5.3.0 (authored by brauch).
Set version number to 5.3.0
Thu, Oct 25, 8:31 AM
brauch committed R53:05fbc4ee57eb: Set version number to 5.3.0 (authored by brauch).
Set version number to 5.3.0
Thu, Oct 25, 8:30 AM
brauch committed R32:306a2a04a89b: Set version number to 5.3.0 (authored by brauch).
Set version number to 5.3.0
Thu, Oct 25, 8:28 AM

Tue, Oct 23

brauch accepted D16386: Place cursor after opening brace for function implementation.

Well, I guess adding line offsets is just the level of abstraction our code gen works at, anyways. Which is good enough. In my opinion, go for it ;)

Tue, Oct 23, 2:48 PM · KDevelop
brauch added a comment to D16386: Place cursor after opening brace for function implementation.

Is the opening brace always on its own line, independent of the formatter selected?

Tue, Oct 23, 2:17 PM · KDevelop

Mon, Oct 22

brauch added a comment to D16315: Offer completion after user types the scope resolution operator..

I'm inclined to say this looks innocent enough to go into 5.3 ...

Mon, Oct 22, 6:12 AM · KDevelop

Sun, Oct 21

brauch added a comment to D16064: Fix memleaks in unittests.

Can go to 5.3 in my opinion. Thank you!

Sun, Oct 21, 3:28 PM · KDevelop

Wed, Oct 17

brauch added a comment to D16203: Context browser: fix handleRect for non-symbol tooltips.

I'm not a huge fan of tuples either, for the reason you mentioned; I usually just create a two-element struct instead. In this case I think it's fairly obvious what the elements do from the types, though; the QPair<int, int> is worse ;)
Up to you how you do this, I just wanted to point out that it is done differently in two similar places.

Wed, Oct 17, 4:47 PM · KDevelop
brauch added a comment to D16203: Context browser: fix handleRect for non-symbol tooltips.

I think the change conceptually makes sense, and I am subconsciously aware of the bug it is trying to fix. If you say it works for you, it should be fine.

Wed, Oct 17, 3:51 PM · KDevelop

Oct 15 2018

brauch added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.

If there is no solution which does not require two different code paths for handling this problem, I'm against merging this, non-conformant old behaviour or not, sorry.

Oct 15 2018, 10:35 AM · KDevelop

Oct 12 2018

brauch accepted D16123: windows: Detect VS2017 compiler and tools.

I also find this reasonably simple to read. The "type your compiler arch" thing is extremely 80s of course, but the whole concept is a hack :/

Oct 12 2018, 7:29 AM · KDevelop

Oct 11 2018

brauch added a comment to D15804: Fix Duplicates on Quick Open File.

Code-wise this looks fine to me otherwise.

Oct 11 2018, 9:00 AM · Kate
brauch added a comment to D15804: Fix Duplicates on Quick Open File.

I can try it out.

Oct 11 2018, 8:57 AM · Kate
brauch added a comment to D15804: Fix Duplicates on Quick Open File.

I think the main performance issue here was fixed in 90f51f5830e32998d41a710c448212e49e1be04a, in my profiles that took >95% of the time. It's still worth optimizing, but I think no matter what you do there should not be complaints like the one linked in the bug report any more ...

Oct 11 2018, 8:37 AM · Kate

Oct 9 2018

brauch accepted D16085: Improve support for 'with' statements..

Otherwise looks good! If you feel super ambitious you could add a test, should be very simple ;)

Oct 9 2018, 6:09 PM · KDevelop

Oct 5 2018

brauch accepted D15955: clang: Also detect Clang builtin dirs at runtime.

Looks good to me, and with little risk ... on Linux nothing changes, on Windows we test it anyways before shipping.

Oct 5 2018, 11:14 AM · KDevelop

Oct 3 2018

brauch added a comment to D15895: Use CLANG_INCLUDE_DIRS for clang include dir.

On Arch Linux, the latest version of the patch seems to work fine.

Oct 3 2018, 5:12 PM · KDevelop

Sep 26 2018

brauch committed R877:b0d4b8eced7d: unbreak kdevelop blueprint (stable -> unstable in URL scheme) (authored by brauch).
unbreak kdevelop blueprint (stable -> unstable in URL scheme)
Sep 26 2018, 8:21 AM

Sep 23 2018

brauch committed R877:347930b1086d: KDevelop: build 5.3 beta tarballs (authored by brauch).
KDevelop: build 5.3 beta tarballs
Sep 23 2018, 11:31 PM

Sep 19 2018

brauch committed R32:997be66c7fc6: appimage: fix clang plugin from not loading (authored by brauch).
appimage: fix clang plugin from not loading
Sep 19 2018, 9:13 PM

Sep 5 2018

brauch accepted D14818: Fix ClassNameReferences..

I'm not really capable of doing an in-depth review here, since I don't know enough details of PHP nowadays. Style-wise I think it could still profit from reducing the block size of un-named (i.e. not a function with a name), uncommented complex code a bit, since it often requires quite some thinking to grasp what a certain conditional actually checks for. A simple comment like "// not a function" or whatever can do wonders there.
Feel free to merge this as-is or with a bit more comments, better get it in before the beta and still have a fix window before the release than merge it after the beta. Thanks for keeping kdev-php alive!

Sep 5 2018, 5:42 PM · KDevelop
brauch added a comment to D14865: clang: include tooltips: fix range check.

I'm super confused by the diff phabricator shows below but the commited changes are correct (and different from the diff here) ... what's going on?

Sep 5 2018, 7:56 AM · KDevelop
brauch added a comment to D7010: KSqueezedTextLabel: call updateGeometry() when text changes.

For the record, I tried writing a test for this but didn't succeed and eventually put it aside, although the difference is easily visible in a test application. There must be a reason why the naive test case behaves differently from an interactive application ... I could take another look, I guess.

Sep 5 2018, 7:48 AM · Frameworks

Aug 21 2018

brauch committed R499:08c8604fc862: Set stable branch of KDevelop + plugins to 5.3 (authored by brauch).
Set stable branch of KDevelop + plugins to 5.3
Aug 21 2018, 11:28 AM

Aug 20 2018

brauch committed R32:c0e3d5248aa6: Add ExplicitlyTyped flag to Declaration. (authored by michalsrb).
Add ExplicitlyTyped flag to Declaration.
Aug 20 2018, 9:37 AM
brauch closed D14838: Add ExplicitlyTyped flag to Declaration..
Aug 20 2018, 9:37 AM · KDevelop
brauch committed R877:45127004671e: set version to 5.2.4 for KDevelop (authored by brauch).
set version to 5.2.4 for KDevelop
Aug 20 2018, 9:15 AM

Aug 19 2018

brauch committed R53:0a886a8b0c4e: Set version number to 5.2.4 (authored by brauch).
Set version number to 5.2.4
Aug 19 2018, 2:53 PM
brauch committed R52:5f9eed585d69: Set version number to 5.2.4 (authored by brauch).
Set version number to 5.2.4
Aug 19 2018, 2:51 PM
brauch committed R32:9a09ad18da80: Set version number to 5.2.4 (authored by brauch).
Set version number to 5.2.4
Aug 19 2018, 2:50 PM

Aug 17 2018

brauch added a comment to D14897: InlineNote: Pimpl inline note data without allocs.

Sorry, never mind -- that code I removed yesterday. All should be fine.

Aug 17 2018, 11:41 AM · Frameworks, Kate
brauch added a comment to D14897: InlineNote: Pimpl inline note data without allocs.

Looks ok to me, except one thing: the operator== is used to compare a note from the list to the "currently active" note in the view. If this compares also the "under mouse" state, this code might be broken now ...?

Aug 17 2018, 11:07 AM · Frameworks, Kate
brauch added a comment to D14818: Fix ClassNameReferences..

Good amount of tests :) For the actual implementation, I would suggest trying to make it a bit more readable by a) splitting it up into several functions and b) trying to reduce indent depth a bit by using continue instead of nested ifs.

Aug 17 2018, 9:48 AM · KDevelop
brauch accepted D14876: Improved type detection for object properties..

Maybe you make the the visitAssignment code a bit more readable by breaking it up into 2-3 functions?

Aug 17 2018, 9:41 AM · KDevelop
brauch accepted D14839: Improve resolution of namespaced identifiers..

As I said at Akademy already, I am neither familiar with the code of the PHP plugin nor with the later developments in the language itself, so I'm not a good reviewer for these patches. But since you want to get them in and nobody else seems to have time, I have read through this and I can't spot anything obviously wrong or stupid. We'll have a beta to try it out :)

Aug 17 2018, 9:31 AM · KDevelop
brauch added a comment to D14894: [RFC] Fix block mode for multi-cursor branch.

Thanks for the patch, the approach looks reasonable at a first glance. You might want to unite the up/down functions ...
It is too much of a WiP to merge it like this, though.

Aug 17 2018, 9:05 AM · Frameworks, Kate

Aug 16 2018

brauch committed R39:a534a608fa67: fix build: link against KF5::SyntaxHighlighting where needed (authored by brauch).
fix build: link against KF5::SyntaxHighlighting where needed
Aug 16 2018, 11:15 PM
brauch committed R39:4ea5fee0afe5: Add inline note interface (authored by brauch).
Add inline note interface
Aug 16 2018, 11:15 PM
brauch closed D14826: inline note interface wip #2.

commit 4ea5fee0afe5c76bbee07563c23ede808aa059de
Author: Sven Brauch <mail@svenbrauch.de>
Date: Tue Aug 14 12:31:31 2018 +0200

Aug 16 2018, 11:15 PM · Frameworks, Kate
brauch updated the diff for D14826: inline note interface wip #2.

update license text

Aug 16 2018, 9:53 PM · Frameworks, Kate
brauch updated the diff for D14826: inline note interface wip #2.

Implement Dominik's suggestions

Aug 16 2018, 9:49 PM · Frameworks, Kate
brauch added a comment to D14879: Fix VariableToolTip auto resizing..

The patches you submitted recently are all very nice, if you feel think you are going to contribute more things in the future, I'm sure we can give you the permission bit to write to the KDE repos yourself :)
Just let us know at any time if you want that.

Aug 16 2018, 3:21 PM · KDevelop
brauch committed R32:6b146066a491: Fix VariableToolTip auto resizing. (authored by michalsrb).
Fix VariableToolTip auto resizing.
Aug 16 2018, 3:18 PM
brauch closed D14879: Fix VariableToolTip auto resizing..
Aug 16 2018, 3:18 PM · KDevelop
brauch added a comment to D14870: Inject environment profile variables into debug process environment..

Of course arc is too stupid for the special characters in your name, sorry about that ...

Aug 16 2018, 12:19 PM · KDevelop
brauch committed R53:6b7846263088: Inject environment profile variables into debug process environment. (authored by Kebianizao).
Inject environment profile variables into debug process environment.
Aug 16 2018, 12:18 PM
brauch closed D14870: Inject environment profile variables into debug process environment..
Aug 16 2018, 12:18 PM · KDevelop
brauch added a comment to D14870: Inject environment profile variables into debug process environment..

No, you need special karma to push to the KDE repos. If you are not aware you have this, you have not ;)
I will submit this for you later.

Aug 16 2018, 12:05 PM · KDevelop
brauch accepted D14870: Inject environment profile variables into debug process environment..

This change looks very reasonable to me. Thank you!

Aug 16 2018, 6:45 AM · KDevelop

Aug 15 2018

brauch added a comment to D14710: Inject default environment group variables into debug process environment..

I'm actually fine with this approach, I just don't understand why the environment is set once on the process and once on the job. Why is this necessary, or do I misunderstand what it's doing ...?

Aug 15 2018, 9:57 PM · KDevelop
brauch updated the diff for D14826: inline note interface wip #2.

address Dominik's suggestion and split focus handling and click handling

Aug 15 2018, 9:55 PM · Frameworks, Kate
brauch committed R52:97235b1455c6: Merge branch 'master' into 5.3 (authored by brauch).
Merge branch 'master' into 5.3
Aug 15 2018, 9:33 PM
brauch added a comment to D14710: Inject default environment group variables into debug process environment..

I have infinite patience in watching other people do the work, so by all means, go ahead! :-)

Aug 15 2018, 9:03 PM · KDevelop
brauch added a comment to D14710: Inject default environment group variables into debug process environment..

Thanks for the patch!

Aug 15 2018, 8:43 PM · KDevelop
brauch requested review of D14865: clang: include tooltips: fix range check.
Aug 15 2018, 7:48 PM · KDevelop
brauch updated the diff for D14826: inline note interface wip #2.

I added the rest of the interaction interface (click, mouseover)
and reduced the API a bit by moving a few hints into the InlineNote
object.

Aug 15 2018, 6:26 PM · Frameworks, Kate

Aug 14 2018

Restricted Application added a project to D5802: ViewPrivate, KateSearchBar, KateVi::MatchHighlighter: use selection foreground for search highlights: Kate.

Can't we simply update our shipped schemas, and expect users with custom schemas to fix them?

Aug 14 2018, 9:21 PM · Kate, Frameworks
brauch committed R52:d4f4291bdf92: Merge branch 'master' into 5.3 (authored by brauch).
Merge branch 'master' into 5.3
Aug 14 2018, 8:21 PM
brauch committed R52:38d2dbfaee7e: Set version to 5.2.80 (authored by brauch).
Set version to 5.2.80
Aug 14 2018, 8:21 PM
brauch committed R32:aa167a2de736: Set version number to 5.2.80 (authored by brauch).
Set version number to 5.2.80
Aug 14 2018, 8:19 PM
brauch accepted D14840: Fix last > rowCount() assert in ClassModel Node dtor.

Somehow I find the code rather strange, with the destructor removing items from the item model ...
But ok, if you tried it out and it fixes the problem, I guess it's fine.

Aug 14 2018, 3:41 PM · KDevelop
brauch updated the diff for D14826: inline note interface wip #2.

add noteActivated notifier function

Aug 14 2018, 3:23 PM · Frameworks, Kate
brauch accepted D14838: Add ExplicitlyTyped flag to Declaration..

Looks good to me, even with unit test! :)
If nobody objects within the next few days, I'll merge this.

Aug 14 2018, 2:53 PM · KDevelop
brauch added a comment to D14826: inline note interface wip #2.

Thanks for the feedback! I will try doing a few more things with this interace and then maybe discuss again with the other kate people here at Akademy about which one they like better.

Aug 14 2018, 2:12 PM · Frameworks, Kate
brauch reassigned T3662: Multi-Cursor: block selection mode is broken from brauch to lepagevalleeemmanuel.
Aug 14 2018, 1:41 PM · KTextEditor
brauch updated the diff for D14826: inline note interface wip #2.

add missing files

Aug 14 2018, 1:08 PM · Frameworks, Kate
brauch added a comment to D14826: inline note interface wip #2.

Sample patch for KDevelop's problem highlighter plus screenshot:


Aug 14 2018, 11:44 AM · Frameworks, Kate
brauch updated the summary of D14826: inline note interface wip #2.
Aug 14 2018, 11:39 AM · Frameworks, Kate
brauch added reviewers for D14826: inline note interface wip #2: michalsrb, dhaumann, cullmann.
Aug 14 2018, 10:33 AM · Frameworks, Kate
brauch requested review of D14826: inline note interface wip #2.
Aug 14 2018, 10:32 AM · Frameworks, Kate

Aug 13 2018

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

Ok, fine with me, I don't care much about the type. I just stumbled upon the comment and then noticed the type as well. Thanks for the patch, all fine from my side :)

Aug 13 2018, 7:35 PM · KDevelop
brauch closed D14791: Fix assert in ClassModel::nodesRemoved.

Submitted with f30ef7c6f1376 to 5.2, sorry, I forgot to set the diff in the commit message.

Aug 13 2018, 1:49 PM · KDevelop
brauch committed R32:f30ef7c6f137: Fix assert in ClassModel::nodesRemoved (authored by buschinski).
Fix assert in ClassModel::nodesRemoved
Aug 13 2018, 1:48 PM
brauch committed R32:ea29d8404df9: Fix assert in ClassModel::nodesRemoved (authored by buschinski).
Fix assert in ClassModel::nodesRemoved
Aug 13 2018, 1:47 PM
brauch accepted D14791: Fix assert in ClassModel::nodesRemoved.

Good find, the previous code (remove item -> call beginRemoveRows() -> call endRemoveRows()) definitely looks wrong. Can you submit this yourself?
Otherwise, I'd need an email address to set as the commit author.

Aug 13 2018, 1:40 PM · KDevelop
brauch accepted D14789: Ignore file size limit for internal data files..

Now I would compute the fileInfo's canonicalPath only once (it might require a stat) and then this looks okay :)
I can't accept it apparently because the discussion is still open ...

Aug 13 2018, 1:34 PM · KDevelop
brauch accepted R52:45329c939edf: Properly get the DUChain lock for constant declarations..

Yes, that looks reasonable.

Aug 13 2018, 12:31 PM
brauch added a comment to D12662: Add InlineNoteInterface.

I'd like to play with this a bit wrt what can be done in KDevelop with it (I want the problem popups gone). Would you mind if I do some changes along the way? I would post an updated patch here, in case I actually come up with useful changes ...

Aug 13 2018, 12:29 PM · Frameworks, Kate
brauch requested changes to D14789: Ignore file size limit for internal data files..
Aug 13 2018, 12:22 PM · KDevelop
brauch added inline comments to D14479: Store sizeof and friends as numbers instead of comment..
Aug 13 2018, 12:09 PM · KDevelop
brauch committed R40:90f51f5830e3: quickopen: optimize: remove model from SortFilter proxy model during populate (authored by brauch).
quickopen: optimize: remove model from SortFilter proxy model during populate
Aug 13 2018, 8:54 AM
brauch closed D14761: quickopen: optimize: remove model from SortFilter proxy model during populate.
Aug 13 2018, 8:54 AM · Kate
brauch committed R39:5499a0df825c: completion widget: fix minimum header section size (authored by brauch).
completion widget: fix minimum header section size
Aug 13 2018, 8:47 AM
brauch closed D14773: completion widget: fix minimum header section size.
Aug 13 2018, 8:47 AM · Frameworks, Kate
brauch committed R39:2815fea7854f: Fix: Scroll view lines instead of real lines for wheel and touchpad scrolling (authored by brauch).
Fix: Scroll view lines instead of real lines for wheel and touchpad scrolling
Aug 13 2018, 8:47 AM
brauch closed D14758: use view lines for wheel scrolling, not real lines.
Aug 13 2018, 8:47 AM · Frameworks, Kate
brauch committed R39:d40056b534cb: Merge branch 'master' into multicursor (authored by brauch).
Merge branch 'master' into multicursor
Aug 13 2018, 8:44 AM
brauch committed R39:193bce4cc218: view: wheel scrolling: scroll by dynwrap line, not real line (authored by brauch).
view: wheel scrolling: scroll by dynwrap line, not real line
Aug 13 2018, 8:44 AM
brauch committed R39:841ad634b100: completion widget: fix minimum header section size (authored by brauch).
completion widget: fix minimum header section size
Aug 13 2018, 8:44 AM
brauch added a comment to D12662: Add InlineNoteInterface.

By the way, other people around here are very impressed by this patch as well, and we'd really like to get this merged :)
Moving e.g. KDevelop's warning markers into an inline note instead of the annoying popup would make a real difference for usability ...

Aug 13 2018, 8:25 AM · Frameworks, Kate
brauch added a comment to D12662: Add InlineNoteInterface.

Wow, that looks amazing! Really impressive.

Aug 13 2018, 8:24 AM · Frameworks, Kate
brauch added a comment to D14758: use view lines for wheel scrolling, not real lines.

The "overly sensitive touchpad" issue seems to be missing accumulation of scroll events, so this patch to my understanding should not have it.

Yeah, I don't think that's our bug, and we shouldn't work around it here. The reporter should file a bug against libinput.

Aug 13 2018, 8:07 AM · Frameworks, Kate

Aug 12 2018

brauch added a comment to D14758: use view lines for wheel scrolling, not real lines.

The "overly sensitive touchpad" issue seems to be missing accumulation of scroll events, so this patch to my understanding should not have it.

Aug 12 2018, 9:33 PM · Frameworks, Kate