Feed Advanced Search

Jan 27 2019

rjvbb committed R32:a7c053a39218: kdev-clazy: use canonical paths (authored by rjvbb).
kdev-clazy: use canonical paths
Jan 27 2019, 10:32 AM
rjvbb closed D15797: [kdev-clazy] : use canonical paths.
Jan 27 2019, 10:32 AM · KDevelop

Jan 26 2019

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

It'd be interesting to have an estimate of how much faster this makes that initial parse.

Jan 26 2019, 10:36 PM · KDevelop
rjvbb added a comment to D18547: Don't enable -Wzero-as-null-pointer-constant on apple clang.

This is in fact cmake's fault, or ECM's for not taking a cmake quirk into account.

Jan 26 2019, 7:18 PM · Build System, Frameworks
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

There are mechanisms to ensure cleanup in any event by removing an open file on POSIX compatibles (close will then

Jan 26 2019, 4:18 PM · KDevelop
rjvbb requested changes to D18547: Don't enable -Wzero-as-null-pointer-constant on apple clang.

See also https://phabricator.kde.org/D16894 which (initially) aimed to tackle this in a more general fashion.

Jan 26 2019, 1:13 PM · Build System, Frameworks

Jan 25 2019

rjvbb set the repository for D17289: KDevelop/Shell: set dedicated TMPDIR to R32 KDevelop.
Jan 25 2019, 11:13 PM · KDevelop
rjvbb updated the diff for D17289: KDevelop/Shell: set dedicated TMPDIR.

This version saves the original TMPDIR value, and adds a wrapper around QProcessEnvironment::systemEnvironment() that restores that original value. To keep changes to a minimum I've added that wrapper to the Core class itself.

Jan 25 2019, 11:12 PM · KDevelop
rjvbb set the repository for D15530: kdev-clang : somewhat more complete ObjC(++) support to R32 KDevelop.
Jan 25 2019, 1:58 PM · KDevelop
rjvbb updated the diff for D15530: kdev-clang : somewhat more complete ObjC(++) support.

Updated as discussed.

Jan 25 2019, 1:57 PM · KDevelop
rjvbb added a comment to D15530: kdev-clang : somewhat more complete ObjC(++) support.

Where or how can I find what to put in the JSON comments?

Jan 25 2019, 12:50 PM · KDevelop
rjvbb added inline comments to D15530: kdev-clang : somewhat more complete ObjC(++) support.
Jan 25 2019, 12:41 PM · KDevelop
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

Jan 24 2019

rjvbb set the repository for D18380: KIO: make file dialog columns resizable again (and movable) to R241 KIO.
Jan 24 2019, 6:49 PM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

Use qobject_cast.

Jan 24 2019, 6:49 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).
As far as I know, using qobject_cast is faster than comparing class names, because it only compares metaclass pointers. Additionally, it allows subclasses.
Jan 24 2019, 3:14 PM · Frameworks
rjvbb added inline comments to D18380: KIO: make file dialog columns resizable again (and movable).
Jan 24 2019, 1:57 PM · Frameworks
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
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

David, Andreas, any idea why the name column all of a sudden jumps to a larger width when the widget is used in a side-bar and you're making the view narrower and approach the minimum width? It works in our favour here because the end result is that the name column becomes about as wide as the view itself (and I ensure it won't change size again).
It just nags me a bit that I haven't been able to figure out why it happens...

Jan 24 2019, 8:22 AM · Frameworks
rjvbb added reviewers for D18380: KIO: make file dialog columns resizable again (and movable): dfaure, ahartmetz.
Jan 24 2019, 8:16 AM · Frameworks

Jan 23 2019

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
rjvbb added a reviewer for D18380: KIO: make file dialog columns resizable again (and movable): Frameworks.
Jan 23 2019, 9:15 AM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

The behavior is better now, thanks.

Jan 23 2019, 9:10 AM · Frameworks

Jan 22 2019

rjvbb set the repository for D18380: KIO: make file dialog columns resizable again (and movable) to R241 KIO.
Jan 22 2019, 10:43 PM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

the change to the headerfile was now redundant.

Jan 22 2019, 10:43 PM · Frameworks
rjvbb set the repository for D18380: KIO: make file dialog columns resizable again (and movable) to R241 KIO.
Jan 22 2019, 10:38 PM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

Well, that was "interesting".

Jan 22 2019, 10:37 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

I'm still going to try to fix this

Jan 22 2019, 1:34 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

Yikes, and I can reproduce that. Did you notice this with previous versions that used font stretch? (Probably not if stretch had no effect for the font(s) you tried it with...)

Jan 22 2019, 9:22 AM · Frameworks

Jan 21 2019

rjvbb set the repository for D18380: KIO: make file dialog columns resizable again (and movable) to R241 KIO.
Jan 21 2019, 10:55 PM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

This version uses letterspacing rather than font stretch, so works regardless of whether a stylename has been set on the font.

Jan 21 2019, 10:55 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

The discussion in that bug kind of petered out, unfortunately.

Jan 21 2019, 8:46 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

Oh sh@@t, I understand what's happening here.

Jan 21 2019, 11:50 AM · Frameworks
rjvbb committed R626:ce666898125a: QStyleOptionFrameV2 is an obsolete synonym for QStyleOptionFrame (authored by rjvbb).
QStyleOptionFrameV2 is an obsolete synonym for QStyleOptionFrame
Jan 21 2019, 10:52 AM

Jan 20 2019

rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).
I don't see the squeezed text when using Breeze and Noto Sans. Am I missing something?
Jan 20 2019, 10:55 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

My QtCurve-based theme, "narrow mode" just activated:


Idem, "narrow mode" just deactivated

Jan 20 2019, 4:40 PM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

Final attempt at being a bit clever :)

Jan 20 2019, 4:34 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

One thing we might be able to do is use QFont::setStretch() to make the text a bit more compact. I'll follow that thought for a bit.

Jan 20 2019, 10:40 AM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

I agree that reducing the size column width isn't as easy as I thought. I find it takes up more space than necessary when horizontal space is at a premium and I was hoping to get a more compact read-out that can still be interpreted ... and that would show itself in full in a tooltip.

Jan 20 2019, 9:56 AM · Frameworks

Jan 19 2019

rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).
If there's still enough room to show everything without a horizontal scrollbar, then we're still good.
Jan 19 2019, 10:12 PM · Frameworks
rjvbb set the repository for D18380: KIO: make file dialog columns resizable again (and movable) to R241 KIO.
Jan 19 2019, 10:11 PM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

tentative fix for "very narrow views".

Jan 19 2019, 10:08 PM · Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

Maybe we can incorporate some more intelligence here

Jan 19 2019, 6:41 PM · Frameworks
rjvbb set the repository for D18380: KIO: make file dialog columns resizable again (and movable) to R241 KIO.
Jan 19 2019, 11:47 AM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

Setting explicit sizes is best done in a mode that supports doing so... =/
Also, sections can be movable (again) now (I often like to see dates first, sizes 2nd).

Jan 19 2019, 11:47 AM · Frameworks
rjvbb set the repository for D18380: KIO: make file dialog columns resizable again (and movable) to R241 KIO.
Jan 19 2019, 10:17 AM · Frameworks
rjvbb updated the diff for D18380: KIO: make file dialog columns resizable again (and movable).

I realised the 1st version introduced a regression. This update restores automatic sizing when the dialog is resized.
The fix currently has the effect of undoing any column sizing the user may have done before resizing the entire dialog, but that doesn't seem entirely unjustified. It won't be hard to preserve the interactive resize mode for sections that have a custom size but AFAIAC we can put off implementing that until there's a clear demand for it.

Jan 19 2019, 10:17 AM · Frameworks
rjvbb requested review of D18380: KIO: make file dialog columns resizable again (and movable).
Jan 19 2019, 10:10 AM · Frameworks

Jan 17 2019

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

Jan 15 2019

rjvbb committed R32:c088890cefbd: CMake plugin: don't hardcode a default install prefix. (authored by rjvbb).
CMake plugin: don't hardcode a default install prefix.
Jan 15 2019, 7:28 PM
rjvbb closed D17255: KDevelop: support for installing into a non-standard parallel prefix.
Jan 15 2019, 7:28 PM · KDevelop

Jan 14 2019

rjvbb added a comment to D17308: Make CTags/Projects context menu more accessible.

Should I check if current master works as I intended, WITHOUT your patch, because it does not apply to current master.

Jan 14 2019, 11:02 AM · Kate

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

Jan 12 2019

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
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
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

Jan 10 2019

rjvbb committed R32:41a0f0ce5197: clang: detect Clang builtin dirs at runtime on Unix (authored by rjvbb).
clang: detect Clang builtin dirs at runtime on Unix
Jan 10 2019, 9:52 PM
rjvbb closed D17858: clang: Also detect Clang builtin dirs at runtime on Unix.
Jan 10 2019, 9:52 PM · KDevelop
rjvbb set the repository for D17858: clang: Also detect Clang builtin dirs at runtime on Unix to R32 KDevelop.
Jan 10 2019, 4:23 PM · KDevelop
rjvbb updated the diff for D17858: clang: Also detect Clang builtin dirs at runtime on Unix.

+++V

Jan 10 2019, 4:23 PM · KDevelop
rjvbb added inline comments to D17858: clang: Also detect Clang builtin dirs at runtime on Unix.
Jan 10 2019, 3:04 PM · KDevelop
rjvbb set the repository for D17858: clang: Also detect Clang builtin dirs at runtime on Unix to R32 KDevelop.
Jan 10 2019, 11:20 AM · KDevelop
rjvbb updated the diff for D17858: clang: Also detect Clang builtin dirs at runtime on Unix.

++V

Jan 10 2019, 11:20 AM · KDevelop

Jan 9 2019

rjvbb set the repository for D17858: clang: Also detect Clang builtin dirs at runtime on Unix to R32 KDevelop.
Jan 9 2019, 8:01 PM · KDevelop
rjvbb updated the diff for D17858: clang: Also detect Clang builtin dirs at runtime on Unix.

V3

Jan 9 2019, 8:01 PM · KDevelop
rjvbb added a comment to D17858: clang: Also detect Clang builtin dirs at runtime on Unix.

Should I de-obfuscate and remove that lambda expression too while we're at it? Its body could be the body of clangBuiltinIncludePath() itself, AFAICT.

Jan 9 2019, 7:58 PM · KDevelop
rjvbb set the repository for D17858: clang: Also detect Clang builtin dirs at runtime on Unix to R32 KDevelop.
Jan 9 2019, 3:16 PM · KDevelop
rjvbb updated the diff for D17858: clang: Also detect Clang builtin dirs at runtime on Unix.

Updated as discussed in my previous comment. I've also followed flherne's suggestion to move the check for the reference file file into ClangHelpers::clangBuiltinIncludePath(). This does require some changes elsewhere because it can now fail (return an empty string).

Jan 9 2019, 3:16 PM · KDevelop
rjvbb added a comment to D17858: clang: Also detect Clang builtin dirs at runtime on Unix.

Perhaps the check found in plugins/clang/clangsupport.cpp:185 should be moved into this function

Jan 9 2019, 3:03 PM · KDevelop

Jan 4 2019

rjvbb added a comment to D17278: Meson plugin: First working version.

arrowd accepted this revision.
arrowd added a comment.

Jan 4 2019, 4:20 PM · Documentation, KDevelop

Dec 29 2018

rjvbb added a comment to D17858: clang: Also detect Clang builtin dirs at runtime on Unix.
Users shouldn't change the dependencies and expect things to work without a rebuild.
Dec 29 2018, 10:13 PM · KDevelop
rjvbb requested review of D17858: clang: Also detect Clang builtin dirs at runtime on Unix.
Dec 29 2018, 7:24 PM · KDevelop

Dec 27 2018

rjvbb added a comment to D17794: Pkg-config plugin.
Shouldn't these come from the project manager?
Dec 27 2018, 9:06 AM · KDevelop

Dec 26 2018

rjvbb added a comment to D17794: Pkg-config plugin.

Yes, I'm hoping that others will chime in here on this aspect too.

Dec 26 2018, 12:54 PM · KDevelop
rjvbb added a comment to D17794: Pkg-config plugin.

Again, I strongly doubt that you can build kdevelop and all of its dependencies without having pkgconfig installed. Someone using kdevelop for development with libraries that provide .pc files will almost certainly have pkgconfig installed too. So really, the platform argument is moot IMHO. But if you really want to push it: as a Mac user I can guarantee that we (as in developers working on Mac) will have pkgconfig installed through one of a handful of package managers which we'll also be using to install the libraries we need for our development. IOW, pkgconfig *will* be installed in a more-or-less standard location (certainly considered standard on the local set-up) and you can bet it's on the path. Having used cygwin extensively in the past I am certain pkgconfig will be on the path in that universe too, and in the end that's all that counts (if you cannot configure the location of the executable).

Dec 26 2018, 8:59 AM · KDevelop

Dec 25 2018

rjvbb added a comment to D17794: Pkg-config plugin.

Continuing from a few thoughts I launched on the original T10209, mainly aimed at keeping the project configuration dialog's left side-bar as unencumbered as possible. I think the current plugin could be merged into the customdefinesandincludes plugin because it provides a programmatic way to add include paths and/or defines.

Dec 25 2018, 4:45 PM · KDevelop
rjvbb added a comment to T10209: Pull request - pkg-config plugin.
This plugin may be useful for any c/c++ project. For example indexer for CMake project KDevelop (sources of ide) don't see all required includes for me.
Dec 25 2018, 2:37 PM · KDevelop
rjvbb added a comment to T10209: Pull request - pkg-config plugin.

That could be useful for project managers that lack proper build system integration (IOW, there shouldn't be much use for it with the CMake and QMake project managers?)

Dec 25 2018, 9:51 AM · KDevelop

Dec 14 2018

rjvbb committed R495:72ea330791f0: remove obsolete comment (authored by rjvbb).
remove obsolete comment
Dec 14 2018, 12:07 PM
rjvbb committed R32:dc6a95e9628c: 2 missing KTextEditorPluginIntegration::MainWindow slots (authored by rjvbb).
2 missing KTextEditorPluginIntegration::MainWindow slots
Dec 14 2018, 8:49 AM
rjvbb closed D17465: KDevelop/Shell : add 2 missing KTextEditorPluginIntegration::MainWindow slots.
Dec 14 2018, 8:49 AM · KDevelop

Dec 11 2018

rjvbb added a comment to D17465: KDevelop/Shell : add 2 missing KTextEditorPluginIntegration::MainWindow slots.

No objections?

Dec 11 2018, 3:33 PM · KDevelop

Dec 10 2018

rjvbb added a comment to M133: Fonts KCM simple vs advanced modes.

The current master is fontconfig only, since there is no way to leave the fontconfig specific parts out of QML.

Dec 10 2018, 8:49 PM · Plasma: KCM Redesign
rjvbb added a comment to M133: Fonts KCM simple vs advanced modes.

It's not clear who wrote that about being fontconfig specific (or the IMHO incorrect suggestion that Freetype is implemented 3x).

Dec 10 2018, 7:31 PM · Plasma: KCM Redesign
rjvbb added a comment to M133: Fonts KCM simple vs advanced modes.

Why not make these separate KCMs? I don't know how usual it is to open just the fonts KCM (kcmshell5 fonts) or if the vast majority of users gets to that config page only via the systemsettings app. For those you don't need to implement a tab-like mode switch because systemsettings already provides that for different KCMs. And users who go through kcmshell5 can probably learn quite easily to modify their commandline.
This approach also means you don't have to worry about whether and how to implement mode persistence.

Dec 10 2018, 6:22 PM · Plasma: KCM Redesign
rjvbb closed D17314: Projects Plugin: Add ShellCheck analyzer.

Fixed in 66a84c9e0f94351b8f328f3c0af259983bfc1592

Dec 10 2018, 1:15 PM · Kate
rjvbb added a comment to D17314: Projects Plugin: Add ShellCheck analyzer.

I can commit if you want (if nobody else beats me to it).

Dec 10 2018, 12:29 PM · Kate
rjvbb reopened D17314: Projects Plugin: Add ShellCheck analyzer.

I'm not finding any information on a QStringLiteral header file in the official documentation; it certainly doesn't exist in Qt 5.9.7 yet. AFAIK the header to include is the one for QString.

Dec 10 2018, 12:10 PM · Kate
rjvbb committed R40:1b5396cedbbc: set icon and title on the CTags/Configure dialog (authored by rjvbb).
set icon and title on the CTags/Configure dialog
Dec 10 2018, 10:13 AM
rjvbb added a comment to D16779: kate-ctags plugin: support KDevelop (WIP).

Better late than never: I also figured out how to make the plugin's toolview display correctly in KDevelop: https://commits.kde.org/kate/3cd03f408eed2d66ae008fb8349f8b5af24260e9

Dec 10 2018, 9:43 AM · KDevelop, KTextEditor, Kate
rjvbb updated the test plan for D17465: KDevelop/Shell : add 2 missing KTextEditorPluginIntegration::MainWindow slots.
Dec 10 2018, 9:40 AM · KDevelop
rjvbb committed R40:3cd03f408eed: CTags plugin : missed KDevelop integration aspects (authored by rjvbb).
CTags plugin : missed KDevelop integration aspects
Dec 10 2018, 9:29 AM

Dec 9 2018

rjvbb requested review of D17465: KDevelop/Shell : add 2 missing KTextEditorPluginIntegration::MainWindow slots.
Dec 9 2018, 10:06 PM · KDevelop