Feed Advanced Search

Nov 17 2018

rjvbb set the repository for D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions to R32 KDevelop.
Nov 17 2018, 11:08 AM · KDevelop
rjvbb updated the diff for D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.

New patch, same purpose, active principle as outlined in the reopening comment.

Nov 17 2018, 11:04 AM · KDevelop
rjvbb reclaimed D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.

Re-opening because I found an actual flaw in KDevelop after noticing that context menu duplication still occurred when only the active view receives the aboutToShowContextMenu signal.

Nov 17 2018, 10:58 AM · KDevelop
rjvbb added a comment to D16915: Disable plugin project config if project without a IBuildSystemManager dep.

I'm late to this party, but what about projects where the user generates the missing compile_commands.json file manually, e.g. via the compiledb utility? Does this change mean clazy analysis is now possible only for projects where you do NOT need to generate that json file by hand?

Nov 17 2018, 10:46 AM · KDevelop

Nov 16 2018

rjvbb added a comment to D16927: KTextEditor : disconnect contextmenu from all aboutToXXContextMenu receivers.
Btw., the 2 nullptr in the disconnect can be left out, or?
Nov 16 2018, 9:39 PM · Frameworks, KTextEditor, Kate
rjvbb requested review of D16927: KTextEditor : disconnect contextmenu from all aboutToXXContextMenu receivers.
Nov 16 2018, 4:24 PM · Frameworks, KTextEditor, Kate
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.

Something side-ways related: I went down this hole because cmake's generate_export_header failed because of an unsupported flag that was added.
Regardless of how we implement things here, shouldn't there be something like ecm_generate_export_header which empties CMAKE_CXX_FLAGS temporarily because calling CMake's version and then restores the variable? There's no feedback at all in this function, the generated export header just contains dummy EXPORT macros, leaving the user to wonder why the linker fails. Or should the visibility flags also be set conditionally, after setting all other compiler options?

Nov 16 2018, 2:48 PM · Frameworks, Build System
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.
Thus these places need to be turned into:

  ...
  if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.8")
  elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.1.0")
Nov 16 2018, 12:58 PM · Frameworks, Build System
rjvbb updated the test plan for D16894: [ECM] use a macro to add compiler flags conditionally.
Nov 16 2018, 9:49 AM · Frameworks, Build System
rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
Nov 16 2018, 9:47 AM · Frameworks, Build System
rjvbb updated the diff for D16894: [ECM] use a macro to add compiler flags conditionally.

A simpler version, setting CMAKE_<LANG>_FLAGS directly (also fixes a persistence error in my previous implementation).

Nov 16 2018, 9:47 AM · Frameworks, Build System

Nov 15 2018

rjvbb abandoned D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.
Nov 15 2018, 7:17 PM · KDevelop
rjvbb added a comment to D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.

Friedrich W. H. Kossebau wrote on 20181115::17:41:58 re: "D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions"

Nov 15 2018, 6:59 PM · KDevelop
rjvbb added a comment to D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.
_If_ it is found that the root bug is in KTextEditor, sure.
Nov 15 2018, 3:48 PM · KDevelop
rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.
Sorry to say, but you want to add the feature, so you would have to scratch this itch
Nov 15 2018, 2:43 PM · KDevelop
rjvbb added a comment to D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.

So multiple contextMenu signals arrive in Kate too except they don't have any visible consequence.
Let's see what the KTextEditor devs have to say about this. I'd rather stay away from getting too familiar with that framework, KXMLGUI even more.

Nov 15 2018, 2:36 PM · KDevelop
rjvbb added inline comments to D16894: [ECM] use a macro to add compiler flags conditionally.
Nov 15 2018, 1:39 PM · Frameworks, Build System
rjvbb requested review of D16894: [ECM] use a macro to add compiler flags conditionally.
Nov 15 2018, 12:08 PM · Frameworks, Build System
rjvbb added a comment to D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.
Please, let's find the root causes and fix things at the base instead of adding such
Nov 15 2018, 1:49 AM · KDevelop

Nov 14 2018

rjvbb requested review of D16882: [KDevelop/Shell] prevent duplicate added contextmenu actions.
Nov 14 2018, 6:36 PM · KDevelop
rjvbb set the repository for D12746: KDevelop: alternative monolithic storage options for TopDUContexts (PoC) to R32 KDevelop.
Nov 14 2018, 4:03 PM · KDevelop
rjvbb updated the diff for D12746: KDevelop: alternative monolithic storage options for TopDUContexts (PoC).

Patch cleaned up, stripped the LevelDB and Kyoto backends that never satisfied me.
I did leave the original file-based storage backend, not because I think it has to be preserved if this ever gets in but to provide a quicker way to compare performance (and behaviour if ever someone testing this runs into issues).

Nov 14 2018, 3:56 PM · KDevelop
rjvbb set the repository for D16218: [KDevelop/Core]: safe signal-handler implementation to R32 KDevelop.
Nov 14 2018, 3:08 PM · KDevelop
rjvbb updated the diff for D16218: [KDevelop/Core]: safe signal-handler implementation.

Aaron's last suggestion made me realise I forget a few things when porting the patch back to using QSocketNotifier.
The shutdown procedure was intended to (and now does) include closing the signal pipe, verifying the descriptor before writing to it makes sense. So does handling failure there by re-raising the signal with the default handler.
I thought it would be even more robust to move the actual write into the if and check whether it succeeded, after all we want to be certain that these signals are always handled.

Nov 14 2018, 3:07 PM · KDevelop

Nov 13 2018

rjvbb set the repository for D16779: kate-ctags plugin: support KDevelop (WIP) to R40 Kate.
Nov 13 2018, 5:29 PM · KDevelop, KTextEditor, Kate
rjvbb updated the diff for D16779: kate-ctags plugin: support KDevelop (WIP).

This adds a safety against a race-like condition I've seen happen once in KDevelop.
It may not be required to make m_mWin a QPointer but it seemed sensible to do.

Nov 13 2018, 5:29 PM · KDevelop, KTextEditor, Kate
rjvbb added a comment to D12746: KDevelop: alternative monolithic storage options for TopDUContexts (PoC).

Ah, yes, I'll have to remember to clean it up and keep only the LMDB backend.

Nov 13 2018, 11:09 AM · KDevelop
rjvbb retitled D4484: optional external viewer support (based on Qt Assistant) in the QtHelp plugin from external viewer support (based on Qt Assistant) in the QtHelp plugin (optional) (WIP) to optional external viewer support (based on Qt Assistant) in the QtHelp plugin.
Nov 13 2018, 10:42 AM · KDevelop
rjvbb retitled D8289: IdealDockWidget : support detaching as regular standalone window (PoC) from IdealDockWidget : support detaching as regular standalone window (WIP) to IdealDockWidget : support detaching as regular standalone window (PoC).
Nov 13 2018, 10:41 AM · KDevelop
rjvbb updated the test plan for D12746: KDevelop: alternative monolithic storage options for TopDUContexts (PoC).
Nov 13 2018, 10:39 AM · KDevelop
rjvbb retitled D13777: KMessageWidget : revert to using highlight colour for Information style from KMessageWidget : revert to using highlight colour for Information style (WIP) to KMessageWidget : revert to using highlight colour for Information style.
Nov 13 2018, 10:37 AM · Frameworks
rjvbb retitled D16218: [KDevelop/Core]: safe signal-handler implementation from [KDevelop/Core]: safe signal-handler implementation (WIP) to [KDevelop/Core]: safe signal-handler implementation.
Nov 13 2018, 10:31 AM · KDevelop
rjvbb retitled D7283: KIO/Mac : move LaunchServices code to shared library and make kioslave an agent too from WIP: KIO/Mac : move LaunchServices code to shared library and make kioslave an agent too to KIO/Mac : move LaunchServices code to shared library and make kioslave an agent too.
Nov 13 2018, 10:30 AM · Frameworks
rjvbb retitled D5070: Allow to play the default system sound (beep) instead of a specific sound file from Allow to play the default system sound (beep) instead of a specific sound file (WIP) to Allow to play the default system sound (beep) instead of a specific sound file.
Nov 13 2018, 10:27 AM · Frameworks
rjvbb retitled D14000: qqc2-desktop-style: basic support for QGuiApplication-based apps from qqc2-desktop-style: basic support for QGuiApplication-based apps (WIP/PoC) to qqc2-desktop-style: basic support for QGuiApplication-based apps.
Nov 13 2018, 10:20 AM · Plasma

Nov 12 2018

rjvbb added inline comments to D16370: KTextEditor : syntax definition priority UI usability.
Nov 12 2018, 10:53 PM · Frameworks, Kate, KTextEditor
rjvbb set the repository for D16370: KTextEditor : syntax definition priority UI usability to R39 KTextEditor.
Nov 12 2018, 10:53 PM · Frameworks, Kate, KTextEditor
rjvbb updated the diff for D16370: KTextEditor : syntax definition priority UI usability.

updated as requested.

Nov 12 2018, 10:53 PM · Frameworks, Kate, KTextEditor
rjvbb closed D16816: ECM: standardise clang detection.
Nov 12 2018, 10:21 AM · Frameworks, Build System
rjvbb committed R240:d42cc5dd7c4e: Use `MATCHES "Clang"` to detect clang (authored by rjvbb).
Use `MATCHES "Clang"` to detect clang
Nov 12 2018, 10:21 AM
rjvbb added a comment to D16816: ECM: standardise clang detection.

Don't worry, the commit message would have looked like that.
Or rather, it will say

Nov 12 2018, 10:15 AM · Frameworks, Build System
rjvbb added a comment to D16816: ECM: standardise clang detection.

Don't worry, the commit message would have looked like that.

Nov 12 2018, 10:15 AM · Frameworks, Build System

Nov 11 2018

rjvbb requested review of D16816: ECM: standardise clang detection.
Nov 11 2018, 9:48 AM · Frameworks, Build System

Nov 10 2018

rjvbb abandoned D7407: audiocd-kio : modernise debugging.

Done by someone else by now.

Nov 10 2018, 9:17 AM
rjvbb set the repository for D7380: KCD: use modern logging classes throughout to R349 KCompactDisc Library.
Nov 10 2018, 8:56 AM
rjvbb updated the diff for D7380: KCD: use modern logging classes throughout.

refactored for master/head

Nov 10 2018, 8:56 AM

Nov 9 2018

rjvbb added a comment to D16779: kate-ctags plugin: support KDevelop (WIP).
I'm a bit confused... I thought KDevelop had much more advanced plugins/features for this? What does KDevelop need this old plugin for? Non-C/C++ languages or what?
Nov 9 2018, 10:32 PM · KDevelop, KTextEditor, Kate
rjvbb set the repository for D16779: kate-ctags plugin: support KDevelop (WIP) to R40 Kate.
Nov 9 2018, 4:27 PM · KDevelop, KTextEditor, Kate
rjvbb updated the diff for D16779: kate-ctags plugin: support KDevelop (WIP).

Merged in changes from an older attempt I forgot about (apologies!).

Nov 9 2018, 4:26 PM · KDevelop, KTextEditor, Kate
rjvbb requested review of D16779: kate-ctags plugin: support KDevelop (WIP).
Nov 9 2018, 3:58 PM · KDevelop, KTextEditor, Kate
rjvbb committed R40:0a4149144256: modernise logging in the CTags plugin (authored by rjvbb).
modernise logging in the CTags plugin
Nov 9 2018, 3:46 PM

Nov 5 2018

rjvbb added a comment to T9986: Delete "What's This" inline help functionality.

Exactly what is the feature we're talking about?! I highly doubt that Qt will NOT show the popup window with the what'sthis text when you request it via

Nov 5 2018, 10:00 AM · Goal: Consistency, KDE Applications, Plasma, KF6, VDG

Nov 4 2018

rjvbb added a comment to T9986: Delete "What's This" inline help functionality.

I actually like the feature as a way to provide more complete (and better formatted?) contextual help for UI aspects that could use it, without obliging the user to open the handbook. AFAIK you have to find the relevant paragraph or section in there yourself, so it's less than ideal in terms of optimising productivity. Handbooks *are* important ("RTFM"...) but I think the whole KDE help centre feature could use a good overhaul too.

Nov 4 2018, 9:45 PM · Goal: Consistency, KDE Applications, Plasma, KF6, VDG
rjvbb added a comment to D16370: KTextEditor : syntax definition priority UI usability.

I would prefer to set this in the ui file: The maximum is already set to 99.

Nov 4 2018, 5:58 PM · Frameworks, Kate, KTextEditor
rjvbb added a comment to D16370: KTextEditor : syntax definition priority UI usability.
For the tooltip stuff: I am not sure if that is not inconsistent with the remaining stuff on these pages.
Nov 4 2018, 3:04 PM · Frameworks, Kate, KTextEditor

Oct 29 2018

rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

... you want to add the feature

Oct 29 2018, 9:41 AM · KDevelop

Oct 28 2018

rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.
But do they change things behind our back after this method has been entered?
Oct 28 2018, 8:59 PM · KDevelop

Oct 25 2018

rjvbb added a comment to D16406: Fix build with poppler<0.64.

How about

Oct 25 2018, 9:19 PM · Calligra: 3.0

Oct 22 2018

rjvbb set the repository for D14000: qqc2-desktop-style: basic support for QGuiApplication-based apps to R858 Qt Quick Controls 2: Desktop Style.
Oct 22 2018, 7:47 PM · Plasma
rjvbb updated the diff for D14000: qqc2-desktop-style: basic support for QGuiApplication-based apps.

updated for the current git/head.

Oct 22 2018, 7:47 PM · Plasma
rjvbb requested review of D16370: KTextEditor : syntax definition priority UI usability.
Oct 22 2018, 11:45 AM · Frameworks, Kate, KTextEditor

Oct 20 2018

rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

One more thing: could establishing the project file name not simply be done by a method in the ProjectController class rather than by a dedicated class? Because, in how many different functions would you split that logic?

Oct 20 2018, 3:54 PM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.
Arguably that still stands, but it's outside my area of expertise to comment on it.
Oct 20 2018, 2:59 PM · KDevelop
rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.
The current patch I still cannot oversee (though also due to the existing code), so I would have to grab the -1 sign for now if on the jury.
Oct 20 2018, 2:37 PM · KDevelop
rjvbb set the repository for D16218: [KDevelop/Core]: safe signal-handler implementation to R32 KDevelop.
Oct 20 2018, 9:53 AM · KDevelop
rjvbb updated the diff for D16218: [KDevelop/Core]: safe signal-handler implementation.

updated as requested.

Oct 20 2018, 9:53 AM · KDevelop
rjvbb added inline comments to D16218: [KDevelop/Core]: safe signal-handler implementation.
Oct 20 2018, 9:51 AM · KDevelop

Oct 19 2018

rjvbb set the repository for D16218: [KDevelop/Core]: safe signal-handler implementation to R32 KDevelop.
Oct 19 2018, 12:59 PM · KDevelop
rjvbb updated the diff for D16218: [KDevelop/Core]: safe signal-handler implementation.

Drops the potentially unsafe qDebug output in the signal handler, makes handlingSignal an std::atomic_bool (since we can use locks here anyway) and adds copious comments.

Oct 19 2018, 12:59 PM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.

Still working on this and waiting on more background info from the Qt Interest ML.

Oct 19 2018, 8:57 AM · KDevelop

Oct 18 2018

rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.
You can't use std::atomic_flag, because it's an `int`.
Oct 18 2018, 8:52 PM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.

Any idea how we could test the race-condition scenario? I've been trying by re-raising the signal from just before and just inside the if(handlingSignal) loop and until now it has always been behaving as expected (= the if is executed only once).

Oct 18 2018, 2:06 PM · KDevelop
rjvbb added a comment to D15295: [konsole]: proper fix for a crash-on-exit.

Sorry for the delay; I thought this would be straightforward and then ran into questions...

Oct 18 2018, 9:05 AM · Konsole
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.
This is determined by hardware support. With relevant architectures I meant architectures on which Qt/KDE applications can run, like x86, PPC, ARM. > These all have lock-free `std::atomic<bool>`, as far as I know.
Oct 18 2018, 8:16 AM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.
I guess you can also use `std::atomic_flag`, which is guaranteed to be lock-free, and should offer enough functionality for our use case.

...

Not in the middle of an assignment, but between the read in `if (!handlingSignal)` and the write `handlingSignal = 1` it can be interrupted. That's not atomic.
Oct 18 2018, 8:03 AM · KDevelop

Oct 16 2018

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

At least std::atomic<bool> is lock-free on all relevant architectures. (I'm aware that the standard doesn't guarantee it, probably because of some embedded architectures.

Oct 16 2018, 10:35 PM · KDevelop
rjvbb set the repository for D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree to R32 KDevelop.
Oct 16 2018, 10:03 PM · KDevelop
rjvbb updated the diff for D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

Updated as suggested

Oct 16 2018, 10:02 PM · KDevelop
rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

Where in the code would you want a documentation of the intent of this change?
The best place might be a in the handbook or the project import wizard GUI ... but we're in string freeze, no?

Oct 16 2018, 10:01 PM · KDevelop

Oct 15 2018

rjvbb added inline comments to D16218: [KDevelop/Core]: safe signal-handler implementation.
Oct 15 2018, 11:47 PM · KDevelop
rjvbb set the repository for D16218: [KDevelop/Core]: safe signal-handler implementation to R32 KDevelop.
Oct 15 2018, 2:58 PM · KDevelop
rjvbb updated the diff for D16218: [KDevelop/Core]: safe signal-handler implementation.
  • Dropped the semaphore-based alternative as it would only be less resource-intensive when manhandling pthreads
  • moved almost everything back out of the CorePrivate class, keeping only the slot required for QSocketNotifier operation.
  • dropped the SIGHUP shortcut, to be resubmitted in the future
Oct 15 2018, 2:57 PM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.
I would recommend to just not think about the Windows requirement, if you cannot test it anyway.
Oct 15 2018, 1:35 PM · KDevelop
rjvbb 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:51 AM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.
Oct 15 2018, 10:41 AM · KDevelop
rjvbb set the repository for D16218: [KDevelop/Core]: safe signal-handler implementation to R32 KDevelop.
Oct 15 2018, 10:27 AM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.
Oct 15 2018, 10:20 AM · KDevelop
rjvbb updated the diff for D16218: [KDevelop/Core]: safe signal-handler implementation.

Adds the missing #endif

Oct 15 2018, 10:14 AM · KDevelop
rjvbb added a comment to D16218: [KDevelop/Core]: safe signal-handler implementation.

Re: the testing I did on FreeBSD: that's with a dedicated demonstrator; I cannot currently build KDevelop5 there.

Oct 15 2018, 9:17 AM · KDevelop
rjvbb requested review of D16218: [KDevelop/Core]: safe signal-handler implementation.
Oct 15 2018, 9:15 AM · KDevelop

Oct 9 2018

rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

I'd be pushing less if this hadn't already been committed and then reverted because of an issue that got through the initial review process.

Oct 9 2018, 11:48 AM · KDevelop
rjvbb added a comment to D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

In absence of instructions to the contrary I'll interpret Milian's "feel free to respin" as "feel free to recommit", and push a commit during the day. This has been waiting to be re-applied long enough.

Oct 9 2018, 8:30 AM · KDevelop

Oct 3 2018

rjvbb committed R626:c1c66262b2df: Don't hardcode the path to bash (authored by rjvbb).
Don't hardcode the path to bash
Oct 3 2018, 8:56 AM

Sep 29 2018

rjvbb set the repository for D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree to R32 KDevelop.
Sep 29 2018, 5:25 PM · KDevelop
rjvbb updated the diff for D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

Another fix for the generic Makefile project manager; I had missed the fact that URLInfo::isDir is undefined when URLInfo::isValid is false. This lead to personalised project files of the type `/path/to/projectFoo/projectFoo.kdev4/customname.kdev4```.

Sep 29 2018, 5:25 PM · KDevelop
rjvbb set the repository for D15797: [kdev-clazy] : use canonical paths to R32 KDevelop.
Sep 29 2018, 2:10 PM · KDevelop
rjvbb updated the diff for D15797: [kdev-clazy] : use canonical paths.

Updated as discussed. This variant is less different from stock code than my previous proposal. It complements the current checks with a comparison using canonicalised paths. As a result it should catch all cases that are not caught by either one of the comparisons when performed in isolation.

Sep 29 2018, 2:09 PM · KDevelop
rjvbb added a comment to D15797: [kdev-clazy] : use canonical paths.

I think there might be a simpler solution to that situation

Sep 29 2018, 12:22 PM · KDevelop

Sep 28 2018

rjvbb set the repository for D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree to R32 KDevelop.
Sep 28 2018, 12:24 PM · KDevelop
rjvbb updated the diff for D9344: [KDevelop] : [fixed] consistent use of the project name allowing to create multiple projects in a single source tree.

Updated as discussed: any previous project settings file in .kdev4 will be removed if and before overriding/writing it (instead of simply trashing the entire .kdev4 directory).

Sep 28 2018, 12:24 PM · KDevelop